/* ============================================================
   C.F. Patel & Co — Site stylesheet
   ============================================================ */

/* ----- NAV ----- */
.nav {
  position: fixed; top: 18px;
  left: 48px; right: 48px;
  z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(8,10,16,0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__brand {
  display: flex; align-items: center;
  font-family: var(--f-brand);
  letter-spacing: 0.04em;
}

/* Wordmark — the firm's name IS the symbol.
   Cinzel + the copper tone lifted from the cfpatelco wordmark. */
.wordmark { display: inline-flex; flex-direction: column; gap: 4px; line-height: 1; }
.wordmark b {
  font-family: var(--f-brand);
  font-weight: 500;
  font-size: 45px;
  letter-spacing: 0.06em;
  color: var(--copper);
  white-space: nowrap;
}
.wordmark__sub {
  font: 500 16px/1 var(--f-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 10px;
  border-top: 1px solid rgba(200,160,112,0.35);
  margin-top: 8px;
}
.wordmark--lg b { font-size: clamp(40px, 5vw, 68px); letter-spacing: 0.08em; }
.wordmark--lg .wordmark__sub { font-size: 14px; letter-spacing: 0.42em; padding-top: 14px; margin-top: 14px; }

.nav__links {
  display: flex; gap: 32px; flex: 1; justify-content: center;
}
.nav__links a {
  position: relative;
  font: 500 14px/1 var(--f-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 0;
  transition: color var(--d-med) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 1px; background: var(--mint);
  transition: right 360ms var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }

.nav__cta {
  font: 500 13px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all var(--d-med) var(--ease);
}
.nav__cta:hover { border-color: var(--mint); color: var(--mint); }

.nav__menu {
  display: none;
  width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line-2);
  align-items: center; justify-content: center;
}

@media (max-width: 1180px) {
  .nav { left: 16px; right: 16px; padding: 12px 16px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(6,7,11,0.92);
  backdrop-filter: blur(24px);
  display: none;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 8px;
}
.drawer.is-open { display: flex; }
.drawer a {
  font-family: var(--f-display);
  font-size: 32px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center;
}

/* ----- FOOTER ----- */
.foot { position: relative; padding: 96px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot__brandblock .wordmark--lg { margin-bottom: 28px; }
.foot__brandblock p { font: 300 14px/1.55 var(--f-sans); color: var(--fg-3); max-width: 38ch; margin: 0; }
.foot__col h5 {
  font: 500 10px/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3); margin: 0 0 18px;
}
.foot__col a {
  display: block; padding: 5px 0;
  font: 400 14px/1.4 var(--f-sans);
  color: var(--fg-2);
  transition: color var(--d-med);
}
.foot__col a:hover { color: var(--mint); }

.foot__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 32px; margin-top: 16px;
  border-top: 1px solid var(--line);
  font: 400 11px/1.4 var(--f-mono); color: var(--fg-3); letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brandblock { grid-column: span 2; }
  .foot__bottom { flex-direction: column; }
}

/* ----- HERO (home) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 120px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* Dim and cool the footage — the headline is the protagonist. */
  filter: saturate(0.5) contrast(1.05) brightness(0.45);
  opacity: 1;
  transition: opacity 700ms ease-in-out;
}
.hero__bg-video.is-fading { opacity: 0; }
.hero__bg-tint {
  position: absolute; inset: 0;
  /* Heavier wash so any micro-discontinuity at the loop point disappears
     into the gradient. */
  background:
    radial-gradient(ellipse 65% 50% at 50% 40%, rgba(13,15,25,0.30) 0%, rgba(13,15,25,0.55) 70%, rgba(13,15,25,0.80) 100%),
    linear-gradient(180deg, rgba(13,15,25,0.35) 0%, rgba(13,15,25,0.10) 30%, rgba(13,15,25,0.80) 100%);
}
/* Backwards-compat: any old canvas reference falls through invisibly. */
.hero__bg-canvas { display: none; }

.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 80%);
}

