/* =========================================================
   OG Phoenix Consulting - site styles
   BRAND COLOURS: change the values in :root below to match
   your brand. Everything else picks them up automatically.
   ========================================================= */
:root {
  /* Brand palette (OG Phoenix brand guide) */
  --gold: #c5a059;         /* Sovereign Gold: buttons, titles on navy, accents */
  --gold-deep: #907032;    /* darker gold for small gold text on white (readable) */
  --gold-soft: #f7f1e5;    /* pale gold tint for highlights on white */
  --navy: #002d62;         /* Deep Navy: headlines on white, dark sections */
  --navy-deep: #00224a;    /* footer */
  --navy-raised: #0a3a74;  /* cards on navy */
  --grey: #6c757d;         /* Silver Grey: body copy on white */
  --white: #ffffff;
  --line: #e3e6eb;         /* borders on white */
  --ivory: #f2f1ed;        /* warm off-white for alternate sections */
  --grey-ivory: #5a636b;   /* body text on ivory (silver grey is too faint there) */

  /* Roles used throughout the stylesheet */
  --brand: var(--navy);
  --brand-dark: var(--navy-deep);
  --brand-soft: var(--gold-soft);
  --ink: var(--navy);
  --text: var(--grey);
  --muted: var(--grey);
  --bg: var(--white);
  --surface: var(--white);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --radius: 0;
  --shadow: none;
  --ease: cubic-bezier(.43, .195, .02, 1);  /* slow, confident easing */
  --wrap: 1140px;
}

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.7; color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: .015em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 10vw, 96px) 0; background: var(--white); }
.section--ivory { background: var(--ivory); color: var(--grey-ivory); }
.section--ivory .lead { color: var(--grey-ivory); }
.section--ivory .eyebrow { color: var(--navy); }
.section--tint { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark, .navy { background: var(--navy); color: rgba(255, 255, 255, .9); }
.section--dark h1, .section--dark h2, .navy h1, .navy h2 { color: var(--gold); }
.section--dark h3, .navy h3, .section--dark strong, .navy strong { color: var(--white); }
.section--dark a:not(.btn), .navy a:not(.btn) { color: var(--white); }
.section--dark a:not(.btn):hover, .navy a:not(.btn):hover { color: var(--gold); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9em; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.section--dark .eyebrow, .navy .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--grey); max-width: 46em; }
.section--dark .lead, .navy .lead { color: rgba(255, 255, 255, .88); }
.section-head { max-width: 780px; margin-bottom: 64px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; color: var(--navy); }

