/* ============================================
   HTS Editorial Warm — Components
   Extracted from: outputs/website-redesign/option-c/style.css
                   + shared/nav.css, shared/cookie.css
   Requires: tokens.css loaded first
   Class names match the Option C mockup HTML, so the mockup
   renders from these two files alone.
   ============================================ */

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--text-base); line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
input, select, textarea, button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section { position: relative; }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--weight-regular); margin: 0; letter-spacing: var(--tracking-heading); }

/* ---------- 2. Layout ---------- */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: start; }          /* heading left, content right */
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; } /* media + text 50/50 */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: stretch; }

/* Section shells */
.p-sec { padding: var(--section-y-sm) 0; }
.p-sec.alt, .band-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--deep); color: var(--on-dark); padding: var(--section-y) 0; }

/* ---------- 3. Type ---------- */
.h2 { font-size: var(--text-h2); line-height: var(--leading-display); font-weight: var(--weight-light); }
.h3 { font-size: var(--text-h3-lg); line-height: 1.15; }
.lead { font-size: var(--text-lead); color: var(--ink-2); max-width: 600px; margin: 22px 0 0; }
.muted { color: var(--muted); }
.section-name { font-size: var(--text-ui); font-weight: var(--weight-semibold); color: var(--teal); margin: 0 0 16px; } /* sentence-case label above h2 */
.maker { font-size: var(--text-ui); color: var(--muted); margin: 0; }   /* manufacturer line above product name */
.how-text { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.45; margin: 0; } /* serif paragraph */
.fine { font-size: var(--text-fine); color: var(--muted); margin-top: 18px; }
.crumbs { font-size: var(--text-sm); color: var(--muted); margin: 0 0 30px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--teal); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--radius-sm); border: 0;
  font: inherit; font-size: var(--text-ui); font-weight: var(--weight-semibold);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur), color var(--dur);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--teal); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* Underlined text link with sliding arrow — the secondary CTA everywhere */
.arrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--text-md); font-weight: var(--weight-semibold); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.arrow::after { content: '→'; transition: transform var(--dur) var(--ease-out); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Motion: scroll reveal ---------- */
/* JS adds .is-in when the element enters the viewport; data-delay="80|100|120|160|240" staggers */
[data-reveal] { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 6. Badges & notices ---------- */
.ph { position: absolute; z-index: 3; top: 16px; right: 16px; font-size: 14px; color: #fff; background: var(--tag-on-media); padding: 4px 10px; border-radius: var(--radius-sm); } /* "stock placeholder" tag — remove in production */
.preview-tag { display: inline-block; font-size: var(--text-legal); padding: 4px 10px; border-radius: var(--radius-sm); border: 1px dashed var(--warn-line); color: var(--warn-fg); background: var(--warn-bg); margin-bottom: 16px; }
.preview-banner { background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-line); padding: 12px 16px; font-size: var(--text-ui); margin: 0 0 26px; }
.ph-badge { display: inline-block; margin-top: 26px; padding: 6px 12px; border: 1px dashed var(--warn-line); color: var(--warn-fg); background: var(--warn-bg); font-size: var(--text-fine); }

/* ---------- 7. Logo ---------- */
.logo { width: 172px; display: block; }
.logo img { width: 100%; height: auto; display: block; }

/* ---------- 8. Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.is-scrolled, .nav.solid { background: var(--paper-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); } /* links | centred logo | lang + CTA */
.nav-left { display: flex; gap: 26px; font-size: var(--text-ui); }
.nav-left a { text-decoration: none; }
.nav-left a:hover { color: var(--teal); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: var(--text-sm); }
.lang { display: flex; gap: 4px; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.lang button { font: inherit; border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px 6px; }
.lang button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.burger { display: none; font: inherit; font-size: var(--text-ui); font-weight: var(--weight-semibold); border: 1px solid var(--line-2); background: transparent; padding: 8px 14px; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); }

/* "Uređaji" dropdown with product photos */
.dd { position: relative; }
.dd-btn { font: inherit; font-size: var(--text-ui); color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.dd.is-open .dd-btn::after { transform: translateY(1px) rotate(225deg); }
.dd-panel {
  position: absolute; top: calc(100% + 18px); left: -24px; z-index: 60; width: 560px; padding: 18px;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-fast), transform .25s, visibility var(--dur-fast);
}
.dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-group + .dd-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.dd-title { margin: 0 0 6px 8px; font-size: var(--text-legal); color: var(--muted); }
.dd-preview { font-size: var(--text-legal); margin-left: 6px; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--warn-fg); }
.dd-item { display: flex; gap: 16px; align-items: center; padding: 10px 8px; border-radius: 2px; text-decoration: none; color: inherit; transition: background var(--dur-fast); }
.dd-item:hover, .dd-item:focus-visible { background: var(--paper-2); }
.dd-pic { position: relative; flex: none; width: 92px; height: 70px; overflow: hidden; } /* background = product imageBg */
.dd-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dd-txt { display: flex; flex-direction: column; gap: 2px; }
.dd-txt b { font-size: var(--text-md); font-weight: var(--weight-semibold); }
.dd-txt small { font-size: var(--text-fine); line-height: 1.45; color: var(--muted); }
.dd-all { display: inline-block; margin: 12px 0 0 8px; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--teal); text-decoration: none; }
.dd-all:hover { text-decoration: underline; }

/* Mobile menu (full-screen sheet) */
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 110px 24px 40px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 32px; font-weight: var(--weight-light); padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-menu .btn { margin-top: 26px; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.m-sub { display: flex; flex-direction: column; padding: 4px 0 10px 18px; }
.mobile-menu .m-sub a { font-size: 19px; padding: 7px 0; border: 0; opacity: .8; }

/* Sticky bottom CTA bar on mobile */
.m-cta { display: none; }

/* ---------- 9. Media ---------- */
/* Every photo/video sits in a square-cornered frame; videos are muted, looped, lazy */
.media-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.media-frame > img, .media-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { aspect-ratio: 4 / 5; }
#kapci .media-frame.tall img { object-position: 50% 62%; } /* keep the handpiece on the eyelid in frame */
.media-frame.wide { aspect-ratio: 16 / 9; }
/* spot media bleeding to the left screen edge at the height of .split-bleed videos (1Need Pro acne-scar loop) */
.split-media.bleed { align-items: center; }
.split-media.bleed > .media-frame { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); aspect-ratio: auto; min-height: min(72svh, 680px); }
.band { position: relative; height: min(78vh, 720px); overflow: hidden; } /* full-bleed video band */
.band video, .band > img { width: 100%; height: 100%; object-fit: cover; }

