/* ==========================================================================
   Renier Kotze — hub
   Palette: warm oat ground, oxidised-copper lead accent, earthy card rails.
   Type: system grotesque for display, system monospace as the utility voice.
   No frameworks, no webfonts, no build step.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  /* Ground + ink */
  --bg:        #edeae0;   /* warm oat, not cream */
  --bg-elev:   #f7f5ee;   /* card surface */
  --ink:       #201c17;   /* warm near-black */
  --ink-soft:  #635b4f;
  --ink-faint: #8b8272;
  --rule:      #d6d1c2;

  /* Earthy accents — one per destination */
  --teal:  #0f7a6c;   /* oxidised copper: the lead */
  --olive: #586b33;
  --ochre: #8f5e0a;
  --rust:  #a03a24;   /* iron oxide, deliberately darker than terracotta */
  --plum:  #6b3b5c;

  --accent: var(--teal);

  /* Type scale */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 68rem;
  --radius: 14px;

  --shadow: 0 1px 2px rgba(32, 28, 23, .05),
            0 8px 24px -12px rgba(32, 28, 23, .16);
  --shadow-lift: 0 2px 4px rgba(32, 28, 23, .07),
                 0 18px 40px -16px rgba(32, 28, 23, .24);

  --t: 220ms cubic-bezier(.2, .7, .3, 1);
}

/* Dark: warmed down, accents lifted so they stay legible on a dark ground */
:root[data-theme="dark"] {
  --bg:        #171512;
  --bg-elev:   #211e1a;
  --ink:       #ede8dd;
  --ink-soft:  #a79e8e;
  --ink-faint: #7d7466;
  --rule:      #322d26;

  --teal:  #35a894;
  --olive: #8da354;
  --ochre: #d9a62a;
  --rust:  #d4674a;
  --plum:  #b07aa0;

  --shadow: 0 1px 2px rgba(0, 0, 0, .3),
            0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35),
                 0 18px 40px -16px rgba(0, 0, 0, .7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #171512;
    --bg-elev:   #211e1a;
    --ink:       #ede8dd;
    --ink-soft:  #a79e8e;
    --ink-faint: #7d7466;
    --rule:      #322d26;

    --teal:  #35a894;
    --olive: #8da354;
    --ochre: #d9a62a;
    --rust:  #d4674a;
    --plum:  #b07aa0;

    --shadow: 0 1px 2px rgba(0, 0, 0, .3),
              0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35),
                   0 18px 40px -16px rgba(0, 0, 0, .7);
  }
}

/* ----------------------------------------------------------------- 2. Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A single hairline of ground texture: a very faint warm wash at the top,
   so the page reads as paper rather than flat #fff-adjacent. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 60vh;
  background: radial-gradient(120% 80% at 12% 0%,
              color-mix(in oklab, var(--teal) 7%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gut);
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: .5rem;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font: 600 .875rem/1 var(--sans);
  text-decoration: none;
}
.skip:focus { left: .75rem; }

.sep { color: var(--ink-faint); margin-inline: .5em; }

/* Status dot — reused in the rail and on every card eyebrow. */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .55em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: .12em;
}

/* ------------------------------------------------------------- 3. Top rail */

.rail {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(8px);
}

.rail__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
}

.rail__host {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font: 500 .8125rem/1 var(--mono);
  letter-spacing: .01em;
}

.toggle {
  padding: .4rem .75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.toggle:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
  background: var(--bg-elev);
}

/* ------------------------------------------------------------------ 4. Hero
   The thesis: the name, set very large in tight caps, with the location
   and a route count in monospace above and below it. Engineered, not editorial. */

.hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: end;
}

/* Two columns once there is room: name on the left, the spec list on the
   right, both sitting on the same baseline. */
@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .85fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  .hero__stamp { grid-column: 1 / -1; }
}

