/* ==========================================================================
   home.css — homepage compositions (P6 · C1, visual refinement C1.1)

   Loaded only by index.html, after site.css. The homepage is a fully
   migrated page (<html class="ds">) and does not load the legacy index.css,
   so none of its forced (important-flagged) rules reach it.

   C1.1 restores the original site's identity on top of C1's structure:
   dark charcoal page, dark-green tonal hero band, rounded dark panels for
   projects, timeline and skills, green eyebrows and markers, and a
   portrait-led hero.

   Rules for this file: layout and composition only. Every value comes from
   a site.css token; no shadows, gradients, glows, blur or animations.
   Components (buttons, media frames, meta lists, section head, header,
   footer) are site.css §7.

   Sections, in page order:
     Hero (+ At a glance) · 01 Selected work · 02 Experience
     03 Independent games & tools · 04 Capabilities · 05 About · 06 Contact

   Breakpoints (site.css): mobile < 768 (4 cols) · tablet ≥ 768 (8 cols)
   desktop ≥ 1024 (12 cols) · large ≥ 1440.
   ========================================================================== */

/* ---- Page ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.ds {
    scroll-behavior: smooth;
  }
}

/* The main element is the skip link's target; it needs no visible focus. */
.home-main:focus {
  outline: none;
}

/* Anchored sections clear the sticky header (tablet and up). */
.home-main [id] {
  scroll-margin-block-start: var(--space-5);
}
@media (min-width: 768px) {
  .home-main [id] {
    scroll-margin-block-start: calc(var(--size-target) + var(--space-5));
  }
}

/* One section padding between sections, not two. */
.home-section + .home-section {
  padding-block-start: 0;
}
.home-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

/* A rounded dark panel: the original site's card surface. */

.home-feature,
.home-indie__item,
.home-timeline__item,
.home-caps__row,
.home-glance,
.home-about,
.home-contact {
  box-sizing: border-box;
  border: var(--border-hairline);
  border-radius: var(--radius-panel);
  background-color: var(--color-surface);
}

/* Loading / error / empty line inside a data-driven list */
.home-state {
  grid-column: 1 / -1;
  margin: 0;
  padding-block: var(--space-5);
  color: var(--color-text-tertiary);
  font-size: var(--font-size-small);
  list-style: none;
}

/* Inline external links under an entry: "Website ↗  Google Play ↗" */
.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-small);
}
.home-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-block-size: var(--size-target);
}

/* Inline links in headings: vertical padding enlarges the hit area towards
   the 44px target without changing the layout (inline padding adds no
   height). */
.home-timeline__company a,
.home-indie__link,
.home-feature__title a,
.ds-section-head__aside a {
  padding-block: calc((var(--size-target) - 1lh) / 2);
}

/* Bio emphasis (==text== in the profile record): the original green. */
.home-about__bio .accent {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
}


/* ==========================================================================
   HERO — a dark-green tonal band: text left, framed portrait right; the
   "At a glance" panel spans the width beneath.
   ========================================================================== */
.home-hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-block: var(--space-7);
  border-block-end: var(--border-hairline);
  background-color: var(--color-viewport);
}
@media (min-width: 1024px) {
  .home-hero {
    gap: var(--space-8);
    padding-block: var(--space-9) var(--space-8);
  }
}
.home-hero__grid {
  row-gap: var(--space-7);
  align-items: center;
}

.home-hero__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}
.home-hero__eyebrow::before {
  content: "";
  inline-size: var(--space-6);
  border-block-start: var(--border-width-hairline) solid var(--color-accent);
}
.home-hero__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
}
.home-hero__name {
  font-family: var(--font-family-display);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}
.home-hero__role {
  color: var(--color-text-secondary);
  font-family: var(--font-family-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-normal);
}
.home-hero__statement {
  max-inline-size: 52ch;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-body);
}
.home-hero__actions {
  --cluster-gap: var(--space-3);
  padding-block-start: var(--space-2);
}

