/* ==========================================================================
   POSH Systems: poshtraining.org
   Design system v2: "Calm authority, elevated"
   Palette: midnight, emerald, ivory, champagne. Type: Newsreader + Hanken Grotesk.
   Sections: 1 tokens, 2 base, 3 layout, 4 buttons, 5 header, 6 heroes,
   7 components, 8 page modules, 9 forms, 10 footer, 11 motion, 12 utilities
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --midnight: #0c1828;
  --navy: #13243b;
  --ink: #1b2e48;
  --emerald: #1d6b5f;
  --emerald-deep: #12483f;
  --emerald-bright: #2a8b7a;
  --emerald-soft: #8ccbbd;
  --emerald-tint: #e4f1ed;
  --ivory: #f7f4ee;
  --paper: #fcfbf8;
  --sand: #efe8db;
  --champagne: #c8a86a;
  --champagne-soft: #e6d5ae;
  --gold-text: #86672b;
  --white: #fff;
  --text: #1c2636;
  --muted: #4f5a6b;
  --subtle: #5a6474;
  --on-dark: #e9edf2;
  --on-dark-muted: #a9b6c6;
  --line: rgba(12, 24, 40, 0.10);
  --line-strong: rgba(12, 24, 40, 0.22);
  --line-dark: rgba(233, 237, 242, 0.14);
  --error: #a3362b;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --h1: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);
  --h2: clamp(1.95rem, 1.45rem + 2.1vw, 3.25rem);
  --h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --lead: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 24, 40, .06), 0 4px 12px -6px rgba(12, 24, 40, .12);
  --shadow: 0 1px 2px rgba(12, 24, 40, .05), 0 24px 48px -28px rgba(12, 24, 40, .38);
  --shadow-lg: 0 2px 4px rgba(12, 24, 40, .05), 0 40px 80px -36px rgba(12, 24, 40, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--emerald-deep); text-underline-offset: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.018em; color: var(--midnight); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--emerald); }
.on-dark h1 em, .on-dark h2 em { color: var(--champagne-soft); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
::selection { background: var(--champagne-soft); color: var(--midnight); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--champagne); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--midnight); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: clamp(56px, 6vw, 88px) 0; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.on-dark { background: var(--midnight); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }
.bg-emerald { background: var(--emerald-deep); color: #e2f1ed; }
.bg-emerald h2 { color: #fff; }
.lead { font-size: var(--lead); color: var(--muted); max-width: 34em; line-height: 1.6; }
.muted { color: var(--muted); }

.eyebrow, .label { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow, .on-dark .label { color: var(--champagne-soft); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: var(--lead); margin: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.on-dark .section-head p { color: var(--on-dark-muted); }
.head-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 18px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head-split h2, .head-split p { margin: 0; }
.head-split > p { color: var(--muted); max-width: 32em; font-size: 1.05rem; }
.on-dark .head-split > p { color: var(--on-dark-muted); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px clamp(40px, 6vw, 80px); }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* 4. Buttons ------------------------------------------------------------ */
.btn { --bg: var(--midnight); --fg: #fff; --bd: var(--midnight);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 600 .97rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { --bg: var(--emerald-deep); --bd: var(--emerald-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(18, 72, 63, .8); }
.btn:active { transform: translateY(0); }
.btn-gold { --bg: var(--champagne); --fg: var(--midnight); --bd: var(--champagne); }
.btn-gold:hover { --bg: var(--champagne-soft); --bd: var(--champagne-soft); --fg: var(--midnight); box-shadow: 0 14px 28px -14px rgba(200, 168, 106, .8); }
.btn-outline { --bg: transparent; --fg: var(--midnight); --bd: var(--line-strong); }
.btn-outline:hover { --bg: var(--midnight); --fg: #fff; --bd: var(--midnight); }
.btn-light { --bg: var(--ivory); --fg: var(--midnight); --bd: var(--ivory); }
.btn-light:hover { --bg: #fff; --bd: #fff; --fg: var(--midnight); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(233, 237, 242, .38); }
.btn-outline-light:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; --fg: #fff; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--emerald-deep); text-decoration: none; }
.text-link::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.text-link:hover::after { width: 30px; }
.on-dark .text-link { color: var(--champagne-soft); }

/* 5. Utility bar + header ----------------------------------------------- */
.utility { background: var(--midnight); font-size: .8rem; color: var(--on-dark-muted); }
.utility .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 22px; min-height: 38px; padding-block: 6px; }
.utility .u-left, .utility .u-right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.utility a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.utility a:hover { color: var(--champagne-soft); }
.utility svg { width: 14px; height: 14px; opacity: .75; }
@media (max-width: 760px) { .utility .u-left { display: none; } .utility .container { justify-content: flex-end; } }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(247, 244, 238, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(12, 24, 40, .45); background: rgba(252, 251, 248, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--midnight); margin-right: auto; }
.brand svg { width: 42px; height: 42px; flex: none; transition: transform .4s var(--ease); }
.brand:hover svg { transform: rotate(-6deg) scale(1.04); }
.brand b { display: block; font: 500 1.38rem/1 var(--serif); letter-spacing: -.01em; }
.brand small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; color: var(--text); font-size: .94rem; font-weight: 500; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--emerald-deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--emerald-deep); }
.nav .nav-extra { display: none; }
.header-ctas { display: flex; gap: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--midnight); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .header-ctas { display: none; }
  .header-inner { gap: 12px; }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 114px); bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 12px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a { border-radius: 0; padding: 18px 2px; border-bottom: 1px solid var(--line); font: 400 1.45rem/1.2 var(--serif); color: var(--midnight); display: flex; justify-content: space-between; align-items: center; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--emerald); }
  .nav .nav-extra { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border: 0; }
  .nav .nav-extra .btn { font: 600 1rem/1 var(--sans); border: 1px solid var(--bd); border-radius: 999px; padding: 0 24px; justify-content: center; color: var(--fg); }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}