.hero__meta {
  color: var(--ink-soft);
  font: 500 .8125rem/1.4 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero__name {
  margin-block: clamp(1rem, 2.5vw, 1.75rem) 0;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero__name span { display: block; }
.hero__name span:last-child { color: var(--accent); }

.hero__role {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.015em;
}

.hero__blurb {
  max-width: 46ch;
  margin-top: .75rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
}

/* Spec list — the route-table motif carried into the hero. */
.spec {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.spec__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .25rem 1rem;
  padding-block: .7rem;
  border-bottom: 1px solid var(--rule);
}

.spec dt {
  color: var(--ink-faint);
  font: 500 .6875rem/1.6 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.spec dd {
  margin: 0;
  color: var(--ink);
  font: 500 .84375rem/1.5 var(--mono);
}

/* Below ~400px the monospace values need the full width. */
@media (max-width: 25rem) {
  .spec__row { grid-template-columns: 1fr; gap: .15rem; }
}

.dot--live {
  background: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 22%, transparent);
}

.hero__stamp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: clamp(.5rem, 2vw, 1rem);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font: 500 .75rem/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__stamp .sep { margin-inline: .75em; }

/* --------------------------------------------------------- 5. Route grid
   Signature element. Each card is a route: coloured rail, real hostname
   in monospace, status dot. The rail widens and the arrow travels on hover. */

.routes {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.routes__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.routes__h {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  letter-spacing: .01em;
}

.routes__note {
  color: var(--ink-faint);
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: clamp(.875rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.card {
  --rail: var(--teal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
  padding-left: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card[data-accent="teal"]  { --rail: var(--teal); }
.card[data-accent="olive"] { --rail: var(--olive); }
.card[data-accent="ochre"] { --rail: var(--ochre); }
.card[data-accent="rust"]  { --rail: var(--rust); }
.card[data-accent="plum"]  { --rail: var(--plum); }

/* The rail */
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rail);
  transition: width var(--t);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in oklab, var(--rail) 40%, var(--rule));
}
.card:hover::before,
.card:focus-visible::before { width: 7px; }

.card__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--rail);
  font: 600 .75rem/1 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.card__title {
  margin-top: .7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.4375rem);
}

.card__desc {
  margin-top: .55rem;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.6;
}

.card__host {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--ink-faint);
  font: 500 .78125rem/1.3 var(--mono);
  word-break: break-all;
}

.card__arrow {
  flex: none;
  color: var(--rail);
  font-size: 1rem;
  transition: transform var(--t);
}
.card:hover .card__arrow,
.card:focus-visible .card__arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- 6. Footer */

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule);
  padding-block: 1.75rem;
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}

.foot__copy {
  color: var(--ink-faint);
  font: 500 .8125rem/1 var(--mono);
}

