:root {
  --cream:    #E8E3D5;
  --cream-2:  #D8CFB8;
  --stone:    #1A1815;
  --stone-2:  #221F1A;
  --stone-3:  #2A2620;
  --stone-deep:#0F0E0C;
  --bronze:   #B58947;
  --bronze-deep:#8C6429;
  --gold:     #D4A861;
  --hairline: rgba(232, 227, 213, 0.08);
  --muted:    rgba(232, 227, 213, 0.62);
  --muted-2:  rgba(232, 227, 213, 0.40);

  --bg:     var(--stone);
  --bg-2:   var(--stone-2);
  --fg:     var(--cream);
  --accent: var(--bronze);

  --display:"Cormorant Garamond", "Times New Roman", serif;
  --serif:  "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --measure: 660px;
  --bleed: 1440px;
}

[data-mode="light"] {
  --bg: #ECE5D2;
  --bg-2: #DCD4BC;
  --fg: #1A1815;
  --hairline: rgba(26, 24, 21, 0.10);
  --muted: rgba(26, 24, 21, 0.66);
  --muted-2: rgba(26, 24, 21, 0.44);
  --bronze: #8C6429;
  --gold: #A47C3E;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--sans);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
input, button, select { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--fg); }
p { margin: 0; text-wrap: pretty; }

/* ───── Wishlist strip ───── */
.strip {
  position: relative;
  z-index: 25;
  display: block;
  background: var(--accent);
  color: var(--stone);
  text-align: center;
  padding: 11px 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.strip > span {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.strip span + span { margin-left: 14px; }
.strip .arrow { transition: transform .2s ease; }
.strip:hover .arrow { transform: translateX(3px); }
[data-mode="light"] .strip { color: var(--cream); }

/* ───── Cinematic art system ───── */
.art {
  position: relative;
  overflow: hidden;
  background: var(--stone-deep);
  isolation: isolate;
}
.art::before, .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; }

.art-real {
  background:
    url("assets/peninsula.png") center / cover no-repeat,
    var(--stone-deep);
}
.art-real::before {
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--bronze) 8%, transparent) 0%,
      transparent 50%,
      color-mix(in oklab, var(--stone-deep) 12%, transparent) 100%);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.art-real::after {
  background:
    radial-gradient(ellipse 130% 100% at 50% 50%, transparent 65%, color-mix(in oklab, #000 30%, transparent) 100%);
}

/* Grain — reduced from prototype so text reads cleanly through it */
.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.32;
  mix-blend-mode: overlay;
}

/* ───── HERO ───── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(120px, 18vh, 220px) var(--gutter) clamp(60px, 8vh, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero .art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero .art::after {
  background:
    linear-gradient(180deg,
      transparent 0%, transparent 70%,
      color-mix(in oklab, #000 50%, transparent) 100%);
}

.hero-word {
  margin: 0 0 18px;
  line-height: 0;
  display: block;
}
.hero-word img {
  width: clamp(280px, 60vw, 680px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.55));
}
.hero-tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.3;
  color: var(--cream);
  margin: 0 auto 36px;
  max-width: 28ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.hero-tag em { color: var(--gold); font-style: italic; font-weight: 500; }

.hero-scroll {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(232, 227, 213, 0.55);
  padding: 12px 18px;
  border: 1px solid rgba(232, 227, 213, 0.14);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-scroll:hover { color: var(--cream); border-color: var(--cream); }
.hero-scroll span:last-child { transition: transform .2s ease; }
.hero-scroll:hover span:last-child { transform: translateY(2px); }

/* ───── Email field ───── */
.field {
  display: flex;
  align-items: stretch;
  background: color-mix(in oklab, #000 35%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 227, 213, 0.18);
  transition: border-color .2s ease;
}
.field:focus-within { border-color: var(--gold); }
.field input {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  background: transparent;
  color: var(--cream);
  border: 0;
  outline: 0;
  font-size: 15px;
  font-family: var(--sans);
}
.field input::placeholder { color: rgba(232, 227, 213, 0.45); }
.field button {
  padding: 0 26px;
  background: var(--cream);
  color: var(--stone);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background .18s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  white-space: nowrap;
}
.field button:hover { background: var(--gold); }
.field-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 227, 213, 0.45);
  text-align: center;
}
.ok-msg { color: var(--gold); }

/* ───── About section ───── */
.about {
  padding: clamp(96px, 18vh, 200px) var(--gutter);
  background: var(--bg);
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-body {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
  text-align: left;
  margin: 0;
  text-wrap: pretty;
}
.about-body + .about-body { margin-top: 1.4em; }
.about-body strong { color: var(--fg); font-weight: 500; }

.about-pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.15;
  margin: clamp(56px, 9vh, 88px) auto;
  color: var(--fg);
  text-wrap: balance;
  letter-spacing: 0.005em;
}
.about-pull em { color: var(--accent); font-style: italic; font-weight: 400; }

.about-coda {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--fg);
  margin-top: 32px;
  text-wrap: balance;
  text-align: center;
}
.about-coda em { color: var(--accent); font-style: italic; }

.about-rule {
  width: 80px;
  height: 1px;
  background: var(--accent);
  margin: clamp(64px, 10vh, 96px) auto clamp(40px, 6vh, 56px);
  opacity: 0.7;
}

.about-form { max-width: 480px; margin: 0 auto; }

[data-mode="light"] .field {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(26, 24, 21, 0.18);
}
[data-mode="light"] .field input { color: var(--fg); }
[data-mode="light"] .field input::placeholder { color: var(--muted-2); }
[data-mode="light"] .field button { background: var(--fg); color: var(--bg); }
[data-mode="light"] .field button:hover { background: var(--accent); color: var(--bg); }

/* ───── Talk to us ───── */
.talk {
  margin-top: clamp(64px, 9vh, 96px);
  text-align: center;
}
.talk-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.talk-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 720px) { .talk-row { grid-template-columns: 1fr 1fr; max-width: 480px; } }
@media (max-width: 480px) { .talk-row { grid-template-columns: 1fr; } }

.talk-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 4px;
  padding: 22px;
  border: 1px solid var(--hairline);
  background: var(--bg-2);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.talk-link:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--bg-2) 70%, var(--accent) 12%);
}
.talk-link:hover .talk-arrow { transform: translate(2px, -2px); }
.talk-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.talk-handle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  grid-column: 1;
}
.talk-arrow {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  transition: transform .2s ease;
}

/* ───── Footer ───── */
footer {
  padding: 56px var(--gutter) 40px;
  background: var(--stone-deep);
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}
.foot-inner {
  max-width: var(--bleed);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-mark { display: flex; align-items: center; gap: 12px; }
.foot-mark img { width: 20px; height: 20px; opacity: 0.85; }
.foot-mark span {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--cream);
}
.foot-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.foot-meta a:hover { color: var(--cream); }

/* ───── Reveal ───── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--rd, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
