/* usegrave.fun — marble and moss landing */

:root {
  --paper:        #f4f3ee;
  --paper-warm:   #fbfaf5;
  --ink:          #14160f;
  --ink-2:        #424637;
  --ink-3:        #6b7060;

  --flag:         #8a6a3c;
  --check:        #4f7a3f;
  --moss:         #5d7a45;

  --tint-cool:    #cfe0c0;
  --tint-warm:    #ffe6c2;
  --tint-mint:    #dfe6d6;

  --glass-edge:   rgba(255,255,255,.88);
  --glass-line:   rgba(20,22,15,.09);
  --blur:         28px;

  --shadow-sm: 0 1px 2px rgba(20,22,15,.04), 0 4px 14px -6px rgba(20,22,15,.10);
  --shadow-md: 0 2px 4px rgba(20,22,15,.04), 0 18px 40px -22px rgba(20,22,15,.20);
  --shadow-lg: 0 3px 6px rgba(20,22,15,.05), 0 44px 80px -40px rgba(20,22,15,.28);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1160px;

  --ease: cubic-bezier(.16,1,.3,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  font-feature-settings: "cv11" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
picture > img { width: 100%; }

::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(20,22,15,.16);
  border: 3px solid var(--paper);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: rgba(20,22,15,.3); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- ambient field ---------------- */

.field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.field::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 42%, #e8e7dd 100%);
}
.field__bloom { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .6; will-change: transform; }
.field__bloom--a {
  width: 62vw; height: 62vw; min-width: 420px; min-height: 420px;
  top: -22vw; right: -14vw;
  background: radial-gradient(circle at 40% 40%, var(--tint-cool), rgba(160,190,130,0) 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.field__bloom--b {
  width: 50vw; height: 50vw; min-width: 340px; min-height: 340px;
  top: 34vh; left: -18vw;
  background: radial-gradient(circle at 55% 45%, var(--tint-warm), rgba(240,214,170,0) 70%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.field__bloom--c {
  width: 46vw; height: 46vw; min-width: 300px; min-height: 300px;
  bottom: -16vw; right: 8vw;
  background: radial-gradient(circle at 50% 50%, var(--tint-mint), rgba(214,224,200,0) 72%);
  animation: drift-a 38s var(--ease) infinite alternate-reverse;
}
.field__grain {
  position: absolute; inset: 0; opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
@keyframes drift-a { to { transform: translate3d(-5%, 6%, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(7%, -5%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .field__bloom { animation: none; } }

/* ---------------- glass primitive ---------------- */

.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.34) 46%, rgba(255,255,255,.52) 100%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-edge), inset 0 -1px 0 rgba(255,255,255,.4);
  isolation: isolate;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.1) 34%, rgba(255,255,255,0) 58%, rgba(255,255,255,.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none; z-index: 3;
}
.glass::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(160,190,130,.30), rgba(160,190,130,0) 55%),
    radial-gradient(110% 80% at 96% 106%, rgba(240,214,170,.26), rgba(240,214,170,0) 58%);
  pointer-events: none; z-index: 0;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255,255,255,.9); }
}

/* hover sheen — a specular band sweeping the pane */
.sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.sheen::before {
  content: "";
  position: absolute;
  top: -60%; bottom: -60%; left: -30%;
  width: 34%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.62), rgba(255,255,255,0));
  transform: translateX(var(--sheen-x, -140%)) rotate(14deg);
  filter: blur(6px);
  opacity: var(--sheen-o, 0);
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  font-size: 15px; font-weight: 550; letter-spacing: -0.014em;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn--solid {
  color: #fff;
  background: linear-gradient(170deg, #37432b, #14160f 62%);
  box-shadow: 0 1px 1px rgba(20,22,15,.2), 0 12px 26px -12px rgba(20,22,15,.7), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 1px rgba(20,22,15,.2), 0 20px 36px -14px rgba(20,22,15,.75), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.88);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.95);
}
.btn:active { transform: translateY(0) scale(.99); }
.btn__arrow {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------------- nav ---------------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gut);
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav[data-stuck="true"] {
  background: rgba(244,243,238,.74);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(20,22,15,.06), 0 12px 28px -24px rgba(20,22,15,.5);
}
.nav__mark {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.025em;
  color: var(--ink); text-decoration: none;
}
.nav__glyph {
  width: 32px; height: 32px;
  filter: drop-shadow(0 3px 5px rgba(20,22,15,.16));
}
.nav__links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14px; letter-spacing: -0.01em;
}
.nav__links a {
  color: var(--ink-2); text-decoration: none;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); text-decoration: underline; }
