/* ============================================================
   BRIDGER GROUP &mdash; Editorial Design System
   Serif display, quiet surfaces, and restrained contrast.
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/Fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/Fonts/Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/Fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-main:     #F8F7F5;
  --bg-alt:      #F1EFEA;
  --bg-dark:     #0F172A;
  --text-primary:#111111;
  --text-secondary:#5A5A5A;
  --accent:      #8f2628;
  --nav-bg:      rgba(248,247,245,0.94);
  --nav-text:    #111111;
  --bg-light:    var(--bg-main);
  --bg-light-2:  var(--bg-alt);
  --text-dark:   var(--text-primary);
  --text-muted:  var(--text-secondary);
  --heading-color: var(--text-dark);
  --body-copy:   var(--text-dark);

  --white:       #fffdf9;
  --ivory:       var(--bg-light);
  --ivory-dark:  var(--bg-light-2);
  --surface-contrast: #f4f1ea;
  --rule:        rgba(17,17,17,0.1);
  --rule-accent: rgba(143,38,40,0.22);
  --shadow-soft: 0 10px 24px rgba(15,23,42,0.06);
  --shadow-lift: 0 14px 32px rgba(15,23,42,0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --fs-display-xl: clamp(3.9rem, 7.4vw, 7.8rem);
  --fs-display-lg: clamp(2.65rem, 4.7vw, 4.55rem);
  --fs-display-md: clamp(1.7rem, 2.7vw, 2.5rem);
  --fs-display-sm: clamp(1.35rem, 2.2vw, 2rem);
  --fs-title-lg: clamp(1.4rem, 1.8vw, 1.85rem);
  --fs-title-md: clamp(1.16rem, 1.55vw, 1.56rem);
  --fs-title-sm: clamp(1.05rem, 1.65vw, 1.32rem);
  --fs-body-lg: 1rem;
  --fs-body-md: 0.96rem;
  --fs-body-sm: 0.9rem;
  --fs-body-xs: 0.85rem;
  --fs-label: 0.72rem;
  --fs-label-sm: 0.78rem;
  --accent-label-weight: 600;
  --accent-label-tracking: 0.2em;
  --accent-label-line: 1.2;

  --max-w:  90vw;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-v: clamp(3rem, 6vw, 5.5rem);
  --section-v-hero: clamp(4.5rem, 8vw, 7rem);
  --measure-copy: 62ch;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg-light);
  color: var(--body-copy);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.82;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-display);
  font-weight: 400;
}
img { display: block; max-width: 100%; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease-out;
}
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section {
  padding-block: var(--section-v);
  position: relative;
}
.section--warm {
  background: var(--bg-light-2);
}
.section--white {
  background: var(--bg-light);
}
.section--white + .section--white,
.section--white + .section--warm,
.section--warm + .section--white,
.section--warm + .section--warm {
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.75rem);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

/* ── Typography ────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--heading-color);
}
.display-lg {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--heading-color);
}
.display-md {
  font-family: var(--font-display);
  font-size: var(--fs-display-md);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}
.display-sm {
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  font-weight: 400;
  line-height: 1.12;
  color: var(--heading-color);
}
.origin__headline {
  max-width: none;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.1;
  white-space: nowrap;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--accent-label-weight);
  letter-spacing: var(--accent-label-tracking);
  text-transform: uppercase;
  color: var(--accent);
  line-height: var(--accent-label-line);
  margin: 0;
}
.contact-info__label,
.service-flow__label,
.service-detail__label,
#services .focus-panel__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--accent-label-weight);
  letter-spacing: var(--accent-label-tracking);
  text-transform: uppercase;
  color: var(--accent);
  line-height: var(--accent-label-line);
}
.body-lg {
  font-size: var(--fs-body-lg);
  line-height: 1.82;
  max-width: var(--measure-copy);
}
.body-sm { font-size: var(--fs-body-sm); }
.text-muted { color: var(--text-muted); }
.italic { font-style: italic; }

/* ── Rules / Dividers ──────────────────────────────────────── */
.rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  border: none;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: calc(1.2rem - 5px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.24s var(--ease-out), border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav:not(.scrolled) {
  backdrop-filter: none;
  box-shadow: none;
}
.nav.scrolled {
  background: rgba(17,17,17,0.62);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.nav.scrolled.nav--dark {
  background: rgba(17,17,17,0.62);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  line-height: 1;
}
.nav__logo-image {
  width: clamp(2.35rem, 3.4vw, 3.15rem);
  height: auto;
  max-height: clamp(1.65rem, 2.2vw, 1.95rem);
  object-fit: contain;
  flex-shrink: 0;
}
.nav__logo-mark {
  min-width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--nav-text);
}
.nav__logo-mark--light {
  color: var(--nav-text);
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,0.9);
}
.nav__logo-name--light { color: rgba(255,255,255,0.9); }

