/* ==========================================================================
   Fora - main.css
   All design tokens + components. Single stylesheet, no framework.
   Sections:
     1. Tokens (:root)
     2. Reset & base
     3. Grain texture overlay
     4. Layout: container, grid, section
     5. Typography helpers
     6. Buttons & links
     7. Reveal / motion
     8. Navigation
     9. Hero
    10. Selected work
    11. Services
    12. Process
    13. About
    14. Contact
    15. Footer
    16. Case study template
    17. Responsive
    18. Reduced motion
   ========================================================================== */

/* ==========================================================================
   0. Self-hosted fonts (variable WOFF2, latin subset)
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Color */
  --color-bg: #F7F5F2;
  --color-surface: #EFEDE9;
  --color-border: #E2DDD8;
  --color-ink-primary: #1C1917;
  --color-ink-secondary: #6B6560;
  --color-ink-tertiary: #757068;
  --color-charcoal: #252220;
  --color-black: #0F0E0D;
  --color-accent: #B8734A;
  --color-accent-muted: #D4A88A;
  --color-white: #FDFCFB;

  /* Type - three-tier system:
     Fraunces (editorial headlines) · Space Grotesk (sharp UI/labels) · Inter (body) */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --t-display: clamp(3.5rem, 7vw, 6.5rem);
  --t-h1: clamp(2.5rem, 5vw, 4.5rem);
  --t-h2: clamp(1.75rem, 3vw, 2.75rem);
  --t-h3: clamp(1.25rem, 2vw, 1.75rem);
  --t-body-lg: 1.125rem;
  --t-body: 1rem;
  --t-caption: 0.8125rem;
  --t-label: 0.6875rem;

  /* Spacing scale (8px base, editorial jumps) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 192px;
  --sp-12: 256px;

  /* Section rhythm */
  --section-padding-y: clamp(80px, 12vw, 160px);
  --section-padding-x: clamp(24px, 6vw, 80px);

  /* Grid */
  --content-max: 1280px;
  --gutter: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-fast: 150ms;
  --dur-mid: 300ms;
  --dur-slow: 600ms;
  --dur-entrance: 900ms;

  --nav-h: 72px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-ink-primary);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-ink-primary);
}

/* Fraunces reads best a touch tighter and darker for display use */
.display, .h1, .h2 { font-family: var(--font-heading); font-weight: 600; }
.h3 { font-family: var(--font-heading); font-weight: 500; }

::selection {
  background: var(--color-accent-muted);
  color: var(--color-ink-primary);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  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;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--color-ink-primary);
  color: var(--color-white);
  border-radius: 2px;
  transition: top var(--dur-mid) var(--ease-out);
}
.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   3. Grain texture overlay
   The tactile layer. Applied to <body> once so it covers all sections.
   ========================================================================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Keep page content above the grain */
.nav,
main,
.footer {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   4. Layout: container, grid, section
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
}

.section {
  padding-block: var(--section-padding-y);
}

.section--tight {
  padding-block: clamp(48px, 8vw, 96px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Column span helpers (desktop) */
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.divider {
  height: 1px;
  width: 100%;
  background: var(--color-border);
  border: 0;
}

/* ==========================================================================
   5. Typography helpers
   ========================================================================== */
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-tertiary);
}

/* Editorial section index: a hairline rule with a tiny numbered label,
   in the confident-but-quiet register of UK studio sites. */
