/* =========================================================
   KRAKEN FILM — Site styles (draft v0.1)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-on-dark);
  background: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

/* ---------- Surfaces ---------- */
.dark { background: var(--obsidian); color: var(--ink-on-dark); position: relative; isolation: isolate; }
.dark::before { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.graphite { background: linear-gradient(180deg, var(--graphite-2), #141716); color: var(--ink-on-dark); }
.light {
  background:
    radial-gradient(120% 80% at 10% 0%, #FBFAF6 0%, rgba(251,250,246,0) 55%),
    linear-gradient(180deg, var(--bone) 0%, var(--bone-2) 100%);
  color: var(--ink-on-light);
}

/* ---------- Typography ---------- */
.label {
  flex-wrap: wrap; row-gap: .4rem;
  font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--ink-on-dark-2); margin: 0 0 var(--s-3);
  display: flex; align-items: center; gap: .9rem;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--lime); flex: none; }
.label i { font-style: normal; color: var(--lime); }
.light .label { color: var(--ink-on-light-2); }
.light .label::before { background: var(--ink-on-light); }

.display, .h2, .h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
.display { font-size: var(--fs-display); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; max-width: 18ch; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; }
.display em, .h2 em { font-style: italic; color: var(--lime); }
.light .h2 em { color: var(--ink-on-light); }
.light .h2 em { background: linear-gradient(transparent 72%, rgba(198,245,35,.55) 72%, rgba(198,245,35,.55) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-on-dark-2); max-width: 46ch; margin: var(--s-3) 0 0; }
.muted { color: var(--ink-on-dark-2); }
.light .muted, .light .lead { color: var(--ink-on-light-2); }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.small { font-size: .72rem; }
.num { font-family: var(--font-mono); font-size: .78rem; color: var(--lime); letter-spacing: .06em; }
.light .num { color: var(--ink-on-light-3); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 52px; padding: 0 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: .85rem; }
.btn-lime { background: var(--lime); color: var(--obsidian); box-shadow: 0 10px 30px -12px rgba(198,245,35,.55); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(198,245,35,.7); }
.btn-ghost { border-color: var(--line-dark-2); color: var(--ink-on-dark); background: rgba(242,240,233,.03); }
.btn-ghost:hover { border-color: var(--lime-line); background: rgba(198,245,35,.06); }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: var(--s-4); }
.btn-row.center { justify-content: center; }
.center-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: var(--s-5); }
.link { display: inline-flex; gap: .45rem; font-weight: 600; font-size: .9rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; width: fit-content; }
.link span { transition: transform var(--t-fast) var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), backdrop-filter var(--t-med); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(12,14,13,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-word { font-weight: 600; font-size: .8rem; letter-spacing: .34em; }
.main-nav { display: flex; gap: 2rem; font-size: .9rem; color: var(--ink-on-dark-2); }
.main-nav a { position: relative; padding: .4rem 0; transition: color var(--t-fast); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.main-nav a:hover { color: var(--ink-on-dark); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.lang { display: flex; gap: .35rem; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-on-dark-3); }
.lang a[aria-current="true"] { color: var(--ink-on-dark); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark-2); background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink-on-dark); }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 23px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 45%, rgba(198,245,35,.10), transparent 70%),
    radial-gradient(60% 60% at 10% 100%, rgba(41,45,43,.9), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hero-copy .lead { max-width: 40ch; }
.spec-row { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.spec-row li { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-on-dark-2); border: 1px solid var(--line-dark-2); border-radius: var(--r-pill); padding: .45rem .9rem; }
.spec-row li + li::before { content: none; }

.hero-film { margin: 0; justify-self: end; width: min(100%, 400px); }
.film-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-xl); overflow: hidden; background: var(--carbon);
  box-shadow: var(--depth-dark-2), 0 0 0 1px var(--line-dark-2), 0 0 120px -40px rgba(198,245,35,.35); }
