/* ==========================================================================
   THE NEON MOB — stylesheet
   Colors, type, and layout ported from the Claude Design export.
   Edit brand values in :root — everything else follows.
   ========================================================================== */

:root {
  --navy:        #012046;  /* page background */
  --navy-panel:  #092B50;  /* alternating section background */
  --navy-input:  #10385F;  /* form field background */
  --cyan:        #00D5DB;  /* primary brand / CTA */
  --cyan-hover:  #16E7E7;
  --white:       #FFFFFF;
  --ice:         #EAFBFC;  /* body copy on dark */
  --muted:       #A9C5D2;  /* secondary copy */
  --line:        #4A7396;  /* input + button borders */
  --hairline:    rgba(49, 85, 116, 0.30);

  --display: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
  --body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:  1400px;
  --gutter: 32px;
  --radius: 2px;
}

/* --------------------------------------------------------------- base --- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ice);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: var(--navy); }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-hover); }

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

:is(a, button, input, select, textarea):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--cyan);
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

/* Layered shadows do the legibility work the scrim used to. Each element gets
   a tight shadow for edge definition against busy detail, plus a wide diffuse
   one that darkens the immediate surroundings. Reads as depth, not as a wash,
   and leaves the video untouched everywhere there isn't text. */
.hero .eyebrow {
  font-size: 15px;
  font-weight: 800;
  text-shadow:
    0 1px 2px rgba(1, 32, 70, 0.95),
    0 2px 10px rgba(1, 32, 70, 0.85),
    0 0 28px rgba(1, 32, 70, 0.65);
}
.hero-title {
  text-shadow:
    0 2px 5px rgba(1, 32, 70, 0.45),
    0 6px 40px rgba(1, 32, 70, 0.40);
}
.hero-sub {
  text-shadow:
    0 1px 3px rgba(1, 32, 70, 0.85),
    0 2px 16px rgba(1, 32, 70, 0.65);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  letter-spacing: 0.5px;
}

.link-arrow { font-weight: 700; color: var(--cyan); white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--cyan); color: var(--navy);
  padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; color: var(--navy); }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--body);
  text-align: center;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--cyan-hover); color: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ice); font-weight: 700; }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: var(--navy); color: var(--white); padding: 18px 36px; }
.btn-dark:hover { background: #01315f; color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 15px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* -------------------------------------------------------- image slots --- */
/* Drop a real <img> inside a .slot and the placeholder label hides itself. */

.slot {
  position: relative;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(0,213,219,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, #0a2f56 0%, #061c39 100%);
  border: 1px dashed var(--hairline);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.slot img,
.slot video { width: 100%; height: 100%; object-fit: cover; }
.slot video { pointer-events: none; }
.slot .slot-label {
  padding: 16px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: rgba(169, 197, 210, 0.75);
  text-align: center;
  text-transform: uppercase;
}
.slot:has(img),
.slot:has(video) { border: 0; }
.slot:has(img) .slot-label,
.slot:has(video) .slot-label { display: none; }

/* -------------------------------------------------------------- header --- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1, 32, 70, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: var(--display);
  font-size: 28px; letter-spacing: 1px;
  color: var(--white);
}
.logo span { color: var(--cyan); }
.logo:hover { color: var(--white); }

/* Uploaded logo. Sized by height so any reasonably-proportioned file lands
   at the right optical weight; width follows the aspect ratio. */
.logo-img {
  height: 30px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.logo:hover .logo-img { opacity: 0.85; }
.footer-logo .logo-img { height: 34px; max-width: 300px; margin-bottom: 4px; }

@media (max-width: 780px) {
  .logo-img { height: 26px; max-width: 200px; }
}

.nav-desktop { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-desktop a { color: var(--white); }
.nav-desktop a:hover { color: var(--cyan); }
.nav-desktop a.btn { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--hairline); color: var(--white);
  padding: 8px 14px; font-size: 20px; line-height: 1;
  border-radius: var(--radius); cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  gap: 18px; font-size: 17px; font-weight: 600;
  border-top: 1px solid var(--hairline);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { color: var(--white); }
.nav-mobile a:last-child { color: var(--cyan); }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
/* One clean vertical falloff. Radial or corner-anchored gradients over
   photography read as a smudge — there's no physical reason for a soft blob,
   so the eye sees dirt rather than intent. A straight bottom-up ramp reads
   like natural light falloff and disappears.
   Legibility over the bright middle is carried by text-shadow instead. */
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(1, 32, 70, 0.06) 0%,
    rgba(1, 32, 70, 0.14) 40%,
    rgba(1, 32, 70, 0.34) 68%,
    rgba(1, 32, 70, 0.72) 88%,
    var(--navy) 100%);
}

/* On phones the copy spans the full width, so a left-biased wash would miss
   most of it. Swap to a straight bottom-up scrim instead. */
@media (max-width: 780px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(1, 32, 70, 0.12) 0%,
      rgba(1, 32, 70, 0.30) 40%,
      rgba(1, 32, 70, 0.60) 72%,
      var(--navy) 100%);
  }
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 0 var(--gutter) 72px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--ice);
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ------------------------------------------------------------- marquee --- */

.marquee { border-bottom: 1px solid var(--hairline); padding: 28px 0; overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; gap: 64px; align-items: center;
  animation: marquee 60s linear infinite;
}
.marquee-item {
  font-family: var(--display);
  font-size: 26px; letter-spacing: 1px;
  color: var(--muted); white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections --- */

/* padding-block, not the shorthand: .section-lg and .wwd-grid sit on the same
   element as .container, and `padding: X 0` would wipe its left/right padding. */
.section { padding-block: 96px; }
.section-lg { padding-block: 110px; }
.panel { background: var(--navy-panel); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 48px;
}
.section-head .h2 { font-size: clamp(36px, 5vw, 56px); margin: 0; }

/* ---------------------------------------------------------- work tiles --- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.tile { display: block; color: inherit; }
.tile-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.tile-media .slot { transition: transform 0.4s ease; }
.tile:hover .tile-media .slot,
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-meta {
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 12px; color: var(--cyan); font-weight: 700; margin-bottom: 6px;
}
.tile-title {
  font-family: var(--display);
  font-size: 26px; color: var(--white);
  letter-spacing: 0.5px; margin-bottom: 4px;
}
.tile:hover .tile-title { color: var(--cyan); }
.tile-client { font-size: 14px; color: var(--muted); }
.tile.is-hidden { display: none; }

/* ---------------------------------------------------------- what we do --- */

.wwd-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
  padding-block: 88px;
}
.wwd-grid > .h2 { font-size: clamp(32px, 4vw, 48px); }
.wwd-list { display: grid; gap: 28px; }
.svc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; border-bottom: 1px solid var(--hairline); padding-bottom: 20px;
}
.svc-row h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.svc-row p { font-size: 15px; color: var(--muted); max-width: 48ch; }

