/* ============================================================
   style.css — lkdhinnovations.com
   Single global stylesheet
   ============================================================
   STRUCTURE
   1.  CSS Custom Properties (all design tokens)
   2.  Reset & Base
   3.  Typography Scale
   4.  Font Faces (Grift, Canela, TestDieGrotesk, Work Sans, Domine)
   5.  FOUC Prevention
   6.  Navigation
   7.  Hero Section
   8.  About / Mission Section
   9.  Brand Section (shared)
   10. RE:YOU Section
   11. Pacagen Section
   12. Stories Section
   13. Contact / Footer Section
   14. Scroll Animations
   15. Responsive — 768px breakpoint
   16. Responsive — 480px breakpoint
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* — Base palette — */
  --color-black:      #000000;
  --color-white:      #ffffff;
  --color-silver-lt:  #e0e0e0;
  --color-silver:     #c0c0c0;
  --color-silver-dk:  #a0a0a0;
  --color-muted:      #6b6b6b;
  --color-ink:        #333333;
  --color-divider:    var(--color-silver-lt);

  /* — Dark surfaces — */
  --surface-dark:   #080808;
  --surface-raised: #111111;
  --glass-dark:     rgba(18, 18, 22, 0.5);

  /* — Alpha scale (white / black overlays, borders, text) — */
  --white-a06: rgba(255, 255, 255, 0.06);
  --white-a10: rgba(255, 255, 255, 0.1);
  --white-a20: rgba(255, 255, 255, 0.2);
  --white-a40: rgba(255, 255, 255, 0.4);
  --white-a55: rgba(255, 255, 255, 0.55);
  --white-a70: rgba(255, 255, 255, 0.7);
  --white-a85: rgba(255, 255, 255, 0.85);
  --white-a95: rgba(255, 255, 255, 0.95);
  --black-a20: rgba(0, 0, 0, 0.2);
  --black-a30: rgba(0, 0, 0, 0.3);
  --black-a50: rgba(0, 0, 0, 0.5);
  --black-a60: rgba(0, 0, 0, 0.6);
  --black-a70: rgba(0, 0, 0, 0.7);
  --black-a90: rgba(0, 0, 0, 0.9);

  /* — RE:YOU brand — */
  --reyou-maroon:     #5d2a2c;
  --reyou-gold:       #b59156;
  --reyou-ivory:      #f9f5f3;
  --reyou-blush:      #fffbfb;
  --reyou-sand:       #ede0d8;
  --reyou-gold-lt:    #c9a96e;
  --reyou-gold-hi:    #f0d898;
  --reyou-gold-warm:  #e8c97a;
  --reyou-gold-dk:    #a07840;
  --reyou-gold-metal: conic-gradient(
    from var(--btn-angle, 0deg),
    var(--reyou-gold-lt) 0%, var(--reyou-gold-hi) 20%, var(--reyou-gold) 40%,
    var(--reyou-gold-warm) 60%, var(--reyou-gold-dk) 80%, var(--reyou-gold-lt) 100%
  );

  /* — Pacagen brand — */
  --pacagen-navy:   #032d70;
  --pacagen-blue:   #044eb7;
  --pacagen-dark:   #0f294d;
  --pacagen-deep:   #021f50;
  --pacagen-bright: #1a6ef5;
  --pacagen-sky:    #7aadff;
  --pacagen-tint:   #e8f0ff;
  --pacagen-glow:   rgba(4, 78, 183, 0.22);

  /* — Fonts — */
  --font-display:  'Grift', 'Inter', Arial, Helvetica, sans-serif;
  --font-canela:   'Canela', Georgia, serif;
  --font-grotesk:  'TestDieGrotesk', 'Grift', Arial, sans-serif;
  --font-worksans: 'Work Sans', 'Grift', Arial, sans-serif;
  --font-domine:   'Domine', Georgia, serif;

  /* — Font weights — */
  --weight-thin:       100;
  --weight-extralight: 200;
  --weight-light:      300;
  --weight-regular:    400;
  --weight-medium:     500;
  --weight-semibold:   600;
  --weight-bold:       700;
  --weight-extrabold:  800;
  --weight-black:      900;

  /* — Type scale: fluid — */
  --text-display:    clamp(2.5rem, 5vw, 4.5rem);
  --text-section-lg: clamp(3rem, 6vw, 5.5rem);
  --text-section:    clamp(2rem, 3.5vw, 3rem);
  --text-section-sm: clamp(1.5rem, 3vw, 2rem);
  --text-h3:         clamp(1.25rem, 2vw, 1.75rem);
  --text-lead:       clamp(1rem, 1.5vw, 1.25rem);

  /* — Type scale: fixed (sm/base/xl/2xl match Tailwind defaults) — */
  --text-2xl:     1.5rem;
  --text-xl:      1.25rem;
  --text-body:    1.0625rem;
  --text-base:    1rem;
  --text-sm:      0.875rem;
  --text-meta:    0.8125rem;
  --text-eyebrow: 0.75rem;
  --text-label:   0.6875rem;
  --text-xs:      0.625rem;

  /* — Line height scale (same at every breakpoint) — */
  --leading-none:    1;
  --leading-tight:   1.1;
  --leading-snug:    1.3;
  --leading-compact: 1.4;
  --leading-relaxed: 1.6;
  --leading-loose:   1.7;

  /* — Line height roles (step down one on mobile) — */
  --lh-prose:    var(--leading-loose);
  --lh-prose-sm: var(--leading-compact);

  /* — Letter spacing — */
  --tracking-tight:  -0.03em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-slight: 0.05em;
  --tracking-wide:   0.1em;
  --tracking-wider:  0.15em;
  --tracking-widest: 0.3em;

  /* — Spacing — */
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 8rem;

  /* — Layout — */
  --page-x:        7vw;
  --max-width:     1200px;
  --content-width: 800px;
  --nav-height:    68px;
  /* % resolves at the use site, so content caps at 1440px and centres. */
  --section-x:     max(var(--page-x), calc((100% - 1440px) / 2));

  /* — Radius — */
  --radius-sm:   5px;
  --radius-pill: 9999px;

  /* — Z-index layers — */
  --z-info-drawer: 198;
  --z-drawer:      199;
  --z-header:      200;
  --z-modal:       10000;

  /* — Motion — */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast:  0.2s;
  --dur-quick: 0.25s;
  --dur-base:  0.3s;
  --dur-slow:  0.5s;

  /* — Blur levels — */
  --blur-sm: blur(8px) saturate(130%);
  --blur-lg: blur(24px) saturate(150%);

  /* — Dot patterns — */
  --dot-dark:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='199' viewBox='0 0 100 199'%3E%3Cg fill='%231a1a1a' fill-opacity='1'%3E%3Cpath d='M0 199V0h1v1.99L100 199h-1.12L1 4.22V199H0zM100 2h-.12l-1-2H100v2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  --dot-white:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='199' viewBox='0 0 100 199'%3E%3Cg fill='%23f4f4f4' fill-opacity='0.8'%3E%3Cpath d='M0 199V0h1v1.99L100 199h-1.12L1 4.22V199H0zM100 2h-.12l-1-2H100v2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-body);
  line-height: var(--lh-prose);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-h3); }