.nav__links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 0;
  max-width: 42rem;
  margin: 0 auto;
}
.nav__links > li {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}
.nav__link {
  display: inline-block;
  text-align: center;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.55;
  transition: transform 0.16s ease-out, opacity 0.16s ease-out;
}
.nav__link:hover { color: #ffffff; }
.nav__link:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}
.nav__link--light { color: rgba(255,255,255,0.86); }
.nav__link--light:hover { color: #ffffff; }
.nav__link.active { color: #ffffff; }
.nav__link.active::after {
  transform: scaleX(0);
  opacity: 0;
}
.nav__link--light.active { color: #ffffff; }
.nav.scrolled .nav__link { color: rgba(255,255,255,0.9); }
.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active { color: #ffffff; }
.nav.scrolled .nav__logo-name { color: rgba(255,255,255,0.92); }
.nav.scrolled .nav__logo-mark {
  color: rgba(255,255,255,0.92);
  border-color: rgba(247,246,242,0.36);
}
.nav.scrolled .nav__cta {
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.nav.scrolled .nav__cta:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: #ffffff;
}
.nav.scrolled.nav--dark .nav__link { color: rgba(255,255,255,0.9); }
.nav.scrolled.nav--dark .nav__link:hover,
.nav.scrolled.nav--dark .nav__link.active { color: #ffffff; }

.nav__cta {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: calc(0.72rem - 5px) 1.2rem;
  transition: background 0.16s ease-out, color 0.16s ease-out, border-color 0.16s ease-out, transform 0.16s ease-out;
  border-radius: 0;
  background: transparent;
}
.nav__cta:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
}
.nav__cta--light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.nav__cta--light:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.9);
  transition: all 0.3s;
}
.nav__hamburger--light span { background: rgba(255,255,255,0.9); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(18px);
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  overflow-y: auto;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.nav__mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: block;
  margin-bottom: 2rem;
}
.nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-link.active { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(1rem, 2vw, 2rem);
  padding-top: var(--section-v-hero);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero,
.page-hero { background: var(--bg-light); }

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after { content: none; }

.hero__content { position: relative; z-index: 2; transform: none; }
.page-hero > .container { position: relative; z-index: 2; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  transition: background 0.16s ease-out, color 0.16s ease-out, border-color 0.16s ease-out, transform 0.16s ease-out, box-shadow 0.16s ease-out;
  white-space: nowrap;
  position: relative;
  border-radius: 0;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 18px rgba(143,38,40,0.14);
}
.btn-primary:hover {
  background: #7f2123;
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(143,38,40,0.16);
}
.btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border: 1.5px solid rgba(15,23,42,0.35);
}
.btn-outline:hover {
  border-color: var(--bg-dark);
  background: rgba(15,23,42,0.04);
  transform: translateY(-1px);
}
.btn-outline--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.btn-outline--light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.14);
  color: var(--bg-dark);
}
.btn-text {
  padding: 0;
  color: var(--bg-dark);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn-text::after {
  content: '→';
  transition: transform 0.25s;
}
.btn-text:hover::after { transform: translateX(4px); }

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.section-header--centered { text-align: left; }
.section-header__eyebrow { margin-bottom: 1.2rem; }
.section-header__title { margin-bottom: 1.2rem; }
.section-header__body {
  max-width: 620px;
  color: var(--text-muted);
  line-height: 1.9;
}
.section-header__body--single-line {
  max-width: none;
  white-space: nowrap;
}
.section-header--centered .section-header__body {
  margin-inline: 0;
}
@media (max-width: 1100px) {
  .section-header__body--single-line {
    white-space: normal;
  }
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--rule);
  background: rgba(255,253,249,0.74);
  transition: border-color 0.16s ease-out, background 0.16s ease-out, transform 0.16s ease-out, box-shadow 0.16s ease-out;
  box-shadow: var(--shadow-soft);
}
.card:hover {
  border-color: rgba(15,23,42,0.16);
  background: rgba(255,253,249,0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.card--flat {
  border: none;
  border-top: 1px solid var(--rule);
  padding-inline: 0;
}

.card__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.5rem;
  color: currentColor;
}
.card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 1rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-title-lg);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}
.card__body { font-size: var(--fs-body-md); color: var(--body-copy); line-height: 1.78; }

/* ── Stat Block ─────────────────────────────────────────────── */
.stat-block {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
.stat-block__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}
.stat-block__label {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-inline {
  padding: 1.75rem 1.25rem 1.6rem 0;
  border-right: 1px solid var(--rule);
}
.stat-inline:last-child {
  border-right: none;
}
.stat-inline__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--nav-text);
  margin-bottom: 0.75rem;
}
.stat-inline__label {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,243,235,0.62);
  line-height: 1.7;
  max-width: 18ch;
}

/* ── Process Steps ──────────────────────────────────────────── */
.process-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.process-step__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(148,2,5,0.78);
  padding-top: 0.25rem;
}
.process-step__title {
  font-family: var(--font-display);
  font-size: var(--fs-title-md);
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--heading-color);
}
.process-step__body { font-size: var(--fs-body-md); color: var(--body-copy); line-height: 1.8; }

/* ── Sector Tags ────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid var(--rule-accent);
  color: var(--accent);
  transition: all 0.2s;
}
.tag:hover {
  background: rgba(169,74,73,0.06);
  color: var(--accent);
  border-color: rgba(169,74,73,0.24);
}

.cta-card {
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 4.5vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: 0;
  background: rgba(255,253,249,0.78);
  box-shadow: var(--shadow-soft);
  text-align: left;
  color: var(--body-copy);
}
.cta-card .eyebrow,
.cta-card .text-muted,
.cta-card .display-lg,
.cta-card .display-md {
  color: var(--heading-color);
}
.cta-card .btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cta-card .btn-primary:hover {
  background: #7f2123;
  color: var(--white);
  border-color: var(--accent);
}
.cta-card .btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border-color: rgba(15,23,42,0.35);
}
.cta-card .btn-outline:hover {
  background: rgba(15,23,42,0.04);
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.news-status {
  margin: 0 0 1rem;
  font-size: var(--fs-body-sm);
  color: rgba(111,106,96,0.82);
  min-height: 0;
}
.news-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.news-controls__field {
  display: grid;
  gap: 0.45rem;
}
.news-controls__label {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-controls__input,
.news-controls__select {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  color: var(--body-copy);
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.news-controls__input:focus,
.news-controls__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,31,27,0.08);
}
.news-controls__select {
  appearance: none;
  -webkit-appearance: none;
  background:
    var(--white),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6a60' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center;
  padding-right: 2.8rem;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  align-items: stretch;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  min-height: 310px;
  height: 100%;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  animation: newsCardIn 0.7s var(--ease-out) both;
}
.news-card:nth-child(2) { animation-delay: 0.06s; }
.news-card:nth-child(3) { animation-delay: 0.12s; }
.news-card:nth-child(4) { animation-delay: 0.18s; }
.news-card:nth-child(5) { animation-delay: 0.24s; }
.news-card:nth-child(6) { animation-delay: 0.3s; }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(28,28,26,0.08);
  border-color: var(--rule-accent);
}
.news-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  width: 100%;
  text-align: left;
  padding: 0 0 1.15rem;
  border: none;
  background: transparent;
  height: 100%;
}
.news-card__image-wrap {
  margin: 0;
  border-radius: 1.1rem 1.1rem 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 8.8;
  background: rgba(255,255,255,0.55);
}
.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: none;
}
.news-card:hover .news-card__image {
  transform: none;
}
.news-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-inline: 1.15rem;
}
.news-card__date {
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
}
.news-card .card__body {
  flex: 1 1 auto;
}
.news-card__excerpt {
  margin: 0;
  padding-inline: 1.15rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.7rem;
}
.news-card .card__title {
  margin: 0;
  padding-inline: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9rem;
}
.news-card .btn-text {
  margin-top: auto;
  padding-inline: 1.15rem;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}
.news-card:hover .btn-text {
  color: var(--accent);
  transform: translateX(6px);
}
/* ── Asymmetric first 3 cards ───────────────────────────────── */
.news-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.news-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.news-card:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}
.news-card:nth-child(1) .news-card__image-wrap {
  aspect-ratio: 16 / 9.6;
}
.news-card:nth-child(1) .card__title {
  font-size: var(--fs-title-sm);
  -webkit-line-clamp: 2;
  min-height: 0;
}
.news-card:nth-child(1) .news-card__excerpt {
  -webkit-line-clamp: 4;
  min-height: 0;
}
.news-card:nth-child(2) .news-card__image-wrap,
.news-card:nth-child(3) .news-card__image-wrap {
  aspect-ratio: 16 / 9;
}
.news-card:nth-child(2) .card__title,
.news-card:nth-child(3) .card__title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 0;
}
.news-card:nth-child(2) .news-card__excerpt,
.news-card:nth-child(3) .news-card__excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 0;
}

