/* ==========================================================================
   Holden Family Office — Design System
   Built for Elementor: flex containers only. No CSS grid, no JS layout.
   ========================================================================== */

:root {
  /* Brand — official Holden blue (Pantone Classic Blue 19-4052) */
  --navy:        #0F4C81;
  --navy-deep:   #0E2233;
  --navy-ink:    #0A1A27;
  --navy-soft:   #1E5E96;

  /* Accent — brass */
  --brass:       #BE9B5B;
  --brass-light: #D9BE8A;
  --brass-dark:  #9C7C42;

  /* Neutrals — warm, not gray */
  --stone:       #F5F2ED;
  --stone-dark:  #E7E1D6;
  --stone-line:  #DED7CA;

  --ink:         #1C1C1C;
  --ink-soft:    #4F4F4F;
  --ink-mute:    #767676;
  --white:       #FFFFFF;

  --line-light:  rgba(255,255,255,.22);
  --line-dark:   rgba(14,34,51,.14);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gap:      32px;
  --section-y: clamp(72px, 9vw, 132px);
  --container: 1240px;
  --radius:   2px;

  --shadow-sm: 0 2px 10px rgba(14,34,51,.06);
  --shadow-md: 0 14px 40px rgba(14,34,51,.10);
  --shadow-lg: 0 28px 70px rgba(14,34,51,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Anchor targets stop clear of the fixed header instead of under it */
[id] { scroll-margin-top: 112px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--navy); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brass-dark); }
button { font: inherit; }
figure { margin: 0; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.9rem, 6.2vw, 5.1rem); line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.18; }
h4 { font-size: clamp(1.18rem, 1.5vw, 1.35rem); line-height: 1.3; font-weight: 600; }
h5 { font-size: 1.1rem; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin: 0 0 22px;
  line-height: 1.5;
}
.eyebrow--light { color: var(--brass-light); }

/* Heading in the brand blue rather than the near-black ink navy */
.heading-brand { color: var(--navy); }

.lead     { font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); }
.text-sm  { font-size: 15px; }
.text-xs  { font-size: 13.5px; line-height: 1.6; }
.muted    { color: var(--ink-mute); }

.display-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.1vw, 2.65rem);
  line-height: 1.32;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}

/* Brass hairline */
.rule { width: 64px; height: 2px; background: var(--brass); border: 0; margin: 0 0 30px; }
.rule--center { margin-left: auto; margin-right: auto; }
.rule--thin { height: 1px; width: 100%; background: var(--stone-line); margin: 0; }

/* ---------- Layout primitives (map 1:1 to Elementor flex containers) ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1440px; }

.section { padding: var(--section-y) 0; position: relative; }
.section--tight  { padding: clamp(52px, 6vw, 84px) 0; }
.section--stone  { background: var(--stone); }
.section--navy   { background: var(--navy-deep); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--navy h4, .section--navy h5 { color: #fff; }
.section--navy   { color: rgba(255,255,255,.76); }
.section--navy a { color: #fff; }
.section--white  { background: #fff; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: flex-start;
}
.row--middle  { align-items: center; }
.row--stretch { align-items: stretch; }
.row--between { justify-content: space-between; }
.row--center  { justify-content: center; }
/* Gap modifiers redefine --gap so the .col-* width calculations stay in step. */
.row--tight   { --gap: 18px; }
.row--wide    { --gap: 56px; }

.col      { flex: 1 1 0%; min-width: 0; }
.col-2    { flex: 1 1 calc(50% - (var(--gap) / 2)); min-width: 0; }
.col-3    { flex: 1 1 calc(33.333% - (var(--gap) * 2 / 3)); min-width: 0; }
.col-4    { flex: 1 1 calc(25% - (var(--gap) * 3 / 4)); min-width: 0; }
.col-5    { flex: 1 1 calc(20% - (var(--gap) * 4 / 5)); min-width: 0; }
.col-auto { flex: 0 0 auto; }
.col-full { flex: 1 1 100%; min-width: 0; }
.col-40   { flex: 1 1 calc(38% - (var(--gap) / 2)); min-width: 0; }
.col-60   { flex: 1 1 calc(62% - (var(--gap) / 2)); min-width: 0; }