.hero__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: clamp(48px, 9vw, 120px);
  gap: 24px;
}
.hero__meta {
  text-align: right;
  font: 400 11px/1.7 var(--f-mono);
  color: var(--fg-3);
  letter-spacing: 0.08em;
}
.hero__meta strong { display: block; color: var(--fg); font-weight: 500; letter-spacing: 0.06em; }

.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 56px;
  font-feature-settings: "ss01";
}
.hero__title .row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
}
.hero__title .tw-line {
  display: inline-block;
  white-space: nowrap;
  vertical-align: top;
}
.hero__title .tw-text { display: inline; }
.hero__title .tw-text em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.05em;
}
.hero__title .tw-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.95em;
  background: linear-gradient(180deg, var(--blue-2), var(--mint));
  vertical-align: -0.10em;
  margin-left: 0.05em;
  animation: tw-blink 0.85s steps(2, end) infinite;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(127,176,255,0.55);
}
.tw-line.is-done .tw-caret { display: none; }
.tw-line.is-active .tw-caret { animation: tw-blink 0.85s steps(2, end) infinite; }
@keyframes tw-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1100ms var(--ease) forwards;
}
.hero__title .row:nth-child(1) .word { animation-delay: 80ms; }
.hero__title .row:nth-child(2) .word { animation-delay: 200ms; }
.hero__title .row:nth-child(3) .word { animation-delay: 320ms; }
.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.05em;
}
@keyframes rise { to { transform: translateY(0); } }

.hero__bottom {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end;
}
.hero__lede {
  font: 300 21px/1.5 var(--f-sans); color: var(--fg-2);
  max-width: 520px; letter-spacing: -0.005em;
  opacity: 0; animation: fadeUp 900ms 700ms var(--ease) forwards;
}
.hero__lede em { color: var(--mint); font-family: var(--f-display); font-style: italic; font-weight: 400; }
.hero__actions {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  opacity: 0; animation: fadeUp 900ms 900ms var(--ease) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__scroll {
  display: flex; align-items: center; gap: 14px;
  font: 500 10px/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3);
  margin-top: clamp(56px, 9vw, 96px);
}
.hero__scroll .line {
  width: 64px; height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--fg);
  animation: sweep 2.4s var(--ease-io) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }

@media (max-width: 800px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column; }
  .hero__meta { text-align: left; }
}

/* ----- TICKER STRIP ----- */
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 36px 0;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker__track {
  display: flex; gap: 64px; align-items: center;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-size: 44px; line-height: 1;
  letter-spacing: -0.025em; color: var(--fg);
}
.ticker__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint-glow); }
.ticker__item.italic { font-style: italic; color: var(--mint); }

/* ----- STATS ----- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  position: relative;
  padding: 32px 24px 28px 0;
  border-top: 1px solid var(--line-2);
}
.stat__num {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  font-variant-numeric: tabular-nums;
}
.stat__num .unit {
  background: linear-gradient(135deg, var(--blue) 0%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.stat__label { font: 400 13px/1.5 var(--f-mono); letter-spacing: 0.04em; color: var(--fg-3); max-width: 22ch; }
.stat__index {
  position: absolute; top: 12px; right: 0;
  font: 500 11px/1 var(--f-mono); color: var(--fg-3); letter-spacing: 0.18em;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ----- SERVICES LIST (home) ----- */
.svc-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 1.2fr) 2fr 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding var(--d-slow) var(--ease);
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(77,139,255,0.06), transparent);
  opacity: 0; transition: opacity var(--d-slow); pointer-events: none;
}
.svc-row:hover { padding: 52px 18px; }
.svc-row:hover::before { opacity: 1; }