.news-card--placeholder {
  grid-column: 1 / -1;
  min-height: auto;
  animation: none;
}
.news-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.news-load-more__button {
  min-width: 190px;
  justify-content: center;
  text-align: center;
}
.news-detail {
  margin-bottom: 1.5rem;
}
.news-detail__card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.news-detail__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.news-detail__back::before {
  content: '←';
  transition: transform 0.25s;
}
.news-detail__back::after {
  content: '';
}
.news-detail__back:hover::before {
  transform: translateX(-4px);
}
.news-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
.news-detail__main {
  display: grid;
  gap: 1.25rem;
}
.news-detail__meta-row {
  margin-top: -0.25rem;
  padding-inline: 0;
}
.news-detail__media {
  min-width: 0;
}
.news-detail__image-wrap {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.55);
}
.news-detail__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.news-detail__title {
  margin-bottom: 0;
}
.news-detail__lead {
  margin: 0;
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: rgba(111,106,96,0.9);
}
.news-detail__content {
  display: grid;
  gap: 1rem;
}
.news-detail__body {
  color: var(--text-muted);
  line-height: 1.9;
}

/* Encoding-safe icon overrides */
.btn-text::after {
  content: '\2192';
}
.news-detail__back::before {
  content: '\2190';
}
.news-detail__back::after {
  content: none;
}
@keyframes newsCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Contact Form ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(111,106,96,0.14);
  padding: 0.95rem 1.15rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  font-weight: 300;
  color: var(--body-copy);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 18px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(111,106,96,0.22);
  box-shadow: 0 0 0 4px rgba(111,106,96,0.08);
  background: var(--white);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(111,106,96,0.48); }
.form-textarea { resize: vertical; min-height: 160px; }
.form-select {
  background:
    var(--white),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B66' stroke-width='1' fill='none'/%3E%3C/svg%3E") no-repeat right 1.15rem center;
  padding-right: 3rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }

.form-message {
  display: none;
  padding: 1rem 1.5rem;
  font-size: var(--fs-body-xs);
  margin-top: 1.5rem;
  border-radius: 16px;
}
.form-message--success {
  display: block;
  border: 1px solid rgba(111,106,96,0.14);
  background: var(--white);
  color: var(--body-copy);
}
.form-message--error {
  display: block;
  border: 1px solid rgba(148,2,5,0.2);
  background: rgba(148,2,5,0.06);
  color: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding-block: clamp(3rem, 5vw, 4.2rem);
  border-top: 1px solid rgba(38,39,34,0.16);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(38,39,34,0.16);
  margin-bottom: 1.15rem;
  align-items: start;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 0.55rem;
}
.footer__brand-logo {
  width: min(100%, 5.5rem);
  height: auto;
  display: block;
  margin-bottom: 0.85rem;
}
.footer__brand-desc {
  font-size: var(--fs-body-sm);
  color: rgba(44,48,40,0.72);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.1rem;
}
.footer__nav-group,
.footer__services-group,
.footer__contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  justify-content: flex-start;
  align-self: start;
  padding-top: 0.15rem;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(17,17,17,0.78);
  margin: 0 0 0.7rem;
  line-height: 1.2;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: var(--fs-body-sm);
  color: rgba(44,48,40,0.78);
  line-height: 1.5;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}
.footer__link:hover {
  color: var(--accent);
  transform: translateX(3px);
}
.footer__meta {
  font-size: var(--fs-label);
  color: rgba(44,48,40,0.56);
  line-height: 1.45;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(38,39,34,0.2);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(44,48,40,0.78);
  transition: transform 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__social-link:hover {
  transform: translateY(-2px);
  background: rgba(38,39,34,0.06);
  border-color: rgba(38,39,34,0.36);
  color: var(--nav-text);
}
.footer__social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-label);
  color: rgba(44,48,40,0.52);
  line-height: 1.5;
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding-top: calc(3.2rem + 36px);
  padding-bottom: 1.25rem;
  background: var(--bg-light);
  color: var(--body-copy);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__crumb {
  margin-bottom: 0;
  font-size: var(--fs-label);
  letter-spacing: 0.01em;
  color: var(--body-copy);
}
.page-hero__crumb a {
  color: inherit;
  transition: color 0.2s ease;
}
.page-hero__crumb a:hover,
.page-hero__crumb a:focus-visible {
  color: var(--accent);
}
.page-hero--visual {
  min-height: clamp(20rem, 42vw, 28rem);
  padding-top: clamp(7.2rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 4.25rem);
  color: rgba(255,255,255,0.94);
  background: #181715;
}
.page-hero--visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.page-hero--visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.64) 0%, rgba(10,10,10,0.4) 38%, rgba(10,10,10,0.54) 100%),
    linear-gradient(90deg, rgba(15,15,15,0.42) 0%, rgba(15,15,15,0.12) 50%, rgba(15,15,15,0.36) 100%);
}
.page-hero--visual .page-hero__crumb,
.page-hero--visual .page-hero__crumb a {
  color: rgba(255,255,255,0.86);
}
.page-hero--visual .page-hero__title,
.page-hero--visual .page-hero__body {
  position: relative;
  z-index: 2;
}
.page-hero__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  color: inherit;
}
.page-hero__body {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: var(--fs-body-md);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}
.page-hero--contact::before {
  background-image: url('../assets/xuan-nguyen-v6V-hfxjboI-unsplash.jpg');
}
.page-hero--news::before {
  background-image: url('../assets/suzan-rulof-xCeJbFvVniA-unsplash.jpg');
}
.page-hero--process::before {
  background-image: url('../assets/Bridge.JPG');
}
.page-hero--services::before {
  background-image: url('../assets/focus-hero-bridge-sketch.png');
}
.page-hero--services {
  min-height: clamp(25rem, 50vw, 34rem);
  padding-bottom: clamp(4rem, 8vw, 5.75rem);
}
.page-hero--story::before {
  background-image: url('../assets/our-story-hero-hallway.png');
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.page-hero--story::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 24%),
    linear-gradient(to bottom, rgba(248,247,245,0) 72%, rgba(248,247,245,0.1) 84%, rgba(248,247,245,0.28) 92%, rgba(248,247,245,0.52) 97%, rgba(248,247,245,0.72) 100%),
    linear-gradient(to top, rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.04) 28%),
    radial-gradient(circle at 50% 42%, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.16) 66%, rgba(0,0,0,0.34) 100%);
}