.film { width: 100%; height: 100%; object-fit: cover; }
.hud { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: rgba(242,240,233,.8); }
.hud-rec { display: inline-flex; align-items: center; gap: .45rem; }
.hud-rec b { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s ease-in-out infinite; }
.corner { position: absolute; width: 18px; height: 18px; border: 1.5px solid rgba(242,240,233,.55); }
.corner.tl { top: 44px; left: 18px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 44px; right: 18px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.corner.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.film-cap { margin-top: 1rem; font-size: .8rem; color: var(--ink-on-dark-3); display: flex; gap: .8rem; }
.film-cap .mono { color: var(--lime); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; border: 1px solid var(--line-dark-2); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; background: var(--lime); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: var(--s-6); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Services (light) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.service-card { background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F4 100%); border-radius: var(--r-lg); box-shadow: var(--depth-light-1); border: 1px solid var(--line-light); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--depth-light-2); }
.service-media { position: relative; aspect-ratio: 4 / 5; background: var(--obsidian); overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 6px); }
.service-media img, .service-media video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.service-card:hover .service-media img, .service-card:hover .service-media video { transform: scale(1.04); }
.media-tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); background: rgba(12,14,13,.62); backdrop-filter: blur(6px); padding: .35rem .6rem; border-radius: var(--r-pill); border: 1px solid var(--line-dark-2); }
.service-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.service-body p { margin: 0; color: var(--ink-on-light-2); font-size: .93rem; }
.service-body .link { margin-top: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .72rem; font-weight: 600; padding: .3rem .65rem; border-radius: var(--r-pill); background: rgba(12,14,13,.05); border: 1px solid var(--line-light); color: var(--ink-on-light-2); }

/* placeholders */
.placeholder, .is-placeholder .work-media { background:
    repeating-linear-gradient(135deg, rgba(242,240,233,.035) 0 12px, transparent 12px 24px), var(--graphite-2); }
.ph-inner { position: absolute; inset: 14px; border: 1px dashed rgba(242,240,233,.22); border-radius: 12px; display: grid; place-content: center; text-align: center; gap: .6rem; color: var(--ink-on-dark-2); padding: 1rem; }
.ph-inner .mono { color: var(--lime); }
.ph-inner p { margin: 0; font-size: .85rem; line-height: 1.5; }

/* ---------- Work (dark) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-btn { border: 1px solid var(--line-dark-2); background: transparent; border-radius: var(--r-pill); padding: .55rem 1rem; font-size: .85rem; color: var(--ink-on-dark-2); transition: all var(--t-fast) var(--ease); }
.chip-btn:hover { color: var(--ink-on-dark); border-color: var(--lime-line); }
.chip-btn.is-active { background: var(--bone); color: var(--obsidian); border-color: var(--bone); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.work-card { display: block; border-radius: var(--r-lg); background: var(--glass-dark); border: 1px solid var(--line-dark); padding: 8px; box-shadow: var(--depth-dark-1); transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.work-card:hover { transform: translateY(-6px); border-color: var(--lime-line); }
.work-card.is-hidden { display: none; }
.work-media { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--carbon); }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.work-card:hover .work-media img, .work-card:hover .work-media video { transform: scale(1.04); }
.work-meta { padding: 1.1rem .8rem .7rem; }
.work-meta .mono { color: var(--lime); font-size: .68rem; }
.work-meta h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin: .35rem 0 .2rem; }
.work-meta p { margin: 0; color: var(--ink-on-dark-3); font-size: .85rem; }

/* ---------- Doctors (graphite) ---------- */
.doctor-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.doctor-card { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; align-items: center; gap: 1rem 1.2rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--glass-dark); border: 1px solid var(--line-dark); box-shadow: var(--depth-dark-1); }
.doctor-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.doctor-card p { margin: .15rem 0 0; font-size: .88rem; }
.doctor-card .link { grid-column: 1 / -1; color: var(--ink-on-dark-2); }
.doc-photo { width: 72px; height: 72px; border-radius: 50%; border: 1px dashed rgba(242,240,233,.3); background: radial-gradient(circle at 50% 38%, rgba(242,240,233,.14) 0 18%, transparent 19%), radial-gradient(circle at 50% 100%, rgba(242,240,233,.1) 0 40%, transparent 41%), var(--graphite); }
.quote { margin: var(--s-6) 0 0; padding: 0 0 0 var(--s-4); border-left: 2px solid var(--lime); max-width: 52rem; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.3; margin: 0 0 1rem; color: var(--ink-on-dark); }
.quote .mono { color: var(--ink-on-dark-3); }