/* ------------------------------------------------------------- quote ---- */

.quote { max-width: 1000px; margin: 0 auto; padding: 110px var(--gutter); text-align: center; }
.quote blockquote {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  color: var(--white);
}
.quote cite { font-style: normal; font-weight: 700; color: var(--cyan); display: block; }
.quote .quote-org { color: var(--muted); margin-top: 4px; }

/* ---------------------------------------------------------- CTA band ---- */

.cta-band { background: var(--cyan); color: var(--navy); }
.cta-band .container {
  padding-top: 80px; padding-bottom: 80px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 52px);
  max-width: 16ch;
}

/* ------------------------------------------------------------ filters --- */

.filters { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 16px; }
.filter-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); margin-bottom: 10px;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: transparent; color: var(--ice);
  border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 700; font-size: 13px; cursor: pointer;
}
.pill:hover { border-color: var(--cyan); color: var(--cyan); }
.pill.is-active { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.filter-count { color: var(--muted); font-size: 14px; margin: 24px 0 32px; }
.no-results { color: var(--muted); margin: 0 0 40px; }
.no-results[hidden] { display: none; }

/* -------------------------------------------------------- case studies --- */

.case {
  border-top: 1px solid var(--hairline);
  padding: 80px 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start;
  scroll-margin-top: 100px;
}
.case-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.case h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--white); margin-bottom: 6px;
}
.case-client { font-weight: 700; color: var(--muted); margin-bottom: 28px; }
.case-blocks { display: grid; gap: 20px; }
.case-blocks dt {
  font-weight: 800; color: var(--white); margin-bottom: 4px;
  font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
}
.case-blocks dd { margin: 0; color: var(--ice); line-height: 1.6; }
.case-blocks dd.credits { color: var(--muted); font-size: 14px; }
.case .btn { margin-top: 28px; padding: 14px 26px; }

/* ------------------------------------------------------ case gallery ---- */
/* The case study photo is the trigger. Extra gallery items live as hidden
   buttons beside it and only surface inside the lightbox. */

.case-gallery { position: relative; }

.case-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-panel);
  cursor: zoom-in;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.case-media:hover img { transform: scale(1.03); }