.page-hero--story {
  min-height: clamp(30rem, 56vw, 42rem);
  padding-top: clamp(7.5rem, 11vw, 9rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.hero--cinematic-page {
  min-height: clamp(32rem, 60vw, 48rem);
  background-position: center;
}

.hero--cinematic-page .hero-cinematic__overlay {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.06) 24%),
    linear-gradient(to bottom, rgba(248,247,245,0) 74%, rgba(248,247,245,0.12) 86%, rgba(248,247,245,0.34) 94%, rgba(248,247,245,0.62) 100%),
    linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.06) 30%),
    radial-gradient(circle at 50% 42%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 66%, rgba(0,0,0,0.4) 100%);
}

.hero-cinematic__intro--page {
  padding-top: clamp(5.2rem, 9vw, 7rem);
  justify-content: center;
  min-height: 100%;
}

.hero-cinematic__crumb {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
  text-align: center;
}

.hero-cinematic__crumb a {
  color: inherit;
  transition: color 0.18s ease-out;
}

.hero-cinematic__crumb a:hover,
.hero-cinematic__crumb a:focus-visible {
  color: #fff;
}

.hero-cinematic__brand-title--page {
  font-size: clamp(3rem, 10vw, 9rem);
  text-align: center;
  white-space: normal;
  text-wrap: balance;
}

.hero-cinematic__tagline--page {
  max-width: min(90vw, 42rem);
  white-space: normal;
  font-size: clamp(0.98rem, 1.7vw, 1.3rem);
  line-height: 1.7;
  letter-spacing: 0.12em;
  padding-inline: 1rem;
}

.hero-cinematic__tagline--phrase {
  max-width: min(90vw, 20rem);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.hero--cinematic-services {
  background-image: url('../assets/focus-hero-bridge-sketch.png');
}

.hero--cinematic-story {
  background-image: url('../assets/our-story-hero-hallway.png');
  background-position: center center;
}

.hero--cinematic-contact {
  background-image: url('../assets/xuan-nguyen-v6V-hfxjboI-unsplash.jpg');
}

.hero--cinematic-process {
  background-image: url('../assets/Bridge.JPG');
}

.hero--cinematic-news {
  background-image: url('../assets/suzan-rulof-xCeJbFvVniA-unsplash.jpg');
}

/* ── Animations ─────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}
.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0s; }
[data-reveal-delay="2"] { transition-delay: 0s; }
[data-reveal-delay="3"] { transition-delay: 0s; }
[data-reveal-delay="4"] { transition-delay: 0s; }
[data-reveal-delay="5"] { transition-delay: 0s; }

/* ── Whatsapp float ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(31,31,27,0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(31,31,27,0.24);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ── Contact page layout ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.contact-section {
  background: var(--ivory);
}
.contact-panel {
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: clamp(2rem, 3vw, 3rem);
  background: rgba(255,255,255,0.24);
  box-shadow: none;
}
.contact-panel--info {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.6rem, 4vw, 3.4rem);
  padding-right: clamp(2.6rem, 4vw, 3.6rem);
  padding-bottom: clamp(2.35rem, 3.4vw, 3rem);
  min-height: 560px;
}
.contact-panel--form {
  box-shadow: none;
}
.contact-panel--info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
.contact-info { padding-top: 2.2rem; }
.contact-info__item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.65rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(111,106,96,0.1);
  min-width: 0;
}
.contact-info__item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-info__item > div {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0.4rem;
}
.contact-info__icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info__label {
  margin-bottom: 0.25rem;
}
.contact-info__value {
  font-size: var(--fs-body-md);
  color: var(--body-copy);
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-info__value[href] {
  transition: color 0.2s;
}
.contact-info__value[href]:hover {
  color: var(--accent);
}
.contact-privacy-note {
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.65rem;
  border-top: 1px solid rgba(111,106,96,0.1);
  padding-top: 1.5rem;
  padding-right: 0.4rem;
}
.contact-cta-section {
  background: var(--nav-bg);
}
.contact-cta-card {
  box-shadow: 0 18px 42px rgba(31,31,27,0.14);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .team-card {
    flex-basis: calc((100% - clamp(1rem, 2.5vw, 2rem)) / 2);
    height: 22rem;
  }
  .team-card__link {
    min-height: 20rem;
  }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .news-controls { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr 1fr; }
  .news-detail__layout { grid-template-columns: 1fr; }
  .news-detail__media { order: -1; }
  .news-detail__image-wrap { aspect-ratio: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .team-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .team-card {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
  }
  .team-card__link {
    min-height: auto;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .news-controls { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  #services .services-layout__left .nav__cta { display: inline-flex; }
  .nav__hamburger { display: flex; }
  .nav__logo { gap: 0.3rem; }
  .nav__logo-image {
    width: 2.6rem;
    max-height: 1.75rem;
  }
  .nav__logo-name { font-size: 1.2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel { padding: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* Homepage and inner-page refinement */
.credibility-grid .card,
.process-grid-simple .card,
.service-grid .card {
  height: 100%;
}
#services .service-grid .card {
  border-radius: 0;
}

.service-card {
  display: grid;
  grid-template-rows: auto minmax(3.3em, auto) minmax(3.2em, auto) 1fr;
  align-items: start;
  gap: 0.9rem;
}
.service-card .eyebrow,
.service-card .card__title,
.service-card .service-card__definition,
.service-card .card__body {
  margin: 0;
}
.service-card .card__title {
  line-height: 1.22;
  color: var(--accent);
}
.service-card__index {
  font-size: var(--fs-label);
  color: var(--text-dark);
}
.service-card .eyebrow,
.service-card--featured .eyebrow,
.service-card--featured .card__title {
  color: var(--accent);
}
.service-card__definition,
.service-detail__definition {
  font-family: var(--font-display);
  color: var(--body-copy);
  font-size: var(--fs-title-lg);
  line-height: 1.45;
  color: var(--text-muted);
}
.service-card .card__body {
  align-self: stretch;
}
.service-card__meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-body-sm);
  line-height: 1.75;
  color: var(--bg-dark);
}
.service-flow {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  max-width: 880px;
}
.service-flow--page {
  margin-top: 2rem;
}
.service-flow__label,
.service-detail__label {
  display: block;
  margin-bottom: 0.75rem;
}
.service-flow p {
  font-size: var(--fs-body-md);
  line-height: 1.85;
  color: var(--body-copy);
}
.section-link-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.service-detail__intro h2 {
  margin: 1rem 0 1.25rem;
}
.service-detail__body {
  display: grid;
  gap: 1.75rem;
}
.service-detail__body p {
  color: var(--body-copy);
  line-height: 1.85;
}

