/* ==========================================================================
   Tuckie the Pitty — Portfolio Stylesheet
   Design system: warm paper + ink, forest/rust/slate accents.
   Display type: Fraunces (editorial serif). Body/UI: Inter.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #15160f;
  --ink-soft: #2a2c22;
  --paper: #f7f3ea;
  --paper-alt: #efe8d8;
  --paper-deep: #e6dcc4;
  --line: rgba(21, 22, 15, 0.14);
  --line-soft: rgba(21, 22, 15, 0.08);
  --forest: #37402c;
  --moss: #6b7a53;
  --rust: #a8501f;
  --rust-soft: #d98a4f;
  --slate: #3c5866;
  --cream-text-on-ink: #f2ede0;
  --muted-on-ink: rgba(242, 237, 224, 0.68);
  --muted-on-paper: rgba(21, 22, 15, 0.62);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid scale */
  --fs-display-xl: clamp(2.8rem, 6vw + 1rem, 6.4rem);
  --fs-display-lg: clamp(2.2rem, 4vw + 1rem, 4rem);
  --fs-display-md: clamp(1.7rem, 2.4vw + 1rem, 2.6rem);
  --fs-display-sm: clamp(1.35rem, 1.4vw + 1rem, 1.7rem);
  --fs-body-lg: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8rem;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
svg { display: block; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section { position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.eyebrow--on-ink { color: var(--rust-soft); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-heading { max-width: 46rem; }
.section-heading h2 { font-size: var(--fs-display-lg); margin-top: 0.5rem; }
.section-kicker { display: block; }
.section-lede {
  font-size: var(--fs-body-lg);
  color: var(--muted-on-paper);
  margin-top: 1.1rem;
  max-width: 42rem;
}

.body-lg { font-size: var(--fs-body-lg); }
.muted { color: var(--muted-on-paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.45s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust);
  color: var(--paper);
}
.btn-primary:hover { background: var(--rust-soft); transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost--on-ink {
  border: 1.5px solid rgba(242, 237, 224, 0.35);
  color: var(--cream-text-on-ink);
}
.btn-ghost--on-ink:hover { border-color: var(--cream-text-on-ink); transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Focus states ---------- */
/* One consistent, visible focus ring for every interactive element (links,
   buttons, and the keyboard-operable gallery tiles) — rust-soft reads
   clearly against both the paper and ink backgrounds used across sections. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--rust-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.35rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  padding: 0.85rem 0;
  border-color: var(--line-soft);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--cream-text-on-ink);
  transition: color 0.4s ease;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.site-nav.is-scrolled .nav-mark { color: var(--ink); }
.nav-mark .dim { font-size: 0.7em; opacity: 0.6; font-family: var(--font-body); font-weight: 500; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--cream-text-on-ink);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.4s ease;
}
.site-nav.is-scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: none; }
.nav-cta .btn { padding: 0.6rem 1.15rem; font-size: 0.88rem; }

.nav-toggle {
  display: inline-flex;
  color: var(--cream-text-on-ink);
  transition: color .4s ease;
  padding: 0.4rem;
}
.site-nav.is-scrolled .nav-toggle { color: var(--ink); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2rem var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--cream-text-on-ink);
}
.mobile-menu .btn { align-self: flex-start; margin-top: 1rem; }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  color: var(--cream-text-on-ink);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
}
.hero-media {
  position: relative;
  min-height: 46vh;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,22,15,0.05) 0%, rgba(21,22,15,0.55) 100%);
}
@media (min-width: 900px) {
  .hero-media::after { background: linear-gradient(90deg, rgba(21,22,15,0) 0%, rgba(21,22,15,0.18) 100%); }
}

.hero-copy {
  color: var(--cream-text-on-ink);
  padding: 7.5rem var(--gutter) 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
}
.hero-copy .eyebrow { font-size: 0.85rem; }
.hero-title {
  font-size: var(--fs-display-xl);
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--rust-soft);
}
.hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--muted-on-ink);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--muted-on-ink);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rust-soft);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; min-height: 100svh; }
  .hero-media { min-height: 100svh; order: 2; }
  .hero-copy { order: 1; padding: 8rem clamp(2rem, 5vw, 5rem) 4rem clamp(1.25rem, 4vw, 3rem); }
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.75rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted-on-ink);
  font-size: var(--fs-small);
  z-index: 2;
}
@media (min-width: 900px) { .scroll-cue { display: inline-flex; } }
.scroll-cue .line { width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

/* ---------- Marquee strip ---------- */
.trust-strip {
  background: var(--paper-alt);
  border-block: 1px solid var(--line-soft);
  padding: 1.35rem 0;
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.trust-strip li { display: flex; align-items: center; }
.trust-strip li:not(:last-child)::after {
  content: "•";
  margin: 0 1.25rem;
  color: var(--rust);
  font-weight: 400;
}

/* ---------- Generic section spacing ---------- */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--cream-text-on-ink); }
.section--ink .muted { color: var(--muted-on-ink); }
.section--ink .section-lede { color: var(--muted-on-ink); }

/* ---------- Meet Tuckie ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 950px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
  .split--reverse .split-copy { order: 1; }
}

.split-media { position: relative; }
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -25px rgba(21,22,15,0.35);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 3/4; }

.media-accent {
  position: absolute;
  width: 42%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: 0 20px 40px -15px rgba(21,22,15,0.4);
  right: -6%;
  bottom: -10%;
}
.media-accent img { width: 100%; height: 100%; object-fit: cover; }

.split-copy .section-heading { max-width: none; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.tag-list .tag-label {
  width: 100%;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
  margin-bottom: 0.4rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--paper);
}
.section--alt .tag { background: var(--paper); }
.tag--solid {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

/* ---------- Why strip ---------- */
.feature-grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 3rem;
}
@media (min-width: 800px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.feature-item .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--rust);
  display: block;
  margin-bottom: 0.75rem;
}
.feature-item h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature-item p { color: var(--muted-on-paper); }

/* ---------- Environments chips ---------- */
.chip-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.5rem;
}
.chip {
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--paper);
}

