/* ==========================================================================
   AITCOH Contractor Success Program : Internal Campaign Outline
   Aging In The Comfort Of Home®

   Palette, type and treatments follow the RECRUITMENT CAMPAIGN style guide
   (muted campaign tints), not the bright corporate palette:
     Soft Trust Blue #4F78A8 . Muted Deep Blue #355B86 . Powder #DCE7F2
     Fog #EEF4F8 . Muted Gold #D8BE69 . Soft Warm Gold #E6D7A2
     Champagne #F3EEDB . Warm White #FAFAF8 . Ivory #F6F4EF
     Mist #E8ECEF . Mid Gray #A5AFB8 . Text Charcoal #2F3338
   Ratio target: 55-70% warm white/ivory, 15-25% muted blue,
   5-10% powder/mist, 3-7% gold accent. Gold is never body-text color
   on light backgrounds (fails contrast); it is rules, nodes, underlines.
   No em dashes anywhere in this project, including comments.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --paper:      #FAFAF8;
  --ivory:      #F6F4EF;
  --fog:        #EEF4F8;
  --powder:     #DCE7F2;
  --mist:       #E8ECEF;
  --champagne:  #F3EEDB;
  --blue:       #4F78A8;
  --deep:       #355B86;
  --ink:        #2F3338;
  --ink-soft:   #565D64;
  --gray:       #A5AFB8;
  --gold:       #D8BE69;
  --gold-soft:  #E6D7A2;

  --border:       rgba(53, 91, 134, 0.14);
  --border-faint: rgba(53, 91, 134, 0.08);
  --frost:        rgba(255, 255, 255, 0.72);

  --font-heading: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(47, 51, 56, 0.04), 0 2px 6px rgba(47, 51, 56, 0.05);
  --shadow-2: 0 2px 6px rgba(47, 51, 56, 0.05), 0 12px 28px rgba(53, 91, 134, 0.08);
  --shadow-3: 0 6px 16px rgba(53, 91, 134, 0.08), 0 28px 56px rgba(53, 91, 134, 0.10);

  --container: 1160px;
  --nav-h: 110px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--deep);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: 72ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
a { color: var(--deep); text-decoration-color: rgba(79, 120, 168, 0.5); text-underline-offset: 2px; }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; height: auto; }
strong { font-weight: 600; color: var(--deep); }
em.brand, .brand { font-style: italic; }
sup { font-size: 0.6em; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--deep); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 300; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* 3. NAVBAR ---------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: rgba(250, 250, 248, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-faint);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 32px);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 18px;
}
.nav__brand {
  display: flex; align-items: center;
  text-decoration: none; min-width: 0;
}
.nav__brand img { width: 250px; max-width: 44vw; height: auto; flex: none; }
@media (max-width: 640px) {
  :root { --nav-h: 96px; }
  .nav__brand img { max-width: 52vw; }
}

.nav__menu {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.nav__group { position: relative; }
.nav__toggle {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600;
  color: var(--ink-soft); letter-spacing: 0.01em;
  padding: 8px 8px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 4px;
  position: relative;
}
.nav__toggle::before {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--gold);
  opacity: 0; transform: scaleX(0.4); transform-origin: left;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav__toggle::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55; transition: transform 0.18s ease;
}
.nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--deep); background: var(--fog); }
.nav__group.is-active > .nav__toggle { color: var(--deep); }
.nav__group.is-active > .nav__toggle::before { opacity: 1; transform: scaleX(1); }
.nav__toggle[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 248px; padding: 10px; margin: 0; list-style: none;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav__group:last-of-type .dropdown { left: auto; right: 0; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown--wide { min-width: 460px; column-count: 2; column-gap: 4px; }
.dropdown li { margin: 0; break-inside: avoid; }
.dropdown a {
  display: block; padding: 7px 10px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 400; color: var(--ink);
  text-decoration: none; line-height: 1.3;
}
.dropdown a:hover { background: var(--fog); color: var(--deep); }
.dropdown a .no {
  font-family: var(--font-heading); font-size: 0.68rem; font-weight: 600;
  color: var(--blue); margin-right: 7px; letter-spacing: 0.04em;
}
.dropdown__head {
  font-family: var(--font-heading); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
  padding: 4px 10px 6px;
}

.nav__internal {
  margin-left: 8px; flex: none;
  font-family: var(--font-heading); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep); background: var(--champagne);
  border: 1px solid rgba(216, 190, 105, 0.55);
  padding: 5px 11px; border-radius: var(--radius-pill);
}

.nav__burger {
  display: none; appearance: none; background: rgba(255, 255, 255, 0.6); cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 46px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--deep); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.progress {
  position: fixed; top: var(--nav-h); left: 0; z-index: 199;
  height: 2px; width: 0; background: var(--gold);
}

/* Mobile nav */
@media (max-width: 1240px) {
  /* Anchored absolutely below the nav: the nav's backdrop-filter makes it
     the containing block for fixed descendants, so position: fixed would
     collapse this overlay to a sliver. Absolute against the fixed nav gives
     the identical full-screen result without that trap. */
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 14px clamp(18px, 4vw, 40px) 40px;
    overflow-y: auto;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__group { border-bottom: 1px solid var(--border-faint); }
  .nav__toggle {
    width: 100%; justify-content: space-between;
    font-size: 1rem; padding: 15px 4px;
  }
  .nav__toggle::before { display: none; }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0;
    background: none; transform: none; padding: 0 0 10px;
    display: none; opacity: 1; visibility: visible;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .dropdown--wide { column-count: 1; }
  .dropdown.is-open { display: block; }
  .dropdown a { padding: 13px 12px; font-size: 1rem; }
  .nav__burger { display: inline-flex; }
}