.process-list-simple {
  max-width: 920px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
}

.stats-inline--hero {
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  width: 100%;
  text-align: center;
  border-top: none;
  border-bottom: none;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}
.stats-inline--hero .stat-inline__num,
.stats-inline--hero .stat-inline__label {
  color: var(--body-copy);
}
.stats-inline--hero .stat-inline {
  padding: 0;
  border-right: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
.stats-inline--hero .stat-inline__label {
  color: var(--text-muted);
  line-height: 1.35;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 24ch;
  min-height: calc(1.35em * 2);
  white-space: normal;
  overflow: visible;
}
@media (max-width: 768px) {
  .hero__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions {
    margin-left: 0;
    max-width: none;
  }
  .stats-inline--hero {
    margin-bottom: 2.5rem;
    grid-template-columns: 1fr;
    width: 100%;
    justify-items: flex-start;
    text-align: left;
  }
  .stats-inline--hero .stat-inline:nth-child(-n+2) {
    border-bottom: none;
  }
  .stats-inline--hero .stat-inline {
    align-items: flex-start;
  }
  .stats-inline--hero .stat-inline__label {
    text-align: left;
  }
}

.section-grid-center {
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow--section {
  margin-bottom: 1.1rem;
}

.eyebrow--section-lg {
  margin-bottom: 1.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-copy {
  max-width: 48ch;
}

.section-copy + .section-copy {
  margin-top: 1.25rem;
}

.section-copy--wide {
  max-width: 52ch;
}

.section-copy--narrow {
  max-width: 46ch;
}

.section-copy--spaced {
  margin-bottom: 1.25rem;
}

.cta-section {
  padding-block: clamp(3.75rem, 6.5vw, 5.75rem);
}

.cta-title {
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

.cta-body {
  margin-bottom: 3rem;
  max-width: 58ch;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Nav: more open spacing, refined CTA */
.nav__links { gap: 3rem; }
.nav__cta {
  padding: 0.6rem 1.6rem;
  letter-spacing: 0.2em;
  font-size: var(--fs-label);
}

/* ── Homepage section refinements ───────────────────────────── */

/* Our Focus: card structure, bullets, hover */
.service-grid {
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
}
.service-card {
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  padding-top: 1.5rem;
  grid-template-rows: auto auto 1fr;
  gap: 1.1rem;
  border-top: 3px solid var(--accent);
}
.service-card:hover {
  border-color: rgba(143,38,40,0.32);
  box-shadow: var(--shadow-lift);
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.52rem;
  align-self: start;
}
.service-card__list li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--body-copy);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 1px;
  background: var(--accent);
  opacity: 0.65;
}

/* Homepage Our Focus — spacious editorial layout */
#services {
  padding-block: clamp(3.2rem, 5.5vw, 6rem);
  background:
    radial-gradient(ellipse at 72% 88%, rgba(143,38,40,0.016) 0%, transparent 55%),
    var(--bg-light);
}
#services .container {
  width: 100%;
  max-width: var(--max-w);
}

/* Outer two-column: ~23% intro | rest */
#services .services-layout {
  display: grid;
  grid-template-columns: clamp(15rem, 23%, 24rem) minmax(0, 1fr);
  gap: clamp(4rem, 6vw, 8rem);
  align-items: start;
}

/* Left column */
#services .services-layout__left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.3rem;
  align-items: flex-start;
  text-align: left;
}
#services .services-layout__intro {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}
#services .services-layout__intro .eyebrow {
  margin-bottom: 0;
}
#services .services-layout__intro .display-lg {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
#services .services-layout__tagline {
  font-size: var(--fs-body-sm);
  line-height: 1.76;
  color: rgba(17,17,17,0.46);
  max-width: 28ch;
}
#services .services-layout__left .nav__cta {
  color: var(--text-dark);
  border-color: rgba(17,17,17,0.22);
  background: transparent;
}
#services .services-layout__left .nav__cta:hover {
  background: rgba(17,17,17,0.06);
  color: var(--text-dark);
  border-color: rgba(17,17,17,0.45);
}

/* Inner switcher: ~34% selector | rest content (~43–47% of total) */
#services .focus-switcher {
  display: grid;
  grid-template-columns: clamp(17rem, 34%, 28rem) minmax(0, 1fr);
  gap: clamp(3rem, 4.5vw, 6rem);
  align-items: start;
}

/* Service nav: persistent accent line, no horizontal dividers */
#services .focus-switcher__nav {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 1.5rem;
}
#services .focus-switcher__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 3rem;
  background: var(--accent);
  transform: translateY(0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              height 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
#services .focus-switcher__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.9rem;
  align-items: baseline;
  width: 100%;
  padding: 1.1rem 0 1.15rem;
  text-align: left;
  color: rgba(17,17,17,0.35);
  transition: color 200ms var(--ease-out), transform 180ms var(--ease-out);
}
#services .focus-switcher__item:hover {
  color: rgba(17,17,17,0.58);
}
#services .focus-switcher__item.is-active {
  color: rgba(17,17,17,0.90);
  transform: translateX(0.1rem);
}
#services .focus-switcher__item.is-active .focus-switcher__index {
  color: var(--accent);
}
#services .focus-switcher__index {
  font-size: var(--fs-label);
  font-weight: var(--accent-label-weight);
  letter-spacing: var(--accent-label-tracking);
  color: inherit;
  transition: color 200ms var(--ease-out);
  padding-top: 0.24rem;
  align-self: start;
  line-height: var(--accent-label-line);
}
#services .focus-switcher__label {
  font-family: var(--font-display);
  font-size: var(--fs-title-md);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Content panel */
