/* =========================================================
   Bouncer Promos — site styles
   Re-theme the whole site by editing the values in :root.
   ========================================================= */

:root {
  --ink: #111110;
  --ink-2: #1c1c1a;
  --ink-3: #2a2a27;
  --paper: #f5f2eb;
  --paper-2: #ebe5d8;
  --white: #ffffff;
  --muted: #5d5950;
  --muted-dark: #aaa59b;
  --line: rgba(17, 17, 16, 0.14);
  --line-dark: rgba(245, 242, 235, 0.16);

  --accent: #ff5a1f;  /* signal orange: the "ball" */
  --blue: #3d5afe;    /* web */
  --yellow: #ffd23f;
  --green: #22c55e;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover {
  background: var(--accent); color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 var(--accent); }

.text-link {
  display: inline-flex; gap: 6px; align-items: center;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link span { transition: transform .15s ease; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em;
  text-decoration: none; white-space: nowrap;
}
.brand-mark {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--accent);
}
.brand:hover .brand-mark { animation: hop .6s ease; }
.brand--light .brand-mark { border-color: var(--paper); }

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  70% { transform: translateY(0) scale(1.15, .85); }
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 500; text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    border: 2px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* With JS: a dropdown panel */
  .js .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(17, 17, 16, .35);
  }
  .nav-open .site-nav { display: flex; }
  .js .site-nav a:not(.btn) {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  }
  .js .site-nav a:not(.btn)::after { display: none; }
  .js .site-nav .btn { margin-top: 20px; min-height: 52px; font-size: 17px; }

  /* Without JS: just show the call-to-action button */
  html:not(.js) .site-nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow-x: clip; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-size: 14px; font-weight: 500;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(46px, 6.6vw, 90px);
  line-height: .98;
}
.mark {
  padding: 0 .04em;
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.lede {
  margin-top: 24px; max-width: 34em;
  font-size: clamp(18px, 1.5vw, 20px); color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 auto; padding: 0 20px; }
}

/* Hero art: a browser window with a bouncing ball */
.hero-art { position: relative; }

.browser {
  overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ink); background: var(--paper-2);
}
.browser-bar > i {
  width: 12px; height: 12px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 50%;
}
.browser-bar > i:nth-child(1) { background: var(--accent); }
.browser-bar > i:nth-child(2) { background: var(--yellow); }
.browser-bar > i:nth-child(3) { background: var(--blue); }
.browser-url {
  flex: 1; min-width: 0; margin-left: 10px; height: 28px;
  display: flex; align-items: center; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-size: 13px; font-weight: 500;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-body {
  position: relative; aspect-ratio: 5 / 4;
  background:
    radial-gradient(var(--line) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    var(--white);
}

.skeleton {
  position: absolute; top: 10%; left: 8%; width: 44%;
  display: grid; gap: 10px;
}
.skeleton span { display: block; height: 11px; border-radius: 999px; background: var(--paper-2); }
.skeleton span:nth-child(1) { height: 22px; width: 92%; background: var(--ink); }
.skeleton span:nth-child(3) { width: 72%; }
.skeleton .sk-btn {
  width: 48%; height: 30px; margin-top: 8px;
  border: 2px solid var(--ink); background: var(--blue);
}

.floor {
  position: absolute; left: 8%; right: 8%; bottom: calc(14% - 2px); height: 2px;
  background: var(--ink);
}
.ball-wrap {
  position: absolute; left: 57%; bottom: 14%; width: 22%;
}
.ball {
  position: relative; width: 100%; aspect-ratio: 1;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--accent);
  transform-origin: 50% 100%;
  animation: bounce 1.25s infinite;
}
.ball::after {
  content: ""; position: absolute; top: 16%; left: 20%; width: 26%; height: 18%;
  border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(-35deg);
}
.ball-shadow {
  position: absolute; left: 58%; bottom: calc(14% - 6px); width: 20%; height: 10px;
  border-radius: 50%; background: rgba(17, 17, 16, .28);
  animation: shadow 1.25s infinite;
}

@keyframes bounce {
  0%   { transform: translateY(-125%); animation-timing-function: cubic-bezier(.45, 0, .9, .45); }
  44%  { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
  50%  { transform: translateY(0) scale(1.22, .78); animation-timing-function: ease-in-out; }
  58%  { transform: translateY(-14%) scale(.92, 1.08); animation-timing-function: cubic-bezier(.1, .55, .55, 1); }
  100% { transform: translateY(-125%) scale(1, 1); }
}
@keyframes shadow {
  0%   { transform: scaleX(.45); opacity: .35; animation-timing-function: cubic-bezier(.45, 0, .9, .45); }
  44%  { transform: scaleX(1); opacity: 1; }
  50%  { transform: scaleX(1.15); opacity: 1; animation-timing-function: cubic-bezier(.1, .55, .55, 1); }
  100% { transform: scaleX(.45); opacity: .35; }
}

.sticker {
  position: absolute; left: 6%; bottom: -18px;
  padding: 8px 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--yellow);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  transform: rotate(-5deg);
  box-shadow: 4px 4px 0 var(--ink);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 540px; width: calc(100% - 10px); }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--accent);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-group { display: flex; align-items: center; }