/* 6. Heroes ------------------------------------------------------------- */
/* Home hero: deep midnight with soft light and a fine grid */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--on-dark); padding: clamp(56px, 8vw, 112px) 0 clamp(120px, 13vw, 176px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 70% at 85% 10%, rgba(42, 139, 122, .38), transparent 60%),
              radial-gradient(45% 55% at 5% 100%, rgba(200, 168, 106, .20), transparent 65%),
              linear-gradient(180deg, #0c1828 0%, #0f1e33 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(233, 237, 242, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 237, 242, .05) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 80%); }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em { color: var(--champagne-soft); }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 36px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark); margin-bottom: 28px; }
.hero-badge b { font-weight: 600; background: var(--champagne); color: var(--midnight); padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--on-dark-muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--emerald-soft); }
.hero-visual { position: relative; padding: 0 0 40px 40px; }
.hero-visual .frame { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.hero-visual::before { content: ""; position: absolute; top: 32px; right: -18px; bottom: 18px; left: 72px; border: 1px solid rgba(200, 168, 106, .55); border-radius: var(--radius-lg); z-index: -1; }
.float-card { position: absolute; display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .97); color: var(--muted); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg); font-size: .84rem; line-height: 1.45; }
.float-card b { display: block; font: 500 1.05rem/1.25 var(--serif); color: var(--midnight); }
.float-card.fc-verify { left: 0; bottom: 0; max-width: 300px; }
.float-card.fc-lang { right: -12px; top: 36px; padding: 12px 16px; }
.float-card .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--emerald-tint); color: var(--emerald); display: grid; place-items: center; }
.float-card .ic svg { width: 20px; height: 20px; }
.qr { flex: none; width: 56px; height: 56px; border: 1px solid var(--champagne); border-radius: 8px; padding: 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.qr i { background: var(--midnight); border-radius: 1px; }
.qr i:nth-child(3n) { background: transparent; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 40px 16px; max-width: 560px; }
  .hero-visual .frame { aspect-ratio: 5 / 4; }
  .float-card.fc-lang { right: 8px; top: 16px; }
}
@media (max-width: 420px) { .float-card.fc-verify { max-width: calc(100% - 16px); } .float-card.fc-lang { display: none; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); isolation: isolate;
  background: radial-gradient(55% 80% at 100% 0%, rgba(42, 139, 122, .12), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(200, 168, 106, .14), transparent 65%), var(--ivory); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: linear-gradient(rgba(12, 24, 40, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 24, 40, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 80% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 80% 20%, #000 20%, transparent 75%); }
.page-hero.on-dark { background: radial-gradient(60% 80% at 90% 0%, rgba(42, 139, 122, .34), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(200, 168, 106, .16), transparent 65%), var(--midnight); }
.page-hero.on-dark::after { background-image: linear-gradient(rgba(233, 237, 242, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 237, 242, .05) 1px, transparent 1px); }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.page-hero .hero-img { position: relative; padding: 0 0 22px 22px; }
.page-hero .hero-img::before { content: ""; position: absolute; top: 22px; left: 0; right: 22px; bottom: 0; border: 1px solid rgba(200, 168, 106, .6); border-radius: var(--radius-lg); }
.page-hero .hero-img .frame { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero.compact { padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 920px) { .page-hero-grid { grid-template-columns: 1fr; } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .84rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--emerald-deep); text-decoration: underline; }
.crumbs .sep { margin: 0 10px; color: var(--champagne); }
.crumbs [aria-current] { color: var(--midnight); font-weight: 500; }
.on-dark .crumbs, .on-dark .crumbs a { color: var(--on-dark-muted); }
.on-dark .crumbs [aria-current] { color: #fff; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; background: rgba(255, 255, 255, .5); }
.on-dark .chips li { border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }
.chips svg { width: 15px; height: 15px; color: var(--emerald); }
.on-dark .chips svg { color: var(--emerald-soft); }

/* 7. Components --------------------------------------------------------- */
/* Photo frames */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(150deg, var(--ink), var(--emerald-deep)); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.frame img.is-broken { visibility: hidden; }
.frame figcaption, .credit { position: absolute; right: 12px; bottom: 9px; z-index: 2; font-size: .68rem; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.credit a, .frame figcaption a { color: inherit; }

/* Stats band, overlapping the home hero */
.stats-wrap { position: relative; z-index: 5; margin-top: calc(clamp(72px, 9vw, 112px) * -1); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font: 400 clamp(2.2rem, 1.8rem + 1.6vw, 3.1rem)/1 var(--serif); color: var(--midnight); letter-spacing: -.02em; margin-bottom: 10px; }
.stat b sup { font-size: .5em; color: var(--champagne); margin-left: 2px; vertical-align: .7em; }
.stat span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Client marquee */
.clients { padding: clamp(48px, 6vw, 72px) 0 0; }
.clients-label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(36px, 5vw, 72px); list-style: none; padding-block: 8px; }
.marquee-track li { font: 500 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1 var(--serif); color: #5a6474; white-space: nowrap; letter-spacing: .01em; transition: color .25s var(--ease); }
.marquee-track li:hover { color: var(--midnight); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 42s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Generic card */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
a.card, .card-link { text-decoration: none; color: inherit; }
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(29, 107, 95, .3); }
.card h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--emerald-deep); }
.card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a.card:hover .more svg { transform: translateX(4px); }
.on-dark .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.on-dark .card p { color: var(--on-dark-muted); }
.on-dark a.card:hover { border-color: rgba(200, 168, 106, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--emerald-tint); color: var(--emerald); flex: none; margin-bottom: 6px; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.icon-badge svg { width: 24px; height: 24px; }
a.card:hover .icon-badge, .card.hoverable:hover .icon-badge { background: var(--emerald); color: #fff; transform: rotate(-4deg); }
.on-dark .icon-badge { background: rgba(200, 168, 106, .14); color: var(--champagne-soft); }
.on-dark a.card:hover .icon-badge { background: var(--champagne); color: var(--midnight); }
.card .num { position: absolute; top: 22px; right: 26px; font: italic 400 1rem/1 var(--serif); color: var(--gold-text); }

/* Path cards (two audiences) */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.path { border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path:hover .frame img { transform: scale(1.05); }
.path .frame { border-radius: 0; aspect-ratio: 16 / 8; }
.path-body { padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.path h3 { font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem); margin: 0; }
.path .eyebrow { margin: 0; }
.path ul { list-style: none; }
.path li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.path li:last-child { border-bottom: 1px solid var(--line); }
.path li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--emerald-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231d6b5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.path li.price-row { justify-content: space-between; }
.path li.price-row::before { display: none; }
.path .btn { align-self: flex-start; margin-top: auto; }
.path-dark { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); background-image: radial-gradient(80% 60% at 100% 100%, rgba(42, 139, 122, .25), transparent 70%); }
.path-dark h3 { color: #fff; }
.path-dark li { border-color: var(--line-dark) !important; }
.path-dark li::before { background-color: rgba(200, 168, 106, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23e6d5ae' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.path-dark .eyebrow { color: var(--champagne-soft); }

/* Course cards (role list) */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.role { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 24px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.role:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(29, 107, 95, .28); }
.role .cover { aspect-ratio: 4 / 3; margin-bottom: 10px; }
.role > b, .role > span { padding-inline: 12px; }
.role b { font: 400 1.38rem/1.2 var(--serif); color: var(--midnight); transition: color .25s var(--ease); }
.role > span { font-size: .94rem; color: var(--muted); }
.role .meta { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 600; color: var(--emerald-deep); display: flex; align-items: center; gap: 8px; }
.role:hover b { color: var(--emerald-deep); }

/* Typographic course covers */
.cover { border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; isolation: isolate; }
.cover::after { content: ""; position: absolute; right: -28%; bottom: -55%; width: 85%; aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; opacity: .2; box-shadow: 0 0 0 28px rgba(255, 255, 255, .035), 0 0 0 56px rgba(255, 255, 255, .02); transition: transform .8s var(--ease); z-index: -1; }
.role:hover .cover::after { transform: scale(1.12) translate(-6%, -6%); }
.cover small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cover strong { font: 400 1.4rem/1.15 var(--serif); max-width: 10em; }
.cover .cover-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.cover .cover-ic svg { width: 20px; height: 20px; }
.cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cover-employees { background: linear-gradient(145deg, #13243b, #0c1828); color: #fff; } .cover-employees small { color: var(--champagne-soft); }
.cover-managers { background: linear-gradient(145deg, #1d6b5f, #12483f); color: #fff; } .cover-managers small { color: var(--champagne-soft); }
.cover-ic { background: linear-gradient(145deg, #f3ecdf, #e6dac4); color: var(--midnight); } .cover-ic small { color: var(--emerald-deep); }
.cover-ic .cover-ic, .cover-hr .cover-ic { background: rgba(12, 24, 40, .06); }
.cover-hr { background: linear-gradient(145deg, #fff, #f4f1ea); color: var(--midnight); border: 1px solid var(--line); } .cover-hr small { color: var(--emerald-deep); }

/* Feature (icon) list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px 40px; }
.feature { display: flex; gap: 18px; }
.feature .icon-badge { margin: 0; }
.feature h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.on-dark .feature p { color: var(--on-dark-muted); }

/* Industry chips */
.industries { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.industries li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .93rem; font-weight: 500; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.industries li:hover { border-color: var(--emerald); transform: translateY(-2px); }
.industries svg { width: 18px; height: 18px; color: var(--emerald); }

/* Workplace mosaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.mosaic .frame { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.mosaic .frame:first-child { aspect-ratio: auto; }
.mosaic .frame:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* Founder portrait placeholder (real photo comes from the commissioned shoot) */
.portrait { position: relative; border-radius: var(--radius-lg); background: radial-gradient(70% 60% at 30% 20%, rgba(42, 139, 122, .35), transparent 70%), var(--midnight); color: var(--champagne-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.portrait::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(200, 168, 106, .5); border-radius: calc(var(--radius-lg) - 6px); pointer-events: none; }
.portrait .mono { font: 300 clamp(3.5rem, 8vw, 6.2rem)/1 var(--serif); letter-spacing: .04em; }
.portrait small { font-size: .8rem; color: var(--on-dark-muted); max-width: 22em; }

/* Founder band */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder .portrait-wrap { position: relative; max-width: 460px; width: 100%; }
.founder .portrait { aspect-ratio: 4 / 5; width: 100%; }
.founder .seal { position: absolute; right: -18px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .82rem; color: var(--muted); line-height: 1.35; }
.founder .seal b { display: block; font: 400 1.9rem/1 var(--serif); color: var(--midnight); }
.founder blockquote { margin: 0 0 28px; padding-left: 22px; border-left: 2px solid var(--champagne); font: italic 400 clamp(1.25rem, 1.1rem + .7vw, 1.6rem)/1.45 var(--serif); color: var(--emerald-deep); }
.creds { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; margin-bottom: 18px; }
.creds li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.creds li svg { flex: none; width: 20px; height: 20px; color: var(--emerald); margin-top: 2px; }
.creds b { display: block; color: var(--midnight); font-weight: 600; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder .portrait-wrap { max-width: 380px; } .founder .seal { right: 8px; } }

/* Steps */
.steps-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.steps-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); }
.steps-card .eyebrow { margin-bottom: 8px; }
.steps-card h3 { margin-bottom: 18px; }
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 16px 0; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--champagne); background: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--serif); color: var(--midnight); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 60px; bottom: -16px; width: 1px; background: linear-gradient(var(--champagne), transparent); opacity: .6; }
.steps b { color: var(--midnight); display: block; font-size: 1.05rem; margin-top: 2px; }
.steps span { display: block; color: var(--muted); font-size: .95rem; }
.on-dark .steps li::before { color: var(--champagne-soft); background: transparent; }
.on-dark .steps b { color: #fff; }
.on-dark .steps span { color: var(--on-dark-muted); }

/* Search band */
.search-band { position: relative; overflow: hidden; isolation: isolate; }
.search-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 50%, rgba(42, 139, 122, .35), transparent 70%); }
.search-band .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px 64px; align-items: center; padding-block: clamp(60px, 7vw, 92px); }
.search-band h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin-bottom: 10px; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); }
.search-form input { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: #fff; font: inherit; }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--champagne); }
.search-form input::placeholder { color: var(--on-dark-muted); }
@media (max-width: 480px) { .search-form { border-radius: var(--radius); } .search-form .btn { flex: 1 1 100%; } }

/* Quotes + resource list */
.quote { margin: 0 0 16px; padding: 28px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font: 400 4.5rem/1 var(--serif); color: var(--champagne-soft); }
.quote blockquote { margin: 0 0 12px; font: 400 1.25rem/1.45 var(--serif); color: var(--midnight); }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.res-list { list-style: none; }
.res-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 22px 4px; border-top: 1px solid var(--line-strong); text-decoration: none; color: inherit; transition: padding .3s var(--ease), background-color .3s var(--ease); }
.res-list li:last-child a { border-bottom: 1px solid var(--line-strong); }
.res-list b { font: 400 1.35rem/1.2 var(--serif); color: var(--midnight); transition: color .2s var(--ease); }
.res-list em { font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald); align-self: center; background: var(--emerald-tint); padding: 4px 10px; border-radius: 999px; }
.res-list span { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.res-list a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(29, 107, 95, .05), transparent); }
.res-list a:hover b { color: var(--emerald-deep); }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(140, 203, 189, .22), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(200, 168, 106, .2), transparent 70%); }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02); z-index: -1; }
.cta .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px 64px; align-items: center; padding-block: clamp(72px, 8vw, 112px); }
.cta h2 { margin: 0; max-width: 13em; }
.cta p { margin: 14px 0 0; color: #bfdcd5; max-width: 32em; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .cta .btn-row { justify-content: flex-start; } }

/* 8. Page modules ------------------------------------------------------- */
/* Buy box */
.buy-box { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); border: 1px solid var(--line); position: relative; }
.buy-box::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--champagne), var(--emerald-bright)); }
.buy-box .price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy-box .price b { font: 400 2.3rem/1 var(--serif); color: var(--midnight); }
.buy-box small { font-size: .85rem; color: var(--muted); }
.buy-box .ticks li { padding-block: 11px; font-size: .95rem; }
.buy-box .btn { width: 100%; }

