:root {
  --bg: #0a0d0f;
  --surface: #12171a;
  --surface-2: #192024;
  --line: #263036;
  --text: #e8eef0;
  --muted: #93a3aa;
  --teal: #127185;      /* brand */
  --teal-hi: #2bb3cf;   /* readable on dark */
  --sand: #c8b48a;
  --radius: 6px;
  --head: "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-hi); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
  animation: intro-out .7s cubic-bezier(.7,0,.3,1) 2.3s forwards;
}
.intro__inner { position: relative; width: min(46vw, 240px); display: grid; justify-items: center; gap: 22px; }
.intro__markwrap { position: relative; width: 100%; }
.intro__mark {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  animation: mark-in 1.1s cubic-bezier(.6,0,.2,1) .2s forwards, mark-glow 1.2s ease-out 1.3s;
}
.intro__scan {
  position: absolute; left: -10%; right: -10%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-hi), transparent);
  box-shadow: 0 0 18px 2px var(--teal-hi); opacity: 0;
  animation: scan 1.1s cubic-bezier(.6,0,.2,1) .2s;
}
.intro__word { width: 78%; opacity: 0; transform: translateY(10px); letter-spacing: .3em; animation: word-in .6s ease-out 1.25s forwards; }
@keyframes mark-in { to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes scan { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes mark-glow { 0% { filter: drop-shadow(0 0 0 transparent); } 40% { filter: drop-shadow(0 0 22px rgba(43,179,207,.75)); } 100% { filter: drop-shadow(0 0 0 transparent); } }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }
.no-intro .intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(10,13,15,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.05rem var(--head); letter-spacing: .12em; }
.brand img { width: 36px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 1px solid var(--teal); border-radius: var(--radius);
  background: var(--teal); color: #fff; font: 600 .95rem var(--head);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #168aa2; border-color: #168aa2; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--teal); }
.btn--sm { padding: 9px 16px; font-size: .8rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 9vw, 110px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-head p { color: var(--muted); margin: 10px 0 0; }
.tag {
  display: inline-block; margin: 0 0 18px; padding: 5px 12px;
  border: 1px solid var(--teal); border-radius: 99px; color: var(--teal-hi);
  font: 600 .78rem var(--head); letter-spacing: .18em; text-transform: uppercase;
}

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 90px); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 20px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; aspect-ratio: 1 / 1; }
.hero__img { position: absolute; width: 62%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.hero__img--a { left: 0; top: 0; }
.hero__img--b { right: 0; bottom: 0; }
.hero__img--b::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(43,179,207,.25); border-radius: inherit; }

/* range grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; padding: 0; overflow: hidden; cursor: pointer; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font: inherit; transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--teal); transform: translateY(-2px); }
.tile picture, .tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(5,8,9,.9)); }
.tile__label { position: relative; z-index: 1; padding: 16px; font: 700 1.1rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.tile--icon { justify-content: center; align-items: center; gap: 4px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.tile--icon svg { width: 34%; fill: none; stroke: var(--teal-hi); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.tile--icon .tile__label { padding: 0; }
.tile__soon { color: var(--muted); font-size: .8rem; }
.tile__pick {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(10,13,15,.5);
}
.tile.is-picked { border-color: var(--teal-hi); box-shadow: 0 0 0 1px var(--teal-hi); }
.tile.is-picked .tile__pick { background: var(--teal); border-color: var(--teal-hi); }
.tile.is-picked .tile__pick::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.note { margin: 14px 0 0; color: var(--muted); font-size: .8rem; }

/* detail strip */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 0; }
.details figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.details img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.details figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; background: linear-gradient(transparent, rgba(5,8,9,.92)); color: var(--muted); font-size: .92rem; }
.details strong { display: block; color: var(--text); font: 700 1.05rem var(--head); text-transform: uppercase; letter-spacing: .05em; }

/* form */
.register { max-width: 820px; scroll-margin-top: 40px; }
.form input, .form select, .form textarea { scroll-margin-top: 140px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .9rem; font-weight: 500; }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 7px; }
.form em { color: var(--muted); font-style: normal; font-weight: 400; font-size: .8rem; margin-left: 4px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-hi); }
.form .invalid { border-color: #e0605a; }
.cats { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cats legend { font-size: .9rem; font-weight: 500; margin-bottom: 10px; padding: 0; }
.cats.invalid legend { color: #ff8a84; }
.form .cats label, .form .consent { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.form .cats label { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: .88rem; }
.form .cats label:has(input:checked) { border-color: var(--teal-hi); background: rgba(18,113,133,.18); }
.form .cats input, .form .consent input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--teal); }
.form .consent input { margin-top: 2px; }
.consent { color: var(--muted); font-size: .88rem; align-items: flex-start !important; }
.consent.invalid { color: #ff8a84; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0; color: #ff8a84; font-size: .9rem; }
.done { text-align: center; background: var(--surface); border: 1px solid var(--teal); border-radius: var(--radius); padding: 48px 24px; }
.done img { margin: 0 auto 18px; width: 72px; }
.done p { color: var(--muted); margin: 10px 0 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 16px 40px; text-align: center; color: var(--muted); font-size: .85rem; }
.foot img { margin: 0 auto 14px; width: 140px; opacity: .9; }
.foot__note { margin: 0 auto 10px; max-width: 520px; font-size: .75rem; opacity: .8; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--teal-hi); font: inherit; cursor: pointer; text-decoration: underline; }

/* sticky pick bar: shows once something is picked, until the form is on screen */
.pickbar {
  position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px;
  background: var(--surface-2); border: 1px solid var(--teal); border-radius: 99px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6); animation: bar-in .25s ease-out;
}
.pickbar[hidden] { display: none; }
.pickbar p { margin: 0; flex: 1; min-width: 0; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.pickbar strong { color: var(--text); font-family: var(--head); letter-spacing: .04em; }
.pickbar .btn { border-radius: 99px; flex: none; }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 12px); } }
body.cookie-open .pickbar { bottom: 110px; }
@media (max-width: 600px) { body.cookie-open .pickbar { bottom: 150px; } }

/* cookie bar */
.cookie {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,.5); font-size: .88rem; color: var(--muted);
}
.cookie p { margin: 0; flex: 1; }
.cookie div { display: flex; gap: 8px; flex: none; }
.cookie[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; width: 100%; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid { gap: 10px; }
  .tile { aspect-ratio: 1 / 1; }
  .tile--icon { aspect-ratio: 2 / 1; }
  .tile--icon svg { width: 22%; margin-bottom: 4px; }
  .tile__label { padding: 12px; font-size: .95rem; }
  .tile__pick { width: 24px; height: 24px; top: 8px; right: 8px; }
  .tile.is-picked .tile__pick::after { left: 6px; top: 2px; width: 6px; height: 11px; }
  .details { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .top .btn--sm { padding: 8px 12px; font-size: .72rem; }
  .brand span { font-size: .85rem; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie div .btn { flex: 1; }
}
