/* ==========================================================================
   May 19th Media — Design Tokens
   Palette: near-black ink, signal red, warm paper white
   Type: League Spartan (display/eyebrow) + Inter (body/utility)
   Signature: waveform motif — this is an audio-and-visual production house
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0b0c;
  --ink-soft: #1c1c1e;
  --red: #d60609;
  --red-dark: #a50408;
  --paper: #f5f4f2;
  --white: #ffffff;
  --mute: #6b6b6e;
  --line: rgba(11, 11, 12, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --display: 'League Spartan', sans-serif;
  --body: 'Inter', sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(11,11,12,0.18); }
.btn.btn-solid { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.btn-solid:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 10px 24px rgba(214,6,9,0.35); }
.btn.btn-ghost-light { border-color: var(--line-on-dark); color: var(--white); }
.btn.btn-ghost-light:hover { background: var(--white); color: var(--ink); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: -1;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 34px; height: 34px; }
.logo span { display: flex; align-items: baseline; gap: 2px; }
.logo .dot { color: var(--red); }
.logo .sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--red); }
.nav a.nav-cta {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 16px 32px;
}
@media (min-width: 760px) { .nav a.nav-cta { display: inline-flex; } }
.nav a.nav-cta::after { display: none; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 24px; }
.nav-toggle span::after { position: absolute; top: 7px; width: 24px; }

@media (max-width: 759px) {
  .nav {
    position: fixed;
    inset: 65px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px var(--pad);
    gap: 22px;
    transform: translateY(-110%);
    transition: transform 0.28s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1.3rem; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 760px) { .nav-toggle { display: none; } }

/* ---------- Hero + waveform signature ---------- */
.hero {
  background: var(--ink) url('/assets/img/hero-bg.jpg') center right / cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 12vw, 130px);
  padding-bottom: clamp(56px, 10vw, 100px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
}
.hero + section { margin-top: -50px; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,11,12,0.96) 0%, rgba(11,11,12,0.85) 30%, rgba(11,11,12,0.4) 60%, rgba(11,11,12,0.15) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero { background-attachment: fixed; }
}
.hero h1 {
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 13ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero .lede {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 74px;
}
.waveform span {
  width: 5px;
  background: var(--red);
  border-radius: 2px;
  animation: wf 1.4s ease-in-out infinite;
  opacity: 0.9;
}
.waveform.muted span { background: rgba(255,255,255,0.28); animation: none; }
@keyframes wf {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
.waveform span:nth-child(1) { height: 20%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 55%; animation-delay: 0.08s; }
.waveform span:nth-child(3) { height: 90%; animation-delay: 0.16s; }
.waveform span:nth-child(4) { height: 40%; animation-delay: 0.24s; }
.waveform span:nth-child(5) { height: 75%; animation-delay: 0.32s; }
.waveform span:nth-child(6) { height: 100%; animation-delay: 0.4s; }
.waveform span:nth-child(7) { height: 60%; animation-delay: 0.48s; }
.waveform span:nth-child(8) { height: 30%; animation-delay: 0.56s; }
.waveform span:nth-child(9) { height: 80%; animation-delay: 0.64s; }
.waveform span:nth-child(10) { height: 45%; animation-delay: 0.72s; }
.waveform span:nth-child(11) { height: 95%; animation-delay: 0.8s; }
.waveform span:nth-child(12) { height: 25%; animation-delay: 0.88s; }
.waveform span:nth-child(13) { height: 65%; animation-delay: 0.96s; }
.waveform span:nth-child(14) { height: 50%; animation-delay: 1.04s; }
.waveform span:nth-child(15) { height: 85%; animation-delay: 1.12s; }
.waveform span:nth-child(16) { height: 35%; animation-delay: 1.2s; }
.waveform span:nth-child(17) { height: 70%; animation-delay: 1.28s; }
.waveform span:nth-child(18) { height: 90%; animation-delay: 1.36s; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 110px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.68); }
.section-dark h2 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* Services grid */
.services-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.services-bento .service-card {
  border: 1px solid var(--line);
  grid-column: 2;
}
.services-bento .service-card:nth-of-type(1) { grid-row: 1; }
.services-bento .service-card:nth-of-type(2) { grid-row: 2; }
.services-bento .service-card.featured-service {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
}
.services-bento .featured-service h3 { font-size: 1.9rem; }
.services-bento .featured-service p { font-size: 1.05rem; }
@media (max-width: 800px) {
  .services-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .services-bento .service-card,
  .services-bento .service-card.featured-service { grid-column: 1; grid-row: auto; padding: 40px 32px; }
  .services-bento .featured-service h3 { font-size: 1.5rem; }
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card::before,
.work-card::before,
.price-card::before,
.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(214,6,9,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before,
.work-card:hover::before,
.price-card:hover::before,
.trust-card:hover::before {
  opacity: 1;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,11,12,0.1); z-index: 1; }
.service-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 22px;
}
.service-badge-solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.service-categories {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--red);
  margin-top: 12px;
}
.service-card .price {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-card .price span { color: var(--red); }

.service-card .price-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.service-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--mute);
}
.service-card .price-row .price-val {
  color: var(--red);
  font-size: 0.98rem;
}
.service-card .card-link-wrap {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-card .card-link {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-card .card-link:hover { color: var(--red-dark); gap: 10px; }

/* Clients strip */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
}
.client-mark {
  font-family: var(--display);
  font-weight: 700;
  color: var(--mute);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.client-mark:hover { opacity: 1; color: var(--ink); }

.trust-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
}
.trust-marquee::before, .trust-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-marquee::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.trust-marquee::after { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
.trust-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: trust-scroll 30s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust-card {
  display: block;
  position: relative;
  flex: 0 0 300px;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
a.trust-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,11,12,0.1); }
.trust-thumb { aspect-ratio: 1.4/1; overflow: hidden; border-bottom: 1px solid var(--line); }
.trust-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-body { padding: 20px 22px; }
.trust-body .work-tag { margin-bottom: 10px; }
.trust-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-body p { font-size: 0.9rem; margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none !important; }
  .trust-marquee { overflow-x: auto; }
}