.nav__cta {
  font-family: inherit; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: -0.012em;
  color: var(--ink); text-decoration: none;
  padding: 9px 17px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.95);
}

/* ---------------- hero ---------------- */

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(32px, 6vh, 80px) var(--gut) clamp(56px, 9vh, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.hero__title {
  margin: 0;
  font-size: clamp(3rem, 7.6vw, 5.4rem);
  line-height: .94;
  letter-spacing: -0.048em;
  font-weight: 600;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .word { display: inline-block; }
.hero__title .line--mute { color: var(--ink-3); }

.hero__sub {
  margin: 24px 0 0; max-width: 36ch;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.5; color: var(--ink-2);
  letter-spacing: -0.014em; text-wrap: pretty;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3.5vw, 34px); }

.hero__whisper {
  margin: 22px 0 0;
  font-size: 13.5px; color: var(--ink-3);
  letter-spacing: -0.004em;
}

.hero__object { position: relative; margin: 0; display: grid; place-items: center; }
.hero__halo {
  position: absolute; inset: 6% 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.95), rgba(255,255,255,0) 62%),
    radial-gradient(circle at 34% 30%, rgba(160,190,130,.55), rgba(160,190,130,0) 66%),
    radial-gradient(circle at 70% 76%, rgba(240,214,170,.5), rgba(240,214,170,0) 68%);
  filter: blur(26px);
}
.hero__object img {
  position: relative; width: 100%; max-width: 470px;
  filter: drop-shadow(0 34px 44px rgba(20,22,15,.16));
}

/* ---------------- feature ---------------- */

.feature { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.feature__glass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: clamp(12px, 1.4vw, 18px);
}
.feature__copy { position: relative; z-index: 1; }
.feature__copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.04; letter-spacing: -0.042em; font-weight: 600;
}
.feature__copy p {
  margin: 16px 0 0; max-width: 42ch;
  color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.5; letter-spacing: -0.01em;
}
.feature__art {
  position: relative; z-index: 1;
  width: 100%; max-width: 236px; justify-self: center;
  filter: drop-shadow(0 26px 34px rgba(20,22,15,.16));
  margin: 12px 0; /* headroom so the parallax drift stays inside the pane */
}

/* ---------------- stats ---------------- */

.stats {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) var(--gut) clamp(24px, 4vh, 40px);
}
/* an engraved marble strip rather than three loose columns */
.stats__grid {
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--r-md);
  background: linear-gradient(168deg, rgba(255,255,255,.82), rgba(247,246,240,.58));
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}
.stat {
  display: flex; flex-direction: column-reverse; gap: 8px;
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.4vw, 28px);
  border-left: 1px solid rgba(20,22,15,.09);
}
.stat:first-child { border-left: 0; }
.stat__num {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.1rem); line-height: 1;
  letter-spacing: -0.04em; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.9);
}
.stat dt {
  font-size: 12.5px; font-weight: 500; color: var(--ink-3);
  letter-spacing: .05em; text-transform: uppercase;
}
.stats__note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 14px; color: var(--ink-3);
  max-width: 62ch;
}

/* ---------------- how ---------------- */

