/* =============================================================
   RICHARD SAVIOUR — STRUCTURE LAYER
   Loaded last. Adds the components introduced by the September
   2026 restructure and refines a few existing ones.

   House rules followed here, deliberately:
   - Hairline rules and real whitespace instead of card soup.
   - Radius stays small (4–16px). No pill-shaped everything.
   - Accent is the existing gold. No new gradients, no glow.
   - Motion is opacity + a few px of travel. Nothing bounces.
   ============================================================= */

/* ============================================================
   NAV — five items now, plus a CTA
   ============================================================ */
.nav-links { gap: 28px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--soft-black) !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--gold-soft); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
@media (max-width: 768px) {
  .nav-cta { width: 100%; justify-content: center; margin-top: 4px; }
}

/* Skip link — keyboard users shouldn't tab the whole nav every page */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--soft-black);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Visible focus everywhere. The old sheet relied on the UA default,
   which disappears against the dark surfaces. */
a:focus-visible,
button:focus-visible,
[data-lightbox]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   HERO — direct statement, cycling multilingual greeting kept
   ============================================================ */
.hero-greet {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-greet::before {
  content: '';
  align-self: center;
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.greet-stage {
  position: relative;
  display: inline-block;
  min-width: 8.5em;
  height: 1.2em;
  overflow: hidden;
  vertical-align: baseline;
}
.greet-stage .greet-line {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  color: var(--soft-black);
  white-space: nowrap;
}
.greet-stage .greet-line.is-active { opacity: 1; transform: translateY(0); }

.hero h1.hero-statement {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.042em;
  margin-bottom: 26px;
  /* Wide enough that "You found me." always holds one line. Measured in
     ch so it tracks the font rather than a fixed pixel guess. */
  max-width: 19ch;
  text-wrap: balance;
}
/* The opening sentence is the hook — it must never break mid-phrase. */
.hero h1.hero-statement .line-1 { display: block; white-space: nowrap; }
.hero h1.hero-statement .line-2 { display: block; }
.hero h1.hero-statement em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-body);
  font-weight: 500;
  max-width: 56ch;
  margin-bottom: 18px;
}
.hero-lede strong { font-weight: 700; color: var(--soft-black); }

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-disciplines span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-body);
  padding: 6px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
}
.hero-disciplines span.is-lead {
  border-color: var(--soft-black);
  background: var(--soft-black);
  color: #fff;
}

.hero-ctas .btn { padding: 15px 24px; }
@media (max-width: 520px) {
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero h1.hero-statement { font-size: clamp(2.15rem, 10.5vw, 3rem); max-width: 100%; }
  .hero { padding: 118px 0 72px; min-height: 0; }
}

/* ============================================================
   SECTION HEAD — left-aligned editorial variant with a side link
   ============================================================ */
.head-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  max-width: none;
  margin: 0 0 56px;
  text-align: left;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
.head-split .eyebrow { justify-content: flex-start; margin-bottom: 16px; }
.head-split h2 { margin-bottom: 0; }
.head-split p {
  color: var(--text-mute);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 52ch;
  margin-top: 16px;
}
.head-split .head-aside { align-self: end; }
@media (min-width: 900px) {
  .head-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
  .head-split .head-aside { text-align: right; padding-bottom: 6px; }
  .head-split .head-aside p { margin-left: auto; }
}
.is-dark .head-split { border-bottom-color: rgba(255,255,255,0.14); }
.is-dark .head-split h2 { color: #fff; }
.is-dark .head-split p { color: rgba(255,255,255,0.66); }

/* ============================================================
   02 — CAPABILITIES
   An editorial list, not a grid of cards. Rows separated by
   hairlines; the number column carries the rhythm.
   ============================================================ */
.cap-section { background: var(--off-white); }
.cap-list { border-top: 1px solid var(--border-soft); }
.cap-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.35s var(--ease);
}
.cap-row:hover { background: rgba(255,255,255,0.55); }
@media (min-width: 860px) {
  .cap-row {
    grid-template-columns: 64px minmax(0, 300px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 38px 20px 38px 0;
  }
  .cap-row:hover { padding-left: 12px; padding-right: 8px; }
}
.cap-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  padding-top: 8px;
}
.cap-row h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cap-row h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.cap-lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 58ch;
}
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.cap-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mute);
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--white);
}
.cap-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}
.cap-foot p {
  font-size: 16px;
  color: var(--text-body);
  font-weight: 500;
  max-width: 52ch;
  line-height: 1.6;
}
.cap-foot p em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

/* ============================================================
   03 — FEATURED WORK
   Video gets the space it deserves. Metadata sits beside it in
   a slate column rather than under a thumbnail.
   ============================================================ */
.work-section { background: var(--white); }
.feat-item { margin-bottom: 100px; }
.feat-item:last-of-type { margin-bottom: 0; }
@media (max-width: 768px) { .feat-item { margin-bottom: 64px; } }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 960px) {
  .feat-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; }
  .feat-item.is-flipped .feat-media { order: 2; }
  .feat-item.is-flipped .feat-side  { order: 1; }
}

