/* ==========================================================
   rmfundraising.com
   Charcoal, white and Gold Athletics gold.
   Type: Archivo (self hosted, variable weight and width)
   ========================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15191c;          /* charcoal, pulled from the headshot backdrop */
  --ink-2: #1c2226;        /* raised charcoal */
  --ink-3: #252c31;
  --line-dark: #2f383e;
  --steel: #a9b2b7;        /* secondary text on dark */
  --paper: #eef0f1;        /* cool light grey, not cream */
  --white: #ffffff;
  --line-light: #d5dadd;
  --slate: #4b555b;        /* secondary text on light */
  --gold: #cab448;         /* exact Gold Athletics logo gold */
  --gold-bright: #dcc85e;
  --gold-deep: #6e6216;    /* gold for text on light backgrounds */

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius-sm: 6px;
  --radius-lg: 20px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-light :focus-visible { outline-color: var(--ink); }

/* ---------- Shared type ---------- */

.section-title {
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ext {
  width: 0.7em; height: 0.7em;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px;
  padding: 0 1.4em;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-line { border-color: rgba(255,255,255,.32); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 25, 28, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.02rem; }
.brand-role { font-size: 0.8rem; color: var(--steel); }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-official a {
  margin-left: 8px;
  color: var(--gold);
  border: 1px solid rgba(202,180,72,.45);
}
.site-nav .nav-official a:hover { border-color: var(--gold); color: var(--gold-bright); }

.header-actions { display: none; align-items: center; gap: 8px; }
.header-call {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.header-call svg { width: 16px; height: 16px; fill: currentColor; }
.menu-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  color: var(--white); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(1200px 520px at 82% 18%, rgba(46, 70, 80, 0.42), transparent 62%),
    var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.identity {
  display: block;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.identity .sep { color: var(--gold); margin: 0 0.35em; font-weight: 400; }

.headline {
  display: block;
  font-stretch: 66%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 1.6rem + 4.4vw, 5.15rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--white);
}

.lede {
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 58ch;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.6;
  color: #d3d9dc;
}

.cta-row {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* Call or Text split button (native <details>, works without JS) */
.cta-split { position: relative; }
.cta-split > summary { list-style: none; }
.cta-split > summary::-webkit-details-marker { display: none; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.cta-split[open] .chev { transform: rotate(180deg); }
.cta-menu {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0;
  min-width: 100%; width: max-content;
  background: var(--white); color: var(--ink);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
  transform-origin: top left;
  animation: menu-in .16s ease-out;
}
.cta-menu a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 28px;
  padding: 12px 14px; border-radius: 6px;
  text-decoration: none;
}
.cta-menu a:hover, .cta-menu a:focus-visible { background: var(--paper); }
.cta-menu-label { font-weight: 700; }
.cta-menu-num { color: var(--slate); font-variant-numeric: tabular-nums; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.verify-note {
  margin-top: 28px;
  max-width: 60ch;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--steel);
}
.verify-note strong { color: var(--white); font-weight: 600; }
.verify-note a { color: var(--white); text-decoration-color: rgba(202,180,72,.7); text-underline-offset: 3px; }
.verify-note a:hover { text-decoration-color: var(--gold); }

/* The credential: Rob's photo presented like a sideline pass */
.credential {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 410px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px 12px 12px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  transform-origin: 50% -40px;
}
/* lanyard slot */
.credential::before {
  content: "";
  position: absolute; top: 13px; left: 50%; z-index: 2;
  width: 54px; height: 9px; margin-left: -27px;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.credential-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 574 / 600;
  background: #13222a;
}
.credential-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

.credential-body {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 8px 8px;
}
.credential-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex: none;
}
.credential-text { display: flex; flex-direction: column; min-width: 0; }
.credential-name {
  font-stretch: 72%;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.005em;
}
.credential-role { margin-top: 6px; font-weight: 600; font-size: 0.95rem; color: var(--gold); line-height: 1.3; }
.credential-area { margin-top: 4px; font-size: 0.85rem; color: var(--steel); line-height: 1.4; }

/* ---------- Light sections ---------- */

.section-light {
  background: var(--paper);
  color: var(--ink);
}

/* About */
.about { padding-block: var(--section-y); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 574 / 646;
  background: #13222a;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-copy .section-title { margin-bottom: 28px; }
.about-copy > p:not(.signoff) {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.65;
  color: #283035;
}
.about-copy > p + p { margin-top: 1.05em; }
.signoff {
  margin-top: 22px;
  font-stretch: 72%;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}
.signoff::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 2px; margin-right: 12px;
  background: var(--gold);
}

.facts {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
}
.facts dt { font-weight: 700; font-size: 0.95rem; }
.facts dd { margin-top: 4px; color: var(--slate); font-size: 0.98rem; line-height: 1.5; }

/* Options */
.options { padding-bottom: var(--section-y); }
.options .wrap { position: relative; padding-top: var(--section-y); }
.options .wrap::before {
  content: ""; position: absolute; top: 0;
  left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line-light);
}

.options-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: end;
}
.options-head p { color: var(--slate); max-width: 52ch; font-size: 1.05rem; }

.option-list {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 2px solid var(--ink);
}
.option {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) 13.5rem;
  gap: 16px 40px;
  align-items: baseline;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-light);
}
.option h3 {
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
  line-height: 1.02;
}
.option p { color: #2f383d; max-width: 52ch; }
.option a {
  justify-self: end;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.option a:hover { color: var(--gold-deep); }

.options-cta {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
}
.options-cta p { color: var(--slate); }
.options-cta p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- Verification ---------- */

.verify {
  padding-block: var(--section-y);
  background:
    radial-gradient(900px 480px at 10% 0%, rgba(202, 180, 72, 0.07), transparent 60%),
    var(--ink);
}
.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.verify-logo {
  width: 112px; height: 112px;
  border-radius: 50%;
  margin-bottom: 28px;
}
.verify-intro p {
  margin-top: 22px;
  max-width: 50ch;
  color: #c9d0d3;
  font-size: 1.08rem;
}
.verify-intro p a { color: var(--white); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.verify-intro .btn { margin-top: 32px; white-space: normal; text-align: left; }

.ledger-wrap {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(8px, 2vw, 16px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 32px);
}
.ledger-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  gap: 6px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.ledger dt { color: var(--steel); font-size: 0.92rem; padding-top: 2px; }
.ledger dd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ledger dd a { text-decoration: none; border-bottom: 1px solid rgba(202,180,72,.55); }
.ledger dd a:hover { border-bottom-color: var(--gold); color: var(--gold-bright); }
.copy {
  font: inherit; font-size: 0.78rem; font-weight: 600;
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy:hover { color: var(--white); border-color: var(--steel); }
.copy.is-copied { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.ledger-note {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--steel);
}
.ledger-note a { color: var(--white); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Contact ---------- */

.contact { padding-block: var(--section-y); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
}
.contact-copy p { margin-top: 20px; color: var(--slate); font-size: 1.1rem; max-width: 40ch; }
.contact-copy .contact-name {
  margin-top: 32px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
}
.contact-name span { font-weight: 400; color: var(--slate); }

.contact-phone {
  display: block;
  font-stretch: 64%;
  font-weight: 800;
  font-size: clamp(3.4rem, 1.6rem + 7.4vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.contact-phone span { color: var(--gold); }
.contact-phone:hover { color: #2a3237; }

.contact-actions {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.contact-actions .btn { padding: 0 1em; }

.contact-list {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  border-top: 1px solid var(--line-light);
  padding-top: 20px;
}
.contact-list dt { font-size: 0.9rem; color: var(--slate); }
.contact-list dd { margin-top: 2px; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1.5px solid var(--gold); }
.contact-list a:hover { color: var(--gold-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px));
  color: var(--steel);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px 48px;
}
.footer-id { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.footer-id .brand-mark { grid-row: span 2; }
.footer-id strong { color: var(--white); }
.footer-contact { margin-top: 12px; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-heading { color: var(--white); font-weight: 700; margin-bottom: 10px; }
.footer-links li + li { margin-top: 6px; }
.disclaimer {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 92ch;
}
.disclaimer a { text-decoration: underline; text-underline-offset: 3px; }
.copyright { grid-column: 1 / -1; font-size: 0.85rem; }

/* ---------- Page load: the credential settles in like a pass on a lanyard ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .credential { animation: credential-in 1.1s cubic-bezier(.2,.75,.25,1) .15s both; }
  .js .hero-copy { animation: copy-in .7s ease-out both; }
  @keyframes credential-in {
    0%   { opacity: 0; transform: translateY(-26px) rotate(-3.5deg); }
    55%  { opacity: 1; transform: translateY(4px) rotate(1.2deg); }
    80%  { transform: translateY(-1px) rotate(-0.4deg); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes copy-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-menu { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .site-nav .nav-official a { margin-left: 0; }
  .site-nav a { padding: 8px 9px; }
  .brand-role { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }

  .header-actions { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav a {
    display: flex;
    padding: 14px 4px;
    font-size: 1.1rem;
    color: var(--white);
    border-radius: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav .nav-official a {
    margin-top: 16px; justify-content: center;
    border: 1px solid rgba(202,180,72,.55); border-radius: var(--radius-sm);
  }
  .brand-role { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .credential {
    order: -1; justify-self: start;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    max-width: 560px;
    padding: 12px 20px 12px 12px;
    transform-origin: 50% -20px;
  }
  .credential::before { display: none; }
  .credential-photo { aspect-ratio: 1 / 1.08; border-radius: 10px; }
  .credential-body { display: block; padding: 0; }
  .credential-logo { width: 48px; height: 48px; margin-bottom: 10px; }


  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }

  .options-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .option { grid-template-columns: 1fr; gap: 10px; }
  .option a { justify-self: start; }

  .verify-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-id { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }

  /* Compact credential on phones: photo beside the name so the headline stays in view */
  .credential {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 10px 16px 10px 10px;
    border-radius: 16px;
    max-width: none;
  }
  .credential-logo { width: 40px; height: 40px; margin-bottom: 8px; }
  .credential-name { font-size: 1.55rem; }
  .credential-role { font-size: 0.88rem; margin-top: 4px; }
  .credential-area { font-size: 0.8rem; }

  .hero { padding-top: 20px; }
  .brand-role { display: none; }
  .site-nav + .header-actions, .header-actions { gap: 8px; }
  /* the credential card above already shows the name and role on phones */
  .identity {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; margin: 0;
  }
  .lede { font-size: 1.05rem; }
  .hero-grid { gap: 28px; }
  .headline { font-size: clamp(2.55rem, 11.6vw, 3.4rem); }

  .cta-row { flex-direction: column; }
  .cta-row .btn, .cta-split, .cta-split > summary { width: 100%; }
  .cta-menu { width: 100%; }

  .facts { grid-template-columns: 1fr; gap: 18px; }

  .ledger-row { grid-template-columns: 1fr; padding-block: 14px; gap: 2px; }

  .contact-phone { font-size: min(17vw, 4.6rem); }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .contact-actions .btn-outline-ink { grid-column: 1 / -1; }
  .contact-list { grid-template-columns: 1fr; gap: 14px; }

  .verify-intro .btn, .options-cta .btn {
    display: block; width: 100%;
    padding: 15px 1em; line-height: 1.35;
    white-space: normal; text-align: center;
  }
  .verify-intro .btn .ext, .options-cta .btn .ext { display: inline-block; margin-left: 0.4em; vertical-align: 0.05em; }

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

@media (max-width: 380px) {
  .credential { grid-template-columns: 96px minmax(0, 1fr); }
  .credential-name { font-size: 1.4rem; }
}

/* ---------- Simple pages (privacy, 404) ---------- */

.simple-back {
  color: var(--steel); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 4px;
}
.simple-back:hover { color: var(--white); }
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal-inner { max-width: calc(760px + var(--gutter) * 2); }
.legal-updated { margin-top: 12px; color: var(--slate); font-size: 0.95rem; }
.legal h2 {
  margin-top: 40px;
  font-stretch: 75%; font-weight: 800; font-size: 1.6rem; line-height: 1.1;
}
.legal p { margin-top: 14px; color: #283035; line-height: 1.7; }
.legal h1 + .legal-updated + p { margin-top: 32px; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.page-simple .site-footer .footer-grid { grid-template-columns: 1fr; }
.page-simple .disclaimer { border-top: 0; padding-top: 0; }

.notfound { min-height: 70vh; display: grid; align-items: center; padding-block: 80px; }
.notfound p { margin-top: 18px; color: var(--steel); max-width: 46ch; font-size: 1.1rem; }
.notfound .cta-row { margin-top: 28px; }

/* Keep Rob's photo beside the longer About text on desktop */
@media (min-width: 901px) {
  .about-photo { position: sticky; top: calc(var(--header-h) + 32px); }
}
