/* TheYong.com — The Yong Group
   Navy and gold from the group brand; Libre Caslon for headings, Manrope for text. */

:root {
  --navy: #0A2342;
  --gold: #C9A84C;
  --navy-deep: #061629;
  --gold-text: #8A6A1F;      /* gold that passes contrast on white */
  --gold-soft: #F4ECD6;
  --ink: #16263D;
  --muted: #55657A;
  --line: #D8DFE8;
  --mist: #EEF2F6;
  --white: #FFFFFF;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  font-variant-ligatures: no-common-ligatures;
}
/* Manrope turns "(c)" into "©" through a ligature. The `font:` shorthand used by many rules resets
   ligature settings, so this applies to every element (headings keep their serif ligatures). */
body :not(h1, h2, h3) { font-variant-ligatures: no-common-ligatures !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-variant-ligatures: common-ligatures; font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 3px; }
.skip:focus { top: 12px; color: #fff; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 12px 22px; border-radius: 3px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D8BB67; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.text-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.text-link--light { color: #fff; }
.text-link--light:hover { color: var(--gold); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { height: 56px; width: auto; }
.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 600 15px var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--gold-text); }
.sub-toggle::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); left: -8px; width: 340px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px -18px rgba(6,22,41,.35); display: none;
}
.has-sub.is-open .sub { display: block; }
.sub a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 2px; }
.sub a:hover { background: var(--mist); }
.sub-name { display: block; font-weight: 600; color: var(--navy); }
.sub-cat { display: block; font-size: 13px; color: var(--muted); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 36px; padding: 0 6px;
  font: 600 13px var(--sans); letter-spacing: .04em; color: var(--muted); text-decoration: none; border-radius: 2px;
}
.lang-switch a[aria-current="true"] { color: var(--navy); background: var(--gold-soft); }
.lang-switch a:hover { color: var(--navy); }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
    background: none; border: 1px solid var(--line); border-radius: 3px; font: 600 15px var(--sans); color: var(--navy); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  /* backdrop-filter would make the header the containing block for the fixed menu,
     squeezing the menu into the 76px header on phones. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .sub-toggle { width: 100%; min-height: 56px; padding: 0; font-size: 18px; justify-content: space-between; }
  .sub { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
  .sub a { padding: 10px 0; }
  .lang-switch { margin-top: 20px; }
  .lang-switch a { min-width: 52px; min-height: 44px; font-size: 15px; }
  body.nav-open { overflow: hidden; }
}

/* Hero ------------------------------------------------------------------- */
/* The hero is a centered frame (max 1440px) on a full-width navy band, so on wide screens
   the slideshow stays centered and the text lines up with the header logo. */