.section-head {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.section-head .eyebrow {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.section-head__index {
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}
.section-head__rule {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.display {
  font-size: var(--t-display);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.h1 {
  font-size: var(--t-h1);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.body-lg {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--color-ink-secondary);
}

.body {
  font-size: var(--t-body);
  line-height: 1.65;
}

.caption {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-ink-secondary);
}

.text-secondary { color: var(--color-ink-secondary); }
.text-tertiary { color: var(--color-ink-tertiary); }
.accent { color: var(--color-accent); }

/* ==========================================================================
   6. Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition:
    background-color var(--dur-mid) var(--ease-in-out),
    color var(--dur-mid) var(--ease-in-out),
    transform var(--dur-mid) var(--ease-spring),
    box-shadow var(--dur-mid) var(--ease-in-out),
    border-color var(--dur-mid) var(--ease-in-out);
}

/* Primary solid */
.btn--primary {
  padding: 14px 32px;
  background: var(--color-ink-primary);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-charcoal);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.15);
}

/* Charcoal solid (contact) */
.btn--charcoal {
  padding: 16px 32px;
  background: var(--color-charcoal);
  color: var(--color-white);
  width: 100%;
  justify-content: center;
}
.btn--charcoal:hover {
  background: #322e2b;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.18);
}

/* Outlined (nav CTA) */
.btn--outline {
  padding: 10px 20px;
  border: 1px solid var(--color-ink-primary);
  color: var(--color-ink-primary);
  font-size: 0.875rem;
}
.btn--outline:hover {
  background: var(--color-ink-primary);
  color: var(--color-white);
  /* persistent nav element: never shift vertically on hover */
  transform: none;
}

/* Secondary text link with accent arrow */
.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink-secondary);
  font-size: 0.9375rem;
  transition: color var(--dur-fast) var(--ease-in-out);
}
.link-secondary .arrow {
  color: var(--color-accent);
  transition: transform var(--dur-mid) var(--ease-out);
}
.link-secondary:hover {
  color: var(--color-ink-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-secondary:hover .arrow {
  transform: translateX(3px);
}

/* Ghost link - accent underline slides in from left */
.link-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  padding-bottom: 2px;
}
.link-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.link-ghost:hover::after {
  transform: scaleX(1);
}
.link-ghost .arrow {
  transition: transform var(--dur-mid) var(--ease-out);
}
.link-ghost:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   7. Reveal / motion
   ========================================================================== */
/* Hidden initial state only applies when JS is present (html.js).
   Without JS, .reveal content stays fully visible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   8. Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-mid) var(--ease-in-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--color-border);
}

.nav__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* Pure wordmark. The name is the mark. */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--color-ink-primary);
  line-height: 1;
  font-variation-settings: 'opsz' 40;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__link {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--color-ink-secondary);
  padding-bottom: 3px;
  transition: color var(--dur-fast) var(--ease-in-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--color-ink-primary);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 210;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-ink-primary);
  transition: transform var(--dur-mid) var(--ease-out),
              opacity var(--dur-fast) var(--ease-in-out),
              background-color var(--dur-mid) var(--ease-in-out);
}

/* Mobile full-screen overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--section-padding-x);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  visibility: hidden;
}
.nav__overlay.is-open {
  transform: translateY(0);
  visibility: visible;
}
.nav__overlay a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--t-h2);
  letter-spacing: -0.02em;
  color: var(--color-white);
  /* staggered entrance when overlay opens */
  opacity: 0;
  transform: translateX(-12px);
  transition: color var(--dur-fast) var(--ease-in-out),
              opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.nav__overlay.is-open a {
  opacity: 1;
  transform: translateX(0);
}
.nav__overlay.is-open a:nth-of-type(1) { transition-delay: 100ms; }
.nav__overlay.is-open a:nth-of-type(2) { transition-delay: 160ms; }
.nav__overlay.is-open a:nth-of-type(3) { transition-delay: 220ms; }
.nav__overlay.is-open a:nth-of-type(4) { transition-delay: 280ms; }
.nav__overlay.is-open a:nth-of-type(5) { transition-delay: 340ms; }
.nav__overlay a:hover {
  color: var(--color-accent-muted);
}
.nav__overlay-close {
  position: absolute;
  top: 22px;
  right: var(--section-padding-x);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-white);
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   9. Hero
   ========================================================================== */
.hero {
  padding-top: 200px;
  padding-bottom: clamp(64px, 10vw, 128px);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}
.hero__left {
  grid-column: span 7;
}
.hero__right {
  grid-column: 9 / span 4;
}
.hero__eyebrow {
  margin-bottom: var(--sp-5);
}
.hero__headline {
  font-size: var(--t-display);
  /* 1.05 + no clipping mask below: full descenders (g, y) stay visible */
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--color-ink-primary);
  /* Fraunces optical axis at display size: the calligraphic cut */
  font-variation-settings: 'opsz' 144;
}
/* word-split spans for entrance (fade+rise, no overflow clip) */
.hero__headline .word {
  display: inline-block;
  vertical-align: top;
}
html.js .hero__headline .word > span {
  display: inline-block;
  transform: translateY(32px);
  opacity: 0;
}
.hero.is-entered .hero__headline .word > span {
  transform: translateY(0);
  opacity: 1;
  transition: transform var(--dur-entrance) var(--ease-out),
              opacity var(--dur-entrance) var(--ease-out);
}