#services .focus-switcher__content {
  position: relative;
  padding-top: 0.5rem;
}
#services .focus-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 1.4rem;
  opacity: 0;
  transform: translateY(7px);
  pointer-events: none;
  transition: opacity 200ms ease-out, transform 230ms ease-out;
}
#services .focus-panel.is-active,
#services .focus-panel.is-exiting {
  pointer-events: auto;
}
#services .focus-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}
#services .focus-panel.is-exiting {
  opacity: 0;
  transform: translateY(-5px);
}
#services .focus-panel__eyebrow {
  margin: 0;
}
#services .focus-panel__title {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  text-wrap: balance;
}
#services .focus-panel__body {
  max-width: 52ch;
  font-size: var(--fs-body-md);
  line-height: 1.8;
  color: rgba(17,17,17,0.56);
}
#services .focus-panel__list {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.1rem;
}
#services .focus-panel__list li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: rgba(17,17,17,0.74);
}
#services .focus-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.74rem;
  width: 0.3rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
}

/* Wide tablet: slight tightening */
@media (max-width: 1200px) {
  #services .services-layout {
    gap: clamp(3rem, 5vw, 6rem);
  }
  #services .focus-switcher {
    gap: clamp(2.5rem, 4vw, 5rem);
  }
}

/* Tablet: outer layout stacks */
@media (max-width: 900px) {
  #services .services-layout {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  #services .services-layout__left {
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.2rem 3rem;
  }
  #services .services-layout__intro {
    flex: 1 1 16rem;
  }
}

/* Narrow tablet: switcher stacks */
@media (max-width: 800px) {
  #services .services-layout__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }
  #services .focus-switcher {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #services .focus-switcher__nav {
    padding-left: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(17,17,17,0.07);
  }
  #services .focus-switcher__indicator {
    top: auto;
    left: 0;
    bottom: -1rem;
    width: 1.4rem;
    height: 2px !important;
    transform: translateX(0) !important;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  #services .focus-panel__title {
    max-width: 26ch;
  }
}

/* Mobile */
@media (max-width: 560px) {
  #services .focus-switcher__item {
    grid-template-columns: 1.9rem 1fr;
    gap: 0.75rem;
    padding: 0.9rem 0 0.95rem;
  }
  #services .focus-switcher__label {
    font-size: clamp(1.05rem, 5vw, 1.3rem);
  }
  #services .focus-panel__title {
    max-width: none;
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #services .focus-switcher__indicator,
  #services .focus-panel {
    transition: none;
  }
}

/* Process: tighter numeral column, stronger titles, constrained body */
.process-step {
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  padding: clamp(1rem, 1.7vw, 1.35rem) 0;
}
.process-step__num {
  font-size: var(--fs-body-sm);
  letter-spacing: 0.06em;
  padding-top: 0.35rem;
  color: var(--accent);
}
.process-step__title {
  font-size: var(--fs-title-lg);
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}
.process-step__body {
  font-size: var(--fs-body-md);
  line-height: 1.78;
  max-width: 40ch;
}

/* ── Homepage Insights Preview ──────────────────────────────── */
.insights-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
  flex-wrap: wrap;
}
.insights-preview__heading {
  display: grid;
  gap: 0.9rem;
}
.insights-preview__heading .eyebrow { margin: 0; }
.insights-preview__heading .display-lg {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.insights-preview__sub {
  font-size: var(--fs-body-sm);
  line-height: 1.76;
  color: rgba(17,17,17,0.46);
  max-width: 48ch;
  margin: 0;
}
.insights-preview__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 3vw, 3rem);
}
.insights-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}
/* Override the asymmetric nth-child rules from the full news page */
.insights-preview__grid .news-card:nth-child(1),
.insights-preview__grid .news-card:nth-child(2),
.insights-preview__grid .news-card:nth-child(3) {
  grid-column: auto;
  grid-row: auto;
}
/* Compact card sizing for the preview */
.insights-preview__grid .news-card:nth-child(n) .news-card__image-wrap {
  aspect-ratio: 16 / 9;
}
.insights-preview__grid .news-card:nth-child(n) .card__title {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 0;
  padding-inline: 1rem;
  margin-bottom: 0;
}
.insights-preview__grid .news-card:nth-child(n) .news-card__excerpt {
  font-size: var(--fs-body-xs);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 0;
  padding-inline: 1rem;
}
.insights-preview__grid .news-card:nth-child(n) .news-card__meta-row {
  padding-inline: 1rem;
  padding-block: 0.7rem 0.5rem;
}
.insights-preview__grid .news-card:nth-child(n) .btn-text {
  padding-inline: 1rem;
  font-size: var(--fs-label-sm);
  padding-bottom: 1rem;
}
/* Skeleton loading placeholders */
.insights-preview__skeleton {
  pointer-events: none;
  animation: none;
}
.insights-preview__skel-img {
  aspect-ratio: 16 / 10;
  border-radius: 1.1rem 1.1rem 0 0;
  background: rgba(17,17,17,0.07);
  animation: insightSkelPulse 1.5s ease-in-out infinite;
}
.insights-preview__skel-line {
  height: 0.85rem;
  border-radius: 0.3rem;
  background: rgba(17,17,17,0.07);
  animation: insightSkelPulse 1.5s ease-in-out infinite;
  margin: 0.8rem 1.15rem 0;
}
.insights-preview__skel-line:last-child { margin-bottom: 1.4rem; }
@keyframes insightSkelPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}
.insights-preview__empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--fs-body-md);
  color: rgba(17,17,17,0.4);
  padding: 3rem 0;
}
@media (max-width: 860px) {
  .insights-preview__grid {
    grid-template-columns: 1fr 1fr;
  }
  .insights-preview__grid .news-card:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .insights-preview__header { flex-direction: column; align-items: flex-start; }
  .insights-preview__grid { grid-template-columns: 1fr; }
  .insights-preview__grid .news-card:nth-child(3) { display: flex; }
}

/* Contact: constrained headline, thicker borders, tighter spacing */
.cta-card .btn-primary,
.cta-card .btn-outline {
  border-width: 1.5px;
}
.cta-card .btn-primary:hover {
  background: #7f2123;
}
.cta-card .btn-outline:hover {
  background: rgba(15,23,42,0.04);
}

/* Footer: more column breathing room, lighter brand copy */
.footer__top {
  gap: clamp(2rem, 4.5vw, 4rem);
}
.footer__brand-desc {
  font-size: var(--fs-body-sm);
  line-height: 1.68;
  max-width: 285px;
}

/* ── Our Story page refinements ─────────────────────────────── */