.feat-media { position: relative; }
.feat-media .reel-card { border-radius: var(--radius-md); }
.feat-media .reel-video-block { aspect-ratio: 16 / 9; background: #0a0a0c; }
.feat-media .reel-video-block video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-media.is-portrait .reel-video-block { aspect-ratio: 9 / 16; max-height: 78vh; }
.feat-media.is-portrait .reel-video-block video { object-fit: contain; }

.feat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 14px;
}
.feat-side h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.032em;
  line-height: 1.03;
  margin-bottom: 12px;
}
.feat-side h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.feat-scope {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 18px;
}
.feat-side p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-body);
  font-weight: 500;
  max-width: 46ch;
}
.feat-side p + p { margin-top: 12px; }
.feat-side .fw-slate { margin-top: 22px; }

/* Supporting proof beside GameSloth — the review screenshot,
   kept as taken. Nothing retyped, nothing redesigned. */
.feat-proof {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.feat-proof-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.feat-proof-score {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--soft-black);
  background: var(--gold);
  padding: 3px 9px;
  border-radius: 4px;
}
.feat-proof-head span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
}
.feat-proof .fw-shot { width: 100%; }
.feat-proof .fw-note { margin-top: 14px; }

/* ============================================================
   04 — THE CHAIN (how the work actually extends)
   ============================================================ */
.chain-section { background: var(--soft-black); color: #fff; }
.chain-section .eyebrow { color: var(--gold-soft); }
.chain-section .eyebrow::before { background: var(--gold-soft); }
.chain-section h2 { color: #fff; }
.chain-section h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.chain-section .head-split p { color: rgba(255,255,255,0.66); }

.chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.chain-step {
  background: var(--soft-black);
  padding: 26px 20px 28px;
  transition: background 0.35s var(--ease);
}
.chain-step:hover { background: #17171a; }
.chain-step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 12px;
}
.chain-step h4,
.chain-step h3 {
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}
.chain-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}

.chain-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 44px;
}
@media (min-width: 900px) { .chain-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.chain-note {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
}
.chain-note h4 {
  color: #fff;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.chain-note p {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(255,255,255,0.68);
}
.chain-note p + p { margin-top: 10px; }
.chain-note em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}

/* Revisions line — the joke needs room to land, so it gets its own rule */
.revisions {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}
.revisions strong {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.revisions span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--gold-soft);
  font-weight: 500;
}

/* ============================================================
   05 — PROOF (video testimonial + two quotes)
   ============================================================ */
.proof-section { background: var(--off-white); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; }
}
.proof-video { position: relative; }
.proof-video .featured-video { max-width: 100%; margin: 0; }
.proof-cap {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
}
.proof-quotes { display: grid; gap: 20px; }
.quote-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 28px 28px 24px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.quote-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.quote-card blockquote {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 20px;
}
.quote-card blockquote::before { content: '\201C'; color: var(--gold); }
.quote-card blockquote::after { content: '\201D'; color: var(--gold); }
.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.quote-who img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.quote-who .nm { display: block; font-weight: 700; font-size: 14px; color: var(--soft-black); }
.quote-who .rl { display: block; font-size: 12.5px; color: var(--text-mute); }

/* ============================================================
   PORTFOLIO — highlight block above the sub-nav
   ============================================================ */
.pf-highlight { background: var(--white); padding: 100px 0 40px; }
@media (max-width: 768px) { .pf-highlight { padding: 64px 0 24px; } }

.pf-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  margin-top: 28px;
}
.pf-cats a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.pf-cats a:hover { color: var(--soft-black); background: var(--gold); border-color: var(--gold); }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-block { border-top: 1px solid var(--border-soft); padding: 72px 0; }
.svc-block:first-of-type { border-top: none; padding-top: 0; }
@media (max-width: 768px) { .svc-block { padding: 48px 0; } }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
}
.svc-grid > .svc-intro { align-self: start; }
.svc-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 16px 0 18px;
}
.svc-intro h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.svc-intro p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-body);
  font-weight: 500;
  max-width: 46ch;
}
.svc-intro p + p { margin-top: 12px; }

.svc-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.svc-item {
  background: var(--white);
  padding: 22px 20px 24px;
  transition: background 0.3s var(--ease);
}
.svc-item:hover { background: var(--off-white); }
.svc-item h4,
.svc-item h3 {
  font-size: 15px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.svc-item ul { list-style: none; display: grid; gap: 5px; }
.svc-item li {
  font-size: 13.5px;
  color: var(--text-mute);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.svc-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1.5px;
  background: var(--gold);
}

.svc-outcome {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--off-white);
  border-left: 2px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.svc-outcome span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 7px;
}
.svc-outcome p { font-size: 15px; line-height: 1.6; color: var(--text-body); font-weight: 500; max-width: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.ab-lede { max-width: 720px; margin: 0 auto 72px; }
.ab-lede p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-body);
  font-weight: 500;
}
.ab-lede p + p { margin-top: 20px; }
.ab-lede em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}

