/* ============================================================================
   SHADO - Shared responsive layer  (mobile + tablet)
   ----------------------------------------------------------------------------
   Loaded AFTER every page's own styles. Everything here is gated behind a
   max-width media query (or hidden until a breakpoint), so the DESKTOP layout
   above 1024px is never altered. Safe to drop into any page.

   Breakpoints
     ≤ 1024px  tablet   - heavy 3-4 col grids step down to 2 col, padding eases
     ≤ 900px   nav swap - site-nav hidden, hamburger drawer takes over
     ≤ 760px   phone    - everything stacks to a single column, headlines wrap
     ≤ 460px   small    - footer to one column, final spacing tidy
   ============================================================================ */

/* ───────────────────────────────────────────────────────────────────────────
   SKIP LINK - first focusable element; hidden until it receives focus.
   ─────────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: #0a0807;
  color: #ece4d4;
  border: 1px solid #c9a37a;
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ───────────────────────────────────────────────────────────────────────────
   HEADER UTILITY LINK - Vault Lookup, in every page's .header-right slot.
   Lives here (not styles.css) because this is the one sheet all pages share.
   Below 900px the slot hides and mobile-nav.js carries the link in the drawer.
   ─────────────────────────────────────────────────────────────────────────── */
.header-lookup {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 10.4px;
  letter-spacing: 0.02em;
  color: inherit;
  border: 1px solid rgba(201, 163, 122, 0.55);
  border-radius: 1px;
  transition: background .3s, border-color .3s, color .3s;
}
.header-lookup:hover { background: rgba(201, 163, 122, 0.14); border-color: var(--bronze, #c9a37a); }
.site-header.scrolled .header-lookup { border-color: rgba(140, 108, 71, 0.6); }
.site-header.scrolled .header-lookup:hover { background: rgba(140, 108, 71, 0.08); border-color: var(--bronze-deep, #8c6c47); }

/* ───────────────────────────────────────────────────────────────────────────
   SITE MENU - built on every page by mobile-nav.js
   Header: "Menu" left, wordmark centre, search + Vault Lookup icons right.
   Menu: slim panel from the left; the page stays visible behind a soft veil;
   a second panel lists the chosen page's sections. Quiet type, small motions.
   ─────────────────────────────────────────────────────────────────────────── */
.site-nav { display: none !important; }
.site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.site-header .header-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 6px; }

/* Header icons */
.hicon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 0; border-radius: 50%;
  color: inherit; cursor: pointer;
  transition: color .25s, background-color .25s;
}
.hicon:hover { color: var(--bronze, #c9a37a); background: rgba(201, 163, 122, 0.08); }
.hicon svg { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.hicon:hover svg { transform: scale(1.08); }
.site-header .header-lookup.hicon { min-height: 0; padding: 0; border: 0; }
.hicon-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Menu button */
.smenu-toggle {
  position: fixed; top: 4px; left: var(--gutter, clamp(32px, 5vw, 96px)); z-index: 210;
  height: 46px; display: flex; align-items: center; gap: 12px;
  background: transparent; border: 0; padding: 0 6px 0 0; cursor: pointer;
  color: var(--on-dark, #ece4d4); -webkit-tap-highlight-color: transparent;
}
.smenu-bars { display: flex; flex-direction: column; gap: 6px; }
.smenu-bars span { display: block; width: 22px; height: 1px; background: currentColor; transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.smenu-bars span:last-child { transform: scaleX(0.64); }
.smenu-toggle:hover .smenu-bars span:last-child { transform: none; }
.smenu-toggle-label { font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.smenu-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }

/* Overlay + veil */
.smenu { position: fixed; inset: 0; z-index: 220; }
.smenu[hidden] { display: none; }
.smenu-scrim {
  position: absolute; inset: 0;
  background: rgba(10, 8, 7, 0.5);
  opacity: 0; transition: opacity .45s cubic-bezier(.16,1,.3,1);
}
.smenu.is-open .smenu-scrim { opacity: 1; }

/* Panels */
.smenu-panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(380px, 100vw);
  background: var(--ink, #0a0807); color: var(--on-dark, #ece4d4);
  padding: 22px 40px 36px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; transform: translateX(-28px);
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.smenu.is-open .smenu-main { opacity: 1; transform: none; pointer-events: auto; }
.smenu-main { border-right: 1px solid rgba(201, 163, 122, 0.14); z-index: 2; }
.smenu-sub {
  left: 380px; width: min(340px, 100vw); z-index: 1;
  background: #15110d; padding-top: 96px;
  border-right: 1px solid rgba(201, 163, 122, 0.14);
}
.smenu.is-open.has-sub .smenu-sub { opacity: 1; transform: none; pointer-events: auto; }
.smenu-search { z-index: 3; }
.smenu.is-open.is-search .smenu-search { opacity: 1; transform: none; pointer-events: auto; }
.smenu.is-open.is-search .smenu-main,
.smenu.is-open.is-search .smenu-sub { opacity: 0; pointer-events: none; }

/* Top row: Close + Search */
.smenu-top { display: flex; align-items: center; justify-content: space-between; height: 46px; margin-bottom: 52px; }
.smenu-close, .smenu-find, .smenu-back {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer; color: var(--on-dark, #ece4d4);
  font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  transition: color .25s;
}
.smenu-close:hover, .smenu-find:hover, .smenu-back:hover { color: var(--bronze-2, #d8b48a); }
.smenu-find { opacity: .75; }
.smenu-back { display: none; margin: -74px 0 30px; }

/* Primary links: quiet serif, hairline that draws on hover, chevron nudges */
.smenu-list, .smenu-sublist, .smenu-secondary, .smenu-results { list-style: none; margin: 0; padding: 0; }
.smenu-item {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 48px; padding: 0;
  background: transparent; border: 0; text-align: left; cursor: pointer; text-decoration: none;
  font-family: var(--f-display, "Cormorant Garamond", Georgia, serif); font-size: 21px; font-weight: 400; letter-spacing: 0.01em;
  color: var(--on-dark, #ece4d4);
  opacity: 0; transform: translateY(6px);
  transition: color .25s, opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.smenu.is-open .smenu-item { opacity: 1; transform: none; }
.smenu.is-open .smenu-li:nth-child(1) .smenu-item { transition-delay: .06s; }
.smenu.is-open .smenu-li:nth-child(2) .smenu-item { transition-delay: .10s; }
.smenu.is-open .smenu-li:nth-child(3) .smenu-item { transition-delay: .14s; }
.smenu.is-open .smenu-li:nth-child(4) .smenu-item { transition-delay: .18s; }
.smenu.is-open .smenu-li:nth-child(5) .smenu-item { transition-delay: .22s; }
.smenu.is-open .smenu-li:nth-child(6) .smenu-item { transition-delay: .26s; }
.smenu-item-text { position: relative; padding: 6px 0; }
.smenu-item-text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; opacity: .6;
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.smenu-item:hover, .smenu-item.is-active { color: var(--bronze-2, #d8b48a); }
.smenu-item:hover .smenu-item-text::after, .smenu-item.is-active .smenu-item-text::after { transform: scaleX(1); }
.smenu-item.is-current .smenu-item-text { color: var(--bronze, #c9a37a); }
.smenu-chev { flex-shrink: 0; opacity: .55; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s; }
.smenu-item:hover .smenu-chev, .smenu-item.is-active .smenu-chev { transform: translateX(4px); opacity: 1; }

/* Secondary links and social */
.smenu-secondary { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(201, 163, 122, 0.14); display: grid; grid-template-columns: repeat(3, max-content); gap: 2px 30px; }
.smenu-secondary a {
  display: inline-block; padding: 10px 0;
  font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(236, 228, 212, 0.62); text-decoration: none; transition: color .25s;
}
.smenu-secondary a:hover { color: var(--bronze-2, #d8b48a); }
.smenu-social { display: flex; gap: 10px; margin-top: 18px; }
.smenu-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(236, 228, 212, 0.75); border: 1px solid rgba(236, 228, 212, 0.12); transition: color .25s, border-color .25s; }
.smenu-social a:hover { color: var(--bronze-2, #d8b48a); border-color: rgba(201, 163, 122, 0.4); }

/* Second panel: the page's sections */
.smenu-sub-title {
  margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(201, 163, 122, 0.18);
  font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze, #c9a37a);
}
.smenu-subitem {
  display: block; padding: 10px 0;
  font-family: var(--f-display, "Cormorant Garamond", Georgia, serif); font-size: 17px; letter-spacing: 0.01em;
  color: rgba(236, 228, 212, 0.82); text-decoration: none;
  opacity: 0; transform: translateX(-8px);
  transition: color .25s, opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
  transition-delay: 0s, calc(var(--i, 0) * 35ms + 60ms), calc(var(--i, 0) * 35ms + 60ms);
}
.smenu.has-sub .smenu-subitem { opacity: 1; transform: none; }
.smenu.has-sub .smenu-subitem:hover { color: var(--bronze-2, #d8b48a); transform: translateX(6px); transition-delay: 0s; }

/* Search */
.smenu-search-label { display: block; margin-bottom: 10px; font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze, #c9a37a); }
.smenu-search-input {
  width: 100%; padding: 10px 0 12px; background: transparent; border: 0; border-bottom: 1px solid rgba(201, 163, 122, 0.4);
  color: var(--on-dark, #ece4d4); font-family: var(--f-display, "Cormorant Garamond", Georgia, serif); font-size: 22px; outline: none;
  transition: border-color .25s;
}
.smenu-search-input::placeholder { color: rgba(236, 228, 212, 0.38); }
.smenu-search-input:focus { border-bottom-color: var(--bronze, #c9a37a); }
.smenu-search-hint { margin: 14px 0 0; font-size: 12px; color: rgba(236, 228, 212, 0.55); }
.smenu-results { margin-top: 18px; }
.smenu-result {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(236, 228, 212, 0.07);
  text-decoration: none; opacity: 0; animation: smenu-in .4s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i, 0) * 30ms);
}
.smenu-result-t { font-family: var(--f-display, "Cormorant Garamond", Georgia, serif); font-size: 17px; color: var(--on-dark, #ece4d4); transition: color .25s; }
.smenu-result-p { font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(236, 228, 212, 0.5); }
.smenu-result:hover .smenu-result-t { color: var(--bronze-2, #d8b48a); }
.smenu-noresult { padding: 12px 0; font-size: 13px; color: rgba(236, 228, 212, 0.6); }
@keyframes smenu-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

body.smenu-lock { overflow: hidden; }

/* Phones: panels take the width; the section panel slides over with Back */
@media (max-width: 700px) {
  .smenu-panel { width: 100vw; padding: 18px 24px 32px; }
  .smenu-sub { left: 0; padding-top: 22px; z-index: 3; }
  .smenu-back { display: inline-flex; margin: 0 0 26px; }
  .smenu-top { margin-bottom: 36px; }
}
@media (max-width: 900px) {
  .page-indicator { display: none !important; }
  .site-header .header-right { gap: 0; }
  .smenu-toggle { left: clamp(12px, 4vw, 30px); }
}
@media (max-width: 600px) { .smenu-toggle-label { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .smenu-panel, .smenu-item, .smenu-subitem { transform: none !important; }
  .smenu-result { animation: none; opacity: 1; }
}

/* ───────────────────────────────────────────────────────────────────────────
   TABLET   ≤ 1024px - step the densest grids down; ease the biggest padding
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* index */
  .editions { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  /* Partners */
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  /* How It Works - feature gallery */
  .hiw-gallery, .gallery-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ───────────────────────────────────────────────────────────────────────────
   PHONE   ≤ 760px - single column everywhere, headlines allowed to wrap
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {

  /* ---- shared section padding eases up for density ---- */
  .section-pad      { padding-top: clamp(72px, 11vh, 120px); padding-bottom: clamp(72px, 11vh, 120px); }
  .section-pad-lg   { padding-top: clamp(84px, 12vh, 130px); padding-bottom: clamp(84px, 12vh, 130px); }
  .section-pad-tight{ padding-top: clamp(56px, 8vh, 88px);  padding-bottom: clamp(56px, 8vh, 88px); }

  /* ---- INDEX (styles.css) ---- */
  .hero-b { grid-template-columns: 1fr; height: auto; min-height: 100vh; }
  .hero-b .hero-text { padding-top: 104px; padding-bottom: 56px; }
  .hero-b .hero-media { min-height: 56vh; border-left: 0; border-top: 1px solid var(--line-dark); }

  /* Cinematic hero (home) - push wording to the bottom so the figure reads
     up top, drop the scroll cue, ease the headline down to fit. */
  .hero-a { align-items: flex-end; }
  .hero-a .hero-content {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-bottom: clamp(34px, 6vh, 60px);
    gap: 14px;
    max-width: 100%;
  }
  .hero-a .hero-headline { white-space: normal; font-size: clamp(34px, 10vw, 50px); }
  .hero-a .hero-promise { font-size: 14px; }
  .hero-a .scroll-cue { display: none !important; }
  /* Compact, side-by-side CTAs so the entry point reads calm, not busy,
     and the wording can sit lower against the figure. */
  .hero-a .hero-ctas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
  }
  .hero-a .hero-ctas .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
  }
  /* Bottom-weighted scrim: figure stays visible up top, text legible below */
  .hero-a .hero-fade {
    background:
      linear-gradient(180deg,
        rgba(10,8,7,0.18) 0%,
        rgba(10,8,7,0.04) 24%,
        transparent 34%,
        rgba(10,8,7,0.6) 54%,
        rgba(10,8,7,0.9) 74%,
        rgba(10,8,7,0.95) 100%);
  }

  .invisible-grid { grid-template-columns: 1fr; gap: 48px; }
  .invisible-grid h2 { margin-bottom: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }

  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }

  .editions { grid-template-columns: 1fr; gap: 40px; }

  /* !important so an inline grid-template-columns on a section (e.g. the home
     Premise) can't keep its desktop two-column ratio on a phone — without this
     the Premise image stays pinned in a narrow column and renders tiny. */
  .split-grid, .split-grid-reverse { grid-template-columns: 1fr !important; gap: 44px; }
  .split-media { aspect-ratio: 4/3; }
  /* "What Shado is" mirrors the Premise on desktop (image left); on mobile,
     put the text first so it doesn't sit image-to-image under the Premise. */
  .split-flip-mobile .split-text { order: 1; }
  .split-flip-mobile .split-media { order: 2; }

  .tughra-grid { grid-template-columns: 1fr; gap: 40px; }

  .stat-row { grid-template-columns: 1fr; max-width: 420px; }
  .stat-cell { padding: 34px 12px; }
  .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat-cell-value { white-space: normal; }
  .stat-head { margin-bottom: 56px; }

  .legacy-banner h2 { white-space: normal; }

  /* ---- ABOUT ---- */
  .problem-stats { grid-template-columns: 1fr; }
  /* Scale of the problem: drop the per-cell vertical border (it only showed on
     some cells when stacked) and use clean horizontal dividers instead. */
  .prob-stat { border-right: 0; padding: clamp(40px, 7vw, 56px) 20px; }
  .prob-stat:not(:last-child) { border-bottom: 1px solid var(--line-dark); }
  .origin-split, .founder-split, .believe-grid, .responsibility-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 7vw, 64px);
  }
  /* About → "What we believe": copy + accordion lead, portrait follows
     (source order is image-first, which would otherwise sit above the heading). */
  .believe-grid .believe-text  { order: 1; }
  .believe-grid .believe-media { order: 2; }
  /* Founder isn't the centrepiece - keep the portrait modest and centred. */
  .founder-photo { max-width: 240px; width: 60%; margin: 0 auto; }
  .believe-media { height: 380px; }
  /* Responsibility & Trust: rope image runs too tall on a phone - scale it down. */
  .responsibility-media { height: 300px; }

  /* ---- HOW IT WORKS ---- */
  .step-row { grid-template-columns: 1fr; min-height: 0; }
  .hiw-gallery, .gallery-grid, .trust-grid { grid-template-columns: 1fr; }

  /* ---- PARTNERS ---- */
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 44px; }
  .integration-header .section-headline { white-space: normal; }
  .benefit-table tbody td:first-child { white-space: normal; }

  /* ---- ESG ---- */
  .purpose-grid, .building-inner, .split-section { grid-template-columns: 1fr; }

  /* ---- SERVICES ---- */
  .tier-prov, .tier-sent, .guardian-text, .everyday-grid { grid-template-columns: 1fr; }

  /* ---- PRIVACY / TERMS ---- */
  .policy-body { grid-template-columns: 1fr; }
  .policy-header-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Home - "Work with Shado" partner section: keep the subject centred
     horizontally, and lift the engraved SHADO up near the top so the
     "For Partners" eyebrow sits just beneath it - mirroring the desktop
     framing. (Overrides the .img-reveal transform end-state but keeps a
     subtle reveal zoom so the micro-interaction is preserved.) */
  .media-section .media-bg .bg-img { object-position: center center; }
  .media-section .media-bg.img-reveal img { transform: scale(1.3) translateY(-9%); }
  .media-section .media-bg.img-reveal.in img { transform: scale(1.22) translateY(-9%); }

  /* Editorial image reveal - give the standalone story photos their own
     delayed fade-and-settle (mirroring the home page .img-reveal) instead of
     only sliding up with their parent block. Keyed off the parent .reveal.in
     so the image eases in a beat after the surrounding copy. */
  .responsibility-media img,
  .believe-media img,
  .split-img img,
  .intro-media img,
  .why-media img {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .45s ease-out, transform 1.2s var(--ease-out);
  }
  .reveal.in .responsibility-media img,
  .reveal.in .believe-media img,
  .reveal.in .split-img img,
  .intro-media.reveal.in img,
  .why-media.reveal.in img {
    opacity: 1;
    transform: none;
  }

  /* ---- FOOTER (shared everywhere) ---- */
  /* Brand on its own full-width row, then the three link columns share a
     single row so the footer stays short on a phone. The per-page canonical
     rule `.site-footer .footer-grid` (4 cols / 64px gap) has specificity (0,2,0),
     so these overrides MUST be scoped to .site-footer too or they're ignored. */
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 7vw, 48px) 22px; }
  .site-footer .footer-brand { grid-column: 1 / -1; min-width: 0; }
}

/* ───────────────────────────────────────────────────────────────────────────
   SMALL PHONE   ≤ 460px - footer to one column, last spacing tidy
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 460px) {
  /* Keep the three link columns on one row - short labels still fit - so the
     footer doesn't stretch into a long single column. */
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 14px; }
  .footer-col h4, .footer-col .footer-heading { margin-bottom: 16px; }
  .hero-a .hero-ctas, .hero-b .hero-ctas, .hero-c .hero-ctas,
  .hero-ctas, .cta-row { width: 100%; }
  .hero-a .hero-ctas .btn, .hero-b .hero-ctas .btn, .cta-row .btn { flex: 1 1 auto; }
}

/* Respect reduced-motion: never leave the editorial photos hidden if the
   user has opted out of animation. */
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .responsibility-media img,
  .believe-media img,
  .split-img img,
  .intro-media img,
  .why-media img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Press page - section spacing */
.press-page .insights-section {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.press-page .section-header {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.press-page .article-grid,
.press-page .press-grid,
.press-page .cards-grid {
  margin-top: 0;
  row-gap: 24px;
}
@media (max-width: 760px) {
  .press-page .insights-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .press-page .section-header {
    margin-bottom: 28px;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   SECTION RHYTHM - unify vertical section padding across pages on phones
   ----------------------------------------------------------------------------
   Several pages set their own desktop section padding (About ~130px,
   How It Works cornerstones/FAQ ~114px, Services everyday/cert ~105px, ESG
   promise ~130px on a phone) which left the site feeling uneven page-to-page:
   the home page was deliberately tightened to ~89px while these ran much
   looser, adding dead space and extra scrolling. Pull the spacious outliers
   down to the home page's mobile cadence (~89px) so every page shares one
   rhythm. Only top/bottom are touched - the horizontal gutter is left intact -
   and already-tight CTA / banner sections are left alone.
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .origin-section,
  .founder-section,
  .believe-section,
  .responsibility-section,
  .problem-section,
  .cornerstones,
  .faq-section,
  .vault-proof,
  .everyday-section,
  .cert-section,
  .promise-section {
    padding-top: clamp(72px, 11vh, 116px);
    padding-bottom: clamp(72px, 11vh, 116px);
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   HEADINGS - drop desktop-tuned hard breaks on phones
   ----------------------------------------------------------------------------
   Several display headings carry hardcoded <br> breaks composed for desktop
   widths. On a phone those forced breaks fight the narrower column and produce
   uneven, too-many-line headings (e.g. the Premise ran 4 lines, "Invisible By
   Design" was split across 2). On phones we hide the authored breaks and let
   text-wrap: balance choose the fewest, most even lines for the column - which
   lands the Premise on 3 lines and "Invisible By Design" on 1. The !important
   on text-wrap also overrides the inline text-wrap:normal on the Premise h2.
   Desktop keeps its authored line breaks untouched (this is phone-only).
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .brk-soft {
    display: none;
  }
  .display,
  .hero-headline,
  .section-headline,
  .tier-name,
  .founder-header h2 {
    text-wrap: balance !important;
  }
  /* Premise: keep both authored breaks but size down so each clause fits one
     line - "Luxury Was Never Designed" / "For The World We Live In." / "Until
     Now." reads as 3 tidy lines with the coda on its own line. */
  #vision .display {
    font-size: clamp(25px, 7.4vw, 30px) !important;
    text-wrap: normal !important;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   PHONE-ONLY FIXES - misc legibility / overflow corrections
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* Partners: the fine-print footnote is nowrap on desktop (fits one line at
     full width); on a phone that pushed it off-screen and created a horizontal
     scroll. Let it wrap. */
  .integration-footnote.fine { white-space: normal; }

  /* Legacy Without End: darken the bottom scrim on phones so the headline and
     copy read clearly over the brighter areas of the image. */
  .legacy-banner .banner-bg::after {
    background: linear-gradient(180deg,
      rgba(10,8,7,0.20) 0%,
      rgba(10,8,7,0.24) 30%,
      rgba(10,8,7,0.72) 60%,
      rgba(10,8,7,0.97) 100%);
  }
}

/* Non-clickable footer microcopy (e.g. "Patents pending") */
.footer-muted {
  color: var(--on-dark-faint, rgba(236,228,212,0.38));
  cursor: default;
}

/* ───────────────────────────────────────────────────────────────────────────
   AUDIT FIXES - overflow & small-text corrections (phone + narrow tablet)
   ----------------------------------------------------------------------------
   Each page sets its footer tagline to white-space:nowrap (e.g. "A new standard
   for ownership."). At ~399px that single line is wider than a phone viewport,
   so EVERY inner page gained a ~24px horizontal scrollbar. Let the tagline wrap
   on phones - it falls to a tidy two lines and the sideways scroll disappears.
   (!important to beat the per-page .site-footer .footer-tagline specificity.)
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .footer-brand .tagline,
  .footer-tagline,
  .site-footer .footer-tagline { white-space: normal !important; max-width: 14em; }

  /* Contact: the privacy note was nowrap (8.4px mono) and ran ~517px wide,
     pushing the page well off-screen. Allow it to wrap and cap its width. */
  .privacy-note { white-space: normal !important; max-width: 90vw; }

  /* Smallest mono labels (7-7.2px) sat below a comfortable phone reading size.
     Lift the floor on phones only; desktop keeps the finer editorial scale. */
  .stat-cell-source { font-size: 9px; }
  .vault-preview .data-label,
  .data-label { font-size: 9px; }
  .vault-preview .item-id { font-size: 9px; }
}

/* Partners fine-print footnote: it is nowrap (~836px) and the ≤760 wrap rule
   above didn't cover the 761-900px band (iPad portrait), where it overflowed
   ~120px. Wrap it across the whole tablet range; desktop still fits one line. */
@media (max-width: 960px) {
  .integration-footnote.fine { white-space: normal; }
}

/* ───────────────────────────────────────────────────────────────────────────
   KEYBOARD FOCUS - default outline for pages that don't define their own.
   :where() keeps specificity at zero so any page-level focus style wins.
   #8c6c47 (the site's deep bronze) is about 4:1 on both cream and ink.
   ─────────────────────────────────────────────────────────────────────────── */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 1.5px solid #8c6c47;
  outline-offset: 3px;
}
:where(main[tabindex="-1"]):focus { outline: none; }

/* ───────────────────────────────────────────────────────────────────────────
   HEADER LABELS + SEARCH SHEET (design review)
   Labels sit beside the icons on wider screens so each control reads clearly.
   Search drops from the top as a full-width sheet, the page veiled below.
   ─────────────────────────────────────────────────────────────────────────── */
.hicon { width: auto; min-width: 40px; padding: 0 10px; gap: 9px; border-radius: 20px; }
.hicon-label {
  font-family: var(--f-body, "Manrope", system-ui, sans-serif);
  font-size: 10.4px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
}
.site-header .header-right { gap: 2px; }
@media (max-width: 1100px) {
  .hicon { width: 40px; padding: 0; }
  .hicon-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.smenu-search.smenu-panel {
  left: 0; right: 0; bottom: auto; width: auto;
  max-height: min(78vh, 720px);
  padding: 22px var(--gutter, clamp(32px, 5vw, 96px)) 44px;
  border-bottom: 1px solid rgba(201, 163, 122, 0.16);
  transform: translateY(-16px);
}
.smenu.is-open.is-search .smenu-search { transform: none; }
.smenu-search .smenu-top { justify-content: flex-end; margin-bottom: 18px; }
.ssheet-inner { width: 100%; max-width: 880px; margin: 0 auto; }
.smenu-search .smenu-search-label { margin-bottom: 14px; }
.ssheet-field {
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid rgba(201, 163, 122, 0.4);
  color: rgba(236, 228, 212, 0.6);
  transition: border-color .3s;
}
.ssheet-field:focus-within { border-bottom-color: var(--bronze, #c9a37a); color: var(--bronze, #c9a37a); }
.ssheet-field svg { width: 22px; height: 22px; flex-shrink: 0; }
.ssheet-field .smenu-search-input { border: 0; padding: 14px 0 16px; font-size: clamp(26px, 3vw, 34px); }
.ssheet-field .smenu-search-input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); }
.ssheet-heading {
  margin: 0 0 12px;
  font-family: var(--f-body, "Manrope", system-ui, sans-serif); font-size: 10.4px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze, #c9a37a);
}
.ssheet-suggest { margin-top: 30px; }
.ssheet-sugs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
.ssheet-sug {
  position: relative; padding: 8px 0; background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-display, "Cormorant Garamond", Georgia, serif); font-size: 19px; color: rgba(236, 228, 212, 0.82);
  opacity: 0; animation: smenu-in .45s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i, 0) * 40ms + 120ms);
  transition: color .25s;
}
.ssheet-sug::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; opacity: .6;
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.ssheet-sug:hover { color: var(--bronze-2, #d8b48a); }
.ssheet-sug:hover::after { transform: scaleX(1); }
.smenu-search .smenu-results { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 40px; }
.ssheet-list { list-style: none; margin: 0; padding: 0; }
.smenu-search .smenu-result { padding: 9px 0; border-bottom: 0; }
.smenu-search .smenu-result-t { position: relative; font-size: 18px; }
.smenu-search .smenu-result-t::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; opacity: .5;
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.smenu-search .smenu-result:hover .smenu-result-t::after { transform: scaleX(1); }
.smenu-search .smenu-noresult { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .smenu-search.smenu-panel { max-height: 100vh; bottom: 0; padding: 18px 24px 32px; }
  .smenu-search .smenu-results { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ssheet-sug { animation: none; opacity: 1; } }
/* Search field: no box when selected; the underline brightening shows focus */
.smenu-search-input { -webkit-appearance: none; appearance: none; border-radius: 0; box-shadow: none; }
.smenu-search-input:focus, .smenu-search-input:focus-visible { outline: none !important; box-shadow: none; }
.smenu-search-input::-webkit-search-decoration { -webkit-appearance: none; }

/* ── DESIGN REVIEW 3 (2026-10-03) ─────────────────────────────────────── */
/* Factual credibility line under section headings (dark sections) */
.cred-line {
  margin: 14px 0 0;
  font-family: var(--f-body);
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(236,228,212,.6);
  text-align: center;
}

/* Outlined bronze buttons: the fill sweeps in slowly, a soft press on click */
.btn-outline-bronze {
  background-color: transparent;
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size .55s cubic-bezier(.16,1,.3,1), color .35s ease, transform .2s ease;
}
.btn-outline-bronze:hover,
.btn-outline-bronze:focus-visible {
  background-color: transparent;
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
  color: var(--ink);
  transform: none;
}
.btn-outline-bronze:active,
.btn-fill-bronze:active { transform: scale(.98); }

/* Hero on phones: main button sized to its label, link beside it */
@media (max-width: 760px) {
  .hero-a .hero-ctas { gap: 22px; flex-wrap: nowrap; }
  .hero-a .hero-ctas .btn { flex: 0 1 auto; padding: 13px 22px; }
  .hero-a .hero-ctas .hero-link { flex: none; font-size: 10px; }
}

/* Parallax on full-width image bands (parallax.js); off with reduced motion */
.has-parallax img { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  .btn-outline-bronze { transition: none; }
  .btn-outline-bronze:active, .btn-fill-bronze:active { transform: none; }
}

/* Tablets held upright: the wide side-by-side hero puts the wording over the
   watch. Use the phone composition instead: figure up top, wording at the
   bottom over a soft dark fade. Landscape tablets keep the desktop layout. */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero-a { align-items: flex-end; }
  .hero-a .hero-content {
    padding: 0 var(--gutter) clamp(56px, 7vh, 88px);
    max-width: 100%;
  }
  .hero-a .scroll-cue { display: none !important; }
  .hero-a .hero-fade {
    background:
      linear-gradient(180deg,
        rgba(10,8,7,0.18) 0%,
        transparent 30%,
        transparent 44%,
        rgba(10,8,7,0.6) 62%,
        rgba(10,8,7,0.9) 80%,
        rgba(10,8,7,0.95) 100%);
  }
}

/* ── COOKIE BAR (consent.js) ─────────────────────────────────────────── */
.ck-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(21, 17, 13, 0.98);
  border-top: 1px solid rgba(201, 163, 122, 0.22);
  color: #ece4d4;
  font-family: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  max-height: 100vh; overflow-y: auto;
}
.ck-bar.is-in { transform: none; }
.ck-bar[hidden] { display: none; }
.ck-main {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 20px clamp(20px, 3vw, 32px);
}
.ck-text { margin: 0; max-width: 560px; font-size: 13.6px; font-weight: 300; line-height: 1.7; color: rgba(236, 228, 212, 0.86); }
.ck-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; font-weight: 500; color: #e6cdac; margin-right: 6px; }
.ck-text a { color: #c9a37a; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ck-text a:hover { color: #e6cdac; }
.ck-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ck-btn {
  font-family: inherit; font-size: 10.4px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 22px; border: 1px solid transparent; border-radius: 1px; cursor: pointer;
  background: transparent; color: #ece4d4;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.ck-btn-text { color: rgba(236, 228, 212, 0.62); padding-left: 14px; padding-right: 14px; }
.ck-btn-text:hover { color: #ece4d4; }
.ck-btn-line { border-color: rgba(236, 228, 212, 0.4); }
.ck-btn-line:hover { border-color: #c9a37a; color: #e6cdac; }
.ck-btn-fill { background: #c9a37a; border-color: #c9a37a; color: #0a0807; }
.ck-btn-fill:hover { background: #d8b48a; border-color: #d8b48a; }
.ck-btn:focus-visible, .ck-switch:focus-visible, .ck-reopen:focus-visible, .ck-text a:focus-visible { outline: 1px solid #c9a37a; outline-offset: 3px; }

.ck-panel { border-top: 1px solid rgba(201, 163, 122, 0.14); padding: 6px clamp(20px, 3vw, 32px) 10px; }
.ck-panel[hidden] { display: none; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.ck-row + .ck-row { border-top: 1px solid rgba(236, 228, 212, 0.07); }
.ck-row-title { margin: 0 0 6px; font-size: 10.4px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #ece4d4; }
.ck-row-desc { margin: 0; font-size: 13px; font-weight: 300; line-height: 1.6; color: rgba(236, 228, 212, 0.62); }
.ck-always { flex-shrink: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9.6px; letter-spacing: 0.2em; text-transform: uppercase; color: #c9a37a; }
.ck-switch {
  position: relative; flex-shrink: 0; width: 42px; height: 22px; padding: 0; cursor: pointer;
  border: 1px solid rgba(236, 228, 212, 0.35); border-radius: 22px; background: transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.ck-knob { position: absolute; top: 50%; left: 4px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(236, 228, 212, 0.55); transition: transform .3s cubic-bezier(.16,1,.3,1), background-color .3s ease; }
.ck-switch[aria-checked="true"] { background: rgba(201, 163, 122, 0.25); border-color: #c9a37a; }
.ck-switch[aria-checked="true"] .ck-knob { transform: translateX(20px); background: #c9a37a; }

.ck-reopen { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(236, 228, 212, 0.3); }
.ck-reopen:hover { color: #c9a37a; }

@media (max-width: 860px) {
  .ck-main { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
  .ck-text { max-width: none; font-size: 13px; }
  .ck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ck-btn { padding: 13px 10px; text-align: center; }
  .ck-btn-text { grid-column: 1 / -1; order: 3; padding: 8px; }
  .ck-panel { padding: 0 20px 8px; }
  .ck-row { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-bar, .ck-knob, .ck-switch { transition: none; }
}