p {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
}

/* ============================================================
   4. FONT FACES (Grift)
   ============================================================ */
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-ExtraLightItalic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-ExtraBoldItalic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('/assets/fonts/Grift-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   4b. FONT FACES — RE:YOU (Canela + TestDieGrotesk)
   ============================================================ */
@font-face {
  font-family: 'Canela';
  src: url('/assets/fonts/Canela-Light-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Canela';
  src: url('/assets/fonts/Canela-LightItalic-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Canela';
  src: url('/assets/fonts/Canela-Regular-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TestDieGrotesk';
  src: url('/assets/fonts/TestDieGrotesk-A-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TestDieGrotesk';
  src: url('/assets/fonts/TestDieGrotesk-A-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TestDieGrotesk';
  src: url('/assets/fonts/TestDieGrotesk-A-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   4c. FONT FACES — Pacagen (Work Sans + Domine)
   ============================================================ */
@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-subset.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-italics-subset.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Domine';
  src: url('/assets/fonts/DomineVariable.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ============================================================
   5. FOUC PREVENTION
   ============================================================ */
body.fouc-guard {
  visibility: hidden;
  opacity: 0;
}

/* ============================================================
   6. NAVIGATION — floating circle button
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 20px;
  pointer-events: none;
}

.nav-menu-toggle,
.btn-close {
  pointer-events: all;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--black-a30);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--white-a20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-base);
}

.nav-menu-toggle:focus-visible,
.btn-close:focus-visible {
  outline: 2px solid var(--white-a55);
  outline-offset: 3px;
}

/* Clip-circle hover fill — grows from cursor position */
.nav-menu-toggle::after,
.btn-close::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-black);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path var(--dur-slow) var(--ease-out);
  pointer-events: none;
}

.nav-menu-toggle:hover::after,
.btn-close:hover::after {
  clip-path: circle(150% at var(--mx, 50%) var(--my, 50%));
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-white);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), opacity var(--dur-quick);
  position: relative;
  z-index: 1;
}

/* Hamburger → × when drawer open */
.nav-menu-toggle.is-open .toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-toggle.is-open .toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-menu-toggle.is-open .toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Standalone close button — same × geometry as the open nav toggle, ~70% size */
.btn-close {
  width: 36px;
  height: 36px;
}
.btn-close .toggle-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
}
.btn-close .toggle-bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.btn-close .toggle-bar:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile drawer — dim backdrop */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: transparent;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.mobile-drawer.is-open {
  opacity: 1;
  background: var(--black-a60);
}

/* Sliding panel */
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: var(--glass-dark);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-left: 1px solid var(--white-a10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: 4rem 3rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
}

.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.mobile-drawer .nav-link,
.mobile-drawer .nav-cta {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-silver-dk);
  transition: color var(--dur-fast);
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-cta:hover {
  color: var(--color-white);
}

.drawer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-xl);
}

.drawer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-a20);
  color: var(--white-a55);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
  flex-shrink: 0;
}

.drawer-social-icon:hover {
  color: var(--color-white);
  border-color: var(--white-a40);
  background: var(--white-a06);
}

.drawer-social-icon svg { display: block; }


/* ============================================================
   7. HERO SECTION
   ============================================================ */
.site-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background-color: var(--color-black);
  background-image: var(--dot-dark);
}

#glass-canvas {
  /* Liquid-metal shader focal point, in normalized shader coordinates. */
  --liquid-metal-center-x: -1.2;
  --liquid-metal-center-y: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: clamp(220px, min(30vw, 46svh), 400px);
  height: clamp(220px, min(30vw, 46svh), 400px);
  display: block;
  touch-action: none;
  -webkit-mask-image: url('/assets/images/LKDH_stacked_mask.svg');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('/assets/images/LKDH_stacked_mask.svg');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 7vh;
  pointer-events: none;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-silver-dk);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: hero-fade-up 1s 1.2s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-tight);
  text-align: center;
  color: var(--color-white);
  opacity: 0;
  animation: hero-fade-up 1s 1.4s var(--ease-out) forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: var(--weight-light);
  color: var(--color-silver-lt);
}

.hero-sub {
  margin: 1.25rem 2rem 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
  opacity: 0;
  animation: hero-fade-up 1s 1.6s var(--ease-out) forwards;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-white);
  animation: scroll-bounce 2.5s ease-in-out infinite, hero-fade-in 1s 2.2s forwards;
  opacity: 0;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes hero-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   8. ABOUT / MISSION SECTION
   ============================================================ */
