/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/OFL-*.txt). No third-party requests. */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff") format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-italic.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("../fonts/mrs-saint-delafield.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

/* ==========================================================================
   Alaysalee Global Sourcing — public site
   Warm ivory · deep navy · rich purple · soft lavender · editorial serif
   No build step required. ~Single request, cached immutably.
   ========================================================================== */

:root {
  --ivory: #fbf8f3;
  --ivory-2: #f6f1e9;
  --paper: #fffdf9;
  --navy: #15173d;
  --navy-2: #2a2d55;
  --ink-soft: #55587a;
  --muted: #63657f; /* WCAG AA (≥4.5:1) on ivory, paper and lavender */
  --line: #e7e1d8;
  --line-2: #ece6f8;
  --purple: #3b1fd6;
  --purple-2: #2d14b0;
  --purple-ink: #2c1aa6;
  --lavender: #ebe5fb;
  --lavender-2: #d9cdf6;
  --lavender-3: #bfaef0;
  --shadow-sm: 0 1px 2px rgba(21, 23, 61, .05), 0 2px 8px rgba(21, 23, 61, .04);
  --shadow: 0 10px 30px -12px rgba(33, 25, 96, .18), 0 2px 6px rgba(21, 23, 61, .04);
  --shadow-lg: 0 30px 60px -24px rgba(33, 25, 96, .28);
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", "Segoe Script", cursive;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--navy);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lavender-2); color: var(--navy); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.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: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 7vw, 92px) 0; position: relative; overflow-x: clip; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--ivory-2); }

/* ---- Type ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy-2);
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }
.eyebrow.purple { color: var(--purple); }
.eyebrow.no-line::after { display: none; }
.display {
  font-family: var(--serif); font-weight: 560; line-height: 1; letter-spacing: -.025em;
  font-size: clamp(40px, 5vw, 70px);
}
.h1 { font-family: var(--serif); font-weight: 560; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.025em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; letter-spacing: -.01em; }
.h4 { font: 600 16px/1.35 var(--sans); }
.accent { color: var(--purple); }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--navy-2); max-width: 36em; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.script {
  font-family: var(--script); color: var(--navy); font-size: clamp(30px, 3vw, 44px); line-height: 1;
  pointer-events: none; user-select: none; white-space: pre-line;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .lead { margin: 14px 0 0; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --bg: var(--purple); --fg: #fff; --bd: var(--purple);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 500 15px/1.2 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { --bg: var(--purple-2); --bd: var(--purple-2); box-shadow: 0 10px 24px -10px rgba(59, 31, 214, .6); transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-outline { --bg: transparent; --fg: var(--purple); --bd: var(--purple); }
.btn-outline:hover { --bg: var(--purple); --fg: #fff; --bd: var(--purple); }
.btn-light { --bg: #fff; --fg: var(--purple); --bd: #fff; }
.btn-light:hover { --bg: var(--lavender); --fg: var(--purple-2); --bd: var(--lavender); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn[disabled], .btn.is-loading { opacity: .75; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 500; font-size: 15px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Icons ------------------------------------------------------------ */
.icon { width: 22px; height: 22px; flex: none; }
.icon-circle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--lavender); color: var(--purple); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.icon-circle .icon { width: 22px; height: 22px; }
.icon-circle.lg { width: 58px; height: 58px; }
.icon-circle.lg .icon { width: 26px; height: 26px; }
.icon-circle.outline { background: transparent; border: 1.5px solid var(--lavender-2); }

/* ---- Logo ------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); }
.logo-div { width: 1px; height: 26px; background: var(--navy); opacity: .35; }
.logo-sub { font-family: var(--serif); font-size: 20px; line-height: 1; letter-spacing: -.005em; }
.logo img { height: 34px; width: auto; }
.logo .logo-mark { height: 30px; }
.site-footer .logo .logo-mark { height: 28px; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 243, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, height .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(21,23,61,.35); --header-h: 66px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--navy); padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--purple); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ivory);
  padding: 24px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.mobile-nav a.m-link { font-family: var(--serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a.m-link .icon { width: 20px; color: var(--purple); }
.mobile-nav .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }

/* ---- Decorative ------------------------------------------------------- */
.swoosh { position: absolute; pointer-events: none; z-index: 0; }
.swoosh path { fill: none; }
.lav-wash { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(40px); background: radial-gradient(closest-side, rgba(191, 174, 240, .55), rgba(191, 174, 240, 0)); }

