/* ==========================================================================
   Bionic Beauty Tech — site styles
   Palette pulled from the logo: charcoal + rose gold, on warm cream.
   ========================================================================== */
:root {
  --product-bg: #f4eeea;
  --ink: #262220;
  --charcoal: #34302d;
  --muted: #6f6560;
  --line: #e7dcd4;
  --cream: #faf6f2;
  --blush: #f3e7df;
  --sand: #ead9ce;
  --rose: #b0806a;
  --rose-deep: #8e5f4b;
  --rose-light: #e6cfc2;
  --cocoa: #2b1e1b;
  --cocoa-2: #3a2924;
  --white: #ffffff;
  --gold-grad: linear-gradient(115deg, #93624d 0%, #c89c86 28%, #efdcd1 50%, #c3947d 72%, #8e5f4b 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 0 18px 50px rgba(43, 30, 27, .10);
  --shadow-sm: 0 8px 24px rgba(43, 30, 27, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.skip-link:focus { top: 12px; }

.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.shell-narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; color: var(--ink); }
.display, h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.005em; }
h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: .01em; line-height: 1.35; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--rose-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); line-height: 1.75; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { --fg: var(--ink); border-color: transparent; box-shadow: 0 10px 28px rgba(142, 95, 75, .28); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn-rose { --bg: var(--rose-deep); --fg: #fff; --bd: var(--rose-deep); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 11px; letter-spacing: .16em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.text-link:hover { background-size: 40% 1px; color: var(--rose-deep); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--cocoa); color: #f1e4dc; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; position: relative; z-index: 60;
}
.announce .shell { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; }
.announce-track { position: relative; flex: 1; max-width: 900px; height: 40px; overflow: hidden; }
.announce-item {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 8px;
  opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease);
  line-height: 1.3;
}
.announce-item.is-active { opacity: 1; transform: translateY(0); }
.announce-item.is-leaving { opacity: 0; transform: translateY(-100%); }
.announce-btn { background: none; border: 0; color: inherit; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; opacity: .7; }
.announce-btn:hover { opacity: 1; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 242, .92);
  backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(43,30,27,.05); background: rgba(250,246,242,.97); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.main-nav a {
  position: relative; text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 8px 0; color: var(--charcoal);
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose-deep); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"] { color: var(--rose-deep); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; grid-column: 3; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(43,30,27,.45); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); background: var(--cream);
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; padding: 22px 26px 30px; overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-top img { height: 48px; width: auto; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.drawer nav ul { list-style: none; padding: 0; margin: 0; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 28px; }
.drawer nav a[aria-current="page"] { color: var(--rose-deep); }
.drawer .btn { margin-top: 28px; }
.drawer-note { margin-top: 22px; font-size: 12.5px; color: var(--muted); }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .lead { max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.bg-white { background: #fff; }
.bg-blush { background: var(--blush); }
.bg-cocoa { background: var(--cocoa); color: #efe3db; }
.bg-cocoa h2, .bg-cocoa h3 { color: #fff; }
.bg-cocoa .eyebrow { color: var(--rose-light); }
.bg-cocoa .lead { color: #cdbdb3; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; overflow: hidden; background: var(--cocoa); color: #fff; }
.hero-media { position: absolute; inset: 0 0 0 30%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; transform: scale(1.08); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero { background: radial-gradient(80% 90% at 10% 100%, #4a3029 0%, var(--cocoa) 60%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cocoa) 0%, var(--cocoa) 36%, rgba(43,30,27,.55) 52%, rgba(43,30,27,0) 70%), linear-gradient(0deg, rgba(27,18,16,.45), transparent 40%); }
.hero-content { position: relative; z-index: 2; padding: clamp(90px, 14vh, 160px) 0 clamp(56px, 9vh, 96px); max-width: 660px; }
.hero .eyebrow { color: var(--rose-light); }
.hero h1, .hero .hero-title { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; font-size: clamp(44px, 5.8vw, 86px); line-height: .98; color: #fff; margin: 22px 0 26px; }
.hero h1 .gold-text, .hero .hero-title .gold-text { font-style: italic; }
.hero-copies { display: grid; }
.hero-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s linear .9s; }
.hero-copy.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
.hero-copy .btn-row { margin-top: 34px; }
.hero p { color: #eadcd4; font-size: clamp(16px, 1.45vw, 19px); max-width: 540px; line-height: 1.65; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: 12.5px; color: #cdbab0; display: flex; gap: 10px; align-items: flex-start; max-width: 560px; }
.hero-note svg { flex: 0 0 auto; margin-top: 3px; }
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(30px, 6vh, 60px); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; border-radius: 3px; overflow: hidden; position: relative; }
.hero-dots button.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; animation: dotfill 7s linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Marquee (Magnitone-style strip) ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid #000; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--rose-light); font-size: 12px; letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Routine cards (3 large) ---------- */
.routine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.routine-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: #fff; isolation: isolate; }
.routine-card .media { position: absolute; inset: 0; z-index: -2; background: var(--product-bg); }
.routine-card .media img { width: 100%; height: 100%; object-fit: contain; padding: 36px 36px 180px; transition: transform .9s var(--ease); }
.routine-card:hover .media img { transform: scale(1.06); }
.routine-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(43,30,27,.94) 0%, rgba(43,30,27,.7) 30%, rgba(43,30,27,0) 58%); }
.routine-card .body { padding: 30px; }
.routine-card .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose-light); }
.routine-card h3 { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); font-weight: 500; color: #fff; margin: 6px 0 10px; letter-spacing: 0; }
.routine-card p { color: #e8d9d0; font-size: 14px; margin-bottom: 20px; }
.routine-card .text-link { color: #fff; }

/* ---------- Feature (icon) cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: #fff; padding: clamp(28px, 3vw, 40px); transition: background .4s; }
.feature:hover { background: var(--cream); }
.icon-badge { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); margin-bottom: 26px; transition: transform .5s var(--ease), background .4s; }
.feature:hover .icon-badge { transform: rotate(-8deg) scale(1.06); background: var(--sand); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Product cards / carousel ---------- */
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; min-width: 0; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 1 / 1; background: var(--product-bg); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; border-top: 1px solid var(--line); }
.product-name { font-family: var(--sans); font-size: 14.5px; font-weight: 600; line-height: 1.4; margin: 0; flex: 1; letter-spacing: .005em; }
.product-body .btn { width: 100%; }

.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 18px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.icon-btn:hover { background: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.carousel-progress { height: 2px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 25%; background: var(--rose-deep); transition: transform .3s, width .3s; transform-origin: left; }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.cat-tile { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-media { aspect-ratio: 4 / 3.2; background: var(--product-bg); overflow: hidden; position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.cat-tile:hover .cat-media img { transform: scale(1.08) rotate(-2deg); }
.cat-index { position: absolute; left: 16px; top: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--rose-deep); }
.cat-body { padding: 20px 22px 24px; }
.cat-body h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.cat-body h3 svg { flex: 0 0 auto; transition: transform .35s var(--ease); }
.cat-tile:hover .cat-body h3 svg { transform: translate(3px, -3px); color: var(--rose-deep); }
.cat-body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Standard (dark) ---------- */
.standard { position: relative; overflow: hidden; }
.standard::before { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(200,156,134,.22), transparent 65%); }
.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.standard-item { padding: 36px 30px 10px 0; border-right: 1px solid rgba(255,255,255,.1); padding-left: 30px; }
.standard-item:first-child { padding-left: 0; }
.standard-item:last-child { border-right: 0; }
.standard-item .n { font-family: var(--serif); font-size: 64px; line-height: 1; margin-bottom: 18px; }
.standard-item h3 { color: #fff; margin-bottom: 10px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.standard-item p { color: #cdbdb3; font-size: 14px; margin: 0; }
.standard-logo { width: 150px; margin-bottom: 20px; opacity: .95; }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge { position: absolute; left: 22px; bottom: 22px; background: rgba(250,246,242,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 44px); }
.split-media .badge img { width: 70px; height: auto; aspect-ratio: auto; }
.split-media .badge span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.steps-list { list-style: none; padding: 0; margin: 34px 0 0; }
.steps-list li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--rose); font-style: italic; }
.steps-list h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 8px; }
.steps-list p { margin: 0; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 1px; background: repeating-linear-gradient(90deg, var(--rose) 0 6px, transparent 6px 12px); }
.t-step { position: relative; }
.t-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 1px solid var(--rose); display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: var(--rose-deep); position: relative; z-index: 1; margin-bottom: 26px; transition: background .4s, color .4s; }
.t-step:hover .t-dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-step h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.t-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Statement band ---------- */
.statement { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.statement p { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.45; color: var(--charcoal); margin: 0; }

/* ---------- Dual panels ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.panel { position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.panel:hover > img { transform: scale(1.05); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(34,23,20,.9), rgba(34,23,20,.25) 60%, rgba(34,23,20,.1)); }
.panel .body { padding: clamp(28px, 3.5vw, 48px); max-width: 560px; }
.panel h3 { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; color: #fff; margin: 12px 0 14px; letter-spacing: 0; }
.panel p { color: #eadcd4; margin-bottom: 26px; }
.panel .eyebrow { color: var(--rose-light); }

/* ---------- Editorial cards ---------- */
.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.edit-card { text-decoration: none; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: background .4s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.edit-card:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.edit-num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--rose); margin-bottom: 26px; }
.edit-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 24px; }
.edit-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.edit-card:hover .media img { transform: scale(1.06); }
.edit-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.edit-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.edit-card .text-link { align-self: flex-start; margin-top: auto; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; text-align: center; background: var(--cocoa); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 80px); isolation: isolate; }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 50% 100%, rgba(142,95,75,.55), rgba(43,30,27,.85) 60%); }
.final-cta h2 { color: #fff; font-size: clamp(40px, 6vw, 80px); margin: 18px 0 20px; }
.final-cta p { color: #eadcd4; max-width: 640px; margin: 0 auto 34px; font-size: 16.5px; }
.final-cta .btn-row { justify-content: center; }
.final-cta .eyebrow { color: var(--rose-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cocoa); color: #fff; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,20,18,.9) 0%, rgba(30,20,18,.65) 50%, rgba(30,20,18,.25) 100%); }
.page-hero .shell { padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; margin: 18px 0 22px; max-width: 900px; }
.page-hero p { color: #eadcd4; max-width: 720px; font-size: clamp(15px, 1.3vw, 17px); }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero .eyebrow { color: var(--rose-light); }
.page-hero.plain { background: var(--blush); color: var(--ink); }
.page-hero.plain::after { display: none; }
.page-hero.plain h1 { color: var(--ink); }
.page-hero.plain p { color: var(--muted); }
.page-hero.plain .eyebrow { color: var(--rose-deep); }
.page-hero.plain::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(200,156,134,.35), transparent 65%); z-index: -1; }
.breadcrumb { display: flex; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Content blocks ---------- */
.prose { font-size: 15.5px; color: var(--charcoal); }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 1.6em 0 .6em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 12px; height: 1px; background: var(--rose-deep); }
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; }
.prose ol li::before { content: counter(ol) "."; position: absolute; left: 0; top: 0; font-family: var(--serif); font-size: 19px; color: var(--rose-deep); line-height: 1.5; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--rose-deep); }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.info-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); transition: box-shadow .4s, transform .4s var(--ease); }
.info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.info-card h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 14px; }
.info-card h3 { margin: 22px 0 12px; }
.info-card p { color: var(--charcoal); }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.info-card.dark { background: var(--cocoa); color: #e8d9d0; border-color: var(--cocoa); }
.info-card.dark h2, .info-card.dark h3, .info-card.dark strong { color: #fff; }
.info-card.dark p { color: #d8c8be; }
.info-card.dark ul li::before { background: var(--rose-light); }
.info-card.accent { background: var(--blush); border-color: var(--sand); }
.card-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rose-deep); display: block; margin-bottom: 10px; }

.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e5f4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cross-list li::before { background: #f6e3de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b4a3a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dark .check-list li { border-color: rgba(255,255,255,.12); }
.dark .check-list li::before { background-color: rgba(255,255,255,.1); }

.detail-list { display: grid; gap: 14px; margin: 0; }
.detail-list div { display: grid; gap: 2px; }
.detail-list dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--rose-deep); }
.detail-list dd { margin: 0; font-size: 15.5px; }
.detail-list a { color: inherit; }
.dark .detail-list dt { color: var(--rose-light); }

