/* ===========================================================
   Tesária — Premium Boutique Site
   Hand-crafted CSS, mobile-first, WCAG 2.2 AA-aware.
   =========================================================== */

:root {
  /* Palette */
  --obsidian:   #06090C;   /* tesaria.tech-like deep cool near-black; matches logo PNG bg */
  --obsidian-2: #0B0F14;
  --obsidian-3: #11161C;
  --ivory:      #EFEBE1;
  --ivory-mute: #C9C2B2;
  --ivory-soft: #8A8478;
  --gold:       #D4A843;
  --gold-soft:  #F0D48A;
  --gold-deep:  #B8924A;
  --cyan-deep:   #116E79;
  --cyan-deeper: #174A52;
  --cyan-mid:    #1A8B98;
  --cyan-ice:    #AEEAF2;
  --cyan-bright: #00D4FF;   /* used ONLY in the gold→cyan text gradient — never elsewhere */

  /* Luxury gradients (single source of truth — used everywhere they appear) */
  --grad-gold:        linear-gradient(135deg, #D4A843 0%, #F0D48A 50%, #D4A843 100%);
  --grad-gold-cyan:   linear-gradient(90deg, #D4A843, #00D4FF);
  --grad-divider:     linear-gradient(90deg, transparent, rgba(212,168,67,0.6), transparent);
  --hairline:   rgba(239, 235, 225, 0.10);
  --hairline-2: rgba(239, 235, 225, 0.18);

  /* Typography */
  --serif: 'Cormorant Garamond', 'Cormorant', 'Georgia', 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(24px, 5vw, 80px);
  --section-y: clamp(80px, 12vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 240ms;
  --dur-mid:  520ms;
  --dur-slow: 920ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Account for fixed nav height so anchor links don't hide behind the header */
  scroll-padding-top: 96px;
  /* Firefox custom scrollbar (gold thumb on dark obsidian track) */
  scrollbar-width: thin;
  scrollbar-color: #D4A843 rgba(6, 9, 12, 0.5);
}

/* =========================================================
   Custom Gold Scrollbar (WebKit: Chrome, Safari, Edge, Opera)
   ========================================================= */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: rgba(6, 9, 12, 0.55);
  border-left: 1px solid rgba(212, 168, 67, 0.08);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4A843 0%, #F0D48A 50%, #D4A843 100%);
  border: 2px solid rgba(6, 9, 12, 0.7);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 220, 0.30),
    0 0 6px rgba(212, 168, 67, 0.30);
  transition: background 240ms ease, box-shadow 240ms ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #F0D48A 0%, #FFE9B0 50%, #F0D48A 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 220, 0.50),
    0 0 12px rgba(212, 168, 67, 0.55);
}
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #B8902F 0%, #D4A843 50%, #B8902F 100%);
}
::-webkit-scrollbar-corner {
  background: rgba(6, 9, 12, 0.55);
}

/* Ivory background pages (legal pages) — softer scrollbar to suit the lighter canvas */
body.page--ivory::-webkit-scrollbar-track {
  background: rgba(212, 168, 67, 0.08);
  border-left: 1px solid rgba(212, 168, 67, 0.15);
}
body.page--ivory::-webkit-scrollbar-thumb {
  border-color: rgba(239, 235, 225, 0.7);
}
body.page--ivory {
  scrollbar-color: #D4A843 rgba(212, 168, 67, 0.08);
}

/* =========================================================
   Scroll Progress Bar — thin gold line that fills as you scroll
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #B8902F 0%, #D4A843 35%, #F0D48A 65%, #D4A843 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.55);
  transition: transform 80ms linear;
  will-change: transform;
}

/* =========================================================
   Back-to-top pill — appears after scroll, gold accent
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(6, 9, 12, 0.85);
  color: #F0D48A;
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 320ms ease,
              background 240ms ease, border-color 240ms ease, color 240ms ease,
              box-shadow 240ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 168, 67, 0.08);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(212, 168, 67, 0.14);
  border-color: rgba(212, 168, 67, 0.85);
  color: #FFE9B0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 168, 67, 0.35);
  outline: none;
}
.back-to-top:focus-visible {
  outline: 2px solid rgba(212, 168, 67, 0.85);
  outline-offset: 3px;
}
.back-to-top__icon {
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 11px;
  }
  .back-to-top__label { display: none; }
  .back-to-top__icon { font-size: 16px; transform: none; }
}

/* On ivory legal pages, swap to a lighter pill variant */
body.page--ivory .back-to-top {
  background: rgba(255, 250, 240, 0.92);
  color: #6E5418;
  border-color: rgba(212, 168, 67, 0.55);
}
body.page--ivory .back-to-top:hover,
body.page--ivory .back-to-top:focus-visible {
  background: rgba(212, 168, 67, 0.18);
  color: #4A3A14;
}

body {
  margin: 0;
  background-color: var(--obsidian);
  background-image: none;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button { font: inherit; color: inherit; }

a { color: var(--cyan-ice); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--ivory); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan-ice);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--cyan-deep); color: var(--ivory); }

/* ---------- Skip link ---------- */
/* Skip link — completely invisible until keyboard-focused (no grey peek-through) */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  background: var(--ivory);
  color: var(--obsidian);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  z-index: 1000;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform 220ms var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span:first-child { color: var(--gold); font-feature-settings: 'lnum'; }
.eyebrow--gold { color: var(--gold); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

.section__title {
  font-size: clamp(44px, 7vw, 96px);
  margin: 0 0 28px;
  max-width: 22ch;
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.section__lede {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ivory-mute);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    letter-spacing 480ms var(--ease);
  white-space: nowrap;
}
.btn:hover { letter-spacing: 0.24em; }   /* delicate breathing on hover */
/* PRIMARY — gold gradient with slow shimmer sweep on hover */
.btn--primary {
  background: var(--grad-gold);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--obsidian);
  border-color: transparent;
  font-weight: 700;
  box-shadow:
    0 12px 32px -10px rgba(212, 168, 67, 0.55),
    0 0 0 1px rgba(255, 248, 220, 0.14) inset,    /* inner ivory hairline */
    0 1px 0 rgba(255, 255, 255, 0.30) inset,       /* top-edge highlight */
    0 -1px 0 rgba(0, 0, 0, 0.18) inset;            /* bottom-edge depth */
  transition:
    background-position 720ms var(--ease),
    box-shadow 420ms var(--ease),
    transform 320ms var(--ease),
    letter-spacing 480ms var(--ease);
}
/* Slow diagonal light-sweep that crosses the button on hover */
.btn--primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 950ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.btn--primary > * { position: relative; z-index: 1; }

.btn--primary:hover {
  background-position: 100% 50%;
  color: var(--obsidian);
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px -10px rgba(212, 168, 67, 0.72),
    0 0 0 1px rgba(255, 248, 220, 0.30) inset,
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 -1px 0 rgba(0, 0, 0, 0.22) inset,
    0 0 36px 0 rgba(212, 168, 67, 0.38);
}
.btn--primary:hover::before { left: 125%; }
.btn--primary:active { transform: translateY(0); }
.btn--primary:focus-visible {
  outline: none;
  box-shadow:
    0 18px 44px -10px rgba(212, 168, 67, 0.72),
    0 0 0 2px var(--gold-soft),
    0 0 36px 0 rgba(212, 168, 67, 0.40);
}

/* GHOST — outlined dark pill (stays dark on hover, no white/gold flash) */
.btn--ghost {
  background: rgba(5, 5, 5, 0.55);
  color: var(--ivory);
  border-color: rgba(239, 235, 225, 0.40);
  font-weight: 600;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow:
    0 0 0 1px rgba(239, 235, 225, 0.04) inset;
}
/* No more gold-fill sweep — keep the button uniformly dark */
.btn--ghost::before { content: none; display: none; }
.btn--ghost > * { position: relative; z-index: 1; }
/* Hover: stay dark, brighten the outline, gentle lift */
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(20, 20, 20, 0.78);
  color: var(--ivory);
  border-color: var(--ivory);
  outline: none;
  box-shadow:
    0 14px 36px -12px rgba(239, 235, 225, 0.10),
    0 0 0 1px rgba(239, 235, 225, 0.20) inset;
  transform: translateY(-2px);
}
.btn--ghost:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}
.btn--ghost:active { transform: translateY(0); }
.btn--full { width: 100%; }
.btn--sm { padding: 12px 20px; font-size: 13px; }

.link { font-weight: 500; letter-spacing: 0.02em; }
.link--cyan {
  color: var(--cyan-ice);
  border-bottom: 1px solid var(--hairline-2);
  padding-bottom: 4px;
  transition: border-color var(--dur-fast) var(--ease);
}
.link--cyan:hover { border-color: var(--cyan-ice); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 11, 11, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(174, 234, 242, 0.08);
  box-shadow: 0 1px 0 rgba(174, 234, 242, 0.04), 0 8px 32px -16px rgba(0, 0, 0, 0.6);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav__menu { justify-self: center; }
.nav__list-mobile-only { display: none; }
@media (max-width: 880px) {
  .nav__list-mobile-only { display: block; }
}

/* ── Dropdown sub-menu (About → Testimonials) ── */
.nav__list > li { position: relative; }
.nav__has-sub > a { position: relative; }
.nav__has-sub > a::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-right: 8px;
  opacity: 0.65;
  transition: transform 280ms var(--ease), opacity 200ms var(--ease);
}
.nav__has-sub:hover > a::before,
.nav__has-sub:focus-within > a::before { opacity: 1; }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: rgba(6, 9, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 168, 67, 0.06) inset;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 110;
  transition:
    opacity 220ms var(--ease),
    visibility 220ms var(--ease),
    transform 220ms var(--ease);
}
.nav__has-sub:hover > .nav__sub,
.nav__has-sub:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub li { padding: 0; }
.nav__sub a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ivory);
  white-space: nowrap;
  border: none;
  transition: color 200ms var(--ease), background 200ms var(--ease), padding-left 240ms var(--ease);
}
.nav__sub a::after { display: none !important; }     /* no animated underline on sub-items */
.nav__sub a:hover,
.nav__sub a:focus-visible {
  color: var(--gold-soft);
  background: rgba(212, 168, 67, 0.06);
  padding-left: 28px;
  text-shadow: none;
}