.hero { background: var(--navy); --frame: 1440px; --edge: max(var(--gutter), calc((min(100vw, var(--frame)) - var(--wrap)) / 2 + var(--gutter))); }
.hero-frame {
  display: grid; max-width: var(--frame); margin: 0 auto;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro stage" "index stage";
  grid-template-rows: 1fr auto;
  min-height: min(760px, calc(100vh - var(--header-h)));
}
.hero-intro {
  grid-area: intro; color: #fff; align-self: end;
  padding: clamp(36px, 4.5vw, 56px) clamp(24px, 4vw, 56px) 28px var(--edge);
}
.hero-motto { font: 600 15px var(--sans); color: var(--gold); letter-spacing: .06em; margin-bottom: 16px; }
.hero-title { color: #fff; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; max-width: 20ch; margin-bottom: 18px; text-wrap: balance; }
.hero-text { color: rgba(255,255,255,.82); max-width: 48ch; font-size: 16px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }

.stage { grid-area: stage; position: relative; overflow: hidden; background: var(--navy-deep); min-height: 520px; }
.stage-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide-img { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,22,41,0) 22%, rgba(6,22,41,.5) 52%, rgba(6,22,41,.9) 100%); }
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(24px, 4vw, 56px) 88px; color: #fff; max-width: 760px; }
.slide-logo { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 2px; margin-bottom: 18px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.slide-logo img { height: 48px; width: auto; }
.slide-name { font: 600 15px var(--sans); color: var(--gold); margin-bottom: 8px; }
.slide-title { color: #fff; font-size: clamp(28px, 3vw, 42px); max-width: 22ch; margin-bottom: 12px; text-wrap: balance; }
.slide-text { color: rgba(255,255,255,.88); max-width: 52ch; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.stage-controls { position: absolute; right: clamp(16px, 3vw, 40px); bottom: 24px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.ctrl {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.5); background: rgba(6,22,41,.35); color: #fff; border-radius: 50%; cursor: pointer;
}
.ctrl:hover { background: #fff; color: var(--navy); }
.ctrl svg { width: 20px; height: 20px; }
.ctrl .i-play { display: none; }
.stage.is-paused .ctrl .i-play { display: block; }
.stage.is-paused .ctrl .i-pause { display: none; }
.stage-count { color: rgba(255,255,255,.8); font: 600 14px var(--sans); margin-left: 6px; min-width: 44px; font-variant-numeric: tabular-nums; }

/* The business index: the memorable part of the hero */
.stage-index {
  grid-area: index; counter-reset: idx;
  padding: 4px clamp(24px, 4vw, 56px) clamp(28px, 3vw, 44px) var(--edge);
}
.index-item {
  width: 100%; display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline; text-align: left; font-family: var(--sans);
  padding: 7px 0; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.66); cursor: pointer;
  position: relative;
}
.index-item::before { counter-increment: idx; content: counter(idx, decimal-leading-zero); font: 600 12px var(--sans); color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }
.index-name { font: 400 16.5px/1.25 var(--serif); color: inherit; }
.index-role { grid-column: 2; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.6); display: none; }
.index-item.is-active .index-role { display: block; }
.index-item:hover { color: #fff; }
.index-item.is-active { color: #fff; }
.index-item.is-active::before { color: var(--gold); }
.index-item.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold);
  transform-origin: left; animation: progress var(--slide-ms, 7000ms) linear both;
}
.stage.is-paused ~ .stage-index .index-item.is-active::after,
.hero.is-paused .index-item.is-active::after { animation: none; transform: scaleX(1); }
.hero.is-holding .index-item.is-active::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .hero-frame { grid-template-columns: 1fr; grid-template-areas: "intro" "stage" "index"; grid-template-rows: auto; min-height: 0; }
  .hero-intro { padding: 40px var(--gutter) 36px; }
  .stage { min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; }
  .slide-body { padding-bottom: 84px; }
  .slide-logo img { height: 38px; }
  .stage-index { display: flex; overflow-x: auto; gap: 8px; padding: 14px var(--gutter) 22px; scroll-snap-type: x mandatory; }
  .stage-index li { flex: 0 0 auto; scroll-snap-align: start; }
  .index-item { grid-template-columns: auto; width: auto; padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; }
  .index-item::before, .index-role, .index-item.is-active .index-role { display: none; }
  .index-name { font: 600 14px var(--sans); white-space: nowrap; }
  .index-item.is-active { border-color: var(--gold); }
  .index-item.is-active::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .slide.is-active .slide-img { animation: none; }
  .index-item.is-active::after { animation: none; transform: scaleX(1); }
}

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }
.section-title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; text-wrap: balance; }
.section-title--sm { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 62ch; }

