/* =========================================================
   Ashtin Reich — "Field Notes"
   Single dark theme. Big Shoulders Display (headlines) + Archivo (everything else).
   Federation blue accent, paired with the existing rust-orange stat color.
   ========================================================= */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/bigshoulders-900.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-400.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/archivo-700.woff2") format("woff2");
}

:root {
  /* Color -- sampled + verified against WCAG AA, see DESIGN.md */
  --ground: #14171b;
  --surface: #1d2126;
  --surface-raised: #23282e;
  --text: #ece8de;
  --text-muted: #969490; /* 5.94:1 on --ground */
  --line: rgba(236, 232, 222, 0.12);
  --line-strong: rgba(236, 232, 222, 0.22);
  --federation-blue: #2767B4; /* primary accent -- structural UI (buttons, borders, separators) */
  --federation-blue-light: #5B8FE0; /* accessible on --ground -- use for text/links */
  --stat-accent: #d4572a; /* large text only, never structural UI */

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 68ch;
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--federation-blue-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Browser-surface theming ---------- */

::selection {
  background: var(--federation-blue);
  color: var(--text);
}

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

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) var(--ground);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ground);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 6px;
  border: 2px solid var(--ground);
}

/* Tabular figures anywhere a real number appears */
.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.visually-hidden {
  position: absolute;
  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;
  top: -3rem;
  left: 1rem;
  z-index: 200;
  background: var(--federation-blue);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--federation-blue);
  color: var(--text);
}

.btn-primary:hover {
  /* Same proportional lightening as the old clay hover step (not the
     --federation-blue-light token -- that variant is tuned for small text on
     dark backgrounds and washes out badly with bone button text at this size). */
  background: #2d77d0;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--federation-blue);
  background: rgba(39, 103, 180, 0.12);
}

.btn-outline .arrow {
  transition: transform 0.15s var(--ease-out);
}

.btn-outline:hover .arrow {
  transform: translateX(3px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.btn-text:hover {
  text-decoration-color: var(--federation-blue-light);
}

.btn-text .arrow {
  transition: transform 0.15s var(--ease-out);
}

.btn-text:hover .arrow {
  transform: translateX(3px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 23, 27, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  height: 72px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  }

  .main-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Photography (shared duotone) ---------- */

/* Source photos are already desaturated; the SVG filter (see index.html) maps
   luminance to --ground/--text so all three unify into one coherent system
   regardless of their original mismatched lighting. */
.hero-media img,
.about-media img,
.breaker img {
  filter: url("#duotone-field-notes");
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 38%) 1fr;
  min-height: calc(100svh - 72px);
  padding-block: 0;
  border-top: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter);
}

.hero-eyebrow-free {
  /* intentionally no eyebrow/kicker element -- heading carries the weight */
}

.hero h1 {
  font-size: clamp(2.75rem, 5.4vw + 1rem, 5.75rem);
  max-width: 12ch;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .hero-sub,
  .hero .credential-row,
  .hero .hero-actions {
    opacity: 0;
    transform: translateY(14px);
    animation: reveal 0.6s var(--ease-out) forwards;
  }

  .hero h1 {
    animation-delay: 0.05s;
  }

  .hero .hero-sub {
    animation-delay: 0.28s;
  }

  .hero .credential-row {
    animation-delay: 0.5s;
  }

  .hero .hero-actions {
    animation-delay: 0.7s;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  max-width: 42ch;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 0.55em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding-block: 0.85rem;
}

.credential-row .sep {
  color: var(--federation-blue);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  align-self: start;
  aspect-ratio: 0.9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 23, 27, 0.55) 0%, rgba(20, 23, 27, 0) 22%);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-media {
    width: 100%;
    height: 58svh;
    order: -1;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 23, 27, 0) 55%, rgba(20, 23, 27, 1) 100%);
  }

  .hero h1 {
    max-width: none;
  }
}

/* ---------- Section scaffolding ---------- */

section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 46ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head p {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 52ch;
}

/* ---------- About ---------- */

.about {
  background: var(--surface);
}

.about .wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: var(--measure);
}

.about-copy p {
  font-size: 1.0625rem;
}

.about-media {
  position: sticky;
  top: 96px;
}

.about-media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.about-media figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about .wrap {
    grid-template-columns: 1fr;
  }

  .about-media {
    position: static;
    order: -1;
    max-width: 22rem;
  }
}