/* Product cut-out on its brochure background (background = product imageBg) */
.p-shot { position: relative; overflow: hidden; min-height: 520px; }
.p-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.p-shot img.is-cutout { padding: 0 6%; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.p-shot img.is-cutout.is-full { padding: 4% 6%; -webkit-mask-image: none; mask-image: none; } /* whole device visible, no fade */
.how-img { position: relative; overflow: hidden; margin-top: 40px; aspect-ratio: 4 / 3; background: var(--paper-3); }
.how-img img { width: 100%; height: 100%; object-fit: cover; }

/* Full-bleed video with a sentence over it */
.night-band { position: relative; height: min(80vh, 720px); overflow: hidden; display: flex; align-items: flex-end; }
.night-band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.night-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--scrim-night); }
.night-band .wrap { position: relative; z-index: 2; padding: 0 0 64px; }
.night-band p { margin: 0; color: #fff; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-quote); line-height: 1.15; max-width: 880px; }

/* ---------- 10. Home: hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; } /* text left, video bleeds to the right edge */
.hero-text { padding: 160px clamp(24px, 4vw, 64px) 64px max(24px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-label { font-size: var(--text-ui); color: var(--ink-2); margin: 0 0 26px; }
.hero h1 { font-size: var(--text-h1); line-height: var(--leading-tight); font-weight: var(--weight-light); letter-spacing: var(--tracking-display); }
.hero .lead { margin-top: 28px; }
.hero-media { position: relative; overflow: hidden; background: var(--paper-3); margin-top: var(--nav-h); min-height: 520px; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Full-width hero (home): video fills the screen, compact text bottom-left over a dark gradient */
.hero.hero-full { position: relative; display: flex; align-items: flex-end; color: var(--on-dark); }
.hero-full .hero-media { position: absolute; inset: 0; margin: 0; min-height: 0; }
.hero-full .hero-media::after { content: ''; position: absolute; inset: 0; background: var(--scrim-hero), linear-gradient(90deg, rgba(19, 32, 29, .55), rgba(19, 32, 29, 0) 60%); }
.hero-full .hero-text { position: relative; z-index: 2; justify-content: flex-end; padding-bottom: clamp(48px, 7vh, 80px); }
.hero-full .hero-text > * { max-width: 620px; }
.hero-full h1 { font-size: var(--text-h1-full); }
.hero-full .lead { margin-top: 20px; color: var(--on-dark-3); }
.hero-full .ctas { margin-top: 28px; }
/* Buttons on dark backgrounds (hero video, product "why invest" band) */
.hero-full .btn-ink, .invest .btn-ink { background: var(--paper); color: var(--ink); }
.hero-full .btn-ink:hover, .invest .btn-ink:hover { background: var(--teal); color: var(--paper); }
.hero-full .btn-line, .invest .btn-line { border-color: var(--on-dark); color: var(--on-dark); }
.hero-full .btn-line:hover, .invest .btn-line:hover { background: var(--paper); color: var(--ink); }

/* ---------- 11. Home: trust strip ---------- */
.trust { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.trust .wrap { padding: 34px 0; display: flex; gap: 18px 60px; align-items: baseline; flex-wrap: wrap; }
.trust p { margin: 0; color: var(--ink-2); max-width: 460px; font-size: var(--text-md); }
.makers { display: flex; gap: 18px 48px; flex-wrap: wrap; align-items: center; font-family: var(--serif); font-size: var(--text-h3); color: var(--teal); } /* manufacturer logos where we have them, else the name in serif */
.maker-mark { display: block; height: 34px; width: auto; }

/* ---------- 12. Home: device panels (expanding accordion) ---------- */
.devices { padding: 140px 0 130px; }
.dev-head { margin-bottom: 64px; max-width: 820px; }  /* heading with the subheading underneath */
.dev-head .lead { margin: 18px 0 0; }
.accordion { display: flex; gap: 14px; height: clamp(700px, calc(100vh - 110px), 860px); }
.acc { position: relative; flex: 1; overflow: hidden; background: var(--paper-3); transition: flex var(--dur-slow) var(--ease); cursor: pointer; }
.acc.is-open { flex: 2.3; }
.acc > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc::after { content: ''; position: absolute; inset: 0; background: var(--scrim-panel); }
.acc-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 40px); color: var(--on-dark); }
.acc .maker { color: inherit; opacity: .85; }
.acc h3 { font-size: clamp(36px, 3.6vw, 58px); line-height: 1.05; margin: 8px 0 0; font-weight: var(--weight-light); }
.acc-logo { display: block; height: clamp(40px, 3.6vw, 60px); width: auto; max-width: 100%; }
.acc .tag { font-size: 20px; margin: 8px 0 0; opacity: .92; line-height: 1.4; }
.acc-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .9s var(--ease), opacity .6s; }
.acc.is-open .acc-more { grid-template-rows: 1fr; opacity: 1; transition-delay: .2s; }
.acc-more > div { overflow: hidden; }
.acc-more p { font-size: var(--text-md); max-width: 460px; margin: 16px 0 22px; opacity: .92; }
.acc .arrow { color: var(--on-dark); }
/* Device photo panels: cut-out device in a fixed area above the text. The area doesn't change when the
   text opens, so the photo only follows the card's width (no shrink/grow on hover). */
.acc-device { background: var(--paper-2); --acc-text: 380px; }
.acc-device::after { display: none; }
.acc-device-img { position: absolute; top: 0; left: 0; right: 0; bottom: var(--acc-text); width: 100%; height: calc(100% - var(--acc-text)); object-fit: contain; padding: 22px clamp(16px, 2vw, 32px) 6px; }
.acc-device-img.is-tall { height: calc(100% - var(--acc-text) + 24px); padding-top: 14px; } /* tall, narrow devices (UltraClear) get a little more height */
.acc-device .acc-body { color: var(--ink); }
.acc-device .maker { color: var(--ink-2); opacity: 1; }
.acc-device .tag, .acc-device .acc-more p { color: var(--ink-2); opacity: 1; }
.acc-device .arrow { color: var(--ink); }
.acc-device[data-href] { cursor: pointer; } /* whole card opens the product page */

/* ---------- 13. Home: feature sections ---------- */
/* Hydrinity teaser: image + text */
.hy { padding: 0 0 var(--section-y); }
.hy-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hy-grid figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.hy-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.hy .arrow { margin-top: 30px; }

/* Partnership: sticky heading + photo left, rule list right */
.why { padding: var(--section-y) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); }
.why-sticky { position: sticky; top: 130px; align-self: start; }
.why-sticky figure { margin: 44px 0 0; aspect-ratio: 4 / 5; overflow: hidden; max-width: 380px; position: relative; }
.why-sticky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* AI band (dark) */
.ai { background: var(--deep); color: var(--on-dark); padding: var(--section-y) 0; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: center; }
.ai .section-name { color: var(--sky-2); }
.ai .lead { color: var(--on-dark-2); }
.ai .arrow { margin-top: 32px; color: var(--on-dark); }

/* Education: full-bleed video hero with text bottom-left */
.edu-hero { position: relative; min-height: 88svh; overflow: hidden; display: flex; align-items: flex-end; color: var(--on-dark); }
.edu-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edu-hero::after { content: ''; position: absolute; inset: 0; background: var(--scrim-hero); }
.edu-hero .wrap { position: relative; z-index: 2; padding-bottom: 70px; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.edu-hero .section-name { color: var(--sky); }
.edu-hero .lead { color: var(--on-dark-3); }
.edu-hero .arrow { color: var(--on-dark); }

/* ---------- 14. Rule lists (the core content pattern: no cards, hairlines between items) ---------- */
.why-list, .bullets, .grid2, .studies, .ai-points, .edu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.why-list li, .bullets li, .grid2 li, .studies li { border-bottom: 1px solid var(--line-2); }

.why-list li { padding: 36px 0; }                                 /* big serif h3 + paragraph */
.why-list h3 { font-size: var(--text-h3-lg); line-height: 1.15; margin: 0 0 10px; }
.why-list p { margin: 0; color: var(--ink-2); max-width: 560px; }

.bullets { margin-top: 32px; }
.bullets li { padding: 16px 0; color: var(--ink-2); }

.grid2 li { padding: 28px 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; } /* title | description */
.grid2 h3 { font-size: var(--text-h3); line-height: var(--leading-heading); }
.grid2 p { margin: 0; color: var(--ink-2); }

.studies li { padding: 20px 0; font-family: var(--serif); font-size: var(--text-serif-sm); line-height: 1.4; display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start; } /* serif citations */
.studies li::before { content: ''; width: 26px; height: 32px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32'%3E%3Cpath d='M1.5 1.5h15l8 8v21h-23z' fill='%23FBF9F5' stroke='%230A6E8E' stroke-width='1.5'/%3E%3Cpath d='M16.5 1.5v8h8' fill='none' stroke='%230A6E8E' stroke-width='1.5'/%3E%3Cpath d='M6 15h14M6 19.5h14M6 24h9' stroke='%230A6E8E' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain; }

.ai-points { margin-top: 32px; border-color: var(--on-dark-line); }   /* list on dark */
.ai-points li { padding: 16px 0; border-bottom: 1px solid var(--on-dark-line); }
.edu-list { margin-bottom: 26px; border-color: var(--on-dark-line-strong); } /* serif list over video */
.edu-list li { padding: 14px 0; border-bottom: 1px solid var(--on-dark-line-strong); font-family: var(--serif); font-size: var(--text-serif-md); }

/* FAQ accordion (native <details>) */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: var(--text-serif-md); font-weight: var(--weight-regular); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: var(--weight-light); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 680px; opacity: .8; }

/* ---------- 15. Product page ---------- */
.p-hero { padding: 150px 0 80px; }
.p-hero h1 { font-size: var(--text-h1-product); line-height: 1; font-weight: var(--weight-light); margin-top: 10px; }
.p-hero h1.sentence { font-size: var(--text-h1-sentence); line-height: var(--leading-display); }
.p-hero .tagline { font-family: var(--serif); font-size: var(--text-tagline); color: var(--teal); margin: 18px 0 0; line-height: var(--leading-quote); }
.p-hero .intro { color: var(--ink-2); margin: 24px 0 0; max-width: 580px; }
.p-hero .hero-points { margin: 22px 0 0; max-width: 580px; }
.p-hero .hero-points li { padding: 11px 0; }
.p-hero .hero-points li:first-child { border-top: 1px solid var(--line-2); }
.p-hero .hero-points b { color: var(--ink); font-weight: 600; }

/* Key facts row: big serif value + description, hairline-separated */
/* Product "why invest" band: right under the hero, dark, 3–4 big-picture reasons + enquiry */
.invest { background: var(--deep); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0; }
.invest-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.invest .lead { color: var(--on-dark-3); margin: 6px 0 0; max-width: 680px; font-size: var(--text-lead); line-height: 1.6; }
.invest-points { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; counter-reset: invest; }
.invest-points li { background: rgba(244, 240, 233, .06); border-top: 2px solid var(--cyan); padding: 28px clamp(22px, 2vw, 32px) 32px; }
.invest-points li::before { counter-increment: invest; content: counter(invest); display: block; font-family: var(--serif); font-weight: var(--weight-light); font-size: clamp(52px, 5vw, 72px); line-height: 1; color: var(--cyan); margin-bottom: 22px; } /* big 1, 2, 3 so the reasons read at a glance */
.invest-points h3 { font-family: var(--serif); font-weight: var(--weight-light); font-size: clamp(24px, 2vw, 28px); line-height: 1.2; margin: 0; color: var(--on-dark); }
.invest-points p { margin: 14px 0 0; color: var(--on-dark-2); font-size: 17px; line-height: 1.6; }
.invest .ctas { margin-top: clamp(44px, 5vw, 64px); }
.invest.joins-dark { border-bottom: 1px solid var(--on-dark-line); } /* dark band straight into another dark section */
/* Before/after carousel: both photos whole (never cropped), side by side across the section, details underneath */
.ba { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slider[data-autoheight] .slider-track { align-items: flex-start; transition: height .35s var(--ease); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.ba-img { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.ba-img span { order: -1; font-size: 15px; font-weight: var(--weight-semibold); color: var(--ink-2); }
.ba-img img { display: block; width: 100%; height: clamp(240px, 50vh, 520px); object-fit: contain; } /* same frame height for every case: the section never jumps */
.ba figcaption { margin-top: 24px; border-top: 2px solid var(--cyan); padding-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.ba figcaption b { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3); line-height: 1.2; }
.ba figcaption span { font-size: var(--text-md); color: var(--ink-2); }
.ba figcaption span:empty { display: none; }
.ba figcaption small { margin-left: auto; font-size: var(--text-sm); color: var(--muted); }
.results .fine { margin-top: 28px; }
/* Enquiry strip between product sections */
.enquiry-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: 40px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.enquiry-line { margin: 0; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3); line-height: 1.2; }
.enquiry-sub { margin: 8px 0 0; color: var(--ink-2); font-size: var(--text-md); }
.enquiry-strip .ctas { margin-top: 0; }
.facts { padding: 0 0 100px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts dl > div { padding: 26px 24px 26px 0; }
.facts dl > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: var(--text-fact); line-height: 1.15; }
.facts dd { margin: 8px 0 0; color: var(--ink-2); font-size: var(--text-ui); line-height: 1.5; }

/* Product range grid (skincare) */
.range { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 22px; margin-top: 50px; }
.range article { display: flex; flex-direction: column; gap: 12px; }
.range .pic { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.range .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.range h3 { font-size: 23px; line-height: 1.25; }
.range p { margin: 0; color: var(--ink-2); font-size: var(--text-ui); line-height: 1.55; }

/* Spec table */
.specs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-2); }
.specs th, .specs td { text-align: left; padding: 17px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; font-size: var(--text-base); }
.specs th { font-weight: var(--weight-regular); color: var(--muted); width: 40%; padding-right: 24px; }

/* Three columns with a top rule */
.support-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 44px; margin-top: 44px; }
.support-row div { border-top: 1px solid var(--line-2); padding-top: 24px; }
.support-row h3 { font-size: 26px; margin: 0 0 8px; }
.support-row p { margin: 0 0 12px; color: var(--ink-2); }

/* Other products: image cards with gentle zoom */
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; margin-top: 44px; }
.others a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.others .pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.others .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .9s var(--ease-out); }
.others a:hover .pic img { transform: scale(1.04); }
.others h3 { font-size: var(--text-fact); margin: 2px 0 0; font-weight: var(--weight-light); }
.others p { margin: 0; color: var(--ink-2); font-size: var(--text-md); }