/* ---------- Header (navy) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(197, 160, 89, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: auto; height: 72px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--white); }
.nav-toggle svg { margin: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 0; color: var(--white); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 255, 255, .06); }
.site-nav .btn { margin-left: 10px; color: var(--navy); }
.site-nav .btn:hover, .site-nav .btn[aria-current="page"] { color: var(--navy); background: #d6b676; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid rgba(197, 160, 89, .35); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav .btn { margin: 10px 0 0; text-align: center; }
}
@media (max-width: 640px) { .logo img { height: 50px; } }
@media (max-width: 380px) { .logo img { height: 44px; } }

/* ---------- Buttons: Sovereign Gold call to action ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 0; background: var(--gold); color: var(--navy); font-weight: 700; letter-spacing: .04em; text-decoration: none; border: 2px solid var(--gold); cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.btn:hover { background: #d6b676; border-color: #d6b676; color: var(--navy); transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: #b58f48; border-color: #b58f48; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.section--dark .btn--ghost, .navy .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.section--dark .btn--ghost:hover, .navy .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero (navy) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero::before { content: ""; position: absolute; inset: -45% -25% auto auto; width: 75vw; max-width: 950px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(197, 160, 89, .20), rgba(197, 160, 89, .06) 55%, transparent 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 16em; }
.hero h1 em { font-style: normal; color: var(--white); }
.hero-card { background: var(--navy-raised); border: 1px solid rgba(197, 160, 89, .4); border-radius: 0; padding: 28px; }
.hero-card h2 { font-family: var(--font); font-size: 1.05rem; letter-spacing: .02em; color: var(--gold); margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23002d62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); transition: transform .5s var(--ease), border-color .5s var(--ease); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.section--ivory .card { border-color: #e2dfd6; border-top-color: var(--gold); }
.card .icon { width: 48px; height: 48px; border-radius: 0; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 700; text-decoration: none; color: var(--navy); }
.card .more::after { content: " \2192"; color: var(--gold-deep); }
.card .more:hover { color: var(--gold-deep); }
.card--feature { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); color: rgba(255, 255, 255, .9); }
.card--feature h3 { color: var(--gold); }
.card--feature .more { color: var(--white); }
.card--feature .more::after { color: var(--gold); }
.card--feature .more:hover { color: var(--gold); }

.step { position: relative; padding-top: 8px; }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 0; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; border: 2px solid var(--gold); }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.service .tag { font-size: .82rem; font-weight: 700; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .14em; }
.service .answer { font-size: 1.12rem; color: var(--navy); border-left: 4px solid var(--gold); padding: 4px 0 4px 16px; margin-bottom: 1.3em; }
.service h3 { font-size: 1.02rem; margin-top: 1.4em; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 12px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(197, 160, 89, .6); border-radius: 0; color: var(--white); font-weight: 600; font-size: .92rem; text-decoration: none; }
.chips a:hover { background: var(--gold); color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--gold-deep); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0 22px; }

/* ---------- Page header (navy band on inner pages) ---------- */
.page-head { padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px); background: var(--navy); color: rgba(255, 255, 255, .9); }
.page-head h1 { color: var(--gold); }
.page-head .lead { color: rgba(255, 255, 255, .88); }
.page-head .lead a { color: var(--white); }
.page-head .eyebrow { color: var(--gold); }
.breadcrumbs { font-size: .9rem; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: var(--white); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.4em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.profile { background: var(--navy); color: rgba(255, 255, 255, .9); border-radius: 0; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 100px; border-top: 3px solid var(--gold); }
.profile h2 { color: var(--gold); }
.profile .role { color: rgba(255, 255, 255, .85); margin: 0; }
.profile .avatar { width: 96px; height: 96px; margin-bottom: 16px; }
.profile dl { margin: 18px 0 0; }
.profile dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-top: 12px; }
.profile dd { margin: 2px 0 0; color: var(--white); font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .profile { position: static; } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 650; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
label .opt { font-weight: 400; color: var(--grey); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: #fff; border: 1px solid #b9c0c9; border-radius: 0; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(197, 160, 89, .35); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .9rem; color: var(--grey); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 0; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e8f6ee; color: #135c34; }
.form-status.is-error { display: block; background: #fdecec; color: #8a1c1c; }
.contact-aside .card + .card { margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .82); padding: 56px 0 28px; font-size: .95rem; border-top: 3px solid var(--gold); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--font); color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-logo { width: 260px; max-width: 100%; height: auto; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Scroll reveal (added by main.js; off for reduced-motion users) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Photography and motion
   ========================================================= */

/* Hero with photo and parallax */
.hero--photo { isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero--photo::before { display: none; }
.hero-media { position: absolute; inset: -12% 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; will-change: transform; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 34, 74, .94) 0%, rgba(0, 45, 98, .82) 38%, rgba(0, 45, 98, .30) 70%, rgba(0, 45, 98, .25) 100%),
    linear-gradient(0deg, rgba(0, 34, 74, .55) 0%, rgba(0, 34, 74, 0) 30%); }
.hero--photo .hero-grid { width: 100%; }
.hero--photo .hero-card { background: rgba(0, 34, 74, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(197, 160, 89, .45); }
@media (max-width: 900px) {
  .hero--photo { min-height: 0; }
  .hero--photo::after { background: linear-gradient(180deg, rgba(0, 34, 74, .84) 0%, rgba(0, 45, 98, .66) 45%, rgba(0, 34, 74, .90) 100%); }
  .hero-media img { object-position: 65% center; }
}

/* Full-width photo band (parallax) */
.band { position: relative; isolation: isolate; overflow: hidden; }
.band-media { position: absolute; inset: -22% 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 34, 74, .96) 0%, rgba(0, 45, 98, .88) 45%, rgba(0, 45, 98, .45) 80%, rgba(0, 45, 98, .35) 100%); }
@media (max-width: 900px) { .band::after { background: rgba(0, 34, 74, .86); } }

/* Service cards with photos */
.card-media { margin: -28px -28px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

/* Outcomes */
.outcome-media { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); border-bottom: 2px solid var(--gold); }
.outcome-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.outcome:hover .outcome-media img { transform: scale(1.06); }
.outcomes { grid-template-columns: repeat(6, 1fr); }
.outcomes .outcome { grid-column: span 2; }
.outcomes .outcome:nth-child(4) { grid-column: 2 / span 2; }   /* centre the second row of two */
@media (max-width: 980px) { .outcomes { grid-template-columns: repeat(2, 1fr); } .outcomes .outcome, .outcomes .outcome:nth-child(4) { grid-column: auto; } .outcomes .outcome:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); } }
@media (max-width: 640px) { .outcomes .outcome:last-child:nth-child(odd) { width: auto; justify-self: stretch; } }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
.outcome h3 { margin-bottom: .4em; }
.outcome p { margin: 0; }

/* Services page photos */
.service-media { margin: 22px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); border-bottom: 2px solid var(--gold); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }

/* About page phoenix */
.name-block { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-top: 2em; }
.phoenix-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); border-bottom: 2px solid var(--gold); }
.phoenix-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .name-block { grid-template-columns: 1fr; } .phoenix-media { max-width: 260px; } }

/* Curtain reveal for images (added by main.js; off for reduced-motion users) */
.reveal-on .reveal-img img { clip-path: inset(0 100% 0 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.reveal-on .reveal-img.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }
.reveal-on .outcome:hover .reveal-img.is-visible img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal-img img { clip-path: none; transform: none; transition: none; }
  .card:hover .card-media img, .outcome:hover .outcome-media img { transform: none; }
}