.about-section {
  background-color: var(--color-white);
  background-image: var(--dot-white);
  color: var(--color-black);
  padding: var(--space-2xl) var(--space-md);
}

.about-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.about-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-lg);
  color: var(--color-black);
}

.about-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  color: var(--color-ink);
  line-height: var(--lh-prose);
  margin-bottom: var(--space-lg);
}

.about-brands {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.btn-LKDH {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 1rem 3rem;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--dur-quick), border-color var(--dur-quick);
}

.btn-LKDH::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-black);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path var(--dur-slow) var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.btn-LKDH:hover::after {
  clip-path: circle(150% at var(--mx, 50%) var(--my, 50%));
}

.btn-LKDH:hover {
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-LKDH--pill {
  border-radius: var(--radius-pill);
}

/* Info drawer — reuses .mobile-drawer backdrop + .drawer-panel slide mechanics */
#info-drawer {
  z-index: var(--z-info-drawer);
}
.info-drawer-panel {
  justify-content: flex-start !important;
  padding-top: 3.5rem !important;
  overflow-y: auto;
}

.info-drawer-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.info-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.info-drawer-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--white-a55);
}

.info-drawer-headline {
  font-family: var(--font-display);
  font-size: var(--text-section-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.info-drawer-body {
  font-family: var(--font-display);
  font-size: var(--text-body);
  color: var(--white-a70);
  line-height: var(--lh-prose);
}

.info-drawer-divider {
  border: none;
  border-top: 1px solid var(--white-a10);
  margin: 0.25rem 0;
}

.info-drawer-product-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--white-a20);
  color: var(--white-a70);
}

.info-drawer-manuscript-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--white-a70);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.info-drawer-manuscript-link:hover {
  color: var(--white-a95);
}


/* ============================================================
   8b. BRANDS INTRO SECTION
   ============================================================ */
.brands-intro-section {
  padding: var(--space-xl) var(--section-x);
  text-align: center;
}

.brands-intro-inner {
  max-width: 750px;
  margin: 0 auto;
}

.brands-intro-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.brands-intro-title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-section);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--color-white);
}


/* ============================================================
   9. BRAND SECTION (shared)
   ============================================================ */
.brand-section {
  padding: var(--space-2xl) var(--section-x);
}

.brand-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.brand-inner--reverse {
  direction: rtl;
}

.brand-inner--reverse > * {
  direction: ltr;
}

.brand-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.brand-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-section-lg);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
}

.brand-tagline {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: var(--text-lead);
  letter-spacing: var(--tracking-slight);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-prose-sm);
}

.brand-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid;
  transition: background var(--dur-quick), color var(--dur-quick);
}

.learn-more-btn {
  margin-top: var(--space-md);
}

.brand-cta svg {
  transition: transform var(--dur-quick);
}

.brand-cta:hover svg {
  transform: translateX(4px);
}

.visual {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.visual-placeholder {
  position: absolute;
  inset: -20% 0;
  height: 140%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-section-lg);
  letter-spacing: var(--tracking-tight);
  --parallax-y: 0px;
  --hover-scale: 1;
  transform: translateY(var(--parallax-y)) scale(var(--hover-scale));
  will-change: transform;
  transition: --hover-scale var(--dur-slow) var(--ease-out);
}

.visual-img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  --parallax-y: 0px;
  --hover-scale: 1;
  transform: translateY(var(--parallax-y)) scale(var(--hover-scale));
  will-change: transform;
  transition: transform var(--dur-slow) var(--ease-out);
}

.visual:hover .visual-img {
  --hover-scale: 1.04;
}

.visual:hover .visual-placeholder {
  --hover-scale: 1.04;
}


/* ============================================================
   10. RE:YOU SECTION
   ============================================================ */
.reyou-section {
  background: var(--reyou-ivory);
  color: var(--reyou-maroon);
}

.reyou-section .brand-kicker {
  color: var(--reyou-gold);
  letter-spacing: var(--tracking-wider);
  font-family: var(--font-grotesk);
}

.reyou-section .brand-headline {
  font-family: var(--font-canela);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-normal);
  color: var(--reyou-maroon);
  /* override shared gradient-clip */
  background: none;
  -webkit-text-fill-color: var(--reyou-maroon);
}

.reyou-section .reyou-wordmark {
  display: block;
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: var(--space-md);
}

.reyou-section .brand-tagline,
.reyou-section .brand-body {
  font-family: var(--font-grotesk);
  font-weight: var(--weight-light);
}

.reyou-section .brand-tagline {
  color: var(--reyou-maroon);
  opacity: 0.75;
}

.reyou-section .brand-body {
  color: var(--reyou-maroon);
  opacity: 0.8;
}

/* Gold-outlined CTA with rotating metallic border on hover */
.reyou-section .brand-cta {
  position: relative;
  color: var(--reyou-maroon);
  border-color: var(--reyou-gold);
  background: transparent;
}

.reyou-section .brand-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--reyou-gold-metal);
  -webkit-mask:
    linear-gradient(var(--color-white) 0 0) content-box,
    linear-gradient(var(--color-white) 0 0);
  mask:
    linear-gradient(var(--color-white) 0 0) content-box,
    linear-gradient(var(--color-white) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  margin: -2px;
  opacity: 0;
  transition: opacity var(--dur-base);
  animation: reyou-spin 3s linear infinite paused;
}