/* ---------- 16. AI page: conversation & system visuals ---------- */
/* Letter: Q&A set like correspondence (home AI band) */
.letter { background: var(--paper); color: var(--ink); padding: clamp(28px, 3.4vw, 48px); }
.letter .who { font-size: var(--text-sm); color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 14px; display: block; }
.letter .q { font-family: var(--serif); font-size: var(--text-quote-sm); line-height: var(--leading-quote); margin: 26px 0 0; color: var(--ink-2); }
.letter .a { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: var(--leading-quote); margin: 22px 0 0; padding-left: 22px; border-left: 3px solid var(--cyan); }

/* Chat card on its own */
.chat { background: var(--deep); color: var(--on-dark); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.chat .who { font-size: var(--text-sm); color: var(--on-dark-muted); }
.bubble { max-width: 86%; padding: 14px 18px; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.bubble.q { align-self: flex-end; background: rgba(244, 240, 233, .1); }
.bubble.a { align-self: flex-start; background: var(--paper); color: var(--ink); border-left: 3px solid var(--cyan); }

/* Photo with a glass chat floating over it (AI page hero) */
.ai-hero .chat-note { margin: 14px 0 0; font-size: var(--text-sm); opacity: .75; }
.ai-visual { position: relative; overflow: hidden; min-height: 560px; height: 100%; }
.ai-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-visual::after { content: ''; position: absolute; inset: 0; background: var(--scrim-photo); }
.ai-visual .chat { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; margin: 0; padding: 18px; gap: 10px; background: var(--glass-dark); color: #fff; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-glass); }
.ai-visual .chat .who { color: rgba(255, 255, 255, .65); font-size: var(--text-legal); }
.ai-visual .bubble { font-family: var(--sans); font-size: var(--text-sm); line-height: 1.45; padding: 11px 15px; border-radius: var(--radius-bubble); border: 0; max-width: 88%; }
.ai-visual .bubble.q { background: rgba(255, 255, 255, .16); color: #fff; }
.ai-visual .bubble.a { background: var(--cyan); color: #fff; }

/* Flow diagram: inputs → AIOS → outputs */
.flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: 18px; align-items: center; margin-top: 48px; }
.flow-col { display: flex; flex-direction: column; gap: 10px; }
.flow-col > small { font-size: var(--text-fine); color: var(--ink-2); margin-bottom: 2px; }
.flow-chip { padding: 13px 18px; background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-2); font-size: var(--text-ui); font-weight: 500; }
.flow-core { padding: 34px 26px; background: var(--teal); color: #fff; text-align: center; }
.flow-core b { display: block; font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-fact); letter-spacing: .02em; }
.flow-core span { display: block; margin-top: 6px; font-size: var(--text-sm); opacity: .9; }
.flow-arrow { width: 46px; height: 2px; background: var(--teal); position: relative; }
.flow-arrow::after { content: ''; position: absolute; right: -1px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }

/* Media with a data card overlapping its corner (daily brief) */
.brief-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.brief-media { position: relative; }
.brief-card { position: absolute; right: -28px; bottom: -36px; width: min(340px, 80%); background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-2); padding: 20px 22px; box-shadow: var(--shadow-card); }
.brief-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--text-fine); font-weight: var(--weight-semibold); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.brief-card header span { font-size: var(--text-legal); font-weight: 500; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--warn-fg); }
.brief-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.brief-row:last-child { border-bottom: 0; }
.brief-row b { color: var(--teal); }

/* Three phases, each with a media frame */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.phases h3 { margin: 22px 0 6px; font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-h3); }
.phases p { margin: 0; color: var(--ink-2); }
.cap-grid li { grid-template-columns: 1fr 1.3fr; }

/* ---------- 16b. Product story blocks (optional product-page blocks) ---------- */
/* Dark section shell: shared text colours on --deep */
.section-dark .section-name { color: var(--sky-2); }
.section-dark .lead { color: var(--on-dark-2); }
.section-dark .arrow { color: var(--on-dark); }