/* Mobile: render sub-menu inline (the burger menu is full-screen — no need for floating popup) */
@media (max-width: 880px) {
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 14px 0 0 22px;
    min-width: 0;
  }
  .nav__sub a { font-size: 18px; padding: 6px 0; }
  .nav__sub a:hover { padding-left: 0; }
  .nav__has-sub > a::before { display: none; }
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav__logo {
  width: auto;
  height: 90px;
  margin: -16px 0;        /* visually overflow nav padding without growing the bar */
  object-fit: contain;
  display: block;
  /* The polished PNG ships with a designed dark background that
     visually matches the obsidian page bg. `lighten` blend keeps the
     logo's dark bg fully invisible against the page (no visible "square"),
     so only the white wordmark + gold flourish float through. */
  mix-blend-mode: lighten;
  filter: contrast(1.10) saturate(1.15);
}
@media (max-width: 880px) {
  .nav__logo { height: 68px; margin: -10px 0; }
}

.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__list a {
  font-family: var(--sans);
  color: var(--cyan-ice);                  /* bold cyan default */
  font-size: 18px;
  font-weight: 700;                         /* bolded */
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 8px;
  text-shadow: 0 0 14px rgba(174, 234, 242, 0.18);   /* subtle ambient cyan glow */
  transition:
    color var(--dur-fast) var(--ease),
    text-shadow var(--dur-mid) var(--ease),
    transform 220ms var(--ease);
}
.nav__list a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--grad-divider);
  transition: right var(--dur-mid) var(--ease);
}
.nav__list a:hover,
.nav__list a:focus-visible,
.nav__list a[aria-current="page"],
.nav__list a.is-current {
  color: #C8F2FA;                          /* slightly brighter cyan on hover */
  text-shadow:
    0 0 18px rgba(174, 234, 242, 0.55),
    0 0 32px rgba(174, 234, 242, 0.20);
}
.nav__list a:hover::after,
.nav__list a:focus-visible::after,
.nav__list a[aria-current="page"]::after,
.nav__list a.is-current::after { right: 0; }

/* GLITTER on click — burst of cyan + gold sparkles + micro-pulse */
.nav__list a:active { animation: navGlitter 720ms var(--ease); }
@keyframes navGlitter {
  0% {
    color: var(--cyan-ice);
    transform: scale(1);
    text-shadow: 0 0 14px rgba(174, 234, 242, 0.18);
  }
  15% {
    color: #FFFFFF;
    transform: scale(1.06);
    text-shadow:
      0 0 22px rgba(174, 234, 242, 1),
      0 0 40px rgba(174, 234, 242, 0.7),
      -10px -4px 14px rgba(212, 168, 67, 0.65),
       10px -4px 14px rgba(255, 255, 255, 0.65),
      -10px  4px 14px rgba(255, 255, 255, 0.65),
       10px  4px 14px rgba(212, 168, 67, 0.65),
        0  -8px 16px rgba(212, 168, 67, 0.45),
        0   8px 16px rgba(174, 234, 242, 0.45);
  }
  40% {
    color: #DAF5FB;
    transform: scale(1.02);
    text-shadow:
      0 0 18px rgba(174, 234, 242, 0.7),
      -5px -2px 10px rgba(212, 168, 67, 0.4),
       5px -2px 10px rgba(255, 255, 255, 0.4);
  }
  100% {
    color: #C8F2FA;
    transform: scale(1);
    text-shadow:
      0 0 18px rgba(174, 234, 242, 0.55),
      0 0 32px rgba(174, 234, 242, 0.20);
  }
}

/* Reduced motion — keep colour change but no scale + sparkle burst */
@media (prefers-reduced-motion: reduce) {
  .nav__list a:active { animation: none; }
}

/* Contact pill (right-side CTA) — Deloitte-inspired outlined pill */
.nav__cta {
  justify-self: end;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 13px 26px;
  border: 1px solid rgba(239, 235, 225, 0.32);
  border-radius: 999px;
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-mid) var(--ease);
  white-space: nowrap;
}
.nav__cta:hover,
.nav__cta:focus-visible {
  color: var(--cyan-ice);
  border-color: var(--cyan-ice);
  background: rgba(174, 234, 242, 0.04);
  box-shadow: 0 0 18px -4px rgba(174, 234, 242, 0.25);
  outline: none;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--hairline-2);
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 1px;
  background: var(--ivory);
  margin: 5px auto;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__menu.is-open {
    display: block;
    position: fixed;
    inset: 86px 0 0 0;
    background: var(--obsidian);
    border-top: 1px solid var(--hairline);
    padding: 32px var(--gutter) 80px;
  }
  .nav__menu.is-open .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .nav__menu.is-open .nav__list a { font-size: 22px; font-family: var(--serif); }
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* ─── Full-bleed cinematic slideshow background ─── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--obsidian);
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: center center;
  /* Boost color density + sharpness so slides feel vivid, not muted */
  filter: saturate(1.20) contrast(1.08) brightness(1.02);
  image-rendering: -webkit-optimize-contrast;
}
/* First slide visible by default before GSAP kicks in (no flash of black) */
.hero__slide:first-child { opacity: 1; }

.hero__overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    /* darken from edges to keep text readable — lighter than before so slide colors come through */
    radial-gradient(120% 90% at 30% 50%, rgba(6,9,12,0.10) 0%, rgba(6,9,12,0.55) 70%, rgba(6,9,12,0.82) 100%),
    /* extra weight under the text column on the left — also lightened */
    linear-gradient(90deg, rgba(6,9,12,0.65) 0%, rgba(6,9,12,0.28) 45%, rgba(6,9,12,0.10) 100%),
    /* fade to bg at bottom for clean section transition */
    linear-gradient(180deg, rgba(6,9,12,0) 55%, rgba(6,9,12,0.92) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 1240px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  text-align: left;
  max-width: 920px;
}
.hero__title {
  font-size: clamp(52px, 8.4vw, 124px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ivory);
  max-width: 14ch;
  /* drop shadow keeps the text crisp over any slide */
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.hero__title span { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title em {
  font-weight: 400;
  font-style: italic;
  background: var(--grad-gold-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;                 /* fallback for old engines */
  text-shadow: none;                  /* shadow on transparent text breaks the clip */
}
.hero__sub {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ivory);
  opacity: 0.92;
  max-width: 56ch;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero__title { font-size: clamp(44px, 11vw, 72px); line-height: 1.06; max-width: 14ch; }
  .hero__sub   { font-size: 17px; line-height: 1.6; }
  .hero__content { gap: 24px; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(6,9,12,0.35) 0%, rgba(6,9,12,0.85) 100%);
  }
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  max-width: 880px;
}
.hero__meta div { display: flex; flex-direction: column; gap: 6px; }
.hero__meta .num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ivory);
  font-weight: 400;
}
.hero__meta .label {
  font-size: 12px;
  color: var(--ivory-soft);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.hero__scroll span {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0.3); transform-origin: top; opacity: 0.5; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.5; }
}

@media (max-width: 720px) {
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--hairline);
  position: relative;
}
.section:first-of-type { border-top: none; }

.section__head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}

/* =========================================================
   SOLUTIONS — section gradient bg, filter pills, glass cards
   ========================================================= */
.section--services {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  background-color: #0B0B0D;
  background-image:
    radial-gradient(60% 50% at 50% 25%, rgba(212, 168, 67, 0.12), transparent 70%),
    linear-gradient(135deg, #0B0B0D 0%, #0A1F44 60%, #0F4C5C 100%);
  background-attachment: scroll;
  isolation: isolate;
}

/* Filter pills */
.services-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
}
/* Sliding gold gradient bar that follows the active pill */
.services-filter__indicator {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-gold);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition:
    left  420ms cubic-bezier(0.5, 0, 0.2, 1),
    width 420ms cubic-bezier(0.5, 0, 0.2, 1),
    opacity 240ms ease;
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.45);
}
.services-filter__indicator.is-ready { opacity: 1; }

/* Live counter */
.services-counter {
  text-align: center;
  margin: 0 0 32px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  min-height: 18px;
  transition: opacity 200ms ease;
}
.services-counter strong {
  color: var(--gold);
  font-weight: 700;
  font-feature-settings: 'lnum';
}
.services-filter {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}
.services-filter:hover {
  border-color: rgba(212, 168, 67, 0.45);
  color: var(--gold-soft);
}
.services-filter:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.25);
}
.services-filter.is-active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.20);
  color: var(--ivory);
}

/* Grid */
.services-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; gap: 20px; } }

.services-grid > li { display: flex; }
.services-grid > li.is-hidden { display: none; }

/* Glass card — title + description, calm hover lift + cursor-following gold glow */
.service-card {
  flex: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  min-height: 220px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  color: #F5F3EF;
  text-decoration: none;
  transition:
    transform 320ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease);
}
/* Cursor-following gold radial glow */
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.18),
    transparent 38%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 360ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; }

.service-card:hover,
.service-card:focus-visible,
.services-grid > li:focus-within .service-card {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 67, 0.40);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.40);
  background: rgba(255, 255, 255, 0.045);
}
.service-card:focus-visible { outline: none; }
.service-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: #F5F3EF;
  margin: 0;
}
@media (min-width: 1024px) { .service-card__title { font-size: 21px; } }
@media (max-width: 640px)  { .service-card__title { font-size: 19px; } }

.service-card__desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: rgba(245, 243, 239, 0.72);
  margin: 0;
}
.service-card__more-link {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
  transition: color 240ms var(--ease), letter-spacing 320ms var(--ease);
}
.service-card:hover .service-card__more-link,
.service-card:focus-visible .service-card__more-link {
  color: var(--gold);
  letter-spacing: 0.16em;
}
@media (max-width: 640px) { .service-card__desc { font-size: 14.5px; line-height: 1.55; } }
@media (max-width: 640px) {
  .service-card { padding: 26px 22px; min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
  .service-card:hover,
  .service-card:focus-visible { transform: none; }
  .services-filter { transition: none; }
}

/* =========================================================
   EYEBROW VARIANTS + SECTION AFTERS
   ========================================================= */
.eyebrow--tags {
  gap: 10px;
  text-transform: lowercase;
  letter-spacing: 0.18em;
  color: var(--ivory-mute);
}
.eyebrow--tags span { color: var(--ivory-mute); }
.eyebrow--tags .dot { color: var(--gold); }

.section__after {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.section__after-note {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 15px;
  color: var(--ivory-soft);
  letter-spacing: 0.04em;
}

/* =========================================================
   ABOUT — body + methodology + disciplines + stats
   ========================================================= */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(64px, 8vw, 120px);
  align-items: start;
}
.about-body__lede {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.3;
  color: var(--ivory);
  margin: 0;
}
.about-body__lede em { color: var(--gold); font-style: italic; }
.about-body__copies {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 64ch;
}
.about-body__copy {
  color: var(--ivory-mute);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 880px) {
  .about-body { grid-template-columns: 1fr; }
}

.methodology {
  list-style: none;
  margin: 0 0 clamp(64px, 8vw, 120px);
  padding: 32px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.methodology > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 16px;
}
.methodology__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  margin: 0 0 6px;
  color: var(--ivory);
  line-height: 1.18;
}
.methodology > li p {
  margin: 0;
  color: var(--ivory-mute);
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 880px) { .methodology { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (max-width: 520px) { .methodology { grid-template-columns: 1fr; } }

.disciplines {
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.disciplines__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2vw, 32px);
  color: var(--ivory);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}

/* New 4-col icon-card grid (per screenshot) */
.disciplines-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1100px) { .disciplines-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .disciplines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .disciplines-grid { grid-template-columns: 1fr; gap: 14px; } }