/* Quote / message block */
.quote-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 700px) { .quote-block { grid-template-columns: 1fr; } }
.quote-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--white);
}
.quote-block blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  margin: 0 0 16px;
}
.quote-block cite {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* Team */
.grid-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.team-card .avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 16px;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card .role { color: var(--mute); font-size: 0.88rem; }

/* Process list (numbered — real sequence) */
.process { counter-reset: step; }
.process-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 6px; }

/* Portfolio / work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.work-card {
  border: 1px solid var(--line);
  padding: 30px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,11,12,0.1); }
.work-thumb-diamond {
  width: 84px;
  height: 84px;
  margin: 0 0 24px;
  overflow: hidden;
  transform: rotate(45deg);
  border: 2px solid var(--red);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-radius 0.4s ease;
}
.work-thumb-diamond img {
  position: relative;
  width: 150%;
  height: 150%;
  left: -25%;
  top: -25%;
  object-fit: cover;
  transform: rotate(-45deg);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.work-card:hover .work-thumb-diamond { transform: rotate(0deg); border-radius: 8px; }
.work-card:hover .work-thumb-diamond img { transform: rotate(0deg); }
.work-tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: block;
}
.work-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.work-card p { font-size: 0.95rem; }

/* Pricing table (services page) */
.price-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.price-card {
  border: 1px solid var(--line);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,11,12,0.1); }
.price-card.featured { border-color: var(--red); border-width: 2px; position: relative; }
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.price-card.featured::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--border-angle), transparent 0deg, var(--red) 50deg, rgba(214,6,9,0.15) 110deg, transparent 170deg, var(--ink) 230deg, transparent 290deg, var(--red) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-glow-rotate 5s linear infinite;
  pointer-events: none;
}
@keyframes border-glow-rotate {
  to { --border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card.featured::after { animation: none; }
}
.price-card .tag {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.price-card h3 { font-size: 1.25rem; }
.price-card .amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--ink);
  margin: 6px 0 4px;
}
.price-card .amount span { font-size: 1rem; color: var(--mute); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 28px; flex-grow: 1; }
.price-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
}
.price-card li::before { content: '—'; color: var(--red); flex-shrink: 0; }

/* CTA band */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  position: relative;
  margin-top: -40px;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  -webkit-clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.cta-band + footer { margin-top: -40px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { border-color: var(--white); color: var(--white); }
.cta-band .btn:hover { background: var(--white); color: var(--red); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 26px;
}
.contact-info dd { margin: 6px 0 0; font-size: 1.05rem; }
.contact-info dl:first-child dt:first-child { margin-top: 0; }

.contact-photo {
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  overflow: hidden;
  max-width: 320px;
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-photo-caption {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 10px 0 28px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--mute); margin-top: 10px; }
.form-success {
  border: 1px solid var(--red);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--red);
}

/* Page intro (non-home pages) */
.page-intro {
  background: var(--ink);
  color: var(--white);
  padding: clamp(64px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
}
.page-intro h1 { color: var(--white); font-size: clamp(2.4rem, 5.8vw, 4rem); letter-spacing: -0.02em; max-width: 16ch; }
.mobile-break { display: none; }
@media (max-width: 759px) { .mobile-break { display: inline; } }
.desktop-break { display: none; }
@media (min-width: 760px) { .desktop-break { display: inline; } }
.page-intro h1.about-headline { max-width: none; }
.page-intro .lede { color: rgba(255,255,255,0.7); max-width: 50ch; font-size: 1.05rem; }

/* Legal / policy page content */
.legal-content { max-width: 760px; }
.legal-content p { color: var(--ink-soft); margin-bottom: 1.2em; }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.legal-content ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.legal-content li {
  color: var(--ink-soft);
  margin-bottom: 0.5em;
}
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--red); text-decoration: underline; }