/* Split bleed: text column inside the grid, media bleeding to the right edge (like the home hero) */
.split-bleed { display: grid; grid-template-columns: 1fr 1fr; min-height: min(72svh, 680px); }
.split-bleed-text { padding: 96px clamp(24px, 4vw, 64px) 96px max(24px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.split-bleed-media { position: relative; overflow: hidden; background: #000; }
.split-bleed-media video, .split-bleed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 40px; }
.mini-stats > div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.section-dark .mini-stats > div { border-color: var(--on-dark-line); }
.mini-stats b { display: block; font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-md); line-height: 1.2; }
.mini-stats span { display: block; margin-top: 6px; font-size: var(--text-sm); line-height: 1.45; opacity: .75; }

/* Product logos */
.p-logo { display: block; height: clamp(60px, 7vw, 100px); width: auto; max-width: 100%; margin: 10px 0 4px; }
.maker-logo { display: inline-block; height: 26px; width: auto; vertical-align: middle; margin-right: 12px; }
.maker:has(.maker-logo) span { vertical-align: middle; }
.feature-logo { display: block; height: 54px; width: auto; margin-left: -4px; }
.tip-visual img { display: block; width: 100%; max-width: 520px; height: auto; margin-left: auto; }

/* Bar charts (own data visualisations) */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.bars { margin: 0; padding: 26px 26px 22px; background: var(--paper-raised); border: 1px solid var(--line); }
.bars h3 { font-size: var(--text-serif-md); line-height: 1.2; margin: 0 0 18px; }
.bar-row { display: grid; grid-template-columns: 40% 1fr; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.bar-label { grid-row: span 2; font-size: var(--text-sm); color: var(--ink-2); line-height: 1.35; }
.bar-track { position: relative; height: 22px; background: var(--paper-2); }
.bar-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--line-2); }
.bar-val { font-size: var(--text-fine); color: var(--muted); }
.bar-row.is-ours .bar-label { color: var(--ink); font-weight: var(--weight-semibold); }
.bar-row.is-ours .bar-track i { background: var(--teal); }
.bar-row.is-ours .bar-val { color: var(--teal); font-weight: var(--weight-semibold); }
.bars .source { margin-top: 14px; }

/* Channel comparison: three cross-sections drawn in SVG, the product's column highlighted */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.compare figure { margin: 0; padding: 22px 22px 26px; background: var(--paper-raised); border: 1px solid var(--line); }
.compare figure.is-ours { background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.compare h3 { font-size: var(--text-h3); line-height: 1.1; }
.compare .verdict { display: block; margin-top: 4px; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--muted); }
.compare .is-ours .verdict { color: var(--sky); }
.compare svg { display: block; width: 100%; height: auto; margin: 18px 0; }
.compare dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0; }
.compare dl.three { grid-template-columns: repeat(3, 1fr); }
.compare dt { font-size: var(--text-fine); color: var(--muted); }
.compare .is-ours dt { color: var(--on-dark-muted); }
.compare dd { margin: 2px 0 0; font-family: var(--serif); font-size: var(--text-serif-md); }

/* Depth explorer: skin cross-section + selectable treatment modes */
.depths { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 72px); align-items: start; margin-top: 56px; }
.depths-figure { margin: 0; background: var(--paper-raised); border: 1px solid var(--line); padding: 18px; position: sticky; top: 110px; }
.depths-figure svg { display: block; width: 100%; height: auto; }
.depths-figure text { font-family: var(--sans); font-size: 13px; fill: var(--ink-2); }
.depths-figure .range-label { fill: var(--teal); font-weight: var(--weight-semibold); font-size: 15px; }
.depths-figure .ch { transform-box: fill-box; transform-origin: top; animation: grow .7s var(--ease-out) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mode-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.mode-list li { border-bottom: 1px solid var(--line-2); }
.mode-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; }
.mode-btn b { font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-md); }
.mode-btn span { font-size: var(--text-sm); color: var(--muted); text-align: right; }
.mode-btn:hover b, .mode-btn:focus-visible b { color: var(--teal); }
.mode-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.mode-list li.is-on .mode-btn b { color: var(--teal); }
.mode-more { display: none; padding: 0 0 22px; }
.mode-list li.is-on .mode-more { display: block; }
.mode-more p { margin: 0 0 12px; color: var(--ink-2); }
.downtime { display: inline-block; padding: 5px 12px; border-radius: var(--radius-sm); background: var(--deep); color: var(--on-dark); font-size: var(--text-sm); font-weight: var(--weight-semibold); }

/* Image cards (indications) */
.img-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 20px; margin-top: 56px; }
.img-cards article { display: flex; flex-direction: column; gap: 12px; }
.img-cards .pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.img-cards .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.img-cards article:hover .pic img { transform: scale(1.04); }
.img-cards h3 { font-size: var(--text-serif-md); line-height: 1.2; }
.img-cards p { margin: 0; font-size: var(--text-ui); color: var(--ink-2); line-height: 1.5; }

/* Stat band: photo + 2×2 big numbers */
.stat-band { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: center; margin-top: 56px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.stat-grid > div { border-top: 1px solid var(--line-2); padding: 24px 0 32px; }
.stat-grid b { display: block; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-display-sm); line-height: 1.05; }
.stat-grid span { display: block; margin-top: 10px; color: var(--ink-2); max-width: 300px; }


/* Key findings from studies: big number cards */
.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 56px 0 48px; }
.findings > div { padding: 26px 24px 28px; background: var(--paper-raised); border-top: 3px solid var(--teal); display: flex; flex-direction: column; gap: 10px; }
.findings b { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-display-sm); line-height: 1; }
.findings p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.findings small { margin-top: auto; padding-top: 10px; font-size: var(--text-fine); color: var(--muted); }

/* ---------- 16c. Social proof: clinics and doctors ---------- */
.proof-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: 48px; }
.proof-feature h3 { font-size: var(--text-h3-lg); line-height: 1.15; margin: 0 0 12px; }
.proof-feature p { margin: 0; color: var(--ink-2); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 44px; margin-top: 56px; }
.quote-card { margin: 0; border-top: 1px solid var(--line-2); padding: 28px 0 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: var(--text-quote-sm); line-height: var(--leading-quote); }
.quote-card figcaption b { display: block; font-weight: var(--weight-semibold); }
.quote-card figcaption span { display: block; color: var(--muted); font-size: var(--text-sm); }
.quote-card figcaption i { font-style: normal; color: var(--teal); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.proof-stat { margin-top: 36px; }
.proof-stat b { display: block; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h2); line-height: 1; }
.proof-stat span { display: block; margin-top: 8px; color: var(--ink-2); }
.clinic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.clinic-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.clinic-list b { font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-sm); line-height: 1.3; }
.clinic-list span { color: var(--muted); font-size: var(--text-sm); text-align: right; white-space: nowrap; }

/* About page: founder portrait, founder note, brand row */
.portrait-frame { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); max-width: 460px; width: 100%; justify-self: end; }
.portrait-frame img, .portrait-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: center; }
.founder .portrait-frame { justify-self: start; }
.p-hero .portrait-frame { max-width: 560px; } /* About hero photo, a bit larger than the founder portrait */
.founder blockquote { margin: 0 0 24px; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-quote); line-height: 1.22; }
.founder .who { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.founder .who b { display: block; font-weight: var(--weight-semibold); }
.founder .who span { color: var(--muted); font-size: var(--text-sm); }
.mini-stats.four { grid-template-columns: repeat(4, 1fr); }
.brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.brand-row a { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 160px; padding: 28px; background: var(--paper-raised); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur); }
.brand-row a:hover { border-color: var(--teal); }
.brand-row img { height: 36px; width: auto; align-self: flex-start; }
.brand-row b { font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-h3); color: var(--teal); line-height: 1; }
.brand-row span { font-size: var(--text-sm); color: var(--muted); }

/* Skincare product page: pack shot, photo band, benefit grid, product nav */
.hy-size { margin: 18px 0 0; font-size: var(--text-sm); color: var(--muted); }
.hy-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.hy-nav a { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); text-decoration: none; font-size: var(--text-sm); transition: background var(--dur), color var(--dur); }
.hy-nav a:hover, .hy-nav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.range-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.range .pic img.is-photo, .others .pic img.is-photo { object-fit: cover; object-position: 78% center; padding: 0; }
.range-card:hover h3 { color: var(--teal); }