.discipline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition:
    transform 320ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease);
}
.discipline::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.14),
    transparent 38%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.discipline > * { position: relative; z-index: 1; }
.discipline:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 67, 0.40);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.40);
  background: rgba(255, 255, 255, 0.05);
}
.discipline:hover::before { opacity: 1; }

.discipline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(212, 168, 67, 0.10);
  border: 1px solid rgba(212, 168, 67, 0.25);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 6px;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease);
}
.discipline:hover .discipline__icon {
  background: rgba(212, 168, 67, 0.18);
  border-color: rgba(212, 168, 67, 0.55);
  color: var(--gold-soft);
}

.discipline__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ivory);
  margin: 0;
}
.discipline__desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 243, 239, 0.72);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .discipline,
  .discipline::before,
  .discipline__icon { transition: none; }
  .discipline:hover { transform: none; }
}

.stats {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0 0;
  border-top: 1px solid var(--gold);
}
.stats__num {
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 52px);
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1;
}
.stats__num em { font-style: normal; color: var(--gold); font-size: 0.55em; margin-left: 4px; letter-spacing: 0; }
.stats__label {
  font-size: 15px;
  color: var(--ivory-soft);
  letter-spacing: 0.02em;
  line-height: 1.5;
  max-width: 30ch;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* =========================================================
   CASE STUDIES — alternating image-left / content-right rows
   ========================================================= */
.cases {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.case--reverse { grid-template-columns: 1fr 1.05fr; }
.case--reverse .case__media { order: 2; }
.case--reverse .case__body  { order: 1; }

.case__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: linear-gradient(135deg, #1A1819 0%, #0F2D32 100%);
  border-radius: 3px;
  transition: border-color var(--dur-mid) var(--ease);
}
.case__media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(174,234,242,0.10), transparent 60%),
    radial-gradient(40% 50% at 80% 70%, rgba(212,170,93,0.10), transparent 70%);
}
.case__media::after {
  content: attr(data-tag);
  position: absolute;
  left: 28px; bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  color: rgba(239,235,225,0.20);
  letter-spacing: -0.01em;
}
.case:hover .case__media { border-color: rgba(174, 234, 242, 0.35); }

/* Real photo inside the placeholder frame */
.case__media--has-image::after { display: none; }
.case__media--has-image::before {
  z-index: 2;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(6,9,12,0.55), transparent 60%),
    radial-gradient(50% 60% at 50% 0%, rgba(6,9,12,0.18), transparent 70%);
  pointer-events: none;
}
.case__media--has-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.case:hover .case__media--has-image img { transform: scale(1.03); }

/* Diagonal "Brand Identity" watermark — bottom-left to top-right, ivory translucent */
.case__media--watermark::after {
  content: attr(data-watermark);
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
  transform-origin: center center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 96px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(239, 235, 225, 0.18);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  user-select: none;
}

.case__body { display: flex; flex-direction: column; gap: 16px; }
.case__cat {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}
.case__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ivory);
  margin: 0 0 4px;
}
.case__problem,
.case__solution {
  margin: 0;
  font-size: 17px;
  color: var(--ivory);
  line-height: 1.65;
}
.case__problem span,
.case__solution span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-weight: 600;
}
.case__solution { margin-top: 10px; }
.case__urls {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin: 6px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ivory-mute);
}
.case__urls a {
  color: var(--cyan-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,212,255,0.35);
  transition: border-color 200ms ease, color 200ms ease;
}
.case__urls a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.case__urls strong {
  display: inline-block;
  margin-right: 6px;
  font-weight: 600;
  color: var(--ivory-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.case__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ivory-soft);
  font-style: italic;
  opacity: 0.78;
  line-height: 1.55;
}
.case__deliverables {
  list-style: none;
  margin: 4px 0 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 8px;
}
.case__deliverables li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  color: var(--ivory-mute);
  line-height: 1.6;
}
.case__deliverables li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--gold);
}

@media (max-width: 880px) {
  .case, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__media { order: 0; }
  .case--reverse .case__body  { order: 0; }
}

/* =========================================================
   TESTIMONIALS — masonry, gradient borders, decorative quote marks
   ========================================================= */
.testimonials {
  list-style: none;
  margin: 0; padding: 0;
  /* CSS columns gives natural masonry where each card respects its content height */
  column-count: 3;
  column-gap: 24px;
}
@media (max-width: 1024px) { .testimonials { column-count: 2; } }
@media (max-width: 640px)  { .testimonials { column-count: 1; column-gap: 0; } }

.testimonial {
  position: relative;
  isolation: isolate;
  break-inside: avoid;
  margin: 0 0 24px;
  padding: 44px 30px 28px;
  border-radius: 14px;
  /* Two-stop gradient border via padding-box + border-box clip */
  background:
    linear-gradient(rgba(255,255,255,0.025), rgba(255,255,255,0.025)) padding-box,
    linear-gradient(135deg, rgba(212,168,67,0.40) 0%, rgba(174,234,242,0.40) 60%, rgba(212,168,67,0.40) 100%) border-box;
  border: 1px solid transparent;
  transition:
    transform 380ms var(--ease),
    box-shadow 380ms var(--ease),
    background 380ms var(--ease);
}

/* Decorative open-quote glyph in gold→cyan gradient */
.testimonial__quote { margin: 0; position: relative; }
.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  top: -64px;
  left: -12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 110px;
  line-height: 1;
  background: var(--grad-gold-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
}

/* Cursor-following gold glow layer */
.testimonial::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.16),
    transparent 38%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 380ms var(--ease);
  pointer-events: none;
  z-index: 0;
}

.testimonial > * { position: relative; z-index: 1; }

.testimonial:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(rgba(255,255,255,0.045), rgba(255,255,255,0.045)) padding-box,
    linear-gradient(135deg, rgba(212,168,67,0.75) 0%, rgba(174,234,242,0.75) 60%, rgba(212,168,67,0.75) 100%) border-box;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.48),
    0 0 32px -10px rgba(212, 168, 67, 0.30);
}
.testimonial:hover::after { opacity: 1; }
.testimonial:hover .testimonial__quote::before {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
}

/* Quote text */
.testimonial__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ivory);
  margin: 0;
  letter-spacing: -0.005em;
  padding-left: 6px;
}

/* Attribution row */
.testimonial__by {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial__name {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.005em;
}
.testimonial__name a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(212, 168, 67, 0.30);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.testimonial__name a:hover { color: var(--gold-soft); border-color: var(--gold); }

.testimonial__role {
  font-family: var(--sans);
  font-size: 13.5px;
  color: rgba(245, 243, 239, 0.65);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.testimonial__role a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.testimonial__role a:hover { color: var(--gold); border-color: var(--gold); }

/* ── Read-more toggle for long quotes ── */
.testimonial.is-long .testimonial__quote p {
  max-height: 11.5em;          /* roughly 6 lines */
  overflow: hidden;
  position: relative;
  transition: max-height 520ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* Gradient fade overlay at the bottom signals there's more text */
.testimonial.is-long .testimonial__quote p::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4em;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.025) 50%, rgba(255,255,255,0.025) 100%);
  /* layered with a darker version using the card's bg colour */
  pointer-events: none;
  transition: opacity 360ms var(--ease);
}
/* Trick: use a near-bg-coloured fade so it blends into the card */
.testimonial.is-long .testimonial__quote p::after {
  background: linear-gradient(180deg, rgba(8,9,12,0) 0%, rgba(8,9,12,0.85) 80%, rgba(8,9,12,1) 100%);
}
.testimonial.is-long.is-expanded .testimonial__quote p {
  max-height: 2000px;          /* effectively unlimited; transitioning to a real value */
}
.testimonial.is-long.is-expanded .testimonial__quote p::after {
  opacity: 0;
}

/* The Read more / Read less button */
.testimonial__more {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  cursor: pointer;
  transition: color 200ms var(--ease), letter-spacing 320ms var(--ease);
}
.testimonial.is-long .testimonial__more { display: inline-flex; }
.testimonial__more:hover,
.testimonial__more:focus-visible {
  color: var(--gold);
  letter-spacing: 0.22em;
  outline: none;
}
.testimonial__more:focus-visible {
  text-shadow: 0 0 12px rgba(212, 168, 67, 0.5);
}

/* Tiny chevron-style icon that flips on expand */
.testimonial__more-icon {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 320ms var(--ease);
}
.testimonial.is-expanded .testimonial__more-icon {
  transform: rotate(-135deg);
}

@media (max-width: 640px) {
  .testimonial { padding: 38px 24px 24px; margin-bottom: 18px; }
  .testimonial__quote::before { font-size: 88px; top: -52px; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial,
  .testimonial::after,
  .testimonial__quote::before,
  .testimonial.is-long .testimonial__quote p,
  .testimonial__more-icon { transition: none; }
  .testimonial:hover { transform: none; }
}

/* =========================================================
   ARTICLES — 3-card grid
   ========================================================= */
.articles-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(239, 235, 225, 0.12);
  background: rgba(239, 235, 225, 0.035);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 320ms var(--ease), transform 320ms var(--ease), background-color 320ms var(--ease);
}
.article-card:hover {
  border-color: rgba(212, 168, 67, 0.40);
  transform: translateY(-6px);
  background-color: rgba(239, 235, 225, 0.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.40);
}
.article-card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px 24px;
  color: var(--ivory);
  text-decoration: none;
  transition: none;
  background: transparent;
  border: none;
}
.article-card__link:focus-visible { outline: none; }
.article-card:has(.article-card__link:focus-visible) {
  border-color: rgba(212, 168, 67, 0.40);
  background-color: rgba(239, 235, 225, 0.05);
  box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.35);
}
.article-card__meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.article-card__meta .dot { color: var(--gold); }
.article-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ivory);
  margin: 0;
}
.article-card__excerpt {
  margin: 0;
  color: var(--ivory-mute);
  font-size: 16px;
  line-height: 1.6;
}
.article-card__byline {
  margin: 4px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ivory-soft);
}
.article-card__byline strong {
  color: var(--ivory);
  font-weight: 500;
}
/* Hidden on home cards — sources still display on the dedicated article pages */
.article-card__source {
  display: none;
}
.article-card__source a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 67, 0.30);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
  margin-left: 4px;
}
.article-card__source a:hover { color: var(--gold); border-color: var(--gold); }
.article-card__source a i { font-size: 9px; margin-left: 4px; opacity: 0.7; vertical-align: 1px; }
.article-card__cta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ice);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-card__cta em { font-style: normal; transition: transform 280ms var(--ease); }
.article-card__link:hover .article-card__cta em { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .article-card__link,
  .article-card__cta em,
  .testimonial { transition: none; }
  .article-card__link:hover { transform: none; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__lede {
  color: var(--ivory-mute);
  font-size: 19px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 0 36px;
}
.contact__meta {
  list-style: none;
  margin: 0; padding: 24px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 14px;
}
.contact__meta li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 17px;
  color: var(--ivory);
}
.contact__meta span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  align-self: center;
}