html.js .hero__eyebrow,
html.js .hero__lead,
html.js .hero__lead-close,
html.js .hero__cta {
  opacity: 0;
}
.hero.is-entered .hero__eyebrow {
  animation: fade-in 400ms var(--ease-out) 100ms forwards;
}
.hero.is-entered .hero__lead {
  animation: fade-up 600ms var(--ease-out) 600ms forwards;
}
.hero.is-entered .hero__lead-close {
  animation: fade-up 600ms var(--ease-out) 760ms forwards;
}
.hero.is-entered .hero__cta {
  animation: fade-in 600ms var(--ease-out) 940ms forwards;
}

@keyframes fade-in {
  to { opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--color-ink-secondary);
  margin-bottom: var(--sp-4);
}
/* Confident closing beat, in the display serif */
.hero__lead-close {
  font-family: var(--font-heading);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-ink-primary);
  margin-bottom: var(--sp-6);
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* Live-site pill (hero card, work cards, showcase) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-ink-secondary);
  background: var(--color-bg);
  white-space: nowrap;
}
.pill--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Three.js atmosphere canvas: behind hero content, never interactive */
.hero {
  position: relative;
}
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
  transition: opacity var(--dur-slow) var(--ease-out);
}
.scroll-indicator.is-hidden {
  opacity: 0;
}
.scroll-indicator__line {
  position: relative;
  width: 1px;
  height: 40px;
  background: var(--color-border);
  overflow: hidden;
}
.scroll-indicator__dot {
  position: absolute;
  top: 0;
  left: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: scroll-travel 2s var(--ease-in-out) infinite;
}
@keyframes scroll-travel {
  0% { transform: translateY(-6px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* ==========================================================================
   10. Selected work
   ========================================================================== */
.work-list {
  display: flex;
  flex-direction: column;
}
.work-card {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.work-card + .work-card {
  border-top: 1px solid var(--color-border);
}
.work-card--reverse .work-card__media {
  order: 2;
}
.work-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.work-card__media img,
.work-card__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.work-card:hover .work-card__media img,
.work-card:hover .work-card__media .placeholder {
  transform: scale(1.03);
}
.work-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}
.work-card__title {
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.work-card__outcome {
  font-size: var(--t-body-lg);
  color: var(--color-ink-secondary);
}
.work-card__outcome strong {
  color: var(--color-ink-primary);
  font-weight: 600;
}

/* Decorative placeholder blocks (stand-in for WebP imagery) */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--color-surface) 0%, #E7E3DE 100%);
  color: var(--color-ink-tertiary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(1rem, 2vw, 1.4rem);
}
.placeholder--dark {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-black) 100%);
  color: var(--color-ink-tertiary);
}

/* ==========================================================================
   11. Services
   ========================================================================== */
/* Teaser grid (home) */
.services-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: var(--sp-8);
}
.service-card {
  padding: var(--sp-6);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background-color var(--dur-fast) var(--ease-in-out),
              border-color var(--dur-fast) var(--ease-in-out);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 220px;
}
.service-card:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.service-card__num {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  color: var(--color-accent);
  letter-spacing: 0.08em;
}
/* Per-service line icon: border-toned at rest, accent on card hover */
.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-border);
  transition: color var(--dur-mid) var(--ease-in-out);
}
.service-card:hover .service-card__icon {
  color: var(--color-accent);
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.service-card__name {
  font-size: var(--t-h3);
  font-weight: 500;
  color: var(--color-ink-primary);
}
.service-card__desc {
  font-size: var(--t-body);
  color: var(--color-ink-secondary);
}

/* Full service entries (services page) */
.service-entry {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.service-entry + .service-entry {
  border-top: 1px solid var(--color-border);
}
.service-entry__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 5vw, 64px);
}
.service-entry__ghost-num {
  font-family: var(--font-ui);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  /* watermark, not a competing element */
  color: #EDE8E3;
  letter-spacing: -0.03em;
}
.service-entry__name {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-5);
}
/* Big, outcome-led statement replacing feature lists */
.service-entry__statement {
  font-family: var(--font-heading);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-ink-primary);
  max-width: 40ch;
  margin-bottom: var(--sp-5);
}
.service-entry__desc {
  font-size: var(--t-body-lg);
  color: var(--color-ink-secondary);
  margin-bottom: var(--sp-6);
  max-width: 48ch;
}
.deliverables {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.deliverables li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--t-body);
  color: var(--color-ink-secondary);
}
.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
}
.service-entry__price {
  font-size: var(--t-body);
  color: var(--color-ink-tertiary);
  text-align: right;
}