/* Doctor slider: portrait + quote, scroll-snap with prev/next */
.slider { position: relative; margin-top: 56px; }
.slider-track { display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: center; }
.slide .portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); max-width: 380px; }
.slide .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.slide .portrait img[src*="doc-quist"] { filter: grayscale(1) contrast(1.4) brightness(.86); } /* very light photo (blonde, white top, beige wall): more contrast so the face stands out */
.slide .portrait.no-photo { display: grid; place-items: center; background: var(--paper-2); }
.slide .portrait.no-photo img { display: none; }
.slide .portrait.no-photo::after { content: attr(data-initials); font-family: var(--serif); font-weight: var(--weight-light); font-size: clamp(64px, 7vw, 110px); color: var(--teal); } /* doctor without a photo yet */
.slide blockquote { margin: 0; font-family: var(--serif); font-weight: var(--weight-light); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.24; }
.slide blockquote[data-len="m"] { font-size: clamp(23px, 2.2vw, 31px); line-height: 1.3; } /* longer quotes get smaller type, so slides keep one height */
.slide blockquote[data-len="l"] { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.38; }
.slide .who { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.slide .who b { display: block; font-size: var(--text-md); font-weight: var(--weight-semibold); }
.slide .who span { display: block; color: var(--muted); font-size: var(--text-sm); }
.slider-nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.slider-nav button { font: inherit; width: 54px; height: 54px; border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; font-size: 20px; transition: background var(--dur), color var(--dur); }
.slider-nav button:hover { background: var(--ink); color: var(--paper); }
.slider-nav output { margin-left: 8px; font-size: var(--text-sm); color: var(--muted); }

/* ---------- 17. Testimonial ---------- */
.tst { padding: var(--section-y-lg) 0; text-align: center; }
.tst blockquote { margin: 0 auto; max-width: 1000px; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-quote); line-height: 1.22; }
.tst .who { margin-top: 40px; display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.tst .who img { width: 60px; height: 60px; border-radius: var(--radius-pill); object-fit: cover; }
.tst .who b { display: block; font-weight: var(--weight-semibold); }
.tst .who span { color: var(--muted); font-size: var(--text-ui); }

/* ---------- 18. Contact + inquiry form ---------- */
.contact { padding: var(--section-y) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-card { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); }
.direct { margin-top: 40px; } /* no divider under the subheading (Matija, 2026-10-18) */
.direct > * { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-2); margin: 0; }
.direct small { font-size: var(--text-sm); color: var(--muted); border: 0; padding-bottom: 0; }
.big-phone { font-family: var(--serif); font-size: var(--text-display-sm); font-weight: var(--weight-light); line-height: 1.1; text-decoration: none; }
.direct a:not(.big-phone), .direct p { color: var(--ink-2); }

/* Underline-only inputs on a two-column grid */
.inquiry-form, form[data-inquiry] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; position: relative; align-content: start; }
.field { display: flex; flex-direction: column; padding-top: 16px; }
.field.full, .consent, .chips-field, .form-foot { grid-column: 1 / -1; }
.field label, .chips-field > span { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink-2); }
.field label i { font-style: normal; color: var(--teal); } /* required asterisk */
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--text-input); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 8px 0 10px;
  outline: none; width: 100%; transition: border-color var(--dur);
}
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316231F'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--error); }

/* Interest chips (toggle) */
.chips-field { padding-top: 24px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font: inherit; font-size: var(--text-ui); padding: 8px 16px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; border-radius: var(--radius-sm); transition: all var(--dur); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* GDPR consent checkboxes */
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: var(--text-ui); color: var(--ink-2); padding-top: 16px; cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; padding: 0; flex: none; margin-top: 3px; accent-color: var(--ink); }
.consent.is-bad { color: var(--error); }

.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.form-err { color: var(--error); font-size: var(--text-ui); }
.form-ok { position: absolute; inset: 0; background: var(--paper-2); display: grid; place-content: center; text-align: center; gap: 12px; } /* covers the form after submit */
.form-ok b { font-family: var(--serif); font-weight: var(--weight-light); font-size: 40px; line-height: 1.1; }
.form-ok p { color: var(--ink-2); max-width: 420px; margin: 0 auto; }

/* ---------- 19. Footer (dark) ---------- */
.site-footer, body > footer { padding: 90px 0 40px; background: var(--deep); color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--on-dark-muted); font-size: var(--text-ui); max-width: 300px; }
.foot-grid h4 { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--on-dark-muted); margin: 6px 0 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-family: var(--serif); font-size: var(--text-serif-sm); }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--sky); }
.legal { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--on-dark-line-soft); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: var(--text-legal); color: var(--on-dark-muted); }
.legal p { margin: 0; max-width: 820px; }

/* ---------- 20. Cookie banner (GDPR opt-in; Reject and Accept look identical) ---------- */
.cb {
  position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 480px; margin-left: auto;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-banner); transform: translateY(calc(100% + 32px)); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.cb.is-open { transform: none; opacity: 1; }
.cb-inner { padding: 22px 22px 18px; }
.cb-title { font-weight: var(--weight-semibold); font-size: var(--text-ui); margin: 0 0 6px; }
.cb-body { font-size: var(--text-fine); line-height: 1.55; margin: 0 0 14px; color: var(--ink-2); }
.cb-body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cb-prefs { border-top: 1px solid var(--line-2); margin: 0 0 14px; }
.cb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; position: relative; }
.cb-row span { display: flex; flex-direction: column; gap: 2px; font-size: var(--text-fine); }
.cb-row small { color: var(--ink-2); font-size: var(--text-legal); line-height: 1.4; }
.cb-row em { font-style: normal; font-size: var(--text-legal); color: var(--ink-2); white-space: nowrap; }
.cb-row input { position: absolute; opacity: 0; pointer-events: none; }
.cb-switch { flex: none; width: 38px; height: 22px; border-radius: 22px; background: var(--line-2); position: relative; transition: background .25s; }
.cb-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.cb-row input:checked + .cb-switch { background: var(--ink); }
.cb-row input:checked + .cb-switch::after { transform: translateX(16px); }
.cb-row input:focus-visible + .cb-switch { outline: 2px solid var(--ink); outline-offset: 2px; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-btn { flex: 1 1 auto; font: inherit; font-size: var(--text-fine); font-weight: var(--weight-semibold); cursor: pointer; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); border: 1px solid transparent; transition: background var(--dur-fast); }
.cb-btn:hover { background: var(--teal); }
.cb-btn.cb-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); flex: 0 1 auto; }
.cb-btn[hidden] { display: none; }

/* Hydrinity product page (njega.html): gallery + sticky info, numbers, ingredient switcher, steps, FAQ, sticky enquiry bar */
.hyp-hero { padding-bottom: var(--section-y-sm); }
.hyp-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.hyp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 16px; position: sticky; top: 110px; }
.hyp-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, var(--paper-raised) 0%, var(--paper-2) 100%); grid-column: 2; grid-row: 1; }
.hyp-main img, .hyp-thumbs img, .hyp-ingr-pic img, .hyp-steps-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hyp-main img.pack { object-fit: contain; padding: 9%; filter: drop-shadow(0 30px 40px rgba(22, 35, 31, .18)); }
.hyp-main img.life { object-position: 78% center; }
.hyp-thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
.hyp-thumbs button { position: relative; padding: 0; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; background: var(--paper-raised); border: 1px solid var(--line); transition: border-color var(--dur); }
.hyp-thumbs button:hover, .hyp-thumbs button[aria-selected="true"] { border-color: var(--ink); }
.hyp-thumbs img.pack { object-fit: contain; padding: 10%; }
.hyp-thumbs img.life { object-position: 78% center; }
.hyp-info h1 { margin-top: 10px; }
.hyp-label { margin: 34px 0 12px; font-size: var(--text-ui); font-weight: var(--weight-semibold); }
.hyp-keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line-2); }
.hyp-keys li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.hyp-keys svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--teal); }
.hyp-keys b { display: block; font-weight: var(--weight-semibold); line-height: 1.35; }
.hyp-keys span { display: block; margin-top: 4px; font-size: var(--text-md); color: var(--ink-2); line-height: 1.45; }
.hyp-for { margin: 0; color: var(--ink-2); }
.hyp-info .ctas { margin-top: 32px; }
.hyp-note { margin: 14px 0 0; font-size: var(--text-sm); color: var(--muted); }
.hyp-routine a { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line-2); background: var(--paper-raised); text-decoration: none; transition: border-color var(--dur); }
.hyp-routine a:hover { border-color: var(--ink); }
.hyp-routine .pic { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.hyp-routine .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.hyp-routine .pic img.life { object-fit: cover; object-position: 78% center; padding: 0; }
.hyp-routine b { display: block; font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-md); line-height: 1.2; }
.hyp-routine span { display: block; margin-top: 4px; font-size: var(--text-md); color: var(--ink-2); line-height: 1.45; }
.hyp-routine em { display: inline-block; margin-top: 8px; font-style: normal; font-weight: var(--weight-semibold); color: var(--teal); }