/* ---------- Specialties (light) ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light-2); }
.spec-list li { border-bottom: 1px solid var(--line-light-2); }
.spec-list a { display: grid; grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) 32px; align-items: center; gap: 1.5rem; padding: 2rem .5rem; transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease); border-radius: 14px; }
.spec-list a:hover { background: rgba(255,255,255,.7); box-shadow: var(--depth-light-1); padding-left: 1.25rem; padding-right: 1.25rem; }
.spec-name { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.1; }
.spec-line { color: var(--ink-on-light-2); font-size: .95rem; }
.spec-quote { font-family: var(--font-display); font-style: italic; color: var(--ink-on-light-3); font-size: 1.05rem; }
.spec-list .arrow { font-size: 1.3rem; transition: transform var(--t-fast) var(--ease); }
.spec-list a:hover .arrow { transform: translateX(6px); }

/* ---------- Process (dark) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.process::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--lime-line), var(--line-dark-2) 60%, var(--line-dark)); }
.process li { position: relative; padding: 2.5rem 1.25rem 0 0; }
.process li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--obsidian); border: 1.5px solid var(--lime); }
.process li:last-child::before { background: var(--lime); box-shadow: 0 0 0 6px rgba(198,245,35,.15); }
.process h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: .5rem 0 .5rem; }
.process p { margin: 0; color: var(--ink-on-dark-2); font-size: .9rem; }

/* ---------- Why (light) ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-6) clamp(2rem, 6vw, 7rem); align-items: start; }
.why-grid .h2 em { background: none; padding: 0; }
.why-grid .h2 { max-width: 22ch; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.3rem); }
.why-points { display: grid; gap: 1.6rem; padding-top: 3.2rem; }
.why-point { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; }
.why-point p { margin: 0; color: var(--ink-on-light-2); }
.why-point strong { color: var(--ink-on-light); font-weight: 700; }
.funnel { grid-column: 1 / -1; list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; background: rgba(255,255,255,.55); border: 1px solid var(--line-light); border-radius: var(--r-lg); box-shadow: var(--depth-light-1); }
.funnel li { position: relative; padding: 1.2rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line-light); font-weight: 600; font-size: .95rem; text-align: center; box-shadow: 0 1px 2px rgba(12,14,13,.05); }
.funnel li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); z-index: 2; width: 16px; text-align: center; color: var(--ink-on-light-3); font-weight: 400; }
.funnel li.is-key { background: var(--obsidian); color: var(--bone); border-color: var(--obsidian); }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 50% 40%, rgba(198,245,35,.12), transparent 70%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-emblem { width: 150px; height: auto; margin-bottom: var(--s-4); filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.cta .h2 { max-width: 20ch; margin: 0 auto; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { padding: var(--s-7) 0 var(--s-4); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid p { margin: 0; font-size: .9rem; line-height: 1.8; }
.footer-grid a:hover { color: var(--lime); }
.footer-sign { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: var(--s-7); color: var(--ink-on-dark-3); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .process::before { display: none; }
  .spec-list a { grid-template-columns: 48px 1fr 32px; }
  .spec-line, .spec-quote { grid-column: 2; }
  .spec-list .arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 860px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-film { justify-self: center; width: min(100%, 340px); }
  .work-grid, .doctor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-points { padding-top: 0; }
  .funnel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .funnel li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -17px; transform: translateX(50%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .lang { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .service-grid, .work-grid, .doctor-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .btn { height: 48px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- Trust strip (marquee) ---------- */