.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--blush); border: 1px solid var(--sand); font-size: 13.5px; color: var(--charcoal); }
.notice svg { flex: 0 0 auto; color: var(--rose-deep); margin-top: 2px; }
.notice p { margin: 0; }

/* Services list */
.service-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .n { font-family: var(--serif); font-size: clamp(56px, 6vw, 88px); line-height: .9; color: var(--rose); font-style: italic; }
.service-row h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.service-row h3 { margin-bottom: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); }
.service-row p { color: var(--charcoal); }

/* How it works steps */
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: none; }
.hiw-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.hiw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.hiw-step .big { position: absolute; right: 18px; top: -8px; font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--blush); font-style: italic; z-index: 0; pointer-events: none; }
.hiw-step > * { position: relative; }
.hiw-step h2 { font-size: 13px; font-family: var(--sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 14px; }
.hiw-step p { margin: 0; color: var(--charcoal); font-size: 14.5px; }

/* ---------- Products page ---------- */
.filter-bar { position: sticky; top: 68px; z-index: 30; background: rgba(250,246,242,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filter-inner { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.chips::-webkit-scrollbar { display: none; }
.chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); padding-right: 40px; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .25s; white-space: nowrap; }
.chip:hover { border-color: var(--rose); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-box { position: relative; flex: 0 0 280px; }
.search-box input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 16px 0 42px; font: inherit; font-size: 13.5px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(176,128,106,.14); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cat-section { padding-top: clamp(48px, 6vw, 80px); scroll-margin-top: 150px; }
.cat-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-section-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.cat-section-head .count { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.no-results { display: none; text-align: center; padding: 80px 20px; color: var(--muted); }
.no-results.is-visible { display: block; }
.no-results h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; background: none; border: 0; padding: 26px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.3; color: var(--ink); }
.faq-q:hover { color: var(--rose-deep); }
.faq-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; width: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 26px; color: var(--muted); max-width: 720px; padding-right: 60px; }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.form-card h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 10px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2334302d' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(176,128,106,.14); }
.field input[readonly] { background: var(--blush); border-color: var(--sand); font-weight: 600; cursor: not-allowed; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4483a; }
.field .err { display: none; font-size: 12px; color: #a33d30; }
.field.has-error .err { display: block; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--charcoal); cursor: pointer; }
.checkbox input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1px solid #cbb9ad; border-radius: 6px; background: #fff; margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.checkbox input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s; }
.checkbox input:checked { background: var(--rose-deep); border-color: var(--rose-deep); }
.checkbox input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.checkbox.has-error input { border-color: #b4483a; }
.checkbox a { color: var(--rose-deep); }
.form-actions { margin-top: 10px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; animation: fadeUp .6s var(--ease); }
.form-success .tick { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); }
.form-success p { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--ink); max-width: 560px; margin: 0 auto 24px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.selected-product { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; margin-top: 22px; }
.selected-product img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.selected-product span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); font-weight: 600; }
.selected-product strong { display: block; font-size: 15px; }
.switch-link { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.switch-link a { color: var(--rose-deep); }

/* ---------- Legal layout ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.toc { position: sticky; top: 110px; font-size: 13px; }
.toc h2 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 14px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; text-decoration: none; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--rose-deep); }
.legal-meta { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 36px; }
.legal-meta strong { color: var(--rose-deep); }
.legal-body .prose h2 { scroll-margin-top: 110px; padding-top: .3em; }
.legal-body .prose > section + section { border-top: 1px solid var(--line); margin-top: 2.2em; padding-top: .6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: #d6c6bc; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(60px, 7vw, 96px) 0 clamp(40px, 5vw, 60px); }
.footer-brand img { width: 190px; margin-bottom: 26px; }
.footer-brand p { color: #c9b8ad; max-width: 440px; }
.site-footer h2 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-light); margin-bottom: 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.footer-links li { break-inside: avoid; margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: #eadcd4; transition: color .2s, padding .3s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { color: #c9b8ad; }
.footer-contact a { color: #fff; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; font-size: 12.5px; color: #b9a79c; }
.footer-disclaimer p { margin: 0; max-width: 980px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 70px 30px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #a89489; }
.footer-bottom button { background: none; border: 0; color: #eadcd4; cursor: pointer; text-decoration: underline; font-size: 12px; padding: 0; }
.footer-wordmark { font-family: var(--serif); font-size: clamp(56px, 13vw, 200px); line-height: .8; text-align: center; letter-spacing: .02em; padding-top: 10px; overflow: hidden; white-space: nowrap; user-select: none; opacity: .9; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(460px, calc(100% - 40px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(43,30,27,.2); transform: translateY(140%); transition: transform .6s var(--ease); }
.cookie-banner.is-visible { transform: none; }
.cookie-banner h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.cookie-banner p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.cookie-banner a { color: var(--rose-deep); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .btn { padding: 0 12px; font-size: 10px; letter-spacing: .12em; min-height: 42px; white-space: normal; line-height: 1.2; }
.cookie-actions .manage { grid-column: 1 / -1; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(43,30,27,.55); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; background: var(--cream); border-radius: 22px; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: clamp(24px, 4vw, 40px); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-panel h2 { font-size: 34px; margin-bottom: 10px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px; }
.pref { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.pref h3 { margin-bottom: 4px; font-size: 15px; }
.pref p { margin: 0; font-size: 13px; color: var(--muted); }
.toggle { position: relative; flex: 0 0 auto; width: 50px; height: 28px; }
.toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #d9cbc2; transition: background .25s; }
.toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .25s var(--ease); }
.toggle input:checked + span { background: var(--rose-deep); }
.toggle input:checked + span::after { transform: translateX(22px); }
.toggle input:disabled + span { opacity: .6; }
.toggle input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 2px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--rose-deep); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav a { letter-spacing: .14em; font-size: 11px; }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
}
@media (max-width: 1060px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-item { padding: 30px 24px 24px 0 !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .routine-card { min-height: 480px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { top: 68px; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .routine-grid { grid-template-columns: 1fr; }
  .routine-card { min-height: 440px; }
  .routine-card .media img { padding: 28px 28px 170px; }
  .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
  .split, .statement, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { aspect-ratio: 4 / 3.4; }
  .faq-aside { position: static; }
  .dual, .edit-grid, .info-grid, .info-grid.three { grid-template-columns: 1fr; }
  .panel { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .filter-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-box { flex: 0 0 auto; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .section-head.row { flex-direction: row; align-items: end; }
  .hero-dots { left: var(--gutter); right: auto; }
  .hero-media { left: 0; }
  .hero::after { background: linear-gradient(0deg, rgba(27,18,16,.95) 0%, rgba(27,18,16,.72) 55%, rgba(27,18,16,.3) 100%); }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .btn { min-height: 50px; padding: 10px 24px; letter-spacing: .14em; white-space: normal; text-align: center; line-height: 1.3; }
  .hero { min-height: 92vh; }
  .hero .btn-row .btn, .final-cta .btn-row .btn, .panel .btn { width: 100%; }
  .feature-grid, .cat-grid, .standard-grid, .timeline, .hiw-steps { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 78%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 14px 12px 14px; gap: 12px; }
  .product-name { font-size: 13px; }
  .product-body .btn { min-height: 42px; padding: 0 10px; font-size: 10px; letter-spacing: .1em; }
  .product-media img { padding: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .steps-list li { grid-template-columns: 56px 1fr; gap: 14px; }
  .steps-list .n { font-size: 36px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .faq-a p { padding-right: 0; }
  .announce { font-size: 9.5px; letter-spacing: .06em; }
  .announce .shell { gap: 4px; }
  .announce-track { height: 50px; }
  .faq-aside { order: 2; }
  .faq-aside .split-media { display: none; }
  .cat-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