.hyp-results { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: center; }
.hyp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.hyp-stats > div { border-top: 1px solid var(--line-2); padding-top: 22px; }
.hyp-stats b { display: block; font-family: var(--serif); font-weight: var(--weight-light); font-size: clamp(32px, 3vw, 44px); line-height: 1.05; white-space: nowrap; }
.hyp-stats p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.5; }

.hyp-ingr { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 48px; }
.hyp-ingr-names { display: flex; flex-direction: column; align-items: flex-start; }
.hyp-ingr-names button { font: inherit; font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3-lg); line-height: 1.2; text-align: left; color: var(--ink); background: none; border: 0; padding: 8px 0; cursor: pointer; opacity: .3; transition: opacity var(--dur); }
.hyp-ingr-names button:hover, .hyp-ingr-names button[aria-selected="true"] { opacity: 1; }
.hyp-ingr-pic { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.hyp-ingr-pic img { object-position: 78% center; }
.hyp-ingr-text h3 { font-size: var(--text-h3); line-height: var(--leading-heading); margin: 0 0 12px; }
.hyp-ingr-text p { margin: 0; color: var(--ink-2); }

.hyp-steps-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--col-gap); align-items: center; }
.hyp-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: step; }
.hyp-steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.hyp-steps li::before { content: counter(step); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: var(--radius-pill); font-weight: var(--weight-semibold); }
.hyp-steps p { margin: 9px 0 0; color: var(--ink-2); }
.hyp-steps a, .hyp-faq .faq a { color: var(--teal); }
.hyp-steps-pic { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-3); }
.hyp-steps-pic img { object-position: right center; } /* range photo: crop away the empty panel on its left */

.hyp-faq { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: start; }
.hyp-faq-head { position: sticky; top: 130px; }

.hyp-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--paper-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform var(--dur) var(--ease-out); }
.hyp-bar.is-on { transform: none; }
.hyp-bar .wrap { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.hyp-bar img { width: 50px; height: 50px; object-fit: contain; background: var(--paper-raised); }
.hyp-bar img.life { object-fit: cover; }
.hyp-bar span { margin-right: auto; font-family: var(--serif); font-size: var(--text-serif-md); }
.hyp-bar .btn { min-height: 46px; }

/* Microneedling page (1Need Pro): subcision cross-sections, comparison table, cartridge cards */
.subcision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.subcision figure { margin: 0; padding: 22px 22px 26px; background: var(--paper-raised); border: 1px solid var(--line); }
.subcision .pic { background: var(--white); margin-bottom: 18px; }
.subcision img { display: block; width: 100%; height: auto; }
.subcision h3 { font-size: var(--text-h3); line-height: 1.1; }
.subcision p { margin: 6px 0 0; color: var(--ink-2); font-size: var(--text-md); line-height: 1.5; }
.versus { margin-top: 48px; }
.vs-row { display: grid; grid-template-columns: 22% 1fr 1.25fr; }
.vs-row > * { padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.vs-head > * { font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-md); line-height: 1.2; padding-top: 22px; }
.vs-label { font-weight: var(--weight-semibold); padding-left: 0; }
.vs-head b { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.vs-logo { height: 34px; width: auto; }
.vs-row > :nth-child(2) { color: var(--ink-2); }
.vs-row .is-ours { background: var(--deep); color: var(--on-dark); border-bottom-color: var(--on-dark-line); }
.vs-row:last-child .is-ours { padding-bottom: 22px; }
.cartridges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin-top: 56px; }
.cartridges .pic { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-raised); border: 1px solid var(--line); }
.cartridges .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.cartridges .code { margin: 18px 0 0; font-size: var(--text-sm); color: var(--muted); }
.cartridges h3 { font-size: var(--text-h3); line-height: var(--leading-heading); margin: 2px 0 0; }
.cartridges p:last-child { margin: 8px 0 0; color: var(--ink-2); }

