/* ==============================================================
   ORIOVA MEDIA — styles.css
   Dark monochrome / editorial. Mobile-first.
   Order: tokens · reset · base/type · layout · components ·
          sections · responsive · reduced-motion
   ============================================================== */

/* --------------------------------------------------------------
   1. TOKENS — the brand. Do not hardcode hex anywhere below this.
   -------------------------------------------------------------- */
:root {
  /* Core palette — monochrome */
  --bg:     #050505;   /* page background */
  --bg-2:   #0a0a0b;   /* raised surface */
  --bg-3:   #0d0d0e;   /* cards */
  --text:   #ffffff;   /* primary text */
  --muted:  #b8b8b8;   /* secondary text */
  --faint:  #3f3f3f;   /* tertiary / decorative */
  --line:   rgba(255, 255, 255, 0.10); /* hairline borders */

  /* Optional accent — OFF by default (mirrors --text = monochrome).
     To enable: uncomment the brass line, or set your own value.
     It already feeds .btn-solid, link hover, and the active nav underline. */
  /* --accent: #C8A24B; */            /* warm brass */
  --accent: var(--text);               /* fallback = white, keeps it monochrome */

  /* System */
  --max:    1400px;
  --nav-h:  72px;
  --serif:  'Fraunces', Georgia, serif;
  --sans:   'Neue Montreal', 'DM Sans', system-ui, sans-serif;
  --pad:    clamp(1.5rem, 5vw, 4rem);
  --radius: 4px;

  /* Motion */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------
   2. RESET — minimal, predictable box model
   -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  overflow-x: clip; /* contain stray h-overflow WITHOUT breaking position:sticky (unlike `hidden`) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Global background texture — fixed behind every section, under a dark veil.
   A fixed pseudo-element (not background-attachment:fixed) for reliable mobile. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(5, 5, 5, 0.65), rgba(5, 5, 5, 0.65)),
    url("assets/hero-bg.jpg") center / cover no-repeat;
  pointer-events: none;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea, button { font: inherit; }

::selection { background: var(--text); color: var(--bg); }

/* Anchor targets clear the sticky nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* --------------------------------------------------------------
   3. BASE TYPE — display serif, quiet grotesk body
   -------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* --------------------------------------------------------------
   4. LAYOUT — container, section rhythm, section heads
   -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(6rem, 11vw, 10rem);
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1rem; }

/* --------------------------------------------------------------
   5. UTILITIES — skip link, reveal animation, focus ring
   -------------------------------------------------------------- */

/* Skip link — visible only on focus */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Scroll reveal — only armed once JS adds .js to <html> (no-JS = visible) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------
   6. COMPONENTS — buttons, cards (+ spotlight), logo wordmark
   -------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-solid:hover { opacity: 0.88; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }

/* Cards + cursor spotlight (--mx/--my set by JS, hover-capable devices only) */
.card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.07),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

/* Header brand mark — icon only (no text) */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-mark {
  height: 40px;
  width: auto;
}

/* --------------------------------------------------------------
   7. NAV — sticky, blurred, scroll-spy underline, mobile overlay
   -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Desktop link cluster — hidden on mobile (toggled below) */