.stack { display: flex; flex-direction: column; }
.stack--sm  { gap: 12px; }
.stack--md  { gap: 22px; }
.stack--lg  { gap: 40px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 28px; }
.mb-lg { margin-bottom: 52px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--brass   { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn--brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: #fff; }

.btn--navy    { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }

.btn--outline-dark { background: transparent; color: var(--navy-deep); border-color: var(--line-dark); }
.btn--outline-dark:hover { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }

.btn--block { width: 100%; }

/* Text link with brass underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--brass);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow::after { content: "\2192"; font-size: 15px; line-height: 1; }
.link-arrow:hover { gap: 15px; color: var(--brass-dark); }
.link-arrow--light { color: #fff; border-bottom-color: var(--brass); }
.link-arrow--light:hover { color: var(--brass-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1440px;
}
.site-logo { display: block; flex: 0 0 auto; }
.site-logo img {
  width: 208px;
  height: auto;
  transition: filter .35s var(--ease), width .35s var(--ease);
  filter: brightness(0) invert(1);   /* white over the hero image */
}

.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--brass-light); }

.header-actions { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.header-login {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.header-login:hover { color: var(--brass-light); }
.header-actions .btn { padding: 14px 26px; font-size: 11.5px; }

/* Scrolled / solid state */
.site-header.is-solid {
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--stone-line);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.site-header.is-solid .site-logo img { filter: none; width: 182px; }
.site-header.is-solid .main-nav a { color: var(--navy-deep); }
.site-header.is-solid .main-nav a:hover { color: var(--navy); }
.site-header.is-solid .main-nav a[aria-current="page"] { color: var(--navy); }
.site-header.is-solid .header-login { color: var(--ink-soft); }
.site-header.is-solid .header-login:hover { color: var(--navy); }
.site-header.is-solid .nav-toggle span { background: var(--navy-deep); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: #fff; margin-left: auto; margin-right: auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .3s var(--ease);
}

/* Mobile overlay menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px 28px 40px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: block;
}
.mobile-nav a:hover { color: var(--brass-light); }
.mobile-nav .mobile-nav__foot { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav .mobile-nav__foot a { font-family: var(--font-sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border: 0; padding: 0; }
.mobile-nav .btn { margin-top: 8px; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  padding: 190px 0 clamp(72px, 8vw, 118px);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,26,39,.94) 0%, rgba(10,26,39,.80) 38%, rgba(10,26,39,.34) 72%, rgba(10,26,39,.22) 100%),
    linear-gradient(180deg, rgba(10,26,39,.66) 0%, rgba(10,26,39,0) 34%, rgba(10,26,39,.55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255,255,255,.84);
  max-width: 560px;
  margin-bottom: 42px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Page hero (interior pages) */
.hero--page { min-height: 62vh; align-items: flex-end; padding: 170px 0 clamp(56px, 6vw, 88px); }
.hero--page h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); margin-bottom: 20px; }
.hero--page .hero__sub { margin-bottom: 0; }
.hero--compact { min-height: 46vh; padding: 158px 0 62px; }

/* Stat strip under hero */
.hero__stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(46px, 5vw, 70px);
  padding-top: 34px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hero__stats .stat { flex: 1 1 190px; }
.hero__stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero__stats .stat span { font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .03em; }

/* ==========================================================================
   Components
   ========================================================================== */

/* Section heading block */
.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-bottom: 0; }
.section-head h2 { margin-bottom: 20px; }

/* Split: heading left / copy right */
.split-head { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 76px); align-items: flex-start; }
.split-head__title { flex: 1 1 380px; min-width: 0; }
.split-head__title h2 { margin-bottom: 0; }
.split-head__body { flex: 1 1 460px; min-width: 0; }