.ticker span {
  padding: 18px 22px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; white-space: nowrap;
}
.ticker b {
  width: 14px; height: 14px; flex: none;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-tint { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}
.section-dark .eyebrow { color: var(--muted-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 16px; font-size: clamp(38px, 5.4vw, 68px); }
.section-head > p:not(.eyebrow) { margin-top: 20px; max-width: 56ch; font-size: 18px; color: var(--muted); }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white);
}
.service-card--dark { background: var(--ink); color: var(--paper); }
.service-card--accent { background: var(--accent); }

.service-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.service-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 2px solid currentColor; border-radius: 50%;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { font-size: clamp(28px, 2.6vw, 36px); }
.service-card > p { margin-top: 14px; color: var(--muted); }
.service-card--dark > p { color: var(--muted-dark); }
.service-card--accent > p { color: var(--ink); }

.service-list { margin-top: 28px; }
.service-list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500;
}
.service-card--dark .service-list li { border-top-color: var(--line-dark); }
.service-list li::before { content: "→"; color: var(--accent); font-weight: 700; }

.service-card--accent .text-link { margin-top: auto; padding-top: 28px; align-self: flex-start; }

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--accent { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio (work page) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.project {
  display: flex; flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 4px);
  background: var(--ink-2);
  transition: border-color .2s ease;
}
.project:hover { border-color: rgba(245, 242, 235, .4); }

.project-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 12px 14px; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag {
  padding: 4px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.tag--web { background: var(--blue); color: var(--white); }
.project-client { margin-left: auto; font-size: 13px; color: var(--muted-dark); }
.project h2, .project h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.project p { color: var(--muted-dark); }

.project-link {
  display: inline-flex; gap: 6px; align-self: flex-start; margin-top: auto; padding-top: 6px;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.project-link:hover { color: var(--accent); }

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

/* Project screenshots */
.thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: var(--ink-3);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .thumb img { transform: scale(1.03); }

/* Work page header and closing call-to-action */
.page-hero { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { margin-top: 16px; font-size: clamp(52px, 8vw, 104px); line-height: .95; }
.page-hero .lede { margin-top: 20px; }
.work-section { padding-top: clamp(48px, 6vw, 80px); }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { font-size: clamp(34px, 4.6vw, 56px); }

.about-link { margin-top: 28px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding-top: 24px; border-top: 2px solid var(--ink); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px;
  border: 2px solid var(--ink); border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.step:nth-child(1) .step-num { background: var(--accent); }
.step:nth-child(2) .step-num { background: var(--yellow); }
.step:nth-child(3) .step-num { background: var(--blue); color: var(--white); }
.step:nth-child(4) .step-num { background: var(--ink); color: var(--paper); }
.step h3 { font-size: 26px; letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--muted); }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(48px, 7vw, 104px);
}
.about-copy h2 { margin-top: 16px; font-size: clamp(38px, 5vw, 62px); }
.about-copy p:not(.eyebrow) { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--muted); }
.about-copy .about-lead { margin-top: 28px; font-size: clamp(20px, 1.8vw, 23px); line-height: 1.45; color: var(--ink); }

.facts-wrap { position: relative; padding-top: 48px; }
.facts {
  margin: 0; padding: 8px 28px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white); box-shadow: 8px 8px 0 var(--ink);
}
.facts div {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.stamp {
  position: absolute; top: 0; right: -14px; width: 128px; height: 128px;
  animation: spin 22s linear infinite;
}
.stamp-bg { fill: var(--accent); stroke: var(--ink); stroke-width: 3; }
.stamp-text {
  fill: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 1px;
}
.stamp-core { fill: var(--ink); }
.stamp-ball { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts { padding: 4px 20px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .stamp { right: 8px; width: 104px; height: 104px; }
  .facts-wrap { padding-top: 40px; }
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--ink); color: var(--paper);
}
.contact-intro h2 { margin-top: 16px; font-size: clamp(38px, 5vw, 62px); }
.contact-intro p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted-dark); }
.contact-intro .eyebrow { color: var(--muted-dark); }
.contact-steps { margin-top: 24px; }
.contact-steps li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--line-dark); font-weight: 500;
}
.contact-steps li::before { content: "→"; color: var(--accent); font-weight: 700; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--line-dark); border-radius: 12px;
  background: var(--ink-2); color: var(--paper);
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f2eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select:invalid { color: var(--muted-dark); }
.field option { color: var(--ink); background: var(--white); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(245, 242, 235, .4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .3);
}
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; color: var(--muted-dark); }
.form-status.is-success { color: #86efac; font-weight: 600; }
.form-status.is-error { color: #fca5a5; font-weight: 600; }

/* Spam trap: hidden from people, visible to bots */
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
}
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
}
.footer-about p { margin-top: 16px; color: var(--muted-dark); }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.footer-cols h3 {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-dark);
}
.footer-cols ul { display: grid; gap: 8px; margin-top: 14px; }
.footer-cols a, .footer-bottom a { text-decoration: none; }
.footer-cols a:hover, .footer-bottom a:hover { color: var(--accent); }

.footer-wordmark {
  margin: clamp(48px, 7vw, 88px) 0 0;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.055em; line-height: .85;
  font-size: clamp(44px, 11.8vw, 168px); white-space: nowrap;
  color: var(--paper);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--muted-dark);
}

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
