:root {
  --ink: #06212e;
  --deep: #04263a;
  --aqua: #12a9dc;
  --aqua-2: #7fdcff;
  --leaf: #8cc63f;
  --paper: #ffffff;
  --mist: #f1f7fa;
  --line: #dde8ee;
  --muted: #5b7180;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.splashing, body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--aqua-2); margin: 0 0 14px; }
.eyebrow.dark { color: var(--aqua); }
.sub { color: var(--muted); max-width: 56ch; margin: 14px 0 0; }

/* ---------- Splash ---------- */
#splash { position: fixed; inset: 0; z-index: 100; }
#splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); text-align: center; opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.2,.9,.3,1.2); pointer-events: none; }
.splash-brand img { width: min(300px, 60vw); margin: 0 auto; filter: drop-shadow(0 6px 30px rgba(0, 20, 40, .5)) brightness(1.15); }
.splash-brand p { margin: 14px 0 0; color: #d6f2ff; letter-spacing: .28em; text-transform: uppercase; font-size: .72rem; }
#splash.show-brand .splash-brand { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#splash.reveal .splash-brand { opacity: 0; transform: translate(-50%, -50%) scale(1.12); transition-duration: .5s; }
.splash-skip { position: absolute; right: 22px; bottom: 22px; background: rgba(255,255,255,.1); color: #d6f2ff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 8px 18px; font: 500 .8rem var(--sans); cursor: pointer; }
.splash-skip:hover { background: rgba(255,255,255,.2); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px clamp(18px, 4vw, 44px); color: #fff; transition: background .3s, box-shadow .3s, color .3s, padding .3s; }
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); padding-block: 8px; }
.brand img { height: 46px; width: auto; }
.nav:not(.solid) .brand img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: .9rem; font-weight: 500; opacity: .9; }
.nav nav a:hover { opacity: 1; color: var(--aqua); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: inherit; border-radius: 99px; padding: 9px 16px; font: 600 .86rem var(--sans); cursor: pointer; }
.nav.solid .cart-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn b { background: var(--aqua); color: #fff; border-radius: 99px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .74rem; padding: 0 6px; }
.cart-btn.bump b { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--deep); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,38,58,.45) 0%, rgba(4,38,58,.1) 35%, rgba(4,38,58,.82) 100%); }
.hero-copy { position: relative; width: min(1180px, 100% - 48px); margin: 0 auto; padding: 0 0 clamp(70px, 12vh, 130px); }
.hero h1 { font-size: clamp(3rem, 9vw, 7rem); }
.hero h1 em { font-style: italic; color: var(--aqua-2); }
.lede { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; margin: 22px 0 30px; color: #e3f4fb; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
body.ready .hero-copy > * { opacity: 1; transform: none; }
body.ready .hero-copy > :nth-child(2) { transition-delay: .12s; }
body.ready .hero-copy > :nth-child(3) { transition-delay: .24s; }
body.ready .hero-copy > :nth-child(4) { transition-delay: .36s; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 99px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 99px; padding: 14px 28px; font: 600 .95rem var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--aqua); color: #fff; box-shadow: 0 10px 30px -10px rgba(18,169,220,.8); }
.btn-primary:hover { background: #0e97c6; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section.tint { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 16px; font: 500 .85rem var(--sans); color: var(--muted); cursor: pointer; }
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(6,33,46,.45); }
.product .ph { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product .ph.contain img { object-fit: contain; padding: 14px; background: #fff; }
.product:hover .ph img { transform: scale(1.04); }
.product .info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .cat { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); font-weight: 600; }
.product h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.product .buy { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { font-family: var(--serif); font-size: 1.35rem; }
.add { border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: 9px 16px; font: 600 .82rem var(--sans); cursor: pointer; transition: background .2s; }
.add:hover { background: var(--aqua); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 40px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan .tag { align-self: start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #e3f6fd; color: #0b7fa8; }
.plan .tag.alk { background: #eef7df; color: #56861c; }
.plan h3 { font-size: 1.35rem; font-weight: 400; }
.plan p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.plan .add { align-self: start; margin-top: 8px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media img { border-radius: var(--radius); width: 78%; }
.about-media img + img { position: absolute; right: 0; bottom: 0; width: 56%; border: 6px solid #fff; box-shadow: 0 20px 50px -20px rgba(6,33,46,.5); }
.about p { color: var(--muted); margin: 18px 0 0; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { padding-left: 18px; border-left: 2px solid var(--aqua); color: var(--muted); font-size: .92rem; }
.points b { display: block; color: var(--ink); }

.quote { background: var(--deep); color: #fff; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.3; margin: 0 0 24px; }
.quote footer { color: var(--aqua-2); font-size: .9rem; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-lines { display: grid; gap: 6px; margin-top: 28px; font-family: var(--serif); font-size: 1.4rem; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--aqua); }
.contact-lines span { font: 400 .95rem var(--sans); color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 30px 60px -40px rgba(6,33,46,.4); }

/* ---------- Forms ---------- */
label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
input, select, textarea { font: 400 .95rem var(--sans); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint, .form-note { font-size: .8rem; color: var(--muted); margin: -4px 0 14px; }
.form-note { margin: 12px 0 0; color: #1c7c3c; font-weight: 500; }
.seg { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: .8rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.seg label { margin: 0; display: block; }
.seg input { position: absolute; opacity: 0; width: 0; }
.seg span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 11px; font-weight: 500; font-size: .9rem; cursor: pointer; }
.seg input:checked + span { border-color: var(--aqua); background: #e9f8fe; color: #0b7fa8; }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.seg input:focus-visible + span { outline: 2px solid var(--aqua); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9cfd9; padding: 46px 0; font-size: .88rem; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { filter: brightness(1.2); }
.footer p { margin: 8px 0 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(4,26,38,.55); z-index: 50; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 60; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.5rem; font-weight: 400; }
.icon-btn { border: 0; background: var(--mist); width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 10px; }
.drawer-foot .hint { margin: 0; }
.drawer-foot .linklike { justify-self: center; font-size: .85rem; color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img, .line .drop { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; background: var(--mist); }
.line .drop { display: grid; place-items: center; color: var(--aqua); font-size: 1.5rem; }
.line h4 { margin: 0 0 6px; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.line .lp { font-family: var(--serif); font-size: 1.05rem; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { border: 0; background: none; width: 30px; height: 30px; font-size: 1rem; cursor: pointer; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-size: .88rem; font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty .big { font-size: 2.6rem; }
.done { text-align: center; }
.done .tick { width: 70px; height: 70px; border-radius: 50%; background: #e6f6ea; color: #1c7c3c; display: grid; place-items: center; font-size: 2rem; margin: 30px auto 18px; }
.done h3 { font-size: 1.8rem; font-weight: 400; }
.done .ref { font-family: var(--serif); font-size: 1.3rem; color: var(--aqua); margin: 6px 0 18px; }
.done dl { text-align: left; background: var(--mist); border-radius: 12px; padding: 16px 18px; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .88rem; }
.done dt { color: var(--muted); } .done dd { margin: 0; text-align: right; font-weight: 500; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 99px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 70; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .cart-btn { margin-left: auto; }
  .about, .contact { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product .buy { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01s !important; }
}