.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label {
  display: grid;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-2);
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ivory);
  letter-spacing: 0.005em;
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease);
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 11px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.form select option { background: var(--obsidian-2); color: var(--ivory); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:hover,
.form select:hover,
.form textarea:hover { border-bottom-color: var(--ivory-soft); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--cyan-ice);
}
.form__note {
  font-size: 14px;
  color: var(--ivory-soft);
  margin: 0;
  letter-spacing: 0.04em;
}
.form label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ivory-soft);
  font-size: 12px;
  margin-left: 4px;
}
.form label > span[aria-hidden] { color: var(--gold); margin-left: 2px; }

.form__consent {
  grid-template-columns: auto 1fr !important;
  gap: 14px !important;
  align-items: start;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 15px !important;
  color: var(--ivory-mute) !important;
  line-height: 1.55;
}
.form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--hairline-2);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.form__consent input[type="checkbox"]:hover { border-color: var(--ivory-soft); }
.form__consent input[type="checkbox"]:checked {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}
.form__consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--ivory);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form__consent span { padding: 0; }
.form__consent a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(240, 212, 138, 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 500;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
.form__consent a:hover,
.form__consent a:focus-visible {
  color: var(--gold);
  text-decoration-color: var(--gold);
  outline: none;
}
.form__consent a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--obsidian);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(60px, 8vw, 100px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 60px;
  align-items: start;
}
@media (max-width: 880px) { .footer__inner { grid-template-columns: 1fr; } }

/* New brand top */
.footer__tagline { color: var(--ivory-mute); font-size: 17px; line-height: 1.65; margin: 0 0 12px; max-width: 36ch; }
.footer__copy    { color: var(--ivory-soft); font-size: 14px; margin: 0 0 20px; letter-spacing: 0.02em; }
.footer__brand .footer__social { margin: 0; padding: 0; }

/* Accordion panels container — 3 columns: Company · Legal · Hours */
.footer__accordion { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
@media (max-width: 980px) { .footer__accordion { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__accordion { grid-template-columns: 1fr; gap: 0; } }

/* Each accordion panel — uses native <details> for accessibility */
.footer__panel {
  border-top: 1px solid var(--hairline);
  padding: 18px 0;
}
.footer__panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease);
}
.footer__panel summary::-webkit-details-marker { display: none; }
.footer__panel summary:hover { color: var(--gold-soft); }
.footer__panel summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Chevron */
.footer__chevron {
  width: 14px; height: 14px;
  position: relative;
  transition: transform 320ms var(--ease);
  flex: 0 0 auto;
}
.footer__chevron::before,
.footer__chevron::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
/* horizontal bar (always there) */
.footer__chevron::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
/* vertical bar (becomes invisible when open → "−" instead of "+") */
.footer__chevron::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}
.footer__panel[open] .footer__chevron::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

/* Panel body — animated reveal */
.footer__panel > *:not(summary) {
  margin-top: 18px;
  animation: footerPanelOpen 320ms var(--ease);
}
@keyframes footerPanelOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.footer__links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
}
.footer__links a {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory);
  transition: color 200ms var(--ease);
}
.footer__links a:hover,
.footer__links a:focus-visible { color: var(--gold-soft); }

.footer__touch { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__touch-line { margin: 0; font-size: 16px; color: var(--ivory); }
.footer__touch-line a { color: var(--ivory); border-bottom: 1px solid var(--hairline-2); transition: color 200ms, border-color 200ms; }
.footer__touch-line a:hover { color: var(--gold-soft); border-color: var(--gold); }

/* Hours panel: subtle key/value alignment */
.footer__label {
  display: inline-block;
  min-width: 60px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 8px;
}

/* Bottom bar */
.footer__base { border-top: 1px solid var(--hairline); padding: 22px 0; }
.footer__compliance {
  margin: 0;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.footer__compliance span { color: var(--gold); margin: 0 8px; }

/* Mobile: collapse both panels by default */
@media (max-width: 880px) {
  .footer__panel[open] {
    /* still expandable; we just remove the default open via JS */
  }
}
.footer__brand p {
  color: var(--ivory-mute);
  font-size: 17px;
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 0 24px;
}
.footer__wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer__logo {
  width: auto;
  height: 200px;
  margin: -28px 0 -16px -22px;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.12) contrast(1.05);
}
@media (max-width: 880px) {
  .footer__logo { height: 150px; margin: -16px 0 -10px -18px; }
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col {
  border: none;
}
.footer__col summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer__col summary::-webkit-details-marker { display: none; }
.footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.footer__col li,
.footer__col a {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory);
}
.footer__col ul { gap: 12px; }
.footer__col li { color: var(--ivory-mute); }
.footer__col a:hover { color: var(--cyan-ice); }

.footer__base {
  border-top: 1px solid var(--hairline);
  padding: 26px 0;
}
.footer__base-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__base-row p {
  margin: 0;
  font-size: 15px;
  color: var(--ivory-soft);
}
.footer__loc { color: var(--ivory-soft) !important; }
.footer__social {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 22px;
}
.footer__social a {
  font-size: 15px;
  color: var(--ivory);
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease);
}
.footer__social a:hover { color: var(--cyan-ice); }

@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 0; }
  .footer__col {
    border-top: 1px solid var(--hairline);
    padding: 18px 0;
  }
  .footer__col[open] { padding-bottom: 24px; }
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 90;
  background: rgba(20, 18, 20, 0.95);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid var(--hairline-2);
  border-radius: 4px;
  padding: 18px 22px;
  max-width: 720px;
  margin-inline: auto;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-mid) var(--ease);
}
.cookie:not([hidden]) { transform: translateY(0); opacity: 1; }
.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie p {
  margin: 0;
  font-size: 15px;
  color: var(--ivory-mute);
  flex: 1 1 280px;
  line-height: 1.55;
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie__msg a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie__msg a:hover { color: var(--gold); }
.cookie__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(239, 235, 225, 0.18);
  border-radius: 50%;
  color: var(--ivory-soft);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.cookie__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}
.cookie { padding-right: 50px; }

/* =========================================================
   COOKIE PREFERENCES MODAL
   ========================================================= */
.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(6, 9, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  opacity: 0;
  transition: opacity 240ms ease;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal.is-open { opacity: 1; }

.cookie-modal__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow: auto;
  background: #0F1318;
  border: 1px solid rgba(212, 168, 67, 0.30);
  border-radius: 14px;
  padding: 32px 28px 24px;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.7);
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(239, 235, 225, 0.18);
  color: var(--ivory-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.cookie-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.cookie-modal__head { margin-bottom: 20px; padding-right: 36px; }
.cookie-modal__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ivory);
  letter-spacing: -0.012em;
}
.cookie-modal__head p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ivory-mute);
  line-height: 1.5;
}
.cookie-modal__head a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(212, 168, 67, 0.18);
}
.cookie-cat {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.18);
  cursor: pointer;
}
.cookie-cat--locked { cursor: default; }
.cookie-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.cookie-cat__name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.cookie-cat__desc {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ivory-mute);
  line-height: 1.45;
}
.cookie-cat__toggle--locked {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 4px 10px;
  border: 1px solid rgba(212, 168, 67, 0.30);
  border-radius: 999px;
}

/* iOS-style toggle switch */
.cookie-cat__toggle {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.cookie-cat__toggle input[type="checkbox"] {
  position: absolute;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.cookie-cat__switch {
  position: absolute; inset: 0;
  background: rgba(239, 235, 225, 0.14);
  border-radius: 999px;
  transition: background 200ms ease;
}
.cookie-cat__switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--ivory);
  border-radius: 50%;
  transition: transform 200ms ease;
}
.cookie-cat__toggle input[type="checkbox"]:checked + .cookie-cat__switch {
  background: var(--gold);
}
.cookie-cat__toggle input[type="checkbox"]:checked + .cookie-cat__switch::after {
  transform: translateX(18px);
  background: var(--obsidian);
}

.cookie-modal__note {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-style: italic;
  text-align: center;
  color: var(--ivory-mute);
  opacity: 0.8;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.cookie-modal__actions .btn { flex: 1 1 auto; min-width: 130px; }

@media (max-width: 480px) {
  .cookie-modal { padding: 12px; }
  .cookie-modal__panel { padding: 24px 18px 18px; }
  .cookie-modal__actions .btn { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-modal { transition: none; }
}

/* =========================================================
   REVEAL (set initial states; GSAP handles the rest)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.no-js [data-reveal] { opacity: 1; transform: none; }
/* Article CTA — always visible, never hidden by data-reveal initial state.
   (GSAP ScrollTrigger isn't bound on article pages, so we keep it visible.) */
.article__cta[data-reveal],
.article__cta { opacity: 1 !important; transform: none !important; }

/* Typewriter prep — preserve whitespace + reserve line height so layout doesn't jump */
[data-typewriter] { white-space: pre-wrap; min-height: 1em; }
.no-js [data-typewriter] { min-height: 0; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover { transform: none; letter-spacing: 0.20em; }
  .btn--primary::before,
  .btn--ghost::before { display: none; }
}

/* =========================================================
   CAREERS PAGE — stylized hero title + position accordion
   ========================================================= */
.careers-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.014em;
  color: var(--ivory);
  margin: 12px 0 16px;
  max-width: 22ch;
}
.careers-hero__title .grad {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.careers-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}
.careers-hero__title .accent-end {
  display: inline-block;
  color: var(--gold);
  margin-left: 4px;
}

/* Intro lede paragraph */
.careers-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
  font-family: var(--sans);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
  color: var(--ivory-mute);
  text-align: center;
}

