:root {
  --paper: #f3efe8;
  --ink: #161310;
  --mute: rgba(22, 19, 16, 0.58);
  --line: rgba(22, 19, 16, 0.1);
  --gold: #9a7340;
  --pill: #161310;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
[hidden] { display: none !important; }

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: calc(10px + var(--safe-t)) 20px 10px;
  background: rgba(243, 239, 232, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  min-height: 44px;
}
.logo img { width: 26px; height: 26px; border-radius: 8px; }
.menu {
  min-width: 44px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.links {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  padding: 8px 20px 20px;
  flex-direction: column;
}
.links.is-open { display: flex; }
.links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--pill);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.pill:hover { background: #000; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--pill);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.store { display: inline-flex; line-height: 0; }
.store img { height: 44px; width: auto; display: block; }

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
}
h1 { font-size: clamp(46px, 11vw, 88px); }
h2 { font-size: clamp(36px, 7vw, 68px); }
.lede, .block > p, .quote > p:not(.ask):not(.kicker), .drift > p, .close > p.note {
  margin: 16px 0 0;
  max-width: 28em;
  color: var(--mute);
  font-size: 16px;
}

.orbit {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 22px 72px;
  overflow: hidden;
}
.orbit-field { position: absolute; inset: -8%; }
.tile {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(22, 19, 16, 0.12);
  will-change: transform;
  opacity: 0;
  animation: fadein 1.2s ease both;
}
.t1 { animation-delay: 0.05s; }
.t2 { animation-delay: 0.12s; }
.t3 { animation-delay: 0.18s; }
.t4 { animation-delay: 0.24s; }
.t5 { animation-delay: 0.3s; }
.t6 { animation-delay: 0.36s; }
.t7 { animation-delay: 0.42s; }
.t8 { animation-delay: 0.48s; }
.t9 { animation-delay: 0.54s; }
.t10 { animation-delay: 0.2s; }
.t11 { animation-delay: 0.28s; }
.t12 { animation-delay: 0.4s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.t1 { width: 18vw; min-width: 92px; max-width: 180px; aspect-ratio: 3/4; top: 12%; left: 6%; }
.t2 { width: 14vw; min-width: 78px; max-width: 140px; aspect-ratio: 1; top: 18%; right: 10%; }
.t3 { width: 16vw; min-width: 86px; max-width: 160px; aspect-ratio: 4/5; bottom: 16%; left: 8%; }
.t4 { width: 12vw; min-width: 70px; max-width: 120px; aspect-ratio: 1; top: 58%; left: 22%; }
.t5 { width: 20vw; min-width: 100px; max-width: 200px; aspect-ratio: 5/4; bottom: 10%; right: 8%; }
.t6 { width: 11vw; min-width: 64px; max-width: 110px; aspect-ratio: 1; top: 10%; left: 38%; }
.t7 { width: 15vw; min-width: 80px; max-width: 150px; aspect-ratio: 16/10; top: 62%; right: 24%; }
.t8 { width: 13vw; min-width: 72px; max-width: 130px; aspect-ratio: 3/4; top: 28%; right: 28%; }
.t9 { width: 17vw; min-width: 90px; max-width: 170px; aspect-ratio: 1; bottom: 22%; left: 36%; }
.t10 { width: 10vw; min-width: 58px; max-width: 96px; aspect-ratio: 9/16; top: 36%; left: 4%; }
.t11 { width: 10vw; min-width: 58px; max-width: 96px; aspect-ratio: 9/16; top: 32%; right: 4%; }
.t12 { width: 9vw; min-width: 52px; max-width: 88px; aspect-ratio: 9/16; bottom: 8%; left: 52%; }
.t6, .t8, .t9, .t12 { display: none; }
@media (max-width: 859px) {
  .t1 { width: 30vw; max-width: none; top: 10%; left: 2%; }
  .t2 { width: 24vw; max-width: none; top: 14%; right: 2%; }
  .t3 { width: 28vw; max-width: none; bottom: 10%; left: 2%; }
  .t5 { width: 34vw; max-width: none; bottom: 8%; right: 0; }
  .t10, .t11 { width: 16vw; max-width: none; }
  .orbit-fade {
    background:
      radial-gradient(ellipse 78% 58% at 50% 46%, rgba(243, 239, 232, 0) 0%, var(--paper) 86%),
      linear-gradient(180deg, var(--paper) 0%, transparent 14%, transparent 86%, var(--paper) 100%);
  }
}
.orbit-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 56% 48% at 50% 48%, rgba(243, 239, 232, 0) 0%, var(--paper) 78%),
    linear-gradient(180deg, var(--paper) 0%, transparent 18%, transparent 82%, var(--paper) 100%);
  pointer-events: none;
}
.orbit-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 18em;
  animation: fadeup 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.orbit-copy .lede { margin-left: auto; margin-right: auto; }
.orbit-copy .store { margin-top: 28px; }