/* 4. HERO ------------------------------------------------------------------ */
.hero {
  padding: calc(var(--nav-h) + clamp(48px, 9vh, 96px)) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(1100px 480px at 82% -10%, var(--powder) 0%, rgba(220, 231, 242, 0) 62%),
    radial-gradient(900px 420px at -12% 30%, var(--champagne) 0%, rgba(243, 238, 219, 0) 55%),
    linear-gradient(180deg, var(--fog) 0%, var(--paper) 78%);
}
/* Two rows: the gold rule sits beside the program name, and the document
   label gets its own line aligned under it. */
.hero__eyebrow {
  font-family: var(--font-heading); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 20px;
  display: grid; grid-template-columns: 34px 1fr;
  column-gap: 12px; row-gap: 7px; align-items: center;
}
.hero__eyebrow::before {
  content: ""; height: 2px; background: var(--gold); border-radius: 2px;
}
.hero__eyebrow span { grid-column: 2; }
@media (max-width: 460px) {
  .hero__eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
}
.hero__title {
  font-size: clamp(2.15rem, 5.4vw, 3.9rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--deep);
  max-width: 14ch; margin-bottom: 18px;
}
.hero__title .soft { color: var(--blue); }
.hero__positioning { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; padding: 0; list-style: none; }
.hero__positioning li {
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep);
  background: var(--frost); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: var(--radius-pill); margin: 0;
}
.hero__lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

.hero__plate {
  margin-top: 40px;
  background: var(--frost);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 3.4vw, 34px);
}
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.hero__stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.hero__stat b {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--deep); letter-spacing: -0.01em;
}
.hero__stat span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 4px; }
.hero__plate-foot {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--border-faint);
  font-size: 0.85rem; color: var(--ink-soft); max-width: none;
}
.hero__meta {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.82rem; color: var(--ink-soft);
}
.hero__meta b { color: var(--deep); font-weight: 600; }
@media (max-width: 860px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .hero__stats { grid-template-columns: 1fr; } }

/* 5. PART STRUCTURE -------------------------------------------------------- */
.part { padding: clamp(56px, 8vw, 104px) 0 clamp(30px, 4vw, 48px); }
.part--tint { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); }
.part--fog  { background: linear-gradient(180deg, var(--fog) 0%, var(--paper) 88%); }