/* ─────────────────────────────────────────────────
   Freelance Talent Pool — gated signup card
   ─────────────────────────────────────────────────*/
.talent-pool {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 44px 44px 40px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(212, 168, 67, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 14px;
  box-shadow:
    0 28px 64px -22px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 168, 67, 0.04) inset;
  position: relative;
}
@media (max-width: 720px) {
  .talent-pool { padding: 28px 22px 26px; margin-inline: var(--gutter); }
}

.talent-pool__intro { text-align: center; margin-bottom: 32px; }
.talent-pool__eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 12px;
}
.talent-pool__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ivory);
  margin: 0 0 14px;
}
.talent-pool__lede {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ivory-mute);
  margin: 0;
}

.talent-pool__form { display: flex; flex-direction: column; gap: 18px; }
.talent-pool__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .talent-pool__row { grid-template-columns: 1fr; } }

.talent-pool__field { display: flex; flex-direction: column; gap: 6px; }
.talent-pool__field > span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.talent-pool__field > span em {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ivory-mute);
  margin-left: 6px;
  font-size: 11px;
}
.talent-pool__field input,
.talent-pool__field select,
.talent-pool__field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ivory);
  background: rgba(6, 9, 12, 0.45);
  border: 1px solid rgba(239, 235, 225, 0.14);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 200ms, background 200ms;
}
.talent-pool__field input:focus,
.talent-pool__field select:focus,
.talent-pool__field textarea:focus {
  border-color: var(--gold-soft);
  background: rgba(6, 9, 12, 0.7);
}
.talent-pool__field textarea { resize: vertical; min-height: 90px; }
.talent-pool__field select { appearance: none; cursor: pointer; }

.talent-pool__consent { font-size: 13px; color: var(--ivory-mute); }
.talent-pool__consent label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5;
}
.talent-pool__consent input[type="checkbox"] {
  margin-top: 3px; accent-color: var(--gold);
}

.talent-pool__form .btn {
  align-self: center;
  padding: 14px 36px;
  margin-top: 8px;
}
.talent-pool__note {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin: 6px 0 0;
}

/* Success state — revealed only after submission */
.talent-pool__success {
  text-align: center;
  padding: 12px 0 4px;
}
.talent-pool__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--obsidian);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 12px 28px -10px rgba(212, 168, 67, 0.55);
}
.talent-pool__success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--ivory);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.talent-pool__success-lede {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ivory-mute);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.talent-pool__brief {
  margin-top: 28px;
  padding: 24px 28px;
  background: rgba(6, 9, 12, 0.45);
  border: 1px solid rgba(212, 168, 67, 0.16);
  border-radius: 8px;
  text-align: left;
}
.talent-pool__brief-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 12px;
}
.talent-pool__brief p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ivory-mute);
  margin: 0;
}

/* Open positions accordion */
.careers-accordion {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.career-position {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 320ms var(--ease), background 320ms var(--ease);
}
.career-position[open] {
  border-color: rgba(212, 168, 67, 0.42);
  background: rgba(255, 255, 255, 0.04);
}
.career-position summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ivory);
  transition: color 240ms var(--ease);
}
.career-position summary::-webkit-details-marker { display: none; }
.career-position summary:hover { color: var(--gold-soft); }
.career-position summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Exquisite drop-down icon — circular gold-bordered chevron */
.career-position__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.40);
  background: rgba(212, 168, 67, 0.05);
  color: var(--gold);
  font-size: 13px;
  transition: transform 360ms var(--ease), background 280ms var(--ease), color 280ms var(--ease);
}
.career-position[open] .career-position__icon {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--obsidian);
}

/* Body of each position */
.career-position__body {
  padding: 0 28px 28px;
  animation: careerPanelOpen 360ms var(--ease);
}
@keyframes careerPanelOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.career-position__body p {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory-mute);
  max-width: 64ch;
}
.career-position__reqs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.career-position__reqs li {
  position: relative;
  padding-left: 22px;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ivory-mute);
}
.career-position__reqs li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1.5px;
  background: var(--grad-gold);
}

/* Apply via Email button */
.career-apply {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.45);
  background: transparent;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.career-apply:hover,
.career-apply:focus-visible {
  color: var(--obsidian);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  outline: none;
}
.career-apply i {
  font-size: 16px;
  transition: transform 280ms var(--ease);
}
.career-apply:hover i { transform: scale(1.1) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .career-position,
  .career-position__icon,
  .career-apply { transition: none; }
  .career-position__body { animation: none; }
  .career-apply:hover { transform: none; }
}

/* =========================================================
   ABOUT PAGE — Meet the Founder layout + 3-photo slideshow
   ========================================================= */
.page-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(212, 168, 67, 0.10), transparent 70%),
    linear-gradient(180deg, #06090C 0%, #0E1218 100%);
  border-bottom: 1px solid rgba(212, 168, 67, 0.18);
}
.page-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); text-align: left; }
.page-hero__eyebrow {
  margin: 0;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.page-hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 88px); line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ivory);
  margin: 12px 0 16px;
  max-width: 26ch;          /* fits short phrases like "What clients say about us." on one line */
}
.page-hero__lede {
  margin: 0;
  font-family: var(--sans); font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ivory-mute); line-height: 1.6; max-width: 64ch;
}

/* Founder section: 2-column layout — slideshow left, copy right */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding: 100px 0;
}
@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
}

/* Founder portrait — premium portrait-ratio frame with cinematic cross-fade slideshow */
.founder-portrait {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1819 0%, #0F2D32 100%);
  border: 1px solid rgba(212, 168, 67, 0.28);
  box-shadow:
    0 28px 64px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 168, 67, 0.08) inset,
    0 0 0 6px rgba(6, 9, 12, 0.4);
  isolation: isolate;
}
.founder-portrait__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0A0D10;
}
.founder-portrait__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1400ms ease, transform 8000ms ease-out;
  will-change: opacity, transform;
}
.founder-portrait__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.founder-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,12,0) 50%, rgba(6,9,12,0.82) 100%);
  pointer-events: none;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .founder-portrait__slide { transition: none; transform: none !important; }
}

/* ─────────────────────────────────────────────────
   Single static portrait variant (professional headshot)
   Applied when the founder section uses one photo instead of slideshow
   ─────────────────────────────────────────────────*/
.founder-portrait--single .founder-portrait__stage {
  aspect-ratio: 1 / 1;        /* square crop = formal corporate proportion */
}
.founder-portrait__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;  /* keep face in upper third */
  display: block;
  /* Subtle professional polish: slight contrast + saturation + sharpness lift */
  filter: contrast(1.04) saturate(1.08) brightness(1.02);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.founder-portrait--single:hover .founder-portrait__photo {
  transform: scale(1.03);      /* delicate hover zoom */
}
@media (prefers-reduced-motion: reduce) {
  .founder-portrait__photo { transition: none; }
  .founder-portrait--single:hover .founder-portrait__photo { transform: none; }
}
.founder-portrait__plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 22px 24px;
  color: var(--ivory);
  pointer-events: none;
}
.founder-portrait__plate strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.005em;
  margin-bottom: 4px;
}
.founder-portrait__plate span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Founder body copy */
.founder__body { display: flex; flex-direction: column; gap: 22px; max-width: 64ch; }
.founder__heading {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ivory);
  margin: 0 0 8px;
}
.founder__body p {
  margin: 0;
  font-family: var(--sans); font-size: 17.5px; line-height: 1.75;
  color: var(--ivory-mute); letter-spacing: 0.005em;
}
.founder__body p strong { color: var(--ivory); font-weight: 500; }

/* Single static portrait — no motion to disable */

/* =========================================================
   HOME — VALUE PROPOSITION (brief intro, link to /about.html)
   ========================================================= */
.section--value { padding: 96px 0 64px; }
.section--value .section__head { text-align: left; max-width: 920px; margin-bottom: 24px; }
.section--value .section__lede { font-size: clamp(18px, 1.6vw, 22px); max-width: 64ch; }
.section--value .section__after { margin-top: 28px; text-align: left; }

/* =========================================================
   HOME — FEATURED SOLUTIONS (4-card preview variant)
   ========================================================= */
.services-grid--featured {
  /* uses base .services-grid (3-col) but tightens to 4 cols on wide screens */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1100px) { .services-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =========================================================
   HOME — WHY TESÁRIA (4 trust signals)
   ========================================================= */
.section--why {
  padding: 100px 0;
  background-color: #07090C;
  background-image:
    radial-gradient(60% 50% at 50% 25%, rgba(212, 168, 67, 0.10), transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.why-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition:
    transform 320ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease);
}
.why-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.14),
    transparent 38%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.why-card > * { position: relative; z-index: 1; }
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 67, 0.40);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.40);
  background: rgba(255, 255, 255, 0.05);
}
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(212, 168, 67, 0.10);
  border: 1px solid rgba(212, 168, 67, 0.25);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 6px;
}
.why-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ivory);
  margin: 0;
}
.why-card__desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.78);
  margin: 0;
}

/* =========================================================
   HOME — FEATURED VOICE (single testimonial highlight)
   ========================================================= */
.section--featured-voice { padding: 100px 0; }
.featured-quote {
  margin: 0;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding: 56px 32px 32px;
}
.featured-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 140px;
  font-weight: 400;
  line-height: 1;
  color: rgba(212, 168, 67, 0.22);
  pointer-events: none;
}
.featured-quote__quote { margin: 0 0 24px; }
.featured-quote__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--ivory);
  margin: 0;
  letter-spacing: -0.005em;
}
.featured-quote__by {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  max-width: 520px;
  margin: 0 auto;
}
.featured-quote__name { font-size: 16px; color: var(--ivory); font-weight: 600; letter-spacing: 0.02em; }
.featured-quote__role { font-size: 13.5px; color: var(--ivory-soft); letter-spacing: 0.04em; line-height: 1.5; }

/* =========================================================
   HOME — FINAL CTA (Begin a Conversation)
   ========================================================= */
.section--cta-final {
  padding: 120px 0;
  background-color: #06090C;
  background-image:
    radial-gradient(50% 60% at 50% 50%, rgba(212, 168, 67, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-top: 1px solid rgba(212, 168, 67, 0.12);
}
.cta-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin-inline: auto;
}
.cta-final__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ivory);
  margin: 0;
}
.cta-final__lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--ivory-mute);
  margin: 0;
  max-width: 56ch;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/* =========================================================
   OUR COLLABORATORS — gradient name marquee
   ========================================================= */
