/* ==========================================================================
   Jansey "Jones" Silva — jjsilvamma.com
   Single stylesheet. No framework, no build step.
   Palette/type tokens come from the brand guide (Ink Black / Brazil Green /
   Brazil Gold / Off-White; Barlow Condensed display, Barlow body).
   ========================================================================== */

:root {
  /* Surfaces */
  --ink:        oklch(0.15 0.01 250);
  --ink-deep:   oklch(0.12 0.01 250);

  /* Accents */
  --green:      oklch(0.72 0.15 150);
  --gold:       oklch(0.78 0.15 95);

  /* Text */
  --text:       oklch(0.95 0.01 90);
  --text-bold:  oklch(0.97 0.01 90);
  --text-muted: oklch(0.85 0.01 90);
  --text-dim:   oklch(0.70 0.01 90);
  --text-faint: oklch(0.55 0.01 90);

  /* Lines */
  --line:       oklch(0.30 0.01 250);
  --line-soft:  oklch(0.90 0.01 90 / 0.25);
  --line-mid:   oklch(0.90 0.01 90 / 0.40);

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', Helvetica, Arial, sans-serif;
  --font-body:    'Barlow', Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter:     clamp(20px, 5vw, 56px);
  --section-y:  clamp(64px, 9vw, 110px);
  --maxw:       1440px;
}

/* --------------------------------------------------------------- Base --- */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .disp {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

/* height:auto is required alongside the width/height attributes on <img>:
   those attributes are presentational hints that set a used height, which
   would otherwise suppress the aspect-ratio rules below. */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover { color: var(--gold); }

/* Visible, consistent keyboard focus — the export had none at all. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------- Utilities --- */

.shell {
  max-width: var(--maxw);
  margin-inline: auto;
  position: relative;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow--green { color: var(--green); }
.eyebrow--gold  { color: var(--gold); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--ink-deep);
  padding: 12px 20px;
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

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

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--green);
  color: var(--ink-deep);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--ink-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1.5px solid var(--line-mid);
  color: var(--text);
  padding: 13px 28px;
  font-weight: 600;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px var(--gutter);
}

.site-header__logo img {
  height: clamp(84px, 9vw, 132px);
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text-bold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.site-nav a:hover { color: var(--text-bold); }
.site-nav a:hover::after { width: 100%; }

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

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

/* Scrim keeps the copy legible over the photo. Two layers: a base fade so the
   buttons sit on solid ink, and a left-anchored wash for the (left-aligned)
   text column — the eyebrow otherwise lands on whatever bright detail the photo
   happens to have there. The right side, where the action reads, stays clear. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.12 0.01 250 / 0.82) 0%, oklch(0.12 0.01 250 / 0.35) 40%, transparent 66%),
    linear-gradient(0deg, var(--ink) 4%, transparent 55%);
  pointer-events: none;
}

.hero__body {
  position: relative;
  padding: 0 var(--gutter) clamp(48px, 7vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__meta {
  align-self: flex-start;
  display: inline-block;
  margin: 0;
  padding: 10px 18px;
  background: oklch(0.12 0.01 250 / 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-bold);
}

.hero__title {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  color: var(--text-bold);
}

.hero__title span { color: var(--green); }

.hero__lede {
  max-width: 560px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.5;
  color: oklch(0.88 0.01 90);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

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

.about {
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

.about__text {
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
}

.about__text + .about__text { margin-top: 16px; }

.about__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

/* ------------------------------------------------------------- Record --- */

.record {
  padding: var(--section-y) var(--gutter);
}

.record__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.record__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  border: 1.5px solid var(--line-soft);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 48px);
  min-height: 148px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-bold);
}

.stat__num--gold { color: var(--gold); }

.stat__label {
  font-size: 15px;
  color: var(--text-dim);
}

.record__detail {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(48px, 7vw, 72px);
}

.record__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.fights {
  width: 100%;
  border-collapse: collapse;
}

.fights th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.fights td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-muted);
}

/* td.* keeps these above the `.fights td` base colour (which outranks a
   lone class selector on specificity). */