/* Logo wall: a single ruled grid, not floating cards */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-tile { display: flex; flex-direction: column; height: 100%; padding: 28px 24px 26px; text-decoration: none; color: var(--ink); position: relative; }
.logo-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.logo-tile:hover::after, .logo-tile:focus-visible::after { transform: scaleX(1); }
.logo-tile:hover { color: var(--ink); background: #FBFCFD; }
.logo-tile-img { height: 104px; display: flex; align-items: center; margin-bottom: 18px; }
.logo-tile-img img { max-height: 96px; max-width: 200px; width: auto; object-fit: contain; }
.logo-tile-name { font: 400 19px/1.25 var(--serif); color: var(--navy); }
.logo-tile-cat { font-size: 13px; font-weight: 600; color: var(--gold-text); margin: 4px 0 10px; }
.logo-tile-sum { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.logo-wall > li:nth-child(5) { grid-column-start: 1; }
@media (min-width: 1101px) {
  /* 4 + 3 layout: the last row of three spreads across the full width */
  .logo-wall { grid-template-columns: repeat(12, 1fr); }
  .logo-wall > li { grid-column: span 3; }
  .logo-wall > li:nth-child(n+5):nth-last-child(-n+3) { grid-column: span 4; }
  .logo-wall > li:nth-child(5) { grid-column-start: auto; }
}
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .logo-wall { grid-template-columns: 1fr; }
  .logo-tile { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 20px 16px; }
  .logo-tile-img { height: 64px; width: 110px; margin: 0; }
  .logo-tile-img img { max-height: 60px; max-width: 100%; }
  .logo-tile-name { flex: 1 1 0; }
  .logo-tile-cat { flex-basis: 100%; margin: 0; }
  .logo-tile-sum { display: none; }
}

/* Journey */
/* Working together (ecosystem infographic) ------------------------------------------------ */
.section.eco { background: var(--mist); }
.eco-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.eco-picker[hidden] { display: none; }
.eco-picker-label { font-weight: 600; font-size: 15px; color: var(--muted); margin-right: 6px; }
.eco-tab {
  min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #C5CEDA; background: #fff;
  font: 600 14.5px/1.2 var(--sans); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.eco-tab:hover { border-color: var(--navy); }
.eco-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.eco-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.eco-ring { position: relative; margin: 0 0 0 -2%; width: 104%; max-width: 760px; justify-self: center; }
@media (min-width: 1280px) { .eco-ring { position: sticky; top: calc(var(--header-h) + 24px); } }
.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-track { fill: none; stroke: var(--navy); stroke-opacity: .1; stroke-width: 1; }
.eco-spoke { fill: none; stroke: var(--navy); stroke-opacity: .22; stroke-width: 1.5; stroke-dasharray: 3 6; transition: stroke-opacity .2s, stroke .2s; }
.eco-arc { fill: none; stroke: #B08A2E; stroke-width: 2.5; stroke-linecap: round; transition: opacity .25s; }
.eco-route path { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.eco-route path.eco-route-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: eco-draw .7s ease-out forwards; animation-delay: var(--delay, 0s); }
@keyframes eco-draw { to { stroke-dashoffset: 0; } }
.eco-pulse { fill: var(--gold); opacity: .9; }

.eco-hub {
  position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4%; box-shadow: 0 0 0 10px rgba(201,168,76,.18);
}
.eco-hub-you { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--serif); color: var(--gold); margin-bottom: 6px; }
.eco-hub-text { font-size: clamp(11px, 1vw, 13.5px); line-height: 1.3; color: rgba(255,255,255,.85); max-width: 13ch; }

.eco-node {
  position: absolute; width: var(--size); transform: translate(-50%, -50%); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; transition: opacity .25s;
}
.eco-node-disc {
  width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid #D5DCE5;
  display: flex; align-items: center; justify-content: center; padding: 14%;
  box-shadow: 0 10px 24px -16px rgba(10,35,66,.6); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.eco-node-disc img { width: 100%; height: 100%; object-fit: contain; }
.eco-node-num {
  position: absolute; top: -4%; right: -4%; width: 30%; min-width: 22px; aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep); font: 700 clamp(11px, 1vw, 13px)/1 var(--sans);
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--mist);
}
.eco-node-label {
  position: absolute; width: 132px; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--navy);
}
.eco-label-top .eco-node-label { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); text-align: center; }
.eco-label-bottom .eco-node-label { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); text-align: center; }
.eco-label-right .eco-node-label { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); text-align: left; }
.eco-label-left .eco-node-label { right: calc(100% + 10px); top: 50%; transform: translateY(-50%); text-align: right; }
.eco-node:hover .eco-node-disc, .eco-node:focus-visible .eco-node-disc, .eco-node.is-hl .eco-node-disc {
  border-color: var(--gold); transform: scale(1.06); box-shadow: 0 14px 30px -16px rgba(10,35,66,.7);
}
.eco-spoke.is-hl { stroke: var(--gold-text); stroke-opacity: .9; stroke-dasharray: none; }