.svc-row__num {
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.2em; color: var(--fg-3);
}
.svc-row__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--fg-2);
  transition: color var(--d-slow);
}
.svc-row:hover .svc-row__title { color: var(--fg); }
.svc-row__title em { font-style: italic; color: var(--mint); transition: all var(--d-slow); }
.svc-row:hover .svc-row__title em { color: transparent; -webkit-text-stroke: 1px var(--mint); }
.svc-row__body { font: 300 15px/1.55 var(--f-sans); color: var(--fg-3); max-width: 540px; }
.svc-row__arrow {
  justify-self: end;
  width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all var(--d-slow) var(--ease);
}
.svc-row:hover .svc-row__arrow { border-color: var(--mint); background: var(--mint); color: var(--bg); transform: rotate(-45deg); }

@media (max-width: 800px) {
  .svc-row { grid-template-columns: 40px 1fr 50px; }
  .svc-row__body { display: none; }
}

/* ----- FEATURE SPLIT (Legacy / Future) ----- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
}
.feature__visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.feature__visual .glow {
  position: absolute; left: 50%; top: 50%;
  width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  filter: blur(40px);
  z-index: 1;
}
.feature__visual .ring-svg {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
}
.feature__visual .ring-svg svg { width: 86%; height: 86%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feature__visual .glyph {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(140px, 22vw, 280px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--fg);
  text-shadow: 0 0 80px var(--blue-glow);
}
.feature__visual .corner-tag {
  position: absolute;
  font: 500 10px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  z-index: 4;
}
.feature__visual .corner-tag.tl { top: 18px; left: 18px; }
.feature__visual .corner-tag.tr { top: 18px; right: 18px; }
.feature__visual .corner-tag.bl { bottom: 18px; left: 18px; }
.feature__visual .corner-tag.br { bottom: 18px; right: 18px; }

.feature__eyebrow {
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 22px;
}
.feature__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.96; letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.feature__title em { font-style: italic; color: var(--mint); }
.feature__copy {
  font: 300 17px/1.6 var(--f-sans); color: var(--fg-2);
  margin: 0 0 36px; max-width: 520px;
}
.feature__steps { list-style: none; padding: 0; margin: 0 0 36px; }
.feature__step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.feature__step:last-child { border-bottom: 1px solid var(--line); }
.feature__step .n { font: 500 12px/1.4 var(--f-mono); color: var(--mint); letter-spacing: 0.1em; }
.feature__step h4 { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 0 0 6px; letter-spacing: -0.02em; }
.feature__step p { font: 300 14px/1.5 var(--f-sans); color: var(--fg-3); margin: 0; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 56px; }
  .feature--reverse { direction: ltr; }
}

/* ----- CTA banner ----- */
.cta {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(120px, 18vw, 220px) 0;
}
.cta__mesh { position: absolute; inset: 0; z-index: -1; opacity: 0.7; }
.cta__mesh span {
  position: absolute; border-radius: 50%; filter: blur(140px); mix-blend-mode: screen;
}
.cta__mesh span:nth-child(1) { width: 600px; height: 600px; left: 18%; top: -8%; background: var(--blue); opacity: 0.55; }
.cta__mesh span:nth-child(2) { width: 480px; height: 480px; right: 12%; bottom: -10%; background: var(--blue-2); opacity: 0.35; }
.cta__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(52px, 9vw, 144px);
  line-height: 0.92; letter-spacing: -0.04em;
  margin: 0 auto 36px; max-width: 14ch;
}
.cta__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__sub { font: 300 19px/1.55 var(--f-sans); color: var(--fg-2); max-width: 560px; margin: 0 auto 40px; }

/* ----- PAGE HERO (inner pages) ----- */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('../assets/page-hero-bg.svg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
/* Animated copper shimmer sweeping diagonally across the panel */
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    rgba(232,200,160,0) 35%,
    rgba(232,200,160,0.10) 48%,
    rgba(232,200,160,0.18) 50%,
    rgba(232,200,160,0.10) 52%,
    rgba(232,200,160,0) 65%);
  background-size: 220% 220%;
  animation: shimmer-sweep 9s linear infinite;
  mix-blend-mode: screen;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero--cinema::after { display: none; }

