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

:root {
  --bg: #FBF5EC;
  --bg-2: #F4EADE;
  --paper: #FFFCF7;
  --ink: #2E2530;
  --ink-soft: #5A4F58;
  --slate: #8A7E84;
  --muted: #B3A79E;
  --line: #E8DCCD;
  --rose: #C97B84;
  --terra: #D08856;
  --gold: #CFA14A;
  --plum: #7A5A6E;
  --grad: linear-gradient(120deg, #C97B84, #D08856, #CFA14A);
  --radius: 18px;
  --maxw: 720px;
  --fd: 'Fraunces', Georgia, serif;
  --fb: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--bg); color: var(--ink-soft); line-height: 1.8; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--rose); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }

/* soft grain/gradient overlay at top */
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,123,132,.14), transparent 60%), radial-gradient(ellipse 60% 40% at 90% 10%, rgba(207,161,74,.1), transparent 55%); pointer-events: none; z-index: 0; }
body > * { position: relative; z-index: 1; }

/* Header */
.top { padding-block: 26px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.mark { font-family: var(--fd); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.mark .dot { color: var(--rose); }
.top nav { display: flex; gap: 22px; }
.top nav a { font-size: 14px; color: var(--slate); text-decoration: none; transition: color .2s; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav { display: none; } }

/* Hero */
.hero { padding-block: 76px 60px; text-align: center; }
.hero .kicker { font-family: var(--fb); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); margin-bottom: 30px; }
.hero h1 { font-family: var(--fd); font-weight: 400; font-size: clamp(30px, 6vw, 52px); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); }
.hero h1 .lead-word { display: block; font-style: italic; font-weight: 600; font-size: clamp(40px, 9vw, 76px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; letter-spacing: -0.02em; }
.hero h1 .soft { color: var(--ink-soft); }
.hero .sub { margin-top: 30px; font-size: 17px; color: var(--slate); max-width: 46ch; margin-inline: auto; }
.divider { width: 54px; height: 2px; background: var(--grad); border-radius: 2px; margin: 44px auto; opacity: .8; }

/* Prose blocks */
.block { padding-block: 40px; }
.block .label { font-family: var(--fb); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.block h2 { font-family: var(--fd); font-weight: 500; font-size: clamp(24px, 4vw, 34px); color: var(--ink); line-height: 1.25; margin-bottom: 18px; letter-spacing: -0.01em; }
.block p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }
.block p:last-child { margin-bottom: 0; }
.block .first::first-letter { font-family: var(--fd); font-size: 3.4em; line-height: .82; float: left; padding: 6px 12px 0 0; color: var(--rose); font-weight: 600; }

/* Reflections / notes */
.notes { display: grid; gap: 18px; }
@media (min-width: 640px) { .notes { grid-template-columns: 1fr 1fr; } }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s; }
.note:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(122,90,110,.08); }
.note .ic { font-size: 26px; margin-bottom: 14px; }
.note h3 { font-family: var(--fd); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.note p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* Quote lines */
.lines { display: flex; flex-direction: column; gap: 4px; }
.line { font-family: var(--fd); font-weight: 400; font-style: italic; font-size: clamp(19px, 3.4vw, 26px); color: var(--ink); line-height: 1.5; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line span { color: var(--rose); }

/* Closing card */
.closing { text-align: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 60px 30px; }
.closing .ornament { font-size: 24px; margin-bottom: 18px; }
.closing h2 { font-family: var(--fd); font-weight: 500; font-size: clamp(24px, 4.5vw, 38px); color: var(--ink); line-height: 1.3; margin-bottom: 16px; }
.closing h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.closing p { color: var(--slate); max-width: 40ch; margin: 0 auto; font-size: 16px; }

/* Footer */
.foot { padding-block: 48px 40px; text-align: center; border-top: 1px solid var(--line); margin-top: 70px; }
.foot .mark { margin-bottom: 10px; }
.foot p { font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