.how {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 11vh, 128px) var(--gut) clamp(40px, 6vh, 72px);
}
.how__title, .why__title, .room__title, .faq__title {
  margin: 0 0 clamp(32px, 5vw, 52px);
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.08; letter-spacing: -0.042em; font-weight: 600;
  max-width: 20ch; text-wrap: balance;
}
.how__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
}
.how__step { position: relative; padding-top: 26px; }
.how__step::before {
  content: ""; position: absolute;
  top: 5px; left: 0; right: calc(-1 * clamp(22px, 4vw, 48px));
  height: 1px;
  background: linear-gradient(90deg, rgba(20,22,15,.18), rgba(20,22,15,.05));
}
.how__step:last-child::before { right: 0; background: linear-gradient(90deg, rgba(20,22,15,.18), rgba(20,22,15,0)); }
.how__dot {
  position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(160deg, #fff, #dcdfd0);
  border: 1px solid rgba(20,22,15,.16);
  box-shadow: 0 1px 2px rgba(20,22,15,.12), inset 0 1px 0 #fff;
}
.how__step h3 { margin: 0; font-size: 1.14rem; font-weight: 600; letter-spacing: -0.028em; }
.how__step p {
  margin: 8px 0 0; color: var(--ink-2);
  font-size: 15.5px; line-height: 1.52; max-width: 32ch;
  letter-spacing: -0.008em;
}
.how__step code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .88em;
  background: rgba(20,22,15,.05);
  border: 1px solid rgba(20,22,15,.07);
  padding: 1px 6px; border-radius: 6px;
  color: var(--ink);
  white-space: normal;
}

/* the delivery moment */
.delivery {
  position: relative;
  margin: clamp(36px, 6vw, 72px) auto 0;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.delivery__box, .delivery__check {
  grid-area: 1 / 1;
  width: 100%;
}
.delivery__box { max-width: 400px; filter: drop-shadow(0 30px 40px rgba(20,22,15,.16)); }
.delivery__check {
  max-width: 260px;
  transform: translate3d(-46%, 16%, 0) rotate(-8deg);
  filter: drop-shadow(0 18px 26px rgba(20,22,15,.2));
  z-index: 2;
}

/* ---------------- plot card (the signature module) ---------------- */

.plot { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vh, 88px) var(--gut) clamp(16px, 3vh, 32px); }
.plot__title {
  margin: 0 0 clamp(24px, 4vw, 36px);
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.08; letter-spacing: -0.042em; font-weight: 600;
}
.plotcard {
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--moss);
}
.plotcard > * { position: relative; z-index: 1; }
.plotcard__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px;
}
.plotcard__head h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; }
.plotcard__head p { margin: 5px 0 0; font-size: 14.5px; color: var(--ink-3); letter-spacing: -0.006em; }
.plotcard__chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: #2f4a22;
  background: rgba(93,122,69,.14);
  border: 1px solid rgba(93,122,69,.28);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.plotcard__chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--moss); box-shadow: 0 0 0 3px rgba(93,122,69,.18);
}

.plotcard__bloom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 16px;
  margin: clamp(24px, 3vw, 32px) 0 clamp(22px, 3vw, 28px);
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.52);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.plotcard__count {
  font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .9; font-weight: 600;
  letter-spacing: -0.05em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plotcard__countLabel {
  font-size: 13.5px; font-weight: 550; color: var(--ink);
  letter-spacing: -0.008em; align-self: center;
}
.plotcard__countLabel i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.plotcard__dots {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 14px;
}
.plotcard__dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(20,22,15,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.plotcard__dots i.on {
  background: var(--moss);
  box-shadow: 0 1px 2px rgba(93,122,69,.35);
}

.plotcard__sched { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plotcard__sched th {
  text-align: left; font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  padding: 0 12px 10px 0; border-bottom: 1px solid rgba(20,22,15,.12);
}
.plotcard__sched th:last-child, .plotcard__sched td:last-child { text-align: right; padding-right: 0; }
.plotcard__sched td {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid rgba(20,22,15,.07);
  color: var(--ink-2); letter-spacing: -0.008em;
}
.plotcard__sched tr td:first-child { color: var(--ink); font-weight: 550; white-space: nowrap; }
.plotcard__sched tr td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.plotcard__sched tbody tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
  color: #2f4a22; background: rgba(93,122,69,.13);
  border: 1px solid rgba(93,122,69,.24);
  padding: 3px 9px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.tag--soon {
  color: #6b5320; background: rgba(138,106,60,.12);
  border-color: rgba(138,106,60,.26);
}
.plotcard__foot {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-size: 13.5px; color: var(--ink-3); max-width: 60ch;
}

/* ---------------- why ---------------- */

.why {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) var(--gut);
}
.why__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20,22,15,.08);
}
.why__list li {
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 40px) clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid rgba(20,22,15,.08);
}
.why__list li:nth-child(odd) { border-right: 1px solid rgba(20,22,15,.08); }
.why__list li:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); }
.why__list h3 { margin: 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.026em; }
.why__list p {
  margin: 7px 0 0; color: var(--ink-2);
  font-size: 15.5px; line-height: 1.5; max-width: 38ch;
  letter-spacing: -0.008em;
}