/* ==========================================================================
   12. Process
   ========================================================================== */
.process {
  display: grid;
  /* steps and the hairline connectors alternate across one row */
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--gutter);
  margin-top: var(--sp-8);
}
.process-step {
  position: relative;
  padding-block: var(--sp-6);
}
.process-step__ghost {
  font-family: var(--font-ui);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  /* watermark, not a competing element */
  color: #EDE8E3;
  letter-spacing: -0.03em;
}
.process-step__name {
  font-size: var(--t-h3);
  font-weight: 500;
  margin-top: calc(var(--sp-6) * -1);
  position: relative;
  margin-bottom: var(--sp-4);
}
.process-step__desc {
  font-size: var(--t-body);
  color: var(--color-ink-secondary);
  max-width: 34ch;
}
/* connector line between steps */
.process-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 1px;
  margin-top: 40px;
}
.process-connector__line {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
html.js .process-connector__line {
  transform: scaleX(0);
}
.process-connector.is-visible .process-connector__line {
  transform: scaleX(1);
}
.process-connector__arrow {
  position: absolute;
  color: var(--color-ink-tertiary);
  font-size: 0.875rem;
  background: var(--color-bg);
  padding-inline: 4px;
}

/* ==========================================================================
   13. About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}
.about__photo img,
.about__photo .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) sepia(0.08);
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.about__copy p + p {
  margin-top: var(--sp-4);
}
.about__copy .body-lg {
  color: var(--color-ink-primary);
}
.pull-quote {
  margin-top: var(--sp-6);
  padding-left: var(--sp-5);
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-ink-tertiary);
}

/* ==========================================================================
   14. Contact
   ========================================================================== */
.contact {
  max-width: 640px;
  margin-inline: auto;
}
.contact__header {
  text-align: left;
  margin-bottom: var(--sp-8);
}
.contact__header .h1 {
  margin-block: var(--sp-4) var(--sp-4);
}

/* Booking block (Cal.com element-click popup) */
.booking-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}
.booking-cta .btn--charcoal {
  font-size: 1.0625rem;
  padding: 20px 32px;
}
.booking-cta__note {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  color: var(--color-ink-tertiary);
  letter-spacing: 0.04em;
}

.contact__secondary {
  margin-top: var(--sp-7);
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.copy-email {
  position: relative;
  font-size: var(--t-caption);
  color: var(--color-ink-secondary);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-in-out);
}
.copy-email:hover { color: var(--color-ink-primary); }
.copy-email__tooltip {
  position: absolute;
  top: -30px;
  left: 0;
  background: var(--color-ink-primary);
  color: var(--color-white);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-in-out),
              transform var(--dur-fast) var(--ease-in-out);
}
.copy-email.is-copied .copy-email__tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--sp-8);
}
/* Oversized statement wordmark: the name, once more, at scale */
.footer__wordmark {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--color-ink-primary);
  font-variation-settings: 'opsz' 144;
}
.footer__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}
.footer__nav {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer__nav a {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--color-ink-secondary);
  transition: color var(--dur-fast) var(--ease-in-out);
}
.footer__nav a:hover { color: var(--color-ink-primary); }
.footer__meta {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-tertiary);
  text-align: right;
}
.footer__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-in-out);
}
.footer__meta a:hover { color: var(--color-ink-primary); }
.footer__copy {
  margin-top: var(--sp-5);
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-tertiary);
}
@media (max-width: 600px) {
  .footer__top { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .footer__meta { text-align: left; }
}

/* ==========================================================================
   16. Case study template
   ========================================================================== */
.case-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.case-hero img,
.case-hero .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(37, 34, 32, 0.85) 100%);
}
.case-hero__caption {
  position: absolute;
  left: var(--section-padding-x);
  bottom: clamp(48px, 8vw, 96px);
  color: var(--color-white);
  z-index: 2;
}
.case-hero__client {
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-muted);
  margin-bottom: var(--sp-3);
}
.case-hero__title {
  font-size: var(--t-h1);
  color: var(--color-white);
}