.trust { padding: 2.2rem 0 2.4rem; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; background: linear-gradient(180deg, #0F1211, var(--obsidian)); }
.trust-label { text-align: center; color: var(--ink-on-dark-3); margin: 0 0 1.3rem; font-size: .68rem; letter-spacing: .24em; }
.marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust .marquee { width: 100%; }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; align-items: center; gap: 0; animation: marquee 48s linear infinite; }
.marquee-track li { font-family: var(--font-display); font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem); white-space: nowrap; color: var(--ink-on-dark); padding: 0 2.2rem; position: relative; }
.marquee-track li::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); transform: translateY(-50%); opacity: .8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Reference credits list ---------- */
.ref-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.25rem; }
.ref-group { align-self: start; border-radius: var(--r-lg); background: var(--glass-dark); border: 1px solid var(--line-dark); box-shadow: var(--depth-dark-1); padding: 1.6rem 1.6rem .6rem; }
.ref-head { display: flex; justify-content: space-between; color: var(--ink-on-dark-3); margin: 0 0 .6rem; }
.ref-head span { color: var(--lime); }
.ref-list { list-style: none; margin: 0; padding: 0; }
.ref-list li + li { border-top: 1px solid var(--line-dark); }
.ref-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: baseline; gap: 1rem; padding: 1.15rem 0; transition: padding var(--t-med) var(--ease), color var(--t-fast); }
.ref-list a:hover { padding-left: .5rem; }
.ref-name { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); line-height: 1.2; }
.ref-meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-on-dark-3); text-align: right; }
.ref-go { color: var(--ink-on-dark-3); transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
.ref-list a:hover .ref-go { transform: translateX(4px); color: var(--lime); }
.graphite .section-head .lead { max-width: 52ch; }

@media (max-width: 860px) {
  .ref-grid { grid-template-columns: minmax(0, 1fr); }
  .ref-list a { grid-template-columns: minmax(0, 1fr) 24px; }
  .ref-meta { grid-column: 1; text-align: left; }
  .ref-go { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Reference photo cards ---------- */
.ref-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ref-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--carbon); border: 1px solid var(--line-dark); box-shadow: var(--depth-dark-1); isolation: isolate; transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.ref-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) contrast(1.04) brightness(.92); transition: transform var(--t-slow) var(--ease), filter var(--t-slow) var(--ease); z-index: -2; }
.ref-card.is-clinic img { object-position: 50% 45%; }
.ref-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,14,13,0) 42%, rgba(12,14,13,.55) 66%, rgba(12,14,13,.96) 100%); }
.ref-card:hover { transform: translateY(-6px); border-color: var(--lime-line); box-shadow: var(--depth-dark-2); }
.ref-card:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.04) brightness(1); }
.ref-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.ref-info .ref-meta { text-align: left; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.ref-info h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1rem + .45vw, 1.45rem); line-height: 1.18; color: var(--bone); }
.ref-info .ref-go { margin-top: .4rem; font-size: .8rem; font-weight: 600; color: var(--ink-on-dark-2); display: inline-flex; gap: .4rem; }
.ref-info .ref-go span { transition: transform var(--t-fast) var(--ease); }
.ref-card:hover .ref-go { color: var(--bone); }
.ref-card:hover .ref-go span { transform: translateX(4px); }
.ref-badge { position: absolute; top: 14px; left: 14px; font-size: .62rem; color: var(--bone); background: rgba(12,14,13,.6); backdrop-filter: blur(6px); border: 1px solid var(--line-dark-2); border-radius: var(--r-pill); padding: .3rem .6rem; }
@media (max-width: 1100px) { .ref-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ref-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } .ref-card { aspect-ratio: 2 / 3.3; } .ref-card::after { background: linear-gradient(180deg, rgba(12,14,13,0) 50%, rgba(12,14,13,.7) 70%, rgba(12,14,13,.97) 100%); } .ref-info { padding: .9rem; } .ref-info .ref-go { display: none; } .ref-info .ref-meta { font-size: .58rem; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: var(--obsidian); background: var(--lime); box-shadow: 0 14px 34px -12px rgba(198,245,35,.65), 0 0 0 1px rgba(12,14,13,.25);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -12px rgba(198,245,35,.8); }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

