/* ==========================================================================
   Signature Group LLC — Design System
   Editorial executive-advisory aesthetic.
   ========================================================================== */

:root {
  /* Colour — warm ivory foundation, with gold + a touch of red drawn from the mark */
  --color-bg:        #FAF8F4;      /* primary background — warm white / ivory */
  --color-bg-alt:    #F1EDE5;      /* alternating section panel */
  --color-bg-deep:   #202124;      /* premium neutral graphite — footer, standards */
  --gradient-deep: linear-gradient(135deg, #1B1C1F 0%, #34363A 28%, #55575E 50%, #2E3033 74%, #15161A 100%); /* graphite gray sheening into brushed silver */
  --color-surface:   #FFFFFF;      /* raised surfaces / credential cells */
  --color-ink:       #23211D;      /* primary text — warm graphite (never pure black) */
  --color-ink-soft:  #4A4740;      /* secondary / body text */
  --color-ink-mute:  #726D62;      /* muted labels, eyebrows */
  --color-ink-on-dark:      #F3EEE3; /* text used on the dark footer / standards panel */
  --color-ink-on-dark-soft: #D3C9B7;
  --color-ink-on-dark-mute: #A79E8E;
  --color-line:      rgba(35, 33, 29, 0.13);
  --color-line-soft: rgba(35, 33, 29, 0.08);
  --color-line-on-dark: rgba(243, 238, 227, 0.14);
  --color-accent:       #B8912A;   /* antique gold — sampled from the logo */
  --color-accent-soft:  #8C711F;   /* deeper brass, for quieter accents */
  --color-accent-bright:#E8CB6E;   /* bright gold highlight — use on dark surfaces */
  --color-red:       #A93A3A;      /* deep signature red — very sparing use */
  --color-red-on-dark: #E5A3A3;    /* lightened red for legibility on dark/graphite backgrounds */
  --color-overlay-dark: rgba(24, 25, 27, 0.58);

  /* Type */
  --font-serif: 'Jost', 'Helvetica Neue', Arial, sans-serif;   /* headings — kept as one clean, minimal business sans */
  --font-sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;   /* body / UI */

  /* Layout */
  --container-max: 1240px;
  --container-pad: 40px;
  --section-pad-y: 80px;
  --section-pad-y-sm: 52px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 900px) {
  :root {
    --container-pad: 24px;
    --section-pad-y: 58px;
    --section-pad-y-sm: 40px;
  }
}

/* --------------------------------------------------------------------- */
/* Reset                                                                  */
/* --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 16px; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

section { position: relative; }

.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;
}

.skip-link {
  position: absolute; top: -48px; left: 16px; background: var(--color-ink);
  color: var(--color-bg); padding: 12px 20px; z-index: 1000; transition: top .2s var(--ease);
  font-family: var(--font-sans); font-size: 14px; letter-spacing: .04em;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------- */
/* Type utilities                                                        */
/* --------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--color-accent-soft);
}
.eyebrow--center { justify-content: center; }

.display-1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}
.display-2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.display-3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 20px;
  line-height: 1.65;
  color: var(--color-ink-soft);
  font-weight: 300;
}
.body-copy { color: var(--color-ink-soft); font-size: 20px; line-height: 1.75; font-weight: 300; }
.small-caps {
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
  font-weight: 500;
}
em, .accent-italic { font-family: var(--font-serif); font-style: italic; }

/* --------------------------------------------------------------------- */
/* Buttons                                                                */
/* --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-ink);
  color: var(--color-bg);
  border-color: var(--color-ink);
}
.btn-primary:hover { background: transparent; color: var(--color-accent-soft); border-color: var(--color-ink); }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent-soft); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-primary-light {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}
.btn-primary-light:hover { background: transparent; color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 3px;
  transition: opacity .3s var(--ease), gap .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.text-link:hover { opacity: 1; gap: 12px; border-color: var(--color-accent); color: var(--color-accent-soft); }

.cta-row { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; padding: 15px 22px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------- */
/* Header                                                                 */
/* --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--gradient-deep);
  border-bottom: 1px solid rgba(184,145,42,.22);
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), padding .35s var(--ease);
}
.site-header.is-scrolled {
  background: var(--gradient-deep);
  border-bottom-color: rgba(184,145,42,.35);
  box-shadow: 0 12px 34px -22px rgba(0,0,0,0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  transition: padding .35s var(--ease);
}
.site-header.is-scrolled .site-header__inner { padding-top: 18px; padding-bottom: 18px; }

.logo {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: .06em;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo strong { font-weight: 600; }
.logo span {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
  font-weight: 500;
  margin-top: 3px;
}

.logo--brand { display: inline-flex; flex-direction: column; align-items: flex-start; }
.logo__mark {
  height: 62px;
  width: auto;
  display: block;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .logo__mark { height: 48px; }
.logo--footer .logo__mark { height: 82px; }
.logo__tagline {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #F2E3AE;
  white-space: nowrap;
  text-align: center;
  transition: font-size .35s var(--ease), margin-top .35s var(--ease);
}
.site-header.is-scrolled .logo__tagline { font-size: 9px; margin-top: 4px; }

/* The mark was designed on black — give it a dark plate wherever it sits on a light surface */
.logo--plated {
  background: var(--gradient-deep);
  padding: 10px 22px;
  border-radius: 3px;
  box-shadow: 0 8px 22px -12px rgba(30,27,21,0.45);
  transition: padding .35s var(--ease);
}
.site-header.is-scrolled .logo--plated { padding: 7px 18px; }

@media (max-width: 900px) {
  .logo__mark { height: 52px; }
  .site-header.is-scrolled .logo__mark { height: 42px; }
  .logo--plated { padding: 8px 16px; }
  .logo__tagline { font-size: 8.5px; letter-spacing: .07em; margin-top: 4px; }
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  font-size: 19px;
  letter-spacing: .02em;
  font-weight: 500;
  color: rgba(243,238,227,.88);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--color-accent);
  transition: right .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
  background: linear-gradient(120deg, #7A2626 0%, #C24C4C 22%, #E7E4DC 46%, #F5F3EE 52%, #C9C5BA 58%, #A93A3A 78%, #7A2626 100%);
  background-size: 320% 320%;
  animation: ctaShimmer 7s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); animation-play-state: paused; }
