@layer reset, tokens, base, layout, components;

/* ==========================================================================
   RESET
   ========================================================================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
  input, textarea, select { font: inherit; }
  h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }
}

/* ==========================================================================
   TOKENS — design values sourced from the former tailwind.config
   ========================================================================== */
@layer tokens {
  :root {
    /* --- Color tokens (Material 3 style names) --- */
    --color-surface-dim: #cfdaf2;
    --color-tertiary-fixed: #dbe4ea;
    --color-primary: #000845;
    --color-on-error-container: #93000a;
    --color-on-surface-variant: #454651;
    --color-error-container: #ffdad6;
    --color-surface-variant: #d8e3fb;
    --color-surface-tint: #4957ac;
    --color-on-tertiary-container: #868f95;
    --color-primary-fixed: #dee0ff;
    --color-on-error: #ffffff;
    --color-tertiary: #0b1317;
    --color-on-secondary-fixed: #001f29;
    --color-surface-container-low: #f0f3ff;
    --color-surface-container-high: #dee8ff;
    --color-on-primary-fixed: #000e5e;
    --color-inverse-primary: #bbc3ff;
    --color-background: #f9f9ff;
    --color-on-tertiary: #ffffff;
    --color-inverse-on-surface: #ecf1ff;
    --color-surface-container: #e7eeff;
    --color-on-tertiary-fixed: #141d21;
    --color-primary-container: #081a72;
    --color-on-secondary-fixed-variant: #004d63;
    --color-surface: #f9f9ff;
    --color-inverse-surface: #263143;
    --color-on-primary-fixed-variant: #313f93;
    --color-tertiary-container: #1f282c;
    --color-on-secondary: #ffffff;
    --color-surface-container-lowest: #ffffff;
    --color-secondary-container: #2acdff;
    --color-on-primary-container: #7a87e0;
    --color-secondary: #006782;
    --color-outline: #767683;
    --color-on-surface: #111c2d;
    --color-on-secondary-container: #00546b;
    --color-on-primary: #ffffff;
    --color-on-tertiary-fixed-variant: #3f484d;
    --color-surface-container-highest: #d8e3fb;
    --color-secondary-fixed: #bbe9ff;
    --color-error: #ba1a1a;
    --color-on-background: #111c2d;
    --color-outline-variant: #c6c5d3;
    --color-surface-bright: #f9f9ff;
    --color-primary-fixed-dim: #bbc3ff;
    --color-tertiary-fixed-dim: #bfc8ce;
    --color-secondary-fixed-dim: #5fd4ff;

    /* --- Radii --- */
    --radius: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;

    /* --- Spacing (fixed tokens) --- */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    /* --- Spacing (fluid: merges mobile/desktop pairs) --- */
    --gutter: clamp(1rem, 0.7rem + 1.3vw, 1.5rem);
    --margin: clamp(1rem, 0.4rem + 2.6vw, 2rem);

    /* --- Fonts --- */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* --- Type scale (fixed sizes: identical at every width in the source) --- */
    --fs-label-sm: 0.6875rem; --lh-label-sm: 0.875rem; --ls-label-sm: 0.04em; --fw-label-sm: 700;
    --fs-label-md: 0.8125rem; --lh-label-md: 1.125rem; --fw-label-md: 600;
    --fs-label-lg: 0.9375rem; --lh-label-lg: 1.25rem; --ls-label-lg: 0.01em; --fw-label-lg: 700;
    --fs-body-sm: 0.875rem; --lh-body-sm: 1.25rem; --fw-body-sm: 400;
    --fs-body-md: 1rem; --lh-body-md: 1.5rem; --fw-body-md: 400;
    --fs-body-lg: 1.125rem; --lh-body-lg: 1.75rem; --fw-body-lg: 400;
    --fs-headline-sm: 1.25rem; --lh-headline-sm: 1.625rem; --fw-headline-sm: 600;
    --fs-headline-md: 1.5rem; --lh-headline-md: 1.875rem; --fw-headline-md: 700;

    /* --- Type scale (fluid: merges the mobile/desktop token pairs) --- */
    --fs-headline-xl: clamp(1.625rem, 1.4375rem + 0.9375vw, 2.25rem); /* headline-xl-mobile 26px -> headline-xl 36px */
    --lh-headline-xl: clamp(2rem, 1.75rem + 1.25vw, 2.75rem);
    --ls-headline-xl: -0.015em; /* desktop headline-xl token value; exact at wide widths */
    --fw-headline-xl: 700;

    --fs-display-lg: clamp(2rem, 1.667rem + 1.667vw, 3rem); /* display-lg-mobile 32px -> display-lg 48px */
    --lh-display-lg: clamp(2.375rem, 2rem + 1.875vw, 3.5rem);
    --ls-display-lg: -0.02em; /* desktop display-lg token value; exact at wide widths */
    --fw-display-lg: 800;

    /* --- Shadows (Tailwind defaults use pure black; only the accent/header shadows are tinted) --- */
    --shadow-header: 0 1px 8px rgba(8, 26, 114, 0.06);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-cta: 0 4px 16px rgba(42, 205, 255, 0.3);
    --shadow-cta-care: 0 4px 16px rgba(42, 205, 255, 0.4);
    --shadow-cta-strong: 0 4px 20px rgba(42, 205, 255, 0.4);

    /* --- Layout constants --- */
    --content-max: 80rem; /* 1280px, former max-w-7xl */
    --nav-breakpoint: 64rem; /* 1024px — the only place we switch a pattern wholesale */
    /* Light-only design: keep UA widgets (scrollbars, form controls) light too */
    color-scheme: light;
  }
}

/* ==========================================================================
   BASE
   ========================================================================== */