/* ---------------- mailroom ---------------- */

.room {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 7vh, 88px) var(--gut);
}
.room__note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 14px; color: var(--ink-3);
  max-width: 54ch;
}
.room__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}
.room__card {
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 22px;
  border-radius: var(--r-md);
}
.room__card p {
  position: relative; z-index: 1;
  margin: 0;
  font-size: 16px; line-height: 1.5;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.room__card footer {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  font-size: 13px; color: var(--ink-3);
  padding-top: 16px;
  border-top: 1px solid rgba(20,22,15,.08);
}
.room__tick {
  font-weight: 600; color: var(--ink);
  letter-spacing: -0.012em; font-size: 13.5px;
}

/* ---------------- split ---------------- */

.split { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vh, 88px) var(--gut); }
.split__glass {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 60px);
  border-radius: clamp(12px, 1.4vw, 18px);
}
.split__copy { position: relative; z-index: 1; }
.split__copy h2 {
  margin: 0 0 clamp(24px, 3vw, 34px);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.06; letter-spacing: -0.042em; font-weight: 600;
}
.split__bar {
  display: flex; gap: 8px;
  width: 100%;
}
.split__seg {
  display: flex; flex-direction: column; gap: 2px; justify-content: flex-end;
  padding: 18px 18px 16px;
  border-radius: var(--r-sm);
  min-height: 112px;
  min-width: 0;
  overflow: hidden;
}
.split__seg b { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.split__seg i { font-style: normal; font-size: 12.5px; line-height: 1.3; letter-spacing: -0.004em; }
.split__seg--big {
  flex: 0 0 calc(80% - 4px); width: auto;
  color: #fff;
  background: linear-gradient(150deg, #3d4a2f, #14160f 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px -14px rgba(20,22,15,.7);
}
.split__seg--big i { color: rgba(255,255,255,.66); }
.split__seg--small {
  flex: 1 1 0; min-width: 0;
  color: var(--ink);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.split__seg--small i { color: var(--ink-3); }
.split__legend { display: none; }
.split__art {
  position: relative; z-index: 1;
  width: 100%; max-width: 230px; justify-self: center;
  filter: drop-shadow(0 26px 34px rgba(20,22,15,.16));
  margin: 18px 0;
}

/* ---------------- $GRAVE token ---------------- */

.token { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vh, 88px) var(--gut); }
.token__glass {
  max-width: 620px; margin: 0 auto;
  padding: clamp(30px, 4vw, 48px);
  border-radius: clamp(12px, 1.4vw, 16px);
}
.token__head {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
}
.token__head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1; letter-spacing: -0.05em; font-weight: 600;
}
.token__chain { font-size: 14px; color: var(--ink-3); letter-spacing: -0.006em; }

.token__ca { position: relative; z-index: 1; margin-top: clamp(24px, 3vw, 32px); }
.token__caLabel {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-3);
  letter-spacing: .01em; text-transform: uppercase;
  margin-bottom: 9px;
}
.token__tba {
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--flag);
  background: rgba(214,64,47,.09);
  border: 1px solid rgba(214,64,47,.2);
  padding: 2px 7px; border-radius: var(--r-pill);
}
.token__caRow {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 7px 7px 16px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.58);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.token__caRow code {
  flex: 1 1 auto; min-width: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 13.5px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.token__copy {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 13px; font-weight: 550;
  letter-spacing: -0.008em; color: var(--ink);
  cursor: pointer;
  padding: 8px 13px; border-radius: 10px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.token__copy svg {
  width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.token__copy:hover { transform: translateY(-1px); box-shadow: var(--shadow-md), inset 0 1px 0 #fff; }
.token__copy[data-copied="true"] { color: var(--check); }

.token__burn {
  position: relative; z-index: 1;
  margin: clamp(20px, 2.6vw, 26px) 0 0;
  max-width: 46ch;
  color: var(--ink-2); font-size: 15.5px; line-height: 1.5;
  letter-spacing: -0.008em;
}
.token__btn { position: relative; z-index: 1; margin-top: clamp(22px, 3vw, 30px); }

/* ---------------- launcher modal ---------------- */

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(236,235,228,.66);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.modal__pane {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(30px, 5vw, 40px) clamp(24px, 4vw, 36px) clamp(26px, 4vw, 32px);
  border-radius: clamp(12px, 1.6vw, 16px);
  text-align: center;
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.modal__close svg { width: 12px; height: 12px; fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; }
.modal__close:hover { background: #fff; transform: scale(1.06); }

.modal__art {
  position: relative; z-index: 1;
  width: 128px; margin: 0 auto 18px;
  filter: drop-shadow(0 16px 22px rgba(20,22,15,.16));
}
.modal__title {
  position: relative; z-index: 1; margin: 0;
  font-size: 1.35rem; font-weight: 600; letter-spacing: -0.032em;
}
.modal__desc {
  position: relative; z-index: 1;
  margin: 8px 0 0; color: var(--ink-2); font-size: 15px;
  letter-spacing: -0.008em;
}
.modal__bar {
  position: relative; z-index: 1;
  margin: 24px 0 0; height: 6px; border-radius: var(--r-pill);
  overflow: hidden;
  background: rgba(20,22,15,.08);
  box-shadow: inset 0 1px 2px rgba(20,22,15,.08);
}
.modal__barFill {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 38%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(20,22,15,.25), var(--ink) 50%, rgba(20,22,15,.25));
  animation: crawl 1.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes crawl {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(300%); }
}
.modal__fine {
  position: relative; z-index: 1;
  margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3);
  letter-spacing: -0.004em;
}

/* ---------------- faq ---------------- */

.faq { max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vh, 104px) var(--gut); }
.faq__list { border-top: 1px solid rgba(20,22,15,.09); }
.faq__item { border-bottom: 1px solid rgba(20,22,15,.09); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px;
  font-size: clamp(1rem, 1.7vw, 1.1rem); font-weight: 550;
  letter-spacing: -0.022em;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--ink-2); }
.faq__plus {
  position: relative; flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(20,22,15,.05);
  border: 1px solid rgba(20,22,15,.09);
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--ink-2);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.faq__plus::before { width: 9px; height: 1.4px; }
.faq__plus::after  { width: 1.4px; height: 9px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { overflow: hidden; }
.faq__answer p {
  margin: 0 0 22px;
  max-width: 60ch;
  color: var(--ink-2); font-size: 16px; line-height: 1.55;
  letter-spacing: -0.008em;
}

/* ---------------- closer ---------------- */

.closer { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(64px, 10vh, 120px); }
.closer__glass {
  padding: clamp(44px, 7vw, 84px) clamp(28px, 5vw, 64px);
  text-align: center;
  border-radius: clamp(14px, 1.8vw, 20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
}
.closer__glass h2 {
  position: relative; z-index: 1; margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.04; letter-spacing: -0.044em; font-weight: 600;
  text-wrap: balance;
}
.closer__glass p {
  position: relative; z-index: 1;
  margin: 14px auto 0; max-width: 34ch;
  color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.14rem);
  letter-spacing: -0.012em;
}
.closer__acts {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: clamp(26px, 3.5vw, 36px);
}

/* ---------------- footer ---------------- */

.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--gut) calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(20,22,15,.08);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px 32px;
  font-size: 13.5px; color: var(--ink-3);
  letter-spacing: -0.006em;
}
.foot__brand { display: flex; flex-direction: column; gap: 2px; }
.foot__mark { font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: -0.028em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 auto; }
.foot__links a {
  color: var(--ink-3); text-decoration: none;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .3s var(--ease);
}
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__x {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.foot__x svg { width: 15px; height: 15px; fill: var(--ink); }
.foot__x:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.95); }

