:root {
  --ink: #0b1220;
  --ink-2: #1c2638;
  --muted: #5d6b82;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --accent: #14b8a0;
  --accent-bright: #38e1c4;
  --nav-h: 68px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.1; margin: 0 0 .4em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.lead-dark { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.badge { display: inline-block; background: var(--ink); color: var(--accent-bright); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.badge:empty { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--ink);
  transition: transform .15s ease, background .15s ease; cursor: pointer; font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-accent { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.btn-accent:hover { background: #5ae8d0; }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; height: var(--nav-h); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--accent-bright); display: grid; place-items: center; font-family: "Space Grotesk"; font-weight: 700; }
.logo-text { font-family: "Space Grotesk"; font-weight: 700; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- Home: full-screen product panels ---------- */
.panel {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--nav-h)); background: #fff; border-bottom: 1px solid var(--line);
}
.panel-alt { background: var(--bg-soft); }
.panel-alt .panel-media { order: 2; }
.panel-media { display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; overflow: hidden; }
.panel-media img {
  width: 100%; height: calc(100vh - var(--nav-h) - 6vh); object-fit: contain;
  mix-blend-mode: multiply; transition: transform .5s ease;
}
.panel-media:hover img { transform: scale(1.03); }
.panel-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 5vw 48px 3vw; }
.panel-alt .panel-copy { padding: 48px 3vw 48px 5vw; }
.panel-copy .badge { align-self: flex-start; }
.panel-index { font-family: "Space Grotesk"; color: var(--muted); font-size: .95rem; margin: 0 0 28px; }
.panel h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* About / Contact */
.section { padding: 96px 0; }
.about { background: #fff; }
.about h2, .contact h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.about-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.about-copy p { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 16px; }
.contact { background: var(--ink); color: #fff; text-align: center; }
.contact-inner { max-width: 640px; }
.contact p { color: #b7c2d4; margin: 0 0 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Product detail page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; border-bottom: 1px solid var(--line); }
.pd-gallery { position: sticky; top: var(--nav-h); background: var(--bg-soft); padding: 3vh 3vw 24px; }
.pd-main img { width: 100%; height: calc(100vh - var(--nav-h) - 6vh - 96px); object-fit: contain; mix-blend-mode: multiply; }
.pd-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.pd-thumbs button { width: 64px; height: 64px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { padding: 48px 5vw 64px 4vw; }
.back { display: inline-block; text-decoration: none; color: var(--muted); font-weight: 500; margin-bottom: 32px; }
.back:hover { color: var(--ink); }
.pd-info h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.pd-features { margin: 36px 0 0; border-top: 1px solid var(--line); }
.pd-features dt { font-weight: 600; padding-top: 18px; }
.pd-features dd { margin: 4px 0 0; padding-bottom: 18px; color: var(--muted); border-bottom: 1px solid var(--line); }

.pd-stack { background: #fff; padding: 72px 0 24px; }
.pd-stack-head { text-align: center; margin-bottom: 24px; }
.stack-item { margin: 0 auto 24px; max-width: 1100px; padding: 0 20px; }
.stack-item img { width: 100%; height: auto; border-radius: var(--radius); }

.next { background: var(--bg-soft); }
.next-grid { display: grid; gap: 20px; }
.next-card { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; transition: box-shadow .2s ease; }
.next-card:hover { box-shadow: 0 10px 30px rgba(11,18,32,.08); }
.next-card h3 { font-size: 1.6rem; }
.next-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.link { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .panel, .pd { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .panel-alt .panel-media { order: 0; }
  .panel-media { padding: 16px; }
  .panel-media img { height: auto; max-height: 72vh; aspect-ratio: 1; }
  .panel-copy, .panel-alt .panel-copy { padding: 8px 20px 56px; }
  .pd-gallery { position: static; padding: 16px 16px 20px; }
  .pd-main img { height: auto; aspect-ratio: 1; }
  .pd-info { padding: 32px 20px 48px; }
  .back { margin-bottom: 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 64px 0; }
  .next-card { grid-template-columns: 120px 1fr; gap: 16px; }
  .next-card h3 { font-size: 1.2rem; }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .panel-actions .btn { flex: 1; }
  .stack-item { padding: 0 12px; margin-bottom: 12px; }
}