.header-cta span { margin-right: -0.14em; position: relative; top: -2.5px; }

.menu-toggle {
  display: none;
  background: none; border: none; padding: 6px; margin-left: 20px;
  flex-direction: column; gap: 5px; z-index: 600;
}
.menu-toggle span { width: 26px; height: 1px; background: #fff; display: block; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 550;
  background: rgba(15,14,13,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 40px var(--container-pad);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__close {
  position: absolute;
  top: 22px; right: var(--container-pad);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(243,238,227,.3);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.mobile-nav__close:hover { border-color: var(--color-accent); color: var(--color-accent-bright); transform: rotate(90deg); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-nav.is-open li { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open li:nth-child(1) { transition-delay: .05s; }
.mobile-nav.is-open li:nth-child(2) { transition-delay: .1s; }
.mobile-nav.is-open li:nth-child(3) { transition-delay: .15s; }
.mobile-nav.is-open li:nth-child(4) { transition-delay: .2s; }
.mobile-nav.is-open li:nth-child(5) { transition-delay: .25s; }
.mobile-nav.is-open li:nth-child(6) { transition-delay: .3s; }
.mobile-nav.is-open li:nth-child(7) { transition-delay: .35s; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 46px);
  line-height: 1.35;
  font-weight: 500;
  color: #fff;
}
.mobile-nav a:hover { color: var(--color-accent-bright); }
.mobile-nav .mobile-nav__foot {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(243,238,227,.16);
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: .4s;
}
.mobile-nav.is-open .mobile-nav__foot { opacity: 1; transform: translateY(0); }
.mobile-nav .small-caps { color: rgba(243,238,227,.6); }
.mobile-nav__cta { align-self: stretch; width: 100%; white-space: normal; text-align: center; padding: 8px 17px; font-size: 9.5px; }

@media (max-width: 900px) {
  .main-nav ul, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 420px) {
  .mobile-nav__close { top: 16px; width: 42px; height: 42px; font-size: 22px; }
}

@media (max-width: 460px) {
  .industry-grid--compact { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------- */
/* Hero                                                                   */
/* --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: 96px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 68% 18%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,25,.42) 0%, rgba(22,23,25,.36) 38%, rgba(18,19,21,.82) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 148px var(--container-pad) 150px;
  width: 100%;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 28px; font-weight: 500;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: rgba(255,255,255,.6); }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 16ch;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero__lede {
  margin-top: 30px;
  max-width: 620px;
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero__support {
  margin-top: 16px;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero__cta { margin-top: 44px; }
.hero__scroll {
  position: absolute; bottom: 40px; left: var(--container-pad);
  display: flex; align-items: center; gap: 12px; z-index: 1;
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 42px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

@media (max-width: 900px) {
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero__content { padding-top: 110px; padding-bottom: 50px; }
  .hero__scroll { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 600px) {
  .hero { min-height: 60vh; }
  .hero__media img { object-position: 50% 5%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(18,19,21,.5) 0%, rgba(18,19,21,.4) 30%, rgba(15,16,18,.92) 100%);
  }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .18em; margin-bottom: 18px; }
  .hero__eyebrow::before { width: 22px; }
  .hero__title { font-size: 1.85rem; line-height: 1.22; max-width: 15ch; letter-spacing: -0.01em; }
  .hero__lede { font-size: 20px; line-height: 1.6; margin-top: 18px; color: rgba(255,255,255,0.96); font-weight: 400; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
  .hero__support { font-size: 19px; line-height: 1.7; margin-top: 12px; color: rgba(255,255,255,0.88); font-weight: 400; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
  .hero__cta { margin-top: 26px; }
  .btn-primary-light:hover, .btn-primary-light:active { background: var(--color-accent-bright); color: var(--color-ink); border-color: var(--color-accent-bright); }
}

/* --------------------------------------------------------------------- */
/* Page banner (inner pages)                                             */
/* --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,25,.46) 0%, rgba(18,19,21,.84) 100%);
}
.page-banner__content { position: relative; z-index: 1; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad) 68px; width: 100%; }
.page-banner__eyebrow { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 22px; font-weight: 500; display:flex; align-items:center; gap:12px; }
.page-banner__eyebrow::before { content:""; width:34px; height:1px; background: rgba(255,255,255,.6); }
.page-banner__title { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(2.3rem, 4.2vw, 3.8rem); line-height: 1.15; max-width: 18ch; color: #fff; }
.page-banner__lede { margin-top: 22px; max-width: 620px; font-size: 20px; color: rgba(255,255,255,.82); line-height: 1.6; font-weight: 300; }

.page-banner--plain {
  min-height: 32vh;
  background: var(--color-bg-alt);
  color: var(--color-ink);
  align-items: center;
  padding-top: 104px;
  padding-bottom: 60px;
}
.page-banner--plain .page-banner__title { color: var(--color-ink); }
.page-banner--plain .page-banner__eyebrow { color: var(--color-ink-mute); }
.page-banner--plain .page-banner__eyebrow::before { background: var(--color-accent-soft); }
.page-banner--plain .page-banner__lede { color: var(--color-ink-soft); }
.page-banner--plain::after {
  content: "";
  position: absolute;
  top: 58%; right: 60px;
  transform: translateY(-50%);
  width: 460px;
  height: 320px;
  background-image: url("../images/banner-graphic.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.page-banner--plain .page-banner__content { position: relative; z-index: 1; }
.page-banner--plain.page-banner--services { padding-bottom: 20px; }
.page-banner--services .page-banner__content { padding-bottom: 24px; }
@media (max-width: 900px) {
  .page-banner--plain.page-banner--services { padding-bottom: 6px; }
}

.page-banner--dark { background: var(--gradient-deep); }
.page-banner--dark .page-banner__title { color: #fff; }
.page-banner--dark .page-banner__eyebrow { color: rgba(243,238,227,.7); }
.page-banner--dark .page-banner__eyebrow::before { background: var(--color-accent); }
.page-banner--dark .page-banner__lede { color: rgba(243,238,227,.78); }
.page-banner--dark .breadcrumbs--plain { color: rgba(243,238,227,.55); }
.page-banner--dark .breadcrumbs--plain a { color: rgba(243,238,227,.55); }
.page-banner--dark .breadcrumbs--plain a:hover { color: #fff; }
.page-banner__tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent-bright);
  margin-bottom: 16px;
}

.hero-graphic-divider { display: none; }
@media (max-width: 700px) {
  .hero-graphic-divider { display: block; padding: 48px 0 0; text-align: center; }
  .hero-graphic-divider img { width: 100%; max-width: 240px; height: auto; display: inline-block; }
}

@media (max-width: 1100px) {
  .page-banner--plain::after { width: 320px; height: 220px; right: 20px; opacity: .7; }
}
@media (max-width: 900px) {
  .page-banner, .page-banner--plain { min-height: 38vh; }
  .page-banner--plain { padding-top: 104px; padding-bottom: 24px; }
  .page-banner--plain::after { display: none; }
}

.btn-red-shine {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
  background: linear-gradient(135deg, #C24C4C 0%, #8C2E2E 45%, #B84040 75%, #7A2626 100%);
  background-size: 220% 220%;
  background-position: 0% 0%;
  transition: background-position .6s var(--ease), transform .3s var(--ease);
}
.btn-red-shine::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn-red-shine:hover { background-position: 100% 100%; transform: translateY(-1px); }
.btn-red-shine:hover::before { left: 130%; }

.floating-cta {
  position: fixed;
  bottom: 26px;
  right: 32px;
  z-index: 400;
  margin-top: 0;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 14px 34px -10px rgba(120,30,30,0.55);
  background: linear-gradient(120deg, #7A2626 0%, #C24C4C 22%, #E7E4DC 46%, #F5F3EE 52%, #C9C5BA 58%, #A93A3A 78%, #7A2626 100%);
  background-size: 320% 320%;
  animation: ctaShimmer 7s ease-in-out infinite;
}
.floating-cta::before { display: none; }
.floating-cta:hover { transform: translateY(-2px); animation-play-state: paused; }
@media (max-width: 700px) {
  .floating-cta { bottom: 16px; right: 16px; padding: 12px 22px; font-size: 10.5px; }
}
@keyframes ctaShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Contact popup ------------------------------------------------------------ */
.contact-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 14, 13, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.contact-popup-overlay.is-open { opacity: 1; visibility: visible; }
.contact-popup {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: 6px;
  padding: 44px 38px 38px;
  box-shadow: 0 40px 90px -20px rgba(20, 18, 15, 0.45);
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.contact-popup-overlay.is-open .contact-popup { transform: translateY(0) scale(1); opacity: 1; }
.contact-popup::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #7A2626, #C24C4C, #E7E4DC, #A93A3A, #7A2626);
  background-size: 300% 100%;
  animation: ctaShimmer 7s ease-in-out infinite;
  border-radius: 6px 6px 0 0;
}
.contact-popup__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--color-ink-mute);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.contact-popup__close:hover { color: var(--color-ink); transform: rotate(90deg); }
.contact-popup .eyebrow { margin-bottom: 10px; }
.contact-popup__title { font-size: 27px; margin-bottom: 12px; }
.contact-popup__lede { color: var(--color-ink-soft); font-size: 18px; line-height: 1.6; margin-bottom: 28px; }
.contact-popup__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.contact-popup__item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--color-line-soft); }
.contact-popup__item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-popup__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-mute); }
.contact-popup__value { font-size: 19px; color: var(--color-ink); }
.contact-popup__value a { color: var(--color-ink); border-bottom: 1px solid var(--color-line); transition: color .2s var(--ease), border-color .2s var(--ease); }
.contact-popup__value a:hover { color: var(--color-red); border-color: var(--color-red); }
.contact-popup__cta { width: 100%; }
@media (max-width: 480px) {
  .contact-popup { padding: 38px 24px 30px; }
}

/* --------------------------------------------------------------------- */
/* Credibility strip                                                     */
/* --------------------------------------------------------------------- */
.strip {
  background: #FFFFFF;
  color: var(--color-ink);
  padding: 30px 0;
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.strip__item { display:flex; align-items:center; gap:24px; }
.strip__divider { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--color-accent); font-size: 14px; }

@media (max-width: 700px) {
  .strip__inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; flex-wrap: wrap; white-space: normal; }
  .strip__item { justify-content: center; }
}