/* Track-meet numeral grammar -- the tier index ordinal label, never a claimed statistic. */
.tier-index {
  color: var(--stat-accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ---------- National team experience ---------- */

.national-team-body {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: var(--measure);
}

/* ---------- Services (tiers) ---------- */

.breaker {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 21 / 8;
}

.breaker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

@media (max-width: 640px) {
  .breaker {
    aspect-ratio: 4 / 3;
  }
}

/* auto-fit + minmax so a 4th/5th card later just reflows -- no grid rework needed */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.tier-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1;
}

.tier-includes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.tier-includes li {
  position: relative;
  padding-left: 1.35em;
  color: var(--text-muted);
  font-size: 1rem;
}

.tier-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--federation-blue);
  border-radius: 1px;
}

.tier-link {
  margin-top: 0.5rem;
}

/* Matches .section-head p's weight/measure -- same supporting-copy register,
   just placed after the grid instead of before it. */
.tier-closing {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 52ch;
}

/* ---------- Credentials & research ---------- */

.credentials {
  background: var(--surface);
}

.credentials .section-head {
  max-width: none;
}

.cred-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: clamp(2rem, 4vw, 4rem);
}

.cred-row {
  display: grid;
  grid-template-columns: minmax(140px, 26%) 1fr;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.cred-row:nth-child(2),
.cred-row:last-child {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .cred-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .cred-row:nth-child(2) {
    border-bottom: none;
  }
}

.cred-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-top: 0.15rem;
}

.cred-detail strong {
  color: var(--text);
  font-weight: 700;
}

.cred-detail span {
  display: block;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .cred-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

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

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy {
  max-width: var(--measure);
}

.contact-copy p {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.contact-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 3px;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.15s var(--ease-out);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ECE8DE' stroke-width='2'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: var(--line-strong);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--federation-blue-light);
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.phone-input-group > .searchable-select {
  flex: 0 0 6.5rem;
  min-width: 0;
}

.phone-input-group > .searchable-select .searchable-select-input {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 1.75rem;
}

.phone-input-group > input {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Searchable select (progressive enhancement over a real <select>,
   which stays in the DOM -- visually hidden -- as the actual form-submitted
   value; see enhanceSelect() in js/main.js) ---------- */

.searchable-select {
  position: relative;
}

.searchable-select .sr-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.searchable-select-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ECE8DE' stroke-width='2'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.searchable-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  min-width: 100%;
  width: max-content;
  max-width: min(320px, 90vw);
  max-height: 240px;
  overflow-y: auto;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.searchable-select-group {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.searchable-select-option {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.searchable-select-option:hover,
.searchable-select-option.is-active {
  background: var(--federation-blue);
  color: var(--text);
}

.searchable-select-option[aria-selected="true"] {
  font-weight: 700;
}

.searchable-select-empty {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Honeypot: visually hidden but still reachable in the DOM/markup for bots that
   don't render CSS; real users never see or tab to it (tabindex="-1" + aria-hidden
   on the wrapping .form-field in index.html). */
.form-field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.form-fieldset legend {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 0 0.75rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.1rem;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out);
}

.radio-option:has(input:checked) {
  border-color: var(--federation-blue);
}

.radio-option:has(input:focus-visible) {
  outline: 2px solid var(--federation-blue-light);
  outline-offset: 2px;
}

.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--federation-blue);
}

.form-error {
  font-size: 0.85rem;
  color: var(--stat-accent);
  min-height: 1.1em;
  font-weight: 700;
}

.form-field[data-invalid="true"] input,
.form-field[data-invalid="true"] textarea,
.form-field[data-invalid="true"] select,
.form-field[data-invalid="true"] .searchable-select-input {
  border-color: var(--stat-accent);
}

.form-fieldset[data-invalid="true"] .radio-option {
  border-color: var(--stat-accent);
}

#contact-form {
  margin-top: 0.5rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-status[data-state="success"] {
  color: var(--federation-blue-light);
  font-weight: 700;
}

.confirmation {
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  border-radius: 4px;
  padding: 2rem;
}

.confirmation h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.confirmation p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.confirmation[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer .wordmark {
  font-size: 1.05rem;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Social row: structurally present, kept empty until real handles arrive.
   Unhide and populate .social-links when Ashtin supplies accounts --
   see README notes in index.html for the exact spot. */
.social-links {
  display: none;
}

/* ---------- Mobile fixed CTA bar ---------- */

.mobile-cta-bar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--surface);
    border-top: 1px solid var(--line-strong);
    padding: 0.75rem var(--gutter);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    transform: translateY(0);
    transition: transform 0.25s var(--ease-out);
  }

  .mobile-cta-bar[data-hidden="true"] {
    transform: translateY(100%);
  }

  .mobile-cta-bar .btn-primary {
    width: 100%;
    justify-content: center;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero h1,
  .hero .hero-sub,
  .hero .credential-row,
  .hero .hero-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mobile-cta-bar,
  .main-nav,
  .btn {
    transition: none;
  }
}