.case-callout {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: var(--sp-6);
  border-radius: 0 4px 4px 0;
  font-size: var(--t-h3);
  font-weight: 500;
  color: var(--color-ink-primary);
  max-width: 60ch;
}

/* before/after slider */
.compare {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  --pos: 50%;
}
.compare__layer {
  position: absolute;
  inset: 0;
}
.compare__layer .placeholder { width: 100%; height: 100%; }
.compare__after {
  clip-path: inset(0 0 0 var(--pos));
}
.compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: var(--color-white);
  pointer-events: none;
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare__tag {
  position: absolute;
  bottom: 12px;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(37, 34, 32, 0.7);
  padding: 4px 10px;
  border-radius: 2px;
}
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; }

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.result-stat__num {
  font-family: var(--font-ui);
  font-size: var(--t-h1);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.result-stat__label {
  font-family: var(--font-ui);
}
.result-stat__label {
  margin-top: var(--sp-3);
  font-size: var(--t-body);
  color: var(--color-ink-secondary);
}

.next-project {
  display: block;
  padding-block: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--color-border);
  transition: background-color var(--dur-mid) var(--ease-in-out),
              color var(--dur-mid) var(--ease-in-out);
}
.next-project:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.next-project:hover .next-project__eyebrow {
  color: var(--color-accent-muted);
}
.next-project__eyebrow {
  color: var(--color-ink-tertiary);
  transition: color var(--dur-mid) var(--ease-in-out);
}
.next-project__title {
  font-size: var(--t-h1);
  margin-top: var(--sp-3);
  color: inherit;
}

/* ==========================================================================
   16b. Trust band · Testimonial · CTA band (sales components)
   ========================================================================== */
/* Stat strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  border-block: 1px solid var(--color-border);
  padding-block: clamp(32px, 5vw, 56px);
}
.trust__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.trust__num {
  font-family: var(--font-ui);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-ink-primary);
}
.trust__num .accent { color: var(--color-accent); }
.trust__label {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--color-ink-secondary);
}

/* Big testimonial */
.testimonial {
  max-width: 38rem;
}
.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-ink-primary);
  max-width: none;
}
.testimonial__quote .accent { color: var(--color-accent); }
.testimonial__cite {
  margin-top: var(--sp-5);
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--color-ink-tertiary);
  font-style: normal;
}
.testimonial__cite strong { color: var(--color-ink-secondary); font-weight: 500; }

/* Full-bleed dark CTA band */
.cta-band {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-radius: 4px;
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
}
.cta-band h2 {
  color: var(--color-white);
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}
.cta-band .eyebrow { color: var(--color-accent-muted); margin-bottom: var(--sp-4); }
.cta-band .btn--light {
  padding: 16px 36px;
  background: var(--color-white);
  color: var(--color-ink-primary);
}
.cta-band .btn--light:hover {
  background: var(--color-accent-muted);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   16c. Inline links · Showcase listing
   ========================================================================== */
/* In-copy links (e.g. "4Ys" mentions) */
.link-inline {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent-muted);
  transition: text-decoration-color var(--dur-fast) var(--ease-in-out);
}
.link-inline:hover {
  text-decoration-color: var(--color-accent);
}

/* Showcase listing cards */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.showcase-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow var(--dur-mid) var(--ease-in-out),
              border-color var(--dur-mid) var(--ease-in-out);
}
.showcase-card:hover {
  border-color: var(--color-ink-tertiary);
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
}
.showcase-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface);
}
.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.showcase-card:hover .showcase-card__media img {
  transform: scale(1.03);
}
.showcase-card__media .pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.showcase-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  justify-content: center;
  align-items: flex-start;
}
.showcase-card__title {
  font-size: var(--t-h3);
  letter-spacing: -0.015em;
}
.showcase-card__desc {
  font-size: var(--t-body);
  color: var(--color-ink-secondary);
}
.showcase-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.showcase-card__tags span {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px 10px;
}
.showcase-card__cta {
  margin-top: var(--sp-3);
}

