/* ==========================================================================
   LEKKER TANA — 2027 reservation page (extends ../styles.css)
   Accent: Lekker/Tana green alongside the FLI hazard yellow chrome.
   ========================================================================== */

:root {
  --tana: #5ad13e;
  --tana-dim: rgba(90, 209, 62, 0.55);
}

/* ---------- chrome accents ---------- */
.loader__word--tana { color: var(--tana); }
.nav__cta--tana { background: var(--tana); }
.nav__cta--tana:hover { background: var(--bone); }
.hw--tana {
  color: transparent;
  -webkit-text-stroke: 2px var(--tana);
}
.outline--tana { -webkit-text-stroke-color: var(--tana) !important; }
.marquee--tana { background: var(--tana); }
.hazard--tana { background: repeating-linear-gradient(-45deg, var(--tana) 0 28px, #000 28px 56px); }
.btn--tana { background: var(--tana); }
.btn--ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--tana); }
.btn--ghost:hover { color: #000; }

/* ---------- hero ---------- */
.hero--tana .hero__kicker { color: var(--tana); }
.hero--tana .hero__bg img { object-position: 62% 30%; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero--tana .hero__sub b { color: var(--tana); font-weight: 600; }

/* the designer's credential, sitting under the CTAs where it does the most work.
   The seal is a transparent PNG built for light grounds, so it gets its own
   light disc to sit on rather than bleeding into the hero photo. */
.cred {
  display: flex; align-items: center; gap: 22px;
  max-width: 720px; margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.cred__seal {
  width: 96px; height: 96px; flex: 0 0 auto; border-radius: 50%;
  background: #fff; padding: 4px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}
.cred__copy { display: grid; gap: 8px; line-height: 1.5; text-shadow: none; }
.cred__copy b { color: var(--bone); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.15em; }
.cred__copy span { color: #c7c4bb; font-size: 0.75rem; letter-spacing: 0.1em; }
@media (max-width: 560px) {
  .cred { gap: 16px; margin-top: 28px; padding-top: 22px; }
  .cred__seal { width: 72px; height: 72px; }
  .cred__copy { gap: 6px; }
  .cred__copy b { font-size: 0.76rem; }
  .cred__copy span { font-size: 0.68rem; }
}

/* ---------- mission ---------- */
.mission { padding: clamp(110px, 16vh, 200px) 0 clamp(80px, 10vh, 130px); background: var(--bg); }
.mission .manifesto__label { color: var(--tana); }
.mission .manifesto__text { max-width: 980px; }
.mission .manifesto__body {
  margin-top: 28px; max-width: 780px;
  color: var(--dim); font-size: 1.05rem; line-height: 1.85;
}
.mission .manifesto__body b { color: var(--tana); font-weight: 600; }
.mission .manifesto__sig { margin-top: 44px; }
.sig__portrait {
  width: 88px; height: 88px; flex: 0 0 auto;
  border-radius: 50%; object-fit: cover; object-position: center;
  border: 1px solid var(--line);
}

.steps {
  list-style: none; margin-top: clamp(64px, 9vh, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px);
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--tana-dim); padding-top: 22px; }
.step__num {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--tana);
  display: block; margin-bottom: 12px;
}
.step h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em; font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--dim); font-size: 0.98rem; }
.step p b { color: var(--tana); font-weight: 600; }

/* ---------- design ---------- */
.design { padding: clamp(100px, 14vh, 170px) 0 60px; background: var(--panel); border-top: 1px solid var(--line); }
.design__head { margin-bottom: clamp(50px, 7vh, 80px); }
.design__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 880px) { .design__grid { grid-template-columns: 1fr; } }
.design__copy p { margin-bottom: 22px; color: var(--bone); font-size: 1.05rem; max-width: 560px; }
.design__copy p b { color: var(--tana); font-weight: 600; }
.design__copy .board__feats { margin-top: 34px; }
.design__copy .board__feats li::before { color: var(--tana); }
.design__visual { display: grid; gap: clamp(30px, 4.5vh, 52px); align-content: start; }
.design__visual img { border: 1px solid var(--line); }
.design__visual figcaption { margin-top: 12px; color: var(--dim); font-size: 0.72rem; letter-spacing: 0.2em; font-family: var(--font-mono); }

/* click-to-load video — nothing is requested from YouTube until the play button
   is pressed, so the page keeps its no-third-party first load. tana.js swaps the
   button for a .vid__frame iframe on click. */