.foot__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.foot__links a {
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.foot__links a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

/* ----------------------------------------------------- 7. Motion + fallbacks */

/* One orchestrated page-load: hero settles, then the routes stagger in. */
@media (prefers-reduced-motion: no-preference) {
  .hero__lead > *, .spec, .hero__stamp, .routes__head, .grid > li {
    animation: rise 620ms cubic-bezier(.2, .7, .3, 1) backwards;
  }
  .hero__meta   { animation-delay:  40ms; }
  .hero__name   { animation-delay:  90ms; }
  .hero__role   { animation-delay: 170ms; }
  .hero__blurb  { animation-delay: 215ms; }
  .spec         { animation-delay: 250ms; }
  .hero__stamp  { animation-delay: 300ms; }
  .routes__head { animation-delay: 320ms; }
  .grid > li:nth-child(1) { animation-delay: 370ms; }
  .grid > li:nth-child(2) { animation-delay: 425ms; }
  .grid > li:nth-child(3) { animation-delay: 480ms; }
  .grid > li:nth-child(4) { animation-delay: 535ms; }
  .grid > li:nth-child(5) { animation-delay: 590ms; }
  .grid > li:nth-child(6) { animation-delay: 645ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

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

/* color-mix is well supported, but degrade cleanly where it is not. */
@supports not (color: color-mix(in oklab, red, blue)) {
  body::before { display: none; }
  .rail { background: var(--bg); }
  .card:hover { border-color: var(--ink-faint); }
}

@media print {
  body::before, .rail, .toggle { display: none; }
  .card { box-shadow: none; break-inside: avoid; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   8. Professional page (/professional/)
   Reuses every token above. Nothing new in the palette.
   ========================================================================== */

.rail__back {
  color: var(--ink-soft);
  font: 500 .8125rem/1 var(--mono);
  text-decoration: none;
  transition: color var(--t);
}
.rail__back:hover { color: var(--accent); }

.doc-hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.doc-hero__name {
  margin-top: clamp(.75rem, 2vw, 1.25rem);
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.doc-hero__role {
  margin-top: .85rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
}

.doc-hero__stack {
  display: block;
  margin-top: .3rem;
  color: var(--accent);
  font: 500 .84375rem/1.5 var(--mono);
  letter-spacing: 0;
}

/* Download buttons */
.dl {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.dl__btn {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t),
              border-color var(--t), background var(--t), color var(--t);
}
.dl__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--rule));
}

.dl__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-elev);
}
.dl__btn--primary:hover { border-color: var(--accent); }
.dl__btn--primary .dl__meta { color: color-mix(in oklab, var(--bg-elev) 78%, transparent); }

.dl__btn--quiet {
  background: transparent;
  box-shadow: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.dl__meta {
  color: var(--ink-faint);
  font: 500 .75rem/1 var(--mono);
}

/* Document sections */
.doc {
  position: relative;
  z-index: 1;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.doc__h {
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
  font-size: .8125rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--ink-soft); }

.tier {
  margin: 1.5rem 0 .5rem;
  font: 600 .75rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier:first-of-type { margin-top: 0; }

.spec--wide .spec__row { grid-template-columns: 9rem 1fr; }
.spec--wide dd { font-family: var(--sans); font-size: .9375rem; }

@media (max-width: 34rem) {
  .spec--wide .spec__row { grid-template-columns: 1fr; gap: .15rem; }
}

/* Roles */
.role {
  --rail: var(--teal);
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.5rem)
           clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: clamp(.875rem, 2vw, 1.15rem);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.role::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rail);
}

.role[data-accent="teal"]  { --rail: var(--teal); }
.role[data-accent="olive"] { --rail: var(--olive); }
.role[data-accent="ochre"] { --rail: var(--ochre); }
.role[data-accent="rust"]  { --rail: var(--rust); }
.role[data-accent="plum"]  { --rail: var(--plum); }

.role__head { margin-bottom: .85rem; }

.role__title {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  letter-spacing: -.015em;
}

.role__org {
  margin-top: .2rem;
  color: var(--rail);
  font-size: .9375rem;
  font-weight: 600;
}

.role__when {
  margin-top: .3rem;
  color: var(--ink-faint);
  font: 500 .75rem/1.5 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.role__lede {
  max-width: 70ch;
  margin-bottom: .85rem;
  color: var(--ink-soft);
  font-size: .9375rem;
}

.role__list {
  max-width: 74ch;
  display: grid;
  gap: .5rem;
}
.role__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.6;
}
.role__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rail);
  opacity: .55;
}
.role__list strong { color: var(--ink); font-weight: 600; }

.role__list code {
  padding: .1em .35em;
  border-radius: 4px;
  background: color-mix(in oklab, var(--rail) 12%, transparent);
  color: var(--ink);
  font: 500 .875em/1 var(--mono);
}

/* Closing call to action */
.cta {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--rule));
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--accent) 6%, var(--bg-elev));
}

.cta__h { font-size: clamp(1.125rem, 2.2vw, 1.375rem); }
.cta__p { margin-top: .4rem; color: var(--ink-soft); font-size: .9375rem; }

.cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: .9375rem;
  font-weight: 600;
}
.cta__links a { text-decoration: none; border-bottom: 1px solid transparent; }
.cta__links a:hover { border-bottom-color: currentColor; }