.part__head { position: relative; padding-left: clamp(0px, 2vw, 22px); margin-bottom: clamp(30px, 4vw, 48px); }
.part__head::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--gold) 0 34%, var(--powder) 34%);
  border-radius: 2px;
}
.part__num {
  position: absolute; right: 0; top: -0.34em; z-index: 0;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(4.4rem, 11vw, 8.5rem); line-height: 1;
  color: var(--powder); opacity: 0.55; pointer-events: none; user-select: none;
}
.part--tint .part__num, .part--fog .part__num { color: #fff; opacity: 0.8; }
.part__kicker {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
.part__title {
  position: relative; z-index: 1;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 700; max-width: 22ch;
}
.part__intro { position: relative; z-index: 1; font-size: 1.1rem; color: var(--ink-soft); max-width: 66ch; }
.part__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; position: relative; z-index: 1; }
.part__chips a {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  color: var(--deep); text-decoration: none;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--border);
  padding: 6px 13px; border-radius: var(--radius-pill);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.part__chips a:hover { background: var(--powder); border-color: var(--blue); }

/* 6. SECTIONS -------------------------------------------------------------- */
.sec { padding: clamp(26px, 3.6vw, 44px) 0; border-top: 1px solid var(--border-faint); }
.sec:first-of-type { border-top: 0; }
.sec__kicker {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px;
}
.sec__no {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.06em;
  border: 1px solid var(--powder); background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill); padding: 3px 10px;
}
.sec__label {
  font-family: var(--font-heading); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}
.sec h3 { font-size: clamp(1.28rem, 2.2vw, 1.55rem); font-weight: 600; max-width: 30ch; }
.sec__lede { color: var(--ink-soft); font-size: 1.05rem; }

/* 7. SHARED COMPONENTS ----------------------------------------------------- */
.grid { display: grid; gap: 16px; margin: 20px 0 6px; }
.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: 960px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
}
.card h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.card p, .card ul { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0; }
.card ul { padding-left: 1.1em; }
.card li { margin-bottom: 0.3em; }
.card--powder { background: linear-gradient(160deg, rgba(220, 231, 242, 0.55), rgba(255, 255, 255, 0.8)); }
.card--champagne { background: linear-gradient(160deg, rgba(243, 238, 219, 0.6), rgba(255, 255, 255, 0.85)); }
.card__tag {
  display: inline-block; font-family: var(--font-heading);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: var(--fog); border-radius: var(--radius-pill);
  padding: 4px 10px; margin-bottom: 10px;
}

.callout {
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(243, 238, 219, 0.5), rgba(250, 250, 248, 0));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px; margin: 20px 0;
}
.callout p { margin: 0; font-size: 0.98rem; }
.callout--rule { border-left-color: var(--deep); background: linear-gradient(90deg, rgba(220, 231, 242, 0.45), rgba(250, 250, 248, 0)); }

.quote {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--deep);
  border: 0; margin: 22px 0; padding: 0 0 0 20px; position: relative;
  max-width: 30ch; line-height: 1.3;
}
.quote::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px; background: var(--gold);
}

/* Do / Avoid twin panels */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 6px; }
@media (max-width: 720px) { .dd { grid-template-columns: 1fr; } }
.dd__col { border-radius: var(--radius-md); padding: 20px 22px; border: 1px solid var(--border); }
.dd__col--do { background: linear-gradient(170deg, rgba(220, 231, 242, 0.5), rgba(255, 255, 255, 0.85)); }
.dd__col--avoid { background: linear-gradient(170deg, rgba(232, 236, 239, 0.6), rgba(255, 255, 255, 0.85)); }
.dd__col h4 {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.dd__col--avoid h4 { color: var(--ink-soft); }
.dd__col ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.dd__col li { padding-left: 24px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.dd__col--do li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.dd__col--avoid li::before, .dd__col--avoid li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 10px; height: 2px; background: var(--gray); border-radius: 2px;
}
.dd__col--avoid li::before { transform: rotate(45deg); }
.dd__col--avoid li::after { transform: rotate(-45deg); }

/* Horizontal flow stepper */
.flow { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; padding: 0; list-style: none; counter-reset: flow; }
.flow li {
  counter-increment: flow;
  flex: 1 1 150px; min-width: 148px; position: relative; margin: 0;
  background: var(--frost); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px 15px;
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block; font-family: var(--font-heading); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 6px;
}
.flow li b { display: block; font-family: var(--font-heading); font-size: 0.92rem; font-weight: 600; color: var(--deep); margin-bottom: 4px; }
.flow li span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; display: block; }
.flow--plain li::before { display: none; }