.vid__btn {
  display: block; position: relative; width: 100%;
  padding: 0; border: 0; background: none; line-height: 0; cursor: pointer;
}
.vid__btn img { width: 100%; height: auto; display: block; }
.vid__play {
  position: absolute; inset: 0; margin: auto;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--tana); display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.vid__play::before {
  content: ""; margin-left: 6px;
  border-left: 22px solid #0c0d0f;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.vid__btn:hover .vid__play,
.vid__btn:focus-visible .vid__play { transform: scale(1.12); }
.vid__btn:focus-visible { outline: 2px solid var(--tana); outline-offset: 4px; }
.vid__frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* second caption line is the payoff, not more metadata — green, own line */
.vid figcaption b { display: block; margin-top: 9px; color: var(--tana); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .vid__play { transition: none; } }

.pull {
  margin: clamp(70px, 10vh, 120px) auto 90px; max-width: 860px;
  border-left: 1px solid var(--line); padding: 8px 0 8px clamp(22px, 4vw, 44px);
}
.pull p { font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 300; }
.pull em { font-style: normal; color: var(--tana); }
.pull cite { display: block; margin-top: 22px; color: var(--dim); font-style: normal; }
.pull cite.pull__by { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.pull cite.pull__by span { flex: 1 1 auto; }

/* ---------- strip ---------- */
.strip--tana { background: var(--panel); padding-top: 0; }

/* ---------- specs ---------- */
.specs { padding: clamp(100px, 14vh, 170px) 0; background: var(--bg); }
.specs__head { margin-bottom: 40px; }
.specs__render { display: grid; place-items: center; padding: clamp(20px, 5vh, 60px) 0; }
.specs__render img { width: min(100%, 900px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.specs__grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px); margin-top: 30px;
}
@media (max-width: 760px) { .specs__grid { grid-template-columns: repeat(2, 1fr); } }
.specs__grid li { border-left: 1px solid var(--tana); padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.specs__grid b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.9rem); color: var(--bone); letter-spacing: 0.03em; }
.specs__grid span { color: var(--dim); font-size: 0.72rem; }
.specs__note { margin-top: 56px; max-width: 620px; color: var(--dim); line-height: 2; }

/* ---------- reserve: the one light section on the site ----------
   The colour previews are studio shots on white, so this block runs light and the
   product reads properly. Rather than restating every rule, the shared tokens are
   re-pointed for this subtree — anything using --bone / --dim / --line / --tana
   inside .reserve adapts automatically. Fills that must stay brand-green are set
   explicitly below. */
.reserve {
  --bone: #14150f;                 /* was the light text colour; now the dark one */
  --dim: #56544c;                  /* 7.3:1 on the section background */
  --line: rgba(12, 13, 15, 0.18);
  --tana: #24761a;                 /* brand green is 1.9:1 here; this is 5.1:1 */
  padding: clamp(110px, 15vh, 190px) 0;
  background: #f4f3ef;
  color: #14150f;
  border-top: 1px solid rgba(12, 13, 15, 0.18);
}
.reserve__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 100px); align-items: start; }
@media (max-width: 960px) { .reserve__grid { grid-template-columns: 1fr; } }
.reserve .board__tag { color: var(--tana); }
.reserve .board__lead b { color: var(--tana); font-weight: 600; }
.reserve .board__feats li::before { color: var(--tana); }
.reserve__count { margin-top: 40px; color: var(--dim); border: 1px dashed var(--line); padding: 16px 18px; display: inline-block; }
.reserve__count b { color: var(--tana); }

/* ---------- product-of-the-year card ----------
   The Petrel studio shot is on white, so the card runs white and the shot needs no
   cutout. The seal is a separate mark in the header — the combo asset that has one
   baked in shrinks it past legibility at this column width. --poty-orange is the
   seal's own orange, darkened to 5.4:1 on white for the kicker text. */