@layer base {
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  html, body { margin: 0; padding: 0; }
  body {
    overscroll-behavior: none;
    background: var(--color-surface);
    color: var(--color-on-surface);
    font-family: var(--font-body);
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Establishes the single containment context used for the one allowed
       "responsive" exception: switching the nav pattern via @container. */
    container-type: inline-size;
    container-name: page;
  }
  main > :first-child { margin-top: 0 !important; }
  main > :last-child { margin-bottom: 0 !important; }

  ::-webkit-scrollbar { display: none; }
  * { scrollbar-width: none; }

  :focus-visible {
    outline: 2px solid var(--color-secondary-container);
    outline-offset: 2px;
    border-radius: var(--radius);
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  .material-symbols-outlined {
    /* Only FILL is pinned: wght follows font-weight and opsz follows font-size,
       matching the original rendering. */
    font-variation-settings: 'FILL' 0;
    user-select: none;
  }
  .material-symbols-outlined.icon-fill {
    font-variation-settings: 'FILL' 1;
  }
}

/* ==========================================================================
   LAYOUT — page shell, section rhythm, deferred-render below-the-fold hints
   ========================================================================== */
@layer layout {
  .content-max {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  main {
    display: block;
    padding-top: clamp(4rem, 3.6rem + 1vw, 5rem); /* offset for the fixed .site-header */
  }

  .section {
    padding-block: clamp(2.5rem, 2rem + 2vw, 5rem);
  }
  .section--tight { padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
  .section--surface-low { background: var(--color-surface-container-low); }
  .section--surface { background: var(--color-surface); }
  .section--gradient-low {
    background: linear-gradient(to bottom, var(--color-surface-container-low), var(--color-surface));
  }

  .section__stack {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 1.6rem + 2vw, 3rem);
  }
  .section__header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
  }

  /* Below-the-fold sections: let the browser skip layout/paint work until
     the user is about to scroll them into view. */
  .defer-render {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }

  .section__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-width: 48rem;
  }
  .section__header--center { max-width: 48rem; margin-inline: auto; text-align: center; align-items: center; }
  /* The testimonials header uses font-bold (700) in the source, unlike the
     other section titles which keep display-lg's default extrabold (800). */
  .section__header--center .section__title { font-weight: 700; }
  .section__eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    letter-spacing: 0.1em; /* tracking-widest overrides the label-sm default tracking */
    font-weight: var(--fw-label-sm);
    text-transform: uppercase;
    color: var(--color-secondary);
  }
  .section__title {
    font-family: var(--font-heading);
    font-weight: var(--fw-display-lg);
    font-size: var(--fs-display-lg);
    line-height: var(--lh-display-lg);
    letter-spacing: var(--ls-display-lg);
    color: var(--color-primary);
  }
  .section__desc {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body-lg);
    color: var(--color-on-surface-variant);
  }
  .section__accent { color: var(--color-secondary); }

  /* Generic auto-fit grids — no viewport breakpoints, tracks wrap by
     available inline space. */
  .grid-auto { display: grid; gap: var(--space-md); }
  .grid-auto--sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
  .grid-auto--md { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
  .grid-auto--lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
@layer components {

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--fs-label-lg);
    line-height: var(--lh-label-lg);
    letter-spacing: var(--ls-label-lg);
    font-weight: var(--fw-label-lg);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .btn:active { transform: scale(0.98); }
  .btn--primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-md); }
  .btn--primary:hover { background: var(--color-primary-container); }
  .btn--primary .material-symbols-outlined { color: var(--color-secondary-container); }
  .btn--accent {
    background: var(--color-secondary-container);
    color: var(--color-primary);
    box-shadow: var(--shadow-cta);
  }
  .btn--accent:hover { background: var(--color-secondary-fixed-dim); }
  .btn--light { background: var(--color-surface-container-lowest); color: var(--color-primary); box-shadow: var(--shadow-lg); }
  .btn--light:hover { background: var(--color-surface-container-low); }

  /* ---------- Site header ---------- */
  .site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--color-surface) 90%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-header);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    height: clamp(4rem, 3.6rem + 1vw, 5rem);
  }
  .brand {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: var(--fs-headline-md);
    line-height: var(--lh-headline-md);
    color: var(--color-primary);
    letter-spacing: -0.025em; /* tracking-tight, inherited by the "!" span too */
  }
  .brand__bang { color: var(--color-secondary-container); font-weight: 800; }
  /* Brand logo (inline SVG): navy strokes follow currentColor, the "!" keeps its cyan. */
  .logo { display: block; height: 100%; width: auto; }
  .brand { height: clamp(2rem, 1.3rem + 0.6vw, 2rem); color: #282d66; }

  .site-header__nav {
    display: none;
    align-items: center;
    gap: var(--space-xs);
  }
  .site-header__nav-link {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: var(--fw-label-md);
    color: var(--color-on-surface-variant);
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .site-header__nav-link:hover { background: var(--color-surface-container-low); color: var(--color-primary); }
  .site-header__nav-link[aria-current="page"] {
    background: var(--color-surface-container-high);
    color: var(--color-primary);
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    font-weight: 700;
  }

  .site-header__actions { display: flex; align-items: center; gap: var(--space-sm); }
  .site-header__whatsapp {
    display: none;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
  }
  .site-header__whatsapp-number { font-family: var(--font-body); font-size: var(--fs-label-md); line-height: var(--lh-label-md); font-weight: var(--fw-label-md); color: var(--color-primary); }
  .site-header__whatsapp-icon { color: var(--color-secondary-container); }
  /* The quote CTA stays visible on mobile in a compact size; wide containers restore the full button. */
  .site-header__cta {
    min-height: 40px;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    white-space: nowrap;
  }
  .site-header__avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(42, 205, 255, 0.4);
  }
  /* Nav pattern switch: bottom tab bar -> inline top nav on wide containers. */
  @container page (min-width: 64rem) {
    .site-header__nav { display: flex; }
    .site-header__whatsapp { display: inline-flex; }
    .site-header__cta {
      min-height: 44px;
      padding: var(--space-sm) var(--space-lg);
      font-size: var(--fs-label-lg);
      line-height: var(--lh-label-lg);
    }
    .bottom-nav { display: none; }
  }

  /* ---------- Top ribbon ---------- */
  .top-ribbon {
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding-block: var(--space-xs);
    padding-inline: var(--gutter);
    text-align: center;
  }
  .top-ribbon__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
  }
  .top-ribbon__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--color-secondary-container);
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    letter-spacing: var(--ls-label-sm);
    flex-shrink: 0;
  }
  .top-ribbon__text {
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    font-weight: var(--fw-label-sm);
    letter-spacing: 0.025em; /* tracking-wide overrides the label-sm default tracking */
  }

  /* ---------- Hero ---------- */
  .hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  }
  .hero__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 68vh;
    min-height: 68svh;
  }
  /* Two-column layout: fill the viewport below the fixed header and top ribbon. */
  @media (min-width: 52rem) {
    .hero__panel {
      min-height: calc(100vh - clamp(4rem, 3.6rem + 1vw, 5rem) - 2.5rem);
      min-height: calc(100svh - clamp(4rem, 3.6rem + 1vw, 5rem) - 2.5rem);
    }
  }
  .hero__panel--b2b { background: var(--color-primary); }
  .hero__panel--b2c { background: var(--color-surface-container-high); }
  .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
  }
  .hero__panel--b2c .hero__media { object-position: right top; }
  .hero__panel:hover .hero__media,
  .hero__panel:focus-within .hero__media { transform: scale(1.05); }
  /* Whole-panel click target; the real link and buttons sit above it, so nothing nests. */
  .hero__cover { position: absolute; inset: 0; z-index: 1; }
  .hero__scrim {
    position: absolute;
    inset: 0;
  }
  .hero__panel--b2b .hero__scrim {
    background: linear-gradient(to top, var(--color-primary), color-mix(in srgb, var(--color-primary) 45%, transparent), color-mix(in srgb, var(--color-primary) 10%, transparent));
  }
  .hero__panel--b2b .hero__scrim--multiply {
    background: color-mix(in srgb, var(--color-primary) 70%, transparent);
    mix-blend-mode: multiply;
  }

  /* Phones: a light wash, strongest behind the copy at the bottom, so the dark text reads over the photo. */
  @media (max-width: 51.99rem) {
    .hero__panel--b2c .hero__scrim {
      background: linear-gradient(
        to top,
        color-mix(in srgb, var(--color-surface-container-lowest) 94%, transparent) 25%,
        color-mix(in srgb, var(--color-surface-container-lowest) 72%, transparent) 60%,
        color-mix(in srgb, var(--color-surface-container-lowest) 35%, transparent)
      );
    }
  }

  .hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: clamp(1.5rem, 1rem + 3vw, 4rem);
    pointer-events: none; /* clicks on the copy fall through to .hero__cover */
  }
  .hero__content a { pointer-events: auto; }
  .hero__eyebrow {
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    font-weight: var(--fw-label-sm);
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
  .hero__panel--b2b .hero__eyebrow { color: var(--color-secondary-container); }
  .hero__panel--b2c .hero__eyebrow { color: var(--color-secondary); }
  .hero__title {
    font-family: var(--font-heading);
    font-weight: var(--fw-display-lg);
    /* Exact desktop formula (text-[clamp(3rem,5.2vw,5.25rem)]); flattens at 3rem
       below ~923px width, which is a faithful-enough mobile stacking. */
    font-size: clamp(3rem, 5.2vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.025em; /* tracking-tight */
  }
  .hero__panel--b2b .hero__title { color: var(--color-surface-container-lowest); }
  .hero__panel--b2c .hero__title { color: var(--color-primary); }
  .hero__desc { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); max-width: 28rem; }
  .hero__panel--b2b .hero__desc { color: var(--color-surface-dim); }
  .hero__panel--b2c .hero__desc { color: var(--color-on-surface-variant); }
  .hero__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--fs-label-lg);
    line-height: var(--lh-label-lg);
    font-weight: var(--fw-label-lg);
    letter-spacing: 0.1em; /* tracking-widest */
    text-transform: uppercase;
  }
  .hero__panel--b2b .hero__link { color: var(--color-secondary-container); }
  .hero__panel--b2c .hero__link { color: var(--color-primary); }
  .hero__link-rule {
    height: 1px;
    width: 3rem;
    background: currentColor;
    transition: width 0.3s ease;
  }
  .hero__link { align-self: flex-start; }
  .hero__panel:hover .hero__link-rule,
  .hero__panel:focus-within .hero__link-rule { width: 5rem; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
  .hero__actions .btn { min-height: 40px; padding: var(--space-xs) var(--space-md); font-size: var(--fs-label-md); line-height: var(--lh-label-md); }
  .btn__icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }


  /* ---------- Utilities ---------- */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .skip-link {
    position: absolute;
    inset-inline-start: var(--space-md);
    inset-block-start: -4rem;
    z-index: 100;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 700;
  }
  .skip-link:focus { inset-block-start: var(--space-md); }

  /* Kicker: a sentence-case line label that names which line/section the
     content belongs to (replaces the all-caps eyebrow in new sections). */
  .kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 700;
    color: var(--color-secondary);
  }
  .kicker::before {
    content: "";
    width: 1.75rem;
    border-top: 2px dashed var(--color-secondary-container);
  }
  .kicker--light { color: var(--color-secondary-fixed); }

  .display {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    text-wrap: balance;
  }
  .lead {
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
    line-height: 1.65;
    color: var(--color-on-surface-variant);
    max-width: 38rem;
    text-wrap: pretty;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-heading);
    font-size: var(--fs-label-lg);
    line-height: var(--lh-label-lg);
    font-weight: 700;
    color: var(--color-primary);
  }
  .text-link__rule {
    height: 2px;
    width: 2.5rem;
    background: var(--color-secondary-container);
    transition: width 0.3s ease;
  }
  .text-link:hover .text-link__rule,
  .text-link:focus-visible .text-link__rule { width: 4.5rem; }

  /* ---------- Motion: page-load + scroll reveals ----------
     Hidden states only apply when JS is running (html.js) and the visitor
     has not asked for reduced motion, so content is never stranded. */
  @keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

  @media (prefers-reduced-motion: no-preference) {
    .hero__panel { animation: curtain 1.1s cubic-bezier(0.7, 0, 0.2, 1) both; }
    .hero__panel--b2c { animation-delay: 0.15s; }
    /* backwards, not both: a filled animation would override the hover transform. */
    .hero__media { animation: hero-zoom 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
    .hero__content > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero__content > :nth-child(1) { animation-delay: 0.55s; }
    .hero__content > :nth-child(2) { animation-delay: 0.65s; }
    .hero__content > :nth-child(3) { animation-delay: 0.75s; }
    .hero__content > :nth-child(4) { animation-delay: 0.85s; }
    .hero__content > :nth-child(5) { animation-delay: 0.95s; }
    .page-hero__copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .page-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
    .page-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
    .page-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
    .page-hero__copy > :nth-child(5) { animation-delay: 0.32s; }

    .js [data-reveal] {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
      transition-delay: calc(var(--d, 0) * 90ms);
    }
    /* Mask reveal = a brand-navy curtain that lifts off the image. Nothing
       is clipped: Chrome treats a fully clip-pathed target as invisible, which
       blocks both IntersectionObserver and native lazy-loading of images. */
    .js [data-reveal="mask"] { opacity: 1; transform: none; position: relative; overflow: hidden; }
    .js [data-reveal="mask"]::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      background: var(--color-primary);
      transform-origin: top;
      transition: transform 1.1s cubic-bezier(0.7, 0, 0.2, 1);
      transition-delay: calc(var(--d, 0) * 110ms);
      pointer-events: none;
    }
    .js [data-reveal="mask"] img { transform: scale(1.15); transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
    .js .purpose__motto[data-reveal] {
      --zip: 0%;
      transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), --zip 2.4s cubic-bezier(0.6, 0, 0.3, 1) 0.4s;
    }
    .js .purpose__motto[data-reveal].is-in { --zip: 100%; }
    .js [data-reveal="mask"].is-in::after { transform: scaleY(0); }
    .js [data-reveal="mask"].is-in img { transform: scale(1); }
  }

  /* ---------- Shared media frame ---------- */
  .frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--color-surface-container);
  }
  .frame img { width: 100%; height: 100%; object-fit: cover; }

  /* ---------- Home: intro ---------- */
  .intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: end;
  }
  .intro__statement { display: flex; flex-direction: column; gap: var(--space-md); }
  .intro__aside { display: flex; flex-direction: column; gap: var(--space-lg); }
  .facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
    gap: var(--space-md);
    border-top: 1px solid var(--color-outline-variant);
    padding-top: var(--space-lg);
  }
  .facts__item { display: flex; flex-direction: column; gap: 0.125rem; }
  .facts__term { font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .facts__value { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }

  .panorama {
    margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    aspect-ratio: 4 / 3;
  }
  @container page (min-width: 48rem) { .panorama { aspect-ratio: 21 / 9; } }
  .panorama img { object-position: center 30%; }
  .panorama__caption {
    position: absolute;
    inset-inline-start: var(--space-md);
    inset-block-end: var(--space-md);
    background: color-mix(in srgb, var(--color-primary) 88%, transparent);
    backdrop-filter: blur(10px);
    color: var(--color-on-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 600;
  }

  /* ---------- Home: the two lines ---------- */
  .lines { display: flex; flex-direction: column; gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
  .lines__header { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 44rem; }
  .line {
    display: grid;
    gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    align-items: center;
  }
  @container page (min-width: 64rem) {
    .line { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .line--care { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .line--care .bento { order: 2; }
  }

  /* Five-photo bento: one tall hero shot + a 2x2 of details. */
  .bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
  }
  .bento > .frame { aspect-ratio: 1; }
  .bento > .bento__main { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  @container page (min-width: 40rem) {
    .bento { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 5 / 4; }
    .bento > .frame, .bento > .bento__main { aspect-ratio: auto; }
    .bento > .bento__main { grid-column: auto; grid-row: 1 / -1; }
  }
  .bento__badge {
    position: absolute;
    inset-inline-start: var(--space-md);
    inset-block-end: var(--space-md);
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-primary) 86%, transparent);
    backdrop-filter: blur(10px);
    color: var(--color-on-primary);
  }
  .bento__badge-value { font-family: var(--font-heading); font-size: var(--fs-headline-md); line-height: var(--lh-headline-md); font-weight: 800; color: var(--color-secondary-container); }
  .bento__badge-label { font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-surface-dim); }

  .line__copy { display: flex; flex-direction: column; gap: var(--space-md); }
  .line__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-display-lg);
    line-height: var(--lh-display-lg);
    letter-spacing: var(--ls-display-lg);
    color: var(--color-primary);
    text-wrap: balance;
  }
  .line__text { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--color-on-surface-variant); }
  .line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); padding-top: var(--space-xs); }
  .checklist { display: flex; flex-direction: column; gap: var(--space-sm); padding-block: var(--space-xs); }
  .checklist__item { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--color-on-surface); }
  .checklist__item .material-symbols-outlined { color: var(--color-secondary); --icon-size: 22px; flex-shrink: 0; margin-top: 1px; }

  .tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 40px;
    padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    background: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container-high);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 600;
    color: var(--color-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }
  .tag .material-symbols-outlined { --icon-size: 20px; color: var(--color-secondary); }
  .tag:hover { border-color: var(--color-secondary-container); background: var(--color-surface-container-low); }

  /* ---------- Sewing-machine seam ----------
     --t (registered with @property at the end of the file) runs 0 → 1: the
     machine travels right and the stitch grows up to its needle (x = 15px of
     the 80px-wide machine). Without JS or with reduced motion --t stays 1. */
  .seam { --t: 1; --machine: clamp(84px, 70px + 3vw, 112px); --needle: calc(var(--machine) * 0.1875); position: relative; height: calc(var(--machine) * 0.78); }
  .seam__guide, .seam__stitch { position: absolute; inset-inline-start: 0; bottom: calc(var(--machine) * 0.11); height: 3px; border-radius: 2px; }
  .seam__guide { inset-inline-end: 0; background: repeating-linear-gradient(90deg, var(--color-outline-variant) 0 4px, transparent 4px 12px); opacity: 0.7; }
  .seam__stitch {
    width: calc((100% - var(--machine)) * var(--t) + var(--needle));
    background: repeating-linear-gradient(90deg, var(--color-secondary-container) 0 12px, transparent 12px 20px);
  }
  .seam__machine {
    position: absolute;
    bottom: 0;
    inset-inline-start: calc((100% - var(--machine)) * var(--t));
    width: var(--machine);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 6px 8px rgba(0, 8, 69, 0.18));
  }
  .seam__needle { transform-box: fill-box; }
  .seam__wheel { transform-box: fill-box; transform-origin: center; }
  @keyframes sew { from { --t: 0; } to { --t: 1; } }
  @keyframes needle { from { transform: translateY(0); } to { transform: translateY(3px); } }
  @keyframes wheel { to { rotate: 360deg; } }
  @media (prefers-reduced-motion: no-preference) {
    .js .seam { --t: 0; }
    .js .seam.is-in { animation: sew 3.4s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
    .js .seam.is-in .seam__needle { animation: needle 0.12s ease-in-out 28 alternate; }
    .js .seam.is-in .seam__wheel { animation: wheel 0.6s linear 6; }
  }

  /* ---------- Home: history timeline ---------- */
  .story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: clamp(2rem, 1.5rem + 3vw, 5rem);
    align-items: start;
  }
  .story__aside { display: flex; flex-direction: column; gap: var(--space-lg); }
  @container page (min-width: 64rem) {
    .story__aside { position: sticky; top: 7rem; }
  }
  .story__photo { aspect-ratio: 4 / 5; max-height: 34rem; }
  .story__photo img { object-position: center 70%; }

  .timeline { position: relative; padding-inline-start: 3.25rem; }
  .timeline__list { display: flex; flex-direction: column; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
  /* The thread: a dashed seam with a solid cyan fill that follows scroll. */
  .timeline::before {
    content: "";
    position: absolute;
    inset-block: 0.75rem;
    inset-inline-start: 1.125rem;
    border-inline-start: 2px dashed var(--color-outline-variant);
  }
  .timeline__thread {
    position: absolute;
    inset-block: 0.75rem;
    inset-inline-start: calc(1.125rem - 1px);
    width: 4px;
    border-radius: 2px;
    background: var(--color-secondary-container);
    transform-origin: top;
    transform: scaleY(var(--progress, 1));
  }
  .timeline__item { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); }
  /* Marker drawn as a four-hole shirt button. */
  .timeline__button {
    position: absolute;
    inset-inline-start: -3.25rem;
    inset-block-start: 0.15rem;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 50%;
    background:
      radial-gradient(circle at 38% 38%, var(--color-primary) 0 2.5px, transparent 3px),
      radial-gradient(circle at 62% 38%, var(--color-primary) 0 2.5px, transparent 3px),
      radial-gradient(circle at 38% 62%, var(--color-primary) 0 2.5px, transparent 3px),
      radial-gradient(circle at 62% 62%, var(--color-primary) 0 2.5px, transparent 3px),
      var(--color-secondary-container);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent), 0 0 0 6px var(--color-surface);
  }
  .timeline__year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-primary);
  }
  .timeline__title { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-secondary); }
  .timeline__text { color: var(--color-on-surface-variant); max-width: 36rem; }
  .timeline__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md); }
  .timeline__row .timeline__text { flex: 1 1 16rem; }
  .timeline__photo { flex: 0 0 auto; width: min(100%, 11rem); aspect-ratio: 4 / 5; }
  @media (max-width: 40rem) {
    .timeline__photo { width: 100%; }
  }

  /* ---------- Process strip ---------- */
  .process {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 18rem);
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-block-end: var(--space-xs);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  @container page (min-width: 64rem) {
    .process { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  }
  .process__step { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-sm); }
  .process__media { aspect-ratio: 4 / 3; }
  .process__head { display: flex; align-items: baseline; gap: var(--space-sm); }
  .process__num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-headline-md);
    line-height: 1;
    color: var(--color-secondary-container);
    -webkit-text-stroke: 1px var(--color-secondary);
  }
  .process__title { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }
  .process__text { font-size: var(--fs-body-sm); line-height: 1.55; color: var(--color-on-surface-variant); }
  .scroll-hint { font-size: var(--fs-label-md); color: var(--color-on-surface-variant); display: flex; align-items: center; gap: var(--space-xs); }
  @container page (min-width: 64rem) { .scroll-hint { display: none; } }

  /* ---------- Client mosaic ---------- */
  /* Grid, not CSS columns: Chrome's IntersectionObserver misreports targets
     inside multicol fragments, which left the reveal stuck hidden. */
  .mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--space-md); }
  .mosaic__item { aspect-ratio: 4 / 5; }
  .mosaic__item[hidden] { display: none; }
  /* On phones the mosaic becomes a swipeable strip; the next card peeks in to hint at it. */
  @media (max-width: 40rem) {
    .mosaic {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: var(--space-xs);
    }
    .mosaic::-webkit-scrollbar { display: none; }
    .mosaic__item { flex: 0 0 78%; scroll-snap-align: center; }
  }
  .mosaic__item img { transition: transform 0.6s ease; }
  .mosaic__item:hover img { transform: scale(1.04); }
  .mosaic__caption {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 2.5rem var(--space-md) var(--space-sm);
    background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 85%, transparent), transparent);
    color: var(--color-on-primary);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 600;
  }
  .gallery-open {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    align-self: flex-start;
    margin-top: var(--space-sm);
    padding: 0.375rem var(--space-md) 0.375rem var(--space-sm);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 700;
    color: var(--color-primary);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }
  .gallery-open .material-symbols-outlined { --icon-size: 18px; transition: transform 0.25s ease; }
  .gallery-open:hover { background: var(--color-primary); color: var(--color-on-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .gallery-open:hover .material-symbols-outlined { transform: scale(1.15) rotate(-12deg); color: var(--color-secondary-container); }
  .gallery-open:active { transform: translateY(0) scale(0.97); }
  .gallery-open:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }
  .section__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }

  /* ---------- Google reviews ---------- */
  .reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); }
  .reviews__summary {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container-high);
  }
  a.reviews__summary:hover { border-color: var(--color-secondary-container); }
  .reviews__controls[hidden] { display: none; }
  .reviews__score { font-family: var(--font-heading); font-size: 2.75rem; line-height: 1; font-weight: 800; color: var(--color-primary); }
  .reviews__summary-body { display: flex; flex-direction: column; gap: 0.25rem; }
  .reviews__count { font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .g-wordmark { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
  .g-wordmark span:nth-child(1), .g-wordmark span:nth-child(4) { color: #4285f4; }
  .g-wordmark span:nth-child(2), .g-wordmark span:nth-child(6) { color: #ea4335; }
  .g-wordmark span:nth-child(3) { color: #fbbc05; }
  .g-wordmark span:nth-child(5) { color: #34a853; }

  /* Stars: a 5-star mask filled to --rating / 5. */
  .stars {
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.3l6.2 3.7-1.6-7 5.4-4.7-7.1-.6L12 2 9.1 8.7 2 9.3l5.4 4.7-1.6 7z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 6.25rem;
    height: 1.25rem;
    background: linear-gradient(90deg, #fbbc05 calc(var(--rating, 5) / 5 * 100%), var(--color-outline-variant) 0);
    -webkit-mask: var(--star) left / 1.25rem 1.25rem repeat-x;
    mask: var(--star) left / 1.25rem 1.25rem repeat-x;
  }

  .reviews__carousel { display: flex; flex-direction: column; gap: var(--space-lg); }
  .reviews__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(100%, 22rem);
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-block: var(--space-xs);
  }
  .reviews__track:focus-visible { outline-offset: 4px; }
  .review {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container-high);
    box-shadow: 0 10px 30px -18px rgba(0, 8, 69, 0.35);
  }
  .review__head { display: flex; align-items: center; gap: var(--space-sm); }
  .review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
  .review__avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: var(--color-secondary-container); font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-headline-sm); }
  .review__avatar--1 { background: var(--color-secondary); color: var(--color-on-secondary); }
  .review__avatar--2 { background: var(--color-secondary-container); color: var(--color-primary); }
  .review__name { display: block; font-weight: 700; color: var(--color-primary); }
  a.review__name:hover { text-decoration: underline; }
  .review__date { font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .review__text {
    color: var(--color-on-surface);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }
  .review.is-open .review__text { -webkit-line-clamp: unset; overflow: visible; }
  .review__more { align-self: flex-start; margin-top: calc(var(--space-sm) * -1); font-size: var(--fs-label-md); font-weight: 700; color: var(--color-secondary); min-height: 32px; }
  .review__more:hover { text-decoration: underline; }
  .review__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-top: var(--space-sm); border-top: 1px dashed var(--color-outline-variant); }
  .review__source { font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); color: var(--color-on-surface-variant); }

  .reviews__controls { display: flex; align-items: center; justify-content: center; gap: var(--space-md); }
  .reviews__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-on-primary);
    transition: background-color 0.2s ease;
  }
  .reviews__arrow:hover { background: var(--color-primary-container); }
  .reviews__dots { display: flex; gap: 0.375rem; }
  .reviews__dot { width: 10px; height: 10px; padding: 0; border-radius: 5px; background: var(--color-outline-variant); transition: width 0.3s ease, background-color 0.3s ease; }
  .reviews__dot[aria-current="true"] { width: 28px; background: var(--color-secondary-container); }
  .reviews__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }

  /* ---------- Purpose (mission / vision) ---------- */
  .purpose { background: var(--color-primary); color: var(--color-on-primary); position: relative; overflow: hidden; }
  .purpose__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: clamp(2rem, 1.5rem + 3vw, 5rem);
  }
  .purpose__block { display: flex; flex-direction: column; gap: var(--space-md); }
  .purpose__title { font-family: var(--font-heading); font-size: var(--fs-headline-xl); line-height: var(--lh-headline-xl); font-weight: 800; color: var(--color-surface-container-lowest); }
  .purpose__text { font-size: var(--fs-body-lg); line-height: 1.7; color: var(--color-surface-dim); max-width: 34rem; }
  .purpose__motto {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-secondary-container);
    padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
    /* Zipper: the element background draws the open teeth, ::before the
       closed (interlocked) teeth up to --zip, ::after the slider at --zip.
       Without JS or with reduced motion --zip stays 100% (zipper closed). */
    --zip: 100%;
    --zipper: var(--color-secondary-container);
    position: relative;
    background:
      linear-gradient(90deg, var(--zipper) 6px, transparent 6px) 0 0 / 12px 5px repeat-x,
      linear-gradient(90deg, transparent 6px, var(--zipper) 6px) 0 13px / 12px 5px repeat-x;
    background-origin: border-box;
    background-clip: border-box;
  }
  .purpose__motto::before,
  .purpose__motto::after { content: ""; position: absolute; top: 0; pointer-events: none; }
  .purpose__motto::before {
    left: 0;
    width: var(--zip);
    height: 18px;
    background:
      linear-gradient(90deg, var(--zipper) 6px, transparent 6px) 0 5px / 12px 5px repeat-x,
      linear-gradient(90deg, transparent 6px, var(--zipper) 6px) 0 8px / 12px 5px repeat-x,
      var(--color-primary);
  }
  .purpose__motto::after {
    left: min(var(--zip), calc(100% - 1.25rem));
    width: 1.25rem;
    height: 1.25rem;
    margin-top: -0.0625rem;
    border-radius: 0.3rem;
    background:
      radial-gradient(circle at 50% 50%, var(--color-primary) 0.18rem, transparent 0.2rem),
      var(--zipper);
  }

  /* ---------- Subpage hero ---------- */
  .page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 3vw, 5rem); background: linear-gradient(to bottom, var(--color-surface-container-low), var(--color-surface)); }
  .page-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    align-items: center;
  }
  .page-hero__copy { display: flex; flex-direction: column; gap: var(--space-md); }
  .page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-sm); }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-xs); font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .crumbs li + li::before { content: "/"; margin-inline-end: var(--space-xs); color: var(--color-outline); }
  .crumbs a { color: var(--color-secondary); font-weight: 600; }
  .crumbs a:hover { text-decoration: underline; }

  .collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-sm); aspect-ratio: 5 / 4; }
  .collage > :first-child { grid-row: 1 / -1; }
  /* Wide variant: landscape photo on top, two portrait photos below, so no
     image has to be cropped to fit its cell. */
  .collage--wide { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; max-width: 36rem; justify-self: end; width: 100%; }
  .collage--wide > :first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .collage--wide > :not(:first-child) { aspect-ratio: 4 / 5; }
  /* Pair variant: two portrait photos side by side, uncropped at 2:3. */
  .collage--pair { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .collage--pair > :first-child { grid-row: auto; }
  .collage--pair > * { aspect-ratio: 2 / 3; }
  .collage--pair > .frame--square { aspect-ratio: 1; }
  .collage--pair img { transition: transform 0.6s ease; }
  .collage--pair > .frame:hover img { transform: scale(1.04); }

  /* ---------- Techniques ---------- */
  .techniques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
  .technique { display: flex; flex-direction: column; gap: var(--space-sm); }
  .technique__media { aspect-ratio: 1; }
  .technique__title { font-family: var(--font-heading); font-size: var(--fs-headline-md); line-height: var(--lh-headline-md); font-weight: 700; color: var(--color-primary); }
  .technique__text { color: var(--color-on-surface-variant); }

  /* ---------- Catalog (temporary category) ---------- */
  .filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
  .filters__btn {
    min-height: 40px;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-outline-variant);
    background: var(--color-surface-container-lowest);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 600;
    color: var(--color-on-surface-variant);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .filters__btn:hover { border-color: var(--color-secondary); color: var(--color-primary); }
  .filters__btn[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }

  .catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2rem) var(--space-md); }
  .product { display: flex; flex-direction: column; gap: var(--space-sm); }
  .product[hidden] { display: none; }
  .product__media { aspect-ratio: 4 / 5; }
  .product__media img { transition: transform 0.6s ease; }
  .product:hover .product__media img { transform: scale(1.04); }
  .product__tag {
    position: absolute;
    inset-inline-start: var(--space-sm);
    inset-block-start: var(--space-sm);
    background: color-mix(in srgb, var(--color-surface-container-lowest) 92%, transparent);
    color: var(--color-primary);
    padding: 0.125rem var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    font-weight: 700;
  }
  .product__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
  .product__count {
    position: absolute;
    inset-inline-end: var(--space-sm);
    inset-block-end: var(--space-sm);
    background: color-mix(in srgb, var(--color-primary) 85%, transparent);
    color: var(--color-on-primary);
    padding: 0.125rem var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    font-weight: 700;
    pointer-events: none;
  }
  .product__title { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }
  .product__text { font-size: var(--fs-body-sm); line-height: 1.55; color: var(--color-on-surface-variant); }
  .product__specs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
  .product__specs li { font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); font-weight: 600; color: var(--color-secondary); background: var(--color-surface-container-low); border-radius: var(--radius-full); padding: 0.125rem var(--space-sm); }
  .product__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; margin-top: auto; padding-top: var(--space-xs); }
  .product__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: var(--fs-label-lg);
    line-height: var(--lh-label-lg);
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary-container);
    padding-block: 0.25rem;
  }
  .product__cta:hover { color: var(--color-secondary); }
  .product__cta--gallery { border-bottom-color: transparent; }
  .product__cta--gallery .material-symbols-outlined { --icon-size: 20px; }
  .product__more { font-size: var(--fs-label-md); line-height: var(--lh-label-md); font-weight: 600; color: var(--color-on-surface-variant); text-decoration: underline; text-underline-offset: 3px; }
  .product__more:hover { color: var(--color-primary); }
  /* ---------- Order conditions ---------- */
  .terms { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
  .terms__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: start; padding-block-end: var(--space-md); border-bottom: 1px solid var(--color-outline-variant); }
  .terms__item:last-child { padding-block-end: 0; border-bottom: 0; }
  .terms__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-surface-container-lowest); font-family: var(--font-heading); font-size: var(--fs-label-lg); line-height: 1; font-weight: 800; }
  .terms__body { display: flex; flex-direction: column; gap: var(--space-xs); }
  .terms__title { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }
  .terms__text { font-size: var(--fs-body-md); line-height: var(--lh-body-md); color: var(--color-on-surface-variant); }
  .note { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--color-on-surface-variant); }

  /* ---------- Video reel ---------- */
  .reel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: clamp(2rem, 1.5rem + 3vw, 5rem);
    align-items: center;
  }
  .reel__copy { display: flex; flex-direction: column; gap: var(--space-md); }
  .reel__copy .line__title { color: var(--color-surface-container-lowest); }
  .reel__copy .line__text { color: var(--color-surface-dim); }
  .reel__phone {
    justify-self: center;
    width: min(100%, 20rem);
    aspect-ratio: 9 / 16;
    border-radius: 2rem;
    padding: 0.5rem;
    background: var(--color-tertiary-container);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px color-mix(in srgb, var(--color-secondary-container) 30%, transparent);
    rotate: -3deg;
  }
  .reel__video { width: 100%; height: 100%; object-fit: cover; border-radius: 1.6rem; background: var(--color-primary-container); }
  .reel__toggle {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding-inline: var(--space-md);
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--color-secondary-container) 50%, transparent);
    color: var(--color-secondary-container);
    font-weight: 600;
  }

  /* ---------- Ordering steps ---------- */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--space-lg); counter-reset: step; }
  .steps__item { counter-increment: step; display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-md); border-top: 2px dashed var(--color-secondary-container); }
  .steps__item::before { content: counter(step); font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-headline-xl); line-height: 1; color: var(--color-primary); }
  .steps__title { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }
  .steps__text { color: var(--color-on-surface-variant); }

  /* ---------- Accordion (conditions, FAQ) ---------- */
  .accordion { display: flex; flex-direction: column; border-top: 1px solid var(--color-outline-variant); max-width: 52rem; }
  .accordion__item { border-bottom: 1px solid var(--color-outline-variant); }
  .accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 3.5rem;
    padding-block: var(--space-md);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: var(--fs-headline-sm);
    line-height: var(--lh-headline-sm);
    font-weight: 700;
    color: var(--color-primary);
  }
  .accordion__summary::-webkit-details-marker { display: none; }
  .accordion__summary .material-symbols-outlined { color: var(--color-secondary); transition: rotate 0.3s ease; flex-shrink: 0; }
  .accordion__item[open] .accordion__summary .material-symbols-outlined { rotate: 45deg; }
  .accordion__body { padding-block-end: var(--space-lg); color: var(--color-on-surface-variant); max-width: 44rem; }
  @media (prefers-reduced-motion: no-preference) {
    .accordion__item[open] .accordion__body { animation: rise 0.4s ease both; }
  }

  /* ---------- Pañales: sizes, benefits ---------- */
  .sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--space-md); }
  .size {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    background: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container-high);
  }
  .size__label { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-display-lg); line-height: 1; color: var(--color-primary); }
  .size { min-width: 0; }
  .size--custom .size__label { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; overflow-wrap: anywhere; }
  .size__range { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--color-on-surface); }
  .size__bar { height: 6px; border-radius: 3px; background: var(--color-surface-container-high); overflow: hidden; }
  .size__bar span { display: block; height: 100%; background: var(--color-secondary-container); border-radius: 3px; margin-inline-start: var(--from); width: var(--span); }

  .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
  .benefit { display: flex; flex-direction: column; gap: var(--space-sm); }
  .benefit__icon { color: var(--color-secondary); --icon-size: 2.25rem; }
  .benefit__title { font-family: var(--font-heading); font-size: var(--fs-headline-md); line-height: var(--lh-headline-md); font-weight: 700; color: var(--color-primary); }
  .benefit__text { color: var(--color-on-surface-variant); }

  .origin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: center;
    background: var(--color-surface-container-low);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  }
  .origin__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
    text-wrap: balance;
  }
  .origin__media { aspect-ratio: 1; max-width: 22rem; justify-self: center; width: 100%; }
  .origin__media img { object-fit: contain; }

  .strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-md); }
  .strip .frame { aspect-ratio: 3 / 4; }

  /* ---------- Lightbox ---------- */
  .lightbox {
    border: none;
    padding: 0;
    background: transparent;
    max-width: min(92vw, 34rem);
    max-height: 92vh;
    overflow: visible;
  }
  .lightbox::backdrop { background: color-mix(in srgb, var(--color-primary) 80%, transparent); backdrop-filter: blur(6px); }
  .lightbox__img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: var(--radius-xl); background: var(--color-surface-container-lowest); }
  .lightbox__close {
    position: absolute;
    inset-block-start: -1rem;
    inset-inline-end: -1rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-secondary-container);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
  }
  /* Gallery variant: wider frame, arrows over the image, caption + counter below. */
  .lightbox--gallery { max-width: 100vw; overflow: visible; }
  /* The stage shrink-wraps the image, so close/arrows hug its edges from outside. */
  .lightbox__stage { position: relative; width: fit-content; margin-inline: auto; }
  .lightbox--gallery .lightbox__img { touch-action: pan-y; user-select: none; -webkit-user-drag: none; cursor: grab; display: block; width: auto; max-width: calc(100vw - 11rem); max-height: 72vh; }
  .lightbox__nav {
    position: absolute;
    inset-block-start: calc((100% - 2.25rem) / 2);
    translate: 0 -50%;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-secondary-container);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
  }
  .lightbox__nav[hidden] { display: none; }
  .lightbox__nav--prev { inset-inline-end: calc(100% + 1rem); }
  .lightbox__nav--next { inset-inline-start: calc(100% + 1rem); }
  /* Narrow screens: no room at the sides, so the arrows sit under the caption. */
  @media (max-width: 48rem) {
    .lightbox__stage { padding-bottom: 3.75rem; }
    .lightbox--gallery .lightbox__img { max-width: 92vw; max-height: 60vh; }
    .lightbox__nav { inset-block: auto 0; translate: none; }
    .lightbox__nav--prev { inset-inline: auto; inset-inline-start: calc(50% - 3.25rem); }
    .lightbox__nav--next { inset-inline: auto; inset-inline-start: calc(50% + 0.25rem); }
  }
  .lightbox__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    color: var(--color-on-primary);
    font-size: var(--fs-label-md);
    line-height: var(--lh-label-md);
    font-weight: 600;
  }
  .lightbox__meta [hidden] { display: none; }
  .mosaic__link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
  .mosaic__caption { pointer-events: none; }
  @media (prefers-reduced-motion: no-preference) {
    .lightbox[open] { animation: rise 0.35s ease both; }
  }

  /* ---------- Contact ---------- */
  .contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
  .form { display: flex; flex-direction: column; gap: var(--space-md); background: var(--color-surface-container-lowest); border-radius: var(--radius-xl); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); border: 1px solid var(--color-surface-container-high); }
  .form__title { font-family: var(--font-heading); font-size: var(--fs-headline-md); line-height: var(--lh-headline-md); font-weight: 700; color: var(--color-primary); }
  .field { display: flex; flex-direction: column; gap: var(--space-xs); }
  .field__label { font-size: var(--fs-label-md); line-height: var(--lh-label-md); font-weight: 700; color: var(--color-primary); }
  .field__hint { font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .field__control {
    width: 100%;
    min-height: 48px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-outline-variant);
    background: var(--color-surface);
    color: var(--color-on-surface);
    font-size: var(--fs-body-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .field__control:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-secondary-container) 35%, transparent); }
  .field__control[aria-invalid="true"] { border-color: var(--color-error); }
  textarea.field__control { min-height: 8rem; resize: vertical; }
  .field__error { font-size: var(--fs-label-md); line-height: var(--lh-label-md); font-weight: 600; color: var(--color-error); }
  .field__error:empty { display: none; }
  .choice { display: flex; flex-wrap: wrap; gap: var(--space-xs); border: none; padding: 0; margin: 0; }
  .choice legend { margin-bottom: var(--space-xs); }
  .choice__option { position: relative; }
  .choice__option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .choice__option span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-outline-variant);
    font-size: var(--fs-label-md);
    font-weight: 600;
    color: var(--color-on-surface-variant);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .choice__option input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
  .choice__option input:focus-visible + span { outline: 2px solid var(--color-secondary-container); outline-offset: 2px; }

  .channels { display: flex; flex-direction: column; gap: var(--space-lg); }
  .channels__list { display: flex; flex-direction: column; border-top: 1px solid var(--color-outline-variant); }
  .channel { display: flex; align-items: center; gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-outline-variant); }
  .channel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: var(--color-surface-container-high);
    color: var(--color-secondary);
  }
  .channel__icon svg { width: 22px; height: 22px; }
  .channel__label { display: block; font-size: var(--fs-label-md); line-height: var(--lh-label-md); color: var(--color-on-surface-variant); }
  .channel__value { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: 700; color: var(--color-primary); }
  a.channel:hover .channel__value { color: var(--color-secondary); }
  .map { aspect-ratio: 16 / 10; border: 0; width: 100%; border-radius: var(--radius-xl); background: var(--color-surface-container); }

  /* Footer additions */
  .site-footer__list a:hover { color: var(--color-secondary-container); }
  .site-footer__social { display: flex; flex-direction: column; gap: var(--space-xs); }
  .site-footer__social a { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-surface-dim); font-size: var(--fs-body-sm); }
  .site-footer__social a:hover { color: var(--color-secondary-container); }
  .site-footer__social svg { width: 18px; height: 18px; color: var(--color-secondary-container); }
  .site-footer__legal a:hover { color: var(--color-secondary-container); }
  .site-footer__credit a { color: var(--color-on-primary); text-decoration: underline; text-underline-offset: 0.2em; }

  .reel-section { background: var(--color-primary-container); }

  /* ---------- Pre-footer CTA banner ---------- */
  .cta-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-primary-container);
    text-align: center;
  }
  .cta-banner__pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.1; }
  .cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 60rem;
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  .cta-banner__eyebrow { font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--color-secondary-container); }
  .cta-banner__title { font-family: var(--font-heading); font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--ls-display-lg); font-weight: 800; color: var(--color-surface-container-lowest); max-width: 48rem; }
  .cta-banner__desc { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--color-surface-dim); max-width: 40rem; }
  .cta-banner__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-md); padding-top: var(--space-md); }
  .cta-banner__actions .btn--accent { box-shadow: var(--shadow-cta-strong); }
  .cta-banner__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding-top: var(--space-xs);
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    letter-spacing: var(--ls-label-sm);
    font-weight: var(--fw-label-sm);
    color: var(--color-surface-dim);
  }
  .cta-banner__contact-item { display: flex; align-items: center; gap: 0.25rem; }
  .cta-banner__contact-icon {
    color: var(--color-secondary-container);
    --icon-size: var(--fs-label-sm);
    --icon-weight: var(--fw-label-sm);
    --icon-line-height: var(--lh-label-sm);
    --icon-tracking: var(--ls-label-sm);
  }

  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--color-primary-container);
    color: var(--color-on-primary);
    padding-block-start: var(--space-2xl);
    /* Extra offset for the fixed .bottom-nav on narrow containers (reset in @container) */
    padding-block-end: calc(var(--space-lg) + 5rem + env(safe-area-inset-bottom, 0px));
  }
  @container page (min-width: 64rem) {
    .site-footer { padding-block-end: var(--space-lg); }
  }
  .site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .site-footer__brand { display: flex; flex-direction: column; gap: var(--space-sm); }
  .site-footer__logo { display: block; height: 2.25rem; align-self: flex-start; color: var(--color-surface-container-lowest); }
  .site-footer__blurb { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--color-surface-dim); }
  .site-footer__meta { display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-xs); font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); letter-spacing: var(--ls-label-sm); font-weight: var(--fw-label-sm); color: var(--color-surface-dim); }
  .site-footer__meta-strong { font-weight: 700; color: var(--color-secondary-fixed); }

  .site-footer__col { display: flex; flex-direction: column; gap: var(--space-sm); }
  .site-footer__heading { font-family: var(--font-heading); font-size: var(--fs-headline-sm); line-height: var(--lh-headline-sm); font-weight: var(--fw-headline-sm); color: var(--color-secondary-fixed); }
  .site-footer__list { display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
  .site-footer__list li { color: var(--color-surface-dim); }
  .site-footer__contact-item { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-surface-dim); }
  .site-footer__contact-icon { color: var(--color-secondary-container); --icon-size: var(--fs-body-md); --icon-line-height: var(--lh-body-md); }
  .site-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--fs-label-sm);
    line-height: var(--lh-label-sm);
    letter-spacing: var(--ls-label-sm);
    font-weight: var(--fw-label-sm);
    color: var(--color-secondary-container);
    margin-top: var(--space-xs);
    align-self: flex-start;
  }
  .site-footer__badge .material-symbols-outlined {
    --icon-size: var(--fs-label-sm);
    --icon-line-height: var(--lh-label-sm);
    --icon-tracking: var(--ls-label-sm);
    --icon-weight: var(--fw-label-sm);
  }

  .site-footer__bottom {
    padding-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
  }
  .site-footer__copyright { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--color-surface-dim); }
  .site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); letter-spacing: var(--ls-label-sm); font-weight: var(--fw-label-sm); color: var(--color-surface-dim); }

  /* ---------- Bottom nav (mobile pattern) ---------- */
  .bottom-nav {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--color-surface) 90%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bottom-nav__list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 5rem;
    padding-inline: var(--space-xs);
  }
  .bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 44px;
    height: 3.5rem;
    color: var(--color-on-surface-variant);
    transition: color 0.15s ease;
  }
  .bottom-nav__link[aria-current="page"] { color: var(--color-secondary); font-weight: 700; }
  .bottom-nav__label { font-size: var(--fs-label-sm); line-height: var(--lh-label-sm); }
  .bottom-nav__fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: var(--color-secondary);
    color: var(--color-on-secondary);
    box-shadow: var(--shadow-md);
    transition: transform 0.15s ease;
  }
  .bottom-nav__fab:active { transform: scale(0.95); }
}