/* Numbered pillar */
.pillar { display: flex; flex-direction: column; }
.pillar__num {
  font-family: var(--font-display);
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 20px;
  display: block;
}
.pillar h3 { margin-bottom: 14px; }
.pillar p { margin-bottom: 0; font-size: 16px; }
.pillar--bordered { padding-top: 28px; border-top: 1px solid var(--stone-line); }
.section--navy .pillar--bordered { border-top-color: var(--line-light); }
.section--navy .pillar p { color: rgba(255,255,255,.72); }

/* Icon box (maps to Elementor Icon Box) */
.icon-box { display: flex; flex-direction: column; padding: 38px 34px; background: #fff; border: 1px solid var(--stone-line); height: 100%; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease); }
.icon-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.icon-box__icon { width: 34px; height: 34px; margin-bottom: 24px; color: var(--brass); }
.icon-box__icon svg { width: 100%; height: 100%; display: block; }
.icon-box h3 { font-size: 1.32rem; margin-bottom: 12px; }
.icon-box p { font-size: 15.5px; margin-bottom: 0; }
.icon-box--stone { background: var(--stone); border-color: transparent; }
.icon-box--plain { background: transparent; border: 0; padding: 0; }
.icon-box--plain:hover { transform: none; box-shadow: none; }

/* Feature card with image */
.feature-card { display: flex; flex-direction: column; background: #fff; height: 100%; overflow: hidden; border: 1px solid var(--stone-line); }
.feature-card__media { overflow: hidden; }
.feature-card__media img { width: 100%; height: 260px; object-fit: cover; transition: transform .7s var(--ease); }
.feature-card:hover .feature-card__media img { transform: scale(1.05); }
.feature-card__body { padding: 34px 32px 38px; display: flex; flex-direction: column; flex: 1 1 auto; }
.feature-card__body h3 { margin-bottom: 14px; }
.feature-card__body p { font-size: 16px; }
.feature-card__body .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 22px; }

/* Persona / image tile with overlay caption */
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 32px 30px;
  color: #fff;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .8s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,26,39,.10) 30%, rgba(10,26,39,.86) 100%);
  transition: background .4s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: linear-gradient(180deg, rgba(10,26,39,.26) 20%, rgba(10,26,39,.92) 100%); }
.tile__label { position: relative; z-index: 2; width: 100%; }
.tile__label h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.tile__label p { font-size: 14.5px; color: rgba(255,255,255,.78); margin-bottom: 0; }
.tile--tall { min-height: 460px; }

/* Slim tile — taller and narrower, for a five-across row */
.tile--slim { min-height: 340px; padding: 26px 20px; }
.tile--slim .tile__label h3 { font-size: 1.26rem; line-height: 1.2; margin-bottom: 8px; }
.tile--slim .tile__label p { font-size: 13.8px; line-height: 1.45; }

/* Full-width closing tile — shallower and more cinematic than the 4-up row */
.tile--wide { min-height: 340px; padding: 40px 42px; }
.tile--wide::after { background: linear-gradient(90deg, rgba(10,26,39,.90) 0%, rgba(10,26,39,.66) 45%, rgba(10,26,39,.30) 100%); }
.tile--wide:hover::after { background: linear-gradient(90deg, rgba(10,26,39,.94) 0%, rgba(10,26,39,.74) 45%, rgba(10,26,39,.40) 100%); }
.tile--wide .tile__label { max-width: 560px; }
.tile--wide .tile__label h3 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); margin-bottom: 10px; }
.tile--wide .tile__label p { font-size: 15.5px; }

/* Media + text split block */
.media-split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 78px); }
.media-split__media { flex: 1 1 46%; min-width: 0; position: relative; }
.media-split__media img { width: 100%; height: clamp(360px, 42vw, 580px); object-fit: cover; }
.media-split__body { flex: 1 1 42%; min-width: 0; }
.media-split--reverse .media-split__media { order: 2; }

