/* ==========================================================================
   Quad Services — subsidiary site of QuadRoof (quadroof.com)
   Tokens mirror quadroof.com/assets/css/site.css so the subsidiary reads as
   the same brand as the parent. No webfonts, no CDN, no external requests.
   Layout: 1200px shell, parent ribbon + sticky light header, dusk hero,
   navy trust strip, alternating white / muted / navy sections, underline
   form on navy, navy footer.
   ========================================================================== */

:root {
  color-scheme: light;
  /* Brand */
  --navy-deep: #1a2230;
  --navy-mid:  #3a4a5a;
  --accent:    #f14e23;
  --gray-mid:  #8a95a1;
  --gray-bg:   #f8f9fa;
  --white:     #ffffff;
  /* Derived */
  --navy-deeper: #11161f;
  --ink:         #1a2230;
  --ink-soft:    #48576a;
  --rule:        #e2e6eb;
  --accent-dark: #b03a18;
  --accent-text: #cd421e;   /* AA on white; --accent is for rules and marks */
  --gray-text:   #6a737c;
  --success:     #2d9f4f;
  --on-dark:     #e8edf3;
  --on-dark-soft:#b9c5d3;
  --on-dark-dim: #9fb0c2;

  --measure: 68ch;
  --shell:   1200px;
  --gap:     clamp(1rem, 3vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --shadow: 0 1px 2px rgba(26,34,48,.06), 0 8px 24px rgba(26,34,48,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.9vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.85rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
p  { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-text); color: #fff; padding: .75rem 1.25rem;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- Layout primitives ---------- */

.shell { width: min(100% - 2 * var(--gap), var(--shell)); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--dark  { background: var(--navy-deep); color: var(--on-dark); }
.section--muted { background: var(--gray-bg); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text);
  margin: 0 0 1rem;
}
.section--dark .eyebrow { color: #ff7d55; }

.lede { font-size: clamp(1.075rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); max-width: var(--measure); }
.section--dark .lede { color: var(--on-dark-soft); }

.section > .shell > h2 + .lede,
.section > .shell > .eyebrow + h2 { margin-top: 1rem; }
.section > .shell > h2 + .lede { margin-top: 1.15rem; }

.note { font-size: .85rem; color: var(--gray-text); max-width: var(--measure); line-height: 1.55; }
.section--dark .note { color: var(--on-dark-dim); }
.mt { margin-top: clamp(2.25rem, 5vw, 3.5rem); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .95rem 1.75rem;
  font: inherit; font-weight: 700; line-height: 1;
  text-decoration: none;
  border: 2px solid transparent; border-radius: 4px;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--accent-text); color: #fff; border-color: var(--accent-text); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--dark { color: var(--navy-deep); border-color: var(--navy-deep); }
.btn--dark:hover { background: var(--navy-deep); color: #fff; }
.btn__ext { font-size: .85em; opacity: .8; }

/* ---------- Parent-company ribbon ---------- */

.ribbon { background: var(--navy-deeper); color: var(--on-dark-dim); font-size: .78rem; letter-spacing: .03em; }
.ribbon .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; padding-block: .45rem; }
.ribbon a { color: #fff; text-decoration: none; font-weight: 600; }
.ribbon a:hover { color: var(--accent); }

/* ---------- Header ---------- */

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .85rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand__txt { font-weight: 800; letter-spacing: -.02em; font-size: 1.2rem; color: var(--navy-deep); line-height: 1.05; }
.brand__txt small {
  display: block; font-size: .6rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-text); margin-top: .2rem; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--accent-text); }
.nav .btn { padding: .7rem 1.2rem; font-size: .9rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
@media (max-width: 980px) { .nav__links { display: none; } }
@media (max-width: 600px) {
  .brand__txt small { display: none; }
  .brand img { height: 28px; }
  .nav .btn { padding: .6rem .85rem; font-size: .8rem; }
}

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(17,22,31,.94) 0%, rgba(17,22,31,.86) 38%,
    rgba(17,22,31,.55) 68%, rgba(17,22,31,.35) 100%);
}
.hero__body { position: relative; padding-block: clamp(4.5rem, 12vw, 9rem); max-width: 46rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ff7d55; }
.hero__sub { margin-top: 1.5rem; font-size: clamp(1.075rem, 1rem + .55vw, 1.35rem); color: #cbd6e2; max-width: 40rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__where {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .9rem; color: var(--on-dark-dim); letter-spacing: .03em;
}
.hero__where strong { color: #fff; font-weight: 700; }

/* ---------- Trust strip ---------- */

.strip { background: var(--navy-deeper); color: #fff; }
.strip ul {
  list-style: none; margin: 0; padding: 1.4rem 0 1.1rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.5rem; text-align: center;
}
.strip li { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.strip b { display: block; color: var(--accent); font-size: 1.5rem; letter-spacing: -.02em; text-transform: none; margin-bottom: .15rem; font-variant-numeric: tabular-nums; }
.strip__foot { padding-bottom: 1rem; font-size: .72rem; color: #6f8296; text-align: center; letter-spacing: .02em; }

/* ---------- Generic grids ---------- */

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid--top { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.grid > * { min-width: 0; }

.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.card__rule { width: 2.5rem; height: 3px; background: var(--accent); margin-bottom: 1.25rem; }
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--ink-soft); }
.card ul { margin: .85rem 0 0; padding-left: 1.15rem; color: var(--ink-soft); }
.card li + li { margin-top: .5rem; }
.card__who { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-text); margin-bottom: .6rem; }

/* ---------- Split (text + image) ---------- */

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__media { order: -1; }
}
.split > * { min-width: 0; }
.split__media img { border-radius: 6px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.figure { margin: 0; }
.figure figcaption { margin-top: .7rem; font-size: .8rem; color: var(--gray-text); line-height: 1.5; }
.section--dark .figure figcaption { color: #8b9bad; }
.split__body .eyebrow + h2 { margin-top: 1rem; }
.split__body h2 + p { margin-top: 1.15rem; }
.split__body p { color: var(--ink-soft); }
.split__body p + p { margin-top: .9rem; }
.split__body .btn { margin-top: 1.75rem; }
.section--dark .split__body p { color: var(--on-dark-soft); }

/* ---------- Spec list ---------- */

.specs { list-style: none; margin: 2rem 0 0; padding: 0; }
.specs li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.specs li:last-child { border-bottom: 1px solid var(--rule); }
.specs .k { color: var(--ink-soft); }
.specs .v { font-weight: 700; text-align: right; }
.section--dark .specs li { border-color: rgba(255,255,255,.14); }
.section--dark .specs .k { color: #a8b7c7; }
.section--dark .specs .v { color: #fff; }

/* ---------- Numbered steps (a real sequence) ---------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 4rem; }
.steps > li + li { margin-top: 2.25rem; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-size: 1.6rem; font-weight: 800; color: var(--accent);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); max-width: 54ch; }
.section--dark .steps p { color: var(--on-dark-soft); }

/* ---------- Phase timeline ---------- */

.phases { list-style: none; margin: clamp(2.25rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.phase { position: relative; border-top: 3px solid var(--accent); padding-top: 1.25rem; min-width: 0; }
.phase--free { border-top-color: var(--success); }
.phase__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.phase--free .phase__tag { color: var(--success); }
.phase h3 { margin: .35rem 0 .6rem; font-size: 1.15rem; }
.phase p { color: var(--ink-soft); font-size: .95rem; }
.phase__price { display: inline-block; margin-top: .85rem; font-weight: 800; font-size: 1.1rem; color: var(--navy-deep); }
.phase__paths { margin: .85rem 0 0; padding: 0; list-style: none; }
.phase__paths li { padding: .6rem 0; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--ink-soft); }
.phase__paths b { color: var(--navy-deep); }

/* ---------- "Is / is not" contrast ---------- */

.contrast { display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin-top: clamp(2.25rem, 5vw, 3.5rem); }
@media (min-width: 820px) { .contrast { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.25rem); min-width: 0; }
.panel--is  { background: var(--navy-deep); color: #fff; }
.panel--not { background: #fff; border: 1px solid var(--rule); }
.panel h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }
.panel--is h3 { color: #fff; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { position: relative; padding-left: 1.9rem; }
.panel li + li { margin-top: .95rem; }
.panel li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.panel--is li { color: #cfdae6; }
.panel--is li::before { content: "\2713"; color: #4ade80; }
.panel--not li { color: var(--ink-soft); }
.panel--not li::before { content: "\2715"; color: var(--accent); }

/* ---------- Gallery ---------- */

.gallery { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { margin-top: .7rem; text-align: center; font-size: .8rem; line-height: 1.5; color: var(--gray-text); }
.gallery figcaption b { color: var(--navy-deep); }

/* ---------- Team ---------- */

.team { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.person { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: start; min-width: 0; }
.person__mark {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--navy-deep); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
}
.person h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.person__role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .5rem; }
.person p { color: var(--ink-soft); font-size: .95rem; }
.person--full { grid-template-columns: 4rem 1fr; }
.person--full .person__mark { width: 4rem; height: 4rem; font-size: 1.4rem; }
.person--full ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .95rem; }
.person--full li + li { margin-top: .35rem; }

/* ---------- Contact / assessment form ---------- */

.contact__box { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.contact__item { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 1.5rem; min-width: 0; }
.contact__item .k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff7d55; margin-bottom: .5rem; }
.contact__item a, .contact__item p { font-size: 1.05rem; font-weight: 600; color: #fff; text-decoration: none; word-break: break-word; }
.contact__item a:hover { color: var(--accent); }

.qform { margin-top: clamp(2rem, 4vw, 3rem); }
.qform input[name="_gotcha"] { position: absolute; left: -9999px; opacity: 0; }
.qform__grid { display: grid; gap: 1.75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.qform__field { margin: 0; min-width: 0; }
.qform__field--wide { margin-top: 1.75rem; }
.qform label { display: block; margin-bottom: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-dim); }
.qform__opt { font-weight: 400; letter-spacing: .06em; text-transform: none; color: #6f8296; }
.qform input, .qform select, .qform textarea {
  width: 100%; padding: .55rem 0;
  font: inherit; color: #fff;
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  border-radius: 0; appearance: none;
}
.qform textarea { resize: vertical; min-height: 4.5rem; }
.qform select option { color: var(--ink); }
.qform input:hover, .qform select:hover, .qform textarea:hover { border-bottom-color: rgba(255,255,255,.5); }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-bottom-color: var(--accent); border-bottom-width: 2px; padding-bottom: calc(.55rem - 1px); }
.qform :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.qform.is-checked :invalid { border-bottom-color: #ff7d55; }
.qform__actions { margin: 2.5rem 0 0; }
.qform__status { margin-top: 1.25rem; padding: .85rem 1.1rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.06); font-size: .95rem; color: var(--on-dark); max-width: var(--measure); }
.qform__grid .qform__field--wide { grid-column: 1 / -1; margin-top: 0; }
.qform__privacy { margin-top: 1.5rem; max-width: 48ch; font-size: .8rem; line-height: 1.55; color: var(--on-dark-dim); }

/* ---------- Footer ---------- */

.footer { background: var(--navy-deeper); color: #8b9bad; padding-block: 3rem 2.5rem; font-size: .875rem; }
.footer__top { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-items: start; }
.footer__top > * { min-width: 0; }
.footer a { color: #cbd6e2; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer h4 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6f8296; margin-bottom: .85rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: .5rem; }
.footer__brand .brand__txt { color: #fff; }
.footer__brand .brand__txt small { color: #8b9bad; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; line-height: 1.6; }
.footer__legal { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Page head (secondary pages) ---------- */

.pagehead { background: var(--navy-deep); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.pagehead h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.pagehead .eyebrow { color: #ff7d55; }
.pagehead .lede { color: var(--on-dark-soft); margin-top: 1.15rem; }

/* ---------- Code table (T24) ---------- */

.tablewrap { overflow-x: auto; margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.table th, .table td { text-align: left; vertical-align: top; padding: .85rem .9rem; border-top: 1px solid var(--rule); }
.table tr:last-child td { border-bottom: 1px solid var(--rule); }
.table th { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); border-top: 0; }
.table td { color: var(--ink-soft); }
.table td:first-child { color: var(--ink); font-weight: 700; }
.table td small { display: block; font-weight: 400; color: var(--gray-text); font-size: .8rem; margin-top: .15rem; }
.table .hi { color: var(--accent-text); font-weight: 700; }

/* ---------- Revenue streams ---------- */

.streams { list-style: none; margin: clamp(2.25rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); counter-reset: stream; }
.stream { counter-increment: stream; border: 1px solid var(--rule); border-radius: 6px; padding: 1.5rem; background: #fff; min-width: 0; position: relative; }
.stream::before { content: counter(stream, decimal-leading-zero); font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .04em; }
.stream h3 { font-size: 1.05rem; margin: .5rem 0 .5rem; }
.stream p { color: var(--ink-soft); font-size: .92rem; }
.stream__pays { display: inline-block; margin-top: .9rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-deep); border-top: 2px solid var(--accent); padding-top: .5rem; }

/* ---------- Day timeline ---------- */

.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.day li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: start; min-width: 0; }
.day time { font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; font-size: .95rem; letter-spacing: -.01em; padding-top: .1rem; }
.day h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.day p { color: var(--ink-soft); font-size: .95rem; }
.section--dark .day time { color: #ff7d55; }
.section--dark .day p { color: var(--on-dark-soft); }
@media (max-width: 480px) { .day li { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Roles (who does what) ---------- */

.roles { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.role { border: 1px solid var(--rule); border-radius: 6px; padding: 1.5rem; background: #fff; min-width: 0; }
.role--lead { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.role__tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.role--lead .role__tag { color: #ff7d55; }
.role h3 { font-size: 1.1rem; margin: .4rem 0 .6rem; }
.role--lead h3 { color: #fff; }
.role p { color: var(--ink-soft); font-size: .92rem; }
.role--lead p { color: #cfdae6; }
.role ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9rem; }
.role--lead ul { color: #cfdae6; }
.role li + li { margin-top: .3rem; }
.role__pay { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--gray-text); }
.role--lead .role__pay { border-color: rgba(255,255,255,.18); color: var(--on-dark-dim); }
.role__pay b { color: var(--navy-deep); }
.role--lead .role__pay b { color: #fff; }

/* ---------- FAQ ---------- */

.faq { margin-top: clamp(2.25rem, 5vw, 3.5rem); border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent-text); }
.faq details[open] summary::after { content: "2"; }
.faq details p { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: var(--measure); }