.section--collaborators {
  padding: 80px 0 96px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(212,168,67,0.06), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 60%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.collaborators__title {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ivory);
  text-align: center;
  margin: 0 0 48px;
}
.collaborators__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1.5px;
  background: var(--grad-divider);
  margin: 18px auto 0;
}

/* Viewport container — full-width with edge fade so names dissolve at the sides */
.collaborators__viewport {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image:        linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* Each track holds the full list. Two tracks side-by-side scroll left at the
   same speed. When the first track has scrolled exactly one track-width left,
   it's at the same visual position the second track started at — so the loop
   is seamless and unbroken. */
.collaborators__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 72px;
  padding-right: 72px;          /* matches gap so the wrap-point looks identical */
  animation: collaboratorsScroll 38s linear infinite;
  will-change: transform;
}

@keyframes collaboratorsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.collaborator {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  /* Same gold→cyan gradient as the Hero "Transformation" word */
  background: var(--grad-gold-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  flex-shrink: 0;
}

/* Pause on hover so visitors can read */
.collaborators__viewport:hover .collaborators__track,
.collaborators__viewport:focus-within .collaborators__track {
  animation-play-state: paused;
}

@media (max-width: 640px) {
  .section--collaborators { padding: 56px 0 72px; }
  .collaborators__title { margin-bottom: 32px; }
  .collaborators__track { gap: 48px; padding-right: 48px; animation-duration: 28s; }
  .collaborator { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .collaborators__track { animation: none; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .collaborators__viewport { -webkit-mask-image: none; mask-image: none; }
  .collaborators__viewport > .collaborators__track[aria-hidden="true"] { display: none; }
}

/* =========================================================
   LEGAL PAGES (ivory background — Privacy / Terms / Accessibility / Cookies)
   ========================================================= */
body.page--ivory {
  background-color: #EFEBE1;
  background-image: none;
  color: #1A1818;
}
body.page--ivory main {
  background: #EFEBE1;
  color: #1A1818;
  padding: 0;
}

/* Hero bar at top of each legal page */
.legal-hero {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(212, 168, 67, 0.10), transparent 70%),
    linear-gradient(180deg, #06090C 0%, #0E1218 100%);
  color: var(--ivory);
  padding: 160px 0 80px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.18);
}
.legal-hero__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.legal-hero__back {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  padding: 10px 18px;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 999px;
  margin-bottom: 28px;
  transition: color 200ms, background 200ms, border-color 200ms;
}
.legal-hero__back:hover {
  color: var(--obsidian);
  background: var(--gold-soft);
  border-color: var(--gold);
}
.legal-hero__category {
  margin: 0;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.legal-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ivory);
  margin: 8px 0 14px;
}
.legal-hero__updated {
  margin: 0;
  font-family: var(--sans); font-size: 14px;
  color: var(--ivory-soft); letter-spacing: 0.04em;
}

/* Body of each legal page (ivory area) */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--gutter) 120px;
}
.legal-body p {
  font-family: var(--sans); font-size: 17.5px; line-height: 1.8;
  color: rgba(26, 24, 24, 0.86);
  margin: 0 0 22px;
  letter-spacing: 0.005em;
}
/* Gold drop-cap removed — no first-letter override */
.legal-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25;
  color: #1A1818;
  margin: 36px 0 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(26, 24, 24, 0.14);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body a {
  color: var(--cyan-deep);
  border-bottom: 1px solid rgba(17, 110, 121, 0.35);
  text-decoration: none;
  transition: color 200ms, border-color 200ms;
}
.legal-body a:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}
.legal-body strong { color: #1A1818; }

/* Footer-style "Other legal docs" cross-links at bottom of each page */
.legal-related {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
  border-top: 1px solid rgba(26, 24, 24, 0.14);
}
.legal-related h3 {
  margin: 0 0 18px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(26, 24, 24, 0.55);
}
.legal-related ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 14px;
}
.legal-related a {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: #1A1818;
  border: 1px solid rgba(26, 24, 24, 0.18);
  border-radius: 999px;
  transition: color 200ms, background 200ms, border-color 200ms;
}
.legal-related a[aria-current="page"] {
  background: var(--obsidian);
  color: var(--ivory);
  border-color: var(--obsidian);
}
.legal-related a:not([aria-current="page"]):hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .legal-hero { padding: 130px 0 56px; }
  .legal-body { padding: 56px var(--gutter) 80px; }
  .legal-body p { font-size: 16.5px; line-height: 1.75; }
}

/* =========================================================
   ARTICLE PAGES (/insights/*.html) — premium long-read
   ========================================================= */
.article-page main { min-height: 60vh; }

.article__header {
  padding: 180px 0 80px;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(212, 168, 67, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, transparent 100%);
  border-bottom: 1px solid rgba(212, 168, 67, 0.14);
  text-align: center;                              /* center-align for editorial feel */
}
.article__header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;                              /* center children */
  gap: 22px;
  max-width: 980px;                                 /* wider container */
  margin-inline: auto;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;                               /* centered back button */
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  margin-bottom: 12px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.article__back:hover { color: var(--gold-soft); border-color: rgba(212,168,67,0.45); background: rgba(212,168,67,0.05); }
.article__back i { font-size: 11px; }

.article__category {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;                            /* wider luxe spacing */
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Headline: spread wider, scale up, more breathing room */
.article__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 72px);                /* bigger maximum */
  line-height: 1.08;
  letter-spacing: -0.018em;                           /* tighter for premium typography */
  color: var(--ivory);
  margin: 8px auto 16px;
  max-width: 28ch;                                    /* spread to 28 characters per line */
  text-wrap: balance;                                 /* modern browsers balance line breaks */
}

.article__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;                            /* center the byline row */
  gap: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ivory-soft);
  letter-spacing: 0.04em;
}
.article__meta strong { color: var(--ivory); font-weight: 500; }
.article__meta .dot { color: var(--gold); }

/* Mobile: tighter padding, smaller back button, more wrapping room */
@media (max-width: 720px) {
  .article__header { padding: 130px 0 56px; }
  .article__title { max-width: 90vw; font-size: clamp(30px, 7vw, 44px); }
  .article__back { font-size: 11px; padding: 8px 16px; }
}

/* Body */
.article__body {
  max-width: 760px !important;
  padding-top: 56px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article__body p {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ivory);
  letter-spacing: 0.005em;
}
/* Gold drop-cap removed — no first-letter override */

.article__h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ivory);
  margin: 24px 0 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.article__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.article__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory);
}
.article__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 16px;
  height: 1.5px;
  background: var(--grad-gold);
}

/* Source */
.article__source {
  margin: 28px 0 0;
  padding: 22px 26px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(212,168,67,0.18);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}
.article__source p { margin: 0; font-size: 15px; color: var(--ivory-mute); line-height: 1.55; }
.article__source-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 12px;
}
.article__source a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(212,168,67,0.30);
  transition: color 200ms, border-color 200ms;
}
.article__source a:hover { color: var(--gold); border-color: var(--gold); }
.article__source a i { font-size: 10px; margin-left: 6px; opacity: 0.75; }

/* Share */
.article__share {
  margin: 32px 0 0;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article__share-label {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  text-align: center;
}
.article__share ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.article__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ivory);
  font-size: 16px;
  transition: color 280ms var(--ease), background 280ms var(--ease), border-color 280ms var(--ease), transform 240ms var(--ease);
}
.article__share a:hover {
  color: var(--obsidian);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.article__back-bottom {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.article__back-bottom a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(212,168,67,0.30);
  padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
}
.article__back-bottom a:hover { color: var(--gold); border-color: var(--gold); }
.article__back-bottom i { font-size: 11px; margin-right: 6px; }

@media (max-width: 640px) {
  .article__header { padding: 130px 0 40px; }
  .article__title { font-size: clamp(28px, 8vw, 40px); }
  .article__body { padding-top: 36px; padding-bottom: 64px; gap: 20px; }
  .article__body p { font-size: 16.5px; line-height: 1.7; }
  .article__list li { font-size: 16px; }
  .article__source { padding: 18px 20px; }
  .article__source-label { display: block; margin: 0 0 6px; }
  .article__share a { width: 40px; height: 40px; font-size: 14px; }
}

/* =========================================================
   INDUSTRIES (Who We Work With) — 2×2 premium glass grid
   ========================================================= */
.section--industries {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  background-color: var(--obsidian);
  background-image:
    radial-gradient(45% 60% at 80% 20%, rgba(174, 234, 242, 0.07), transparent 70%),
    radial-gradient(50% 60% at 12% 85%, rgba(212, 168, 67, 0.06), transparent 70%);
  isolation: isolate;
}

.industries-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 880px) { .industries-grid { grid-template-columns: 1fr; gap: 20px; } }

.industries-grid > li { display: flex; }

.industry-card {
  flex: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition:
    transform 360ms var(--ease),
    border-color 360ms var(--ease),
    box-shadow 360ms var(--ease),
    background 360ms var(--ease);
}

/* Cursor-following gold glow (mirrors the Solutions cards) */
.industry-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    560px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.16),
    transparent 38%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 360ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
/* Subtle top-edge gold accent that sweeps in on hover */
.industry-card::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; top: 0;
  height: 2px;
  background: var(--grad-gold);
  transition: right 520ms var(--ease);
  z-index: 1;
}
.industry-card > * { position: relative; z-index: 2; }

.industry-card:hover,
.industry-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 67, 0.40);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.05);
}
.industry-card:hover::before,
.industry-card:focus-within::before { opacity: 1; }
.industry-card:hover::after,
.industry-card:focus-within::after  { right: 0; }

.industry-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #F5F3EF;
  margin: 0 0 6px;
}
.industry-card__desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.78);
  margin: 0;
  max-width: 52ch;
}

@media (max-width: 640px) {
  .industry-card        { padding: 32px 26px; }
  .industry-card__title { font-size: 21px; }
  .industry-card__desc  { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .industry-card,
  .industry-card::before,
  .industry-card::after { transition: none; }
  .industry-card:hover  { transform: none; }
}

/* =========================================================
   FAQs — accordion built on native <details>
   ========================================================= */
.faqs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.faq {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 12px 28px 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ivory);
  transition: color 220ms var(--ease), padding-left 320ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-soft); padding-left: 14px; }
.faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Downward chevron indicator — rotates 180° (points up) when open */
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transform-origin: center;
  margin-right: 6px;
  transition: transform 360ms var(--ease), border-color 220ms var(--ease);
}
.faq[open] summary::after {
  transform: rotate(-135deg) translate(0, 0);
  border-color: var(--gold-soft);
}
.faq[open] summary { color: var(--gold-soft); padding-left: 14px; }