/* ---- Media frames & placeholders --------------------------------------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--lavender); isolation: isolate; }
.frame > img, .frame > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame > img { transition: transform 1.2s var(--ease); }
.zoom:hover > img, a:hover .frame.zoom > img, .card-link:hover .frame > img { transform: scale(1.045); }
.organic { border-radius: 46% 0 0 0 / 34% 0 0 0; }
.organic-r { border-radius: 0 46% 0 0 / 0 34% 0 0; }
.organic-bl { border-radius: 0 0 0 46% / 0 0 0 34%; }
.ratio-hero { aspect-ratio: 5 / 4.2; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* Placeholders: abstract folded-textile stacks in the brand palette (shown until real photos are uploaded) */
.ph { display: block; width: 100%; height: 100%; min-height: 120px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, #efe8dc 0%, #e6dccd 100%);
}
.ph::before, .ph::after { content: ""; position: absolute; left: 12%; right: 12%; border-radius: 10px; }
.ph-fabric::before {
  top: 22%; bottom: 14%;
  background:
    repeating-linear-gradient(180deg, transparent 0 16%, rgba(0,0,0,.08) 16% 17%),
    linear-gradient(180deg, #3a3f6b 0 17%, #9b8fc4 17% 34%, #d8cbb6 34% 51%, #6e5f8f 51% 68%, #b9aee0 68% 85%, #2b2f55 85% 100%);
  box-shadow: 0 30px 40px -24px rgba(21,23,61,.45), inset 0 0 0 1px rgba(255,255,255,.1);
  border-radius: 14px 14px 10px 10px;
}
.ph-fabric::after { top: 22%; height: 7%; background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,0) 60%); }
.ph-knit { background: repeating-linear-gradient(45deg, #cfc5b6 0 6px, #d9d0c2 6px 12px), #d9d0c2; }
.ph-knit::before { inset: 18% 14%; background: repeating-linear-gradient(-45deg, rgba(43,47,85,.85) 0 5px, rgba(60,66,110,.85) 5px 10px); border-radius: 18px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.4); }
.ph-city { background: linear-gradient(180deg, #f6c9b4 0%, #c9b6e6 45%, #6d78a8 72%, #39406b 100%); }
.ph-city::before { left: 0; right: 0; bottom: 28%; height: 34%; border-radius: 0; background:
  linear-gradient(90deg, transparent 0 6%, #2f3560 6% 11%, transparent 11% 14%, #262b52 14% 22%, transparent 22% 26%, #343a68 26% 31%, transparent 31% 58%, #2a2f5a 58% 64%, transparent 64% 68%, #353b69 68% 76%, transparent 76% 80%, #2b305b 80% 88%, transparent 88%);
  clip-path: polygon(0 40%, 6% 40%, 6% 10%, 11% 10%, 11% 45%, 14% 45%, 14% 0, 22% 0, 22% 30%, 26% 30%, 26% 20%, 31% 20%, 31% 60%, 58% 60%, 58% 15%, 64% 15%, 64% 40%, 68% 40%, 68% 5%, 76% 5%, 76% 35%, 80% 35%, 80% 25%, 88% 25%, 88% 55%, 100% 55%, 100% 100%, 0 100%); }
.ph-city::after { left: 0; right: 0; bottom: 0; height: 28%; border-radius: 0; background: linear-gradient(180deg, #4b5384, #262a4d); }
.ph-sketch { background: #f4efe6; }
.ph-sketch::before { inset: 16% 22%; border-radius: 4px; background:
  linear-gradient(#8a87a8, #8a87a8) 50% 0 / 1px 100% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 22px, rgba(138,135,168,.25) 22px 23px),
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(138,135,168,.25) 22px 23px);
  border: 1px solid rgba(138,135,168,.6); }
.ph-cotton { background: radial-gradient(circle at 30% 40%, #fff 0 14%, transparent 15%), radial-gradient(circle at 62% 52%, #fff 0 16%, transparent 17%), radial-gradient(circle at 46% 70%, #f7f3ee 0 13%, transparent 14%), linear-gradient(180deg, #cdbfa9, #a89276); }
.ph-cotton::before, .ph-cotton::after { display: none; }
.ph-factory { background: linear-gradient(180deg, #e9edf2, #cfd6df); }
.ph-factory::before { inset: auto 0 0 0; height: 45%; border-radius: 0; background: repeating-linear-gradient(90deg, #8d97ab 0 18px, #b5bdcb 18px 54px); opacity: .7; }
.ph-factory::after { inset: 8% 0 auto 0; height: 8%; border-radius: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 50px, transparent 50px 90px); }
.ph-port { background: linear-gradient(180deg, #f3c7a5 0%, #9fb1cf 50%, #44507d 100%); }
.ph-port::before { left: 0; right: 0; bottom: 18%; height: 26%; border-radius: 0; background: repeating-linear-gradient(90deg, #c2533c 0 26px, #2e5f8a 26px 52px, #d8a54a 52px 78px, #4a4f7a 78px 104px); clip-path: polygon(0 30%, 100% 10%, 100% 100%, 0 100%); }
.ph-port::after { left: 0; right: 0; bottom: 0; height: 18%; border-radius: 0; background: #2d355e; }
.ph-garment { background: linear-gradient(180deg, #f1ebe2, #e4dbcd); }
.ph-garment::before { left: 30%; right: 30%; top: 16%; bottom: 10%; border-radius: 6px; background: var(--ph-color, #2b2f55);
  clip-path: polygon(22% 0, 38% 6%, 62% 6%, 78% 0, 100% 16%, 90% 34%, 80% 30%, 80% 100%, 20% 100%, 20% 30%, 10% 34%, 0 16%); box-shadow: 0 20px 30px -18px rgba(0,0,0,.4); }
.ph-garment::after { display: none; }

/* ---- Hang tag --------------------------------------------------------- */
.hang-tag {
  position: absolute; z-index: 3; width: 128px; padding: 34px 16px 22px; background: #f4ede2; color: var(--navy);
  font-family: var(--serif); font-size: 19px; line-height: 1.18; text-align: left;
  box-shadow: 0 18px 30px -16px rgba(21,23,61,.45); border-radius: 4px;
  clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  transform: rotate(-4deg);
}
.hang-tag::before { content: ""; position: absolute; top: 12px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.hang-tag::after { content: ""; display: block; width: 26px; height: 1px; background: var(--navy); margin-top: 16px; opacity: .6; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; padding-top: 12px; }
.hero-copy .display, .hero-copy .h1 { margin-bottom: 26px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-visual { position: relative; }
.hero-visual .frame { box-shadow: var(--shadow-lg); }
.hero-visual .hang-tag { left: 46%; bottom: 7%; }
.hero-visual .script { position: absolute; z-index: 3; right: 6%; top: 8%; transform: rotate(-8deg); text-align: center; }
.hero-visual .swoosh { left: -14%; bottom: -14%; width: 70%; z-index: 2; }
.hero-home .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.32fr); align-items: start; }
.hero-home .hero-visual { margin-top: 18px; }
.hero-collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .42fr); gap: 10px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr 1.25fr; gap: 10px; }
.hero-side .frame { border-radius: 14px; }
.hero-side .frame:last-child { border-radius: 14px 14px 14px 14px; }
.hero-side-caption { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 16px 18px; color: #fff; text-align: center; font: 500 13px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(16,18,48,.72)); }
.hero-side-caption strong { display: block; font-size: 17px; letter-spacing: .24em; margin-bottom: 4px; font-weight: 500; }
.hero-inner .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hero-inner .frame { aspect-ratio: 16 / 11.5; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs [aria-current] { color: var(--navy-2); }

/* ---- Cards ------------------------------------------------------------ */
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card:hover .icon-circle { background: var(--purple); color: #fff; }
.card .icon-circle { margin-bottom: 18px; }
.card h3 { font: 600 16.5px/1.3 var(--sans); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---- Services --------------------------------------------------------- */
.services { overflow: hidden; }
.services-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 460px; }
.collage .frame { border-radius: 14px; }
.collage .frame:nth-child(1) { grid-row: 1 / 2; }
.collage .frame:nth-child(2) { grid-row: 1 / 3; grid-column: 2; }
.collage .frame:nth-child(3) { grid-row: 2 / 3; }
.collage .script { position: absolute; left: -2%; bottom: 10%; z-index: 3; transform: rotate(-12deg); text-align: left; }
.collage-wrap { position: relative; }
.collage-wrap .lav-wash { width: 420px; height: 420px; left: -180px; bottom: -120px; }

/* ---- Category strip / cards -------------------------------------------- */
.cat-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-tile { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cat-tile .frame { border-radius: 0; aspect-ratio: 1 / 1; }
.cat-tile span.label { display: block; padding: 12px 14px 14px; font-size: 13.5px; font-weight: 500; }
.cat-tile span.sub { display: block; padding: 0 14px 14px; margin-top: -10px; font-size: 12px; color: var(--muted); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strip-nav { display: flex; gap: 10px; align-items: center; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--navy); transition: all .25s var(--ease); }
.round-btn .icon { width: 18px; height: 18px; }
.round-btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.round-btn.solid { background: var(--lavender); border-color: var(--lavender); color: var(--purple); }

.cat-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cat-card .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.cat-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.05; margin-bottom: 10px; }
.cat-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card:hover .link-arrow .icon { transform: translateX(4px); }
.other-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: linear-gradient(140deg, #f3eefc 0%, #ebe4fb 55%, #f6f2fd 100%); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.other-card .h2 { margin-bottom: 14px; }
.other-card p { color: var(--navy-2); max-width: 30em; }

/* ---- Why Bangladesh --------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.why-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: linear-gradient(160deg, #f7f4fd, #f0ebfb); }
.why-item { padding: 26px 22px; border-right: 1px solid rgba(191,174,240,.35); border-bottom: 1px solid rgba(191,174,240,.35); }
.why-item:nth-child(2n) { border-right: 0; }
.why-item:nth-last-child(-n+2) { border-bottom: 0; }
.why-item .icon { width: 30px; height: 30px; color: var(--purple); margin-bottom: 12px; }
.why-item h3 { font: 600 15px/1.3 var(--sans); margin-bottom: 6px; }
.why-item p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.why-image { position: relative; min-height: 340px; }
.why-image .frame { position: absolute; inset: 0; border-radius: 0; }
.why-overlay { position: absolute; right: 22px; top: 22px; z-index: 2; color: #fff; text-align: right; font: 500 12px/1.7 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.35); max-width: 200px; }

/* ---- Process ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-right: 18px; }
.step .icon-circle { width: 56px; height: 56px; background: var(--lavender); }
.step .icon-circle .icon { width: 24px; height: 24px; }
.step .num { font: 500 13px/1 var(--sans); color: var(--navy-2); margin-bottom: 6px; display: block; letter-spacing: .04em; }
.step h3 { font: 600 14.5px/1.3 var(--sans); margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 22px; width: 14px; height: 14px; border-top: 1.6px solid var(--lavender-3); border-right: 1.6px solid var(--lavender-3); transform: rotate(45deg); }
.steps-vertical { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
.steps-vertical .step { grid-template-columns: 1fr; text-align: left; }
.steps-vertical .step:not(:last-child)::after { display: none; }
.steps-vertical .step .num { font-family: var(--serif); font-size: 26px; color: var(--navy); margin: 12px 0 6px; }
.steps-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 1px; background: repeating-linear-gradient(90deg, var(--lavender-3) 0 6px, transparent 6px 12px); z-index: 0; }
.steps-vertical .icon-circle { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--ivory); }

/* ---- Split features --------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--navy-2); }
.checklist li .icon { width: 20px; height: 20px; color: var(--purple); margin-top: 2px; }
.checklist.dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); flex: none; margin-top: 9px; }
.feature-band { background: var(--ivory-2); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.feature-band .frame { border-radius: 0; height: 100%; min-height: 320px; }
.feature-band .copy { padding: clamp(28px, 4vw, 56px); align-self: center; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.duo-card.tint { background: linear-gradient(140deg, #f2edfc, #e8e0fa); border-color: transparent; }
.duo-card .frame { border-radius: 14px; aspect-ratio: 4 / 3; }
.duo-card .h3 { margin-bottom: 12px; }
.duo-card p { font-size: 14px; color: var(--ink-soft); }

/* ---- Articles --------------------------------------------------------- */
.article-card { display: flex; flex-direction: column; gap: 14px; }
.article-card .frame { aspect-ratio: 16 / 10; border-radius: 12px; }
.article-card .kicker { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.article-card h3 { font-family: var(--serif); font-size: 23px; line-height: 1.15; transition: color .3s; }
.article-card:hover h3 { color: var(--purple); }
.article-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.article-card .meta { font-size: 12.5px; color: var(--muted); }
.article-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.article-row .frame { aspect-ratio: 4 / 3; border-radius: 10px; }
.article-row h3 { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin: 6px 0 6px; }
.article-row:hover h3 { color: var(--purple); }
.featured-article { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.featured-article .frame { position: absolute; inset: 0; border-radius: 0; }
.featured-article .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,44,.05) 20%, rgba(14,16,44,.82)); }
.featured-article .copy { position: relative; z-index: 2; padding: clamp(24px, 4vw, 40px); max-width: 640px; }
.featured-article .kicker { display: inline-block; background: var(--purple); color: #fff; padding: 6px 10px; border-radius: 4px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.featured-article h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; margin-bottom: 12px; }
.featured-article p { color: rgba(255,255,255,.85); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-current="page"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.search-box { position: relative; max-width: 360px; }
.search-box input { width: 100%; padding: 12px 44px 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.search-box button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--lavender); color: var(--purple); display: grid; place-items: center; cursor: pointer; }
.search-box .icon { width: 18px; height: 18px; }

/* ---- Article page ----------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.toc h2 { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--navy-2); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-soft); border-left: 2px solid transparent; transition: all .2s; }
.toc a::before { content: counter(toc) "."; color: var(--muted); min-width: 16px; }
.toc a:hover, .toc a.is-active { color: var(--purple); background: var(--lavender); border-left-color: var(--purple); }
.prose { font-size: 17px; line-height: 1.8; color: var(--navy-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; color: var(--navy); margin-top: 1.8em; }
.prose h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-top: 1.5em; }
.prose a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--purple); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--purple); font-family: var(--serif); font-size: 22px; color: var(--navy); }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ivory-2); font-weight: 600; color: var(--navy); }
.prose .callout, .callout { padding: 18px 22px; border-radius: 12px; background: var(--lavender); border: 1px solid var(--lavender-2); font-size: 15px; }
.prose .callout-important { background: #f2edfc; border-left: 4px solid var(--purple); }
.table-wrap { overflow-x: auto; }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(150deg, #f3eefd, #ebe4fb); }
.aside-card h2 { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.aside-card p { font-size: 14px; color: var(--navy-2); }
.related h2 { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 32px 0 8px; }
.related .article-row { grid-template-columns: 76px 1fr; padding: 12px 0; }
.related .article-row h3 { font-size: 17px; margin: 0; }
.share { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.share a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--purple); }
.share a .icon { width: 16px; height: 16px; }
.share a:hover { background: var(--purple); color: #fff; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-meta .icon { width: 16px; height: 16px; }

/* ---- Product detail --------------------------------------------------- */
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.highlight { display: flex; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.3; color: var(--navy-2); }
.highlight .icon { width: 28px; height: 28px; color: var(--purple); }
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.type-tile { border-radius: 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.type-tile .frame { border-radius: 0; aspect-ratio: 1 / 1; }
.type-tile span { display: block; padding: 10px 12px; font-size: 13px; font-weight: 500; }
.option-block { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.option-block .frame { border-radius: 14px; aspect-ratio: 4 / 3.4; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 4px; font-size: 15px; font-weight: 500; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-icon { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--lavender-3); flex: none; position: relative; }
.faq-item summary .toggle { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); transition: transform .35s var(--ease), background .25s; }
.faq-item summary .toggle .icon { width: 18px; height: 18px; }
.faq-item summary:hover { color: var(--purple); }
.faq-item[open] summary .toggle { transform: rotate(45deg); background: var(--lavender); }
.faq-answer { overflow: hidden; }
.faq-answer > div { padding: 0 4px 18px 36px; color: var(--ink-soft); font-size: 15px; }
.faq-answer > div > :last-child { margin-bottom: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--lavender); color: var(--navy-2); font-size: 14px; }
.notice .icon { color: var(--purple); width: 20px; height: 20px; margin-top: 2px; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: 0; background: linear-gradient(100deg, #e6defa 0%, #f2eefb 45%, #f6f2fb 100%); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); }
.cta-band .cta-img { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
.cta-band .cta-img .frame { height: 100%; border-radius: 0; }
.cta-band .h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--navy-2); }
.cta-band .cta-action { text-align: center; }
.cta-band .cta-action small { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.cta-dark { background: linear-gradient(110deg, #1b1747 0%, #2a1d77 55%, #3b25a5 100%); color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.cta-dark .copy { padding: clamp(30px, 4vw, 52px); position: relative; z-index: 1; }
.cta-dark .copy p { color: rgba(255,255,255,.82); max-width: 32em; }
.cta-dark .frame { border-radius: 0; height: 100%; min-height: 260px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }

/* ---- Forms ------------------------------------------------------------ */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--navy); }
.field label .req { color: var(--purple); margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin: -3px 0 7px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 10px; border: 1px solid #ddd6cb; background: #fff;
  font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315173d' stroke-width='1.8'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: #807f95; }
.input:hover, .select:hover, .textarea:hover { border-color: #c9c0b3; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(59,31,214,.12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .input.is-invalid { border-color: #c2334d; box-shadow: 0 0 0 4px rgba(194,51,77,.08); }
.field .error { color: #b3243f; font-size: 13px; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.dropzone { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1.5px dashed #cfc5ee; background: #faf8ff; cursor: pointer; transition: all .25s var(--ease); position: relative; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--purple); background: var(--lavender); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon-circle { background: #fff; }
.dropzone strong { display: block; font-size: 14.5px; font-weight: 500; }
.dropzone small { color: var(--muted); font-size: 12.5px; }
.dropzone .file-name { color: var(--purple); font-weight: 500; word-break: break-all; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--navy-2); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; flex: none; margin: 2px 0 0; border: 1.5px solid #c9c0b3; border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s; }
.check input:checked { background: var(--purple); border-color: var(--purple); }
.check input:checked::after { opacity: 1; }
.check a { color: var(--purple); text-decoration: underline; }
.form-note { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.form-note .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert-error { background: #fdf0f2; color: #8e1d33; border: 1px solid #f4cfd6; }
.alert-success { background: #eefaf3; color: #1d5c3a; border: 1px solid #cbe9d7; }
.consult-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.consult-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.feature-list { display: grid; gap: 20px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.feature-list .item { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.feature-list h3 { font: 600 15px/1.3 var(--sans); margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.consult-aside .frame { aspect-ratio: 4 / 4.4; }
.consult-aside .script { position: absolute; right: 10px; bottom: 20px; transform: rotate(-10deg); color: var(--navy); }
.success-panel { text-align: center; padding: clamp(32px, 5vw, 64px); }
.success-panel .icon-circle { margin: 0 auto 20px; width: 72px; height: 72px; }
.success-panel .icon-circle .icon { width: 34px; height: 34px; }
.ref-pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--lavender); color: var(--purple-ink); font-weight: 600; letter-spacing: .06em; margin: 8px 0 20px; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 34px 0 26px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--purple); }
.footer-meta { display: flex; align-items: center; gap: 18px; color: var(--navy-2); }
.footer-meta .social { display: flex; gap: 8px; }
.footer-meta .social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); background: var(--lavender); transition: all .25s; }
.footer-meta .social a:hover { background: var(--purple); color: #fff; }
.footer-meta .social .icon { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.newsletter-inline { display: flex; gap: 8px; max-width: 420px; }
.newsletter-inline .input { min-height: 44px; border-radius: 999px; }

/* ---- Newsletter --------------------------------------------------------- */
.footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(120deg, #f3eefc, #f8f5fd); }
.newsletter-form .check { font-size: 12.5px; }
@media (max-width: 720px) { .footer-news { grid-template-columns: 1fr; } .newsletter-inline { flex-direction: column; } .newsletter-inline .btn { width: 100%; } }

/* ---- Cookie / consent ------------------------------------------------- */
.consent { position: fixed; z-index: 60; left: 20px; right: 20px; bottom: 20px; max-width: 520px; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: 14px; display: none; }
.consent.is-visible { display: block; animation: rise .5s var(--ease) both; }
.consent .btn-row { margin-top: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- Pagination ------------------------------------------------------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.pagination a:hover { border-color: var(--purple); color: var(--purple); }
.pagination [aria-current] { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination .disabled { opacity: .4; }

/* ---- Error pages ------------------------------------------------------ */
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.error-code { font-family: var(--serif); font-size: clamp(110px, 18vw, 220px); line-height: .9; color: var(--lavender-2); letter-spacing: -.04em; }
.error-page .h2 { margin: 6px 0 14px; }

/* ---- Motion ----------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.page-enter { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js .hero .reveal { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  @view-transition { navigation: none; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .article-layout .toc-col { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .step:nth-child(3n)::after { display: none; }
  .steps-vertical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-line { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .hero-home .hero-grid, .hero-inner .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 760px; }
  .services-grid, .why-grid, .split, .consult-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .why-panel { grid-template-columns: 1fr; }
  .why-image { min-height: 280px; }
  .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band .container { grid-template-columns: 1fr; text-align: left; }
  .cta-band .cta-action { text-align: left; }
  .cta-band .cta-img { width: 100%; opacity: .25; }
  .consult-aside { position: static; }
  .duo { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-dark { grid-template-columns: 1fr; }
  .cta-dark .frame { min-height: 180px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .logo .logo-mark { height: 25px; }
  .logo-sub { font-size: 17px; }
  .logo { gap: 10px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .form-grid { grid-template-columns: 1fr; }
  .grid.cats-mobile-2 { grid-template-columns: 1fr 1fr; }
  .hero-collage { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 120px; }
  .hero-side-caption { padding: 8px; font-size: 9px; letter-spacing: .14em; }
  .hero-side-caption strong { font-size: 11px; }
  .btn-row .btn { width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .collage { min-height: 320px; }
  .steps, .steps-vertical { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .why-items { grid-template-columns: 1fr 1fr; }
  .duo-card { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 110px 1fr; }
  .option-block { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .hang-tag { width: 104px; font-size: 15px; padding: 28px 12px 16px; }
  .hero-visual .script { font-size: 28px; }
  .featured-article { min-height: 360px; }
}

/* ---- Product showcase ------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery-main { aspect-ratio: 4 / 4.2; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.gallery-slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.gallery-slide.is-active { opacity: 1; position: absolute; }
.gallery-slide img, .gallery-slide .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,253,249,.92); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px; }
.gallery-thumb { width: 78px; height: 78px; flex: none; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--lavender); cursor: pointer; opacity: .7; transition: all .25s var(--ease); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--purple); }
.product-summary { padding-top: 8px; }
.showcase-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--navy-2); margin: 18px 0 0; }
.showcase-note .icon { width: 18px; height: 18px; color: var(--purple); margin-top: 2px; }
.showcase-badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(255,253,249,.92); color: var(--navy-2); font: 600 10.5px/1 var(--sans); letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; }
.product-card .kicker { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; display: block; }
.product-card h3 { font-size: 24px; }
.variants { display: grid; gap: 14px; margin-top: 22px; }
.variant-label { display: block; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 8px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.variant-options li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-bottom: 18px; font-size: 14.5px; }
.spec-group { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: 0 0 10px; }
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.product-context { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--lavender); margin-bottom: 20px; }
.product-context .frame { width: 64px; height: 64px; border-radius: 10px; flex: none; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .gallery-thumb { width: 64px; height: 64px; } }
@media (max-width: 380px) { .hero-badges { grid-template-columns: repeat(2, 1fr); } .highlights { grid-template-columns: repeat(2, 1fr); } }

/* ==== Homepage — approved design B ========================================= */

/* Entrance: copy rises in once, image unveils from the right. */
.js .hero-in { opacity: 0; transform: translateY(14px); animation: heroIn .9s var(--ease) var(--d, 0s) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes imgReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes imgSettle { to { transform: none; } }


.why-b { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.why-b-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, .95fr); gap: clamp(24px, 3.4vw, 52px); align-items: center; }
.why-b-image { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
.why-b-image .frame { aspect-ratio: 1.75 / 1; border-radius: 0 40% 40% 0 / 0 50% 50% 0; box-shadow: none; }
.why-b-copy p { color: var(--ink-soft); }
.why-b-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why-b-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.why-b-list li:last-child { border-bottom: 0; }
.why-b-list h3 { font: 600 14.5px/1.3 var(--sans); margin: 2px 0 3px; }
.why-b-list p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.icon-square { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--lavender); color: var(--purple); transition: background .35s var(--ease), color .35s var(--ease); }
.icon-square .icon { width: 20px; height: 20px; }
.why-b-list li:hover .icon-square { background: var(--purple); color: #fff; }

/* Rounded dark closing band (design B). */
.cta-band.cta-band--dark { width: min(1240px, calc(100% - 40px)); margin: clamp(8px, 2vw, 24px) auto clamp(40px, 5vw, 64px); border-radius: 30px;
  background: radial-gradient(120% 140% at 85% 0%, #5b3fd0 0%, transparent 55%), linear-gradient(100deg, #1d1850 0%, #2b1f77 50%, #3a26a6 100%); color: #fff; box-shadow: 0 30px 60px -34px rgba(43,31,119,.65); }
.cta-band.cta-band--dark .container { grid-template-columns: minmax(0, .42fr) minmax(0, 1.4fr) auto; padding-top: clamp(30px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px); }
.cta-band.cta-band--dark .cta-img { width: 30%; opacity: .9; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 96%); mask-image: linear-gradient(90deg, #000 30%, transparent 96%); }
.cta-band.cta-band--dark .h2, .cta-band.cta-band--dark .eyebrow { color: #fff; }
.cta-band.cta-band--dark .eyebrow { opacity: .78; }
.cta-band.cta-band--dark .eyebrow::after { background: rgba(255,255,255,.4); }
.cta-band.cta-band--dark p { color: rgba(255,255,255,.82); }
.cta-band.cta-band--dark .cta-action small { color: rgba(255,255,255,.68); }
.cta-band.cta-band--dark .btn { --bg: #fff; --bd: #fff; color: var(--purple); background: #fff; border-color: #fff; }
.cta-band.cta-band--dark .btn:hover { box-shadow: 0 12px 28px -12px rgba(255,255,255,.55); }
.cta-band.cta-band--dark::after { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; height: 220%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }

/* Refined hovers. */
.cat-tile .frame img, .article-card .frame img, .duo-card .frame img { transition: transform .9s var(--ease); }
.cat-tile:hover .frame img, .article-card:hover .frame img, .duo-card:hover .frame img { transform: scale(1.045); }
.btn:active { transform: translateY(0) scale(.985); }
.faq-item summary { transition: color .25s var(--ease); }
.faq-item summary:hover { color: var(--purple); }

@media (max-width: 1024px) {
  .why-b-grid { grid-template-columns: 1fr 1fr; }
  .why-b-image { grid-column: 1 / -1; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
  .why-b-image .frame { aspect-ratio: 2.2 / 1; border-radius: 0 0 40% 0 / 0 0 30% 0; }
  .cta-band.cta-band--dark .container { grid-template-columns: 1fr; }
  .cta-band.cta-band--dark .cta-img { width: 100%; opacity: .25; }
}
@media (max-width: 720px) {
  .why-b-grid { grid-template-columns: 1fr; }
  .cta-band.cta-band--dark { width: calc(100% - 24px); border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-in, .js .img-reveal, .js .img-reveal > img { animation: none; opacity: 1; transform: none; clip-path: none; }
  .cat-tile .frame img, .article-card .frame img, .duo-card .frame img { transition: none; }
}

.home-journal .article-card h3 { font-size: 19px; line-height: 1.2; }
.home-journal .article-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 0 16px; overflow: hidden; gap: 10px; }
.home-journal .article-card > :not(.frame):not(a.frame) { padding-left: 14px; padding-right: 14px; }
.home-journal .article-card .frame { border-radius: 0; }

/* Inner-page hero script: sits on the lower edge of the photo with an ivory halo so it stays legible on real photography. */
.hero-inner .hero-visual .script { top: auto; bottom: 4%; right: -3%; transform: rotate(-8deg); font-size: clamp(26px, 2.4vw, 38px);
  text-shadow: 0 0 2px rgba(251,248,243,.95), 0 0 10px rgba(251,248,243,.95), 0 0 22px rgba(251,248,243,.85); }
@media (max-width: 720px) { .hero-inner .hero-visual .script { right: 2%; } }


/* ==== Homepage hero — design B ============================================
   Copy column on the left; the photo bleeds off the right and top edges with a
   wave-shaped left edge (SVG mask), a translucent ribbon over its lower edge and
   a handwritten accent anchored to the photo. */
.hero-b { position: relative; overflow: hidden; min-height: clamp(560px, 45vw, 680px); display: flex; align-items: center;
  padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 5vw, 80px); background: radial-gradient(42% 48% at 4% 74%, rgba(191,174,240,.26), transparent 72%); }
.hero-b > .container { position: relative; z-index: 2; width: 100%; }
.hero-b-copy { max-width: min(560px, 42vw); }
.hero-b-title { font-family: var(--serif); font-weight: 580; color: var(--navy); white-space: pre-line;
  font-size: clamp(42px, 4.6vw, 68px); line-height: .97; letter-spacing: -.045em; margin: 0 0 26px; }
.hero-b-title .accent { color: var(--purple); }
.hero-b-lead { font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.6; color: var(--ink-soft); max-width: 30em; margin: 0 0 32px; }
.hero-b-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-b-badges { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, max-content); gap: 12px 26px; }
.hero-b-badges li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.25; color: var(--navy-2); }
.hero-b-badges li span:last-child { max-width: 7em; }
.hero-b-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #efe9fb; color: var(--purple); }
.hero-b-icon .icon { width: 20px; height: 20px; }
.hero-b-actions .btn { padding: 16px 26px; font-size: 15.5px; }

.hero-b-visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 57.5vw; pointer-events: none; }
.hero-b-media { position: absolute; inset: 0 0 3% 0; overflow: hidden; background: #e9e2d6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 H100 V91 C84 97 62 100 38 100 C19 97 6 84 3 63 C1 42 9 18 22 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 H100 V91 C84 97 62 100 38 100 C19 97 6 84 3 63 C1 42 9 18 22 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.hero-b-media > img, .hero-b-media > .ph { width: 100%; height: 100%; object-fit: cover; object-position: 58% 38%; display: block; }
.hero-b-ribbon { position: absolute; left: 10%; bottom: 4%; width: 74%; transform: rotate(-14deg); transform-origin: 0 100%; height: auto; z-index: 2; }
.hero-b-script { position: absolute; z-index: 3; right: 7%; bottom: 4%; transform: rotate(-14deg); text-align: left; color: var(--navy);
  font-size: clamp(30px, 3.2vw, 50px); line-height: .92;
  text-shadow: 0 0 2px rgba(251,248,243,.95), 0 0 12px rgba(251,248,243,.9), 0 0 26px rgba(251,248,243,.7); }

/* Entrance: copy rises once; the photo unveils from the right. */
.js .hero-in { opacity: 0; transform: translateY(14px); animation: heroIn .9s var(--ease) var(--d, 0s) forwards; }
.js .img-reveal { clip-path: inset(0 0 0 100%); animation: imgReveal 1.25s var(--ease) .12s forwards; }
.js .img-reveal > img { transform: scale(1.06); animation: imgSettle 1.8s var(--ease) .12s forwards; }

/* ==== About — design B ===================================================== */
.about-b { position: relative; padding: clamp(28px, 3vw, 44px) 0 clamp(20px, 2vw, 28px); }
.about-b .container::before { content: ""; display: block; height: 1px; background: linear-gradient(90deg, var(--line), transparent 85%); margin-bottom: clamp(32px, 3.5vw, 48px); }
.about-b-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.about-b-title { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(30px, 3vw, 46px); line-height: 1.06; letter-spacing: -.022em; margin: 0 0 16px; max-width: 13em; }
.about-b-copy p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; max-width: 34em; margin: 0 0 18px; }
.about-b-media { position: relative; aspect-ratio: 2.25 / 1; border-radius: 18px; overflow: hidden; background: #ece6dc;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.about-b-media > img, .about-b-media > .ph { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; transition: transform 1.2s var(--ease); }
.about-b-media:hover > img { transform: scale(1.03); }

@media (max-width: 1100px) {
  .hero-b-copy { max-width: min(520px, 46vw); }
  .hero-b-badges { grid-template-columns: repeat(2, max-content); }
  .hero-b-visual { width: 56vw; }
}
/* Tablet & mobile: copy first, then the photo inset left and bleeding right (mobile reference). */
@media (max-width: 860px) {
  .hero-b { display: flex; flex-direction: column; min-height: 0; padding: 26px 0 0; }
  .hero-b-visual { order: 2; align-self: stretch; }
  .hero-b-copy { max-width: 560px; }
  .hero-b-title { font-size: clamp(38px, 9.6vw, 56px); margin-bottom: 18px; }
  .hero-b-lead { margin-bottom: 22px; }
  .hero-b-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
  .hero-b-badges li { flex-direction: column; text-align: center; font-size: 11.5px; gap: 7px; }
  .hero-b-actions .btn { padding: 14px 22px; font-size: 15px; }
  .hero-b-ribbon { transform: none; }
  .hero-b-badges li span:last-child { max-width: none; }
  .hero-b-visual { position: relative; width: auto; margin: 28px 0 0 var(--gutter); height: clamp(280px, 78vw, 460px); }
  .hero-b-media { inset: 0 0 7% 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 H100 V100 H0 V24 C0 10 9 0 22 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0 H100 V100 H0 V24 C0 10 9 0 22 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
  .hero-b-ribbon { left: -8%; width: 78%; bottom: 0; }
  .hero-b-script { right: 6%; bottom: 10%; font-size: 30px; transform: rotate(-9deg); }
  .about-b-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-b-media { aspect-ratio: 16 / 9; margin-right: calc(-1 * var(--gutter)); border-radius: 18px 0 0 18px; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 520px) {
  .hero-b-actions .btn { width: 100%; justify-content: center; }
  .hero-b-badges li { font-size: 11px; }
  .hero-b-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-in, .js .img-reveal, .js .img-reveal > img { animation: none; opacity: 1; transform: none; clip-path: none; }
  .about-b-media > img { transition: none; }
}

/* Small phones: keep the wordmark on one line and long eyebrows tidy. */
.logo-sub { white-space: nowrap; }
@media (max-width: 380px) { .logo-sub { font-size: 15px; } .logo-div { margin: 0 8px; } }
@media (max-width: 520px) { .eyebrow { font-size: 11px; letter-spacing: .18em; } .eyebrow::after { width: 32px; flex: none; } }
/* Mobile reference: the About photo is not shown on phones (the hero photo carries the imagery). */
@media (max-width: 520px) { .about-b-media { display: none; } }

/* ==== Homepage — Stage B (design B), homepage-only classes ================= */
.hb-h2 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(26px, 2.3vw, 35px); line-height: 1.08; letter-spacing: -.022em; margin: 0; }
.hb-sub { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.hb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(22px, 2.6vw, 32px); }
.hb-head .strip-nav { gap: 10px; flex: none; }
.hb-head .strip-nav .link-arrow { margin-right: 10px; }
.hb-head > .link-arrow, .hb-head .link-arrow { white-space: nowrap; flex: none; }

/* Categories: six cards across, image ≈ 1:0.9, compact caption */
.hb-cats { padding: clamp(28px, 3vw, 44px) 0 clamp(24px, 2.6vw, 36px); }
.hb-strip { grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; }
.hb-cat { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.hb-cat-img { display: block; aspect-ratio: 1 / .9; overflow: hidden; background: #ece6dc; }
.hb-cat-img > img, .hb-cat-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.hb-cat-name { padding: 12px 14px 2px; font: 600 14px/1.3 var(--sans); color: var(--navy); }
.hb-cat-tag { padding: 0 14px 14px; font-size: 12.5px; color: var(--muted); }
.hb-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(27,31,75,.35); border-color: rgba(191,174,240,.6); }
.hb-cat:hover .hb-cat-img > img { transform: scale(1.05); }

/* Why Bangladesh: image bleeds off the left edge with a curved right side */
.hb-why { padding: clamp(20px, 2.2vw, 32px) 0; }
.hb-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr) minmax(0, .9fr); gap: clamp(26px, 3.4vw, 52px); align-items: center; }
.hb-why-img { position: relative; margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); aspect-ratio: 1.62 / 1; overflow: hidden;
  border-radius: 0 50% 50% 0 / 0 46% 54% 0; background: #d8d2e6; }
.hb-why-img > img, .hb-why-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-why-title { font-family: var(--serif); font-weight: 560; color: var(--navy); font-size: clamp(38px, 3.6vw, 54px); line-height: 1; letter-spacing: -.03em; margin: 0 0 14px; }
.hb-why-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0 0 22px; max-width: 30em; }
.hb-why-list { list-style: none; margin: 0; padding: 0 0 0 clamp(18px, 2vw, 30px); border-left: 1px solid var(--line); display: grid; gap: 16px; }
.hb-why-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.hb-why-list h3 { font: 600 14.5px/1.3 var(--sans); color: var(--navy); margin: 1px 0 3px; }
.hb-why-list p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.hb-sq { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--purple); background: #f1ecfc; border: 1px solid rgba(191,174,240,.55); transition: background .3s, color .3s; }
.hb-sq .icon { width: 19px; height: 19px; }
.hb-why-list li:hover .hb-sq { background: var(--purple); color: #fff; }

/* Process: compact single-line timeline with chevrons */
.hb-process { padding: clamp(28px, 3vw, 44px) 0 clamp(20px, 2.2vw, 30px); }
.hb-steps { list-style: none; margin: clamp(22px, 2.6vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; }
.hb-steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding-right: 26px; }
.hb-steps li:not(:last-child)::after { content: ""; position: absolute; right: 8px; top: 16px; width: 8px; height: 8px; border-top: 1.5px solid #b8a8ec; border-right: 1.5px solid #b8a8ec; transform: rotate(45deg); }
.hb-step-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #efe9fb; color: var(--purple); }
.hb-step-icon .icon { width: 19px; height: 19px; }
.hb-step-num { display: block; font: 600 12px/1 var(--sans); color: var(--navy); letter-spacing: .04em; margin: 2px 0 6px; }
.hb-steps h3 { font: 600 14px/1.3 var(--sans); color: var(--navy); margin: 0 0 4px; }
.hb-steps p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }

/* Planning (open) + Independent sourcing (lavender panel): two distinct compositions */
.hb-plan { padding: clamp(20px, 2.2vw, 32px) 0 clamp(28px, 3vw, 44px); }
.hb-plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 2.6vw, 36px); align-items: stretch; }
.hb-plan-title { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(23px, 1.95vw, 29px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; }
.hb-plan-copy p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.hb-plan-open { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 22px; align-items: center; }
.hb-plan-img { aspect-ratio: 1.25 / 1; border-radius: 16px; overflow: hidden; background: #ece6dc; box-shadow: 0 22px 40px -30px rgba(27,31,75,.45); }
.hb-plan-img > img, .hb-plan-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.hb-plan-open:hover .hb-plan-img > img { transform: scale(1.04); }
.hb-plan-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; overflow: hidden; border-radius: 22px;
  background: linear-gradient(120deg, #f1ecfd 0%, #e7defb 60%, #ddd2f8 100%); }
.hb-plan-panel .hb-plan-copy { padding: clamp(24px, 2.6vw, 36px); position: relative; z-index: 1; }
.hb-panel-img { align-self: stretch; min-height: 220px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.hb-panel-img > img, .hb-panel-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Journal + FAQ */
.hb-jf { padding: clamp(28px, 3vw, 44px) 0 clamp(32px, 3.4vw, 48px); background: linear-gradient(180deg, transparent, rgba(241,236,252,.45)); }
.hb-jf-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
.hb-jf-grid.single { grid-template-columns: 1fr; }
.hb-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hb-article { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hb-article-img { display: block; aspect-ratio: 1.6 / 1; overflow: hidden; background: #ece6dc; }
.hb-article-img > img, .hb-article-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.hb-article-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.hb-kicker { font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--purple); }
.hb-article-title { font-family: var(--serif); font-weight: 560; font-size: 16.5px; line-height: 1.2; color: var(--navy); letter-spacing: -.01em; }
.hb-article-ex { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-article-date { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.hb-article:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(27,31,75,.35); }
.hb-article:hover .hb-article-img > img { transform: scale(1.05); }
.hb-article:hover .hb-article-title { color: var(--purple); }
.hb-faq .hb-h2 { margin-bottom: 18px; }
.hb-faq-list { display: grid; gap: 8px; margin-bottom: 16px; }
.hb-q { border: 1px solid var(--line) !important; border-radius: 10px; background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.hb-q summary { padding: 11px 14px; font-size: 13.5px; gap: 12px; }
.hb-q summary .q-icon { width: 18px; height: 18px; }
.hb-q summary .toggle { width: 24px; height: 24px; }
.hb-q summary .toggle .icon { width: 16px; height: 16px; }
.hb-q[open] { border-color: rgba(191,174,240,.8) !important; box-shadow: 0 10px 24px -18px rgba(59,31,214,.35); }
.hb-q .faq-answer { padding: 0 16px 6px 44px; }
.hb-q .prose { font-size: 13.5px; }

/* Final CTA — rounded rich purple band (homepage uses the dark variant) */
.cta-band.cta-band--dark { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: clamp(8px, 1.6vw, 20px) auto clamp(36px, 4vw, 56px); border-radius: 28px;
  background: linear-gradient(100deg, #231a63 0%, #2d1f86 48%, #3a26a8 100%); box-shadow: 0 30px 60px -38px rgba(43,31,119,.7); }
.cta-band.cta-band--dark::before { content: ""; position: absolute; z-index: 0; right: -6%; top: -40%; width: 44%; height: 180%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(166,140,255,.32), transparent 72%); pointer-events: none; }
.cta-band.cta-band--dark::after { content: ""; position: absolute; z-index: 0; left: 18%; bottom: -46%; width: 46%; height: 90%; border-radius: 50%; border: 0;
  background: radial-gradient(closest-side, rgba(191,174,240,.22), transparent 70%); pointer-events: none; top: auto; right: auto; }
.cta-band.cta-band--dark .container { grid-template-columns: minmax(0, .36fr) minmax(0, 1.3fr) auto; padding-top: clamp(26px, 3vw, 38px); padding-bottom: clamp(26px, 3vw, 38px); }
.cta-band.cta-band--dark .cta-img { width: 27%; opacity: 1; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 45%, transparent 100%); }
.cta-band.cta-band--dark .h2 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.12; margin-bottom: 8px; max-width: 17em; }
.cta-band.cta-band--dark p { font-size: 14px; max-width: 34em; }

@media (max-width: 1100px) {
  .hb-strip { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .hb-why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hb-why-list { grid-column: 1 / -1; border-left: 0; padding-left: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-steps { grid-template-columns: repeat(var(--n, 5), minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .hb-steps::-webkit-scrollbar { display: none; }
  .hb-steps li { scroll-snap-align: start; }
  .hb-plan-grid, .hb-jf-grid { grid-template-columns: 1fr; }
}
/* Phones: considered layouts, tight transitions (mobile reference) */
@media (max-width: 860px) {
  .about-b { padding: 22px 0 26px; }
  .about-b .container::before { display: none; }
  .hero-b-visual { margin-top: 24px; }
  .hb-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .hb-head .round-btn { display: none; }
  .hb-cats { padding: 26px 0 30px; }
  .hb-strip { grid-auto-columns: 38%; gap: 10px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .hb-cat-name { padding: 9px 10px 1px; font-size: 13px; }
  .hb-cat-tag { padding: 0 10px 10px; font-size: 11.5px; }
  .hb-why { padding: 26px 0 30px; }
  .hb-why-grid { grid-template-columns: 1fr; gap: 18px; }
  .hb-why-copy { order: -1; }
  .hb-why-img { margin-right: 0; margin-left: calc(-1 * var(--gutter)); aspect-ratio: 1.75 / 1; border-radius: 0 40% 40% 0 / 0 50% 50% 0; }
  .hb-why-title { font-size: 34px; }
  .hb-why-list { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .hb-why-list li { grid-template-columns: 1fr; gap: 8px; }
  .hb-process { padding: 26px 0 30px; }
  .hb-steps { grid-template-columns: repeat(var(--n, 5), 62%); gap: 12px; margin-right: calc(-1 * var(--gutter)); }
  .hb-plan { padding: 18px 0 30px; }
  .hb-plan-open { grid-template-columns: 1fr; }
  .hb-plan-img { aspect-ratio: 2.2 / 1; }
  .hb-plan-grid { gap: 22px; }
  .hb-plan-panel { grid-template-columns: 1fr; }
  .hb-panel-img { min-height: 0; height: 150px; order: -1; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hb-jf { padding: 26px 0 30px; }
  .hb-articles { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .hb-articles::-webkit-scrollbar { display: none; }
  .hb-article { scroll-snap-align: start; }
  .cta-band.cta-band--dark { width: calc(100% - 24px); border-radius: 22px; }
  .cta-band.cta-band--dark .container { grid-template-columns: 1fr; gap: 16px; }
  .cta-band.cta-band--dark .cta-img { width: 100%; opacity: .22; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-cat, .hb-cat-img > img, .hb-article, .hb-article-img > img, .hb-plan-img > img { transition: none; }
}


/* ==== Stage C · inner pages — shared editorial system ===================== */
.ed-section { padding: clamp(36px, 4vw, 60px) 0; }
.ed-h2 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(27px, 2.5vw, 38px); line-height: 1.1; letter-spacing: -.022em; margin: 0; }
.ed-intro { margin: 10px 0 0; max-width: 46em; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.ed-center { text-align: center; margin-top: clamp(26px, 3vw, 38px); }
.ed-narrow { max-width: 860px; }
.ed-rule { display: block; width: 46px; height: 2px; background: #c9bcf2; border-radius: 2px; margin-bottom: 16px; }

/* Hero: copy left, page-specific photo shape bleeding off the right edge */
.ed-hero { position: relative; overflow: hidden; min-height: clamp(440px, 40vw, 580px); padding: 18px 0 clamp(44px, 4vw, 64px);
  background: radial-gradient(40% 55% at 6% 100%, rgba(191,174,240,.22), transparent 70%); }
.ed-hero > .container { position: relative; z-index: 2; }
.ed-hero .breadcrumbs { margin-bottom: clamp(26px, 3vw, 44px); }
.ed-hero-copy { max-width: min(600px, 44vw); }
.ed-hero-title { font-family: var(--serif); font-weight: 560; color: var(--navy); font-size: clamp(40px, 4.5vw, 66px); line-height: .98; letter-spacing: -.04em; margin: 0 0 22px; }
.ed-hero-title .accent { color: var(--purple); }
.ed-hero-lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-soft); max-width: 31em; margin: 0; }
.ed-hero-visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 54vw; pointer-events: none; }
.ed-hero-media { position: absolute; inset: 0 0 8% 0; overflow: hidden; background: #e9e2d6; }
.ed-hero-media > img, .ed-hero-media > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-hero-halo { position: absolute; z-index: 0; border-radius: 50%; background: linear-gradient(140deg, rgba(214,201,250,.85), rgba(236,229,253,.4)); filter: blur(2px); }
.ed-hero-ribbon { position: absolute; z-index: 2; left: 2%; bottom: 1%; width: 64%; height: auto; }
.ed-hero-script { position: absolute; z-index: 3; right: 7%; bottom: 8%; transform: rotate(-10deg); font-size: clamp(26px, 2.6vw, 40px); line-height: .95;
  text-shadow: 0 0 2px rgba(251,248,243,.95), 0 0 12px rgba(251,248,243,.9), 0 0 24px rgba(251,248,243,.7); }
.ed-hero-tag { position: absolute; z-index: 3; left: auto; right: 9%; bottom: 14%; transform: rotate(-8deg); }

.ed-hero--sweep .ed-hero-media { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26 0 H100 V80 C82 94 58 100 36 97 C16 93 5 78 4 56 C3 34 11 13 26 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26 0 H100 V80 C82 94 58 100 36 97 C16 93 5 78 4 56 C3 34 11 13 26 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.ed-hero--sweep .ed-hero-halo { left: 4%; bottom: 0; width: 60%; height: 34%; filter: blur(18px); opacity: .7; }

.ed-hero--blob .ed-hero-visual { top: 22px; right: 0; bottom: 18px; width: 52vw; }
.ed-hero--blob .ed-hero-media { inset: 3% 2% 6% 6%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M18 4 C34 -1 66 3 90 2 C98 2 100 9 100 18 V82 C100 94 93 100 82 98 C60 94 38 100 20 97 C6 94 0 80 1 60 C2 38 3 12 18 4 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M18 4 C34 -1 66 3 90 2 C98 2 100 9 100 18 V82 C100 94 93 100 82 98 C60 94 38 100 20 97 C6 94 0 80 1 60 C2 38 3 12 18 4 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.ed-hero--blob .ed-hero-halo { inset: -4% -6% 0 0; border-radius: 46% 54% 44% 56% / 52% 40% 60% 48%; opacity: .75; }
.ed-hero--blob .ed-hero-ribbon { left: -6%; bottom: -2%; width: 70%; }

.ed-hero--oval .ed-hero-visual { top: 12px; bottom: 14px; width: 51vw; }
.ed-hero--oval .ed-hero-media { inset: 2% 0 4% 8%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M46 2 C70 -1 92 6 99 26 C103 44 100 66 92 82 C82 98 60 101 40 98 C18 95 3 82 1 60 C-1 36 14 6 46 2 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M46 2 C70 -1 92 6 99 26 C103 44 100 66 92 82 C82 98 60 101 40 98 C18 95 3 82 1 60 C-1 36 14 6 46 2 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.ed-hero--oval .ed-hero-halo { left: 0; top: 4%; width: 74%; height: 94%; border-radius: 50%; background: none; border: 26px solid rgba(214,201,250,.6); filter: blur(1px); }
.ed-hero--oval .ed-hero-ribbon { display: none; }

/* Approach: six-step process */
.ap-steps { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); position: relative; }
.ap-steps::before { content: ""; position: absolute; left: 22px; right: calc(100% / var(--n) - 22px); top: 62px; height: 1px; background: #d8cdf6; }
.ap-steps li { position: relative; padding: 0 16px 0 18px; border-left: 1px solid var(--line); }
.ap-steps li:first-child { border-left: 0; padding-left: 0; }
.ap-step-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #efe9fb; color: var(--purple); }
.ap-step-icon .icon { width: 20px; height: 20px; }
.ap-step-node { position: relative; z-index: 1; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px #ece5fc; margin: 14px 0 0 17px; }
.ap-step-num { display: block; font: 700 17px/1 var(--sans); color: var(--navy); margin: 16px 0 8px; }
.ap-steps h3 { font: 600 14px/1.3 var(--sans); color: var(--navy); margin: 0 0 6px; }
.ap-steps p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }

/* Split band: photo bleeds off the left edge */
.ed-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; background: linear-gradient(110deg, #f5f1fd 0%, #f8f5fd 60%, var(--ivory) 100%); margin: clamp(8px, 1vw, 16px) 0; }
.ed-band-img { position: relative; min-height: clamp(300px, 28vw, 420px); overflow: hidden; background: #e6dfd3; }
.ed-band-img > img, .ed-band-img > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-band-copy { align-self: center; padding: clamp(28px, 4vw, 60px) max(var(--gutter), calc((100vw - var(--container)) / 2)) clamp(28px, 4vw, 60px) clamp(28px, 4vw, 60px); max-width: 720px; }
.ed-band-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 12px 0 0; max-width: 34em; }
.ed-checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.ed-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--navy-2); }
.ed-checks .icon { width: 18px; height: 18px; color: var(--purple); margin-top: 2px; flex: none; stroke-width: 2.4; }

/* Compact editorial icon cards */
.ed-cards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 2.6vw, 32px); }
.ed-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.ed-card-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #efe9fb; color: var(--purple); margin-bottom: 14px; transition: background .3s, color .3s; }
.ed-card-icon .icon { width: 20px; height: 20px; }
.ed-card h3 { font: 600 14.5px/1.3 var(--sans); color: var(--navy); margin: 0 0 6px; }
.ed-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.ed-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(27,31,75,.35); border-color: rgba(191,174,240,.6); }
.ed-card:hover .ed-card-icon { background: var(--purple); color: #fff; }

.ed-faq .faq { margin-top: 18px; max-width: 900px; }

/* About */
.ab-story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ab-prose { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); max-width: 40em; }
.ab-place { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 22px 40px -32px rgba(27,31,75,.45); }
.ab-place-img { aspect-ratio: 1.35 / 1; overflow: hidden; background: #dfe3ef; }
.ab-place-img > img, .ab-place-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-place figcaption { padding: 12px 16px 14px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.ab-place figcaption strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.ab-role { padding-top: 0; }

/* Inner-page CTAs */
.ed-cta { position: relative; overflow: hidden; width: min(1240px, calc(100% - 2 * var(--gutter))); margin: clamp(20px, 2.6vw, 36px) auto clamp(36px, 4vw, 56px); border-radius: 26px; display: grid; min-height: 240px; }
.ed-cta-img { position: absolute; inset: 0; }
.ed-cta-img > img, .ed-cta-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-cta-copy { position: relative; z-index: 1; align-self: center; padding: clamp(28px, 3.4vw, 48px); max-width: 560px; }
.ed-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; }
.ed-cta p { font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; max-width: 32em; }
.ed-cta small { display: block; margin-top: 10px; font-size: 12.5px; opacity: .75; }
.ed-cta--dark-right { background: #221a5e; color: #fff; }
.ed-cta--dark-right .ed-cta-img { left: 38%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
.ed-cta--dark-right::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #221a5e 30%, rgba(34,26,94,.55) 62%, rgba(34,26,94,.25)); pointer-events: none; }
.ed-cta--dark-right h2 { color: #fff; }
.ed-cta--dark-right p { color: rgba(255,255,255,.82); }
.ed-cta--dark-right .btn { background: #fff; border-color: #fff; color: var(--purple); }
.ed-cta--split-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(120deg, #efe9fc, #e6ddfa); }
.ed-cta--split-left .ed-cta-img { position: relative; inset: auto; min-height: 260px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H84 C96 18 100 36 92 58 C86 76 92 90 100 100 H0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H84 C96 18 100 36 92 58 C86 76 92 90 100 100 H0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.ed-cta--split-left .ed-cta-copy { padding-left: clamp(20px, 2.4vw, 36px); }
.ed-cta--split-left h2 { color: var(--navy); }
.ed-cta--split-left p { color: var(--ink-soft); }

@media (max-width: 1100px) {
  .ap-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .ap-steps::before { display: none; }
  .ap-steps li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .ed-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ed-hero { display: flex; flex-direction: column; min-height: 0; padding: 14px 0 0; }
  .ed-hero .breadcrumbs { margin-bottom: 16px; }
  .ed-hero-copy { max-width: none; }
  .ed-hero-title { font-size: clamp(38px, 10.6vw, 50px); }
  .ed-hero-visual, .ed-hero--blob .ed-hero-visual, .ed-hero--oval .ed-hero-visual { order: 2; align-self: stretch; position: relative; inset: auto; width: auto; height: clamp(220px, 62vw, 380px); margin: 22px 0 0 var(--gutter); }
  .ed-hero-media, .ed-hero--blob .ed-hero-media, .ed-hero--oval .ed-hero-media { inset: 0 0 6% 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M18 0 H100 V100 H0 V22 C0 9 8 0 18 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M18 0 H100 V100 H0 V22 C0 9 8 0 18 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
  .ed-hero-halo, .ed-hero--oval .ed-hero-halo { display: none; }
  .ed-hero-ribbon { width: 80%; left: -8%; }
  .ed-hero-script { font-size: 28px; right: 6%; }
  .ed-hero-tag { right: 6%; bottom: 12%; transform: rotate(-6deg) scale(.82); }
  .ed-section { padding: 30px 0; }
  .ap-steps { grid-template-columns: 1fr; row-gap: 0; }
  .ap-steps li, .ap-steps li:nth-child(3n+1) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .ap-steps li:first-child { border-top: 0; }
  .ap-step-icon { grid-row: 1 / span 3; }
  .ap-step-node { display: none; }
  .ap-step-num { margin: 0 0 4px; font-size: 14px; }
  .ed-band { grid-template-columns: 1fr; }
  .ed-band-img { min-height: 210px; }
  .ed-band-copy { padding: 26px var(--gutter) 30px; }
  .ed-cards { gap: 10px; }
  .ed-card { padding: 16px 14px; }
  .ab-story-grid { grid-template-columns: 1fr; }
  .ab-place { max-width: none; }
  .ab-place-img { aspect-ratio: 2 / 1; }
  .ed-cta { width: calc(100% - 24px); border-radius: 20px; }
  .ed-cta--dark-right .ed-cta-img { left: 0; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .ed-cta--split-left { grid-template-columns: 1fr; }
  .ed-cta--split-left .ed-cta-img { min-height: 170px; -webkit-mask: none; mask: none; }
}
@media (max-width: 420px) { .ed-cards { grid-template-columns: 1fr 1fr; } .ed-card p { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .ed-card { transition: none; } }

/* ==== Stage C · group 2 ==================================================== */
.ed-h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 16px; }
.ed-cta--light-right { background: linear-gradient(110deg, #f1ecfd 0%, #ebe4fb 55%, #e4dbf9 100%); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 230px; }
.ed-cta--light-right .ed-cta-img { position: relative; inset: auto; order: 2; min-height: 230px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.ed-cta--light-right h2 { color: var(--navy); }
.ed-cta--light-right p { color: var(--ink-soft); }

/* A · Product categories: editorial grid */
.pc-grid-wrap { padding-top: clamp(12px, 1.6vw, 24px); }
.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.pc-card-img { display: block; aspect-ratio: 1.45 / 1; overflow: hidden; background: #ece6dc; }
.pc-card-img > img, .pc-card-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.pc-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pc-card-title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
.pc-card-text { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.pc-card .link-arrow { font-size: 13.5px; margin-top: 4px; }
.pc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(27,31,75,.4); border-color: rgba(191,174,240,.6); }
.pc-card:hover .pc-card-img > img { transform: scale(1.05); }
.pc-other { grid-column: span 2; position: relative; overflow: hidden; border-radius: 18px; display: flex; align-items: center; padding: clamp(28px, 3.4vw, 52px);
  background: radial-gradient(70% 90% at 100% 100%, rgba(191,174,240,.55), transparent 70%), linear-gradient(130deg, #f4f0fd, #ebe3fb); }
.pc-other > div { position: relative; z-index: 1; max-width: 30em; }
.pc-other h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); margin: 0 0 10px; }
.pc-other p { color: var(--ink-soft); margin: 0 0 22px; }
.pc-other-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--purple); }
.pc-other-link .icon { width: 15px; height: 15px; }
.pc-other-ribbon { position: absolute; right: -8%; bottom: -14%; width: 70%; opacity: .8; }

/* B · Category landing page */
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cl-highlights { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, max-content); gap: 10px 22px; }
.cl-highlights li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; color: var(--navy-2); max-width: 11em; }
.cl-types { border-top: 1px solid var(--line); }
.cl-type-row { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; margin-top: clamp(20px, 2.4vw, 30px); }
.cl-type { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cl-type-img { display: block; aspect-ratio: 1.1 / 1; overflow: hidden; background: #ece6dc; }
.cl-type-img > img, .cl-type-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-type figcaption { padding: 11px 14px; font: 600 13px/1.3 var(--sans); color: var(--navy); }
.cl-type:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -24px rgba(27,31,75,.35); }
.cl-pair-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cl-tint { background: linear-gradient(180deg, rgba(241,236,252,.55), rgba(241,236,252,.2)); }
.cl-option-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.cl-option-img { display: block; aspect-ratio: 1.4 / 1; border-radius: 12px; overflow: hidden; background: #ece6dc; }
.cl-option-img > img, .cl-option-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-option-img.cl-tall { aspect-ratio: .78 / 1; }
.cl-option-img.cl-wide { aspect-ratio: 2.6 / 1; margin-bottom: 14px; }
.cl-option p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.cl-option .link-arrow { font-size: 14px; }
.cl-dots { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.cl-dots li { position: relative; padding-left: 16px; font-size: 14px; color: var(--navy-2); }
.cl-dots li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.cl-note { grid-column: 1 / -1; margin: 0; }
.cl-showcase { padding-top: 0; }

/* C · Product showcase page (portfolio) */
.ps-hero { padding: 18px 0 clamp(36px, 4vw, 56px); background: radial-gradient(45% 60% at 100% 0%, rgba(191,174,240,.25), transparent 70%); }
.ps-hero .breadcrumbs { margin-bottom: clamp(18px, 2vw, 28px); }
.ps-hero .product-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); }
.ps-hero .gallery-main { aspect-ratio: 1.08 / 1; border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(27,31,75,.5); }
.ps-hero .gallery-thumb { width: 84px; height: 84px; border-radius: 12px; }
.ps-title { font-family: var(--serif); font-weight: 560; color: var(--navy); font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin: 6px 0 14px; }
.ps-summary { position: sticky; top: calc(var(--header-h) + 18px); }
.ps-summary .variants { margin-top: 22px; display: grid; gap: 14px; }
.ps-ask { margin-top: 24px; padding: 20px 22px 18px; border-radius: 16px; background: linear-gradient(130deg, #f4f0fd, #ece5fb); border: 1px solid rgba(191,174,240,.55); }
.ps-ask-title { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--navy); margin: 0 0 4px; }
.ps-ask-text { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; }
.ps-overview-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ps-overview .prose { font-size: 16px; }
.ps-specs { background: linear-gradient(180deg, rgba(241,236,252,.45), transparent); }
.ps-specs-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ps-specs-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.ps-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ps-guide .ed-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 8px; }

@media (max-width: 1100px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-other { grid-column: 1 / -1; }
  .cl-highlights { grid-template-columns: repeat(2, max-content); }
  .cl-type-row { grid-template-columns: repeat(var(--n, 5), minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cl-type { scroll-snap-align: start; }
}
@media (max-width: 860px) {
  .pc-grid { gap: 12px; }
  .pc-card-body { padding: 12px 12px 14px; gap: 6px; }
  .pc-card-title { font-size: 18px; }
  .pc-card-text { font-size: 12.5px; }
  .pc-card .link-arrow { font-size: 12.5px; }
  .cl-actions .btn { width: 100%; justify-content: center; }
  .cl-highlights { grid-template-columns: 1fr; gap: 10px; }
  .cl-type-row { grid-template-columns: repeat(var(--n, 5), 44%); gap: 10px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .cl-pair-grid { grid-template-columns: 1fr; gap: 30px; }
  .cl-option-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
  .ed-cta--light-right { grid-template-columns: 1fr; }
  .ed-cta--light-right .ed-cta-img { order: -1; min-height: 160px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .ps-hero .product-grid { grid-template-columns: 1fr; }
  .ps-summary { position: static; }
  .ps-hero .gallery-thumb { width: 64px; height: 64px; }
  .ps-overview-grid, .ps-specs-grid { grid-template-columns: 1fr; gap: 16px; }
  .ps-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .pc-grid { grid-template-columns: 1fr 1fr; } .pc-card-text { display: none; } }
@media (prefers-reduced-motion: reduce) { .pc-card, .pc-card-img > img, .cl-type { transition: none; } }
.ed-hero--blob .ed-hero-script { right: 12%; bottom: 9%; }
.cl-option-row:has(.cl-tall) { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); }
.ed-cta--light-right .ed-cta-img > img, .ed-cta--light-right .ed-cta-img > .ph { position: absolute; inset: 0; }
.ed-cta--light-right .ed-cta-img { min-height: 0; }
@media (max-width: 860px) { .ed-cta--light-right .ed-cta-img { min-height: 160px; } .cl-option-row:has(.cl-tall) { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); } }
@media (max-width: 860px) {
  .pc-hide-sm { display: none; }
  .cl-highlights li { max-width: none; }
  .ed-hero--blob .ed-hero-script { display: none; }
}

/* ==== Stage C · group 3 ==================================================== */
/* Journal listing */
.jr-wrap { padding-top: clamp(14px, 1.8vw, 26px); }
.jr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.jr-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.jr-topics a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; color: var(--navy-2); transition: all .25s var(--ease); }
.jr-topics a:hover { border-color: var(--lavender-3); color: var(--purple); }
.jr-topics a[aria-current="page"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.jr-search { display: flex; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 4px 4px 16px; min-width: min(300px, 100%); }
.jr-search input { border: 0; background: none; outline: none; font: inherit; font-size: 14px; flex: 1; min-width: 0; padding: 6px 0; }
.jr-search button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--lavender); color: var(--purple); display: grid; place-items: center; cursor: pointer; }
.jr-search button .icon { width: 17px; height: 17px; }
.jr-search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(59,31,214,.12); }
.jr-status { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.jr-empty { margin-top: 28px; padding: 36px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--paper); }
.jr-lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(22px, 2.6vw, 32px); }
.jr-feature { position: relative; display: block; min-height: clamp(320px, 30vw, 420px); border-radius: 18px; overflow: hidden; background: #2a2552; color: #fff; }
.jr-feature-img { position: absolute; inset: 0; }
.jr-feature-img > img, .jr-feature-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.jr-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,20,62,.86) 0%, rgba(24,20,62,.62) 48%, rgba(24,20,62,.08) 100%); }
.jr-feature-copy { position: absolute; z-index: 1; left: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(22px, 2.6vw, 36px); max-width: 560px; }
.jr-tag { align-self: flex-start; padding: 5px 10px; border-radius: 6px; background: var(--purple); font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.jr-feature-title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.jr-feature-ex { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.jr-feature .btn { align-self: flex-start; }
.jr-feature:hover .jr-feature-img > img { transform: scale(1.04); }
.jr-side { display: grid; gap: 12px; align-content: start; }
.jr-row { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.jr-row:last-child { border-bottom: 0; }
.jr-row-img { display: block; aspect-ratio: 1.35 / 1; border-radius: 10px; overflow: hidden; background: #ece6dc; }
.jr-row-img > img, .jr-row-img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.jr-row:hover .jr-row-img > img { transform: scale(1.05); }
.jr-kicker { display: block; font: 600 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: 6px; }
.jr-row-title { display: block; font-family: var(--serif); font-weight: 500; font-size: 17.5px; line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.jr-row .link-arrow { font-size: 13px; }
.jr-row:hover .jr-row-title { color: var(--purple); }
.jr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(26px, 3vw, 40px); }
.jr-pages { margin-top: 28px; }

/* Article */
.ar-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }
.ar-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ar-meta .icon { width: 15px; height: 15px; color: var(--purple); }
.ar-body { padding-top: clamp(20px, 2.4vw, 32px); }
.ar-prose { font-size: 16.5px; line-height: 1.75; }
.ar-prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.1vw, 31px); line-height: 1.15; letter-spacing: -.015em; margin: 1.8em 0 .55em; scroll-margin-top: calc(var(--header-h) + 20px); }
.ar-prose h2:first-child { margin-top: 0; }
.ar-prose h3 { font: 600 18px/1.3 var(--sans); margin: 1.5em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.ar-prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; font-size: 14.5px; margin: 1.4em 0; }
.ar-prose th, .ar-prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.ar-prose thead th { background: #f1ecfc; font-weight: 600; color: var(--navy); }
.ar-prose img { border-radius: 14px; }

/* Consultation */
.cs-form-wrap { padding-top: clamp(16px, 2vw, 28px); }
.cs-next { padding-top: clamp(20px, 2.4vw, 32px); }
.cs-steps { list-style: none; margin: clamp(20px, 2.4vw, 30px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.cs-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.cs-step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font: 600 15px/1 var(--sans); }
.cs-steps h3 { font: 600 14.5px/1.3 var(--sans); color: var(--navy); margin: 2px 0 6px; }
.cs-steps p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.cs-next-note { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.cs-next-note .icon { width: 17px; height: 17px; color: var(--purple); }

@media (max-width: 1100px) {
  .jr-lead { grid-template-columns: 1fr; }
  .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .jr-bar { flex-direction: column; align-items: stretch; }
  .jr-topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .jr-topics::-webkit-scrollbar { display: none; }
  .jr-topics a { white-space: nowrap; }
  .jr-feature { min-height: 360px; }
  .jr-feature::after { background: linear-gradient(0deg, rgba(24,20,62,.9) 0%, rgba(24,20,62,.55) 55%, rgba(24,20,62,.1) 100%); }
  .jr-row { grid-template-columns: 104px 1fr; gap: 12px; }
  .jr-row-title { font-size: 16px; }
  .jr-grid { grid-template-columns: 1fr; }
  .ar-prose { font-size: 16px; }
  .cs-steps { grid-template-columns: 1fr; gap: 10px; }
  .cs-steps li { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .jr-feature-img > img, .jr-row-img > img { transition: none; } }
.jr-bar, .jr-topics, .jr-search { min-width: 0; max-width: 100%; }
.jr-wrap .container > * { min-width: 0; }
.form-card label.check, .field label.check { display: flex; align-items: flex-start; gap: 12px; }
.form-card label.check > span { flex: 1; }
.ed-hero--sweep .ed-hero-script { right: 10%; bottom: 10%; }
.toc-mobile { display: none; }
@media (max-width: 1024px) {
  .toc-mobile { display: block; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  .toc-mobile summary { cursor: pointer; padding: 13px 16px; font: 600 14px/1.3 var(--sans); color: var(--navy); list-style: none; display: flex; gap: 8px; align-items: center; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; margin-left: auto; color: var(--purple); font-size: 18px; }
  .toc-mobile[open] summary::after { content: "−"; }
  .toc-mobile ol { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 8px; font-size: 14px; }
  .toc-mobile a { color: var(--ink-soft); }
}
@media (max-width: 520px) { .ed-hero-script { display: none; } }
/* Consultation: lavender sidebar panel alongside the form; inset help card (approved consultation sheet) */
.cs-form-wrap .consult-aside { align-self: stretch; padding: clamp(18px, 2vw, 26px); border-radius: 20px; background: linear-gradient(170deg, #f3effd 0%, #ece5fb 100%); display: flex; flex-direction: column; gap: 20px; }
.cs-form-wrap .consult-aside .feature-list { background: none; border: 0; box-shadow: none; padding: 0; }
.cs-form-wrap .consult-aside .frame { flex: 1; min-height: 320px; border-radius: 16px; }
.ed-band.cs-help { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: clamp(8px, 1.4vw, 20px) auto clamp(36px, 4vw, 56px); border-radius: 22px; overflow: hidden; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: linear-gradient(110deg, #f1ecfd, #f7f4fd); }
.ed-band.cs-help .ed-band-copy { padding: clamp(24px, 3vw, 44px); }
@media (max-width: 860px) { .ed-band.cs-help { width: calc(100% - 24px); grid-template-columns: 1fr; } .cs-form-wrap .consult-aside .frame { min-height: 220px; } }
.cs-form-wrap .consult-aside { position: static; }
.cs-form-wrap .consult-aside > .reveal:last-child { flex: 1; display: flex; flex-direction: column; }
.cs-form-wrap .consult-aside > .reveal:last-child .frame { flex: 1; }

/* ==== Refinements after Group 3 approval ================================== */
/* Compact editorial hero (Journal, Article, Consultation): content reaches the first viewport */
.ed-hero--compact { min-height: clamp(320px, 27vw, 400px); padding-bottom: clamp(26px, 2.6vw, 40px); }
.ed-hero--compact .breadcrumbs { margin-bottom: clamp(16px, 1.8vw, 26px); }
.ed-hero--compact .ed-hero-title { font-size: clamp(36px, 3.7vw, 54px); margin-bottom: 16px; }
.ed-hero--compact .ed-hero-visual { width: 46vw; }
.ed-hero--compact .ed-hero-copy { max-width: min(640px, 50vw); }
.jr-wrap, .cs-form-wrap { padding-top: clamp(4px, .8vw, 12px); }
.jr-lead:not(:has(.jr-side)) { grid-template-columns: 1fr; }
.jr-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.jr-grid .hb-article-title { font-size: 17px; }
.jr-grid .hb-article-body { padding: 14px 16px 16px; gap: 7px; }

/* Article reading comfort */
.ar-prose { line-height: 1.8; max-width: 70ch; }
.ar-prose p, .ar-prose li { margin-bottom: 1.05em; }
.ar-prose li { margin-bottom: .5em; }

/* Product options (product page + consultation) */
.ps-options { margin-top: 20px; }
.ps-options-title { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); margin: 0 0 12px; }
.ps-options-title span, .ps-opt legend span, .ps-opt-label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12.5px; }
.ps-opt { border: 0; padding: 0; margin: 0 0 14px; }
.ps-opt legend, .ps-opt-label { display: block; font: 600 13.5px/1.3 var(--sans); color: var(--navy); margin-bottom: 8px; padding: 0; }
.ps-opt-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-choice { position: relative; cursor: pointer; }
.ps-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ps-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; color: var(--navy-2); transition: all .2s var(--ease); }
.ps-choice input:checked + span { border-color: var(--purple); background: #efe9fb; color: var(--purple); font-weight: 600; }
.ps-choice input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.ps-choice input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.ps-choice:hover span { border-color: var(--lavender-3); }
.ps-choice-clear span { border-style: dashed; color: var(--muted); }
.ps-options-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }

/* Consultation form grouping and readability */
.cs-required-note { font-size: 13px; color: var(--ink-soft); margin: -8px 0 14px; }
.cs-group { margin: 6px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.cs-group:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.cs-group span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cs-options { border: 1px solid rgba(191,174,240,.7); border-radius: 14px; padding: 14px 16px 12px; background: #faf8fe; margin: 0; }
.cs-options legend { padding: 0 6px; font: 600 14px/1.3 var(--sans); color: var(--navy); }
.cs-options legend span { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cs-options.has-error { border-color: #c0392b; }
.form-card .field label { font-size: 14px; }
.form-card .field .error { font-size: 13.5px; }
.form-card .field.has-error .input, .form-card .field.has-error .select, .form-card .field.has-error .textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
@media (max-width: 860px) {
  .ed-hero--compact .ed-hero-copy { max-width: none; }
  .ed-hero--compact .ed-hero-visual { width: auto; height: clamp(180px, 50vw, 300px); }
  .form-card .input, .form-card .select, .form-card .textarea { font-size: 16px; } /* no iOS zoom; readable */
  .ps-choice span { min-height: 44px; }
}
.ed-hero--compact .ed-hero-script { right: 15%; bottom: 12%; font-size: clamp(24px, 2.2vw, 34px); }