.reyou-section .brand-cta:hover {
  border-color: transparent;
  background: linear-gradient(90deg, var(--reyou-gold-lt) 0%, var(--reyou-gold-hi) 30%, var(--reyou-gold) 60%, var(--reyou-gold-dk) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reyou-section .brand-cta:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes reyou-spin {
  to { --btn-angle: 360deg; }
}

.reyou-section .visual-placeholder {
  background: linear-gradient(150deg, var(--reyou-blush) 0%, var(--reyou-sand) 100%);
  color: var(--reyou-gold);
}

/* ============================================================
   11. PACAGEN SECTION
   ============================================================ */
.pacagen-section {
  background: var(--pacagen-navy);
  color: var(--color-white);
}

.pacagen-section .brand-kicker {
  color: var(--pacagen-sky);
  letter-spacing: var(--tracking-wider);
  font-family: var(--font-worksans);
}

.pacagen-section .brand-headline {
  color: var(--color-white);
  font-family: var(--font-domine);
  /* override shared gradient-clip */
  background: none;
  -webkit-text-fill-color: var(--color-white);
}

.pacagen-section .pacagen-wordmark {
  display: block;
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: var(--space-md);
}

.pacagen-section .brand-tagline,
.pacagen-section .brand-body {
  font-family: var(--font-worksans);
}

.pacagen-section .brand-tagline { color: var(--white-a70); }
.pacagen-section .brand-body    { color: var(--white-a85);  }

/* Rounded-rectangle navy CTA, blue gradient on hover */
.pacagen-section .brand-cta {
  color: var(--color-white);
  background: var(--pacagen-blue);
  border-color: var(--pacagen-blue);
  border-radius: var(--radius-pill);
  transition: background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
}

.pacagen-section .brand-cta:hover {
  background: linear-gradient(135deg, var(--pacagen-bright) 0%, var(--pacagen-navy) 100%);
  border-color: var(--pacagen-bright);
  box-shadow: 0 8px 20px var(--pacagen-glow);
  color: var(--color-white);
}

.pacagen-section .visual-placeholder {
  background: linear-gradient(150deg, var(--pacagen-blue) 0%, var(--pacagen-deep) 100%);
  color: var(--white-a40);
}

.pacagen-section .learn-more-btn {
  border-color: var(--color-white);
  color: var(--color-white);
  border-radius: var(--radius-pill);
}

.pacagen-section .learn-more-btn::after {
  background: var(--color-white);
}

.pacagen-section .learn-more-btn:hover {
  color: var(--pacagen-blue);
  border-color: var(--color-white);
}

.reyou-section .learn-more-btn {
  border-color: var(--reyou-gold);
  color: var(--reyou-maroon);
}

.reyou-section .learn-more-btn::after {
  background: var(--reyou-maroon);
}

.reyou-section .learn-more-btn:hover {
  color: var(--color-white);
  border-color: var(--reyou-maroon);
}

/* ============================================================
   11b. RAISE THE BAR SECTION
   ============================================================ */
/* Follows the white About section, so it adds no top padding of its own. */
.raise-bar-section {
  position: relative;
  padding: 0 0 var(--space-xl);
  background-color: var(--color-white);
  background-image: var(--dot-white);
  color: var(--color-black);
  isolation: isolate;
}

.raise-bar-inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.raise-bar-header {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.raise-bar-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.raise-bar-title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-section);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.raise-bar-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
}

.raise-bar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  flex-shrink: 0;
}

.raise-bar-card {
  aspect-ratio: 4 / 5;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  --parallax-y: 0px;
  transform: translateX(var(--parallax-x, 0px)) translateY(var(--parallax-y, 0px));
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.raise-bar-card--image {
  border: none !important;
  position: relative;
}

.raise-bar-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.raise-bar-card--image .raise-bar-card-num,
.raise-bar-card--image .raise-bar-card-title,
.raise-bar-card--image .raise-bar-card-body {
  position: relative;
  z-index: 1;
}

.raise-bar-card--image .raise-bar-card-num  { color: var(--color-silver-lt) }
.raise-bar-card--image .raise-bar-card-title { color: var(--color-white); }
.raise-bar-card--image .raise-bar-card-body  { color: var(--color-white); }

.raise-bar-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--color-white);
}

.raise-bar-card-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-slight);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.raise-bar-card-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
}

/* Keep the complete header and card row inside shorter desktop/tablet viewports. */
@media (min-width: 768px) and (max-height: 850px) {
  .raise-bar-card {
    aspect-ratio: 5 / 4;
    padding: clamp(1rem, 1.8vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .raise-bar-card {
    --parallax-y: 0px !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .raise-bar-card{
    padding: var(--space-md);
  }

  .raise-bar-cards {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(0.625rem, 1.5svh, 0.875rem);
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }

  .raise-bar-card {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
}

/* Short-height screens need a smaller hero mark to keep the fold breathable. */
@media (min-width: 768px) and (max-height: 800px) {
  #glass-canvas {
    width: clamp(200px, 34svh, 300px);
    height: clamp(200px, 34svh, 300px);
  }
}

/* Tailwind-inspired sm band: retain stacked cards with roomier gutters. */
@media (min-width: 640px) and (max-width: 767px) {
  .raise-bar-cards {
    gap: var(--space-md);
  }

  /* Portrait md screens have much more height than a 4:5 card row needs. */
  .raise-bar-card {
    aspect-ratio: auto;
    height: clamp(22rem, 52svh, 38rem);
  }
}

/* ============================================================
   12. STORIES — MAKING MIRACLES HAPPEN
   ============================================================ */

/* ============================================================
   11c. SOLUTIONS — CENTER-TO-COLUMNS SCROLL STAGE
   ============================================================ */
.raise-bar-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
}

.raise-bar-card {
  min-height: 0;
  aspect-ratio: 4 / 5;
  opacity: 1;
  transform: none;
}

.solutions-section {
  position: relative;
  height: 220vh;
  background: var(--color-black);
  color: var(--color-white);
  isolation: isolate;
}

.solutions-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
}

.solutions-inner {
  width: min(100% - 14vw, 1200px);
  height: 100%;
  margin: 0 auto;
  padding: clamp(4rem, 8vh, 7rem) 0 clamp(2rem, 5vh, 4rem);
  display: flex;
  flex-direction: column;
}

.solutions-header { flex: 0 0 auto; }

.solutions-eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--white-a55);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.solutions-title {
  max-width: 900px;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: var(--text-section);
}