.fights td.fights__opp { color: var(--text-bold); }

.fights td.fights__win {
  color: var(--green);
  font-weight: 600;
}

.fights td.fights__win--gold { color: var(--gold); }

.record__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-faint);
}

.upcoming-card {
  border: 1.5px solid var(--line-soft);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 32px);
}

.upcoming-card__date {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.upcoming-card__title {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bold);
}

.upcoming-card__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.upcoming-card__link {
  display: inline-block;
  margin-top: 24px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.upcoming-card__link:hover { color: var(--gold); }

/* ----------------------------------------------------------- Timeline --- */

.journey {
  padding: clamp(56px, 7vw, 80px) var(--gutter) clamp(72px, 10vw, 120px);
  background: var(--ink-deep);
}

.journey__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 220px 40px 1fr;
}

.timeline__place {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 2px;
}

.timeline__item--gold .timeline__place { color: var(--gold); }

/* Decorative rail: dot + connector line. */
.timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__rail::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.timeline__rail::after {
  content: '';
  width: 2px;
  flex: 1;
  background: var(--line);
  margin: 6px 0;
}

.timeline__item--gold .timeline__rail::before { background: var(--gold); }
.timeline__item:last-child .timeline__rail::after { display: none; }

.timeline__body { padding-bottom: 56px; }
.timeline__item:last-child .timeline__body { padding-bottom: 0; }

.timeline__body--with-media {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: start;
}

.timeline__heading {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline__text {
  font-size: 16px;
  line-height: 1.6;
  color: oklch(0.82 0.01 90);
  max-width: 640px;
}

.timeline__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

/* ----------------------------------------------------------- Coaching --- */

.coaching {
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.coaching__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.coaching__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

.coaching__text {
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
}

.coaching__actions { margin-top: 32px; }

/* ----------------------------------------------------------- Sponsors --- */

.sponsors {
  padding: clamp(64px, 8vw, 100px) var(--gutter);
  text-align: center;
}

.sponsors__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

.sponsors__lede {
  color: oklch(0.82 0.01 90);
  max-width: 560px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsors__slot {
  aspect-ratio: 1;
  border: 1.5px solid var(--line-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.sponsors__cta { margin-top: 48px; }

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

.contact {
  padding: clamp(64px, 8vw, 100px) var(--gutter);
  background: var(--ink-deep);
  text-align: center;
}

.contact__title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
}

.contact__lede {
  color: oklch(0.82 0.01 90);
  max-width: 520px;
  margin: 0 auto 40px;
}

.contact__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-block;
  padding: 4px 2px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.social a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Contact form (posts to a Google Apps Script endpoint; see index.html). */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 18px;
}

.contact-form__row { display: grid; gap: 7px; }

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-bold);
  background: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

/* Honeypot: hidden from people, catches naive bots. */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit { justify-self: start; margin-top: 4px; }
.contact-form__submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-status {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.5;
  min-height: 1.4em;
}

.form-status--ok  { color: var(--green); }
.form-status--err { color: var(--gold); }

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

.site-footer {
  padding: 32px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}

.site-footer p { margin: 0; }

/* -------------------------------------------------------------- Merch --- */
/* Storefront placeholders at /merch.html. Swap the icon thumbs for real
   product photos once merchandise exists, then drop the "Coming soon" badges. */

.merch {
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 90px) var(--gutter) clamp(72px, 10vw, 120px);
}

.merch__intro {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.merch__title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 16px;
}

.merch__lede {
  color: var(--text-dim);
  max-width: 560px;
  margin-inline: auto;
}

.merch__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.merch__card {
  display: flex;
  flex-direction: column;
  background: var(--ink-deep);
  border: 1.5px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.merch__card:hover {
  border-color: var(--line-mid);
  transform: translateY(-3px);
}

.merch__thumb {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 34%, oklch(0.24 0.01 250), var(--ink));
  color: var(--text-faint);
}

.merch__thumb svg {
  width: 40%;
  max-width: 110px;
  height: auto;
  opacity: 0.55;
}

.merch__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 11px;
}

.merch__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  flex: 1;
}