/* ---------------- motion base state ---------------- */
/* JS sets these only when GSAP is present; CSS never hides content on its own. */

html.gsap-ready [data-reveal],
html.gsap-ready [data-hero-fade],
html.gsap-ready .hero__title .word { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__links + .nav__cta { margin-left: auto; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(16px, 3vh, 40px);
    gap: clamp(24px, 6vw, 44px);
  }
  .hero__object { order: -1; }
  .hero__object img { max-width: 290px; }
  .hero__sub { max-width: 44ch; }

  .feature__glass { grid-template-columns: minmax(0, 1fr); }
  .feature__art { max-width: 250px; justify-self: start; order: -1; margin-bottom: 8px; }

  .split__glass { grid-template-columns: minmax(0, 1fr); }
  .split__art { max-width: 200px; justify-self: start; order: -1; }

  .room__grid { grid-template-columns: minmax(0, 1fr); }

  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how__step { padding: 0 0 26px 26px; }
  .how__step::before {
    top: 6px; bottom: 0; left: 5px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, rgba(20,22,15,.18), rgba(20,22,15,.05));
  }
  .how__step:last-child::before { background: linear-gradient(180deg, rgba(20,22,15,.18), rgba(20,22,15,0)); }
  .how__step p { max-width: 44ch; }
}