/* Brass frame accent on images */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  left: -18px; bottom: -18px;
  width: 58%; height: 58%;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  z-index: -1;
}

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 0 0 15px 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--stone-line);
  font-size: 16px;
}
.checklist li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background: var(--brass);
  transform: rotate(45deg);
}
.section--navy .checklist li { border-bottom-color: var(--line-light); color: rgba(255,255,255,.8); }

/* Numbered process list */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process__item {
  counter-increment: step;
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--stone-line);
  align-items: flex-start;
}
.process__item:last-child { border-bottom: 1px solid var(--stone-line); }
.process__item::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brass);
  flex: 0 0 56px;
  line-height: 1.3;
}
.process__body { flex: 1 1 auto; min-width: 0; }
.process__body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.process__body p { font-size: 16px; margin-bottom: 0; }
.section--navy .process__item { border-color: var(--line-light); }
.section--navy .process__body p { color: rgba(255,255,255,.72); }

/* Pull quote */
.quote-block { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 70px); align-items: center; }
.quote-block__figure { flex: 0 0 300px; max-width: 300px; }
.quote-block__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.quote-block__body { flex: 1 1 420px; min-width: 0; }
.quote-block__mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: .7;
  color: var(--brass);
  display: block;
  margin-bottom: 18px;
}
.quote-block cite {
  display: block;
  font-style: normal;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-dark);
}
.quote-block cite span { display: block; margin-top: 6px; letter-spacing: .06em; font-weight: 400; text-transform: none; font-size: 14px; color: var(--ink-mute); }
.section--navy .display-quote { color: #fff; }
.section--navy .quote-block cite { color: var(--brass-light); }
.section--navy .quote-block cite span { color: rgba(255,255,255,.6); }

/* Team card */
.team-card { display: flex; flex-direction: column; }
.team-card__photo { overflow: hidden; margin-bottom: 24px; background: var(--stone-dark); }
.team-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-card .role { font-size: 12.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 16px; }
.team-card p { font-size: 15.5px; }
.team-card--placeholder .team-card__photo {
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--stone-line);
  background: var(--stone);
  color: var(--ink-mute);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 20px;
}

/* Stat band */
.stat-band { display: flex; flex-wrap: wrap; gap: var(--gap); }
.stat-item { flex: 1 1 210px; padding-left: 24px; border-left: 2px solid var(--brass); }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.22;
  margin-bottom: 6px;
}
.stat-item span { font-size: 14.5px; color: var(--ink-mute); }
.section--navy .stat-item strong { color: #fff; }
.section--navy .stat-item span { color: rgba(255,255,255,.62); }

/* Article card */
.article-card { display: flex; flex-direction: column; height: 100%; background: #fff; }
.article-card__media { overflow: hidden; margin-bottom: 24px; }
.article-card__media img { width: 100%; height: 238px; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__meta { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 12px; }
.article-card h3 { font-size: 1.32rem; line-height: 1.26; margin-bottom: 12px; }
.article-card h3 a { color: var(--navy-deep); }
.article-card h3 a:hover { color: var(--navy); }
.article-card p { font-size: 15.5px; margin-bottom: 18px; }
.article-card .link-arrow { margin-top: auto; align-self: flex-start; }

.article-card--feature { flex-direction: row; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: center; }
.article-card--feature .article-card__media { flex: 1 1 52%; min-width: 0; margin-bottom: 0; }
.article-card--feature .article-card__media img { height: clamp(300px, 34vw, 420px); }
.article-card--feature .article-card__body { flex: 1 1 38%; min-width: 0; display: flex; flex-direction: column; }
.article-card--feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.article-card--feature p { font-size: 17px; }

/* Accordion — native details/summary, maps to Elementor Accordion */
.accordion { border-top: 1px solid var(--stone-line); }
.accordion details { border-bottom: 1px solid var(--stone-line); }
.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 600;
  color: var(--navy-deep);
  transition: color .25s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--navy); }
.accordion summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--brass);
  line-height: 1.1;
  flex: 0 0 auto;
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { content: "\2212"; }
.accordion__body { padding: 0 60px 28px 0; font-size: 16px; }
.accordion__body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-deep); padding: clamp(78px, 9vw, 128px) 0; }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,26,39,.93) 0%, rgba(10,26,39,.78) 55%, rgba(10,26,39,.55) 100%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 780px; margin-bottom: 22px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 580px; margin-bottom: 38px; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Portal card */
.portal-card { display: flex; flex-direction: column; padding: 44px 40px; background: #fff; border: 1px solid var(--stone-line); height: 100%; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.portal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.portal-card__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 18px; }
.portal-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.portal-card p { font-size: 16px; }
.portal-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Service tabs (maps to Elementor Tabs widget, vertical) ---------- */
.svc { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }

.svc__list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }
.svc__tab {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--stone-line);
  padding: 20px 16px 20px 0;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
  position: relative;
  transition: color .3s var(--ease), padding-left .3s var(--ease), background-color .3s var(--ease);
}
.svc__tab:last-child { border-bottom: 1px solid var(--stone-line); }
.svc__tab::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.svc__tab .svc__num {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-mute);
  flex: 0 0 auto;
  transition: color .3s var(--ease);
}
.svc__tab:hover { color: var(--navy); padding-left: 14px; }
.svc__tab[aria-selected="true"] { color: var(--navy); padding-left: 18px; }
.svc__tab[aria-selected="true"]::before { transform: scaleY(1); }
.svc__tab[aria-selected="true"] .svc__num { color: var(--brass-dark); }