/* --------------------------------------------------------------------- */
/* Section layout helpers                                                */
/* --------------------------------------------------------------------- */
.section { padding: var(--section-pad-y) 0; }
.section-sm { padding: var(--section-pad-y-sm) 0; }
.section.section--positioning { padding-top: 44px; padding-bottom: 44px; }
@media (max-width: 900px) { .section.section--positioning { padding-top: 32px; padding-bottom: 32px; } }
.section.section--expertise, .section-sm.section--expertise { padding-top: 52px; }
@media (max-width: 900px) { .section.section--expertise, .section-sm.section--expertise { padding-top: 36px; } }
.section.section--industries-home { padding-top: 28px; }
@media (max-width: 900px) { .section.section--industries-home { padding-top: 20px; } }
.section--testimonials-placeholder { padding: 40px 0; }
@media (max-width: 900px) { .section--testimonials-placeholder { padding: 32px 0; } }
.section--alt { background: var(--color-bg-alt); }
.section--ink { background: var(--gradient-deep); color: var(--color-ink-on-dark); }
.section--ink .eyebrow { color: rgba(243,238,227,.68); }
.section--ink .eyebrow::before { background: var(--color-accent); }
.section--ink h2, .section--ink h3 { color: var(--color-ink-on-dark); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.split--center { align-items: center; }
.split--tight { grid-template-columns: 1.4fr 1fr; gap: 28px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--tight { grid-template-columns: 1fr; }
}

.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.divider { height: 1px; background: var(--color-line); border: none; margin: 0; }

/* --------------------------------------------------------------------- */
/* Services preview grid                                                 */
/* --------------------------------------------------------------------- */
.service-list { border-top: 1px solid var(--color-line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 220px;
  gap: 40px;
  align-items: start;
  padding: 46px 0;
  border-bottom: 1px solid var(--color-line);
  transition: padding-left .4s var(--ease);
}
.service-row:hover { padding-left: 14px; }
.service-row__index { font-family: var(--font-serif); font-size: 15px; color: var(--color-ink-mute); padding-top: 6px; }
.service-row__title { font-family: var(--font-serif); font-size: clamp(1.4rem,2vw,1.9rem); font-weight: 500; margin-bottom: 12px; }
.service-row__desc { color: var(--color-ink-soft); font-size: 16px; max-width: 56ch; }
.service-row__link {
  justify-self: end; align-self: center;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 4px;
  transition: border-color .3s var(--ease);
  white-space: nowrap;
}
.service-row:hover .service-row__link { border-color: var(--color-ink); }

@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .service-row__link { justify-self: start; }
}

/* --------------------------------------------------------------------- */
/* Industries editorial grid                                             */
/* --------------------------------------------------------------------- */
.industry-grid { border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line); display: grid; grid-template-columns: repeat(2, 1fr); }
/* When a plain (2-col) industry-grid has an odd number of cards, let the last
   one span both columns instead of sitting alone in half the row. */