/* Vertical rail (the system rail: powder line, gold nodes) */
.rail { list-style: none; margin: 24px 0 8px; padding: 0 0 0 30px; position: relative; }
.rail::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: var(--powder); border-radius: 2px;
}
.rail > li { position: relative; margin: 0 0 20px; padding: 0 0 0 8px; }
.rail > li::before {
  content: ""; position: absolute; left: -27px; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--gold-soft);
}
.rail b { font-family: var(--font-heading); font-weight: 600; color: var(--deep); font-size: 0.98rem; }
.rail .when {
  font-family: var(--font-heading); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  display: block; margin-bottom: 3px;
}
.rail p, .rail span.desc { font-size: 0.93rem; color: var(--ink-soft); margin: 3px 0 0; display: block; }

/* Bars (allocation, scores, weights) */
.bars { margin: 22px 0 8px; display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 190px 1fr 52px; align-items: center; gap: 14px; }
@media (max-width: 620px) { .bar { grid-template-columns: 1fr 60px; } .bar__label { grid-column: 1 / -1; margin-bottom: -6px; } }
.bar__label { font-size: 0.92rem; font-weight: 600; color: var(--ink); font-family: var(--font-heading); }
.bar__label small { display: block; font-weight: 400; font-family: var(--font-body); color: var(--ink-soft); font-size: 0.8rem; }
.bar__track { display: block; height: 10px; background: var(--mist); border-radius: var(--radius-pill); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--blue), var(--deep)); }
.bar__fill--gold { background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.bar__val { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--deep); text-align: right; }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.swatch { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.swatch i { display: block; height: 62px; }
.swatch figcaption { padding: 9px 12px 11px; }
.swatch b { display: block; font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; color: var(--deep); }
.swatch span { font-size: 0.74rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.swatch figure, figure.swatch { margin: 0; }

.ratio-strip { display: flex; border-radius: var(--radius-pill); overflow: hidden; height: 16px; margin: 18px 0 8px; border: 1px solid var(--border); }
.ratio-strip i { display: block; height: 100%; }
.ratio-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 4px; }
.ratio-legend b { color: var(--deep); font-weight: 600; }
.ratio-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; border: 1px solid var(--border); vertical-align: baseline; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.8); }
table.tbl { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.94rem; }
.tbl th {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(238, 244, 248, 0.65);
}
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--border-faint); vertical-align: top; color: var(--ink-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Image placeholders (brand .placeholder-image API, campaign tokens) */
.placeholder-image {
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(150deg, rgba(220, 231, 242, 0.65), rgba(238, 244, 248, 0.9)),
    var(--fog);
  border: 1px dashed rgba(79, 120, 168, 0.45);
  border-radius: var(--radius-md);
  min-height: 120px; overflow: hidden;
}
.placeholder-image::before {
  content: "IMAGE"; position: absolute; top: 10px; left: 12px;
  font-family: var(--font-heading); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--blue); opacity: 0.75;
}
.placeholder-image::after {
  content: attr(data-label);
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
  color: var(--deep); text-align: center; padding: 26px 18px 18px; line-height: 1.4;
  max-width: 30ch;
}
.placeholder-hero { aspect-ratio: 16 / 7; }
.placeholder-wide { aspect-ratio: 16 / 9; }
.placeholder-square { aspect-ratio: 1 / 1; }
.placeholder-card-img { aspect-ratio: 4 / 3; }

/* Hero character + campaign illustrations (owner-requested illustration set;
   the campaign style guide otherwise avoids cartoon artwork, so these stay
   captioned as illustrations and are simple to remove) */
.hero__top {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 490px);
  gap: clamp(20px, 3vw, 44px); align-items: end;
}
.hero__figure { margin: 0; position: relative; padding: 10px 6px 0; }
.hero__figure img {
  position: relative; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 12px 20px rgba(53, 91, 134, 0.08));
}
@media (max-width: 880px) {
  .hero__top { grid-template-columns: 1fr; }
  .hero__figure { max-width: 320px; margin: 6px auto 0; }
}

.illo {
  margin: 26px 0 6px; max-width: 880px; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
}
.illo img { display: block; width: 100%; height: auto; }
.illo figcaption {
  padding: 10px 16px 12px; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Photography figures (real shots in the required-type grid) */
.photo {
  margin: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-1);
}
.photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.photo figcaption {
  padding: 10px 14px 12px; font-size: 0.82rem;
  color: var(--ink-soft); line-height: 1.4;
}
.photo figcaption b {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 3px;
}

