/* ==========================================================================
   Insurance Administrative Solutions, L.L.C.
   Design system — "The Record"
   Palette : archival green binding, oxblood seal, bond paper
   Type    : Fraunces (display) / Public Sans (body) / IBM Plex Mono (record)
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Color */
  --ink:        #131c1a;
  --green-900:  #1b342e;
  --green-800:  #24493f;
  --green-600:  #3a6e5f;
  --green-200:  #b9cdc5;
  --green-050:  #e4ece8;

  --bond:       #f2f4f1;
  --bond-2:     #e8ece7;
  --rule:       #cbd5cf;

  --seal:       #8a2f2a;
  --seal-lift:  #a9463c;

  --muted:      #566360;
  --muted-dark: #9db3ab;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.80rem, 0.78rem + 0.10vw, 0.86rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.10rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.44rem);
  --step-2:  clamp(1.50rem, 1.34rem + 0.78vw, 2.05rem);
  --step-3:  clamp(1.90rem, 1.60rem + 1.45vw, 2.90rem);
  --step-4:  clamp(2.40rem, 1.85rem + 2.70vw, 4.30rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --bay:    clamp(4rem, 9vw, 8rem);
  --measure: 62ch;

  /* Structure */
  --rail: 1.5px;
  --radius: 3px;
  --shell: 1240px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bond);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* --- Ruled-paper ground (signature texture) ----------------------------- */
/* Hairlines on the baseline grid. Kept near-invisible on purpose:
   it should read as paper stock, never as a pattern. */
.ruled {
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    rgba(27, 52, 46, 0.055) 31px,
    rgba(27, 52, 46, 0.055) 32px
  );
  background-position: 0 0;
}
.ruled--dark {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    rgba(185, 205, 197, 0.07) 31px,
    rgba(185, 205, 197, 0.07) 32px
  );
}

/* --- Layout primitives --------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bay { padding-block: var(--bay); }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: var(--bond);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: var(--step--1);
}
.skip-link:focus { top: 0.5rem; }

/* --- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; line-height: 1.25; }

p { text-wrap: pretty; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
  font-weight: 350;
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.15rem; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--seal); text-underline-offset: 3px; }

/* Record-field label: the mono voice. Used ONLY where a real
   identifier, code, or field name exists — never as decoration. */
.field {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
}
.field--onDark { color: var(--green-200); }