/* Outcomes / ticks */
.ticks { list-style: none; }
.ticks li { position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231d6b5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks.cross li::before { background: rgba(163, 54, 43, .09) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23a3362b' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.on-dark .ticks li { border-color: var(--line-dark); }
.on-dark .ticks li::before { background-color: rgba(140, 203, 189, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%238ccbbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Video poster */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 24, 40, .6)); pointer-events: none; }
.video .play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(247, 244, 238, .96); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(247, 244, 238, .18), 0 14px 34px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.video .play:hover { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(247, 244, 238, .16), 0 14px 34px -10px rgba(0, 0, 0, .6); }
.video .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video .vlabel { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff; font-size: .86rem; font-weight: 500; }
.video .credit { bottom: auto; top: 10px; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.accordion details[open] { border-color: rgba(29, 107, 95, .35); box-shadow: var(--shadow-sm); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 64px 20px 24px; position: relative; font: 400 1.2rem/1.35 var(--serif); color: var(--midnight); border-radius: 14px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary small { font: 500 .82rem var(--sans); color: var(--muted); white-space: nowrap; }
.accordion summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--emerald-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231d6b5f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion summary:hover { color: var(--emerald-deep); }
.accordion details > div { padding: 0 24px 22px; color: var(--muted); max-width: 46em; }
.accordion details > div p:last-child { margin: 0; }

/* Founder strip on course pages */
.by-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-block: 48px; }
.by-strip .mini { flex: none; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(70% 60% at 30% 20%, rgba(42, 139, 122, .4), transparent 70%), var(--midnight); color: var(--champagne-soft); display: flex; align-items: center; justify-content: center; font: 300 2rem/1 var(--serif); box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px rgba(200, 168, 106, .6); }
.by-strip p { margin: 0; flex: 1 1 380px; font: 400 1.4rem/1.35 var(--serif); color: var(--midnight); }
.by-strip small { display: block; font: 600 .76rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 6px; }

/* Three-up info */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.three > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); }
.bg-white .three > div { background: var(--paper); }
.three h3 { font-size: 1.4rem; }
.three p, .three ol { color: var(--muted); font-size: .97rem; }
.three p:last-child { margin: 0; }
.three ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.three em { display: inline-block; font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); background: #f6eedd; border-radius: 999px; padding: 3px 10px; margin-top: 4px; }