.svc__panels { flex: 1 1 420px; min-width: 0; }
.svc__panel { background: #fff; border: 1px solid var(--stone-line); padding: clamp(30px, 3.4vw, 46px); }
.svc__panel:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.svc__icon { display: block; width: 38px; height: 38px; color: var(--brass); margin-bottom: 22px; }
.svc__icon svg { width: 100%; height: 100%; display: block; }
.svc__panel h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); margin-bottom: 14px; }
.svc__panel > p { font-size: 16.5px; margin-bottom: 26px; }
.svc__includes { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--stone-line); }
.svc__includes li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 15.5px; line-height: 1.6; }
.svc__includes li:last-child { margin-bottom: 0; }
.svc__includes li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg);
}

/* Without JS every panel simply stacks and stays readable */
.js .svc__panel { display: none; }
.js .svc__panel.is-active { display: block; animation: svcFade .45s var(--ease); }
@keyframes svcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .svc__list, .svc__panels { flex: 1 1 100%; }
  .svc__tab { font-size: 1.1rem; padding: 17px 12px 17px 0; }
}

/* ---------- Forms ---------- */
.form-field { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.form-field .req { color: var(--brass-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  padding: 15px 16px;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  background: #fff;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22,77,128,.10);
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 18px; line-height: 1.6; }

/* Honeypot — must stay in the DOM and stay invisible to people */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  border-left: 2px solid #9C3A2E;
  background: #FBF3F1;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 15px;
  color: #6E2A21;
}
.form-error p { margin: 0; }

/* Contact detail list */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--stone-line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 8px; }
.contact-list .value { font-size: 17px; color: var(--navy-deep); }
.contact-list .value a { color: var(--navy-deep); }
.contact-list .value a:hover { color: var(--navy); }

/* Editable placeholder marker */
.placeholder {
  background: rgba(190,155,91,.16);
  border-bottom: 1px dashed var(--brass);
  padding: 0 3px;
}