.plate {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 24px;
}
.media {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e7e1d7;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.media:hover img { transform: scale(1.04); }
.media.wide { aspect-ratio: 16/10; }
.media.tall { aspect-ratio: 3/4; }

.block, .quote, .drift, .close {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 24px;
}
.cluster {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.cluster .tall { grid-row: span 2; }
.cluster.invert { grid-template-columns: 1.4fr 0.8fr; }

.quote { text-align: center; padding: 96px 0; }
.quote .ask,
.quote > p { margin-left: auto; margin-right: auto; }
.ask {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 7vw, 64px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  max-width: 14em;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drift-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  margin-top: 40px;
  padding: 8px 2px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.drift-row::-webkit-scrollbar { display: none; }
.drift-row figure {
  margin: 0;
  flex: 0 0 168px;
}
.drift-row img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(22, 19, 16, 0.1);
}
.drift-row figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.close { padding-bottom: 80px; }
.close h2 { margin-top: 28px; }
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.note { margin: 14px 0 0; color: var(--mute); font-size: 13px; }
.qr-card { display: none; }

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 10px;
  padding: 22px 20px calc(28px + var(--safe-b));
  color: var(--mute);
  font-size: 13px;
  line-height: 1;
}
.foot span,
.foot a {
  display: inline-flex;
  align-items: center;
  height: 20px;
  min-height: 0;
  line-height: 20px;
}
.foot nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 2px;
}
.foot a { padding: 0 10px; }
.foot nav a:first-child { padding-left: 0; }

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-b));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(243, 239, 232, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
}
.dock span { display: flex; flex-direction: column; gap: 2px; }
.dock b {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}
.dock small { font-size: 11px; color: var(--mute); }
body:has(.dock:not([hidden])) .foot {
  padding-bottom: calc(100px + var(--safe-b));
}

.crumb { display: none; padding: 16px 20px 0; font-size: 13px; color: var(--mute); }
.crumb.is-on { display: block; }

.sheet {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}
.sheet .media { margin: 0 0 36px; }
.sheet p { color: var(--mute); margin: 16px 0 0; max-width: 28em; }
.sheet .store, .sheet .row { margin-top: 24px; }

.journal-mast {
  width: min(1200px, calc(100% - 32px));
  margin: 12px auto 0;
  height: 34vh;
  min-height: 200px;
  max-height: 360px;
  overflow: hidden;
  border-radius: 28px;
}
.journal-mast img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.journal-mast-veil { display: none; }
.journal-main { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 96px; }
.journal-main .meta { color: var(--mute); margin-bottom: 28px; }
.journal-main article p { margin: 0 0 18px; }
.journal-main article ul { margin: 0 0 18px 22px; }
.journal-main article li { margin-bottom: 8px; }
.journal-main article h2 { font-size: 28px; margin: 36px 0 12px; }
.journal-main article a { text-decoration: underline; text-underline-offset: 3px; }
.journal-cta {
  border-top: 1px solid var(--line);
  padding: 36px 0 8px;
  margin: 48px 0 8px;
}
.journal-cta h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 500;
  margin: 0 0 10px;
}
.journal-cta p { color: var(--mute); margin: 0 0 22px; }
.related { margin: 40px 0; }
.related h2 { font-size: 32px; margin-bottom: 8px; }
.card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.card img {
  width: 104px;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
}
.card h2 { font-size: 26px; margin-bottom: 8px; line-height: 1.15; }
.card p { color: var(--mute); font-size: 15px; margin: 0; }
.journal-feed-row {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.journal-feed-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}
.journal-feed-card img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
}
.journal-feed-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 6px;
}
.journal-feed-card p { color: var(--mute); font-size: 14px; margin: 0; }

.gate { min-height: 100svh; display: flex; flex-direction: column; }
.gate-card {
  width: min(420px, calc(100% - 40px));
  margin: auto;
  padding: 36px 0 80px;
  text-align: center;
}
.gate-card h1 { font-size: clamp(36px, 9vw, 52px); margin: 12px 0 10px; }
.gate-card p { color: var(--mute); }
.gate-code {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 28px;
  letter-spacing: 0.18em;
}

.legal {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 96px;
}
.legal h1 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 20px; }
.legal h2 { font-size: 28px; margin-top: 44px; }
.legal h3 { font-size: 16px; margin-top: 28px; }
.legal p, .legal li { color: var(--mute); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cards { display: grid; gap: 0; margin: 36px 0; }
.cards article { padding: 26px 0; border-top: 1px solid var(--line); }
.cards h2 { font-size: 26px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 860px) {
  .bar { padding-inline: 36px; }
  .menu { display: none; }
  .links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
  }
  .links a { min-height: auto; font-size: 13px; }
  .t6, .t8, .t9, .t12 { display: block; }
  .orbit { padding: 80px 40px 40px; }
  .orbit-copy { max-width: 20em; }
  .plate, .block, .quote, .drift, .close { width: min(1200px, calc(100% - 80px)); }
  .block, .drift, .close { padding-top: 104px; }
  .quote { padding: 140px 0; }
  .cluster { gap: 18px; }
  .drift-row { gap: 22px; }
  .drift-row figure { flex-basis: 196px; }
  .qr-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px 16px 10px 10px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(22, 19, 16, 0.08);
  }
  .qr-card img {
    width: 72px;
    height: 72px;
    padding: 8px;
    background: #fbf7f0;
    border-radius: 16px;
  }
  .qr-card b {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
  }
  .qr-card span { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); }
  .journal-mast { height: 42vh; max-height: 420px; }
  .journal-feed-row { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .foot { padding: 24px 40px 48px; }
  .dock { display: none !important; }
  .cards { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .crumb { padding-inline: max(40px, calc((100% - 720px) / 2)); }
}

@keyframes fadein { to { opacity: 1; } }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .media img, [data-reveal], .orbit-copy { animation: none; transition: none; transform: none; opacity: 1; }
}