.nav-links { display: none; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
  padding-block: 0.25rem;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav[data-open] .nav-toggle-bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav[data-open] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Full-screen overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: var(--nav-h) var(--pad) 3rem;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.mobile-menu-links a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mobile-menu-links a:hover { color: var(--muted); }
.mobile-menu-cta { margin-top: 0.5rem; }

/* --------------------------------------------------------------
   8. HERO — ghost word, serif headline, CTAs, counters
   -------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding-block: clamp(4rem, 10vh, 8rem);
}
.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-top: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--text); }

.hero-sub {
  max-width: 44ch;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 0.35rem; }
.stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------
   9. ABOUT — three numbered principles
   -------------------------------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.principle {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.principle-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--faint);
  margin-bottom: 1rem;
}
.principle-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.principle-body { color: var(--muted); max-width: 36ch; }

/* --------------------------------------------------------------
   10. WORK / PROOF — result metrics + partner strip
   -------------------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.proof-card { padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.proof-metric {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.proof-unit { font-size: 0.45em; color: var(--muted); letter-spacing: 0; }
.proof-context {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 30ch;
}

/* --------------------------------------------------------------
   11. SERVICES — four-card grid
   -------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.service-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--faint);
}
.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.015em;
  color: var(--text);
}
.service-body { color: var(--muted); font-size: 0.95rem; }
.service-arrow {
  margin-top: auto;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card:hover .service-arrow { transform: translateX(5px); color: var(--text); }

/* --------------------------------------------------------------
   12. PROCESS — four numbered moves
   -------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.process-step {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.process-num {
  flex: none;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--faint);
}
.process-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.process-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.process-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 1px;
  background: var(--faint);
}

/* --------------------------------------------------------------
   13. TEAM — six members, initial avatars
   -------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
}
.avatar {
  display: grid;
  place-items: center;
  width: clamp(58px, 11vw, 84px);
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.team-name { font-weight: 500; color: var(--text); }
.team-role { font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------
   14. FAQ — native details/summary accordion
   -------------------------------------------------------------- */
.faq-list { max-width: 62rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.15rem, 2.2vw, 1.6rem);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* +/− indicator */
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item[open] summary::after { content: "−"; color: var(--text); }
.faq-item summary:hover { color: var(--muted); }
.faq-answer { padding-bottom: clamp(1.15rem, 2.2vw, 1.6rem); max-width: 65ch; }
.faq-answer p { color: var(--muted); }
.faq-item[open] .faq-answer { animation: faqOpen 0.35s var(--ease); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------
   15. CONTACT — details + brief form + success state
   -------------------------------------------------------------- */
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.contact-details dl { border-top: 1px solid var(--line); }
.contact-row {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-row dt {
  flex: none;
  width: 5.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}
.contact-row dd { color: var(--text); }
.contact-row dd a { border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
.contact-row dd a:hover { border-color: var(--text); }
.contact-note { margin-top: 1.5rem; color: var(--muted); max-width: 32ch; font-size: 0.95rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field .req { color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.45; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.2); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); }

/* Custom select caret (muted chevron, %23b8b8b8) */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23b8b8b8' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.field select option { background: var(--bg-2); color: var(--text); }

/* Inline validation — monochrome: brighter border + white message */
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--text); }
.field-error {
  font-size: 0.8rem;
  color: var(--text);
  padding-left: 0.1rem;
}
.field-error[hidden] { display: none; }
.field-error::before { content: "↳ "; color: var(--muted); }

.form-submit { margin-top: 0.5rem; align-self: flex-start; }
.form-status { font-size: 0.85rem; color: var(--muted); min-height: 1em; }
.form-status[data-state="error"] { color: var(--text); }

/* Success state (swapped in for the form) */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: clamp(2.5rem, 6vw, 4rem);
}
.form-success[hidden] { display: none; }
.form-success-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text);
}
.form-success-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
}
.form-success-body { color: var(--muted); }

/* --------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(4rem, 8vw, 7rem) 2.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img {
  width: clamp(120px, 15vw, 156px);
  height: auto;
}
.footer-tagline { margin-top: 1.25rem; color: var(--muted); max-width: 32ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------
   17. GRAIN — fixed film-grain overlay (decorative)
   -------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* --------------------------------------------------------------
   18. RESPONSIVE — mobile-first bumps
   -------------------------------------------------------------- */

/* Small tablets — 2-up service cards, side-by-side budget/service */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* Tablets — multi-column principles / proof / process / footer */
@media (min-width: 768px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principle { padding-top: 2rem; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 4vw, 4rem); }
  /* keep top borders tidy across two columns */
  .process-step:nth-child(2) { border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1.2fr 2fr; }
}

/* Desktop nav appears, mobile toggle hides */
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

/* Team to three across */
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Wide — four service cards in a row */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------
   19. REDUCED MOTION — settle everything to final state
   -------------------------------------------------------------- */
@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;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