/* Values: editorial two-column principles */
#values .container {
  max-width: var(--max-w);
}
.values-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.values-editorial__intro {
  max-width: 28rem;
  text-align: left;
}
.values-editorial__eyebrow {
  margin-bottom: 1rem;
}
.values-editorial__title {
  margin-bottom: 1rem;
  max-width: 10ch;
}
.values-editorial__body {
  margin: 0;
  max-width: 29rem;
  line-height: 1.8;
}
.values-editorial__list {
  min-width: 0;
}
.values-editorial__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-block: clamp(1rem, 1.7vw, 1.35rem);
  border-top: 1px solid var(--rule);
}
.values-editorial__row:last-child {
  border-bottom: 1px solid var(--rule);
}
.values-editorial__index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 0.35rem;
}
.values-editorial__content {
  min-width: 0;
}
.values-editorial__heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-title-lg);
  font-weight: 400;
  line-height: 1.12;
  color: var(--heading-color);
}
.values-editorial__text {
  margin: 0;
  max-width: 42rem;
  font-size: var(--fs-body-md);
  line-height: 1.78;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .values-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .values-editorial__intro,
  .values-editorial__body {
    max-width: none;
  }
  .values-editorial__title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .values-editorial__row {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    padding-block: 0.95rem;
  }
  .values-editorial__heading {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }
  .values-editorial__text {
    font-size: var(--fs-body-md);
    line-height: 1.7;
  }
}

/* Experience: equal-height context cards, subtle hover */
.exp-context-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}
.exp-context-card:hover {
  transform: none;
  border-color: rgba(148,2,5,0.2);
  box-shadow: 0 6px 28px rgba(44,48,40,0.07);
}

/* Card system normalization across shared editorial cards */
.service-grid,
.story-values-grid,
.exp-context-grid,
.team-grid {
  align-items: stretch;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.service-card,
.exp-context-card,
.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.1rem;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  padding-top: 1.5rem;
  border-top: 3px solid var(--accent);
  align-content: start;
}

.team-card {
  flex: 0 1 calc((100% - (2 * clamp(1rem, 2.5vw, 2rem))) / 3);
  min-width: 0;
  height: clamp(21.5rem, 30vw, 24.5rem);
  grid-template-rows: 1fr;
  gap: 0.95rem;
  position: relative;
  overflow: hidden;
}

.team-card__link {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.95rem;
  height: 100%;
  width: 100%;
  padding: 0;
  text-align: left;
  align-content: start;
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.team-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  padding: 0.65rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(17,17,17,0.03)),
    rgba(17,17,17,0.05);
}

.team-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.team-card__media--cover {
  padding: 0;
  background: none;
}

.team-card__image--cover {
  object-fit: cover;
  object-position: center top;
}

.team-card--photo {
  padding: 0;
  border-top: 0;
}

.team-card--photo .team-card__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.4rem;
  position: static;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}

.team-card--photo .team-card__details {
  padding-inline: clamp(1.5rem, 2.4vw, 2.1rem);
}

.team-card--photo .team-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: unset;
  transition: opacity 0.28s ease-out;
}

.team-card--photo .card__title,
.team-card--photo .team-card__role {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  color: #f8f7f5;
  background: transparent;
}

.team-card--photo .team-card__name-charter {
  display: none;
}

.team-card:hover {
  border-color: rgba(143,38,40,0.32);
  box-shadow: var(--shadow-lift);
}

.service-card .eyebrow,
.exp-context-card .eyebrow,
.team-card .eyebrow,
.service-card .card__title,
.exp-context-card .card__title,
.team-card .card__title,
.service-card .service-card__definition,
.exp-context-card .card__body,
.team-card .card__body {
  margin: 0;
}

.service-card .eyebrow,
.exp-context-card .eyebrow,
.team-card .eyebrow {
  color: var(--accent);
}

.service-card .card__title,
.exp-context-card .card__title,
.team-card .card__title {
  line-height: 1.22;
  color: var(--accent);
}

.team-card--photo .card__title,
.team-card--photo .team-card__role {
  color: #f8f7f5;
}

.service-card__definition,
.exp-context-card .card__body,
.team-card .card__body {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.team-card .card__body {
  align-self: start;
}

.team-card__charter {
  margin: -0.15rem 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--body-copy);
  opacity: 0.8;
}

.team-card__role,
.team-card__role-detail {
  margin: -0.35rem 0 0;
}

.team-card__name-charter {
  font-size: 0.72em;
  line-height: 1.2;
  color: inherit;
  opacity: 1;
}

.team-card--active {
  border-color: rgba(143,38,40,0.5);
  box-shadow: var(--shadow-lift);
}

.team-card__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out), opacity 0.28s ease-out, margin-top 0.28s ease-out;
  opacity: 0;
  margin-top: 0;
}

.team-card__details--open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.25rem;
}

.team-card__details-inner {
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.team-card__summary {
  max-width: 32ch;
}

.team-card__list {
  margin-bottom: 0;
}

.team-card__collapse {
  justify-self: start;
  padding: 0;
  transition: transform 0.26s var(--ease-out), opacity 0.26s var(--ease-out);
}

.team-card__collapse:hover {
  transform: translateX(0.15rem);
}

@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .team-card__link {
    min-height: auto;
  }
  .team-card__details {
    position: absolute;
    inset: 0;
    z-index: 2;
    grid-template-rows: 1fr;
    opacity: 0;
    margin-top: 0;
    padding: clamp(1.5rem, 2.4vw, 2.1rem);
    padding-top: 1.5rem;
    background: linear-gradient(180deg, rgba(248,247,245,0.98) 0%, rgba(248,247,245,0.98) 100%);
    transform: translateY(0.85rem);
    transition: opacity 0.28s ease-out, transform 0.32s var(--ease-out);
    pointer-events: none;
  }
  .team-card__details-inner {
    align-content: start;
    gap: 1rem;
    padding-top: 0;
    border-top: 0;
    overflow: auto;
  }
  .team-card:hover .team-card__details,
  .team-card:focus-within .team-card__details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .team-card--photo:hover .team-card__media,
  .team-card--photo:focus-within .team-card__media {
    opacity: 0;
  }
  .team-card:hover,
  .team-card:focus-within {
    border-color: rgba(143,38,40,0.5);
    box-shadow: var(--shadow-lift);
  }
  .team-card__collapse {
    display: none;
  }
}

.service-card__list {
  align-self: start;
}

.service-card__list,
.team-card .service-card__list,
.story-value-card .service-card__list {
  margin-top: 0;
  max-width: none;
}

.team-card .service-card__list {
  align-self: end;
}

.service-card__list li,
.team-card .service-card__list li,
.story-value-card .service-card__list li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--body-copy);
  padding-left: 1rem;
}

