/* ═══════════════════════════════════════════════════════════════
   Drip Drops - marketing site
   Tokens and measurements come from design_handoff_website.
   Reference viewport 1440×1030.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* colour */
  --bg:          #0b0a09;
  --ink:         #f6efe2;
  --ink-soft:    #f2eadd;
  --ink-body:    rgba(240, 232, 218, .52);
  --ink-muted:   rgba(240, 232, 218, .34);
  --hairline:    rgba(240, 232, 218, .09);

  /* accent - the handoff calls this brass/gold */
  --om-accent:      #c8a24a;
  --om-accent-soft: #e0c078;
  --om-accent-deep: #a2803c;

  /* rules - --hairline is the default separator; the two brighter steps
     are the handoff's image frames (.18) and strong rules (.24) */
  --line-frame:  rgba(240, 232, 218, .18);
  --line-strong: rgba(240, 232, 218, .24);
  --tiers-bg: #12100c;

  /* type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --ui:      'Jost', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* metrics */
  --shell:  1280px;
  --gutter: 40px;
  --nav-h:  74px;

  /* homepage card - section side padding inside the shell */
  --pad: 48px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: #f0e8da;
  font-family: var(--ui);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--om-accent); text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--bg);
  color: var(--ink);
  font: 500 11px/1 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 1px solid var(--om-accent);
  outline-offset: 3px;
}

/* ── keyframes ────────────────────────────────────────────────── */
@keyframes om-sheen  { 0%   { transform: translateX(-130%) skewX(-16deg); }
                       100% { transform: translateX(340%)  skewX(-16deg); } }

/* ═══ NAV ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(11,10,9,.86), rgba(11,10,9,.42));
  box-shadow: inset 0 -1px 0 var(--hairline);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark { display: flex; flex-direction: column; gap: 4px; }
.wordmark__name {
  font: 500 12px/1 var(--ui);
  letter-spacing: .52em;
  /* at this tracking a plain space no longer reads as a word break */
  word-spacing: .3em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #f0e8da;
}
.wordmark__tag {
  font: 300 italic 11px/1 var(--display);
  color: rgba(240, 232, 218, .4);
}

.nav__links { display: flex; align-items: center; gap: 34px; }

.nav__link {
  font: 500 9.5px/1 var(--ui);
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(240, 232, 218, .6);
  transition: color .25s ease;
}
.nav__link:hover { color: #f0e8da; }

.cta {
  position: relative;
  overflow: hidden;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--om-accent-soft), var(--om-accent-deep));
  color: #2b1a0c;
  font: 500 9.5px/1 var(--ui);
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter .25s ease;
}
.cta:hover { color: #2b1a0c; filter: brightness(1.06); }
.cta::after {
  content: "";
  position: absolute;
  top: -30%; left: -24%;
  width: 46%; height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255,250,238,.45), transparent);
  animation: om-sheen 6.4s 1.4s ease-in-out infinite;
}