/* Framed portrait: a dark panel with a green corner rule. */
.home-hero__portrait {
  position: relative;
  box-sizing: border-box;
  max-inline-size: 26rem;
  margin: 0;
  padding: var(--space-3);
  border: var(--border-hairline);
  border-radius: var(--radius-panel);
  background-color: var(--color-surface);
}
.home-hero__portrait::before {
  content: "";
  position: absolute;
  inset-block-start: calc(var(--border-width-hairline) * -1);
  inset-inline-start: calc(var(--border-width-hairline) * -1);
  inline-size: var(--space-7);
  block-size: var(--space-7);
  border-block-start: var(--border-width-strong) solid var(--color-accent);
  border-inline-start: var(--border-width-strong) solid var(--color-accent);
  border-start-start-radius: var(--radius-panel);
  pointer-events: none;
}
@media (min-width: 768px) {
  .home-hero__intro    { grid-column: 1 / span 5; }
  .home-hero__portrait { grid-column: 6 / -1; justify-self: end; inline-size: 100%; }
}
@media (min-width: 1024px) {
  .home-hero__intro    { grid-column: 1 / span 7; }
  .home-hero__portrait { grid-column: 8 / -1; max-inline-size: 30rem; }
}

/* At a glance: figures + labelled rows in one panel. */
.home-glance {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  padding: var(--space-5);
}
.home-glance__title {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}
.home-glance__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: var(--border-hairline);
  border-radius: var(--radius-control);
}
.home-glance__stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: var(--space-1);
  padding: var(--space-4);
}
.home-glance__stat + .home-glance__stat {
  border-inline-start: var(--border-hairline);
}
.home-glance__stat dt {
  color: var(--color-text-tertiary);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}
.home-glance__stat dd {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-family-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  font-variant-numeric: tabular-nums;
}
.home-glance__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--space-6);
  margin: 0;
}
.home-glance__row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-block-start: var(--border-hairline);
  font-size: var(--font-size-small);
  line-height: var(--line-height-meta);
}
.home-glance__row dt {
  padding-block-start: 0.15em;
  color: var(--color-text-tertiary);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-regular);
  line-height: inherit;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}
.home-glance__row dd {
  margin: 0;
  color: var(--color-text-primary);
}
/* Status line: green, like the original "Available" marker. */
.home-glance__row:last-child dd {
  color: var(--color-accent);
}
@media (min-width: 768px) {
  .home-glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-glance {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-7);
    align-items: start;
    padding: var(--space-6);
  }
  .home-glance__title { grid-column: 1 / -1; }
}


/* ==========================================================================
   01 SELECTED WORK — media-led dark cards. Lead: media 8 / text 4 inside
   one wide card. Then two cards with media on top.
   ========================================================================== */
.home-selected {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.home-feature {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
}
/* Media runs to the card edge; the card supplies the corners. */
.home-feature > .home-feature__media {
  border-radius: 0;
  border-block-end: var(--border-hairline);
}
.home-feature__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-inline-size: 0;
  padding: var(--space-5);
}
.home-feature__index {
  align-self: flex-start;
  margin: 0;
  padding: var(--space-1) var(--space-2);
  border: var(--border-hairline);
  border-radius: var(--radius-control);
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-wide);
  font-variant-numeric: tabular-nums;
}
.home-feature__title {
  font-family: var(--font-family-display);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-snug);
}
.home-feature__title a {
  color: inherit;
  text-decoration-line: none;
}
.home-feature__title a:hover {
  color: var(--color-accent);
  text-decoration-line: underline;
  text-decoration-thickness: var(--border-width-hairline);
}
.home-feature__desc {
  max-inline-size: var(--measure);
  margin: 0;
  color: var(--color-text-secondary);
}
.home-feature__meta {
  color: var(--color-accent);
}
.home-feature__tech {
  padding-block-start: var(--space-1);
  color: var(--color-text-tertiary);
}
.home-feature__note {
  max-inline-size: var(--measure);
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-small);
  line-height: var(--line-height-meta);
}