.solutions-body {
  max-width: 1080px;
  color: var(--white-a70);
  font-size: var(--text-lead);
  line-height: var(--lh-prose-sm);
}

.solutions-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: clamp(1.5rem, 4vh, 3.5rem);
}

.solution-product {
  --solution-x: 0px;
  --solution-y: 0px;
  --solution-scale: 0.42;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(15rem, 25vw, 21rem);
  text-align: center;
  transform: translate3d(calc(-50% + var(--solution-x)), calc(-50% + var(--solution-y)), 0) scale(var(--solution-scale));
  transform-origin: center center;
  will-change: transform;
}

.solution-product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.solution-product-title,
.solution-product-body {
  opacity: 0;
  transition: opacity 700ms var(--ease-cinematic);
}

.solution-product-title {
  margin-top: 0.2rem;
  color: var(--color-white);
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-normal);
}

.solution-product-body {
  margin: 0.55rem auto 0;
  max-width: 19rem;
  color: var(--white-a70);
  font-size: var(--text-body);
  line-height: var(--lh-prose-sm);
}

.solution-product-body strong { color: var(--color-white); }

.solutions-section.is-settled .solution-product {
  --solution-scale: 1;
}

.solutions-section.is-settled .solution-product-title,
.solutions-section.is-settled .solution-product-body {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .solutions-section {
    height: auto;
    min-height: 100svh;
  }

  .solutions-sticky { position: relative; }

  .solution-product,
  .solution-product-title,
  .solution-product-body {
    transition: none;
  }
}

@media (max-width: 767px) {
  .solutions-inner {
    width: min(100% - 2rem, 42rem);
  }

  .raise-bar-cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .raise-bar-card {
    aspect-ratio: 4 / 3;
  }

  .solutions-section { height: 300vh; }

  .solutions-sticky {
    min-height: 44rem;
  }

  .solutions-inner {
    padding: 3.25rem 0 1.5rem;
  }

  .solutions-body {
    font-size: var(--text-base);
  }

  .solutions-stage { margin-top: 1rem; }

  .solution-product {
    width: min(38vw, 8.5rem);
  }

  .solution-product-title {
    margin-top: -0.15rem;
    font-size: var(--text-base);
  }

  .solution-product-body {
    width: min(68vw, 16rem);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-meta);
  }
}

/* animations.js adds .is-triangle for short phones; keep each description
   inside its own column. */
@media (max-width: 767px) {
  .solutions-section.is-triangle .solution-product-body {
    width: auto;
    max-width: 100%;
    margin-left: auto;
    transform: none;
  }
}

/* Short desktop/tablet viewports get slightly smaller innovation marks so the
   normal horizontal arrangement has more breathing room. */
@media (min-width: 768px) and (max-height: 699px) {
  .solution-product {
    width: clamp(12rem, 20vw, 17rem);
  }

  .solution-product-title {
    font-size: clamp(1rem, 1.45vw, 1.35rem);
  }

  .solution-product-body {
    font-size: clamp(0.85rem, 1vw, 1rem);
  }
}

/* Portrait tablets have enough vertical room for the triangle, but not the
   same comfortable horizontal expansion as a landscape tablet. */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .solution-product {
    width: clamp(11rem, 25vw, 15rem);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .solutions-section {
    height: auto;
    min-height: 100svh;
  }
}

/* Tall scroll container — JS parallax drives track positions */
.stories-section {
  position: relative;
  height: 900vh;
  background: var(--surface-dark);
}

/* Sticky visual layer — stays in viewport while section scrolls */
.stories-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Column row — 4 vertical tracks side by side */
.stories-columns {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  padding: 0 7vw;
  box-sizing: border-box;
}

/* Top/bottom edge fades on the columns area */
.stories-columns::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, var(--surface-dark) 0%, transparent 100%);
}

.stories-header {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 20vh var(--page-x) 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stories-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--white-a40);
  margin-bottom: var(--space-sm);
}

.stories-heading {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-section);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-none);
  margin-bottom: var(--space-md);
}

.stories-subhead {
  font-size: var(--text-body);
  color: var(--white-a55);
  font-weight: var(--weight-light);
}

/* ── Scrolling tracks (vertical columns) ── */
.stories-track {
  position: relative;
  z-index: 2;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.stories-track-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding-top: 8px;
  will-change: transform;
}

.stories-track--b .stories-track-inner { padding-top: 180px; }
.stories-track--c .stories-track-inner { padding-top: 80px; }
.stories-track--d .stories-track-inner { padding-top: 260px; }

/* ── Individual tiles ── */
.story-tile {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  outline: none;
  transition: filter var(--dur-base);
}

.story-tile:focus-visible {
  box-shadow: 0 0 0 3px var(--white-a55);
}

.story-tile:hover {
  filter: brightness(1.12);
}

/* ── Tile media (image or video) ── */
.story-tile-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text-only tile: colored background with subject line centered above the name bar */
.story-tile-img--text {
  padding: 0.75rem 0.75rem 3.5rem;
}

.story-tile-subject {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  color: var(--white-a95);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.story-tile-img svg {
  width: 55%;
  height: 55%;
  opacity: 0.45;
}

/* Video tiles */
.story-tile-img--photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-tile-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base);
}

.story-tile:hover .story-tile-video,
.story-tile:focus-visible .story-tile-video {
  opacity: 1;
}

/* Play badge on video tiles */
.story-tile[data-video]::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 28px;
  height: 28px;
  background: var(--white-a95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpolygon points='5,3 19,12 5,21'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
}

/* Dark scrim, lifts on hover */
.story-tile::after {
  display: none;
}

/* ── Tile label bar ── */
.story-tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0.85rem 0.9rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
}

.story-tile-name {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-meta);
  color: var(--color-white);
  letter-spacing: var(--tracking-slight);
  line-height: var(--leading-snug);
}

