/* CREVIL — design tokens (Apple-inspired, brand teal from logo #005470) */
:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 6vw, 6.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #ffffff;
  --color-surface: #f5f5f7;
  --color-surface-2: #fbfbfd;
  --color-tile: #f5f5f7;
  --color-divider: #e3e3e6;
  --color-border: #d2d2d7;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-text-faint: #86868b;
  --color-text-inverse: #f5f5f7;
  --color-primary: #005470;
  --color-primary-hover: #00405a;
  --color-primary-active: #002f42;
  --color-link: #00668a;
  --color-ink: #111113;
  --color-ink-text: #f5f5f7;
  --color-ink-muted: #a1a1a6;

  --radius-sm: 0.5rem; --radius-md: 0.75rem; --radius-lg: 1.25rem; --radius-xl: 1.75rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow-md: 0 8px 24px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 24px 60px rgb(0 0 0 / 0.10);

  --content-narrow: 680px;
  --content-default: 980px;
  --content-wide: 1200px;
  --nav-h: 80px;

  /* Apple skill: system stack first (SF renders natively on Apple devices, no font file shipped), Inter for all others */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #000000;
  --color-surface: #161617;
  --color-surface-2: #1d1d1f;
  --color-tile: #f5f5f7;
  --color-divider: #2a2a2d;
  --color-border: #3a3a3c;
  --color-text: #f5f5f7;
  --color-text-muted: #a1a1a6;
  --color-text-faint: #6e6e73;
  --color-text-inverse: #1d1d1f;
  --color-primary: #3fa9cc;
  --color-primary-hover: #63bcd9;
  --color-primary-active: #2a8fb1;
  --color-link: #5fc0e0;
  --color-ink: #161617;
  --shadow-md: 0 8px 24px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 24px 60px rgb(0 0 0 / 0.5);
}

/* ---------- base additions ---------- */
body { font-feature-settings: 'cv11', 'ss01'; letter-spacing: -0.011em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2 * var(--space-6), var(--content-wide)); margin-inline: auto; }
.wrap--default { width: min(100% - 2 * var(--space-6), var(--content-default)); margin-inline: auto; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--color-text); color: var(--color-bg); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.skip:focus { top: var(--space-2); }