/* ---------- Real work reels ---------- */
.work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-media.is-reel { aspect-ratio: 9 / 16; }
.play-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; color: var(--obsidian); background: var(--lime); border-radius: var(--r-pill); padding: .4rem .7rem .4rem .55rem; box-shadow: 0 8px 20px -8px rgba(198,245,35,.6); transition: transform var(--t-fast) var(--ease); }
.work-card:hover .play-badge { transform: scale(1.06); }
.work-meta h3 { font-size: 1.25rem; line-height: 1.2; }
.work-meta p { font-size: .8rem; }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } .work-meta { padding: .8rem .4rem .4rem; } .work-meta h3 { font-size: 1.05rem; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Lightbox player ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(7,9,8,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb-frame { position: relative; margin: 0; height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }
.lb-video { width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line-dark-2); }
.lb-cap { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; font-size: .85rem; color: var(--ink-on-dark-2); }
.lb-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark-2); background: var(--obsidian); color: var(--bone); font-size: 1.4rem; line-height: 1; }
.lb-close:hover { border-color: var(--lime-line); color: var(--lime); }
@media (max-width: 560px) { .lb-frame { height: auto; width: 100%; } .lb-close { top: 8px; right: 8px; } .lb-cap { top: calc(100% + 8px); } }

/* ---------- Behind the scenes ---------- */
.bts-strip { margin-top: clamp(3rem, 6vw, 5rem); }
.bts-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 1.4rem; }
.bts-head .label { margin: 0; }
.bts-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bts-tile { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%; background: var(--carbon); box-shadow: var(--depth-dark-1, 0 20px 40px -20px rgba(0,0,0,.6)); }
.bts-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.bts-tile:hover video { transform: scale(1.04); }
.bts-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,9,8,0) 55%, rgba(7,9,8,.85) 100%); }
.bts-tile figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--bone); display: grid; gap: .25rem; }
.bts-tile figcaption .mono { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 500; }
.page-hero { min-height: 0; padding: 168px 0 72px; }
.page-hero .display { max-width: 16ch; text-wrap: balance; }
.page-hero .lead { max-width: 58ch; margin-top: 1.6rem; }
.page-hero .spec-row { margin-top: 2rem; }
.bts-page { padding-top: 0; }
.bts-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.main-nav a[aria-current="page"] { color: var(--lime); }
@media (max-width: 1100px) {
  .bts-row { grid-template-columns: repeat(6, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .bts-row::-webkit-scrollbar { display: none; }
  .bts-row .bts-tile { scroll-snap-align: start; }
  .bts-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bts-row { grid-template-columns: repeat(6, 62%); }
  .bts-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-hero { padding: 128px 0 48px; }
  .bts-tile figcaption { left: 10px; right: 10px; bottom: 9px; font-size: .74rem; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 48; background: var(--carbon); padding: 104px max(var(--gutter), env(safe-area-inset-right, 0px)) 40px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--bone); animation: mm-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.mobile-menu nav a[aria-current="page"] { color: var(--lime); }
.mm-num { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--ink-on-dark-3); }
.mm-cta { align-self: flex-start; }
@keyframes mm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }
.menu-toggle span { transition: transform .35s var(--ease), top .35s var(--ease); }
@media (min-width: 1101px) { .mobile-menu { display: none !important; } }
@media (max-width: 1360px) { .main-nav { gap: 1.4rem; font-size: .86rem; } }

/* ---------- CGI showroom ---------- */
.showroom { position: fixed; inset: 0; z-index: 150; color: var(--bone); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto auto; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.showroom[hidden] { display: none; }
.sr-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 50% 46%, rgba(198,245,35,.10), transparent 70%), radial-gradient(120% 80% at 50% 120%, #151915 0%, #070908 60%), #070908; }
.sr-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(242,240,233,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,233,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 60%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 60%, #000, transparent); }
.sr-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: max(18px, env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); position: relative; z-index: 2; }
.sr-brand, .sr-count { margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-on-dark-2); display: flex; align-items: center; gap: .6rem; }
.sr-count b { color: var(--lime); font-weight: 500; }
.sr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: sr-pulse 2s ease-in-out infinite; }
@keyframes sr-pulse { 50% { opacity: .35; } }
.sr-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark-2); background: rgba(12,14,13,.6); color: var(--bone); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sr-close:hover { border-color: var(--lime); color: var(--lime); }
.sr-stage { position: relative; perspective: 1900px; perspective-origin: 50% 40%; cursor: grab; touch-action: none; min-height: 0; }
.sr-stage:active { cursor: grabbing; }
.sr-ring { position: absolute; left: 50%; top: 47%; width: 0; height: 0; transform-style: preserve-3d; }
.sr-card { position: absolute; left: 0; top: 0; height: min(58vh, 640px); aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(242,240,233,.08), 0 40px 80px -30px rgba(0,0,0,.9); transition: box-shadow .5s var(--ease);
  -webkit-box-reflect: below 16px linear-gradient(transparent 72%, rgba(255,255,255,.16)); }