/* Strengths (about) */
.strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.strengths > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.strengths > div::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--champagne), transparent); }
.strengths > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strengths h3 { font-size: 1.38rem; margin-bottom: 8px; }
.strengths p { margin: 0; color: var(--muted); font-size: .97rem; }
.ledger { list-style: none; }
.ledger li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.ledger li:last-child { border-bottom: 1px solid var(--line-dark); }
.ledger b { font: 400 1.3rem/1.2 var(--serif); color: var(--champagne-soft); }
.ledger.plain li { grid-template-columns: 1fr; gap: 4px; }
.ledger.plain b { color: #fff; }
.ledger.plain span { color: var(--on-dark-muted); font-size: .95rem; }

/* Certification route */
.route { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: r; }
.route li { counter-increment: r; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.route li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.route li::before { content: counter(r, decimal-leading-zero); display: flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--midnight); color: var(--champagne-soft); font-family: var(--serif); font-size: 1.05rem; margin-bottom: 18px; }
.route li::after { content: ""; position: absolute; top: 48px; right: -17px; width: 18px; height: 1px; background: var(--champagne); }
.route li:last-child::after { display: none; }
.route b { display: block; font: 400 1.25rem/1.25 var(--serif); color: var(--midnight); margin-bottom: 6px; }
.route span { color: var(--muted); font-size: .93rem; }
@media (max-width: 1000px) {
  .route { grid-template-columns: 1fr; gap: 12px; }
  .route li { padding: 22px 22px 22px 86px; min-height: 92px; }
  .route li::before { position: absolute; left: 22px; top: 22px; margin: 0; }
  .route li::after { top: auto; bottom: -13px; left: 44px; right: auto; width: 1px; height: 14px; }
}
.means { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.means > div { border-radius: var(--radius-lg); padding: clamp(26px, 3.2vw, 40px); }
.means .yes { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.means .no { background: var(--sand); }
.means h3 { font-size: 1.55rem; display: flex; align-items: center; gap: 12px; }
.means h3 svg { width: 28px; height: 28px; }

/* Resources */
.res-search { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); max-width: 560px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.res-search:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(29, 107, 95, .12); }
.res-search input { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; font: inherit; background: transparent; color: var(--text); }
.res-search input:focus { outline: none; }
.res-search .status { flex-basis: 100%; margin: 4px; border-radius: 12px; }
@media (max-width: 480px) { .res-search { border-radius: var(--radius); } .res-search .btn { flex: 1 1 100%; } }
.res-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.res-cards .tag { align-self: flex-start; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-deep); background: var(--emerald-tint); border-radius: 999px; padding: 4px 10px; }
.notice { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.notice svg { flex: none; width: 18px; height: 18px; color: var(--gold-text); margin-top: 2px; }

/* Pricing */
.pricing .path li { font-size: 1rem; }
.pricing .path li b { font-weight: 600; }

/* Contact panel (advisory) */
.contact-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: var(--on-dark); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
a.contact-item:hover { border-color: var(--champagne); background: rgba(255, 255, 255, .07); }
.contact-item small { display: block; color: var(--on-dark-muted); font-size: .8rem; }
.contact-item b { font-weight: 600; color: #fff; }

/* 9. Forms -------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--midnight); }
.field input, .field select, .field textarea { min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; color: var(--text); background: #fff; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231c2636' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(12, 24, 40, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(29, 107, 95, .14); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { font-size: .86rem; color: var(--error); }
.error:empty { display: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px 20px; }
.status { padding: 14px 16px; border-radius: 12px; font-size: .95rem; margin: 0; }
.status:empty { display: none; }
.status.is-info { background: #f6eedd; color: #5d4517; border: 1px solid #e3d2a8; }
.status.is-ok { background: #e2f1ed; color: #0f4a40; border: 1px solid #b4d9cf; }

/* 10. Footer ------------------------------------------------------------ */
.site-footer { position: relative; overflow: hidden; background: var(--midnight); color: var(--on-dark-muted); font-size: .94rem; padding: clamp(64px, 8vw, 96px) 0 calc(28px + var(--sticky-pad, 0px)); isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 100% 0%, rgba(42, 139, 122, .18), transparent 70%); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 44px; margin-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-top h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin: 0; max-width: 18em; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand { color: #fff; margin: 0 0 18px; }
.site-footer .brand small { color: var(--on-dark-muted); }
.site-footer h3 { font: 600 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-soft); margin: 0 0 18px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--champagne-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--champagne); }
.newsletter { display: flex; flex-direction: column; gap: 10px; }
.newsletter label { color: #fff; font-weight: 600; font-size: .95rem; }
.newsletter p { margin: 0; font-size: .86rem; }
.newsletter .nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid rgba(233, 237, 242, .22); background: rgba(255, 255, 255, .05); }
.newsletter .nl-row:focus-within { border-color: var(--champagne); }
.newsletter input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: #fff; font: inherit; }
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: var(--on-dark-muted); }
.newsletter input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 #e08b80; }
.site-footer .error { color: #f0a499; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 26px; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 1040px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: calc(20px + var(--sticky-pad, 0px)); z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--midnight); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.to-top:hover { background: var(--midnight); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* Sticky mobile CTA bar */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  :root { --sticky-pad: 76px; }
  .sticky-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(252, 251, 248, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -20px rgba(12, 24, 40, .5); }
  .sticky-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: .92rem; }
  .sticky-cta .btn:hover { transform: none; }
}