@keyframes shimmer-sweep {
  0%   { background-position: -120% -120%; }
  100% { background-position:  120%  120%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; opacity: 0.35; background-position: 50% 50%; }
}
.page-hero__crumb {
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 28px;
}
.page-hero__crumb a:hover { color: var(--mint); }
.page-hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 18ch;
  padding-bottom: 0.10em;
}
.page-hero__title em { font-style: italic; color: var(--mint); }
.page-hero__lede { font: 300 20px/1.55 var(--f-sans); color: var(--fg-2); max-width: 600px; }

/* ----- SERVICE DETAIL CARDS (Services page) ----- */
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.svc-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
  transition: transform var(--d-slow) var(--ease), border-color var(--d-slow);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0; transition: opacity var(--d-slow);
}
.svc-card:hover::before { opacity: 1; }
.svc-card__num { font: 500 12px/1 var(--f-mono); letter-spacing: 0.18em; color: var(--fg-3); margin-bottom: 36px; display: flex; justify-content: space-between; }
.svc-card__num span:last-child { color: var(--mint); }
.svc-card__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -0.025em; margin: 0 0 20px; }
.svc-card__title em { font-style: italic; color: var(--mint); }
.svc-card__copy { font: 300 15px/1.55 var(--f-sans); color: var(--fg-2); margin: 0 0 28px; max-width: 50ch; }
.svc-card__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.svc-card__list li {
  font: 400 13px/1.5 var(--f-mono);
  color: var(--fg-2);
  padding: 6px 0; padding-left: 22px;
  position: relative;
}
.svc-card__list li::before {
  content: "→"; position: absolute; left: 0; color: var(--mint);
}

@media (max-width: 800px) { .svc-grid { grid-template-columns: 1fr; } }

/* ----- ABOUT timeline ----- */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 60px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.tl-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 56px;
  padding: 32px 0;
  position: relative;
}
.tl-row::before {
  content: ""; position: absolute; left: 56px; top: 44px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 12px var(--mint-glow);
  border: 2px solid var(--bg);
}
.tl-row__year {
  font-family: var(--f-display); font-style: italic;
  font-size: 44px; line-height: 1; color: var(--fg-3);
  font-feature-settings: "tnum"; letter-spacing: -0.02em;
}
.tl-row__copy h4 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.02em; }
.tl-row__copy p { font: 300 15px/1.55 var(--f-sans); color: var(--fg-2); margin: 0; max-width: 60ch; }