.industry-grid > .industry-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
.industry-grid > .industry-cell--photo:last-child:nth-child(odd) { aspect-ratio: 21 / 6; align-items: center; }
.industry-grid > .industry-cell--photo:last-child:nth-child(odd) .industry-cell__body { text-align: center; }
.industry-grid > .industry-cell--photo:last-child:nth-child(odd) .industry-cell__desc { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) {
  .industry-grid > .industry-cell--photo:last-child:nth-child(odd) { aspect-ratio: 4 / 3; }
}
.industry-cell {
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 52px 46px;
  position: relative;
  overflow: hidden;
  transition: background .4s var(--ease);
}
.industry-cell::before {
  content: attr(data-num);
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--color-ink-mute);
  display: block;
  margin-bottom: 22px;
}
.industry-cell__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: transform .4s var(--ease), color .4s var(--ease);
  display: inline-block;
}
.industry-cell__desc {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 20px;
  color: var(--color-ink-mute);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s var(--ease), max-height .4s var(--ease), margin-top .4s var(--ease);
}
.industry-cell:hover { background: var(--gradient-deep); }
.industry-cell:hover::before { color: var(--color-accent); }
.industry-cell:hover .industry-cell__title { color: var(--color-ink-on-dark); transform: translateX(8px); }
.industry-cell:hover .industry-cell__desc { color: var(--color-ink-on-dark-soft); opacity: 1; max-height: 100px; }