.sr-card img, .sr-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; pointer-events: none; }
.sr-card.is-active { box-shadow: 0 0 0 1px var(--lime), 0 0 60px -10px rgba(198,245,35,.45), 0 50px 90px -30px rgba(0,0,0,.95); }
.sr-no { position: absolute; left: 12px; top: 10px; z-index: 2; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: var(--bone); background: rgba(7,9,8,.55); padding: .25rem .5rem; border-radius: 999px; }
.sr-card.is-active .sr-no { color: var(--obsidian); background: var(--lime); }
.sr-floor { position: absolute; left: 0; right: 0; top: 74%; height: 30%; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 50% 0%, rgba(198,245,35,.08), transparent 70%); }
.sr-bottom { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 1rem; width: min(720px, calc(100% - 2 * var(--gutter))); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.sr-info { min-width: 0; }
.sr-tag { margin: 0 0 .35rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.sr-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.1; text-wrap: balance; }
.sr-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark-2); background: rgba(12,14,13,.6); color: var(--bone); font-size: 1.1rem; cursor: pointer; transition: border-color .3s, color .3s; }
.sr-nav:hover { border-color: var(--lime); color: var(--lime); }
.sr-actions { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: .9rem; position: relative; z-index: 2; }
.sr-sound { font: 600 .8rem var(--font-sans); color: var(--obsidian); background: var(--lime); border: 0; border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer; }
.sr-sound[aria-pressed="true"] { background: transparent; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.sr-hint { font-size: .78rem; color: var(--ink-on-dark-3); }
.sr-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 1rem max(var(--gutter), env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); scrollbar-width: none; position: relative; z-index: 2; justify-content: safe center; }
.sr-thumbs::-webkit-scrollbar { display: none; }
.sr-thumb { flex: 0 0 auto; width: 44px; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #000; opacity: .45; cursor: pointer; transition: opacity .3s, transform .3s var(--ease), box-shadow .3s; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-thumb:hover { opacity: .85; }
.sr-thumb.is-active { opacity: 1; transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--lime); }
@media (max-width: 640px) {
  .sr-card { height: min(50vh, 520px); border-radius: 14px; }
  .sr-stage { perspective: 1100px; }
  .sr-hint { display: none; }
  .sr-bottom { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .6rem; }
  .sr-nav { width: 44px; height: 44px; }
  .sr-thumb { width: 36px; }
}
@media (max-height: 640px) { .sr-card { height: 46vh; } .sr-thumbs { display: none; } }

