:root {
  --navy: #0f2847;
  --navy-deep: #0a1c33;
  --burgundy: #0f2847;
  --burgundy-deep: #0a1c33;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e4e8ec;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --char: #2b2b2b;
  --teal: #1a5f7a;
  --teal-deep: #134a5f;
  --gold: #c9a227;
  --gold-light: #e8d48a;
  --aqua: #2a7d8c;
  --rail: 1170px;
  --header-h: 78px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(var(--rail), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Utility bar */
.topbar {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
}

.topbar-sep {
  color: #ccc;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 0 #f2f2f2;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 210px;
  height: auto;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a {
  font-size: 14px;
  color: #444;
  padding: 28px 0;
  display: inline-block;
}

.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: #888;
  transform: translateY(2px);
}

.has-sub {
  position: relative;
}

.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 10, 16, 0.12);
  z-index: 20;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: block;
}

.sub a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: #444;
}

.sub a:hover {
  background: var(--wash);
  color: var(--navy);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-btn {
  border: 0;
  background: none;
  color: #444;
  padding: 8px;
  cursor: pointer;
}

.btn-contact {
  background: var(--burgundy);
  color: #fff;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
}

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  padding: 8px 6px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #222;
  margin: 5px 0;
}

/* Hero + Ken Burns */
.hero {
  position: relative;
  width: min(var(--rail), calc(100% - 40px));
  margin: 28px auto 10px;
}

.hero-viewport {
  position: relative;
  height: 529px;
  overflow: hidden;
  background: #d7dee4;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1200ms ease-in-out;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-media,
.hero-photo {
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-slide.is-active .hero-photo[data-play="in-tr"] {
  animation: ken-in-tr 8s linear both;
}

.hero-slide.is-active .hero-photo[data-play="in-bl"] {
  animation: ken-in-bl 8s linear both;
}

.hero-slide.is-active .hero-photo[data-play="in-tl"] {
  animation: ken-in-tl 8s linear both;
}

.hero-slide.is-active .hero-photo[data-play="out-br"] {
  animation: ken-out-br 8s linear both;
}

@keyframes ken-in-tr {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.18) translate(-4%, 3%); }
}

@keyframes ken-in-bl {
  from { transform: scale(1.16) translate(3%, -3%); }
  to { transform: scale(1) translate(0, 0); }
}

@keyframes ken-in-tl {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.2) translate(4%, 4%); }
}

@keyframes ken-out-br {
  from { transform: scale(1.2) translate(-3%, -3%); }
  to { transform: scale(1) translate(0, 0); }
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 420px;
  padding: 92px 56px 0;
  color: #1b1b1b;
}

.hero-copy.left {
  text-align: left;
}

.hero-copy.right {
  margin-left: auto;
  text-align: left;
  padding-top: 140px;
  padding-right: 72px;
}

.hero-copy.teal h2,
.hero-copy.accent h2 {
  color: var(--gold);
  font-weight: 500;
  font-size: 42px;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.hero-copy p {
  margin: 0 0 22px;
  color: #4a4a4a;
  max-width: 34ch;
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 8px 18px 8px 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
}

.btn-learn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.btn-learn.inverse {
  background: #fff;
  color: var(--burgundy);
  border-color: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 60px;
  height: 60px;
  border: 0;
  background: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

.hero-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
}

.hero-arrow.prev::before { transform: rotate(45deg); }
.hero-arrow.next::before { transform: rotate(-135deg); }

.hero-pager {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.hero-pager button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: inset 0 0 0 2px #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-pager button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #fff;
  transition: height 0.3s ease;
}

.hero-pager button.is-on::after,
.hero-pager button:hover::after {
  height: 100%;
}

/* Shared titles */
.section-title {
  margin: 0 0 42px;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
}

.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--burgundy);
}

.plain-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  color: #3a3a3a;
}

.plain-title.on-photo {
  color: #222;
}