/* Awards and recognition */
.award-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.award { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.award h3 { margin: 0 0 .35em; color: var(--navy); }
.award p { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.award-year { flex-shrink: 0; padding-top: 4px; font-size: .85rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-deep); }

/* Testimonials */
.quote { margin: 0; }
.quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: .9; color: var(--gold); margin-bottom: 6px; }
.quote blockquote { margin: 0; flex: 1; font-style: italic; line-height: 1.75; color: var(--grey-ivory); }
.quote figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e2dfd6; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }

/* ---------- Cinematic motion (only when html.motion is set, i.e. not reduced motion) ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Headline words rising out of a mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s cubic-bezier(.19, 1, .22, 1); }
.split.is-in .wi { transform: none; }

/* Photos move inside their frames as you scroll */
.depth img { height: calc(100% + 64px) !important; margin-top: -32px; will-change: translate; }

/* Opening sequence for the hero */
html.motion .hero-media img { animation: hero-zoom 2.4s cubic-bezier(.19, 1, .22, 1) both; }
html.motion .hero .eyebrow, html.motion .hero .lead, html.motion .hero .btn-row, html.motion .hero-card { animation: rise 1.2s cubic-bezier(.19, 1, .22, 1) both; }
html.motion .hero .eyebrow { animation-delay: .1s; }
html.motion .hero .lead { animation-delay: .55s; }
html.motion .hero .btn-row { animation-delay: .75s; }
html.motion .hero-card { animation-delay: .95s; }
@keyframes hero-zoom { from { scale: 1.18; } to { scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Gold line draws in under section eyebrows */
.reveal-on .section-head .eyebrow.reveal::before { width: 0; transition: width 1s var(--ease) .3s; }
.reveal-on .section-head .eyebrow.reveal.is-visible::before { width: 28px; }

@media (prefers-reduced-motion: reduce) {
  .split .wi { transform: none; transition: none; }
  .depth img { height: 100% !important; margin-top: 0; }
  html.motion .hero-media img, html.motion .hero .eyebrow, html.motion .hero .lead, html.motion .hero .btn-row, html.motion .hero-card { animation: none; }
}

/* ---------- Count-up stats band ---------- */
.stats { background: var(--navy-deep); border-top: 1px solid rgba(197, 160, 89, .35); border-bottom: 1px solid rgba(197, 160, 89, .35); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 0 8px; border-left: 1px solid rgba(197, 160, 89, .25); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1.05; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 8px; font-size: .88rem; letter-spacing: .02em; color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Header: compacts on scroll, gold reading-progress line ---------- */
.site-header, .header-inner, .logo img { transition: min-height .45s var(--ease), height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header.is-scrolled { background: rgba(0, 45, 98, .96); box-shadow: 0 6px 24px rgba(0, 20, 50, .28); }
.site-header.is-scrolled .header-inner { min-height: 70px; }
.site-header.is-scrolled .logo img { height: 54px; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
@media (max-width: 640px) { .site-header.is-scrolled .header-inner { min-height: 64px; } .site-header.is-scrolled .logo img { height: 44px; } }

/* ---------- How we work: cards that stack as you scroll ---------- */
.steps-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.stack-card { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; background: var(--white); border: 1px solid #e2dfd6; border-top: 2px solid var(--gold); padding: 34px 40px; transform-origin: center top; }
.stack-card .step-num { margin: 0; width: 56px; height: 56px; font-size: 1.3rem; }
.stack-card h3 { margin: 6px 0 .35em; font-size: 1.3rem; }
.stack-card p { margin: 0; max-width: 46em; color: var(--grey-ivory); }
.stack-card--sustain { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); padding-right: 100px; }
.stack-card--sustain h3 { color: var(--gold); }
.stack-card--sustain p { color: rgba(255, 255, 255, .86); }
.stack-card .sustain-loop { position: absolute; right: 36px; top: 50%; width: 44px; height: 44px; margin-top: -22px; color: var(--gold); }
@media (min-width: 981px) {
  .steps-stack { gap: 40px; padding-bottom: 40px; }
  .stack-card { position: sticky; top: calc(120px + var(--i) * 22px); min-height: 190px; box-shadow: 0 -10px 30px rgba(0, 34, 74, .08); will-change: transform; }
}
@media (max-width: 640px) {
  .stack-card { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; }
  .stack-card--sustain { padding-bottom: 76px; }
  .stack-card .sustain-loop { top: auto; bottom: 22px; right: 22px; margin: 0; }
}

/* ---------- Cards respond to the pointer; buttons shimmer ---------- */
.card { position: relative; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 160, 89, .16), transparent 45%); }
.card.is-tilting::after { opacity: 1; }
.card.is-tilting { transition: transform .15s ease-out, border-color .5s var(--ease); }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); }
.btn:hover::after { left: 120%; }
.btn--ghost::after { background: linear-gradient(105deg, transparent, rgba(197, 160, 89, .35), transparent); }

@media (prefers-reduced-motion: reduce) {
  .stack-card { position: relative; top: auto; }
  .btn::after { display: none; }
  .card::after { display: none; }
  .site-header, .header-inner, .logo img { transition: none; }
}