.eco-wrap.is-path .eco-arc, .eco-wrap.is-path .eco-pulse { opacity: 0; }
.eco-wrap.is-path .eco-node.is-dim { opacity: .28; }
.eco-wrap.is-path .eco-node.is-dim .eco-node-num { visibility: hidden; }
.eco-wrap.is-path .eco-node.is-on .eco-node-disc { border-color: var(--navy); border-width: 3px; }
.eco-wrap.is-path .eco-node.is-on .eco-node-num { background: var(--navy); color: #fff; }

.eco-panel[hidden] { display: none; }
.eco-panel-intro { font: 400 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--navy); margin-bottom: 18px; }
.eco-list { counter-reset: none; margin-bottom: 18px; }
.eco-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid #D5DCE5; transition: background-color .2s; }
.eco-item:first-child { border-top: 2px solid var(--navy); }
.eco-item.is-hl { background: rgba(201,168,76,.12); }
.eco-item-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-deep);
  font: 700 13px/30px var(--sans); text-align: center;
}
.eco-panel:not([data-profile="all"]) .eco-item-num { background: var(--navy); color: #fff; }
.eco-item-role { font: 400 19px/1.25 var(--serif); color: var(--navy); margin: 0 0 2px; }
.eco-item-name { font-size: 14.5px; font-weight: 700; color: var(--gold-text); text-decoration: none; }
.eco-panel:not([data-profile="all"]) .eco-item-name { font-size: 16px; color: var(--navy); }
.eco-item-name:hover { text-decoration: underline; }
.eco-item-text { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.eco-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid #C5CEDA; }
.eco-why li { padding-top: 22px; }
.eco-why h3 { font: 700 17px/1.3 var(--sans); color: var(--navy); margin-bottom: 6px; }
.eco-why h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.eco-why p { margin: 0; color: var(--muted); font-size: 15.5px; }

@media (max-width: 1279px) {
  .eco-grid { grid-template-columns: 1fr; }
  .eco-ring { max-width: 720px; width: 100%; margin: 0; position: relative; top: auto; }
}
@media (max-width: 640px) {
  .eco-picker { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .eco-picker::-webkit-scrollbar { display: none; }
  .eco-picker-label { display: none; }
  .eco-tab { flex: 0 0 auto; }
  .eco-node-label { display: none; }
  .eco-node-disc { padding: 12%; }
  /* Names are hidden on phones, so crop the side room kept for them and let the ring fill the width. */
  .eco-wrap { overflow-x: clip; }
  .eco-ring { width: 128%; max-width: none; margin: -2% 0 -2% -14%; }
  .eco-hub-text { display: none; }
  .eco-why { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .eco-pulse { display: none; }
  .eco-route path.eco-route-line { animation: none; stroke-dashoffset: 0; }
  .eco-node-disc { transition: none; }
}

/* Numbers */
.stats { background: var(--navy); color: #fff; padding: 48px 0; }
.stats-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font: 400 clamp(36px, 4vw, 48px)/1 var(--serif); color: var(--gold); margin-bottom: 10px; }
.stat dt { font-size: 15px; color: rgba(255,255,255,.8); max-width: 24ch; }
@media (max-width: 640px) {
  .stats-list { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat { padding: 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Timelines */
.timeline-h { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; overflow-x: auto; border-top: 2px solid var(--navy); scroll-snap-type: x proximity; padding-bottom: 8px; }
.timeline-h li { padding: 22px 24px 0 0; scroll-snap-align: start; position: relative; }
.timeline-h li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; }
.tl-year { font: 400 34px/1 var(--serif); color: var(--gold-text); margin-bottom: 10px; font-variant-numeric: lining-nums; }
.tl-title { font: 700 17px/1.3 var(--sans); color: var(--navy); margin-bottom: 6px; }
.tl-text { color: var(--muted); font-size: 15px; }
.timeline-v { max-width: 860px; }
.timeline-v li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline-v li:first-child { border-top: 2px solid var(--navy); }
@media (max-width: 640px) { .timeline-v li { grid-template-columns: 1fr; gap: 6px; } }

/* Call to action */
.cta-band { background: var(--gold-soft); padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid #E6D9B3; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-title { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 8px; }
.cta-text { color: var(--ink); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Business page ---------------------------------------------------------- */
.biz-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; background: var(--navy); color: #fff; overflow: hidden; }
.biz-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,22,41,.92) 0%, rgba(6,22,41,.72) 45%, rgba(6,22,41,.25) 100%); }
.biz-hero-body { position: relative; padding-top: 72px; padding-bottom: 64px; }
.biz-logo { display: inline-flex; background: #fff; padding: 12px 16px; border-radius: 2px; margin-bottom: 24px; }
.biz-logo img { height: 64px; width: auto; }
.biz-cat { font: 600 15px var(--sans); color: var(--gold); margin-bottom: 10px; }
.biz-title { color: #fff; font-size: clamp(34px, 4.4vw, 58px); max-width: 18ch; margin-bottom: 12px; text-wrap: balance; }
.biz-tagline { font: italic 400 clamp(19px, 2vw, 24px)/1.35 var(--serif); color: rgba(255,255,255,.9); max-width: 40ch; }
.biz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.biz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.biz-section + .biz-section { margin-top: 56px; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.service-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-title { font: 700 17px/1.3 var(--sans); color: var(--navy); margin-bottom: 6px; }
.service-desc { color: var(--muted); font-size: 15.5px; margin: 0; }
.highlight-list li { position: relative; padding: 10px 0 10px 32px; font-weight: 500; }
.highlight-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border: solid var(--gold-text); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.biz-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 28px; background: #fff; }
.contact-card-title { font: 700 13px var(--sans); letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.person { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.person-photo { width: 88px; height: 112px; object-fit: cover; object-position: top; border-radius: 2px; }
.person-name { font: 400 21px/1.2 var(--serif); color: var(--navy); margin-bottom: 4px; }
.person-title { margin: 0; font-weight: 600; font-size: 15px; }
.person-license { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.contact-list { margin: 0 0 20px; }
.contact-list > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-size: 13px; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.contact-follow { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 22px; }
.social-row a { font-weight: 600; font-size: 15px; }
.disclosures { background: var(--mist); padding: 40px 0; border-top: 1px solid var(--line); }
.disclosures-title { font: 700 13px var(--sans); letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.disclosures-note { font-size: 14px; color: var(--muted); font-style: italic; }
.disclosures-body { font-size: 14.5px; line-height: 1.65; color: var(--ink); max-width: 90ch; }
.disclosures-body p { margin-bottom: .6em; }
.explore { padding: clamp(48px, 6vw, 72px) 0; }
.explore-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.explore-list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explore-list a { display: flex; flex-direction: column; gap: 10px; padding: 18px; height: 100%; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy); }
.explore-list a:hover { background: var(--mist); }
.explore-list img { height: 56px; width: auto; max-width: 130px; object-fit: contain; }
@media (max-width: 960px) {
  .biz-layout { grid-template-columns: 1fr; }
  .biz-aside { position: static; }
  .service-list { grid-template-columns: 1fr; }
  .biz-hero { min-height: 460px; }
  .biz-hero-shade { background: linear-gradient(180deg, rgba(6,22,41,.55) 0%, rgba(6,22,41,.92) 70%); }
  .biz-logo img { height: 48px; }
}

/* Content pages ---------------------------------------------------------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); border-bottom: 4px solid var(--gold); }
.page-title { color: #fff; font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 14px; }
.page-lede { color: rgba(255,255,255,.82); font-size: 19px; max-width: 60ch; margin: 0; }
.page-body { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 88px); }
.prose-page { max-width: 72ch; }
.prose-page h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .6em; }
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { font: 700 18px/1.3 var(--sans); margin: 1.4em 0 .4em; }
.prose-page ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose-page li { margin-bottom: .4em; }
.prose-page .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); margin: 28px 0 8px; max-width: none; }
.prose-page .pillars > div { padding: 20px 24px 8px 0; }
.prose-page .pillars h3 { font: 400 26px/1.2 var(--serif); color: var(--gold-text); margin: 0 0 8px; }
.prose-page .pillars p { font-size: 16px; color: var(--muted); }
@media (max-width: 760px) { .prose-page .pillars { grid-template-columns: 1fr; } }
.page-vision .prose-page, .page-about .prose-page { font-size: 18px; line-height: 1.75; }

/* Contact ---------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 88px); }
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form label { font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid #B9C4D2; border-radius: 3px; padding: 12px 14px; min-height: 48px;
}
.form textarea { resize: vertical; min-height: 160px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(201,168,76,.45); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 3px; margin-bottom: 22px; font-weight: 500; }
.notice p { margin: 0; }
.notice-ok { background: #E6F2EA; border-left: 4px solid #2E7D4F; color: #1D4D31; }
.notice-error { background: #FBEAEA; border-left: 4px solid #B3261E; color: #7A1A14; }
.office { background: var(--mist); padding: 24px; margin-bottom: 32px; border-top: 4px solid var(--gold); }
.office-name { font: 400 21px var(--serif); color: var(--navy); margin-bottom: 8px; }
.dir li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dir-name { font-weight: 700; text-decoration: none; display: block; margin-bottom: 4px; }
.dir-lines { display: flex; flex-direction: column; font-size: 15px; color: var(--muted); }
.dir-lines a { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Error ------------------------------------------------------------------ */
.error-page { background: var(--navy); color: #fff; padding: 96px 0 120px; }
.error-code { font: 400 96px/1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.error-page .page-lede { margin-bottom: 32px; }
.error-page .btn-navy { background: var(--gold); color: var(--navy-deep); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 14px; }
.footer-tagline { color: var(--gold); font-weight: 600; letter-spacing: .04em; margin-bottom: 10px; }
.footer-about { max-width: 46ch; }
.footer-brand address { line-height: 1.8; margin-bottom: 14px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-h { font: 700 13px var(--sans); letter-spacing: .08em; color: rgba(255,255,255,.55); margin: 0 0 14px; }
.footer-links { margin-bottom: 28px; }
.footer-links li { padding: 4px 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.12); }
.copyright { margin: 0; font-size: 14px; }
.lang-switch--footer a { color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: 0; min-width: 0; padding: 0 8px; }
.lang-switch--footer a[aria-current="true"] { color: var(--navy-deep); background: var(--gold); }
.site-footer .lang-switch--footer a:hover { text-decoration: none; color: #fff; }
.site-footer .lang-switch--footer a[aria-current="true"]:hover { color: var(--navy-deep); }
.powered { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.75) !important; }
.powered img { height: 40px; width: auto; }
.powered-name { color: #fff; font-weight: 600; }
.site-footer .powered:hover { text-decoration: none; }
.site-footer .powered:hover .powered-name { color: var(--gold); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .stage-controls, .stage-index, .cta-band, .explore, .site-footer .lang-switch { display: none !important; }
}

/* Captcha */
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-img { display: block; width: 200px; height: 64px; border: 1.5px solid #B9C4D2; border-radius: 3px; background: #F6F2E6; }
.captcha-refresh { min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 3px; font: 600 15px/1.2 var(--sans); cursor: pointer; }
.captcha-refresh:hover, .captcha-refresh:focus-visible { background: var(--navy); color: #fff; }
.form .captcha-input { max-width: 220px; letter-spacing: .18em; text-transform: uppercase; }
.captcha-math .captcha-input { letter-spacing: normal; max-width: 120px; }
.captcha-help { margin: 0; font-size: 14px; color: #55657A; }
.captcha-remote { margin-bottom: 18px; min-height: 78px; }

/* "For real estate agents" section on business pages */
.biz-agents { background: #F6F2E6; border-left: 4px solid var(--gold, #C9A84C); padding: 28px 30px; border-radius: 3px; }
.biz-agents p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: #33435A; max-width: 62ch; }
@media (max-width: 640px) { .biz-agents { padding: 22px 20px; } }
#working-together { scroll-margin-top: 88px; }