.ab-path {
  max-width: 780px;
  margin: 0 auto;
  border-left: 1px solid var(--border-soft);
  padding-left: 0;
}
.ab-step {
  position: relative;
  padding: 0 0 44px 34px;
}
.ab-step:last-child { padding-bottom: 0; }
.ab-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
}
.ab-step .yr {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}
.ab-step h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}
.ab-step p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-body);
  font-weight: 500;
  max-width: 58ch;
}
.ab-step p + p { margin-top: 10px; }

.ab-now {
  max-width: 780px;
  margin: 72px auto 0;
  padding: 34px 36px;
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}
@media (max-width: 640px) { .ab-now { padding: 26px 24px; } }
.ab-now h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.ab-now h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.ab-now p { font-size: 16px; line-height: 1.68; color: var(--text-body); font-weight: 500; }
.ab-now p + p { margin-top: 12px; }

.ab-meets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.ab-meets span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
}

/* ============================================================
   SHARED — dark CTA band used at the foot of the inner pages
   ============================================================ */
.final-cta h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

/* ============================================================
   MOTION — restraint
   One reveal transition for everything, and none of it on
   reduced-motion or on the first mobile viewport.
   ============================================================ */
.reveal { transform: translateY(18px); transition-duration: 0.7s; }
@media (max-width: 640px) { .reveal { transform: translateY(12px); transition-duration: 0.55s; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .rs-flow { display: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   MOBILE — the Instagram visitor. Nothing here should be tall,
   wide, or heavy.
   ============================================================ */
@media (max-width: 768px) {
  .section-pad { padding: 68px 0; }
  .head-split { margin-bottom: 40px; padding-bottom: 22px; }
  .display-l { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .cap-row { padding: 26px 0; }
  .cap-idx { padding-top: 0; }
  .feat-side h3 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .chain-step { padding: 20px 18px 22px; }
  .quote-card { padding: 22px 20px 20px; }
  .ab-step { padding-left: 26px; padding-bottom: 34px; }
}
@media (max-width: 400px) {
  .hero-disciplines span { font-size: 10.5px; padding: 5px 10px; }
}

/* Nothing should ever push the page sideways. */
html, body { max-width: 100%; }
img, video { max-width: 100%; }

/* ============================================================
   TOUCH TARGETS
   Measured at 390px: player buttons were 29x29, the volume track
   3px tall, carousel dots 8x8, and footer links 16px high. All
   fine with a mouse, all awkward with a thumb — and a large share
   of this site's traffic arrives from Instagram.

   Scoped to (pointer: coarse) so the desktop composition, which is
   tuned tighter on purpose, is left exactly as it was.
   ============================================================ */
@media (pointer: coarse) {

  /* --- video player --- */
  .video-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 10px;
    border-radius: 8px;
  }
  .video-btn svg { width: 20px; height: 20px; }
  .video-btn.btn-playpause svg { width: 22px; height: 22px; }

  /* The slider can't be dragged accurately with a thumb and eats the
     width the buttons now need. The mute button still does the job. */
  .video-volume-slider { display: none; }

  .video-progress {
    height: 16px;
    display: flex;
    align-items: center;
  }
  .video-progress::after {
    content: '';
    position: absolute;
    inset: -8px 0;
  }

  /* --- carousel dots ---
     The dot keeps its own 8px size and every existing colour rule
     (including .is-active and the dark-section variant). Only the
     invisible hit area around it grows. */
  .cf-dot { position: relative; }
  .cf-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
  }
  .cf-dots { gap: 16px; }

  /* --- text links that were only as tall as their text --- */
  .footer-col li a,
  .footer-email {
    display: inline-block;
    padding: 10px 0;
    min-width: 44px;
  }
  .section-cta { padding: 10px 0; min-height: 40px; }
  .fw-read { min-height: 42px; }
  .testi-readmore { padding: 12px 0; min-height: 40px; }
  .pf-cats a { padding: 11px 16px; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { min-height: 40px; padding: 10px 16px; }
  .nav-logo { padding: 6px 0; display: inline-block; }
}

@media (pointer: coarse) {
  /* Portfolio sub-nav links. The sliding indicator is positioned from
     live getBoundingClientRect values in main.js, so it re-measures. */
  .section-anchors-inner a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ============================================================
   SLATE inside a narrow side column
   Four equal columns work under a full-width video. In the
   ~330px side column they squeeze each cell to ~80px, which
   clipped "gamesloth.app" and forced "Edit · motion · sound"
   onto three lines. Two columns there instead.
   ============================================================ */
.feat-side .fw-slate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) {
  .feat-side .fw-slate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fw-slate dd { overflow-wrap: anywhere; }
.fw-slate > div { display: flex; flex-direction: column; justify-content: flex-start; }