@media (max-width: 700px) {
  .tl-row { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .timeline::before { left: 12px; }
  .tl-row::before { left: 8px; top: 14px; }
}

/* ----- VALUES grid (About) ----- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value {
  padding: 40px 28px;
  border-left: 1px solid var(--line);
  position: relative;
}
.value:first-child { border-left: 0; }
.value__num { font: 500 11px/1 var(--f-mono); color: var(--mint); letter-spacing: 0.18em; margin-bottom: 24px; }
.value__name { font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1; margin: 0 0 14px; letter-spacing: -0.025em; }
.value__name em { font-style: italic; color: var(--mint); }
.value__copy { font: 300 14px/1.55 var(--f-sans); color: var(--fg-2); margin: 0; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .value { border-top: 1px solid var(--line); padding: 28px 0; border-left: 0; }
  .value:nth-child(2) { border-left: 1px solid var(--line); padding-left: 28px; }
  .value:nth-child(4) { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* ----- INDUSTRIES grid ----- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.ind {
  position: relative; padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background var(--d-slow);
  cursor: default;
}
.ind:nth-child(3n) { border-right: 0; }
.ind:hover { background: var(--bg-2); }
.ind::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--blue-glow), transparent 50%);
  opacity: 0; transition: opacity var(--d-slow);
  pointer-events: none;
}
.ind:hover::after { opacity: 0.18; }
.ind__num { font: 500 11px/1 var(--f-mono); color: var(--fg-3); letter-spacing: 0.18em; }
.ind__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 3.6vw, 56px); line-height: 1;
  letter-spacing: -0.03em; margin: 32px 0 12px;
}
.ind__name em { font-style: italic; color: var(--mint); }
.ind__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; margin-top: 14px; }
.ind__tags li {
  font: 400 11px/1 var(--f-mono); color: var(--fg-3); letter-spacing: 0.06em;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-pill);
}
.ind__copy { font: 300 14px/1.55 var(--f-sans); color: var(--fg-2); margin: 0; max-width: 38ch; }
@media (max-width: 900px) {
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind:nth-child(3n) { border-right: 1px solid var(--line); }
  .ind:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind { border-right: 0; }
}

/* ----- CAREERS ----- */
.jobs { border-top: 1px solid var(--line); }
.job {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr 60px;
  gap: 24px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--d-slow), padding var(--d-slow);
}
.job:hover { background: var(--bg-2); padding: 28px 18px; }
.job__num { font: 500 12px/1 var(--f-mono); color: var(--fg-3); letter-spacing: 0.18em; }
.job__title { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.job__title em { font-style: italic; color: var(--mint); }
.job__meta { font: 400 12px/1.4 var(--f-mono); color: var(--fg-2); letter-spacing: 0.04em; }
.job__type { font: 500 11px/1 var(--f-mono); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--fg-2); width: max-content; letter-spacing: 0.08em; text-transform: uppercase; }
.job__arr { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all var(--d-med) var(--ease); justify-self: end; }
.job:hover .job__arr { border-color: var(--mint); background: var(--mint); color: var(--bg); transform: rotate(-45deg); }
@media (max-width: 800px) {
  .job { grid-template-columns: 40px 1fr 50px; }
  .job__meta, .job__type { display: none; }
}