.faq__body {
  padding: 0 12px 28px 14px;
  animation: faqOpen 320ms var(--ease);
}
.faq__body p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ivory-mute);
  max-width: 72ch;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .faq summary { font-size: 18px; padding: 24px 8px 24px 0; gap: 16px; }
  .faq summary:hover, .faq[open] summary { padding-left: 8px; }
  .faq__body { padding: 0 8px 24px 8px; }
  .faq__body p { font-size: 15.5px; line-height: 1.65; }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary, .faq summary::after, .clients-list__item { transition: none; }
  .faq__body { animation: none; }
}

/* =====================================================
   Our Showcase Room — premium video reel section
   Ivory canvas with cinematic obsidian player frames
   Performance: preload=none on <video>, lazy posters
   ===================================================== */
.section--showcase {
  background:
    radial-gradient(120% 90% at 50% 0%, #F5F1E6 0%, #EFEBE1 55%, #E8E2D2 100%);
  color: var(--obsidian);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.section--showcase::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(212,168,67,0.06) 0%, transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(212,168,67,0.08) 0%, transparent 45%);
  pointer-events: none;
}
@media (max-width: 880px) { .section--showcase { padding: 80px 0; } }

.showcase__head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}
.showcase__eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8B6F1E;
  margin: 0 0 14px;
}
.showcase__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.014em;
  color: var(--obsidian);
  margin: 0 0 16px;
}
.showcase__lede {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: #2C2A26;
  max-width: 56ch;
  margin: 0 auto;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 32px; }
}

.reel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #06090C 0%, #0F2D32 100%);
  border: 1px solid rgba(6, 9, 12, 0.18);
  box-shadow:
    0 28px 64px -22px rgba(6, 9, 12, 0.45),
    0 0 0 1px rgba(212, 168, 67, 0.08);
  isolation: isolate;
  cursor: pointer;
  transition: transform 480ms cubic-bezier(.2,.7,.2,1), box-shadow 480ms ease;
}
.reel__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 36px 80px -22px rgba(6, 9, 12, 0.55),
    0 0 0 1px rgba(212, 168, 67, 0.18);
}
.reel__video,
.reel__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.reel__video {
  z-index: 1;
  visibility: hidden;            /* hide blank/native UI until user clicks play */
  background: #06090C;
}
.reel__poster {
  z-index: 4;                    /* always sit above the video frame */
  background:
    radial-gradient(ellipse at center, rgba(212,168,67,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #06090C 0%, #0F2D32 60%, #0A1518 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.reel__poster-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 36px);
  color: rgba(239, 235, 225, 0.92);
  letter-spacing: 0.005em;
  margin-bottom: 4px;
}
.reel__poster-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(6, 9, 12, 0.6);
  border: 1.5px solid rgba(212, 168, 67, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  transition: background 320ms ease, border-color 320ms ease, transform 320ms ease;
}
.reel__frame:hover .reel__play {
  background: rgba(212, 168, 67, 0.92);
  border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.06);
}
.reel__play::before {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 18px solid var(--gold-soft);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
  transition: border-left-color 320ms ease;
}
.reel__frame:hover .reel__play::before { border-left-color: var(--obsidian); }
.reel__frame.is-playing .reel__poster,
.reel__frame.is-playing .reel__play { display: none; }
.reel__frame.is-playing .reel__video {
  z-index: 5;
  visibility: visible;
}
.reel__iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 5;
  background: #06090C;
}

/* ── Lightbox modal for HTML reels (9:16 native aspect) ── */
.reel-modal {
  position: fixed; inset: 0;
  background: rgba(6, 9, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  opacity: 0;
  transition: opacity 320ms ease;
}
.reel-modal.is-open { display: flex; opacity: 1; }
.reel-modal__stage {
  position: relative;
  width: 92vw;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: calc(92vh * 16 / 9);
  max-height: 92vh;
  background: #06090C;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 120px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 168, 67, 0.18);
}
.reel-modal__iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: #06090C;
}
.reel-modal__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(6, 9, 12, 0.7);
  border: 1px solid rgba(239, 235, 225, 0.25);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.reel-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}
.reel-modal__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .reel-modal { padding: 12px; }
  .reel-modal__stage { width: 96vw; height: auto; max-width: 96vw; max-height: 88vh; }
  .reel-modal__close { top: 16px; right: 16px; }
}

.reel__caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}
.reel__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--obsidian);
  margin: 0;
  letter-spacing: -0.005em;
}
.reel__meta {
  font-family: var(--sans);
  font-size: 14px;
  color: #514E47;
  margin: 0;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .reel__frame, .reel__play { transition: none; }
  .reel__frame:hover { transform: none; }
}

/* =====================================================
   "Small Orders?" inline icon prompt inside Contact info card
   (sits below STUDIO / HOURS / EMAIL inside .contact__intro)
   ===================================================== */
.contact__small-orders {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 2;
  color: var(--ivory-mute);
  max-width: 44ch;
}
.contact__small-orders strong {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.contact__small-orders-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.32);
  background: rgba(6, 9, 12, 0.55);
  color: var(--gold-soft);
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  margin: 0 4px;
  position: relative;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
  /* Subtle pulse so users notice the icons are clickable */
  animation: smallOrdersPulse 2.4s ease-in-out infinite;
}
.contact__small-orders-icon--behance  { color: #4DA8FF; border-color: rgba(77, 168, 255, 0.34); }
.contact__small-orders-icon--dribbble { color: #FF5C9D; border-color: rgba(255, 92, 157, 0.34); }
.contact__small-orders-icon:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
  transform: translateY(-2px);
  animation: none;
}
.contact__small-orders-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@keyframes smallOrdersPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(212, 168, 67, 0.12); }
}
.contact__small-orders-hint {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-style: italic;
  color: var(--ivory-mute);
  opacity: 0.78;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .contact__small-orders-icon { transition: none; animation: none; }
  .contact__small-orders-icon:hover { transform: none; }
}

/* =====================================================
   Specialists by Discipline — Editorial Index
   Pentagram-style: large numbers, italic serif headlines,
   gold hairlines, no cards. Premium "world-class" approach.
   ===================================================== */
.section--disciplines-index .section__head {
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
  margin-bottom: 56px;
}
.section--disciplines-index .section__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}

/* Credential statement — sits under the lede, premium social-proof line */
.disciplines-credential {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid rgba(212, 168, 67, 0.28);
  border-radius: 999px;
  background: rgba(6, 9, 12, 0.45);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ivory-mute);
  text-align: center;
  max-width: 720px;
}
.disciplines-credential strong {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .disciplines-credential {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    margin-top: 18px;
  }
}

.disciplines-index {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  /* Top hairline frames the index */
  border-top: 1px solid rgba(212, 168, 67, 0.32);
}

.disc-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr 56px;
  gap: 36px;
  align-items: baseline;
  padding: 36px 24px 36px 0;
  border-bottom: 1px solid rgba(212, 168, 67, 0.22);
  cursor: default;
  isolation: isolate;
  transition: padding-left 480ms cubic-bezier(.2,.7,.2,1), background 320ms ease;
}
.disc-row::before {
  /* Gold accent bar that slides in from the left on hover */
  content: '';
  position: absolute;
  left: -8px; top: 50%;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  transform: translateY(-50%);
  transition: height 480ms cubic-bezier(.2,.7,.2,1);
  border-radius: 2px;
}
.disc-row:hover {
  padding-left: 28px;
  background:
    linear-gradient(90deg, rgba(212,168,67,0.06) 0%, transparent 70%);
}
.disc-row:hover::before { height: 70%; }

.disc-row__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(58px, 6.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 168, 67, 0.55);
  text-stroke: 1px rgba(212, 168, 67, 0.55);
  transition: color 380ms ease, -webkit-text-stroke-color 380ms ease;
  user-select: none;
}
.disc-row:hover .disc-row__num {
  color: var(--gold-soft);
  -webkit-text-stroke-color: var(--gold);
}

.disc-row__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}
.disc-row__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.014em;
  color: var(--ivory);
  margin: 0;
  transition: color 320ms ease;
}
.disc-row:hover .disc-row__title { color: var(--gold-soft); }

.disc-row__desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ivory-mute);
  margin: 0;
  max-width: 64ch;
}

.disc-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.28);
  background: rgba(6, 9, 12, 0.5);
  color: var(--gold-soft);
  font-size: 16px;
  align-self: center;
  transition: background 380ms ease, color 380ms ease, border-color 380ms ease, transform 380ms ease;
}
.disc-row:hover .disc-row__icon {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
  transform: rotate(-8deg) scale(1.06);
}

/* Mobile: stack number above content, hide right icon */
@media (max-width: 720px) {
  .disc-row {
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 26px 0;
  }
  .disc-row__num { font-size: 48px; }
  .disc-row__title { font-size: 22px; }
  .disc-row__desc { font-size: 14.5px; }
  .disc-row__icon { display: none; }
  .disc-row:hover { padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .disc-row, .disc-row::before, .disc-row__num, .disc-row__title, .disc-row__icon {
    transition: none;
  }
  .disc-row:hover { padding-left: 0; }
  .disc-row:hover::before { height: 0; }
  .disc-row:hover .disc-row__icon { transform: none; }
}

/* =====================================================
   Careers — Senior Talent Network (rebuilt)
   "An invitation, not a job listing"
   ===================================================== */
.section--careers .section__head { max-width: 720px; margin-bottom: 56px; }
.section--careers .section__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}

.careers-statement,
.careers-closing {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 var(--gutter);
  text-align: center;
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ivory-mute);
}
.careers-statement p + p,
.careers-closing p + p { margin-top: 18px; }
.careers-closing strong { color: var(--gold-soft); font-weight: 500; }

/* Location pin chip — Canada/BC residency badge */
.careers-statement__location {
  margin-top: 28px !important;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(212, 168, 67, 0.32);
  border-radius: 999px;
  background: rgba(6, 9, 12, 0.45);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ivory-mute);
  text-align: left;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.careers-statement__location strong {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.careers-statement__location-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.18);
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .careers-statement__location {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
  }
}

/* Disciplines: editorial numbered list (no boxes) */
.careers-disciplines {
  max-width: 880px;
  margin: 0 auto 64px;
  padding: 0 var(--gutter);
}
.careers-disciplines__eyebrow {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 12px;
}
.careers-disciplines__title {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ivory);
  margin: 0 0 36px;
  letter-spacing: -0.012em;
}
.careers-disciplines__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(212, 168, 67, 0.28);
}
.careers-disciplines__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 8px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.18);
  transition: padding-left 380ms cubic-bezier(.2,.7,.2,1), background 320ms ease;
  position: relative;
}
.careers-disciplines__list li::before {
  content: '';
  position: absolute;
  left: -8px; top: 50%;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  transform: translateY(-50%);
  transition: height 380ms cubic-bezier(.2,.7,.2,1);
  border-radius: 2px;
}
.careers-disciplines__list li:hover {
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(212,168,67,0.05) 0%, transparent 65%);
}
.careers-disciplines__list li:hover::before { height: 60%; }