/* ---------- global nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.nav.is-top { background: color-mix(in srgb, #fff 60%, transparent); }
.nav.is-scrolled { border-bottom-color: color-mix(in srgb, var(--color-text) 8%, transparent); }
.nav.is-dark { background: rgb(22 22 23 / 0.72); color: #f5f5f7; border-bottom-color: rgb(255 255 255 / 0.08); }
.nav.is-dark .nav__links a, .nav.is-dark .icon-btn { color: rgb(245 245 247 / 0.85); }
.nav.is-dark .logo-light { display: none !important; }
.nav.is-dark .logo-dark { display: block !important; }
.nav__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6); }
.nav__side { display: flex; align-items: center; gap: var(--space-6); min-width: 0; }
.nav__side--right { justify-content: flex-end; }
.nav__logo { display: flex; align-items: center; justify-content: center; }
.nav__logo img { height: 60px; width: auto; }
.logo-dark { display: none !important; }
[data-theme='dark'] .logo-light { display: none !important; }
[data-theme='dark'] .logo-dark { display: block !important; }
.nav__links { display: flex; gap: var(--space-6); list-style: none; }
.nav__links a { font-size: var(--text-xs); color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.nav__links a:hover, .nav__links a[aria-current='page'] { color: var(--color-text); }
.nav__tools { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--radius-full);
  color: color-mix(in srgb, var(--color-text) 80%, transparent); font-size: var(--text-xs); gap: var(--space-1);
}
.icon-btn:hover { color: var(--color-text); background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.lang-btn { display: inline-flex; align-items: center; gap: var(--space-1); padding-inline: var(--space-3); font-weight: 500; }
.menu-btn { display: none; }

/* language sheet */
.lang-sheet {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-divider);
  clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
  transition: clip-path 420ms var(--ease-out), opacity 300ms var(--ease-out);
}
.lang-sheet.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
.lang-sheet__inner { padding-block: var(--space-10) var(--space-12); display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-12); }
.lang-sheet h2 { font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); margin-bottom: var(--space-4); letter-spacing: 0; }
.lang-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2) var(--space-6); }
.lang-grid a { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-2); font-size: var(--text-sm); font-weight: 500; border-bottom: 1px solid var(--color-divider); }
.lang-grid a span { color: var(--color-text-muted); font-weight: 400; font-size: var(--text-xs); }
.lang-grid a:hover { color: var(--color-link); }
.lang-grid a[aria-current='true'] { color: var(--color-link); }
.lang-grid--1 { grid-template-columns: 1fr; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: -0.01em;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-active); }
[data-theme='dark'] .btn--primary { color: #00151e; }
.btn--ghost { color: var(--color-link); border: 1px solid currentColor; }
.btn--ghost:hover { background: color-mix(in srgb, var(--color-link) 8%, transparent); }
.link-arrow { color: var(--color-link); font-size: var(--text-base); display: inline-flex; align-items: center; gap: var(--space-1); }
.link-arrow::after { content: '›'; font-size: 1.25em; line-height: 1; transition: transform var(--transition-interactive); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translateX(2px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-8); }

/* ---------- typography ---------- */
.eyebrow { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); letter-spacing: -0.005em; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.h-section { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.lede { font-size: var(--text-lg); color: var(--color-text-muted); font-weight: 400; line-height: 1.4; letter-spacing: -0.015em; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* ---------- hero (real product as hero, white stage) ---------- */
.hero { position: relative; background: #fff; color: #1d1d1f; padding-top: clamp(var(--space-12), 7vw, var(--space-20)); overflow: hidden; }
.hero__copy { position: relative; z-index: 2; text-align: center; will-change: transform, opacity; }
.hero__copy .eyebrow { margin-bottom: var(--space-3); color: #005470; }
.hero h1 { font-size: var(--text-hero); }
.hero h1 .muted { color: #86868b; }
.hero .lede { max-width: 34ch; margin: var(--space-5) auto var(--space-8); color: #6e6e73; }
.hero .link-arrow { color: #00668a; }
.hero .btn--primary { background: #005470; color: #fff; }
.lineup { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(var(--space-2), 2vw, var(--space-8)); height: clamp(200px, min(24vw, 34vh), 400px); margin-top: clamp(var(--space-10), 4vw, var(--space-12)); padding-bottom: var(--space-12); box-sizing: content-box; padding-inline: var(--space-4); }
.lineup__item { height: calc(var(--h, 1) * 100%); will-change: transform; }
.lineup__item img { height: 100%; width: auto; animation: float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
.lineup::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: calc(var(--space-12) - 8px); height: 18px; background: radial-gradient(closest-side, rgb(0 0 0 / 0.10), transparent); z-index: -1; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lineup__item img { animation: none; } }

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--color-divider); }
.facts__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: var(--space-8) var(--space-6); border-left: 1px solid var(--color-divider); }
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__k { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.facts__v { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

/* ---------- sections ---------- */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--surface { background: var(--color-surface); }
.section__head { margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.section__head .lede { margin-top: var(--space-4); max-width: 46ch; }
.section__head.center .lede { margin-inline: auto; }

/* ---------- brand tiles (Apple homepage tiles) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface);
  min-height: clamp(420px, 46vw, 580px); display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(var(--space-8), 4vw, var(--space-12)) var(--space-6) 0; isolation: isolate;
}
.section--surface .tile { background: var(--color-bg); }
.tile h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.025em; }
.tile p { font-size: var(--text-base); color: var(--color-text-muted); margin-top: var(--space-2); max-width: 32ch; }
.tile .cta-row { margin-top: var(--space-5); gap: var(--space-3) var(--space-6); }
.tile .btn { min-height: 36px; padding: var(--space-2) var(--space-5); }
.tile__img { margin-top: auto; width: 100%; display: flex; justify-content: center; }
.tile__img img { width: min(78%, 420px); height: auto; mix-blend-mode: multiply; transition: transform 900ms var(--ease-out); }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile--light { background: var(--color-tile) !important; color: #1d1d1f; }
.tile--light p { color: #6e6e73; }
.tile--light .link-arrow { color: #00668a; }
.tile--photo { color: #fff; padding: 0; justify-content: flex-end; }
.tile--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease-out); }
.tile--photo:hover > img { transform: scale(1.03); }
.tile--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.15) 50%, transparent 70%); }
.tile--photo .tile__body { padding: var(--space-10) var(--space-8); width: 100%; }
.tile--photo p { color: rgb(255 255 255 / 0.82); margin-inline: auto; }
.tile--photo .link-arrow { color: #fff; }
.tile--photo .btn--primary { background: #fff; color: #111; }
.tile--wide { grid-column: span 2; min-height: clamp(460px, 44vw, 620px); }

.brand-list { margin-top: var(--space-12); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); list-style: none; }
.brand-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full); border: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 500;
}
.brand-list a:hover { border-color: var(--color-text); }
.brand-list .count { color: var(--color-text-muted); font-weight: 400; margin-left: var(--space-2); font-variant-numeric: tabular-nums; }

/* ---------- pinned chapter: formula to shelf ---------- */
.chapter { position: relative; height: 420vh; }
.chapter__scene { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; display: grid; align-items: center; }
.chapter__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.chapter__copy .h-section { max-width: 14ch; }
.ch-steps { list-style: none; margin-top: var(--space-10); display: grid; gap: var(--space-2); }
.ch-step { padding: var(--space-4) 0 var(--space-4) var(--space-5); border-left: 2px solid var(--color-divider); opacity: 0.35; transition: opacity 500ms var(--ease-out), border-color 500ms var(--ease-out); }
.ch-step.is-active { opacity: 1; border-left-color: var(--color-primary); }
.ch-step h3 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
.ch-step h3 .num { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 500; margin-right: var(--space-3); font-variant-numeric: tabular-nums; }
.ch-step p { color: var(--color-text-muted); margin-top: var(--space-1); font-size: var(--text-sm); max-width: 40ch; }
.ch-progress { height: 2px; background: var(--color-divider); border-radius: 2px; margin-top: var(--space-8); overflow: hidden; max-width: 320px; }
.ch-progress span { display: block; height: 100%; background: var(--color-primary); transform-origin: left; transform: scaleX(0); }
.ch-media { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - var(--space-24)); width: 100%; margin-left: auto; border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.ch-media figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 700ms var(--ease-out), transform 1200ms var(--ease-out); }
.ch-media figure.is-active { opacity: 1; transform: scale(1); }
.ch-media img { width: 100%; height: 100%; object-fit: cover; }
.ch-media figure.contain img { object-fit: contain; padding: 12%; }

/* ---------- product rail ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-8); }
.rail-ctrl { display: flex; gap: var(--space-2); }
.rail-ctrl button { width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface); display: grid; place-items: center; color: var(--color-text); }
.rail-ctrl button:hover { background: var(--color-divider); }
.rail-ctrl button:disabled { opacity: 0.35; cursor: default; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 320px); gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--space-8);
  padding-inline: max(var(--space-6), calc((100vw - var(--content-wide)) / 2)); scroll-padding-inline: max(var(--space-6), calc((100vw - var(--content-wide)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; border-radius: var(--radius-lg); background: var(--color-bg); overflow: hidden;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.section--surface .card { background: var(--color-bg); }
.card__img { background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: var(--space-6); }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__brand { font-size: var(--text-xs); color: var(--color-primary); font-weight: 600; }
.card__title { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.card__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: auto; padding-top: var(--space-2); }

/* ---------- private label: the ONE dark chapter (theme morph) ---------- */
.morph { background: var(--morph-bg, var(--color-bg)); color: var(--morph-fg, var(--color-text)); transition: none; }
.pl { padding-block: clamp(var(--space-20), 10vw, var(--space-32)); text-align: center; }
.pl .eyebrow { color: #63bcd9; }
.pl .h-section { font-size: var(--text-3xl); color: inherit; }
.pl__lede { color: #a1a1a6; font-size: var(--text-lg); margin: var(--space-5) auto var(--space-8); max-width: 40ch; }
.pl__media { margin-top: clamp(var(--space-12), 6vw, var(--space-20)); border-radius: var(--radius-xl); overflow: hidden; clip-path: inset(var(--clip, 12%) var(--clip, 12%) round 28px); will-change: clip-path; }
.pl__media img { width: 100%; height: auto; aspect-ratio: 1400 / 933; object-fit: cover; transform: scale(var(--zoom, 1.12)); will-change: transform; }
.pl-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); text-align: left; }
.pl-list li { border-top: 1px solid #3a3a3c; padding-top: var(--space-4); }
.pl-list strong { display: block; font-size: var(--text-base); font-weight: 600; color: #f5f5f7; }
.pl-list span { font-size: var(--text-sm); color: #a1a1a6; }
.pl .btn--primary { background: #f5f5f7; color: #1d1d1f; }
.pl .btn--primary:hover { background: #fff; }
.pl .link-arrow { color: #63bcd9; }

/* ---------- duo cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.duo .tile { min-height: clamp(420px, 40vw, 540px); }

/* ---------- quote ---------- */
.quote { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; max-width: 22ch; }
.quote-by { margin-top: var(--space-6); color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- footer ---------- */
.footer { background: var(--color-surface); color: var(--color-text-muted); font-size: var(--text-xs); padding-block: var(--space-12) var(--space-8); }
.footer__note { padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-divider); line-height: 1.5; max-width: none; }
.footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); padding-block: var(--space-8); }
.footer h3 { font-size: var(--text-xs); color: var(--color-text); font-weight: 600; margin-bottom: var(--space-3); letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer a:hover { color: var(--color-text); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__bottom { display: flex; flex-direction: column-reverse; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--color-divider); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; }

/* ---------- draft badge ---------- */
.draft { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 60; font-size: var(--text-xs); background: var(--color-text); color: var(--color-bg); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); box-shadow: var(--shadow-md); }

/* ---------- clip-path text wipe ---------- */
.wipe { clip-path: inset(-0.2em -0.1em 100% -0.1em); transform: translateY(0.25em); transition: clip-path 1100ms var(--ease-out), transform 1100ms var(--ease-out); }
.wipe.is-in { clip-path: inset(-0.2em -0.1em -0.25em -0.1em); transform: none; }
@media (prefers-reduced-motion: reduce) { .wipe { clip-path: none; transform: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .menu-btn { display: inline-grid; }
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .lang-sheet__inner { grid-template-columns: 1fr; gap: var(--space-8); }
}
@media (max-width: 767px) {
  .tiles, .duo { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .pl-list { grid-template-columns: 1fr 1fr; }
  .lineup__item:nth-child(1), .lineup__item:nth-child(5) { display: none; }
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .rail-ctrl { display: none; }
  .facts__item { padding: var(--space-6) var(--space-4); }
}

/* mobile menu */
.mnav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 48; background: var(--color-bg); padding: var(--space-8) var(--space-6); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out); }
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav ul { list-style: none; display: grid; gap: var(--space-1); }
.mnav a { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.025em; padding-block: var(--space-2); }

@media (max-width: 900px) {
  .chapter { height: auto; }
  .chapter__scene { position: static; height: auto; padding-block: var(--space-20); }
  .chapter__grid { grid-template-columns: 1fr; }
  .ch-media { aspect-ratio: 4 / 3; max-height: none; order: -1; }
  .ch-step { opacity: 1; }
  .ch-progress { display: none; }
}

/* nav over the white hero in dark theme */
[data-theme='dark'] .home .nav:not(.is-scrolled) { background: rgb(255 255 255 / 0.72); color: #1d1d1f; }
[data-theme='dark'] .home .nav:not(.is-scrolled) .nav__links a, [data-theme='dark'] .home .nav:not(.is-scrolled) .icon-btn { color: rgb(29 29 31 / 0.8); }
[data-theme='dark'] .home .nav:not(.is-scrolled) .logo-light { display: block !important; }
[data-theme='dark'] .home .nav:not(.is-scrolled) .logo-dark { display: none !important; }
.pl-list strong { color: inherit; }
@media (max-width: 767px) { .lineup { height: 180px; } }
.hero__copy p { margin-inline: auto; }

@media (max-width: 767px) { .nav__logo img { height: 32px; } :root { --nav-h: 56px; } }

/* TBSC promo banner */
.promo-banner { background: #f4f4f2; }
.promo-banner__link { display: block; max-width: 1920px; margin: 0 auto; }
.promo-banner img { display: block; width: 100%; height: auto; }

/* Floating WhatsApp button */
.wa-fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .18), 0 2px 6px rgb(0 0 0 / .12); transition: transform .2s ease, box-shadow .2s ease; }
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgb(0 0 0 / .22); color: #fff; }
.wa-fab:focus-visible { outline: 3px solid #0f7a45; outline-offset: 3px; }
@media (max-width: 720px) { .wa-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; } }
@media print { .wa-fab { display: none; } }

/* ---------- video hero ---------- */
.vhero { position: relative; isolation: isolate; overflow: hidden; background: #111; color: #fff;
  height: clamp(480px, 56vw, calc(100svh - var(--nav-h))); min-height: 480px; display: flex; align-items: flex-end; }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: vhero-zoom 14s ease-out both; }
.vhero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .05) 35%, rgb(0 0 0 / .55) 100%), linear-gradient(90deg, rgb(0 0 0 / .35), transparent 60%); }
.vhero__copy { padding-bottom: clamp(var(--space-10), 6vw, var(--space-20)); }
.vhero__copy .eyebrow { color: rgb(255 255 255 / .85); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.vhero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.04; color: #fff; max-width: 14ch; text-wrap: balance; text-shadow: 0 1px 24px rgb(0 0 0 / .25); }
.vhero .lede { color: rgb(255 255 255 / .88); max-width: 38ch; margin: var(--space-4) 0 var(--space-6); }
.vhero__btn { background: #fff; color: #1d1d1f; border-radius: 999px; }
.vhero__btn:hover { background: #f0f0f0; color: #1d1d1f; }
.vhero__link { color: #fff; }
.vhero__toggle { position: absolute; right: clamp(16px, 3vw, 40px); top: clamp(16px, 2vw, 28px); width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); background: rgb(0 0 0 / .25); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vhero__toggle .i-play { display: none; }
.vhero.is-paused .vhero__toggle .i-play { display: block; }
.vhero.is-paused .vhero__toggle .i-pause { display: none; }
@keyframes vhero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 700px) {
  .vhero { height: calc(100svh - var(--nav-h) - 72px); min-height: 520px; max-height: 760px; }
  .vhero__copy { padding-bottom: var(--space-12); }
  .vhero .lede { font-size: 1rem; }

}
@media (prefers-reduced-motion: reduce) { .vhero__video { animation: none; } }
.hero--lineup { padding-top: clamp(var(--space-12), 6vw, var(--space-16)); }
.hero--lineup h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.vhero .cta-row { justify-content: flex-start; }
.tile__img--photo img { mix-blend-mode: normal; border-radius: var(--radius-lg, 18px); object-fit: cover; }
.tile__img--photo { padding-block: clamp(20px, 2.5vw, 32px) clamp(20px, 3vw, 40px); }
.tile__img--video video { display: block; width: min(78%, 420px); height: auto; aspect-ratio: 640 / 580; object-fit: cover; border-radius: var(--radius-lg, 18px); background: #eceae6; }
.tile__img--photo img { aspect-ratio: 800 / 725; }

/* DECIEM-style collage tiles: light image, dark text */
.tile--collage { color: #111; background: #fff; }
.tile--collage::after { background: linear-gradient(to top, rgb(255 255 255 / 0.96) 0%, rgb(255 255 255 / 0.7) 32%, transparent 55%); }
.tile--collage > img { object-position: center top; }
.tile--collage p { color: #4a4a4a; }
.tile--collage .link-arrow { color: #005470; }
.tile--collage .btn--primary { background: #005470; color: #fff; }

/* Private label CTA banner with models */
.plcta { background: #fff; color: #1d1d1f; display: grid; grid-template-columns: 1fr minmax(0, 36rem) 1fr; align-items: center; gap: var(--space-8); overflow: hidden; }
.plcta__img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.plcta__img--l { object-position: right top; }
.plcta__img--r { object-position: left top; }
.plcta__text { text-align: center; padding: var(--space-16) 0; }
.plcta__text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: var(--space-5); }
.plcta__text p { color: #424245; font-size: 1.0625rem; line-height: 1.55; max-width: 34rem; margin: 0 auto var(--space-8); }
.plcta__btns { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
@media (max-width: 900px) {
  .plcta { grid-template-columns: 1fr 1fr; gap: 0; }
  .plcta__text { grid-column: 1 / -1; grid-row: 1; padding: var(--space-12) var(--space-5) var(--space-8); }
  .plcta__img { max-height: 320px; aspect-ratio: 3 / 4; }
}

/* video hero carousel */
.vhero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease-out), visibility 0s linear 900ms; isolation: isolate; }
.vhero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease-out), visibility 0s; }
.vhero__slide > .vhero__copy { flex: 0 0 auto; }
.vhero h2.display { font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1.05; color: #fff; max-width: 15ch; text-wrap: balance; }
.vhero__slide--light { color: #1d1d1f; }
.vhero__slide--light .vhero__shade { background: linear-gradient(90deg, rgb(230 234 236 / .85) 0%, rgb(230 234 236 / .55) 32%, transparent 58%); }
.vhero__slide--light .vhero__video { object-position: 70% center; }
.vhero__slide--light h2.display { color: #1d1d1f; text-shadow: none; }
.vhero__slide--light .eyebrow { color: #005470; }
.vhero__slide--light .lede { color: #3a3a3c; }
.vhero__slide--light .vhero__btn { background: #1d1d1f; color: #fff; }
.vhero__slide--light .vhero__btn:hover { background: #000; color: #fff; }
.vhero__nav { position: absolute; z-index: 3; right: calc(clamp(16px, 3vw, 40px) + 48px); top: calc(clamp(16px, 2vw, 28px) - 3px); display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 999px; background: rgb(0 0 0 / .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vhero__arrow { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.vhero__arrow:hover { background: rgb(255 255 255 / .15); }
.vhero__dots { display: flex; gap: 6px; }
.vhero__dots button { width: 34px; height: 30px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.vhero__dots span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .35); overflow: hidden; position: relative; }
.vhero__dots [aria-selected="true"] span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(1); }
.vhero.is-ticking .vhero__dots [aria-selected="true"] span::after { animation: vdot var(--vdur, 8s) linear both; }
@keyframes vdot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vhero__toggle { z-index: 3; }
@media (max-width: 700px) {
  .vhero__slide--light .vhero__shade { background: linear-gradient(180deg, transparent 25%, rgb(230 234 236 / .8) 62%, rgb(230 234 236 / .95) 100%); }
  .vhero__slide--light .vhero__video { object-position: center; }
  .vhero__slide > .vhero__copy { padding-bottom: var(--space-10); }
}
@media (prefers-reduced-motion: reduce) { .vhero__slide { transition: none; } }

/* facts: card layout with icons */
.facts { border-bottom: 0; padding: var(--space-12) 0; }
.facts__list { gap: var(--space-4); }
.facts__item, .facts__item:first-child { position: relative; border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--color-surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.facts__item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(0,0,0,.25); border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-divider)); }
.facts__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); margin-bottom: var(--space-5); }
.facts__k { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 11px; color: var(--color-primary); }
.facts__v { font-size: var(--text-base); line-height: 1.35; }
@media (max-width: 1023px) {
  .facts__item:nth-child(3), .facts__item:nth-child(n+3) { border: 1px solid var(--color-divider); padding: var(--space-6); }
}
@media (max-width: 767px) {
  .facts { padding: var(--space-8) 0; }
  .facts__list { gap: var(--space-3); }
  .facts__item, .facts__item:first-child, .facts__item:nth-child(n+3) { padding: var(--space-5) var(--space-4); }
}

/* ---------- footer v2 ---------- */
.footer { font-size: var(--text-sm); padding-block: var(--space-16) var(--space-8); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-10); border-bottom: 1px solid var(--color-divider); }
.footer__logo img { width: 150px; height: auto; }
.footer__brand p { margin-top: var(--space-4); max-width: 38ch; line-height: 1.6; }
.footer__social { margin-top: var(--space-6) !important; display: flex !important; gap: var(--space-2) !important; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-divider); background: var(--color-bg); color: var(--color-text); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.footer__social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; text-decoration: none; transform: translateY(-2px); }
.footer__contact { background: var(--color-bg); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-8); }
.footer__contact ul { gap: var(--space-3) !important; }
.footer__contact li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.5; color: var(--color-text); }
.footer__contact li > span:first-child { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.footer__contact li > :last-child { padding-top: 5px; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.footer__wa { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; color: var(--color-text); }
.footer__wa span { display: inline-flex; color: #25d366; }
.footer__cols { grid-template-columns: repeat(4, 1fr); gap: var(--space-8); padding-block: var(--space-10); }
.footer h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--color-primary); margin-bottom: var(--space-4); }
.footer__cols a { transition: color .2s; }
.footer__cols a:hover { color: var(--color-text); text-decoration: none; }
.footer__all { color: var(--color-primary); font-weight: 500; }
.footer__note { border-top: 1px solid var(--color-divider); border-bottom: 0; padding: var(--space-5) 0 0; font-size: var(--text-xs); }
.footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 0; padding-top: var(--space-3); font-size: var(--text-xs); }
@media (max-width: 1023px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .footer { padding-block: var(--space-12) var(--space-8); }
  .footer__contact { padding: var(--space-5); }
  .footer__cols { gap: var(--space-8) var(--space-4); }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
.footer ul.footer__legal { display: flex !important; flex-wrap: wrap; gap: var(--space-2) var(--space-5) !important; }
.footer__vc span { color: var(--color-primary); }
.footer__cta { flex-wrap: wrap; }
.mnav { overflow-y: auto; }
.mnav__cta { display: grid; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.mnav__cta .btn { justify-content: center; gap: var(--space-2); font-family: var(--font-body, inherit); font-size: var(--text-base); font-weight: 600; letter-spacing: 0; padding-block: 14px; display: inline-flex; align-items: center; }

/* hero slide 2 – ELAINE PERINE copper peptides (AI film) */
.vhero__slide--ep .vhero__shade { background: linear-gradient(90deg, rgb(6 20 28 / .78) 0%, rgb(6 20 28 / .45) 34%, transparent 60%); }
.vhero__slide--ep .vhero__video { object-position: 65% center; }
@media (max-width: 700px) { .vhero__slide--ep .vhero__shade { background: linear-gradient(0deg, rgb(6 20 28 / .85) 0%, rgb(6 20 28 / .5) 40%, transparent 70%); } }

/* newsletter pop-up */
.nlp { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.nlp[hidden] { display: none; }
.nlp__backdrop { position: absolute; inset: 0; background: rgb(10 12 14 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.nlp__card { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: #f7f7f7; color: #111; box-shadow: 0 30px 80px rgb(0 0 0 / .35); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); outline: none; }
.nlp.is-open .nlp__backdrop { opacity: 1; }
.nlp.is-open .nlp__card { opacity: 1; transform: none; }
.nlp__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; transition: background .15s; }
.nlp__x:hover { background: rgb(255 255 255 / .25); }
.nlp__x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nlp__media { aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.nlp__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.nlp__body { padding: 28px 32px 30px; }
.nlp__title { margin: 0 0 10px; font-size: 1.6rem; line-height: 1.1; font-weight: 700; letter-spacing: .02em; color: #111; }
.nlp__text { margin: 0 0 18px; font-size: 1rem; line-height: 1.45; color: #222; }
.nlp__row { display: flex; gap: 8px; }
.nlp__row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #c9c9c9; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 1rem; }
.nlp__row input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 1px #111; }
.nlp__btn { height: 46px; padding: 0 20px; border: 0; background: #111; color: #fff; font: inherit; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background .15s; }
.nlp__btn:hover { background: #333; }
.nlp__btn:disabled { opacity: .6; cursor: default; }
.nlp__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .8rem; line-height: 1.45; color: #555; cursor: pointer; }
.nlp__consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: #111; }
.nlp__consent a, .nlp__link { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.nlp__link { background: none; border: 0; padding: 0; font: inherit; font-size: 1rem; cursor: pointer; }
.nlp__status { margin: 10px 0 0; min-height: 1em; font-size: .85rem; color: #555; }
.nlp__status:empty { display: none; }
.nlp__status.is-error { color: #b3261e; }
.nlp__hp, .nlp__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.nlp-lock { overflow: hidden; }
@media (max-width: 480px) {
  .nlp { padding: 12px; align-items: end; }
  .nlp__media { aspect-ratio: 16 / 11; }
  .nlp__body { padding: 22px 20px 24px; }
  .nlp__title { font-size: 1.35rem; }
  .nlp__row { flex-direction: column; }
  .nlp__row input { flex: none; width: 100%; }
  .nlp__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .nlp__card, .nlp__backdrop { transition: none; } }

/* ---------- lineup product slider (home "Our Brands. Made in Germany.") ---------- */
.lineup--slider .lineup__item { display: block; aspect-ratio: 0.82; flex: 0 0 auto; color: inherit; }
.lineup--slider .lineup__float { position: relative; display: block; width: 100%; height: 100%; animation: float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
.lineup--slider .lineup__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; animation: none; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); mix-blend-mode: multiply; }
.lineup--slider .lineup__item img.is-on { opacity: 1; transform: none; }
.lineup--slider .lineup__item:hover img.is-on { transform: translateY(-6px); }
.lineup--slider .lineup__item:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .lineup--slider .lineup__float { animation: none; } .lineup--slider .lineup__item img { transition: opacity .3s linear; transform: none; } }
@media (max-width: 767px) { .lineup--slider { gap: var(--space-3); } }

/* ---------- ELAINE PERINE Instagram slider ---------- */
.igs { padding-top: 0; }
.igs__head { display: flex; align-items: flex-end; justify-content: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-5); }
.igs__head .h-section { margin: 0; }
.igs__actions { display: flex; align-items: center; gap: var(--space-3); }
.igs__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .14); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.igs__nav:hover { background: rgb(0 0 0 / .05); border-color: rgb(0 0 0 / .3); }
.igs__viewport { position: relative; }
.igs__track { list-style: none; margin: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--space-4), calc((100vw - 1200px) / 2)); scroll-padding-inline: max(var(--space-4), calc((100vw - 1200px) / 2)); }
.igs__track::-webkit-scrollbar { display: none; }
.igs__item { flex: 0 0 calc((min(100vw, 1200px) - 4 * 12px) / 5); scroll-snap-align: start; min-width: 200px; }
.igs__card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: #f1f1f1; }
.igs__card img, .igs__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.igs__card video { opacity: 0; }
.igs__card video.is-playing { opacity: 1; }
.igs__card:hover img, .igs__card:hover video { transform: scale(1.04); }
.igs__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .18), transparent 35%); pointer-events: none; }
.igs__badge { position: absolute; top: 12px; right: 12px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: rgb(0 0 0 / .5); color: #fff; display: grid; place-items: center; }
.igs__card:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.igs__modal { position: fixed; inset: 0; z-index: 1000; background: rgb(0 0 0 / .72); display: grid; place-items: center; padding: var(--space-4); }
.igs__modal[hidden] { display: none; }
.igs__modal-box { position: relative; width: min(420px, 100%); max-height: 92vh; background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.igs__frame iframe { display: block; width: 100%; height: min(760px, 80vh); border: 0; }
.igs__open { display: block; text-align: center; padding: 12px; font-size: .9rem; border-top: 1px solid rgb(0 0 0 / .08); }
.igs__close { position: fixed; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: #111; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 900px) { .igs__item { flex-basis: calc((100vw - 2 * var(--space-4) - 12px) / 2.3); min-width: 0; } }
@media (max-width: 600px) { .igs__follow { display: none; } .igs__item { flex-basis: 62vw; } }
@media (prefers-reduced-motion: reduce) { .igs__card img, .igs__card video { transition: none; } }

/* Arabic: layout stays as in all other languages, only the text runs right-to-left */
html[data-rtl-text] :is(p, h1, h2, h3, h4, h5, h6, li, dd, dt, td, th, blockquote, figcaption, label, summary, legend, option, .btn, input, textarea) { unicode-bidi: plaintext; }
html:lang(ar) body { font-family: Inter, "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
html:lang(th) body { font-family: Inter, "Noto Sans Thai", Tahoma, system-ui, sans-serif; }
html:lang(ja) body { font-family: Inter, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; }
html:lang(zh-CN) body { font-family: Inter, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