@media (min-width: 768px) {
  .home-feature:not(.home-feature--lead) {
    grid-column: span 4;
  }
}
@media (min-width: 1024px) {
  .home-selected {
    row-gap: var(--space-6);
  }
  .home-feature:not(.home-feature--lead) {
    grid-column: span 6;
  }
  /* Lead: media fills the left two-thirds edge to edge, text on the right. */
  .home-feature--lead {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .home-feature--lead > .home-feature__media {
    block-size: 100%;
    min-block-size: 24rem;
    aspect-ratio: auto;
    border-block-end: 0;
    border-inline-end: var(--border-hairline);
  }
  .home-feature--lead > .home-feature__body {
    justify-content: center;
    padding: var(--space-6);
  }
  .home-feature--lead .home-feature__title {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
  }
}


/* ==========================================================================
   02 EXPERIENCE — a timeline: a green-dotted spine on the left, one dark
   card per role. Inside a card (desktop): dates 3 cols, company and role
   4 cols, responsibilities the rest.
   ========================================================================== */
.home-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0 0 0 var(--space-6);
  list-style: none;
}
/* The spine */
.home-timeline::before {
  content: "";
  position: absolute;
  inset-block: var(--space-6) var(--space-6);
  inset-inline-start: calc(var(--space-2) - var(--border-width-hairline) / 2);
  border-inline-start: var(--border-width-hairline) solid var(--color-divider);
}
.home-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-3);
  padding: var(--space-5);
}
/* A dot on the spine for every role */
.home-timeline__item::before {
  content: "";
  position: absolute;
  inset-block-start: var(--space-6);
  inset-inline-start: calc(-1 * var(--space-6));
  box-sizing: border-box;
  inline-size: var(--space-4);
  block-size: var(--space-4);
  border: var(--border-width-strong) solid var(--color-accent);
  border-radius: 50%;
  background-color: var(--color-background);
}
.home-timeline__item > * {
  min-inline-size: 0;
  margin: 0;
}
.home-timeline__when {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-3);
  color: var(--color-text-tertiary);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-wide);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.home-timeline__dates {
  color: var(--color-accent);
}
.home-timeline__org {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.home-timeline__company {
  font-family: var(--font-family-display);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-snug);
}
.home-timeline__company a {
  color: inherit;
  text-decoration-line: none;
}
.home-timeline__company a:hover {
  color: var(--color-accent);
  text-decoration-line: underline;
  text-decoration-thickness: var(--border-width-hairline);
}
.home-timeline__ext {
  margin-inline-start: var(--space-1);
  color: var(--color-text-tertiary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-regular);
}
.home-timeline__role {
  margin: 0;
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}
.home-timeline__where {
  margin: 0;
  color: var(--color-text-tertiary);
  font-size: var(--font-size-small);
}
.home-timeline__detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.home-timeline__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
}
.home-timeline__highlights li {
  position: relative;
  padding-inline-start: var(--space-5);
}
/* Green square marker, as on the original site */
.home-timeline__highlights li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.6em;
  inset-inline-start: var(--space-1);
  inline-size: var(--space-2);
  block-size: var(--space-2);
  border-radius: var(--radius-xs);
  background-color: var(--color-accent);
}
.home-timeline__detail .ds-meta-list {
  color: var(--color-text-tertiary);
}
.home-timeline__current {
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .home-timeline {
    padding-inline-start: var(--space-7);
  }
  .home-timeline__item::before {
    inset-inline-start: calc(-1 * var(--space-7));
  }
  .home-timeline__item {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    padding: var(--space-6);
  }
  .home-timeline__when   { grid-column: 1 / span 3; grid-row: 1; flex-direction: column; }
  .home-timeline__org    { grid-column: 4 / span 4; grid-row: 1; }
  .home-timeline__detail { grid-column: 8 / -1; grid-row: 1; }
}

/* Education: the same timeline, compact cards in a row. */
.home-education {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.home-education__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-meta);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}
.home-timeline--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  padding-inline-start: 0;
}
.home-timeline--compact::before,
.home-timeline--compact .home-timeline__item::before {
  content: none;
}
.home-timeline--compact .home-timeline__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}
.home-timeline--compact .home-timeline__when {
  flex-direction: row;
}
.home-timeline--compact .home-timeline__company {
  font-size: var(--font-size-body);
  line-height: var(--line-height-snug);
}
.home-timeline--compact .home-timeline__role {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-regular);
}
@media (min-width: 768px) {
  .home-timeline--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   03 INDEPENDENT GAMES & TOOLS — three dark cards; the whole card is the
   link to its case study (stretched title link), store links sit above it.
   ========================================================================== */
.home-indie {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.home-indie__item {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--easing-standard);
}
@media (min-width: 768px) {
  .home-indie__item { grid-column: span 4; }
}
.home-indie__item > .ds-media {
  border-radius: 0;
  border-block-end: var(--border-hairline);
}
.home-indie__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-5) 0;
}
.home-indie__body .ds-meta-list {
  color: var(--color-accent);
}
.home-indie__title {
  font-family: var(--font-family-display);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-snug);
}
.home-indie__link {
  color: var(--color-text-primary);
  text-decoration-line: none;
}
.home-indie__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.home-indie__item:hover {
  border-color: var(--color-accent);
}
.home-indie__item:hover .home-indie__link {
  color: var(--color-accent);
}
/* The focus ring wraps the whole card, since the whole card is the link. */
.home-indie__link:focus-visible {
  outline: none;
}
.home-indie__item:has(.home-indie__link:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}
.home-indie__desc {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
}
.home-indie__note {
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-control);
  background-color: var(--color-surface-secondary);
  color: var(--color-text-secondary);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-meta);
}
.home-indie__note-label {
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}
/* External links stay clickable above the stretched case-study link. */
.home-indie__item > .home-links {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: var(--space-2) var(--space-5) var(--space-3);
}
/* Cards without links still get their bottom padding. */
.home-indie__body:last-child {
  padding-block-end: var(--space-5);
}