.poty {
  --poty-orange: #b0410e;
  margin-top: 40px; max-width: 470px;
  background: #fff; border: 1px solid var(--line);
}
.poty__head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.poty__seal { width: 66px; height: 66px; flex: 0 0 auto; }
.poty__shot { padding: 6px 14px 0; }
.poty__shot img { width: 100%; height: auto; display: block; }
.poty__body { padding: 0 22px 24px; }
.poty__kicker { color: var(--poty-orange); }
.poty__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.42rem); letter-spacing: 0.03em;
  color: #14150f; margin: 8px 0 6px;
}
.poty__meta { color: var(--dim); font-size: 0.63rem; line-height: 1.8; }
.poty__note { font-size: 0.93rem; line-height: 1.65; color: #3b3a34; }
.poty__note b { color: var(--tana); font-weight: 600; }
.poty__mark { width: 104px; height: auto; display: block; margin-top: 20px; }

/* light-section specifics that can't come from a token swap */
.reserve .btn--tana { background: #5ad13e; color: #0c0d0f; }   /* keep the brand fill */
.reserve .btn--tana::before { background: #0c0d0f; }
.reserve .btn--tana:hover { color: #f4f3ef; }
.reserve .rform__field input,
.reserve .rform__field select,
.reserve .rform__field textarea { background: #fff; }
.reserve .rform__field input::placeholder,
.reserve .rform__field textarea::placeholder { color: #8c8a80; }
.reserve .rform__field input:focus,
.reserve .rform__field select:focus,
.reserve .rform__field textarea:focus { background: #fff; border-color: var(--tana); }
.reserve .chip span { background: #fff; }
.reserve .rform__done { background: rgba(36, 118, 26, 0.06); }
.reserve .cw { border-color: rgba(12, 13, 15, 0.12); }

/* form */
.rform { display: grid; gap: 22px; }
.rform__row { display: grid; gap: 22px; }
.rform__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .rform__row--2 { grid-template-columns: 1fr; } }
.rform__field { display: grid; gap: 8px; }
.rform__field > span { color: var(--dim); font-size: 0.72rem; }
.rform__field input,
.rform__field select,
.rform__field textarea {
  background: rgba(236, 234, 227, 0.04);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  padding: 14px 16px; border-radius: 0; width: 100%;
  transition: border-color 0.3s, background 0.3s;
  appearance: none; -webkit-appearance: none;
}
.rform__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2397948b'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.rform__field textarea { resize: vertical; min-height: 90px; }
.rform__field input::placeholder, .rform__field textarea::placeholder { color: rgba(151, 148, 139, 0.55); }
.rform__field input:focus, .rform__field select:focus, .rform__field textarea:focus {
  outline: none; border-color: var(--tana); background: rgba(90, 209, 62, 0.05);
}

.rform__colors { border: none; display: grid; gap: 14px; }
.rform__colors legend { color: var(--dim); font-size: 0.72rem; padding: 0; margin-bottom: 6px; }
.rform__note {
  color: var(--dim); font-size: 0.9rem; max-width: 56ch;
  margin: 2px 0 4px;
}
.rform__colors legend i { font-style: normal; color: rgba(151, 148, 139, 0.6); }
/* colourway preview above the chips — a light studio plate, so the renders keep
   their natural white background and contact shadow instead of being cut out */
.cw {
  margin: 4px 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(8px, 1.6vw, 16px);
}
.cw__img {
  width: 100%; height: auto; display: block;
  transition: opacity 0.18s ease;
}
.cw.is-loading .cw__img { opacity: 0.45; }
.cw__label {
  margin-top: 10px; color: var(--dim); font-size: 0.7rem;
  display: block;
}
.cw__label b { color: var(--tana); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .cw__img { transition: none; } }

.rform__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--dim); border: 1px solid var(--line); padding: 10px 14px;
  cursor: pointer; transition: border-color 0.25s, color 0.25s, background 0.25s;
  user-select: none;
}
.chip .sw {
  width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--c1, #555) 0 50%, var(--c2, var(--c1, #555)) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s;
}
.chip--mystery .sw {
  background: transparent; box-shadow: inset 0 0 0 1px var(--dim);
  display: grid; place-items: center; font-style: normal; font-size: 0.65rem; color: var(--dim);
}

/* hover + selected: the chip fills with the colour it advertises,
   and its label/dot flip to the readable foreground for that colour */
.chip:hover span,
.chip input:checked + span {
  background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2, var(--c1)) 50% 100%);
  border-color: var(--c1);
  color: var(--fg, #111);
}
.chip:hover .sw,
.chip input:checked + .sw,
.chip input:checked + span .sw {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--fg, #111);
}
.chip--mystery:hover .sw,
.chip--mystery input:checked + span .sw {
  box-shadow: inset 0 0 0 1px var(--fg, #111); color: var(--fg, #111);
}
.chip input:checked + span { font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--tana); outline-offset: 2px; }

.rform__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rform__submit { justify-self: start; margin-top: 8px; }
.rform__submit[disabled] { opacity: 0.55; pointer-events: none; }
.rform__hint { color: var(--dim); font-size: 0.7rem; line-height: 1.9; }
.rform__status { min-height: 1.2em; font-size: 0.72rem; }
.rform__status.is-err { color: #ff5f56; }
.rform__status.is-ok { color: var(--tana); }

/* success panel */
.rform__done {
  grid-column: 2; border: 1px solid var(--tana); padding: clamp(28px, 4vw, 48px);
  background: rgba(90, 209, 62, 0.05);
}
@media (max-width: 960px) { .rform__done { grid-column: auto; } }
.rform__done h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--tana); margin-bottom: 12px; }
.rform__done > p { color: var(--bone); margin-bottom: 24px; }
.rform__paybtns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.rform__done .mono { color: var(--dim); line-height: 2; }