/* ═══ FOOTER ════════════════════════════════════════════════════ */
.footer {
  padding: 44px var(--gutter) 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  box-shadow: inset 0 1px 0 var(--hairline);
}
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__name {
  font: 500 11px/1 var(--ui);
  letter-spacing: .52em;
  word-spacing: .3em;
  text-transform: uppercase;
  color: rgba(240,232,218,.72);
}
.footer__est {
  font: 300 italic 12px/1 var(--display);
  color: var(--ink-muted);
}
.footer__cols { display: flex; gap: 54px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__head {
  font: 500 8.5px/1 var(--ui);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.footer__col a {
  font: 300 13px/1 var(--ui);
  color: rgba(240,232,218,.6);
  transition: color .25s ease;
}
.footer__col a:hover { color: #f0e8da; }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE  -  design_handoff_homepage_1a, option 1a "House editorial"
   One dark card on --bg: announcement bar, in-flow masthead, full-bleed
   photographic hero, pieces gallery, published tier/odds table,
   ship-or-sell-back split, legal footer. The fixed `.nav` above serves
   the legal pages only.
   ═══════════════════════════════════════════════════════════════ */

/* the card - shell-width, hairline-framed; the homepage masthead is
   in-flow, so the legal pages' fixed-nav scroll offset comes off */
html:has(.page) { scroll-padding-top: 0; }

.page {
  max-width: var(--shell);
  margin: 0 auto;
  border-inline: 1px solid var(--hairline);
}

/* ── announcement bar ─────────────────────────────────────────── */
.annbar {
  margin: 0;
  padding: 9px var(--pad);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: .16em;
  color: var(--ink-body);
}

/* ── masthead ─────────────────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--hairline);
}
.masthead__brand { display: flex; align-items: baseline; gap: 14px; }
.masthead__wordmark { font: 500 23px/1 var(--display); color: var(--ink); white-space: nowrap; }
.masthead__est {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .1em;
  color: rgba(240, 232, 218, .45);
  white-space: nowrap;
}
.masthead__links { display: flex; align-items: center; gap: 28px; }
.masthead__links a {
  font: 500 12.5px/1 var(--ui);
  color: rgba(240, 232, 218, .75);
  white-space: nowrap;
  transition: color .25s ease;
}
.masthead__links a:hover { color: var(--om-accent); }

/* ── hero ─────────────────────────────────────────────────────── */
.hero { position: relative; height: 620px; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,10,9,.25) 30%, rgba(11,10,9,.9) 100%);
}
.hero__row {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 76px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero__title {
  margin: 0;
  font: italic 400 74px/1.02 var(--display);
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.hero__facts {
  margin: 0;
  font: 500 10.5px/1.9 var(--mono);
  letter-spacing: .14em;
  color: rgba(240, 232, 218, .85);
  text-align: right;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}

/* ── sub-hero ─────────────────────────────────────────────────── */
.subhero {
  padding: 26px var(--pad);
  border-top: 1px solid var(--hairline);
}
.subhero p {
  margin: 0;
  max-width: 52ch;
  font: 400 14px/1.65 var(--ui);
  color: rgba(240, 232, 218, .6);
}

/* ── section furniture ────────────────────────────────────────── */
.eyebrow {
  margin: 0;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .18em;
  color: var(--om-accent);
}
.pieces__title,
.tiers__title {
  font: 400 40px/1.1 var(--display);
  color: var(--ink);
}

/* ── 01 · the pieces ──────────────────────────────────────────── */
.pieces { padding: 60px var(--pad); border-top: 1px solid var(--hairline); }
.pieces__title { margin: 14px 0 36px; }
.pieces__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.pieces__grid img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--line-frame);
}

/* ── 02 · the tiers ───────────────────────────────────────────── */
.tiers {
  padding: 60px var(--pad);
  background: var(--tiers-bg);
  border-top: 1px solid var(--hairline);
}
.tiers__title { margin: 14px 0 34px; }

.tiers__head,
.tier {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0 24px;
}
.tiers__head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.tiers__head span {
  font: 500 10px/1 var(--mono);
  letter-spacing: .14em;
  color: rgba(240, 232, 218, .45);
}
.tiers__head span + span { text-align: right; }
.tier {
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.tier__name { font: 500 24px/1.1 var(--display); color: var(--ink); }
.tier__band,
.tier__odds {
  font: 400 13px/1.4 var(--mono);
  color: rgba(240, 232, 218, .65);
  text-align: right;
}
.tier--top { border-bottom-color: var(--line-strong); }
.tier--top .tier__name,
.tier--top .tier__band,
.tier--top .tier__odds { color: var(--om-accent); }
.tiers__note {
  margin: 16px 0 0;
  font: 400 11.5px/1.7 var(--mono);
  color: rgba(240, 232, 218, .45);
}

/* ── 03 · the vault ───────────────────────────────────────────── */
.vault {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
}
.vault__cell {
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vault__cell:first-child { border-right: 1px solid var(--hairline); }
.vault__title { margin: 0; font: 400 28px/1.15 var(--display); color: var(--ink); }
.vault__body {
  margin: 0;
  font: 400 13.5px/1.7 var(--ui);
  color: rgba(240, 232, 218, .6);
}

/* ── 04 · the list ────────────────────────────────────────────── */
.list {
  padding: 60px var(--pad);
  background: var(--tiers-bg);
  border-top: 1px solid var(--hairline);
}
.list__title {
  margin: 14px 0 18px;
  font: 400 40px/1.1 var(--display);
  color: var(--ink);
}
.list__body {
  margin: 0 0 30px;
  max-width: 52ch;
  font: 400 13.5px/1.7 var(--ui);
  color: rgba(240, 232, 218, .6);
}
.list__form { max-width: 560px; }
.list__label {
  display: block;
  margin-bottom: 10px;
  font: 500 10px/1 var(--mono);
  letter-spacing: .14em;
  color: rgba(240, 232, 218, .45);
}
.list__row { display: flex; }
.list__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--line-frame);
  border-right: 0;
  border-radius: 0;
  font: 400 13px/1.4 var(--mono);
  color: var(--ink);
}
.list__input::placeholder { color: rgba(240, 232, 218, .3); }
.list__input:focus {
  outline: 1px solid var(--om-accent);
  outline-offset: -1px;
}
.list__btn {
  padding: 14px 24px;
  background: linear-gradient(120deg, var(--om-accent-soft), var(--om-accent-deep));
  border: 0;
  border-radius: 0;
  font: 500 10px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2b1a0c;
  cursor: pointer;
}
.list__btn:hover { filter: brightness(1.06); }
.list__btn:disabled { opacity: .55; cursor: default; filter: none; }
/* Honeypot: parked off-screen, not display:none, so form fillers still see it. */
.list__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.list__status {
  margin: 12px 0 0;
  min-height: 1.2em;
  font: 400 11.5px/1.7 var(--mono);
  color: rgba(240, 232, 218, .65);
}

/* ── footer ───────────────────────────────────────────────────── */
.foot {
  padding: 44px var(--pad) 40px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.foot__row { display: flex; justify-content: space-between; gap: 40px; }
.foot__brand { display: flex; flex-direction: column; gap: 8px; }
.foot__wordmark { font: 500 22px/1 var(--display); color: var(--ink); }
.foot__est {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .12em;
  color: rgba(240, 232, 218, .4);
}
.foot__cols { display: flex; gap: 64px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__head {
  font: 500 10px/1 var(--mono);
  letter-spacing: .14em;
  color: rgba(240, 232, 218, .4);
}
.foot__col a {
  font: 400 12.5px/1 var(--ui);
  color: rgba(240, 232, 218, .7);
  transition: color .25s ease;
}
.foot__col a:hover { color: var(--om-accent); }

/* ── homepage responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .page { --pad: 28px; }

  .masthead { flex-wrap: wrap; row-gap: 10px; padding-top: 16px; padding-bottom: 16px; }
  .masthead__links { gap: 16px; }

  .hero { height: 460px; }
  .hero__row { bottom: 48px; }
  .hero__title { font-size: 48px; }

  .pieces__grid { grid-template-columns: 1fr; }
  .pieces__grid img { height: 320px; }

  .tier__name { font-size: 20px; }

  .vault { grid-template-columns: 1fr; }
  .vault__cell:first-child { border-right: 0; border-bottom: 1px solid var(--hairline); }

  .list__title { font-size: 32px; }

  .foot__row { flex-direction: column; gap: 34px; }
  .foot__cols { flex-wrap: wrap; gap: 28px 40px; }
}

@media (max-width: 600px) {
  .page { --pad: 20px; }

  .annbar { letter-spacing: .1em; }
  .masthead__est { display: none; }

  .hero__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__title { font-size: 40px; }
  .hero__facts { text-align: left; }

  .tiers__head { gap: 0 12px; }
  .tier { gap: 0 12px; }
  .tier__band, .tier__odds { font-size: 12px; }

  .list__row { flex-direction: column; gap: 10px; }
  .list__input { border-right: 1px solid var(--line-frame); }
  .list__btn { padding: 15px 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES  -  /terms, /privacy, /support
   Same tokens as the marketing page: no new colours, no new fonts,
   no animation. `.nav` is fixed, so `.doc` clears --nav-h itself.
   `--ink-body` is re-valued here only - .52 is tuned for a one-line
   lead, and these pages are read for minutes at a time.
   ═══════════════════════════════════════════════════════════════ */

.doc {
  --ink-body: rgba(240, 232, 218, .72);
  max-width: 748px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 88px) var(--gutter) 104px;
}

.doc__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 30px;
  box-shadow: inset 0 -1px 0 var(--hairline);
}

.doc__eyebrow {
  font: 500 9px/1 var(--ui);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.doc__title {
  margin: 0;
  font: 300 clamp(38px, 6vw, 56px)/1.04 var(--display);
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}

.doc__meta {
  margin: 0;
  font: 400 11px/1.6 var(--mono);
  color: var(--ink-muted);
}

/* A fact nobody has yet. Never ships as an invented value. */
.tbd {
  font: 400 11.5px/1.4 var(--mono);
  color: var(--om-accent);
  background: rgba(200, 162, 74, .09);
  padding: 1px 6px;
  white-space: nowrap;
}

.doc__toc {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 34px;
}
.doc__toc li { margin-bottom: 9px; break-inside: avoid; }
.doc__toc a {
  font: 300 13px/1.4 var(--ui);
  color: rgba(240, 232, 218, .6);
  transition: color .25s ease;
}
.doc__toc a:hover { color: var(--ink); }
.doc .doc__toc a { border-bottom: 0; }

.doc__section { margin-top: 54px; }

.doc__section h2 {
  margin: 0 0 4px;
  font: 300 26px/1.2 var(--display);
  color: var(--ink-soft);
  letter-spacing: -.005em;
}

.doc__num {
  font: 400 10px/1 var(--mono);
  color: var(--ink-muted);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 9px;
}

.doc__section h3 {
  margin: 26px 0 6px;
  font: 500 11px/1.4 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240, 232, 218, .56);
}

.doc p,
.doc li {
  font: 300 15px/1.72 var(--ui);
  color: var(--ink-body);
  text-wrap: pretty;
}

.doc__section p { margin: 0 0 13px; }
.doc__section > p:last-child { margin-bottom: 0; }

.doc ul { margin: 0 0 13px; padding-left: 20px; }
.doc li { margin-bottom: 7px; }

.doc a { border-bottom: 1px solid rgba(200, 162, 74, .3); }
.doc a:hover { border-bottom-color: var(--om-accent); }

/* What the real copy replaces. Set apart so it reads as a brief.
   Scoped `.doc .doc__stub` to outrank `.doc p` on class count. */
.doc .doc__stub {
  margin: 0 0 13px;
  padding-left: 15px;
  border-left: 1px solid var(--hairline);
  font: 300 italic 14px/1.68 var(--ui);
  color: rgba(240, 232, 218, .42);
}

/* The bottom margin matters only where a `dl` is followed by more prose, as
   in the eligibility, withdrawal and shipping sections of /terms. Where it
   closes a section it collapses into the next section's 54px and shows up
   nowhere. */
.doc__contact {
  margin: 22px 0 22px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px 20px;
  align-items: baseline;
}
.doc__contact dt {
  font: 500 9.5px/1.6 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.doc__contact dd {
  margin: 0;
  font: 300 15px/1.6 var(--ui);
  color: var(--ink-body);
}

.doc__back {
  margin-top: 68px;
  padding-top: 26px;
  box-shadow: inset 0 1px 0 var(--hairline);
}
.doc__back a { font: 300 13px/1 var(--ui); border-bottom: 0; }

@media (max-width: 760px) {
  .doc { padding-top: calc(var(--nav-h) + 54px); }
  .doc__toc { columns: 1; }
  .doc__contact { grid-template-columns: 1fr; gap: 4px 0; }
  .doc__contact dd { margin-bottom: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE  -  legal pages (their fixed nav + shared footer).
   The homepage carries its own breakpoints in its block above.
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  :root { --gutter: 30px; }

  /* Let a nav column wrap to its own row here rather than shrinking
     the others into two-line links. */
  .footer__cols { flex-wrap: wrap; gap: 34px 40px; }
}

@media (max-width: 760px) {
  .nav__links { gap: 20px; }
  .nav__link { display: none; }
  .wordmark__tag { display: none; }

  .footer { flex-direction: column; gap: 34px; }
  .footer__cols { flex-wrap: wrap; gap: 34px; }
}

@media (max-width: 480px) {
  :root { --gutter: 22px; }

  .cta { padding: 10px 16px; letter-spacing: .2em; }

  /* the two-word name needs its tracking back to share the row with the CTA */
  .wordmark__name { letter-spacing: .34em; word-spacing: .2em; }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   Every animation here is ambient decoration (open question 4), so
   all of it goes - nothing is load-bearing for comprehension.
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .cta::after { display: none; }
}