/* Ad concept tiles */
.ad-tile { display: flex; flex-direction: column; min-height: 168px; }
.ad-tile .ad-code {
  font-family: var(--font-heading); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; color: var(--blue); margin-bottom: 10px;
}
.ad-tile .ad-line { font-family: var(--font-heading); font-weight: 700; color: var(--deep); font-size: 1.02rem; line-height: 1.25; margin-bottom: 8px; }
.ad-tile .ad-sub { font-size: 0.87rem; color: var(--ink-soft); margin-top: auto; }

/* FAQ */
.faq { margin: 20px 0 8px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--frost); margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 18px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; color: var(--deep);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq__a { padding: 0 18px 16px; font-size: 0.95rem; color: var(--ink-soft); }
.faq .faq__a p { margin-bottom: 0; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 18px 0 6px; column-count: 2; column-gap: 34px; }
@media (max-width: 760px) { .checklist { column-count: 1; } }
.checklist li {
  break-inside: avoid; position: relative; padding: 0 0 0 30px; margin-bottom: 10px;
  font-size: 0.95rem; color: var(--ink-soft);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px; border: 1.6px solid var(--blue);
  border-radius: 5px; background: rgba(255, 255, 255, 0.8);
}
.checklist li::after {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 8px; height: 4px; border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* Stat inline chips */
.statline { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.statline span {
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 7px 15px; font-size: 0.88rem; color: var(--ink-soft);
}
.statline b { color: var(--deep); font-family: var(--font-heading); font-weight: 700; }

/* 8. LOCKUP ANCHOR BAND ---------------------------------------------------- */
.lockup {
  margin-top: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(79, 120, 168, 0.55) 0%, rgba(53, 91, 134, 0) 60%),
    linear-gradient(165deg, var(--deep) 0%, #2C4C71 100%);
  color: var(--powder);
  padding: clamp(56px, 8vw, 96px) 0;
}
.lockup .part__kicker { color: var(--gold-soft); }
.lockup h2 {
  color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 700; letter-spacing: -0.015em; max-width: 16ch; margin-bottom: 10px;
}
.lockup .positioning { color: var(--gold-soft); font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 30px; }
.lockup__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 900px) { .lockup__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lockup__grid { grid-template-columns: 1fr; } }
.lockup__cell {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(220, 231, 242, 0.22);
  border-radius: var(--radius-md); padding: 18px 20px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lockup__cell b { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.06rem; margin-bottom: 5px; }
.lockup__cell span { font-size: 0.88rem; color: var(--powder); line-height: 1.45; }
.lockup__foot { margin-top: 30px; font-size: 0.92rem; color: var(--powder); max-width: 70ch; }
.lockup__foot .brand { color: #fff; }

/* 9. DISCLAIMER + FOOTER --------------------------------------------------- */
.disclaimer { background: var(--mist); padding: 30px 0; }
.disclaimer p { font-size: 0.85rem; color: var(--ink-soft); max-width: 90ch; margin: 0 auto 10px; text-align: center; }
.disclaimer p:last-child { margin-bottom: 0; }

.site-footer { background: var(--ivory); border-top: 1px solid var(--border-faint); padding: 48px 0 36px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--deep); text-decoration: underline; }
.site-footer__legal {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border-faint);
  font-size: 0.82rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between;
}
.site-footer__legal p { margin: 0; }

/* 10. BACK TO TOP ----------------------------------------------------------- */
.toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.toTop.is-visible { opacity: 1; visibility: visible; transform: none; }
.toTop::before {
  content: ""; width: 10px; height: 10px;
  border-left: 2px solid var(--deep); border-top: 2px solid var(--deep);
  transform: rotate(45deg) translate(2px, 2px);
}

/* Touch and small-screen refinements */
@media (max-width: 640px) {
  .hero__plate { padding: 18px; }
  .lockup__cell { padding: 16px 18px; }
}
@media (pointer: coarse) {
  .part__chips a { padding: 10px 15px; font-size: 0.76rem; }
  .faq summary { padding-top: 18px; padding-bottom: 18px; }
  .statline span { padding: 9px 15px; }
}

/* 11. MOTION + PRINT -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .nav, .progress, .toTop { display: none; }
  .hero { padding-top: 20px; }
  .part, .sec { break-inside: avoid-page; }
  body { font-size: 10.5pt; }
  .lockup { background: #fff; color: var(--ink); border-top: 2px solid var(--deep); }
  .lockup h2 { color: var(--deep); }
}