.story-tile-product {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.story-tile-product.reyou   { background: var(--reyou-gold);   color: var(--reyou-maroon); }
.story-tile-product.pacagen { background: var(--pacagen-blue);  color: var(--color-white);  }

/* ── Lifestyle photo tiles ── */
.story-photo-tile {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  transition: filter var(--dur-base);
}

.story-photo-tile:hover {
  filter: brightness(1.08);
}

.story-photo-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-tile .story-tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(to top, var(--black-a60) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
}

/* ── Story modal ── */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-modal[hidden] { display: none; }

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--black-a60);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
}

.story-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--glass-dark);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  color: var(--color-white);
  border: 1px solid var(--white-a10);
  box-shadow: none;
  max-width: 580px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Video embed inside modal */
.story-modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  background: var(--color-black);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  overflow: hidden;
}

.story-modal-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-modal-photo {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.story-modal-photo[hidden] { display: none; }

.story-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.story-modal-body {
  padding: 2rem 2rem 2.5rem;
}

.story-modal-product-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-bottom: var(--space-md);
}

.story-modal-product-badge.re\:you,
.story-modal-product-badge.reyou {
  background: var(--reyou-ivory);
  color: var(--reyou-maroon);
  border: 1px solid var(--reyou-gold);
}

.story-modal-product-badge.pacagen {
  background: var(--pacagen-tint);
  color: var(--pacagen-navy);
  border: 1px solid var(--pacagen-blue);
}

.story-modal-name {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-section-sm);
  line-height: var(--leading-tight);
  margin-bottom: 0.25rem;
}

.story-modal-location {
  font-size: var(--text-meta);
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  letter-spacing: var(--tracking-slight);
}

.story-modal-quote {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
  color: var(--white-a70);
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--white-a20);
  font-style: normal;
}

/* Featured product card under the review */
.story-modal-product {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-sm);
  background: var(--white-a06);
  border: 1px solid var(--white-a10);
  color: inherit;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.story-modal-product[hidden] { display: none; }

.story-modal-product:hover,
.story-modal-product:focus-visible {
  background: var(--white-a10);
  border-color: var(--white-a20);
}

.story-modal-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--white-a06);
}

.story-modal-product-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.125rem;
  min-width: 0;
}

.story-modal-product-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-silver-dk);
}

.story-modal-product-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

.story-modal-product-tagline {
  font-size: var(--text-meta);
  line-height: var(--lh-prose-sm);
  color: var(--color-silver);
}

/* ============================================================
   12b. TEAM INSTITUTIONS SECTION
   ============================================================ */
.team-institutions-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-xl);
  overflow: hidden;
}

.institutions-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-x);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.institutions-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-silver-dk);
  margin-bottom: var(--space-md);
}

.institutions-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.institutions-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.institutions-track {
  display: inline-flex;
  align-items: baseline;
  gap: 1.5rem;
  animation: institutions-scroll 28s linear infinite; /*lower is faster*/
}

.institutions-name {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section-lg);
  letter-spacing: var(--tracking-tight);
  opacity: 0.2;
  transition: opacity var(--dur-slow), color var(--dur-slow);
  cursor: default;
}

.institutions-name:hover,
.institutions-name.is-active {
  opacity: 1;
  color: var(--school-color, var(--color-white));
}

.institutions-name[data-school="harvard"]:hover,
.institutions-name[data-school="harvard"].is-active      { --school-color: #A51C30; }
.institutions-name[data-school="northwestern"]:hover,
.institutions-name[data-school="northwestern"].is-active { --school-color: #4E2A84; }
.institutions-name[data-school="caltech"]:hover,
.institutions-name[data-school="caltech"].is-active      { --school-color: #FF6C0C; }
.institutions-name[data-school="princeton"]:hover,
.institutions-name[data-school="princeton"].is-active    { --school-color: #E87722; }
.institutions-name[data-school="duke"]:hover,
.institutions-name[data-school="duke"].is-active         { --school-color: #003087; }
.institutions-name[data-school="purdue"]:hover,
.institutions-name[data-school="purdue"].is-active       { --school-color: #CEB888; }

.institutions-dot {
  font-size: var(--text-section-sm);
  color: var(--color-silver-dk);
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes institutions-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .institutions-track { animation-play-state: paused; }
}

/* ============================================================
   13. CONTACT / FOOTER SECTION
   ============================================================ */
.contact-section {
  background-color: var(--color-white);
  background-image: var(--dot-white);
  color: var(--color-black);
  padding: var(--space-2xl) var(--section-x);
}

.contact-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.contact-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.contact-detail a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.contact-detail a:hover {
  color: var(--color-muted);
}

.contact-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-silver-lt);
  color: var(--color-black);
  transition: background var(--dur-quick), color var(--dur-quick), border-color var(--dur-quick);
}

.contact-social-link:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-input,
.form-textarea {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: var(--text-body);
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-silver-lt);
  background: var(--color-white);
  color: var(--color-black);
  outline: none;
  transition: border-color var(--dur-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-black);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
  cursor: pointer;
  transition: background var(--dur-quick), color var(--dur-quick);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ============================================================
   SITE FOOTER — floating LVMH-style component
   ============================================================ */
.footer-stage {
  background-color: var(--color-white);
  background-image: var(--dot-white);
}
 
.site-footer {
  background-color: var(--color-black);
  background-image: var(--dot-dark);
  box-shadow: 0 20px 50px var(--black-a20);
  margin: 0 4vw 0vw;
  bottom: 4vw;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-2xl) calc(var(--space-2xl) * 1.25);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-col-link {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--white-a85);
  letter-spacing: var(--tracking-slight);
  transition: color var(--dur-fast);
  display: inline-block;
}

.footer-col-link:hover {
  color: var(--color-white);
}

.footer-social-icons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-a40);
  color: var(--white-a85);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
  flex-shrink: 0;
}

.footer-social-icon:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.footer-social-icon svg {
  display: block;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: var(--space-lg);
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-copy {
  font-size: var(--text-meta);
  font-weight: var(--weight-regular);
  color: var(--white-a70);
  letter-spacing: var(--tracking-slight);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: var(--text-meta);
  font-weight: var(--weight-regular);
  color: var(--white-a70);
  letter-spacing: var(--tracking-slight);
  transition: color var(--dur-fast);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-logo-link {
  display: block;
  flex-shrink: 0;
}

.footer-logo {
  width: clamp(140px, 16vw, 240px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
  transition: opacity var(--dur-fast);
}

.footer-logo-link:hover .footer-logo {
  opacity: 1;
}

/* ============================================================
   12b. POLICY PAGES (privacy-policy, terms)
   ============================================================ */
.policy-page {
  background: var(--color-white);
  color: var(--color-black);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  min-height: 100vh;
}

.policy-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--page-x);
}

.policy-header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-divider);
}