/* 11. Motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .rise > * { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
  .rise > *:nth-child(2) { animation-delay: .08s; } .rise > *:nth-child(3) { animation-delay: .16s; }
  .rise > *:nth-child(4) { animation-delay: .24s; } .rise > *:nth-child(5) { animation-delay: .32s; } .rise > *:nth-child(6) { animation-delay: .4s; }
  .rise-visual { opacity: 0; transform: translateY(24px) scale(.98); animation: rise 1.1s var(--ease) .2s forwards; }
  .float-card { animation: bob 6s ease-in-out infinite; }
  .float-card.fc-lang { animation-delay: -3s; }
  /* Scroll reveal: only hidden once JS has confirmed it can reveal them */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
  .js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
  .js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; } .js .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .48s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise > *, .rise-visual { opacity: 1; transform: none; }
}

/* 12. Utilities --------------------------------------------------------- */
.placeholder { background: #f6e8c6; color: #6b4f17; border-radius: 4px; padding: 0 5px; font-style: normal; }
.on-dark .placeholder { background: rgba(230, 213, 174, .2); color: var(--champagne-soft); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.ic-svg { width: 20px; height: 20px; }

@media print {
  .utility, .site-header, .sticky-cta, .to-top, .hero::after, .page-hero::after { display: none !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Small-screen refinements */
@media (max-width: 920px) {
  .hero-visual { padding: 0 12px 40px 16px; }
  .hero-visual::before { right: 0; left: 48px; top: 22px; }
  .hero-visual .frame figcaption { top: 10px; bottom: auto; left: 12px; right: auto; }
}
@media (max-width: 600px) {
  .role .cover { aspect-ratio: 16 / 8; }
  .utility .u-right > span { display: none; }
  .hero-points { gap: 10px 18px; }
  .founder .portrait { aspect-ratio: 1 / 1; }
}
.contact-item > span:last-child { min-width: 0; }
.contact-item b { overflow-wrap: anywhere; }

/* Light cards inside dark sections keep light-surface colours */
.on-dark .buy-box .eyebrow { color: var(--emerald); }
.on-dark .buy-box .placeholder { background: #f6e8c6; color: #6b4f17; }
.on-dark .buy-box .ticks li { border-color: var(--line); }
.on-dark .buy-box .ticks li::before { background-color: var(--emerald-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231d6b5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.on-dark .buy-box .field label { color: var(--midnight); }

/* Client logo (poshsystems.com). The image carries its own wordmark and tagline. */
.brand-logo { display: block; height: 48px; width: auto; max-width: 100%; }
.site-footer .brand-logo { height: 46px; }
@media (max-width: 600px) { .brand-logo { height: 38px; } }
@media (max-width: 360px) { .brand-logo { height: 32px; } }