.merch__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-bold);
}

.merch__price { color: var(--text-dim); font-size: 15px; }

.merch__meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

.merch__cta { margin-top: clamp(48px, 6vw, 72px); text-align: center; }

/* ---------------------------------------------------------- Brand page --- */
/* Living style guide at /brand.html. It documents the same tokens it uses, so
   the swatches/specimens below must read their values from :root — never
   hardcode a colour here, or the guide will drift from the site it describes. */

.brand {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(72px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 96px);
}

.brand__intro {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.brand__title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 16px;
}

.brand__title span { color: var(--green); }

.brand__lede {
  color: var(--text-dim);
  max-width: 520px;
  margin-inline: auto;
}

.brand__section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 01 — Logo */
.brand__logo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.brand__logo-plate {
  border-radius: 6px;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__logo-plate--light { background: #fff; }

.brand__logo-plate--dark {
  background: var(--ink-deep);
  border: 1px solid var(--line);
  padding: 40px;
}

.brand__logo-plate img { width: 100%; }
.brand__logo-plate--light img { max-width: 300px; }
.brand__logo-plate--dark img { max-width: 220px; }

.brand__logo-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* 02 — Colour */
.brand__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand__chip {
  height: 120px;
  border-radius: 6px;
  border: 1px solid transparent;
}

/* Bordered so near-black and near-white chips stay visible on the dark page. */
.brand__chip--ink       { background: var(--ink);       border-color: var(--line); }
.brand__chip--green     { background: var(--green); }
.brand__chip--gold      { background: var(--gold); }
.brand__chip--off-white { background: var(--text-bold); border-color: var(--line); }

.brand__chip-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.brand__chip-value {
  font-size: 12px;
  color: var(--text-faint);
}

/* 03 — Type */
.brand__type-grid,
.brand__voice-grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}

.brand__type-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.brand__voice-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.brand__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.brand__specimen-display {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand__specimen-body {
  font-size: 20px;
  line-height: 1.5;
}

.brand__caption {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* 04 — Voice */
.brand__principle {
  border-left: 2px solid var(--green);
  padding-left: 20px;
}

.brand__principle h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* 05 — Buttons */
.brand__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 760px) {
  .brand__logo-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- Error page --- */

/* The default header is absolutely positioned to overlay the hero. Pages with
   no hero (404) need it back in normal flow. */
.site-header--solid {
  position: static;
  background: var(--ink-deep);
}

.error {
  min-height: 60svh;
  padding: clamp(56px, 9vw, 110px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.error__code {
  font-family: var(--font-display);
  font-size: clamp(96px, 20vw, 200px);
  font-weight: 800;
  line-height: 0.82;
  color: var(--green);
  letter-spacing: 0.01em;
}

.error__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  max-width: 16ch;
}

.error__text {
  color: var(--text-muted);
  max-width: 46ch;
}

.error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

/* -------------------------------------------------------- Responsive --- */
/* The original export was fixed-width desktop only; these are new. */

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

  .record__stats { grid-template-columns: repeat(2, 1fr); }

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

  /* Photo below the copy it illustrates, in both sections. */
  .coaching__media { order: 2; }

  .about__media,
  .coaching__media {
    max-width: 460px;
    aspect-ratio: 4 / 5;
  }

  .timeline__item {
    grid-template-columns: 24px 1fr;
    gap: 0 16px;
  }

  .timeline__rail { grid-row: 1 / span 2; }

  .timeline__place {
    grid-column: 2;
    margin-bottom: 6px;
    padding-top: 0;
  }

  .timeline__body { grid-column: 2; }

  .timeline__body--with-media {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline__media { max-width: 260px; }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    background: var(--ink-deep);
    flex-direction: column;
    gap: 16px;
    padding: 16px var(--gutter);
  }

  .site-nav ul { flex-wrap: wrap; justify-content: center; }

  .hero { min-height: 78svh; }

  .hero__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ------------------------------------------------- Motion / printing --- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .hero__actions,
  .contact__actions,
  .social { display: none; }

  body { background: #fff; color: #000; }
}