/* ==========================================================================
   WHATSAPP ICON
   Material Symbols ships no brand glyphs, so the WhatsApp mark is a masked
   shape instead: it paints with `currentColor` and reads the same --icon-size
   token as the Material icons, so component overrides keep working.
   ========================================================================== */
@layer components {
  .icon-whatsapp {
    --icon-whatsapp-src: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTE3LjQ3MiAxNC4zODJjLS4yOTctLjE0OS0xLjc1OC0uODY3LTIuMDMtLjk2Ny0uMjczLS4wOTktLjQ3MS0uMTQ4LS42Ny4xNS0uMTk3LjI5Ny0uNzY3Ljk2Ni0uOTQgMS4xNjQtLjE3My4xOTktLjM0Ny4yMjMtLjY0NC4wNzUtLjI5Ny0uMTUtMS4yNTUtLjQ2My0yLjM5LTEuNDc1LS44ODMtLjc4OC0xLjQ4LTEuNzYxLTEuNjUzLTIuMDU5LS4xNzMtLjI5Ny0uMDE4LS40NTguMTMtLjYwNi4xMzQtLjEzMy4yOTgtLjM0Ny40NDYtLjUyLjE0OS0uMTc0LjE5OC0uMjk4LjI5OC0uNDk3LjA5OS0uMTk4LjA1LS4zNzEtLjAyNS0uNTItLjA3NS0uMTQ5LS42NjktMS42MTItLjkxNi0yLjIwNy0uMjQyLS41NzktLjQ4Ny0uNS0uNjY5LS41MS0uMTczLS4wMDgtLjM3MS0uMDEtLjU3LS4wMS0uMTk4IDAtLjUyLjA3NC0uNzkyLjM3Mi0uMjcyLjI5Ny0xLjA0IDEuMDE2LTEuMDQgMi40NzkgMCAxLjQ2MiAxLjA2NSAyLjg3NSAxLjIxMyAzLjA3NC4xNDkuMTk4IDIuMDk2IDMuMiA1LjA3NyA0LjQ4Ny43MDkuMzA2IDEuMjYyLjQ4OSAxLjY5NC42MjUuNzEyLjIyNyAxLjM2LjE5NSAxLjg3MS4xMTguNTcxLS4wODUgMS43NTgtLjcxOSAyLjAwNi0xLjQxMy4yNDgtLjY5NC4yNDgtMS4yODkuMTczLTEuNDEzLS4wNzQtLjEyNC0uMjcyLS4xOTgtLjU3LS4zNDdtLTUuNDIxIDcuNDAzaC0uMDA0YTkuODcgOS44NyAwIDAxLTUuMDMxLTEuMzc4bC0uMzYxLS4yMTQtMy43NDEuOTgyLjk5OC0zLjY0OC0uMjM1LS4zNzRhOS44NiA5Ljg2IDAgMDEtMS41MS01LjI2Yy4wMDEtNS40NSA0LjQzNi05Ljg4NCA5Ljg4OC05Ljg4NCAyLjY0IDAgNS4xMjIgMS4wMyA2Ljk4OCAyLjg5OGE5LjgyNSA5LjgyNSAwIDAxMi44OTMgNi45OTRjLS4wMDMgNS40NS00LjQzNyA5Ljg4NC05Ljg4NSA5Ljg4NG04LjQxMy0xOC4yOTdBMTEuODE1IDExLjgxNSAwIDAwMTIuMDUgMEM1LjQ5NSAwIC4xNiA1LjMzNS4xNTcgMTEuODkyYzAgMi4wOTYuNTQ3IDQuMTQyIDEuNTg4IDUuOTQ1TC4wNTcgMjRsNi4zMDUtMS42NTRhMTEuODgyIDExLjg4MiAwIDAwNS42ODMgMS40NDhoLjAwNWM2LjU1NCAwIDExLjg5LTUuMzM1IDExLjg5My0xMS44OTNhMTEuODIxIDExLjgyMSAwIDAwLTMuNDgtOC40MTNaIi8+PC9zdmc+");
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    font-size: var(--icon-size, 24px);
    line-height: var(--icon-line-height, 1);
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-image: var(--icon-whatsapp-src);
    mask-image: var(--icon-whatsapp-src);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  .btn--primary .icon-whatsapp { color: var(--color-secondary-container); }
}

/* ==========================================================================
   ICON BRIDGE (intentionally unlayered)
   The Material Symbols stylesheet ships an unlayered .material-symbols-outlined
   rule (24px / normal / 1 / normal). Unlayered CSS beats every @layer rule, so
   components can't size icons directly. This rule has the same specificity and
   loads later, so it wins, and exposes custom properties that layered
   components set instead (e.g. `.stat__icon { --icon-size: ... }`,
   `.pillar__icon { --icon-display: flex }`).
   ========================================================================== */
.material-symbols-outlined {
  display: var(--icon-display, inline-block);
  font-size: var(--icon-size, 24px);
  font-weight: var(--icon-weight, normal);
  line-height: var(--icon-line-height, 1);
  letter-spacing: var(--icon-tracking, normal);
}

/* Registered so the motto zipper can animate its closing position. */
@property --zip {
  syntax: "<percentage>";
  inherits: true; /* ::before/::after read it from the motto */
  initial-value: 100%;
}

/* Registered so the sewing seam can animate a unitless progress value. */
@property --t {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
