/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:         #f8f7f5;
  --ink:        #1c1a18;
  --ink-mid:    #6e6a65;
  --ink-faint:  #b5b0aa;
  --grid:       rgba(0, 0, 0, 0.055);
  --grid-size:  48px;

  --serif:      Georgia, 'Times New Roman', Times, serif;
  --sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
html, body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 12vh;
  min-height: 100dvh;
  padding: 48px 24px;
  position: relative;
  overflow-x: hidden;
}

/* ─── Canvas background ──────────────────────────────────────────────────── */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Center glow ────────────────────────────────────────────────────────── */
.glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 90vw);
  height: min(640px, 90vw);
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(248,247,245,0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* ─── Main content ───────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ─── Monogram ───────────────────────────────────────────────────────────── */
.monogram {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

/* ─── Heading ────────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ─── Subheading ─────────────────────────────────────────────────────────── */
.subheading {
  font-family: var(--sans);
  font-size: clamp(13px, 1.8vw, 15px);
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  width: 32px;
  height: 1px;
  background: var(--ink-faint);
  margin: 32px auto;
}

/* ─── About ──────────────────────────────────────────────────────────────── */
.about {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 32px;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact {
  font-family: var(--sans);
  font-size: clamp(12px, 1.6vw, 13px);
  color: var(--ink-faint);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact:hover {
  color: var(--ink-mid);
}

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 80px;
  }
}