.policy-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.policy-title {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.policy-meta {
  font-size: var(--text-meta);
  color: var(--color-muted);
  font-weight: var(--weight-light);
}

.policy-section {
  margin-bottom: var(--space-xl);
}

.policy-section h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-divider);
}

.policy-section h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-slight);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.policy-section p {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  color: var(--color-ink);
  line-height: var(--lh-prose);
  margin-bottom: var(--space-md);
}

.policy-section ul {
  margin: var(--space-md) 0 var(--space-md) var(--space-lg);
  list-style: disc;
}

.policy-section ul li {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  color: var(--color-ink);
  line-height: var(--lh-prose);
  margin-bottom: var(--space-sm);
}

.policy-section a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.policy-section a:hover {
  color: var(--color-muted);
}

/* ============================================================
   13. SCROLL ANIMATIONS
   ============================================================ */

/* Single element — fades + slides up */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out),
              transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Group — direct children stagger in 100ms apart */
.reveal-group > * {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 0.85s var(--ease-out),
              transform 0.85s var(--ease-out);
}

.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.20s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.30s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.40s; }

.reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; opacity: 0.25; }
  .hero-eyebrow, .hero-title, .hero-sub { animation: none; opacity: 1; transform: none; }
.reveal,
  .reveal-group > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   14. RESPONSIVE — TABLET / MD (768px–1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --page-x: 5vw;
    --space-xl: 3rem;
    --space-2xl: 5rem;
  }

  /* Let tall tablets preview the next section without shrinking landscape. */
  .site-hero {
    height: 100svh;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .about-section,
  .brand-section {
    padding: var(--space-2xl) var(--section-x);
  }

  .about-inner,
  .brand-inner {
    gap: 2.5rem;
  }

  .raise-bar-inner {
    padding: 0 1.5rem 1.5rem;
    justify-content: flex-start;
  }

  .raise-bar-cards {
    gap: var(--space-md);
  }

  .stories-section {
    height: 650vh;
  }

  .stories-header {
    padding: 12vh var(--page-x) 9vh;
  }

  .stories-columns {
    padding: 0 4vw;
  }
}

/* Keep the compact 5:4 treatment for short/landscape md viewports. */
@media (min-width: 768px) and (max-width: 1023px) and (max-height: 850px) {
  .raise-bar-card {
    height: auto;
  }
}

/* Compact landscape tablets and short laptops without changing columns. */
@media (min-width: 768px) and (max-height: 850px) {
  :root {
    --space-2xl: 5rem;
  }

  .raise-bar-inner {
    padding: 0 1.5rem clamp(1.5rem, 5vh, 3rem);
  }

  .stories-header {
    padding-top: 12vh;
    padding-bottom: 9vh;
  }
}

/* ============================================================
   15. RESPONSIVE — MOBILE (BELOW MD / 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --space-2xl: 5rem;
    --lh-prose:    var(--leading-compact);
    --lh-prose-sm: var(--leading-snug);
  }

  .stories-section {
    height: 600vh;
  }

  /* Hero — center logo on mobile */
  #glass-canvas {
    transform: translate(-50%, -50%);
    top: 42%;
    width: clamp(140px, 55vw, 260px);
    height: clamp(140px, 55vw, 260px);
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
  }

  /* Stories header — reduce vertical breathing room on mobile */
  .stories-header {
    padding-top: 10vh;
    padding-bottom: 8vh;
  }

  .about-brands {
    justify-content: center;
  }

  /* Brand sections */
  .brand-inner,
  .brand-inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  /* About video stays square, brand product photos go portrait */
  .about-section .visual {
    aspect-ratio: 1 / 1;
  }

  .brand-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .brand-section .visual {
    aspect-ratio: 4 / 5;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }


  .story-tile-subject { font-size: var(--text-meta); }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner { padding: var(--space-2xl) var(--space-md); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; gap: var(--space-lg); }
  .footer-bottom-left { align-items: center; text-align: center; }
  .footer-logo-link { order: -1; }
  .footer-legal { justify-content: center; }

  /* Stories — aspect-ratio handles tile sizing */

  /* Drawer full width on mobile */
  .drawer-panel { width: 100%; border-left: none; }

  /* Cap to 2 columns on mobile — hide columns 3 and 4 */
  .stories-track:nth-child(n+3) { display: none; }
  .stories-columns { padding: 0 4vw; }

  .story-modal-panel {
    max-height: 90vh;
    overflow-y: auto;
  }


}

/* ============================================================
   16. RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --space-2xl: 3.5rem;
  }

  .about-brands {
    flex-direction: row;
    justify-content: center;
  }

  .contact-social {
    flex-wrap: wrap;
  }

  .footer-logo { width: 160px; }

  /* Stories — aspect-ratio handles tile sizing */

  .story-modal-body {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .story-modal-product { margin-top: var(--space-md); }
  .story-modal-product-img { width: 52px; height: 52px; }
  .story-modal-product-name { font-size: var(--text-sm); }
  .story-modal-product-tagline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ── Droplets scroll section ─────────────────────────────────── */
.droplets-section {
  position: relative;
  height: 600vh;
  background-color: var(--color-black);
  background-image: var(--dot-dark);
}

.droplets-video-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.droplets-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transform: scale(0.75);
  will-change: transform;
}