/* --- Links & buttons ----------------------------------------------------- */
a { color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border: var(--rail) solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--seal); border-color: var(--seal); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn--onDark {
  background: var(--bond);
  color: var(--green-900);
  border-color: var(--bond);
}
.btn--onDark:hover { background: var(--seal-lift); border-color: var(--seal-lift); color: #fff; }

.btn--ghostDark {
  background: transparent;
  color: var(--bond);
  border-color: rgba(185, 205, 197, 0.45);
}
.btn--ghostDark:hover { background: transparent; border-color: var(--bond); color: var(--bond); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Underline-on-hover text link */
.tlink {
  font-weight: 600;
  text-decoration: none;
  color: var(--seal);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 200ms ease;
  padding-bottom: 2px;
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1.5px; }

/* --- Focus (quality floor) ---------------------------------------------- */
:focus-visible {
  outline: 2.5px solid var(--seal);
  outline-offset: 3px;
  border-radius: 2px;
}
.onDark :focus-visible, .site-foot :focus-visible { outline-color: var(--green-200); }

/* ==========================================================================
   SIGNATURE — the index tab
   A section header is a divider tab sitting on a rule, exactly the way a
   lettered tab sits in a file drawer. The letter is the tab's index.
   ========================================================================== */
.divider {
  display: flex;
  align-items: flex-end;
  border-bottom: var(--rail) solid var(--ink);
  margin-bottom: 3rem;
}

.divider__tab {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 1.4rem 0.6rem;
  background: var(--ink);
  color: var(--bond);
  border-radius: var(--radius) var(--radius) 0 0;
  /* the trapezoid cut of a real divider tab */
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  padding-right: 2rem;
}

.divider__letter {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--green-200);
}

.divider__label {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.divider--onDark { border-bottom-color: var(--green-200); }
.divider--onDark .divider__tab { background: var(--green-200); color: var(--green-900); }
.divider--onDark .divider__letter { color: var(--green-800); }

/* Tab strip: a miniature of the drawer, tracking scroll position.
   Desktop only — it is an orientation aid, not content. */
.tabstrip {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
/* Only appears once the viewport is wider than the 1240px shell plus enough
   margin to sit clear of it. Below that it would overlap the content. */
@media (min-width: 1400px) { .tabstrip { display: flex; } }

.tabstrip__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0.15rem;
  opacity: 0.72;
  transition: opacity 200ms ease, color 200ms ease;
}
.tabstrip__item::after {
  content: "";
  width: 18px;
  height: var(--rail);
  background: currentColor;
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tabstrip__item:hover { opacity: 1; }
.tabstrip__item[aria-current="true"] {
  opacity: 1;
  color: var(--seal);
}
.tabstrip__item[aria-current="true"]::after { width: 34px; }
.tabstrip__name { display: none; }
@media (min-width: 1620px) { .tabstrip__name { display: inline; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 244, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.site-head[data-scrolled="true"] { border-bottom-color: var(--rule); }

.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 400px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; padding: 0; }

/* Must come AFTER the base rule above, or it loses the cascade and the
   desktop nav stays on at mobile widths (which overflows the viewport). */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { gap: 0.75rem; }
}

.nav__link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--seal); }

.nav__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: var(--rail) solid var(--ink);
  border-radius: var(--radius);
  transition: background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.nav__call:hover { background: var(--ink); color: var(--bond); }
@media (max-width: 620px) { .nav__call span { display: none; } .nav__call { padding: 0.6rem 0.75rem; } }

/* Mobile menu */
.menu-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: var(--rail) solid var(--rule);
  border-radius: var(--radius);
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .menu-btn { display: inline-flex; } }

.menu-btn__bars { display: grid; gap: 3px; }
.menu-btn__bars i { display: block; width: 15px; height: 1.5px; background: var(--ink); }

.drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--bond);
  padding-block: 1rem 1.5rem;
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 901px) { .drawer { display: none !important; } }

.drawer__list { list-style: none; padding: 0; display: grid; }
.drawer__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.drawer__list a span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green-600);
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Hero — the thesis: a record card, correctly filled out
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
}

.hero__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: var(--rail);
  background: var(--seal);
}

.hero h1 .accent {
  font-style: italic;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  color: var(--seal);
}

.hero__lede { margin-top: 1.75rem; }

/* The record card — a policy jacket, set in mono, that fills in on load. */
.card {
  background: #fff;
  border: var(--rail) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 rgba(27, 52, 46, 0.08);
  overflow: hidden;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--green-900);
  color: var(--bond);
}
.card__title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.card__stamp {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--seal);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
}

.card__body { padding: 0.5rem 1.25rem 1.25rem; }

.card__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--bond-2);
}
.card__row:last-child { border-bottom: 0; }
@media (max-width: 420px) {
  .card__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

.card__key {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__val {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.card__val a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.card__val a:hover { border-bottom-color: var(--seal); color: var(--seal); }

/* Page-load fill sequence. One orchestrated moment, then the page is still. */
.fill { opacity: 0; transform: translateY(6px); }
.js .fill { animation: fill-in 520ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards; }
.js .fill:nth-child(1) { animation-delay: 240ms; }
.js .fill:nth-child(2) { animation-delay: 360ms; }
.js .fill:nth-child(3) { animation-delay: 480ms; }
.js .fill:nth-child(4) { animation-delay: 600ms; }
.js .fill:nth-child(5) { animation-delay: 720ms; }

@keyframes fill-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Capability files — a stack of folders in a drawer
   ========================================================================== */
.files {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: var(--rail) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px)  { .files { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .files { grid-template-columns: repeat(3, 1fr); } }

.file {
  position: relative;
  background: var(--bond);
  padding: 2rem 1.75rem 2.25rem;
  transition: background-color 220ms ease;
}
.file:hover { background: #fff; }

/* the folder's cut corner */
.file::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent var(--bond-2) transparent transparent;
  transition: border-color 220ms ease;
}
.file:hover::after { border-color: transparent var(--seal) transparent transparent; }

.file__code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--green-600);
  display: block;
  margin-bottom: 1.1rem;
}
.file h3 { margin-bottom: 0.75rem; }
.file p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Process — a true sequence, so it is numbered
   ========================================================================== */
.steps { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  counter-increment: step;
  padding: 2rem 1.5rem 2rem 0;
  border-top: var(--rail) solid var(--green-800);
  position: relative;
}
@media (min-width: 900px) { .step { padding-right: 2.25rem; } }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green-200);
  margin-bottom: 1rem;
}
.step h3 { color: var(--bond); margin-bottom: 0.6rem; }
.step p { color: var(--muted-dark); font-size: 0.93rem; }