/* 1Need Pro needle details: [data-needles] one row per needle (photo | name, text, points, figures), photo side alternates */
.needles { display: grid; gap: 56px; margin-top: 56px; }
.needle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 56px; border-top: 1px solid var(--line); }
.needle:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.needle:nth-child(even) .needle-media { order: 2; }
.needle .pic { position: relative; aspect-ratio: 1; background: var(--paper-raised); border: 1px solid var(--line); }
.needle .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.needle .code { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.needle h3 { font-size: var(--text-h3-lg); line-height: var(--leading-heading); margin: 4px 0 0; }
.needle .text { margin: 16px 0 0; color: var(--ink-2); font-size: var(--text-lead); line-height: 1.55; }
.needle-points { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 30px 0 0; }
.needle-points li { padding-left: 18px; border-left: 3px solid var(--teal); }
.needle-points b { display: block; color: var(--ink); font-weight: 600; font-size: var(--text-ui); line-height: 1.3; }
.needle-points span { display: block; margin-top: 6px; color: var(--ink-2); font-size: var(--text-md); line-height: 1.5; }
.depth { margin-top: 16px; padding: 18px 20px 16px; background: var(--paper-raised); border: 1px solid var(--line); }
.depth-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; color: var(--ink-2); font-size: var(--text-md); }
.depth-head b { font-family: var(--serif); font-weight: var(--weight-regular); font-size: var(--text-serif-md); color: var(--ink); }
.depth-track { position: relative; height: 10px; margin-top: 14px; background: var(--line); border-radius: 5px; }
.depth-track span { position: absolute; top: 0; bottom: 0; min-width: 8px; background: var(--teal); border-radius: 5px; }
.depth-ticks { display: flex; justify-content: space-between; margin: 8px 0 0; color: var(--muted); font-size: var(--text-fine); }
.needle dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.needle dl div { padding: 18px 18px 20px; background: var(--paper-raised); border-top: 3px solid var(--teal); }
.needle dt { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-fact); line-height: 1.05; }
.needle dd { margin: 8px 0 0; color: var(--ink-2); font-size: var(--text-md); line-height: 1.45; }
@media (max-width: 960px) {
  .needle, .needle:nth-child(even) { grid-template-columns: 1fr; }
  .needle:nth-child(even) .needle-media { order: 0; }
  .needle-media { max-width: 420px; }
  .needle-points { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .needle dl { grid-template-columns: 1fr; } }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1120px) {
  .nav-left { gap: 18px; font-size: var(--text-sm); }
  .nav-left a:nth-child(n+5) { display: none; }
}
@media (max-width: 960px) {
  .nav .wrap { grid-template-columns: auto 1fr; height: var(--nav-h-mobile); }
  .nav-left, .nav .btn, .nav .lang { display: none; }
  .nav .logo { order: -1; width: 150px; }
  .burger { display: inline-block; }
  .dd-panel { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 120px 24px 50px; }
  .hero-media { min-height: 64vh; margin: 0; }
  .hero.hero-full { min-height: 100svh; }
  .hero-full .hero-media::after { background: linear-gradient(0deg, rgba(19, 32, 29, .94) 35%, rgba(19, 32, 29, .15) 85%); } /* taller text block on phones */
  .dev-head, .hy-grid, .why-grid, .ai-grid, .edu-hero .wrap, .contact-card, .hero-grid, .two,
  .brief-grid, .phases, .split-media { grid-template-columns: 1fr; }
  .split-media.bleed > .media-frame { margin-inline: calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 16 / 9; }
  .why-sticky { position: static; }
  .why-sticky figure { margin-top: 28px; max-width: none; }
  .accordion { flex-direction: column; height: auto; }
  .acc, .acc.is-open { flex: none; height: 540px; }
  .acc-device, .acc-device.is-open { height: 660px; --acc-text: 370px; }
  .acc-device-img.is-tall { height: calc(100% - var(--acc-text)); padding-top: 22px; }
  .acc-more { grid-template-rows: 1fr; opacity: 1; }
  .invest-head { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .grid2 li { grid-template-columns: 1fr; gap: 6px; }
  .support-row { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .p-hero { padding-top: 110px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 2px; height: 34px; margin: 0 auto; }
  .flow-arrow::after { right: -5px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .brief-card { position: relative; right: auto; bottom: auto; margin: -60px auto 0; }
  .ai-visual { min-height: 520px; }
  .split-bleed, .compare, .charts, .depths, .stat-band, .slide, .proof-feature { grid-template-columns: 1fr; }
  .depths-figure { position: static; }
  .split-bleed-text { padding: 72px 24px 40px; }
  .split-bleed-media { min-height: 0; aspect-ratio: 16 / 9; }
  .mini-stats, .mini-stats.four { grid-template-columns: 1fr; gap: 0; }
  .founder { grid-template-columns: 1fr; }
  .portrait-frame { justify-self: start; max-width: 360px; }
  .p-hero .portrait-frame { max-width: 440px; }
  .slide .portrait { max-width: 320px; }
  .m-cta { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; }
  .m-cta .btn { flex: 1; border-radius: 0; min-height: 58px; }
  .m-cta .btn-line { background: var(--paper); border-width: 1px 0 0 1px; }
  .site-footer, body > footer { padding-bottom: 110px; }
  .hyp-top, .hyp-results, .hyp-ingr, .hyp-steps-grid, .hyp-faq { grid-template-columns: 1fr; }
  .hyp-gallery { position: static; grid-template-columns: 1fr; }
  .hyp-main { grid-column: 1; grid-row: 1; }
  .hyp-thumbs { grid-row: 2; flex-direction: row; }
  .hyp-thumbs button { width: 68px; }
  .hyp-ingr-text { order: 2; }                 /* description right under the names */
  .hyp-ingr-pic { order: 3; max-width: 420px; }
  .hyp-faq-head { position: static; }
  .hyp-bar { display: none; }
  .cartridges { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* equal columns even with a long word like "Microneedling" */
  .subcision { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: var(--text-md); }
  .wrap { width: calc(100% - 32px); }
  .split-media.bleed > .media-frame { margin-inline: -16px; }
  .inquiry-form, form[data-inquiry] { grid-template-columns: 1fr; }
  .facts dl, .foot-grid { grid-template-columns: 1fr; }
  .facts dl > div, .facts dl > div + div { padding-left: 0; border-left: 0; }
  .makers { font-size: var(--text-serif-md); }
  .cb { left: 10px; right: 10px; bottom: 10px; }
  .cb-btn { flex: 1 1 40%; }
  .hyp-keys { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row > * { padding: 12px 14px; }
  .vs-label { grid-column: 1 / -1; padding: 16px 0 6px; border-bottom: 0; }
  .vs-head > :first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Legal pages (privatnost.html, kolacici.html) ---------- */
.legal-doc { max-width: 780px; padding: 150px 0 110px; }
.legal-doc h1 { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h2); line-height: 1.1; margin: 0 0 12px; }
.legal-doc h2 { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3); line-height: 1.2; margin: 52px 0 14px; }
.legal-doc h3 { font-size: 19px; font-weight: 600; margin: 30px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc li b { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .legal-meta { color: var(--ink-2); margin-bottom: 36px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: var(--text-ui); }
.legal-doc .legal-table th, .legal-doc .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-2); }
.legal-table th { font-weight: 600; }
.legal-table code { font-size: 15px; }
@media (max-width: 700px) {
  .legal-doc { padding: 110px 0 80px; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .legal-table td { display: block; border: 0; padding: 2px 0; }
}

/* ---------- Home: support section (2026-10-16) — heading on top; photo left, filling the height of the 4 points on the right ---------- */
.why-head { max-width: 860px; }
.why-head .lead { margin: 18px 0 0; }
.why-body { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: stretch; margin-top: 48px; }
.why-photo { margin: 0; position: relative; overflow: hidden; background: var(--paper-3); min-height: 420px; }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }

/* Home: AI teaser card — repetitive tasks the clinic gets back */
.letter .tasks { list-style: none; margin: 18px 0 0; padding: 0; }
.letter .tasks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-2); position: relative; }
.letter .tasks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* Home: proof — Milojević portrait + his UltraClear quote */
.proof-feature-quote { grid-template-columns: minmax(0, 340px) 1fr; }
.proof-photo { max-width: 340px; width: 100%; }
.proof-photo img { object-position: 50% 30%; }
.proof-quote { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-quote-sm); line-height: var(--leading-quote); margin: 0; padding-left: 22px; border-left: 3px solid var(--cyan); }
.proof-who { margin: 22px 0 0 !important; display: flex; flex-direction: column; gap: 2px; }
.proof-who b { color: var(--ink); }
@media (max-width: 900px) { .proof-feature-quote { grid-template-columns: 1fr; } .proof-photo { max-width: 300px; } }

@media (max-width: 900px) { .why-body { grid-template-columns: 1fr; } .why-photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* O nama: Device Consulting logo above the section name */
.dc-logo { display: block; height: 46px; width: auto; margin: 0 0 22px; }

/* Home: small doctor portrait next to each quote name (2026-10-17) */
.quote-card figcaption { display: flex; align-items: center; gap: 16px; }
.qc-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; filter: grayscale(1) contrast(1.05); }
.qc-photo[src*="doc-quist"] { filter: grayscale(1) contrast(1.4) brightness(.86); }

/* ---------- Phone pass (2026-10-17) ---------- */
.form-head { display: none; }
.ai-photo-m { display: none; }
@media (max-width: 960px) {
  /* less space between sections on phones */
  :root { --section-y: 56px; --section-y-sm: 46px; --section-y-lg: 64px; }
  .split-bleed-text { padding: 8px 16px 32px; }
  .p-hero { padding-bottom: 40px; }
  .enquiry-strip .wrap { padding: 22px 0; gap: 14px; }
  .enquiry-strip .ctas { display: flex; flex-wrap: nowrap; gap: 10px; width: 100%; }
  .enquiry-strip .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 15px; }
  .enquiry-strip .btn-line span + span { display: none; } /* phone number is in the bottom bar */

  /* home hero: video on top, fully visible; heading, text and buttons underneath */
  .hero.hero-full { min-height: 0; flex-direction: column; align-items: stretch; color: var(--ink); background: var(--paper); }
  .hero-full .hero-media { position: relative; inset: auto; order: -1; flex: none; aspect-ratio: 4 / 3; min-height: 0; margin-top: var(--nav-h-mobile); }
  .hero-full .hero-media::after { display: none; }
  .hero-full .hero-text { padding: 28px 16px 44px; justify-content: flex-start; flex: none; }
  .hero-full .lead { color: var(--ink-2); }
  .hero-full .btn-ink { background: var(--ink); color: var(--paper); }
  .hero-full .btn-line { border-color: var(--ink); color: var(--ink); }

  /* support section photo: plain image so it always shows */
  .why-photo { aspect-ratio: auto; }
  .why-photo img { position: static; height: auto; aspect-ratio: 4 / 3; }

  /* AI teaser: clinic photo on phones */
  .ai-photo-m { display: block; margin: 0 0 28px; aspect-ratio: 16 / 10; overflow: hidden; }
  .ai-photo-m img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* home proof: smaller photo, then name + clinic, then the quote */
  .proof-photo { max-width: 180px; }
  .proof-feature-quote { gap: 20px; }
  .proof-feature-quote > div:last-child { display: flex; flex-direction: column; }
  .proof-feature-quote .proof-who { order: -1; margin: 0 0 16px !important; }
  .proof-quote { font-size: 21px; }

  /* doctor sliders: small photo, name right under it, then the quote */
  .slide { gap: 18px; align-items: start; }
  .slide .portrait { max-width: 180px; }
  .slide > div:last-child { display: flex; flex-direction: column; }
  .slide .who { order: -1; margin: 0 0 14px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--line-2); }
  .slide blockquote, .slide blockquote[data-len] { font-size: 20px; line-height: 1.38; }

  /* UltraClear modes: the depth picture stays in view while tapping the modes */
  .depths-figure { position: sticky; top: calc(var(--nav-h-mobile) + 6px); z-index: 3; padding: 10px; }
  .depths-figure svg { height: 210px; width: auto; margin: 0 auto; }

  /* "Što tretira": two small cards per row */
  .img-cards { grid-template-columns: 1fr 1fr; gap: 22px 14px; margin-top: 32px; }
  .img-cards .pic { aspect-ratio: 1 / 1; }
  .img-cards h3 { font-size: 19px; }
  .img-cards p { font-size: 15px; }

  /* contact form: clearly its own card with a title */
  form[data-inquiry] { background: #fff; padding: 22px 18px 26px; border-top: 3px solid var(--cyan); margin-top: 8px; }
  .form-head { display: block; grid-column: 1 / -1; font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 0 0 6px; color: var(--ink); }

  /* fixed enquiry/call bar only after scrolling past the top */
  .m-cta { transform: translateY(110%); transition: transform .3s var(--ease); }
  body.m-cta-on .m-cta { transform: none; }
}