/* ----- CONTACT ----- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 500 11px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field textarea, .field select {
  font-family: var(--f-sans); font-size: 16px;
  background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 0; outline: none;
  transition: border-color var(--d-med);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--mint); }
.field textarea { min-height: 120px; resize: vertical; }

.contact-info h5 { font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 12px; }
.contact-info__group { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info__group:last-child { border-bottom: 1px solid var(--line); }
.contact-info p { font-family: var(--f-display); font-size: 24px; line-height: 1.3; margin: 0; letter-spacing: -0.015em; }
.contact-info p em { font-style: italic; color: var(--mint); }
.contact-info .meta { font: 400 12px/1.4 var(--f-mono); color: var(--fg-3); margin-top: 8px; letter-spacing: 0.06em; }

/* ----- CAREERS graphic feature ----- */
.careers-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1224;
  display: grid;
  grid-template-rows: auto auto;
  position: relative;
}
.careers-figure img {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 520px);
  object-fit: cover;
  object-position: center;
}
.careers-figure figcaption {
  padding: 28px 32px 32px;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 40px;
  align-items: baseline;
  border-top: 1px solid rgba(200,160,112,0.18);
  background: linear-gradient(180deg, rgba(10,18,36,0.9), #0a1224);
}
.careers-figure figcaption p {
  margin: 0;
  font: 300 17px/1.55 var(--f-sans);
  color: var(--fg);
}
.careers-figure figcaption a { color: var(--copper-2); border-bottom: 1px solid rgba(200,160,112,0.5); }
.careers-figure figcaption a:hover { color: var(--copper); border-bottom-color: var(--copper); }
@media (max-width: 700px) {
  .careers-figure figcaption { grid-template-columns: 1fr; gap: 10px; }
}

.careers-blurb {
  font: 300 clamp(20px, 2.2vw, 28px)/1.5 var(--f-sans);
  color: var(--fg-2);
  max-width: 68ch;
  margin: 0;
  letter-spacing: -0.005em;
}
.careers-blurb a { color: var(--copper-2); border-bottom: 1px solid rgba(200,160,112,0.5); }
.careers-blurb a:hover { color: var(--copper); border-bottom-color: var(--copper); }


/* ----- BIGGER, BRIGHTER COPY ----- */
.hero__lede { font-size: clamp(20px, 1.7vw, 26px); color: var(--fg); }
.svc-row__body { font-size: 17px; color: var(--fg-2); max-width: 580px; }
.feature__copy { font-size: 19px; line-height: 1.6; color: var(--fg); }
.feature__step p { font-size: 16px; color: var(--fg-2); }
.feature__step h4 { font-size: 26px; }
.cta__sub { font-size: 22px; color: var(--fg); }
.svc-card__copy { font-size: 17px; color: var(--fg-2); }
.svc-card__list li { font-size: 15px; }
.value__copy { font-size: 16px; color: var(--fg-2); }
.value__name { font-size: 38px; }
.ind__copy { font-size: 16px; color: var(--fg-2); }
.tl-row__copy p { font-size: 17px; color: var(--fg-2); }
.tl-row__copy h4 { font-size: 30px; }
.page-hero__lede { font-size: clamp(20px, 1.7vw, 24px); color: var(--fg); }
.foot__col a { font-size: 15px; color: var(--fg-2); }
.foot__brandblock p { font-size: 16px; color: var(--fg-2); }
.contact-info p { font-size: 28px; }
.careers-wordmark figcaption p { font-size: 18px; color: var(--fg); }
.careers-blurb { color: var(--fg); }

/* ----- LIGHT SECTION VARIANT ----- */
/* Apply .section--light to any <section class="section"> to flip its
   ground from black paper to bone white. All var()-driven elements
   automatically retune their colours. */
.section--light {
  --fg: var(--fg-on-light);
  --fg-2: var(--fg-2-on-light);
  --fg-3: var(--fg-3-on-light);
  --line: var(--line-on-light);
  --line-2: var(--line-2-on-light);
  --bg: var(--bg-light);
  --mint: var(--blue-deep);
  --mint-glow: rgba(11,79,191,0.25);
  --blue-glow: rgba(11,79,191,0.18);
  background: var(--bg-light);
  color: var(--fg);
}
.section--light .feature__visual {
  background: linear-gradient(135deg, #0A0F1E, #11151F);
  border-color: rgba(10,15,30,0.12);
  color: #fff;
}
.section--light .feature__visual .corner-tag { color: rgba(255,255,255,0.6); }
.section--light .feature__visual .glyph { color: #fff; }
.section--light .svc-card { background: #fff; }
.section--light .svc-card:hover { background: #FAFAF7; }
.section--light .stat__num .unit { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--light .hero__title em,
.section--light .section-head__title em,
.section--light .feature__title em,
.section--light .svc-card__title em,
.section--light .value__name em,
.section--light .ind__name em,
.section--light .job__title em { color: var(--blue-deep); background: none; -webkit-text-fill-color: var(--blue-deep); }
.section--light .btn--ghost { color: var(--fg); border-color: rgba(10,15,30,0.25); background: rgba(10,15,30,0.02); }
.section--light .btn--ghost:hover { border-color: var(--blue-deep); }
.section--light .stat { border-top-color: rgba(10,15,30,0.2); }
.section--light .stat__label { color: var(--fg-2); }
.section--light .eyebrow { color: var(--fg-2); }
.section--light .eyebrow .pip { background: var(--blue-deep); box-shadow: 0 0 12px rgba(11,79,191,0.4); }


/* ----- LEGACY YEARS CARD ----- */
/* Replaces the old rotating cf-orbit. Simple, relevant: a counting-up
   number of years + a quiet 1961 → 2025 timeline. */
.years-card {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center; justify-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 64px);
  text-align: center;
  z-index: 3;
}
.years-card__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(180px, 26vw, 320px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--fg);
  display: inline-flex;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 80px rgba(77,139,255,0.35);
}
.years-card__num-unit {
  font-size: 0.32em;
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: 0.05em;
  margin-top: 0.18em;
}
.years-card__label {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 24px;
}
.years-card__timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(420px, 80%);
  margin-top: 32px;
}
.years-card__year {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.14em;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.years-card__bar {
  position: relative;
  height: 1px;
  background: var(--line-2);
}
.years-card__bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  transition: width 2400ms var(--ease);
}
[data-reveal].is-revealed .years-card__bar-fill { width: 100%; }
.years-card__bar-dot {
  position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; margin-right: -4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint-glow);
  opacity: 0;
  transition: opacity 600ms var(--ease) 2200ms;
}
[data-reveal].is-revealed .years-card__bar-dot { opacity: 1; animation: pulse 2.4s var(--ease) 2.8s infinite; }

/* Suppress the legacy spin animation rule — the .ring-svg block is gone. */
.feature__visual .ring-svg svg { animation: none; }

/* ----- AI / TRENDS CALLOUT ----- */
.ai-callout {
  border: 1px solid rgba(200,160,112,0.32);
  background:
    linear-gradient(180deg, rgba(200,160,112,0.06), rgba(200,160,112,0.02)),
    var(--bg-2, #0B0E16);
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 56px);
}
.section--light .ai-callout {
  background:
    linear-gradient(180deg, rgba(200,160,112,0.08), rgba(200,160,112,0.02)),
    #fff;
}
.ai-callout__eye {
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}
.ai-callout__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 32px;
  max-width: 22ch;
}
.ai-callout__title em { font-style: italic; color: var(--copper); }
.ai-callout__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 40px;
}
.ai-point {
  padding-left: 18px;
  border-left: 2px solid rgba(200,160,112,0.5);
}
.ai-point h4 {
  font: 600 12px/1.3 var(--f-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 8px;
}
.ai-point p {
  margin: 0;
  font: 300 15px/1.65 var(--f-sans);
  color: var(--fg);
}

/* ----- TECH / TAG PILLS ----- */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.tech-pill {
  font: 500 13px/1 var(--f-mono);
  letter-spacing: 0.05em;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--fg);
  background: rgba(255,255,255,0.02);
}
.tech-pill--hi {
  border-color: rgba(127,176,255,0.5);
  color: var(--blue-2);
  background: rgba(77,139,255,0.06);
}
.section--light .tech-pill { background: rgba(10,15,30,0.02); }
.section--light .tech-pill--hi {
  border-color: rgba(11,79,191,0.4);
  color: var(--blue-deep);
  background: rgba(11,79,191,0.06);
}