/* Bio layout (about page) */
.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-photo {
  aspect-ratio: 4/5;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--red);
  overflow: hidden;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.values-list { display: grid; gap: 20px; margin-top: 12px; }
.values-list .value { display: flex; gap: 16px; }
.values-list .mark { color: var(--red); font-family: var(--display); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid p { color: rgba(255,255,255,0.6); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--red); }
.footer-logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark-footer { width: 30px; height: 30px; }
.footer-logo .dot { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--red); }

/* ---------- Scroll reveal ---------- */
.section-head,
.service-card,
.price-card,
.work-card,
.team-card,
.process-item,
.quote-block,
.bio-grid {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-head.in-view,
.service-card.in-view,
.price-card.in-view,
.work-card.in-view,
.team-card.in-view,
.process-item.in-view,
.quote-block.in-view,
.bio-grid.in-view {
  opacity: 1;
  transform: none;
}
.services-bento .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-bento .service-card:nth-child(3) { transition-delay: 0.2s; }
.price-table .price-card:nth-child(2) { transition-delay: 0.1s; }
.price-table .price-card:nth-child(3) { transition-delay: 0.2s; }
.price-table .price-card:nth-child(4) { transition-delay: 0.3s; }
.work-grid .work-card:nth-child(2) { transition-delay: 0.08s; }
.work-grid .work-card:nth-child(3) { transition-delay: 0.16s; }
.work-grid .work-card:nth-child(4) { transition-delay: 0.24s; }
.work-grid .work-card:nth-child(5) { transition-delay: 0.32s; }
.work-grid .work-card:nth-child(6) { transition-delay: 0.4s; }
.grid-team .team-card:nth-child(2) { transition-delay: 0.1s; }
.grid-team .team-card:nth-child(3) { transition-delay: 0.2s; }
.process-item:nth-child(2) { transition-delay: 0.08s; }
.process-item:nth-child(3) { transition-delay: 0.16s; }
.process-item:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Kinetic word-mask reveal ---------- */
.kinetic-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.kinetic-word {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}
.kinetic.in-view .kinetic-word {
  transform: translateY(0);
}

/* ---------- Small phone refinements (≤420px) ---------- */
@media (max-width: 420px) {
  .logo .sub { display: none; }
  .logo { font-size: 1.1rem; }
  .service-card, .work-card { padding: 26px 20px; }
  .price-card { padding: 30px 22px; }
  .quote-photo { width: 110px; height: 110px; font-size: 2rem; }
  .quote-block { gap: 24px; }
  .hero .actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .price-card .amount { font-size: 2rem; }
  .price-card .tag { left: 22px; }
}

/* ==========================================================================
   Dark-mode-first homepage system
   Scoped under body.dark-page so inner pages are untouched for now.
   ========================================================================== */
body.dark-page { background: #0a0a0b; }

.dark-page .site-header::before { background: rgba(10, 10, 11, 0.75); }
.dark-page .site-header { border-bottom-color: rgba(255, 255, 255, 0.08); }
.dark-page .logo span { color: var(--white); }
.dark-page .logo .sub { color: rgba(255, 255, 255, 0.5); }
.dark-page .nav a { color: rgba(255, 255, 255, 0.85); }
.dark-page .nav a.active { color: var(--red); }
.dark-page .nav-toggle span,
.dark-page .nav-toggle span::before,
.dark-page .nav-toggle span::after { background: var(--white); }
@media (max-width: 759px) {
  .dark-page .nav { background: #0a0a0b; }
}

.dark-page h1, .dark-page h2, .dark-page h3 { color: var(--white); }
.dark-page section > .wrap > p,
.dark-page .section-head p { color: rgba(255, 255, 255, 0.62); }

.dark-page .section-alt { background: #0e0e10; }

/* Cards become floating glass panels instead of solid white boxes */
.dark-page .service-card,
.dark-page .trust-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dark-page .service-card h3 { color: var(--white); }
.dark-page .service-card p { color: rgba(255, 255, 255, 0.6); }
.dark-page .service-card .price,
.dark-page .card-link-wrap { border-top-color: rgba(255, 255, 255, 0.12); }
.dark-page .service-card .price { color: var(--white); }
.dark-page .service-badge { border-color: rgba(255, 255, 255, 0.16); }

.dark-page .trust-marquee::before { background: linear-gradient(to right, #0e0e10, transparent); }
.dark-page .trust-marquee::after { background: linear-gradient(to left, #0e0e10, transparent); }
.dark-page .trust-card h3 { color: var(--white); }
.dark-page .trust-card p { color: rgba(255, 255, 255, 0.6); }

.dark-page .quote-block blockquote { color: var(--white); }

/* Stat band */
.stat-band {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--red);
  text-shadow: 0 0 30px rgba(214, 6, 9, 0.4);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 700px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* Oversized ghost background type */
.services-section { position: relative; overflow: hidden; }
.ghost-text {
  position: absolute;
  top: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 15rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.services-section .wrap { position: relative; z-index: 1; }