/* ---------- Hydrinity page (2026-10-18) ---------- */
/* range: 3 per row (2 on phones), transparent pack shots on a soft panel */
body[data-product="hydrinity"] .range { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
body[data-product="hydrinity"] .range .pic { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 42%, #fbf8f3 0%, #efe8dd 72%); border-radius: 2px; }
body[data-product="hydrinity"] .range .pic img { inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(22, 35, 31, .14)); }
body[data-product="hydrinity"] .range h3 { font-size: 24px; }
/* featured products */
.feats { display: grid; gap: 72px; margin-top: 48px; }
.feat { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat.is-flip .feat-ba { order: 2; }
.feat-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-ba figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.feat-ba img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-ba figcaption { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .9); padding: 3px 10px; font-size: var(--text-sm); }
.feat-note { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: var(--text-sm); }
.feat-text h3 { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3-lg); line-height: 1.15; margin: 6px 0 14px; }
.feat-text > p { color: var(--ink-2); margin: 0 0 18px; }
.feat-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 22px; }
.feat-stats b { display: block; font-family: var(--serif); font-weight: var(--weight-light); font-size: 38px; line-height: 1; color: var(--teal); }
.feat-stats span { display: block; font-size: var(--text-sm); color: var(--ink-2); margin-top: 6px; max-width: 170px; }
/* why it works: two illustrations with captions */
.how-figs { display: grid; gap: 18px; margin-top: 36px; }
.how-figs figure { margin: 0; }
.how-figs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.how-figs figcaption { margin-top: 8px; color: var(--ink-2); font-size: var(--text-sm); }
/* when it's used: photo under the heading */
.ind-photo { margin: 36px 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; display: block; }
@media (max-width: 960px) {
  body[data-product="hydrinity"] .range { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  body[data-product="hydrinity"] .range h3 { font-size: 19px; }
  .feat { grid-template-columns: 1fr; gap: 22px; }
  .feat.is-flip .feat-ba { order: 0; }
  .feats { gap: 56px; margin-top: 32px; }
}

/* Hydrinity hero: photo cropped to the bottles fills its frame (no extra navy around it) */
body[data-product="hydrinity"] .p-shot { min-height: 0; aspect-ratio: 1440 / 873; align-self: center; }
body[data-product="hydrinity"] .p-shot img { object-fit: cover; padding: 0; }

/* Hydrinity featured: picture area with 2 slides (product / before-after) */
.feat-media { position: relative; }
.feat-slide { display: none; }
.feat-slide.is-on { display: block; animation: featIn .35s var(--ease-out); }
@keyframes featIn { from { opacity: 0; } to { opacity: 1; } }
.feat-packs { aspect-ratio: 8 / 5; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 5% 8%; background: radial-gradient(circle at 50% 45%, #fbf8f3 0%, #efe8dd 75%); }
.feat-packs img { height: 92%; width: auto; max-width: 46%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(22, 35, 31, .16)); }
.feat-nav { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.feat-arrow { width: 40px; height: 40px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.feat-dot { border: 1px solid var(--line-2); background: transparent; padding: 8px 14px; font-size: var(--text-sm); color: var(--ink-2); cursor: pointer; }
.feat-dot.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.feat-arrow:hover, .feat-dot:hover { border-color: var(--ink); }

/* UltraClear channel comparison (2026-10-19): one line under each drawing; UltraClear's figures in their own dark panel,
   not lined up under the three lasers */
.compare .cmp-desc { margin: 0; font-size: var(--text-ui); line-height: 1.45; color: var(--ink-2); }
.compare .is-ours .cmp-desc { color: var(--on-dark-2); }
.compare svg { margin-bottom: 14px; }
.cmp-facts { display: grid; grid-template-columns: 1fr 3fr; gap: 24px 40px; align-items: start; margin-top: 44px; padding: 30px 32px; background: var(--deep); color: var(--on-dark); }
.cmp-facts h3 { font-family: var(--serif); font-weight: var(--weight-light); font-size: var(--text-h3); line-height: 1.15; margin: 0; }
.cmp-facts .mini-stats { margin-top: 0; }
.cmp-facts .mini-stats > div { border-color: var(--on-dark-line); }
.cmp-facts .mini-stats span { opacity: .8; }
@media (max-width: 960px) { .cmp-facts { grid-template-columns: 1fr; padding: 24px 20px; } .cmp-facts .mini-stats { gap: 18px; } }

/* home page on phones: enquiry/call bar visible from the first moment, no slide-in; cookie banner sits above it (2026-10-19) */
@media (max-width: 960px) {
  body[data-mcta="always"] .m-cta { transform: none; transition: none; }
  body.m-cta-on .cb { bottom: 68px; }
}

/* phones: before/after frames sized to the photos (Tixel cases are square/landscape), tighter label/caption/arrow spacing (2026-10-19) */
@media (max-width: 700px) {
  .results .slider { margin-top: 28px; }
  .ba-img { gap: 6px; }
  .ba-img img { height: auto; aspect-ratio: 9 / 10; }
  body[data-product="tixel"] .ba-img img { aspect-ratio: 4 / 3; } /* Tixel cases are 1:1 to 2:1 landscape */
  .ba figcaption { margin-top: 12px; padding-top: 10px; gap: 2px 14px; }
  .results .slider-nav { margin-top: 14px; }
  .results .slider-nav button { width: 44px; height: 44px; font-size: 18px; }
}

/* phones: 1Need Pro needle headings small enough for "Microneedling" to fit the half-width column (2026-10-19) */
@media (max-width: 700px) { .cartridges h3 { font-size: 23px; overflow-wrap: anywhere; } }

/* Hydrinity featured: whole product photo on its own background colour, same frame as the pack shots (2026-10-19) */
.feat-photo { aspect-ratio: 8 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feat-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }

/* phones: the three featured figures on one line (Matija, 2026-10-19) */
@media (max-width: 700px) {
  .feat-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .feat-stats b { font-size: 30px; }
  .feat-stats span { max-width: none; }
}

/* Hydrinity "Zašto djeluje": the text column starts level with the first picture, not with the heading (2026-10-19) */
@media (min-width: 961px) {
  section[data-block="how"] .two:has(.how-figs:not([hidden])) > div:last-child { padding-top: calc(var(--text-h2) * var(--leading-display) + 36px); }
}

/* Hydrinity product pages, "U brojkama": four study results in one row (2 × 2 on phones), study note under the figures (2026-10-19) */
.hyp-stats:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hyp-stats:has(> div:nth-child(4):last-child) b { font-size: clamp(30px, 2.6vw, 40px); }
@media (min-width: 961px) { .hyp-results > .fine { grid-column: 2; margin-top: 0 !important; } }
@media (max-width: 700px) { .hyp-stats:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; } }

/* Hydrinity kits: whole product photos (own background) shown centred, never cropped off-centre (2026-10-19) */
.hyp-main img.photo, .hyp-thumbs img.photo, .hyp-ingr-pic img.photo { object-fit: cover; object-position: center; }
.hyp-routine .pic img.photo, .hyp-bar img.photo { object-fit: cover; object-position: center; padding: 0; }
body[data-product="hydrinity"] .range .pic img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; }
/* six study results (Prelude): 3 × 2 on desktop, 2 × 3 on phones */
.hyp-stats:has(> div:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 700px) { .hyp-stats:has(> div:nth-child(6):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; } }

/* Hydrinity page (2026-10-19): bigger hero picture; featured product photos in a square frame, so the bottle is large.
   The slides share one grid cell, so the box keeps the height of the tallest slide and the arrows never jump. */
@media (min-width: 961px) {
  body[data-product="hydrinity"] .hero-grid { grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
}
.feat-media { display: grid; }
.feat-slide { display: block; grid-area: 1 / 1; align-self: center; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.feat-slide.is-on { visibility: visible; opacity: 1; animation: none; transition: opacity .35s var(--ease-out); }
.feat-nav { grid-row: 2; }
.feat-photo { aspect-ratio: 1 / 1; }
.feat-photo img { width: 100%; height: 100%; object-fit: contain; }

/* AI page, "Prepoznajete li se?": photo left, heading + list right (2026-10-19) */
.fit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.fit-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.fit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; display: block; }
@media (max-width: 960px) { .fit-grid { grid-template-columns: 1fr; } .fit-photo { aspect-ratio: 4 / 3; order: 2; } } /* phones: photo after the list, not straight under the hero photo */

/* Turnstile anti-spam check: takes no space unless Cloudflare needs the visitor to click (2026-10-19) */
.form-ts { grid-column: 1 / -1; margin-bottom: -8px; } /* cancels the form grid gap while the check is invisible */
.form-ts:empty { display: none; }