.case-count {
  position: absolute;
  right: 12px; bottom: 12px;
  background: rgba(1, 32, 70, 0.85);
  border: 1px solid rgba(0, 213, 219, 0.4);
  color: var(--cyan);
  font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.case-media:hover .case-count { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }

/* --------------------------------------------------------- lightbox ----- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(1, 32, 70, 0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  border: 0;
}
.lightbox[hidden] { display: none; }
.lightbox img,
.lightbox video {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox video { background: #000; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(1, 32, 70, 0.7);
  border: 1px solid var(--hairline);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 13px; letter-spacing: 1px;
}

@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ------------------------------------------------------------- prose ---- */
/* Long-form text pages — privacy, terms. Narrow measure for readability;
   nobody reads legal copy set 1400px wide. */

.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--display);
  font-size: 30px;
  color: var(--white);
  letter-spacing: 0.5px;
  margin: 48px 0 14px;
}
.prose h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin: 32px 0 10px;
}
.prose p { color: var(--ice); line-height: 1.7; margin-bottom: 16px; }
.prose ul, .prose ol { color: var(--ice); line-height: 1.7; margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--white); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.prose > h1 { margin-bottom: 32px; }
.prose-back { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline); }

@media (max-width: 780px) {
  .prose h2 { font-size: 26px; margin-top: 36px; }
}

/* ---------------------------------------------------------- services ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  background: var(--hairline);
}
.svc-card {
  background: var(--navy-panel);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.svc-card h3 { font-family: var(--display); font-size: 32px; color: var(--white); }
.svc-card > p { color: var(--ice); font-size: 15px; line-height: 1.6; }
.svc-meta {
  border-top: 1px solid var(--hairline);
  padding-top: 16px; display: grid; gap: 10px; font-size: 14px;
}
.svc-meta p { color: var(--muted); }
.svc-meta strong { color: var(--white); font-weight: 700; }
.svc-card .link-arrow { margin-top: auto; font-weight: 800; }

/* -------------------------------------------------------------- team ---- */

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.member h3 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 2px; }
.member-role { font-size: 13px; color: var(--cyan); font-weight: 700; margin-bottom: 10px; }
.member-bio { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ----------------------------------------------------------- clients ---- */

.clients-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px; background: var(--hairline);
}
.client { background: var(--navy-panel); padding: 24px 22px; }
.client-name { font-family: var(--display); font-size: 22px; letter-spacing: 0.5px; color: var(--white); margin-bottom: 6px; }
.client-note { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ----------------------------------------------------------- contact ---- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.contact-info a,
.contact-info .contact-info-value { color: var(--white); font-size: 17px; font-weight: 700; }
.contact-info address { font-style: normal; color: var(--white); font-size: 17px; line-height: 1.5; }
.contact-info .btn-outline { font-size: 15px; padding: 14px 24px; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--white); }
.field input,
.field select,
.field textarea {
  background: var(--navy-input);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 13px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 15px;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169,197,210,0.6); }
.honeypot { position: absolute; left: -9999px; }

.form-success {
  background: var(--navy-panel);
  border: 1px solid rgba(0, 213, 219, 0.35);
  border-radius: var(--radius);
  padding: 48px; text-align: center;
}
.form-success h3 { font-family: var(--display); font-size: 32px; color: var(--cyan); margin-bottom: 12px; }
.form-success p { color: var(--ice); }
.form-error { color: #FF8A8A; font-size: 14px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ footer ---- */

.site-footer { border-top: 1px solid var(--hairline); background: var(--navy-panel); }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-logo { font-family: var(--display); font-size: 26px; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--cyan); }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-grid a:hover { color: var(--cyan); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-col .footer-col-head { color: var(--white); font-weight: 700; margin-bottom: 4px; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(49, 85, 116, 0.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }

/* ------------------------------------------------------- breakpoints ---- */

@media (max-width: 1000px) {
  .wwd-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; }
  .case { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 780px) {
  :root { --gutter: 20px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 78vh; }
  .section, .section-lg { padding-block: 64px; }
  .quote { padding: 72px var(--gutter); }
  .cta-band .container { padding-top: 56px; padding-bottom: 56px; }
  .svc-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tile-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-sm, .nav-desktop a.btn { width: auto; }
  .form-success { padding: 32px 24px; }
}

@media (max-width: 420px) {
  .tile-grid { grid-template-columns: 1fr; }
}

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

  /* Freezing the marquee leaves a row clipped mid-name, which reads as a bug.
     Stop the animation, drop the duplicated copy that only exists to make the
     loop seamless, and let the visitor swipe through the list instead. */
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track { animation: none; padding-inline: var(--gutter); }
  .marquee-item[aria-hidden="true"] { display: none; }
}