/* ---------- Article body ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 2.7vw, 2.3rem); margin-top: 52px; margin-bottom: 20px; }
.prose h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin-top: 38px; margin-bottom: 14px; }
.prose p { font-size: 17.5px; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.4em; }
.prose li { margin-bottom: 10px; font-size: 17.5px; line-height: 1.7; }
.prose blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 30px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--navy-deep);
}
.prose img { margin: 40px 0; }
.prose > *:first-child { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.62); padding: clamp(62px, 7vw, 92px) 0 0; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--brass-light); }
.footer-top { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); padding-bottom: 56px; }
.footer-brand { flex: 1 1 320px; min-width: 0; max-width: 380px; }
.footer-brand img { width: 220px; margin-bottom: 26px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.footer-cols { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); }
.footer-col { flex: 1 1 150px; min-width: 0; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { font-size: 15px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.footer-social a:hover { background: var(--brass); border-color: var(--brass); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 34px 0 44px; }
.footer-legal p { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.44); margin-bottom: 16px; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal__bar { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-legal__links a { font-size: 12.5px; letter-spacing: .04em; }
.footer-legal__copy { font-size: 12.5px; color: rgba(255,255,255,.44); }

/* ==========================================================================
   Scroll reveal (progressive enhancement — visible without JS)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .main-nav a { font-size: 13px; }
  .site-logo img { width: 180px; }

  /* Five-across gets too narrow here: drop to two, last one spans the row */
  .col-5 { flex: 1 1 calc(50% - (var(--gap) / 2)); }
  .persona-row .col-5:last-child { flex-basis: 100%; }
  .tile--slim { min-height: 360px; padding: 30px 28px; }
  .tile--slim .tile__label h3 { font-size: 1.3rem; }
  .tile--slim .tile__label p { font-size: 14.5px; }
}

@media (max-width: 980px) {
  [id] { scroll-margin-top: 84px; }
  .main-nav, .header-actions .btn, .header-login { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: 14px 0; }
  .site-header .container { justify-content: space-between; }

  .col-3, .col-4, .col-5 { flex: 1 1 calc(50% - (var(--gap) / 2)); }
  .media-split__media, .media-split__body { flex: 1 1 100%; }
  .media-split--reverse .media-split__media { order: 0; }
  .media-split__media img { height: clamp(300px, 52vw, 440px); }
  .article-card--feature { flex-direction: column; }
  .article-card--feature .article-card__media,
  .article-card--feature .article-card__body { flex: 1 1 100%; }
  .quote-block__figure { flex: 0 0 220px; max-width: 220px; }
  .hero { min-height: 84vh; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(10,26,39,.62) 0%, rgba(10,26,39,.42) 40%, rgba(10,26,39,.90) 100%);
  }
}

@media (max-width: 720px) {
  :root { --gap: 22px; }
  .row--wide { --gap: 28px; }
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .col-2, .col-3, .col-4, .col-5, .col-40, .col-60 { flex: 1 1 100%; }
  .split-head__title, .split-head__body { flex: 1 1 100%; }

  .hero { min-height: 640px; padding: 150px 0 62px; }
  .hero--page, .hero--compact { min-height: 440px; padding: 140px 0 52px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 22px; }
  .hero__stats .stat { flex: 1 1 100%; }

  .icon-box { padding: 30px 26px; }
  .portal-card { padding: 34px 28px; }
  .feature-card__body { padding: 28px 24px 32px; }
  .tile { min-height: 320px; padding: 26px 24px; }
  .tile--tall { min-height: 360px; }

  .quote-block { gap: 30px; }
  .quote-block__figure { flex: 0 0 180px; max-width: 180px; }

  .process__item { gap: 18px; padding: 24px 0; }
  .process__item::before { flex-basis: 40px; font-size: 1.25rem; }
  .accordion__body { padding-right: 0; }

  .cta-band::before { background: linear-gradient(180deg, rgba(10,26,39,.86) 0%, rgba(10,26,39,.92) 100%); }
  .cta-band__actions .btn { width: 100%; }

  .footer-brand, .footer-cols, .footer-col { flex: 1 1 100%; }
  .footer-legal__bar { flex-direction: column; align-items: flex-start; }
  .framed::before { display: none; }
}

@media (max-width: 420px) {
  .site-logo img { width: 156px; }
  .mobile-nav a { font-size: 1.6rem; }
}