.cd-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 168, 67, 0.55);
  text-stroke: 1px rgba(212, 168, 67, 0.55);
  transition: color 320ms ease, -webkit-text-stroke-color 320ms ease;
  user-select: none;
}
.careers-disciplines__list li:hover .cd-num {
  color: var(--gold-soft);
  -webkit-text-stroke-color: var(--gold);
}
.cd-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--ivory);
  letter-spacing: -0.012em;
  transition: color 320ms ease;
}
.careers-disciplines__list li:hover .cd-label { color: var(--gold-soft); }
.cd-label em {
  font-style: italic;
  font-weight: 300;
  font-size: 0.6em;
  color: var(--ivory-soft);
  letter-spacing: 0.04em;
  margin-left: 8px;
}

.careers-closing__cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

@media (max-width: 720px) {
  .careers-disciplines__list li { grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; }
  .cd-num { font-size: 32px; }
  .cd-label { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .careers-disciplines__list li,
  .careers-disciplines__list li::before,
  .cd-num, .cd-label { transition: none; }
  .careers-disciplines__list li:hover { padding-left: 0; }
  .careers-disciplines__list li:hover::before { height: 0; }
}

/* =====================================================
   Share button — Native Web Share API (mobile) +
   fallback dropdown menu (WhatsApp / Email / SMS / Copy)
   ===================================================== */
.share-button {
  position: relative;
  display: inline-block;
}
.share-button__trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown menu — opens above or below the button depending on space */
.share-button__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  padding: 10px;
  background: #0F1318;
  border: 1px solid rgba(212, 168, 67, 0.30);
  border-radius: 12px;
  box-shadow:
    0 28px 64px -22px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 240ms cubic-bezier(.2,.7,.2,1);
}
.share-button__menu[hidden] { display: none; }
.share-button[data-open] .share-button__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Decorative arrow above the menu */
.share-button__menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #0F1318;
  border-left: 1px solid rgba(212, 168, 67, 0.30);
  border-top: 1px solid rgba(212, 168, 67, 0.30);
}

.share-button__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 200ms ease, color 200ms ease;
}
.share-button__option:hover,
.share-button__option:focus-visible {
  background: rgba(212, 168, 67, 0.10);
  color: var(--gold-soft);
  outline: none;
}
.share-button__option i {
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.share-button__option--whatsapp i { color: #25D366; }
.share-button__option--email    i { color: #4DA8FF; }
.share-button__option--sms      i { color: #B89A6E; }
.share-button__option--copy     i { color: var(--gold-soft); }

/* Copied state */
.share-button__option--copied {
  background: rgba(46, 204, 113, 0.14) !important;
  color: #6EE89A !important;
}

@media (max-width: 480px) {
  .share-button__menu { min-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .share-button__menu { transition: none; }
}

/* =====================================================
   Founder Actions — Contact + Share row
   "Black-with-white-line" aesthetic (no gold — used elsewhere)
   ===================================================== */
.founder-actions {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(239, 235, 225, 0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Black button with thin white outline (square corners) */
.btn-bw {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  background: linear-gradient(180deg, #050505 0%, #161616 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;                       /* sharp square lines */
  cursor: pointer;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease, transform 280ms ease;
  position: relative;
  isolation: isolate;
}
.btn-bw::after {
  /* subtle inner glow / second outline */
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
  transition: border-color 280ms ease;
}
.btn-bw:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E8E8E8 100%);
  color: #050505;
  border-color: #FFFFFF;
}
.btn-bw:hover::after { border-color: rgba(0, 0, 0, 0.10); }
.btn-bw:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
.btn-bw i { font-size: 14px; }

/* Share row */
.founder-share {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.founder-share__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}
.founder-share__icons {
  display: inline-flex;
  gap: 8px;
}

/* Square share icon — black with white line */
.share-icon-bw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(180deg, #050505 0%, #161616 100%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 0;                       /* sharp square */
  font-size: 14px;
  position: relative;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.share-icon-bw::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: border-color 240ms ease;
}
.share-icon-bw:hover {
  background: #FFFFFF;
  color: #050505;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}
.share-icon-bw:hover::after { border-color: rgba(0, 0, 0, 0.10); }
.share-icon-bw:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .founder-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .founder-share { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-bw, .share-icon-bw, .btn-bw::after, .share-icon-bw::after { transition: none; }
  .share-icon-bw:hover { transform: none; }
}

/* =====================================================
   Hero CTA Overrides — Black-with-White-Line aesthetic
   (Test: scoped to .hero__ctas only, all other site
    buttons remain in their existing gold treatment.)
   ===================================================== */
.hero__ctas .btn {
  border-radius: 0;                     /* sharp square corners */
  letter-spacing: 0.20em;
}
.hero__ctas .btn::after {
  /* Luxurious inner hairline frame (double-line look) */
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: 1;
  transition: border-color 320ms ease;
}

/* PRIMARY (View Our Work) — filled black gradient, white outline */
.hero__ctas .btn--primary {
  background: linear-gradient(180deg, #050505 0%, #161616 100%);
  background-size: 100% 100%;
  background-position: 0 0;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.50);
  font-weight: 600;
  box-shadow:
    0 16px 40px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
/* Hover: STAY dark — only brighten outline + gentle lift (no white flash) */
.hero__ctas .btn--primary:hover {
  background: linear-gradient(180deg, #161616 0%, #262626 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px -14px rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.hero__ctas .btn--primary:hover::after { border-color: rgba(255, 255, 255, 0.30); }
.hero__ctas .btn--primary:active { transform: translateY(0); }
.hero__ctas .btn--primary:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
  box-shadow:
    0 16px 40px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
/* Tame the inherited shimmer-sweep (was bright white on gold; on black it would
   be too flashy — we soften it instead of removing entirely). */
.hero__ctas .btn--primary::before {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
}

/* GHOST (Let's Connect) — outlined transparent, inverts on hover */
.hero__ctas .btn--ghost {
  background: rgba(5, 5, 5, 0.55);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.50);
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
/* Disable the sweep entirely — keep the button clean */
.hero__ctas .btn--ghost::before { content: none; display: none; }
/* Hover: STAY dark — same gentle lift, no color invert */
.hero__ctas .btn--ghost:hover,
.hero__ctas .btn--ghost:focus-visible {
  background: rgba(20, 20, 20, 0.75);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px -14px rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  outline: none;
}
.hero__ctas .btn--ghost:hover::after { border-color: rgba(255, 255, 255, 0.30); }
.hero__ctas .btn--ghost:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
.hero__ctas .btn--ghost:active { transform: translateY(0); }

/* =====================================================
   Send Message button — match hero BW aesthetic
   (Black gradient + white outline, short, no white-flash on hover)
   ===================================================== */
.form button[type="submit"].btn--primary {
  /* Override the global gold gradient with black-and-white-line */
  background: linear-gradient(180deg, #050505 0%, #161616 100%) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.50) !important;
  border-radius: 0 !important;
  font-weight: 600;
  padding: 14px 32px !important;          /* shorter than the global 20px 40px */
  width: auto !important;                  /* defeat btn--full */
  min-width: 200px;
  align-self: flex-start;
  box-shadow:
    0 14px 36px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  position: relative;
  isolation: isolate;
}
.form button[type="submit"].btn--primary::after {
  /* Double-frame inner hairline */
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: 1;
  transition: border-color 320ms ease;
}
/* Stay dark on hover — only brighten the outline + lift */
.form button[type="submit"].btn--primary:hover {
  background: linear-gradient(180deg, #161616 0%, #262626 100%) !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px -14px rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
}
.form button[type="submit"].btn--primary:hover::after {
  border-color: rgba(255, 255, 255, 0.30);
}
.form button[type="submit"].btn--primary:active { transform: translateY(0); }
.form button[type="submit"].btn--primary:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
/* Tame the inherited gold shimmer sweep */
.form button[type="submit"].btn--primary::before {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 50%,
    transparent 100%
  );
}

/* Case media as a clickable anchor (Selected Work cards link to live site) */
a.case__media--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.case__media--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =====================================================
   Article End CTA — "Start Your Project" (black + white outline)
   Appears at the bottom of each insight article above the Share row
   ===================================================== */
.article__cta {
  margin: 56px auto 40px;
  max-width: 720px;
  padding: 40px 32px;
  text-align: center;
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  border-bottom: 1px solid rgba(212, 168, 67, 0.18);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(212, 168, 67, 0.06), transparent 70%);
}
.article__cta-lede {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--ivory);
  letter-spacing: -0.008em;
}
.article__cta-btn {
  /* Uses .btn-bw base — just a slight size tweak for the article context */
  padding: 14px 32px;
  gap: 14px;
}
.article__cta-btn i { font-size: 12px; }
@media (max-width: 600px) {
  .article__cta { padding: 28px 18px; margin: 40px auto 28px; }
}

/* =====================================================
   Article Directory — "More from the Insights desk"
   Appears at the bottom of each article, links the other 2
   ===================================================== */
.article-directory {
  margin: 64px auto 24px;
  max-width: 980px;
  padding: 40px 0 8px;
  border-top: 1px solid rgba(212, 168, 67, 0.20);
}
.article-directory__head {
  text-align: center;
  margin-bottom: 32px;
}
.article-directory__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 10px;
}
.article-directory__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ivory);
  margin: 0;
  letter-spacing: -0.01em;
}

.article-directory__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .article-directory__list { grid-template-columns: 1fr; } }

.article-directory__item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: rgba(6, 9, 12, 0.55);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 280ms ease, border-color 280ms ease, transform 280ms ease;
  height: 100%;
}
.article-directory__item a:hover {
  background: rgba(20, 18, 18, 0.78);
  border-color: rgba(212, 168, 67, 0.42);
  transform: translateY(-2px);
}
.article-directory__cat {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0;
}
.article-directory__article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
  color: var(--ivory);
  margin: 0;
  letter-spacing: -0.005em;
}
.article-directory__arrow {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: gap 280ms ease;
}
.article-directory__item a:hover .article-directory__arrow { gap: 14px; color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .article-directory__item a, .article-directory__arrow { transition: none; }
  .article-directory__item a:hover { transform: none; }
}