.droplets-overlay {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-top: -100vh;
  background: linear-gradient(to bottom, var(--black-a30) 0%, var(--black-a50) 100%);
  pointer-events: none;
  z-index: 1;
}

.droplets-content {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-top: -100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--page-x);
  z-index: 2;
  pointer-events: none;
}

.droplets-headline,
.droplets-body,
.droplets-tagline {
  position: absolute;
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  color: var(--color-white);
  max-width: 760px;
}

.droplets-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.droplets-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
}

.droplets-tagline {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-section-sm);
  letter-spacing: var(--tracking-tight);
}

/* ── Orgglass reveal layer ───────────────────────────────────── */
.droplets-orgglass-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-top: -100vh;
  z-index: 3;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
  overflow: hidden;
}

.droplets-orgglass-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.droplets-orgglass-overlay {
  position: absolute;
  inset: 0;
  background: var(--black-a50);
  z-index: 1;
}

.droplets-orgglass-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--page-x);
  z-index: 2;
}

.droplets-orgglass-logo {
  width: clamp(140px, 20vw, 240px);
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  margin-bottom: var(--space-xl);
  filter: brightness(0) invert(1);
}

.droplets-orgglass-heading {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-section);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  max-width: 760px;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  margin-bottom: var(--space-lg);
}

.droplets-orgglass-body {
  font-size: var(--text-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-prose);
  color: var(--white-a85);
  max-width: 680px;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .droplets-headline,
  .droplets-body,
  .droplets-tagline {
    opacity: 1;
    transform: none;
  }
  .droplets-video { transform: scale(1) !important; }
  .droplets-orgglass-wrap { clip-path: circle(150% at 50% 50%) !important; }
  .droplets-orgglass-logo,
  .droplets-orgglass-heading,
  .droplets-orgglass-body { opacity: 1; transform: none; }
  .droplets-scroll-cue { opacity: 0.7; animation: none; }
}

.droplets-scroll-cue {
  margin-top: var(--space-xl);
  color: var(--white-a70);
  opacity: 0;
  will-change: opacity;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

/* Short landscape viewports should not reserve a desktop-length dead zone
   after the solution cards have finished their reveal. */
@media (min-width: 768px) and (max-width: 1100px) and (max-height: 850px) {
  .raise-bar-card {
    aspect-ratio: auto;
    height: clamp(13rem, 42svh, 20rem);
  }
}

/* ============================================================
   17. SHARED RESPONSIVE PAGE GUTTERS
   ============================================================ */
/* Primary content shells align to the same desktop guide while backgrounds
   and media remain full bleed at the section level. */
.about-section,
.brand-section,
.contact-section {
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.about-inner,
.brand-inner,
.contact-inner,
.institutions-inner,
.footer-inner {
  width: 100%;
  max-width: none;
}

.raise-bar-inner,
.solutions-inner {
  width: calc(100% - (2 * var(--section-x)));
  max-width: none;
}

/* Preserve comfortable reading measures inside the full-width guide. */
.about-content,
.brand-content,
.contact-details {
  max-width: 36rem;
}

.raise-bar-header,
.solutions-header {
  max-width: 67.5rem;
}

/* Expandable problem-card details. The button sits above the image overlay;
   the body remains collapsed until the visitor explicitly opens it. */
.raise-bar-card-toggle {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  right: auto;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--white-a40);
  border-radius: 50%;
  color: var(--color-white);
  background: var(--black-a30);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  padding: 0;
  /* Text glyph can't be optically centered; the +/− is drawn with bars instead */
  font-size: 0;
  transition: background var(--dur-quick), border-color var(--dur-quick), transform var(--dur-fast);
}

.raise-bar-card-toggle::before,
.raise-bar-card-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-quick) var(--ease-out);
}

.raise-bar-card-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.raise-bar-card-toggle[aria-expanded="true"]::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.raise-bar-card-toggle:hover,
.raise-bar-card-toggle:focus-visible {
  background: var(--color-black);
  border-color: var(--white-a70);
  transform: scale(1.05);
}

.raise-bar-card-body {
  position: relative;
  z-index: 2;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--white-a85);
  line-height: var(--lh-prose-sm);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: max-height 420ms var(--ease-out), margin-top 420ms var(--ease-out), opacity 280ms ease, transform 420ms var(--ease-out);
}

.raise-bar-card.is-open .raise-bar-card-body {
  max-height: 10rem;
  margin-top: var(--space-sm);
  opacity: 1;
  transform: translateY(0);
}

.raise-bar-card--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--black-a90) 0%,
    var(--black-a70) 42%,
    var(--black-a20) 78%,
    transparent 100%
  );
  opacity: 0.4;
  transition: opacity 320ms ease;
}

.raise-bar-card--image.is-open::after {
  opacity: 1;
}

.raise-bar-card--image .raise-bar-card-num,
.raise-bar-card--image .raise-bar-card-title,
.raise-bar-card--image .raise-bar-card-body {
  z-index: 2;
}

@media (max-width: 767px) {
  .raise-bar-card-toggle {
    top: var(--space-sm);
    left: var(--space-sm);
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .raise-bar-card-body,
  .raise-bar-card-toggle,
  .raise-bar-card-toggle::before,
  .raise-bar-card-toggle::after,
  .raise-bar-card--image::after {
    transition: none;
  }
}

.stories-header {
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.stories-columns {
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.institutions-inner {
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.footer-inner {
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --page-x: 5vw;
  }
}

@media (max-width: 767px) {
  :root {
    --page-x: 1rem;
  }
}