/* ---------- Portfolio / video cards ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.75rem 0 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-on-paper);
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, #26301f 0%, #171a12 60%, #10120c 100%);
  border: 1px solid rgba(242,237,224,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 25px 45px -20px rgba(21,22,15,0.5); }
.video-card.is-hidden { display: none; }

.video-card video, .video-card .real-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-card .card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,16,10,0.15) 0%, rgba(15,16,10,0.05) 40%, rgba(15,16,10,0.75) 100%);
  z-index: 1;
}

.vc-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.vc-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-text-on-ink);
  background: rgba(242,237,224,0.14);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.vc-status {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--muted-on-ink);
  text-align: right;
  line-height: 1.3;
}

/* Empty content slot marker — shown on cards that have no footage yet.
   Deliberately reads as "slot open", not as a playable video. */
.vc-slot {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: auto;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1.5px dashed rgba(242,237,224,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242,237,224,0.6);
  transition: transform .4s var(--ease), border-color .4s ease, color .4s ease;
}
.video-card:hover .vc-slot { transform: scale(1.06); border-color: rgba(242,237,224,0.6); color: var(--cream-text-on-ink); }
.vc-slot svg { width: 1.05rem; height: 1.05rem; }

/* Reference still sitting behind a concept card */
.vc-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.video-card:hover .vc-still { opacity: 0.7; transform: scale(1.04); }
.video-card:has(.vc-still) .card-scrim {
  background: linear-gradient(180deg, rgba(15,16,10,0.55) 0%, rgba(15,16,10,0.3) 35%, rgba(15,16,10,0.88) 100%);
}

.vc-bottom { position: relative; z-index: 2; color: var(--cream-text-on-ink); }
.vc-bottom h3 { font-size: 1.02rem; font-family: var(--font-display); margin-bottom: 0.3rem; line-height: 1.2; }
.vc-bottom p { font-size: 0.8rem; color: var(--muted-on-ink); }
.vc-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242,237,224,0.62);
}

.portfolio-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--rust);
  background: var(--paper-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--muted-on-paper);
  max-width: 46rem;
}
.section--alt .portfolio-note { background: var(--paper); }

/* ---------- Photography gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3/4;
}
.gallery-item.span-2 { aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1rem 0.85rem;
  font-size: 0.78rem;
  color: var(--cream-text-on-ink);
  background: linear-gradient(180deg, rgba(15,16,10,0) 0%, rgba(15,16,10,0.72) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,16,10,0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: var(--muted-on-ink); font-size: 0.9rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  color: var(--cream-text-on-ink);
  padding: 0.75rem;
}
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Services ---------- */
.service-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.service-row .num { font-family: var(--font-display); color: var(--rust); font-size: 1rem; }
.service-row h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; font-family: var(--font-body); }
.service-row p { color: var(--muted-on-paper); margin-top: 0.35rem; font-size: 0.95rem; }

/* ---------- Collaborations ---------- */
.collab-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) { .collab-grid { grid-template-columns: repeat(2, 1fr); } }
.collab-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--paper);
}
.section--alt .collab-card { background: var(--paper-alt); border-color: rgba(21,22,15,0.1); }
.collab-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.collab-card p { color: var(--muted-on-paper); font-size: 0.95rem; }
.collab-placeholder {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1px dashed var(--rust);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Coreena section ---------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  line-height: 1.35;
  max-width: 30rem;
}
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.credential-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}
/* On dark sections the badge needs light text and a visible border. */
.section--ink .credential-badge {
  color: var(--cream-text-on-ink);
  border-color: rgba(242, 237, 224, 0.32);
}
.section--ink .credential-badge .dot { background: var(--rust-soft); }

/* ---------- Contact ---------- */
.contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.contact-title { font-size: var(--fs-display-xl); max-width: 18ch; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.95rem;
  color: var(--muted-on-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-ink);
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.site-footer a:hover { color: var(--cream-text-on-ink); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Mobile-only layout fixes (polish pass, 2026-08-24) ---------- */
/* Meet Tuckie accent photo: its negative right offset is fine once the
   split becomes two columns (>=950px), but on the single-column mobile
   layout it pushed past the container edge and caused horizontal scroll.
   Pull it fully inside the frame below the two-column breakpoint only —
   desktop position is untouched. */
@media (max-width: 949px) {
  .media-accent { right: 0.75rem; width: 38%; }
}

/* Video card status label: at 2-column mobile widths the category badge
   and the two-line status text no longer fit side by side and were
   overflowing the card edge. Stack them instead of squeezing them —
   desktop/tablet (>=700px, 3-4 columns) keeps the original side-by-side
   layout untouched. */
@media (max-width: 699px) {
  .vc-top { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .vc-status { text-align: left; }
}