/* ----- SUB-SERVICE LIST (detail pages) ----- */
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.detail-list__item {
  background: var(--bg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background var(--d-med);
}
.section--light .detail-list__item { background: #fff; }
.section--light .detail-list__item:hover { background: #f6f4ee; }
.detail-list__item:hover { background: var(--bg-2); }
.detail-list__num {
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.detail-list__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.detail-list__title em { font-style: italic; color: var(--mint); }
.detail-list__body {
  font: 300 15px/1.65 var(--f-sans);
  color: var(--fg);
  margin: 0;
}
.detail-list__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.detail-list__tags span {
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
}

/* ----- SERVICES OVERVIEW CARDS — bigger CTA ----- */
/* Make every card a flex column so the button sits at the bottom,
   regardless of copy length. */
.svc-card { display: flex; flex-direction: column; }
.svc-card__copy { flex: 1 0 auto; }
.svc-card__cta {
  align-self: flex-start;
  margin-top: 24px;
  padding: 18px 26px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.svc-card__cta:hover { transform: translateY(-2px); }


/* ----- ABOUT — TEAM / PARTNERS ----- */
.team-blurb {
  font: 300 clamp(18px, 1.6vw, 22px)/1.55 var(--f-sans);
  color: var(--fg);
  max-width: 70ch;
  margin: 0 0 56px;
  letter-spacing: -0.005em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Card layout: compact circular portrait at top-left next to the name
   block; bio flows below at full width. No more thin vertical column. */
.team-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: border-color var(--d-slow), transform var(--d-slow), background var(--d-slow);
}
.section--light .team-card { background: #fff; }
.team-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0; transition: opacity var(--d-slow);
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.team-card:hover { border-color: rgba(200,160,112,0.45); transform: translateY(-2px); }
.team-card:hover::before { opacity: 1; }

.team-card__head {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.team-card__photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: #0a1224;
  border: 1px solid rgba(200,160,112,0.4);
  box-shadow: 0 0 0 5px rgba(200,160,112,0.07);
  flex: 0 0 auto;
}
.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.team-card__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.team-card__name em { font-style: italic; color: var(--copper); }
.team-card__creds {
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 2px;
}
.team-card__role {
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0;
}
.team-card__rule {
  border: 0;
  border-top: 1px solid rgba(200,160,112,0.22);
  margin: 0 0 18px;
}
.team-card__bio {
  font: 300 15px/1.65 var(--f-sans);
  color: var(--fg);
  margin: 0 0 18px;
}
.team-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-card__tags span {
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(200,160,112,0.32);
}

@media (max-width: 480px) {
  .team-card { padding: 24px; }
  .team-card__head { grid-template-columns: 96px 1fr; gap: 18px; }
  .team-card__photo { width: 96px; height: 96px; }
}


/* ----- CAREERS — CINEMATIC HERO ----- */
/* Full-bleed dark image with a soft brand gradient overlaying the
   headline. Inspired by the "Find your place" reference: dark, quiet,
   metaphorical seat-rows receding into the distance. */
.page-hero--cinema {
  padding: clamp(180px, 22vw, 280px) 0 clamp(120px, 14vw, 180px);
  border-bottom: 1px solid rgba(200,160,112,0.18);
  overflow: hidden;
  position: relative;
}
.page-hero--cinema .page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/careers-hero.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
  /* Light photographic grade — keep the seats vivid and well-lit. */
  filter: saturate(0.95) contrast(1.05) brightness(0.92);
}
.page-hero--cinema .page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  /* Soft halo only in the centre so the chairs stay vibrant and visible
     out to the edges. Just enough to anchor the headline. */
  background:
    radial-gradient(ellipse 55% 40% at 50% 38%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(13,15,25,0.45) 0%, rgba(13,15,25,0) 25%, rgba(13,15,25,0) 70%, rgba(13,15,25,0.55) 100%);
}
.page-hero--cinema .container { position: relative; z-index: 2; }
/* Strong gradient text for the cinematic headline */
.page-hero__title--grad {
  text-align: center;
  margin-left: auto; margin-right: auto;
  max-width: 16ch;
  font-size: clamp(56px, 10vw, 160px);
  line-height: 1.02;
  padding-bottom: 0.12em;
}
.page-hero__title--grad,
.page-hero__title--grad em {
  font-style: normal;
  background: linear-gradient(180deg, #B6FFE3 0%, #7FB0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-hero__title--grad em { font-style: italic; }
.page-hero--cinema .page-hero__crumb { text-align: center; color: rgba(255,255,255,0.7); }
.page-hero--cinema .page-hero__lede {
  margin-left: auto; margin-right: auto;
  text-align: center;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
}

/* .values--three — used when only 3 value cards (e.g. careers) */
.values--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .values--three { grid-template-columns: 1fr; }
  .values--three .value { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
}


/* ----- BODY SECTION BACKDROP (dark sections only) ----- */
/* Subtle but visible Art-Deco motif behind every dark .section panel:
   corner copper ray fans + twinkling sparkles + a faint dot grid.
   Light sections (.section--light) and the CTA banner keep their own look. */
.section:not(.section--light) {
  position: relative;
  isolation: isolate; /* contain the pseudo-element to this section */
}
.section:not(.section--light)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/section-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
/* Promote direct children so they paint above the backdrop */
.section:not(.section--light) > * {
  position: relative;
  z-index: 1;
}