/* Photo slots: add files in img/ later. Gradients keep Ken Burns readable until then. */
.photo-research {
  background-color: #b9c8d4;
  background-image:
    radial-gradient(ellipse 70% 55% at 78% 18%, #ffffff 0%, transparent 46%),
    linear-gradient(180deg, #8ec4e6 0%, #d7e7ef 36%, #9aa88a 68%, #5d6d4e 100%);
}

.photo-welcome {
  background-color: #8fae8a;
  background-image:
    radial-gradient(ellipse 50% 40% at 30% 20%, #f4f8e8 0%, transparent 50%),
    linear-gradient(165deg, #b7d3c0 0%, #7ea07a 42%, #4f6a48 100%);
}

.photo-purpose {
  background-color: #1c1c1c;
  background-image:
    radial-gradient(circle at 28% 40%, #3a3a3a 0%, transparent 34%),
    radial-gradient(circle at 72% 38%, #2a2a2a 0%, transparent 32%),
    linear-gradient(90deg, #111 0%, #1c1c1c 48%, #151515 100%);
}

.photo-partner {
  background-color: #2a3640;
  background-image:
    radial-gradient(ellipse 80% 50% at 70% 0%, #4a6570 0%, transparent 55%),
    linear-gradient(180deg, #1a242c 0%, #2a3640 50%, #12181d 100%);
}

.photo-handshake {
  background:
    radial-gradient(circle at 30% 40%, #3a3a3a, #111 70%);
}

.photo-svc-1 { background: #efe7dc; }
.photo-svc-2 { background: #dce8df; }
.photo-svc-3 { background: #d5dde4; }
.photo-svc-4 { background: #e8d8d2; }
.photo-svc-5 { background: #d9d6e4; }
.photo-svc-6 { background: #d8e4ea; }

.photo-insight-1 { background: linear-gradient(160deg, #c5d0c2, #8a9a86); }
.photo-folio-1 { background: linear-gradient(135deg, #f3b23a, #f7d48a); }
.photo-folio-2 { background: #d9e2ea; }
.photo-folio-3 { background: #cfd8c8; }

.photo-figures {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.55)),
    linear-gradient(180deg, #dce6ee 0%, #c5d2dc 100%);
}

.photo-contact {
  background:
    linear-gradient(180deg, rgba(0, 168, 181, 0.78), rgba(0, 138, 148, 0.84)),
    linear-gradient(180deg, #7aa8b0, #4e7c82);
}

.photo-lead-1 { background: #cfcfcf; }
.photo-lead-2 { background: #c4c4c4; }
.photo-lead-3 { background: #bdbdbd; }
.photo-lead-4 { background: #b6b6b6; }
.photo-lead-5 { background: #afafaf; }
.photo-lead-6 { background: #a8a8a8; }

.circle-media,
.portrait,
.about-photo,
.feature-photo,
.portfolio-card {
  background-size: cover;
  background-position: center;
}

/* Services */
.services {
  padding: 72px 0 40px;
}

.carousel {
  position: relative;
}

.car-viewport {
  overflow: hidden;
}

.car-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.55s var(--ease);
}

.car-track > li {
  flex: 0 0 25%;
  padding: 10px 18px;
  text-align: center;
}

.circle-media {
  width: 168px;
  height: 168px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: block;
}

.car-track h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.car-btn {
  position: absolute;
  top: 78px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.car-btn.prev { left: -8px; }
.car-btn.next { right: -8px; }

.car-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-left: 2px solid #444;
  border-bottom: 2px solid #444;
}

.car-btn.prev::before { transform: rotate(45deg); }
.car-btn.next::before { transform: rotate(-135deg); }

.car-btn.light {
  top: 42%;
  background: #fff;
}

.car-btn.ghost {
  top: 8px;
  border-color: transparent;
}

/* About */
.about {
  padding: 48px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  min-height: 370px;
  width: 100%;
  margin: 0;
}

.about-copy p {
  color: #555;
  margin: 0 0 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.about-stats h3 {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.stat-icon {
  display: block;
  width: 28px;
  height: 28px;
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  position: relative;
}

.stat-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: 0.15;
}

/* Value + Mission */
.value,
.mission {
  padding: 56px 0 40px;
}

.mission {
  background: var(--wash);
  padding-bottom: 72px;
}

.value-grid,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
}

.value article h3,
.mission article h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.value p,
.mission p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.gem {
  width: 10px;
  height: 10px;
  display: inline-block;
  transform: rotate(45deg);
  flex: 0 0 10px;
}

.gem.gold { background: var(--gold); }
.gem.teal { background: var(--teal); }
.gem.aqua { background: var(--aqua); }

/* Newsletter */
.newsletter {
  background: var(--char);
  color: #fff;
}

.newsletter-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsletter h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

.btn-signup {
  border: 1px solid #fff;
  padding: 8px 22px;
  border-radius: 2px;
  font-size: 14px;
}

/* Insights */
.insights {
  padding: 72px 0 48px;
}

.insights-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.feature-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.feature-brand p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.insight-feature h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
}

.feature-photo {
  min-height: 210px;
  margin: 0;
}

.insight-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.insight-list h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.insight-list a {
  color: var(--burgundy);
  font-size: 13px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
}

.dots li.is-on {
  background: #888;
}

/* Portfolio */
.portfolio {
  padding: 28px 0 64px;
  background: var(--wash);
}

.portfolio-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.portfolio-track > li {
  flex: 0 0 100%;
  padding: 0 48px;
}

.portfolio-card {
  height: 280px;
  margin: 0 0 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-track p {
  text-align: center;
  color: #666;
}

/* Key figures + parallax */
.figures {
  min-height: 402px;
  padding: 72px 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.fig-label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

.fig-num {
  display: block;
  font-size: 48px;
  font-weight: 300;
  color: #222;
}

/* Partners */
.partners {
  padding: 64px 0 48px;
}

.partner-track > li {
  flex: 0 0 20%;
}

.partner-mark {
  display: grid;
  place-items: center;
  min-height: 72px;
  color: #8a8a8a;
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* Leadership */
.leadership {
  padding: 24px 0 56px;
}

.leader-track > li {
  flex: 0 0 25%;
}

.portrait {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px;
}

.leader-track h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.leader-track p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #777;
}

.team-link {
  text-align: right;
  margin: 8px 8px 0 0;
}

.team-link a {
  color: var(--burgundy);
  font-size: 14px;
}

/* Events + careers */
.events {
  padding: 12px 0 48px;
}

.events-empty {
  text-align: center;
  color: #777;
}

.careers-band {
  background: var(--burgundy);
  color: #fff;
}

.careers-inner {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.careers-inner h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 500;
}

.careers-inner p {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
}

/* Contact */
.contact {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  background-size: cover;
  background-position: 50% 50%;
}

.contact-card {
  width: min(420px, 100%);
  text-align: center;
  color: #fff;
}

.contact-logo {
  margin: 0 auto 18px;
  filter: brightness(10);
  width: 120px;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}

.contact-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  padding: 10px 4px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.btn-send {
  margin-top: 8px;
  border: 0;
  background: #fff;
  color: var(--teal-deep);
  padding: 10px 22px;
  justify-self: center;
  cursor: pointer;
  min-width: 160px;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 48px 0 36px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.footer-grid p,
.footer-grid li {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-bar {
  border-top: 1px solid #eee;
}

.footer-bar-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #888;
  font-size: 12px;
}

.footer-bar nav,
.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--navy);
}

.section-lead {
  max-width: 62ch;
  margin: -8px auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.governance-block {
  background: var(--navy);
  color: #e8ecf0;
  padding: 48px 0;
}

.governance-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.governance-inner h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}

.governance-inner p {
  margin: 0;
  max-width: 72ch;
  color: #c5d0dc;
  font-size: 14px;
  line-height: 1.65;
}

.governance-block .btn-learn {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  flex-shrink: 0;
}

.governance-block .btn-learn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.compliance-strip {
  padding: 56px 0 64px;
  background: var(--wash);
}

.compliance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.compliance-card {
  display: block;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.compliance-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(15, 40, 71, 0.08);
}

.compliance-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.compliance-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.text-band {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.text-band.muted {
  background: var(--wash);
}

.text-band-inner {
  max-width: 820px;
}

.text-band h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.text-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-grid--uriah {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

/* Legal pages */
.legal-page .site-header--compact .header-inner {
  min-height: 68px;
}

.legal-main {
  padding: 48px 0 72px;
  max-width: 780px;
}

.legal-main h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
}

.legal-updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

.legal-main h2 {
  margin: 32px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.legal-main p,
.legal-main li {
  color: #444;
  font-size: 15px;
  line-height: 1.65;
}

.legal-main ul {
  padding-left: 1.25rem;
}

.legal-main a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Desktop-only corporate site */
body.desktop-site {
  min-width: 1200px;
}

body.desktop-site .menu-btn {
  display: none !important;
}

body.desktop-site .nav {
  display: block !important;
  position: static;
  box-shadow: none;
}

body.desktop-site .nav-list {
  flex-direction: row;
}

body.desktop-site .sub {
  position: absolute;
}

/* —— Content pages —— */
.page-hero {
  position: relative;
  padding: 56px 0 48px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1a3d5c 100%);
  color: #e8eef4;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(201, 162, 39, 0.12) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.04) 50%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.page-hero .lead {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
  color: #b8c5d4;
}

.page-hero .breadcrumb {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-hero--photo {
  background-size: cover;
  background-position: center;
  min-height: 840px;
  padding: 176px 0 144px;
  display: flex;
  align-items: flex-end;
  animation: hero-bg-zoom 18s ease-in-out infinite alternate;
}

@keyframes hero-bg-zoom {
  from { background-position: center 42%; }
  to { background-position: center 58%; }
}

.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 28, 51, 0.35) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 28, 51, 0.92) 0%,
    rgba(15, 40, 71, 0.78) 42%,
    rgba(15, 40, 71, 0.45) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.page-hero--photo .shell,
.page-hero--photo .page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero--photo h1 {
  max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: hero-fade-up 0.8s var(--ease) both;
}

.page-hero--photo .lead {
  max-width: 52ch;
  font-size: 18px;
  color: #d4dde8;
  margin-top: 4px;
  animation: hero-fade-up 0.8s var(--ease) 0.1s both;
}

.page-hero--photo .breadcrumb {
  animation: hero-fade-up 0.7s var(--ease) both;
}

.page-hero--rich .lead {
  animation: hero-fade-up 0.8s var(--ease) 0.08s both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: hero-fade-up 0.85s var(--ease) 0.2s both;
}

.btn-hero-primary {
  display: inline-block;
  padding: 13px 24px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.btn-hero-outline {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 200ms, background 200ms;
}

.btn-hero-outline:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.12);
}

/* Rich layout without photo (e.g. contact) — unchanged height */
.page-hero--rich:not(.page-hero--photo) {
  min-height: 360px;
  padding: 80px 0 64px;
}

/* Photo heroes also use --rich on some pages; keep 2× photo height */
.page-hero--photo.page-hero--rich {
  min-height: 840px;
  padding: 176px 0 144px;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero--photo {
    animation: none;
  }

  .page-hero--photo h1,
  .page-hero--photo .lead,
  .page-hero--photo .breadcrumb,
  .hero-actions,
  .page-hero--rich .lead {
    animation: none;
  }
}

.prose-page {
  padding: 48px 0 72px;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

.prose.wide {
  max-width: 900px;
}

.prose h2 {
  margin: 2.4em 0 0.75em;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 17px;
  font-weight: 600;
  color: #2a2a2a;
}

.prose p {
  margin: 0 0 1.15em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose .callout {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: var(--wash);
  font-size: 15px;
}

.prose .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 2em 0;
  list-style: none;
  padding: 0;
}

.prose .stat-row li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

.prose .stat-row strong {
  display: block;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.media-frame {
  margin: 2.5em 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e4e9ee;
  box-shadow: 0 12px 40px rgba(15, 40, 71, 0.08);
}

.media-frame img {
  width: 100%;
  display: block;
  min-height: 300px;
  object-fit: cover;
  vertical-align: middle;
}

.media-frame figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.prose-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.prose-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.prose-aside h2 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}

.prose-aside ul {
  margin: 0;
  padding-left: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0 0 64px;
}

.card-grid .card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}

.card-grid .card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(15, 40, 71, 0.1);
}

.card-grid .card-media {
  display: block;
}

.card-grid .card-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #dde3e9;
}

.card-grid .card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-grid .card-body h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.card-grid .card-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.card-grid .card-body a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-grid--tight-top {
  padding-top: 32px;
}

.card-grid--flush-bottom {
  padding-bottom: 0;
}

.section-intro {
  max-width: 62ch;
  color: #555;
  margin: -8px 0 20px;
  line-height: 1.6;
}

.section-pad-compact {
  padding: 40px 0 8px;
}

/* Quote page */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  padding: 48px 0 72px;
  align-items: start;
}

.quote-layout--split {
  grid-template-columns: 1fr 1fr;
}

.quote-pricing-title {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px;
}

.quote-pricing-intro {
  color: #555;
  line-height: 1.65;
  margin: 0 0 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 28px;
}

.data-table th,
.data-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.data-table thead th {
  background: var(--wash);
}

.quote-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
}

.quote-steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.quote-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.quote-form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(15, 40, 71, 0.08);
}

.quote-form-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--navy);
}

.quote-form-panel .hint {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

/* Contact form on light panels (not dark homepage overlay) */
.quote-form-panel .contact-form input,
.quote-form-panel .contact-form textarea {
  border: 1px solid #d0d5db;
  border-radius: 3px;
  background: #fafbfc;
  color: var(--ink);
  padding: 11px 12px;
}

.quote-form-panel .contact-form input::placeholder,
.quote-form-panel .contact-form textarea::placeholder {
  color: #6b7280;
}

.quote-form-panel .contact-form .btn-send {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.quote-form-panel .contact-form .btn-send:hover {
  background: var(--navy-deep);
}

.quote-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #d0d5db;
  border-radius: 3px;
  background: #fafbfc;
}

.quote-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form .btn-send {
  width: 100%;
  margin-top: 8px;
}

.quote-form .form-hint-muted {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.quote-form .label-checkbox {
  display: block;
  margin-bottom: 14px;
  font-weight: 400;
  text-transform: none;
  font-size: 13px;
  color: #555;
}

.quote-form-panel .contact-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}

.quote-form-panel .contact-form label input,
.quote-form-panel .contact-form label textarea {
  margin-top: 6px;
}

/* Home immersive */
.home-immersive {
  position: relative;
  min-height: 520px;
  margin: 0 auto;
  width: min(var(--rail), calc(100% - 40px));
  padding: 48px 0 32px;
}

.home-immersive-grid {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-deep);
  z-index: 0;
}

.home-immersive-grid canvas,
.home-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-grid-lines {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.home-immersive-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: 480px;
  padding: 40px 48px;
}

.home-immersive-copy h1 {
  margin: 0 0 18px;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
}

.home-immersive-copy h1 span {
  color: var(--gold);
}

.home-immersive-copy p {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.65;
  color: #b8c5d4;
}

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

/* Inner pages — same immersive shell as home, taller showcase (2× home image area) */
.home-immersive.page-immersive {
  min-height: auto;
  padding-bottom: 40px;
}

.home-immersive.page-immersive .home-immersive-inner {
  min-height: 560px;
  align-items: center;
}

.home-immersive.page-immersive .home-hero-showcase {
  height: 800px;
}

.home-immersive-copy .breadcrumb {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.home-immersive-copy .home-cta-row {
  margin-top: 4px;
}

.home-immersive-copy a:not(.btn-primary):not(.btn-ghost) {
  color: var(--gold-light);
}

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Hero showcase — single office frame + orbit animation */
.home-hero-showcase {
  position: relative;
  height: 400px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.home-hero-showcase__frame {
  position: relative;
  z-index: 2;
  margin: 0;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: hero-showcase-float 8s var(--ease) infinite alternate;
  transform-origin: center center;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.home-hero-showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-showcase__glow {
  position: absolute;
  inset: 12% 8%;
  z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201, 162, 39, 0.22), transparent 65%);
  filter: blur(24px);
  animation: hero-glow-pulse 6s ease-in-out infinite alternate;
}

.home-hero-showcase__orbit {
  position: absolute;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.home-hero-showcase__orbit--a {
  width: 108%;
  height: 108%;
  top: -4%;
  left: -4%;
  animation: hero-orbit-spin 22s linear infinite;
}

.home-hero-showcase__orbit--b {
  width: 86%;
  height: 86%;
  top: 7%;
  left: 7%;
  border-style: dashed;
  opacity: 0.7;
  animation: hero-orbit-spin 16s linear infinite reverse;
}

.home-hero-showcase__chip {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: hero-chip-fade 8s var(--ease) infinite alternate;
}

.home-hero-showcase__chip--top {
  top: 16px;
  left: -8px;
  animation-delay: 0.4s;
}

.home-hero-showcase__chip--bottom {
  bottom: 20px;
  right: -6px;
  background: var(--gold);
  animation-delay: 1.2s;
}

@keyframes hero-showcase-float {
  from { transform: translateY(6px) rotateX(3deg) rotateY(-3deg); }
  to { transform: translateY(-8px) rotateX(-2deg) rotateY(2deg); }
}

@keyframes hero-glow-pulse {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes hero-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-chip-fade {
  from { opacity: 0.88; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-3px); }
}

/* Home mandate pipeline stage */
.home-mandate-stage {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15, 40, 71, 0.06), transparent 70%),
    linear-gradient(180deg, var(--wash) 0%, #fff 45%, var(--wash) 100%);
  overflow: hidden;
}

.home-mandate-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 40, 71, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  animation: mandate-grid-shift 20s linear infinite;
  pointer-events: none;
}

@keyframes mandate-grid-shift {
  from { background-position: 0 0; }
  to { background-position: 28px 28px; }
}

.home-mandate-stage__inner {
  position: relative;
  z-index: 1;
}

.home-mandate-stage__head {
  max-width: 58ch;
  margin-bottom: 36px;
}

.home-mandate-stage__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.home-mandate-stage__head h2 {
  margin: 0 0 12px;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.home-mandate-stage__head p {
  margin: 0;
  line-height: 1.65;
  color: #555;
}

.mandate-pipeline {
  position: relative;
  padding: 8px 0 0;
}

.mandate-pipeline__svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  width: 100%;
  height: 120px;
  z-index: 0;
}

.mandate-pipeline__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.mandate-pipeline__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease);
}

.mandate-pipeline.is-active .mandate-pipeline__line {
  stroke-dashoffset: 0;
}

.mandate-pipeline__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.mandate-step {
  padding: 52px 16px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.mandate-pipeline.is-active .mandate-step {
  opacity: 1;
  transform: none;
}

.mandate-pipeline.is-active .mandate-step:nth-child(1) { transition-delay: 0.15s; }
.mandate-pipeline.is-active .mandate-step:nth-child(2) { transition-delay: 0.35s; }
.mandate-pipeline.is-active .mandate-step:nth-child(3) { transition-delay: 0.55s; }
.mandate-pipeline.is-active .mandate-step:nth-child(4) { transition-delay: 0.75s; }

.mandate-step__node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 0 0 6px rgba(15, 40, 71, 0.08);
  animation: mandate-node-pulse 3.2s ease-in-out infinite;
}

.mandate-step:nth-child(2) .mandate-step__node { animation-delay: 0.4s; }
.mandate-step:nth-child(3) .mandate-step__node { animation-delay: 0.8s; }
.mandate-step:nth-child(4) .mandate-step__node { animation-delay: 1.2s; }

@keyframes mandate-node-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(15, 40, 71, 0.08); }
  50% { box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.15); }
}

.mandate-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}

.mandate-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.home-mandate-stage__note {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.home-bento {
  padding: 56px 0;
}

.home-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-item {
  position: relative;
  padding: 28px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  min-height: 200px;
}

.bento-item[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.bento-item.is-visible {
  opacity: 1;
  transform: none;
}

.bento-item.span-7 { grid-column: span 7; }
.bento-item.span-5 { grid-column: span 5; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-8 { grid-column: span 8; }

.bento-item h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--navy);
}

.bento-item p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 48ch;
}

.bento-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bento-item .bento-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 70%;
  object-fit: cover;
  opacity: 0.35;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}

.bento-item.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #e8eef4;
}

.bento-item.dark h2 { color: #fff; }
.bento-item.dark p { color: #b8c5d4; }
.bento-item.dark a { color: var(--gold-light); }

.home-strip {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.home-strip h2 {
  text-align: center;
  margin: 0 0 32px;
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
}

.project-case .case-meta {
  display: flex;
  gap: 24px;
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-case .case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2em 0;
}

/* Mobile */
@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .is-open .nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .nav-list > li > a {
    padding: 12px 0;
  }

  .sub {
    position: static;
    box-shadow: none;
    display: block;
    padding: 0 0 8px 12px;
  }

  .menu-btn {
    display: block;
  }

  .hero-viewport {
    height: 420px;
  }

  .hero-copy {
    padding: 56px 28px 0;
  }

  .hero-copy.right {
    padding-top: 72px;
    padding-right: 28px;
  }

  .hero-copy.teal h2,
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 28px;
  }

  .about-grid,
  .insights-board,
  .value-grid,
  .mission-grid,
  .figure-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .insight-list {
    grid-template-columns: 1fr;
  }

  .car-track > li,
  .leader-track > li {
    flex-basis: 50%;
  }

  .partner-track > li {
    flex-basis: 33.333%;
  }

  .newsletter-inner,
  .careers-inner,
  .footer-bar-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 168px;
  }

  .btn-contact {
    display: none;
  }

  .hero {
    width: 100%;
    margin-top: 0;
  }

  .hero-viewport {
    height: 380px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .car-track > li,
  .leader-track > li,
  .partner-track > li {
    flex-basis: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .car-track,
  .hero-photo {
    animation: none !important;
    transition: none !important;
  }
}

/* Rich page heroes & editorial layouts */
.page-hero.page-hero--photo::before {
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 28, 51, 0.35) 0%, transparent 40%);
  background-size: auto;
}

/* Page enter + scroll reveal */
body.desktop-site main {
  animation: page-fade-in 0.65s var(--ease) both;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal-block,
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal-block.is-visible,
[data-reveal].is-visible,
.bento-item.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > .reveal-block,
.reveal-stagger > [data-reveal] {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.page-hero.reveal-hero {
  animation: hero-fade-up 0.85s var(--ease) both;
}

/* FAQ */
.faq-band {
  padding: 56px 0;
}

.faq-band--wash {
  background: var(--wash);
}

.faq-band-header {
  max-width: 62ch;
  margin-bottom: 28px;
}

.faq-band-header h2 {
  margin: 0 0 10px;
  font-size: 26px;
  color: var(--navy);
}

.faq-band-header p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.faq-grid--single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-right: 36px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gold);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #444;
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 14px;
}

/* Testimonials */
.testimonial-band {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
}

.testimonial-card blockquote {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.testimonial-card cite {
  display: block;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial-note {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 72ch;
}

.testimonial-grid--two {
  grid-template-columns: 1fr 1fr;
}

.testimonial-card--solo {
  max-width: 720px;
  margin: 0 auto;
}

.media-frame--flush {
  margin: 0;
}

.case-grid .media-frame {
  margin: 0;
}

/* Work showcase (text-forward, no duplicate images) */
.work-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 0;
}

.work-showcase-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff 0%, var(--wash) 100%);
}

.work-showcase-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.work-showcase-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}

.work-showcase-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Enquiry strips */
.enquiry-band {
  padding: 48px 0 56px;
  background: var(--navy-deep);
  color: #e8eef4;
}

.enquiry-band-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.enquiry-band-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff;
}

.enquiry-band-copy a {
  color: var(--gold-light);
}

.enquiry-band-copy p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #c5d0dc;
}

.enquiry-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.enquiry-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
}

.enquiry-panel .hint {
  font-size: 12px;
  color: #9aabb8;
  margin: 0 0 14px;
}

.enquiry-panel label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: #c5d0dc;
}

.enquiry-panel input,
.enquiry-panel textarea {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.enquiry-panel .btn-send {
  width: 100%;
  margin-top: 6px;
}

.prose-page .faq-band {
  padding: 40px 0 0;
}

.prose-page .faq-band .shell {
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.desktop-site main,
  .page-hero.reveal-hero,
  .reveal-block,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-hero-showcase__frame,
  .home-hero-showcase__orbit,
  .home-hero-showcase__glow,
  .home-hero-showcase__chip,
  .home-mandate-stage::before,
  .mandate-step__node {
    animation: none !important;
  }

  .mandate-pipeline__line {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  .mandate-step {
    opacity: 1 !important;
    transform: none !important;
  }
}

.trust-band {
  padding: 0 0 56px;
  background: var(--wash);
}

.trust-band-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.trust-band-media {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 40, 71, 0.12);
}

.trust-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.trust-band-copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy);
}

.trust-band-copy p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.65;
}

.trust-band-copy a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pillar-strip {
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(15, 40, 71, 0.06);
  color: var(--navy);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--navy);
}

.pillar-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.prose-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin: 28px 0 36px;
}

.prose-split--reverse {
  grid-template-columns: 340px 1fr;
}

.prose-split--reverse .prose-split-media {
  order: -1;
}

.prose-split-media {
  margin: 0;
}

.prose-split-media img {
  border-radius: 4px;
}

.prose-figure-inset {
  margin: 32px 0;
}

.prose-figure-inset img {
  border-radius: 4px;
}

.list-intro-band {
  padding: 32px 0 8px;
  background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
}

.list-intro-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-intro-item {
  padding: 20px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.list-intro-item h2 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.list-intro-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}

.quote-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-visual-stack .media-frame {
  margin: 0;
}