@supports not (color: color-mix(in oklab, red, blue)) {
  .cta { background: var(--bg-elev); border-color: var(--rule); }
  .role__list code { background: var(--bg); }
}

@media print {
  .doc-hero .dl, .cta, .rail__back { display: none; }
  .role { box-shadow: none; break-inside: avoid; }
}

/* --- Hub: cards for destinations that are not live yet -------------------- */

.card--soon {
  cursor: default;
  opacity: .72;
  box-shadow: none;
  background: transparent;
  border-style: dashed;
}
.card--soon::before { opacity: .45; }
.card--soon:hover { transform: none; box-shadow: none; }

.card__soon {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--ink-faint);
  font: 500 .75rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============================================================================
   ABOUT / BIO PAGE  (/about/)
   Lead accent is plum, matching the "Get in touch" card that routes here, so
   the click feels like it landed where it pointed.
   ========================================================================= */

.page--plum { --accent: var(--plum); }

/* --- The header block: portrait beside the identity ---------------------- */

.bio {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.25rem);
  position: relative;
  z-index: 1;
}
@media (min-width: 720px) {
  .bio {
    grid-template-columns: minmax(160px, 220px) 1fr;
    align-items: start;
  }
}

.bio__figure { margin: 0; }

.bio__portrait {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
/* A hairline of the page accent along the top edge, echoing the card rails. */
.bio__figure {
  position: relative;
  width: fit-content;
}
.bio__figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--accent);
}

.bio__name {
  margin: .35rem 0 .5rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
  font-weight: 800;
}

.bio__role {
  margin: 0 0 1.1rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
}
.bio__stack {
  display: block;
  margin-top: .3rem;
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ink-faint);
}

.bio__blurb {
  margin: 0 0 1.1rem;
  max-width: 46ch;
  color: var(--ink-soft);
  line-height: 1.65;
}

.bio__status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .8125rem;
  color: var(--ink-soft);
}

/* --- Contact rows -------------------------------------------------------- */
/* Deliberately rows rather than buttons: the value itself is the useful thing
   to read (and to copy), so it gets the emphasis, not a verb. */

.contact {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--rule);
}

/* A spec list used as a standalone block needs the breathing room a heading
   below it expects. The hero variant sits flush by design, so this is opt-in
   rather than a change to .spec itself — the professional page relies on the
   tighter default. */
.spec--block { margin-bottom: clamp(2rem, 5vw, 3rem); }

.contact__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  grid-template-areas:
    "label value arrow"
    "label note  arrow";
  gap: .15rem 1rem;
  align-items: center;
  padding: .95rem .75rem .95rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background var(--t), padding-left var(--t);
}
@media (max-width: 560px) {
  .contact__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label arrow"
      "value arrow"
      "note  arrow";
    gap: .2rem 1rem;
  }
}

.contact__label {
  grid-area: label;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact__value {
  grid-area: value;
  font-family: var(--mono);
  font-size: clamp(.9375rem, 2vw, 1.0625rem);
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact__note {
  grid-area: note;
  font-size: .8125rem;
  color: var(--ink-faint);
}

.contact__arrow {
  grid-area: arrow;
  font-family: var(--mono);
  color: var(--accent);
  transition: transform var(--t);
}

.contact__row:hover,
.contact__row:focus-visible {
  background: color-mix(in oklab, var(--accent) 7%, transparent);
  padding-left: .6rem;
}
.contact__row:hover .contact__value { color: var(--accent); }
.contact__row:hover .contact__arrow { transform: translateX(4px); }

.contact__row:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .contact__row,
  .contact__arrow { transition-duration: 0ms; }
}

@supports not (color: color-mix(in oklab, red, blue)) {
  .contact__row:hover,
  .contact__row:focus-visible { background: var(--bg-elev); }
}

@media print {
  .bio__figure::after { display: none; }
  .contact__row { break-inside: avoid; }
  .contact__arrow { display: none; }
}