@media (max-width: 680px) {
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stat {
    flex-direction: row-reverse; align-items: baseline; justify-content: space-between;
    gap: 14px; padding: 16px 18px;
    border-left: 0; border-top: 1px solid rgba(20,22,15,.09);
  }
  .stat:first-child { border-top: 0; }
  .stat__num { font-size: 1.5rem; }

  .plotcard__sched { font-size: 13px; }
  .plotcard__sched th, .plotcard__sched td { padding-right: 8px; }
  .plotcard__sched td { padding-top: 11px; padding-bottom: 11px; }
  .plotcard__bloom { grid-template-columns: minmax(0, 1fr); gap: 8px; }

  .why__list { grid-template-columns: minmax(0, 1fr); }
  .why__list li { padding: 20px 0; }
  .why__list li:nth-child(odd) { border-right: 0; }
  .why__list li:nth-child(even) { padding-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .how__step code { font-size: .8em; }
  .hero__title { font-size: clamp(2.7rem, 13.5vw, 3.6rem); }
  .hero__acts .btn { flex: 1 1 auto; justify-content: center; }
  .closer__acts { flex-direction: column; align-items: stretch; }
  .closer__acts .btn { justify-content: center; }

  /* the 80/20 proportion IS the point — keep the track horizontal */
  .split__seg { min-height: 72px; padding: 13px 11px; justify-content: center; }
  .split__seg b { font-size: 1.15rem; }
  .split__seg i { display: none; }
  .split__legend {
    display: flex; flex-wrap: wrap; gap: 6px 18px;
    margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3);
  }
  .split__legend b { font-weight: 600; color: var(--ink); }

  .foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot__links { margin: 0; }
}

@media (max-width: 400px) {
  .delivery { width: 100%; }
  .delivery__check { max-width: 180px; }
}