/* ==========================================================================
   16d. Live-client panel (honest, image-light)
   Stands in for the real Danat screenshots until they are committed to
   /assets/images/showcase/. Reads as a brand panel, not a missing image.
   ========================================================================== */
.live-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(18px, 5%, 30px);
  background:
    radial-gradient(130% 150% at 82% 6%, #2b2723 0%, #16130f 62%, #100d0b 100%);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
/* faint oversized ring, a nod to the marina aesthetic */
.live-card::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -34%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 138, 0.16);
  z-index: -1;
}
.live-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.live-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.live-card__pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-muted);
  box-shadow: 0 0 0 3px rgba(212, 168, 138, 0.22);
}
.live-card__badge {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.live-card__wordmark {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--color-white);
}
.live-card__sub {
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
}
.live-card__stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--sp-4);
}
.live-card__stat strong {
  font-family: var(--font-ui);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-accent-muted);
  line-height: 1;
}
.live-card__stat span {
  font-family: var(--font-ui);
  font-size: var(--t-caption);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
/* Case-study hero: dark editorial panel in place of a hero screenshot */
.case-hero__panel {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 130% at 78% 0%, #2b2723 0%, #16130f 60%, #100d0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-hero__panel span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 9rem);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

/* Demo index tiles: each sample previewed in its own palette (no screenshots) */
.demo-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(18px, 5%, 30px);
  overflow: hidden;
}
.demo-thumb__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.demo-thumb__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.demo-thumb--veldara {
  background: radial-gradient(120% 120% at 72% 18%, #123049 0%, #04070d 72%);
  color: #fff;
}
.demo-thumb--veldara .demo-thumb__eyebrow { color: #6aa0cf; }
.demo-thumb--neural {
  background: #f2f2f4;
  color: #0b0b0b;
}
.demo-thumb--neural .demo-thumb__eyebrow { color: rgba(0, 0, 0, 0.5); }
.demo-thumb--fold {
  background: linear-gradient(135deg, #171717 0%, #050505 100%);
  color: #fff;
}
.demo-thumb--fold .demo-thumb__eyebrow { color: rgba(255, 255, 255, 0.6); }
.demo-thumb--lithos {
  background: radial-gradient(120% 120% at 30% 20%, #3a2417 0%, #0e0906 74%);
  color: #fff;
}
.demo-thumb--lithos .demo-thumb__eyebrow { color: #e8702a; }
.demo-thumb--lithos .demo-thumb__name { font-style: italic; }
.demo-thumb--synapsex {
  background: radial-gradient(120% 120% at 70% 30%, #2a2532 0%, #040406 72%);
  color: #fff;
}
.demo-thumb--synapsex .demo-thumb__eyebrow { color: #8e7f94; }
.demo-thumb--codenest {
  background: radial-gradient(130% 120% at 60% 40%, #0c2a22 0%, #050807 72%);
  color: #fff;
}
.demo-thumb--codenest .demo-thumb__eyebrow { color: #5ed29c; }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero__left { grid-column: span 12; }
  .hero__right { grid-column: span 12; margin-top: var(--sp-6); }
  .hero { padding-top: 140px; }

  .services-teaser { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: var(--sp-6); }
  .process-connector { display: none; }
  .process-step__name { margin-top: calc(var(--sp-7) * -1); }

  .service-entry__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .service-entry__price { text-align: left; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 340px; }

  .work-card,
  .work-card--reverse .work-card__media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .work-card__media { order: -1; }

  .results { grid-template-columns: 1fr; gap: var(--sp-6); }
  .trust { grid-template-columns: 1fr; gap: var(--sp-6); text-align: left; }
  .testimonial, .testimonial__quote { max-width: none; }
  .showcase-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
}

/* Column helpers collapse on small screens */
@media (max-width: 720px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   18. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__headline .word > span { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__lead, .hero__lead-close, .hero__cta { opacity: 1; }
  .scroll-indicator__dot { animation: none; opacity: 1; }
}