/* ---------- New services duo (home) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.duo-card { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--obsidian); color: var(--ink-on-dark); box-shadow: var(--depth-light-2); isolation: isolate; }
.duo-media { position: relative; overflow: hidden; background: #000; }
.duo-media video, .duo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.duo-card:hover .duo-media video { transform: scale(1.04); }
.duo-body { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.4rem); min-width: 0; }
.duo-body .label { color: var(--lime); }
.duo-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.08; margin: 0; text-wrap: balance; }
.duo-body h3 em { color: var(--lime); }
.duo-body p { margin: 0; color: var(--ink-on-dark-2); }
.duo-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.duo-links .link { color: var(--bone); }
.badge-new { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: var(--lime); color: var(--obsidian); padding: .3rem .6rem; border-radius: 999px; }
.service-media[data-showroom] { cursor: pointer; }
.service-media .sr-badge { position: absolute; right: 12px; top: 12px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--obsidian); background: var(--lime); padding: .35rem .6rem; border-radius: 999px; }
.link-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
@media (max-width: 1100px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .duo-card { grid-template-columns: minmax(0, 1fr); } .duo-media { aspect-ratio: 4 / 5; } }

/* ---------- Product pages (CGI, AI Klinik) ---------- */
.prod-hero { min-height: 0; padding: 150px 0 80px; }
.prod-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.prod-hero .display { max-width: 15ch; text-wrap: balance; }
.prod-hero .lead { max-width: 54ch; margin-top: 1.6rem; }
.prod-hero .hero-actions { margin-top: 2rem; }
.fan { position: relative; height: min(70vh, 640px); }
.fan figure { position: absolute; top: 50%; left: 50%; margin: 0; height: 82%; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-dark-2), 0 50px 90px -30px rgba(0,0,0,.9); }
.fan figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan figure:nth-child(1) { transform: translate(-112%, -46%) rotate(-7deg) scale(.86); opacity: .8; }
.fan figure:nth-child(2) { transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 0 0 1px var(--lime-line, rgba(198,245,35,.4)), 0 0 80px -20px rgba(198,245,35,.35), 0 60px 100px -30px rgba(0,0,0,.95); }
.fan figure:nth-child(3) { transform: translate(12%, -46%) rotate(7deg) scale(.86); opacity: .8; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.benefit { padding: 1.8rem; border-radius: var(--r-lg); background: #FBFAF6; box-shadow: var(--depth-light-1); display: grid; gap: .7rem; align-content: start; }
.dark .benefit { background: rgba(242,240,233,.03); box-shadow: inset 0 0 0 1px var(--line-dark); }
.benefit h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.benefit p { margin: 0; color: var(--ink-on-light-2); }
.dark .benefit p { color: var(--ink-on-dark-2); }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 3rem; border-top: 1px solid var(--line-light, rgba(12,14,13,.12)); }
.use { padding: 1.6rem 1.6rem 1.8rem 0; border-bottom: 1px solid var(--line-light, rgba(12,14,13,.12)); display: grid; gap: .5rem; align-content: start; }
.dark .uses, .dark .use { border-color: var(--line-dark); }
.use h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.use p { margin: 0; color: var(--ink-on-light-2); font-size: .95rem; }
.dark .use p { color: var(--ink-on-dark-2); }
.cgi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 3rem; }
.cgi-tile { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; padding: 0; border: 0; cursor: pointer; display: block; }
.cgi-tile img, .cgi-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cgi-tile:hover img, .cgi-tile:hover video { transform: scale(1.05); }
.cgi-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,8,.85)); }
.cgi-tile span { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; text-align: left; font-size: .8rem; font-weight: 600; color: var(--bone); line-height: 1.25; }
.cgi-tile.is-cta { background: var(--lime); color: var(--obsidian); display: grid; place-content: center; text-align: center; gap: .6rem; padding: 1rem; }
.cgi-tile.is-cta::after { display: none; }
.cgi-tile.is-cta strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.cgi-tile.is-cta em { font-style: normal; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.steps4 { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: st; }
.steps4 li { border-top: 1px solid var(--line-dark-2); padding-top: 1.2rem; display: grid; gap: .5rem; align-content: start; }
.light .steps4 li { border-color: var(--line-light, rgba(12,14,13,.14)); }
.steps4 .num { color: var(--lime); }
.light .steps4 .num { color: var(--ink-on-light-3); }
.steps4 h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.steps4 p { margin: 0; color: var(--ink-on-dark-2); }
.light .steps4 p { color: var(--ink-on-light-2); }
.formats { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.formats li { list-style: none; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line-dark-2); color: var(--ink-on-dark-2); }
.formats { padding: 0; }
/* AI clinic showcase */
.ai-show { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; margin-top: 3rem; }
.ai-frame { margin: 0; display: grid; gap: .9rem; }
.ai-frame .screen { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-dark-2), 0 50px 100px -30px rgba(0,0,0,.9); }
.ai-frame.is-v .screen { aspect-ratio: 9 / 16; border-radius: 30px; box-shadow: 0 0 0 6px #141715, 0 0 0 7px var(--line-dark-2), 0 50px 100px -30px rgba(0,0,0,.9); }
.ai-frame.is-h .screen { aspect-ratio: 16 / 9; }
.ai-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-frame figcaption { display: grid; gap: .2rem; font-size: .9rem; color: var(--ink-on-dark-2); }
.ai-frame figcaption strong { color: var(--bone); font-weight: 600; }
.ai-frame figcaption .mono { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.vsound { position: absolute; right: 12px; bottom: 12px; z-index: 2; font: 600 .74rem var(--font-sans); color: var(--obsidian); background: var(--lime); border: 0; border-radius: 999px; padding: .5rem .9rem; cursor: pointer; }
.vsound[aria-pressed="true"] { background: rgba(7,9,8,.7); color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.compare { margin-top: 3rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--depth-light-1); background: #fff; }
.compare-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid rgba(12,14,13,.08); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > * { padding: 1rem 1.4rem; margin: 0; font-size: .95rem; color: var(--ink-on-light-2); }
.compare-row > :first-child { font-weight: 700; color: var(--ink-on-light); }
.compare-row > :last-child { color: var(--ink-on-light); background: rgba(198,245,35,.16); }
.compare-head > * { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-on-light-3); }
.compare-head > :last-child { color: var(--ink-on-light); background: var(--lime); }
@media (max-width: 1100px) {
  .prod-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .fan { height: 520px; }
  .benefits, .uses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cgi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .ai-show { grid-template-columns: minmax(0, 1fr); }
  .ai-frame.is-v { width: min(360px, 100%); }
}
@media (max-width: 640px) {
  .prod-hero { padding: 120px 0 56px; }
  .fan { height: 420px; }
  .benefits, .uses, .steps4 { grid-template-columns: minmax(0, 1fr); }
  .use { padding-right: 0; }
  .cgi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cgi-tile span { font-size: .68rem; left: 8px; right: 8px; bottom: 7px; }
  .cgi-tile.is-cta strong { font-size: 1.05rem; }
  .compare-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row > * { padding: .8rem .7rem; font-size: .8rem; }
}

.ai-stack { position: relative; height: min(68vh, 620px); }
.ai-stack-h { position: absolute; right: 0; top: 10%; width: 82%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-dark-2), 0 40px 80px -30px rgba(0,0,0,.9); filter: saturate(.85) brightness(.8); }
.ai-stack-h img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-stack-v { position: absolute; left: 6%; bottom: 0; height: 78%; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px #141715, 0 0 0 7px var(--lime-line), 0 0 90px -20px rgba(198,245,35,.35), 0 60px 100px -30px rgba(0,0,0,.95); }
.ai-stack-v video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-chip { position: absolute; left: 12px; top: 12px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: rgba(7,9,8,.65); color: var(--bone); }
.ai-chip.is-lime { background: var(--lime); color: var(--obsidian); }
@media (max-width: 1100px) { .ai-stack { height: 480px; } }
@media (max-width: 640px) { .ai-stack { height: 400px; } .ai-stack-h { width: 92%; top: 4%; } .ai-stack-v { left: 2%; height: 74%; } }
.prod-hero { overflow: hidden; }
.menu-open .wa-float, .sr-open .wa-float { display: none; }
.sr-groups { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: .9rem max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); justify-content: safe center; position: relative; z-index: 2; }
.sr-groups::-webkit-scrollbar { display: none; }
.sr-groups button { flex: 0 0 auto; font: 500 .74rem var(--font-sans); color: var(--ink-on-dark-2); background: rgba(12,14,13,.6); border: 1px solid var(--line-dark-2); border-radius: 999px; padding: .45rem .8rem; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.sr-groups button:hover { color: var(--bone); border-color: var(--ink-on-dark-3); }
.sr-groups button.is-active { color: var(--obsidian); background: var(--lime); border-color: var(--lime); }
.sr-groups + .sr-thumbs { padding-top: .7rem; }
@media (max-height: 760px) { .sr-groups ~ .sr-thumbs { display: none; } }

/* ---------- Legal pages + 404 ---------- */
.legal-hero { padding-bottom: 56px; }
.legal-hero .wrap { display: block; }
.legal-hero .display { max-width: 18ch; font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem); }
.legal-wrap { max-width: 820px; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 2.4rem 0 .8rem; color: var(--ink-on-light); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-on-light-2); line-height: 1.7; max-width: 68ch; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal a { color: var(--ink-on-light); border-bottom: 1px solid currentColor; }
.legal strong { color: var(--ink-on-light); }
.legal-date { margin-top: 2.4rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-on-light-3) !important; }
.nf { min-height: 80vh; display: flex; align-items: center; }