/* ==========================================================================
   04 CAPABILITIES — one dark panel per area, numbered, items listed with
   green markers (a readable list, not pills).
   ========================================================================== */
.home-caps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  margin: 0;
  counter-reset: caps;
}
.home-caps__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  counter-increment: caps;
}
.home-caps__row > * {
  min-inline-size: 0;
  margin: 0;
}
.home-caps__area {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block-end: var(--space-4);
  border-block-end: var(--border-hairline);
  color: var(--color-text-primary);
  font-family: var(--font-family-display);
  font-size: var(--font-size-lead);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
}
.home-caps__area::before {
  content: counter(caps, decimal-leading-zero) / "";
  color: var(--color-accent);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
}
.home-caps__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-small);
  line-height: var(--line-height-snug);
}
.home-caps__items > li {
  position: relative;
  padding-inline-start: var(--space-5);
}
.home-caps__items > li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.45em;
  inset-inline-start: var(--space-1);
  inline-size: var(--space-2);
  block-size: var(--space-2);
  border-radius: var(--radius-xs);
  background-color: var(--color-accent);
}
@media (min-width: 768px) {
  .home-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   05 ABOUT — one panel: portrait crop beside the bio.
   ========================================================================== */
.home-about {
  row-gap: var(--space-6);
  align-items: start;
  padding: var(--space-5);
}
.home-about__portrait {
  margin: 0;
  max-inline-size: 16rem;
}
.home-about__portrait .ds-media {
  --media-focus: 50% 22%;
}
.home-about__bio {
  display: flex;
  flex-direction: column;
  gap: var(--paragraph-spacing);
  max-inline-size: var(--measure);
  color: var(--color-text-secondary);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}
.home-about__bio p {
  margin: 0;
}
.home-about__bio p:first-child {
  color: var(--color-text-primary);
  font-size: var(--font-size-lead);
}
@media (min-width: 768px) {
  .home-about { padding: var(--space-6); }
  .home-about__portrait { grid-column: 1 / span 3; max-inline-size: none; }
  .home-about__bio      { grid-column: 4 / -1; }
}
@media (min-width: 1024px) {
  .home-about { padding: var(--space-7); }
  .home-about__portrait { grid-column: 1 / span 4; }
  .home-about__bio      { grid-column: 5 / -1; align-self: center; }
}


/* ==========================================================================
   06 CONTACT — the closing panel: green-tinted, with a strong statement,
   the two actions and the contact list.
   ========================================================================== */
.home-contact {
  row-gap: var(--space-7);
  align-items: start;
  padding: var(--space-6) var(--space-5);
  border-color: var(--color-accent);
  background-color: var(--color-accent-tint);
}
@media (min-width: 768px) {
  .home-contact { padding: var(--space-7); }
}
@media (min-width: 1024px) {
  .home-contact { padding: var(--space-8) var(--space-7); }
}
.home-contact__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.home-contact__status {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-family-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-snug);
  text-wrap: balance;
}
.home-contact__dot {
  flex: none;
  inline-size: 0.35em;
  block-size: 0.35em;
  border-radius: 50%;
  background-color: var(--color-accent);
  translate: 0 -0.12em;
}
.home-contact__body {
  max-inline-size: 52ch;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-body);
}
.home-contact__list {
  margin: 0;
  border-block-end: var(--border-hairline);
}
/* Mobile: label above value. From 768px: label | value. */
.home-contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block-start: var(--space-3);
  border-block-start: var(--border-hairline);
}
@media (min-width: 768px) {
  .home-contact__row {
    grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr);
    gap: var(--space-3);
    padding-block: var(--space-1);
  }
}
.home-contact__row dt {
  color: var(--color-text-tertiary);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}
.home-contact__row dd {
  margin: 0;
  min-inline-size: 0;
}
/* Block links: the text wraps like text, and the padding makes a 44px
   target. A long address only breaks when it cannot fit at all. */
.home-contact__row a {
  display: block;
  padding-block: calc((var(--size-target) - 1lh) / 2);
  overflow-wrap: break-word;
}
@media (min-width: 1024px) {
  .home-contact__intro { grid-column: 1 / span 7; }
  .home-contact__list  { grid-column: 8 / -1; align-self: center; }
}