/* ==========================================================================
   Dark bay
   ========================================================================== */
.onDark {
  background: var(--green-900);
  color: var(--bond);
}
.onDark h2 { color: var(--bond); }
.onDark .lede { color: var(--muted-dark); }

/* Client roster */
.roster { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .roster { grid-template-columns: repeat(2, 1fr); } }

.roster__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(185, 205, 197, 0.25);
}
.roster__item .field { padding-top: 0.35rem; }
.roster__item h3 { color: var(--bond); margin-bottom: 0.35rem; }
.roster__item p { color: var(--muted-dark); font-size: 0.93rem; }

/* ==========================================================================
   Split section (about / contact intro)
   ========================================================================== */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 960px) { .split { grid-template-columns: 0.85fr 1.15fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.detail { border-top: var(--rail) solid var(--ink); padding: 1.25rem 0; }
.detail__key { margin-bottom: 0.45rem; }
.detail__val { font-size: 1.02rem; line-height: 1.5; }
.detail__val a { text-decoration: none; border-bottom: 1.5px solid var(--rule); }
.detail__val a:hover { color: var(--seal); border-bottom-color: var(--seal); }

.form {
  background: #fff;
  border: var(--rail) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 rgba(27, 52, 46, 0.08);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__full { grid-column: 1 / -1; }

.field-group { display: grid; gap: 0.4rem; }

.field-group label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field-group .req { color: var(--seal); }

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--bond);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.98rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field-group textarea { resize: vertical; min-height: 8rem; }

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover { border-color: var(--green-600); }

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  background: #fff;
  border-color: var(--ink);
  outline-offset: 1px;
}

.form__note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* honeypot — off-screen, never displayed to a human */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border-left: 4px solid;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.alert--ok   { background: var(--green-050); border-color: var(--green-600); color: var(--green-900); }
.alert--bad  { background: #f7e9e8; border-color: var(--seal); color: var(--seal); }

/* ==========================================================================
   CTA strip
   ========================================================================== */
.cta {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta .btn-row { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
  background: var(--ink);
  color: var(--bond);
  padding-block: 4rem 2rem;
}

.foot__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(185, 205, 197, 0.2);
}
@media (min-width: 760px)  { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.foot__brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.foot__brand p { color: var(--muted-dark); font-size: 0.93rem; max-width: 34ch; }

.foot h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-200);
  margin-bottom: 1.1rem;
}
.foot ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.foot a { color: var(--bond); text-decoration: none; font-size: 0.93rem; opacity: 0.82; }
.foot a:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot address { font-style: normal; color: var(--muted-dark); font-size: 0.93rem; line-height: 1.7; }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}
.foot__base p, .foot__base a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted-dark);
}

/* ==========================================================================
   Scroll reveal — one gentle lift, applied sparingly
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
              transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion — hard off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .fill { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   Print — it is a records business; the pages should print cleanly
   ========================================================================== */
@media print {
  .site-head, .tabstrip, .drawer, .btn-row, .form { display: none !important; }
  body { background: #fff; color: #000; }
  .onDark { background: #fff !important; color: #000 !important; }
  .onDark h2, .step h3, .roster__item h3 { color: #000 !important; }
  .ruled { background-image: none !important; }
}