.section--warm {
  box-shadow: inset 0 1px 0 rgba(17,17,17,0.05), inset 0 -1px 0 rgba(17,17,17,0.04);
}

.section-header__title,
.section-copy,
.process-step__body,
.card__body,
.service-card__definition,
.cta-body {
  max-width: var(--measure-copy);
}

.hero__grid img,
.card img,
.cta-card img {
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.hero__grid img:hover,
.card:hover img,
.cta-card:hover img {
  transform: scale(1.015);
}

.team-card:hover .team-card__image,
.team-card:focus-within .team-card__image {
  transform: none;
}

.team-card__link[data-person-key="giorgi-baramidze"] .team-card__image,
.team-card__link[data-person-key="giorgi-baramidze-cfa"] .team-card__image {
  transform: scale(1.46);
  transform-origin: center top;
}

/* Homepage 9/10 polish pass */

/* ── Cinematic Hero (Home) ─────────────────────────────────── */

body[data-cinematic-nav-collapse="true"] .nav__logo,
body[data-cinematic-nav-collapse="true"] .nav__links,
body[data-cinematic-nav-collapse="true"] .nav__cta,
body[data-cinematic-nav-collapse="true"] .nav__hamburger {
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
body[data-cinematic-nav-collapse="true"]:not(.hero-nav-collapsed) .nav__logo,
body[data-cinematic-nav-collapse="true"]:not(.hero-nav-collapsed) .nav__links,
body[data-cinematic-nav-collapse="true"]:not(.hero-nav-collapsed) .nav__cta,
body[data-cinematic-nav-collapse="true"]:not(.hero-nav-collapsed) .nav__hamburger {
  opacity: 0;
  pointer-events: none;
}
body[data-cinematic-nav-collapse="true"] .nav__logo-name {
  transition: opacity 0.22s var(--ease-out);
}
body[data-cinematic-nav-collapse="true"].brand-in-flight .nav__logo-name {
  opacity: 0;
}
body .nav .nav__logo-image {
  filter: brightness(0) invert(1) opacity(0.92);
}

.brand-flight {
  position: fixed;
  z-index: 160;
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: rgba(255,255,255,0.96);
  text-transform: uppercase;
  transform-origin: top left;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: transform 720ms var(--ease-out), opacity 720ms var(--ease-out);
}

body[data-cinematic-nav-collapse="true"].brand-in-flight .hero-cinematic__brand-title {
  opacity: 0;
}

.hero--cinematic {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  background-image: url('../assets/Bridge 2.JPG');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero--cinematic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(6rem, 16vh, 12rem);
  background: linear-gradient(
    to bottom,
    rgba(248,247,245,0) 0%,
    rgba(248,247,245,0.18) 34%,
    rgba(248,247,245,0.58) 68%,
    rgba(248,247,245,0.9) 88%,
    rgba(248,247,245,1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Very light vignette — let the image breathe like Bedrock */
.hero-cinematic__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.04) 24%),
    linear-gradient(to bottom, rgba(248,247,245,0) 74%, rgba(248,247,245,0.14) 86%, rgba(248,247,245,0.42) 94%, rgba(248,247,245,0.7) 100%),
    linear-gradient(to top, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.06) 30%),
    radial-gradient(circle at 50% 42%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 66%, rgba(0,0,0,0.44) 100%);
  z-index: 0;
}

.hero-cinematic__intro {
  position: relative;
  z-index: 2;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
body[data-cinematic-nav-collapse="true"].hero-nav-collapsed .hero-cinematic__intro {
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
}

.hero-cinematic__brand-lockup {
  display: inline-flex;
  flex-direction: column;
}

.hero-cinematic__brand-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 14rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

.hero-cinematic__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.75rem, 1.2vw, 1.2rem) 0;
  width: 100%;
}

.hero-cinematic__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
}

.hero-cinematic__nav-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-body);
  transition: color 0.18s;
  position: relative;
}
.hero-cinematic__nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.16s ease-out;
}
.hero-cinematic__nav-link:hover { color: #fff; }
.hero-cinematic__nav-link:hover::after { transform: scaleX(1); }

.hero-cinematic__nav-link--cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.18em;
}
.hero-cinematic__nav-link--cta::after { display: none; }
.hero-cinematic__nav-link--cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.hero-cinematic__tagline {
  position: absolute;
  inset: 0;
  width: fit-content;
  height: fit-content;
  margin: auto;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  font-weight: 400;
  color: rgba(255,255,255,0.96);
  line-height: 1.25;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0;
  margin: auto;
}

/* ── Responsive ───────────────────────── */
@media (max-width: 860px) {
  .origin__headline {
    white-space: normal;
  }
  .hero--cinematic-page {
    min-height: clamp(28rem, 88vh, 42rem);
  }
  .hero-cinematic__intro--page {
    padding-top: clamp(4.5rem, 11vw, 6rem);
  }
  .hero-cinematic__brand-title--page {
    font-size: clamp(2.5rem, 11vw, 5.5rem);
  }
  .hero-cinematic__tagline--page {
    font-size: clamp(0.92rem, 2.9vw, 1.1rem);
    line-height: 1.65;
    width: min(90vw, 34rem);
  }
  .hero-cinematic__tagline--phrase {
    width: min(88vw, 18rem);
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: 1.04;
  }
  .hero-cinematic__brand-title {
    font-size: clamp(2.5rem, 9vw, 7rem);
    white-space: normal;
    word-break: break-word;
  }
  .hero-cinematic__nav-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-cinematic__tagline {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    letter-spacing: 0.12em;
    white-space: normal;
    width: 90vw;
    margin: auto;
  }
}

@media (max-width: 540px) {
  .hero-cinematic__brand-title--page {
    font-size: clamp(2.2rem, 14vw, 3.8rem);
  }
  .hero-cinematic__tagline--page {
    font-size: 0.88rem;
    width: min(90vw, 23rem);
    letter-spacing: 0.08em;
  }
  .hero-cinematic__tagline--phrase {
    width: min(88vw, 14rem);
    font-size: clamp(1.8rem, 13vw, 3rem);
    letter-spacing: 0.05em;
  }
  .hero-cinematic__brand-title {
    font-size: clamp(2.4rem, 16vw, 4rem);
    text-align: center;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
  }
  .hero-cinematic__nav-row {
    justify-content: center;
  }
  .hero-cinematic__nav {
    gap: 1.2rem;
  }
  .hero-cinematic__tagline {
    font-size: clamp(0.9rem, 4.5vw, 1.2rem);
    letter-spacing: 0.1em;
  }
}