/* Photographic bento tiles — square, full-bleed image, frosted reveal on hover */
.industry-cell--photo {
  aspect-ratio: 1 / 1;
  padding: 0;
  display: flex;
  align-items: flex-end;
}
.industry-cell--photo::before { display: none; }
.industry-cell--photo .industry-cell__media {
  position: absolute; inset: 0; z-index: 0;
}
.industry-cell--photo .industry-cell__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
/* Label always readable on the photo — a base gradient + visible title/desc at
   rest, with a bit more blur/contrast added on hover for emphasis. */
.industry-cell--photo .industry-cell__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,0) 30%, rgba(10,11,13,.55) 65%, rgba(10,11,13,.88) 100%);
  backdrop-filter: blur(0px) saturate(120%);
  -webkit-backdrop-filter: blur(0px) saturate(120%);
  opacity: 1;
  transition: opacity .45s var(--ease), backdrop-filter .45s var(--ease), background .45s var(--ease);
}
.industry-cell--photo:hover .industry-cell__media::after,
.industry-cell--photo:focus-within .industry-cell__media::after {
  background: linear-gradient(150deg, rgba(70,71,76,.42) 0%, rgba(30,31,34,.56) 45%, rgba(10,11,13,.78) 100%);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.industry-cell--photo:hover .industry-cell__media img,
.industry-cell--photo:focus-within .industry-cell__media img { transform: scale(1.05); }
.industry-cell--photo .industry-cell__body {
  position: relative; z-index: 1;
  padding: 34px 38px;
  width: 100%;
  opacity: 1;
  transform: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.industry-cell--photo::after {
  content: attr(data-num);
  position: absolute; top: 26px; left: 38px; z-index: 1;
  font-family: var(--font-serif); font-size: 13px; color: rgba(255,255,255,0);
  transition: color .4s var(--ease);
}
.industry-cell--photo:hover::after,
.industry-cell--photo:focus-within::after { color: rgba(255,255,255,.75); }
.industry-cell--photo .industry-cell__title {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  height: 57.2px;
  overflow: hidden;
  display: block;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.industry-cell--photo .industry-cell__desc {
  opacity: 1; max-height: none; margin-top: 10px;
  max-width: 46ch;
  font-size: 22px;
  line-height: 1.4;
  height: 61.6px;
  overflow: hidden;
  display: block;
  color: rgba(255,255,255,.82);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
@media (max-width: 760px) {
  .industry-cell--photo .industry-cell__title { font-size: 20px; line-height: 1.3; height: 52px; }
  .industry-cell--photo .industry-cell__desc { font-size: 20px; line-height: 1.4; height: 56px; }
}
.industry-cell--photo:hover { background: none; }
.industry-cell--photo:hover .industry-cell__title { color: var(--color-accent-bright); transform: translateX(8px); }

/* Compact mosaic variant — used on the homepage preview, three tiles per row */
.industry-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--color-line);
}
.industry-grid--compact .industry-cell--photo::after { display: none; }
.industry-grid--compact .industry-cell__body { padding: 14px 16px; }
.industry-grid--compact .industry-cell__title {
  font-size: 22px;
  letter-spacing: .02em;
  font-weight: 600;
  line-height: 1.3;
  height: 57.2px;
  overflow: hidden;
  display: block;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.industry-grid--compact .industry-cell__desc {
  overflow: hidden;
  display: block;
  opacity: 1;
  max-height: none;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.4;
  height: 61.6px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.industry-grid--compact .industry-cell--photo:hover .industry-cell__title,
.industry-grid--compact .industry-cell--photo:focus-within .industry-cell__title { transform: none; }

/* Small preview caption — light gradient + title always visible; hover just deepens it slightly */
.industry-grid--compact .industry-cell--photo .industry-cell__media::after {
  opacity: 1;
  background: linear-gradient(180deg, rgba(10,11,13,0) 30%, rgba(10,11,13,.55) 65%, rgba(10,11,13,.9) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.industry-grid--compact .industry-cell--photo:hover .industry-cell__media::after,
.industry-grid--compact .industry-cell--photo:focus-within .industry-cell__media::after {
  background: linear-gradient(180deg, rgba(10,11,13,0) 20%, rgba(10,11,13,.65) 55%, rgba(10,11,13,.92) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.industry-grid--compact .industry-cell--photo .industry-cell__body {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .industry-cell { padding: 38px 26px; }
  .industry-cell--photo .industry-cell__body { padding: 30px 26px; }
  .industry-grid--compact .industry-cell--photo .industry-cell__body { padding: 12px 14px; }
  .industry-grid--compact .industry-cell__title { font-size: 20px; line-height: 1.3; height: 52px; }
  .industry-grid--compact .industry-cell__desc { font-size: 20px; line-height: 1.4; height: 56px; }
  /* no hover on touch — keep the frosted label always visible */
  .industry-cell--photo .industry-cell__media::after {
    opacity: 1; backdrop-filter: blur(2px) saturate(120%); -webkit-backdrop-filter: blur(2px) saturate(120%);
    background: linear-gradient(180deg, rgba(18,19,21,0) 40%, rgba(18,19,21,.6) 100%);
  }
  .industry-cell--photo .industry-cell__body { opacity: 1; transform: none; }
  .industry-cell--photo::after { color: rgba(255,255,255,.7); top: 20px; left: 26px; }
  .industry-cell__desc { opacity: 1; max-height: 100px; margin-top: 14px; color: var(--color-ink-mute); }
}

/* --------------------------------------------------------------------- */
/* Standards / credentials                                               */
/* --------------------------------------------------------------------- */
.standards-list { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(250,248,244,.16); }
.standards-item {
  flex: 1 1 30%;
  padding: 34px 30px 34px 0;
  border-bottom: 1px solid rgba(250,248,244,.16);
}
.standards-item__code { font-family: var(--font-serif); font-size: clamp(1.4rem,2vw,1.9rem); margin-bottom: 8px; }
.standards-item__label { font-size: 20px; color: rgba(250,248,244,.72); line-height: 1.5; }

@media (max-width: 760px) {
  .standards-item { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------- */
/* Approach                                                              */
/* --------------------------------------------------------------------- */
.approach-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 72px; }
.approach-figure { border-top: 1px solid var(--color-line); padding-top: 26px; }
.approach-figure__num { font-family: var(--font-serif); font-size: 15px; color: var(--color-accent-soft); margin-bottom: 14px; display:block; }
.approach-figure__title { font-family: var(--font-serif); font-size: 22px; margin-bottom: 12px; color: var(--color-red); transition: transform .35s var(--ease); }
.approach-figure:hover .approach-figure__title { transform: translateX(8px); }
.approach-figure__desc { font-size: 20px; color: var(--color-ink-soft); line-height: 1.65; }

@media (max-width: 760px) { .approach-figures { grid-template-columns: 1fr; gap: 34px; } }

/* --------------------------------------------------------------------- */
/* Insights                                                              */
/* --------------------------------------------------------------------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.insight-card { display: flex; flex-direction: column; }
.insight-card__meta { display:flex; gap:14px; align-items:center; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color: var(--color-ink-mute); margin-bottom:20px; }
.insight-card__meta span:first-child { color: var(--color-accent-soft); }
.insight-card__title { font-family: var(--font-serif); font-size: 23px; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }
.insight-card__excerpt { font-size: 20px; color: var(--color-ink-soft); line-height: 1.55; margin-bottom: 20px; }
.insight-card__link { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--color-line); padding-bottom: 4px; align-self: flex-start; transition: border-color .3s var(--ease); }
.insight-card:hover .insight-card__link { border-color: var(--color-ink); }

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

.insights-grid--news { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 900px) { .insights-grid--news { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------- */
/* Homepage decorative ribbon accents                                    */
/* --------------------------------------------------------------------- */
.section--graphic-approach .container,
.section--graphic-insights .container { position: relative; }
.section--graphic-approach { padding-top: 52px; padding-bottom: 48px; }
@media (max-width: 900px) { .section--graphic-approach { padding-top: 36px; } }
.section--graphic-insights { padding-top: 48px; }
.section--graphic-approach .container::after,
.section--graphic-insights .container::after {
  content: "";
  display: block;
  margin: 26px auto 0;
  width: 220px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .8;
  pointer-events: none;
}
.section--graphic-approach .container::after { background-image: url("../images/approach-graphic.webp"); }
.section--graphic-insights .container::after { background-image: url("../images/banner-graphic.webp"); }
@media (max-width: 1100px) {
  .section--graphic-approach .container::after,
  .section--graphic-insights .container::after { width: 170px; height: 120px; opacity: .6; margin-top: 32px; }
}
@media (max-width: 900px) {
  .section--graphic-approach .container::after,
  .section--graphic-insights .container::after { display: none; }
}

/* Positioning section: heading + ribbon graphic in the left column, sized to
   visually balance the height of the two-paragraph text block on the right. */
.positioning-graphic {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 40px;
  opacity: .9;
}
@media (max-width: 1100px) {
  .positioning-graphic { max-width: 320px; margin-top: 28px; }
}
@media (max-width: 700px) {
  .positioning-graphic { display: none; }
}

/* --------------------------------------------------------------------- */
/* Final CTA                                                             */
/* --------------------------------------------------------------------- */
.final-cta { text-align: center; position: relative; padding-top: 150px; }
.final-cta .display-2 { max-width: 18ch; margin: 0 auto; }
.final-cta .lede { max-width: 620px; margin: 26px auto 0; }
.final-cta .cta-row { justify-content: center; margin-top: 40px; }
.final-cta::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 210px; height: 130px;
  background-image: url("../images/cta-graphic.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.final-cta .container { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .final-cta { padding-top: 110px; }
  .final-cta::before { top: 10px; width: 150px; height: 96px; }
}

/* --------------------------------------------------------------------- */
/* Footer                                                                 */
/* --------------------------------------------------------------------- */
.site-footer { background: var(--gradient-deep); color: rgba(243,238,227,0.72); padding: 96px 0 0; border-top: 1px solid rgba(184,145,42,.28); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid rgba(184,145,42,.16); }
.footer-brand .logo { color: var(--color-ink-on-dark); }
.footer-brand .logo span { color: rgba(243,238,227,.5); }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: 15.5px; color: rgba(250,248,244,.68); line-height: 1.7; }
.footer-col h4 { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-bright); font-weight: 500; margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 15.5px; color: rgba(250,248,244,.78); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--color-accent-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; font-size: 12.5px; color: rgba(250,248,244,.58); flex-wrap: wrap; gap: 14px; }
.footer-bottom a { color: rgba(250,248,244,.55); }
.footer-bottom a:hover { color: var(--color-accent-bright); }
.footer-legal { display: flex; gap: 26px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------- */
/* Contact form                                                          */
/* --------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ink-mute); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: 12px 2px;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 300;
  transition: border-color .3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-bottom-color: var(--color-ink);
}
.form-note { margin-top: 34px; font-size: 13.5px; color: var(--color-ink-mute); }
.form-submit { margin-top: 40px; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

/* Contact info list */
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-info__item { padding-top: 22px; border-top: 1px solid var(--color-line); }
.contact-info__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-mute); margin-bottom: 10px; }
.contact-info__value { font-family: var(--font-serif); font-size: 20px; }

/* --------------------------------------------------------------------- */
/* About page specifics                                                  */
/* --------------------------------------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li {
  font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--color-line); padding: 11px 19px; color: var(--color-ink-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tag-list li:hover { border-color: var(--color-red); color: var(--color-red); }

.tag-grid { display: flex; flex-direction: column; gap: 12px; }
.tag-row { display: flex; gap: 12px; }
.tag-chip {
  flex: 1; text-align: center;
  font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--color-line); padding: 12px 14px; color: var(--color-ink-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tag-chip:hover { border-color: var(--color-red); color: var(--color-red); }
@media (max-width: 600px) { .tag-row { flex-direction: column; } }
.credential-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); }
.credential-cell { background: var(--color-bg); padding: 40px 32px; }
.credential-cell__code { font-family: var(--font-serif); font-size: 26px; margin-bottom: 10px; }
.credential-cell__label { font-size: 20px; color: var(--color-ink-mute); }
@media (max-width: 760px) { .credential-grid { grid-template-columns: 1fr; } }
.credential-list { display: flex; flex-wrap: wrap; border-top: 1px solid var(--color-line); }
.credential-list .credential-cell { background: none; flex: 1 1 33.333%; padding: 32px 28px; border-bottom: 1px solid var(--color-line); border-right: 1px solid var(--color-line); }
.credential-list .credential-cell:nth-child(3n) { border-right: none; }
@media (max-width: 760px) {
  .credential-list .credential-cell { flex: 1 1 100%; border-right: none; padding: 26px 0; }
}

.philosophy-line { display: flex; gap: 28px; padding: 30px 0; border-top: 1px solid var(--color-line); }
.philosophy-line:last-child { border-bottom: 1px solid var(--color-line); }
.philosophy-line__num { font-family: var(--font-serif); font-size: 15px; color: var(--color-accent-soft); flex-shrink: 0; width: 36px; }
.philosophy-line__text { font-size: 20px; color: var(--color-ink-soft); max-width: 62ch; line-height: 1.6; }

/* --------------------------------------------------------------------- */
/* Service / Industry / Article detail pages                             */
/* --------------------------------------------------------------------- */
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 30px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-mute); }
.detail-figure { margin: 0 0 32px; }
.detail-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.detail-figure--top { display: none; }
@media (max-width: 900px) {
  .detail-figure--top { display: block; margin: 0 0 36px; }
  .detail-figure--aside { display: none; }
}
.detail-body p { margin-bottom: 24px; }
.detail-body h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 52px 0 20px; }
.detail-body h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin: 38px 0 16px; }
.detail-body ul, .detail-body ol { margin: 0 0 24px; padding-left: 22px; color: var(--color-ink-soft); }
.detail-body li { margin-bottom: 10px; line-height: 1.7; }
.detail-body blockquote {
  margin: 32px 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-serif); font-style: italic; font-size: 19px;
  color: var(--color-ink);
}
.detail-body .faq-item { margin-bottom: 28px; }
.detail-body .faq-item h3 { margin-top: 0; margin-bottom: 10px; }
.breadcrumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); display: flex; gap: 10px; margin-bottom: 26px; }
.breadcrumbs a { color: rgba(255,255,255,.62); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs--plain { color: var(--color-ink-mute); }
.breadcrumbs--plain a { color: var(--color-ink-mute); }
.breadcrumbs--plain a:hover { color: var(--color-ink); }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { border-top: 1px solid var(--color-line); padding-top: 24px; }
.related-card__title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 10px; }
.related-card__desc { font-size: 20px; color: var(--color-ink-mute); line-height: 1.5; margin-bottom: 16px; }

/* --------------------------------------------------------------------- */
/* Scroll reveal                                                         */
/* --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .23s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .37s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero__media img { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------- */
/* Misc                                                                   */
/* --------------------------------------------------------------------- */
.text-red { color: var(--color-red); }
.section--ink .text-red { color: var(--color-red-on-dark); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.max-measure { max-width: 62ch; }
