/* Natasha Brooks — inspired by editorial studio layouts (Interiia-style) */

:root {
  --color-bg: #f6f2ea;
  --color-bg-alt: #ede8dc;
  --color-surface: #f6f2ea;
  --color-text: #111111;
  --color-text-muted: #4a4a4a;
  --color-accent: #2d3b2d;
  --color-accent-dark: #1a221a;
  --color-accent-soft: #d4ddd0;
  --color-border: rgba(17, 17, 17, 0.12);
  --color-highlight: #5c5348;

  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: clamp(3rem, 8vw, 5rem);
  --space-2xl: clamp(4rem, 12vw, 7rem);

  --max-width: 76rem;
  --header-height: 4.5rem;
  --radius: 0;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
}

h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

p {
  margin: 0 0 var(--space-md);
}

.lead {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 26rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 1.25rem, 90rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.site-header--overlay {
  color: #fff;
  border-bottom: 1px solid transparent;
}

.site-header--overlay.is-scrolled,
.site-header:not(.site-header--overlay) {
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(12px);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  opacity: 0.85;
}

.logo__img {
  height: clamp(2.35rem, 6.25vw, 3rem);
  width: auto;
  max-width: min(18rem, 78vw);
  object-fit: contain;
  object-position: left center;
}

.logo__img--light {
  display: none;
}

.site-header--overlay:not(.is-scrolled) .logo__img--dark {
  display: none;
}

.site-header--overlay:not(.is-scrolled) .logo__img--light {
  display: block;
  mix-blend-mode: screen;
}

.site-header--overlay.is-scrolled .logo__img--light,
.site-header:not(.site-header--overlay) .logo__img--light {
  display: none;
}

.site-header--overlay.is-scrolled .logo__img--dark,
.site-header:not(.site-header--overlay) .logo__img--dark {
  display: block;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition);
}

.site-header--overlay:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 1.25rem;
  margin-inline: auto;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  font-size: 0.9375rem;
}

.site-nav a[aria-current="page"] {
  opacity: 0.55;
}

@media (max-width: 767px) {
  .site-header {
    --header-height: 4.85rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 202;
    flex-shrink: 0;
  }

  .site-header:has(.site-nav.is-open) {
    z-index: 203;
    background: var(--color-bg);
    color: var(--color-text);
    border-bottom-color: var(--color-border);
  }

  .site-header:has(.site-nav.is-open) .logo__img--light {
    display: none;
  }

  .site-header:has(.site-nav.is-open) .logo__img--dark {
    display: block;
  }

  .site-header:has(.site-nav.is-open) .nav-toggle {
    border-color: var(--color-border);
    background: var(--color-bg-alt);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100svh - var(--header-height));
    z-index: 202;
    background: var(--color-bg);
    color: var(--color-text);
    transform: translateY(-0.75rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.35s ease,
      visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__inner {
    padding: var(--space-md) 0 calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
  }

  .site-nav__label {
    display: block;
    margin: 0 0 var(--space-sm);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--color-border);
  }

  .site-nav li {
    display: block;
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.35s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav.is-open li {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.is-open li:nth-child(1) {
    transition-delay: 0.06s;
  }

  .site-nav.is-open li:nth-child(2) {
    transition-delay: 0.11s;
  }

  .site-nav.is-open li:nth-child(3) {
    transition-delay: 0.16s;
  }

  .site-nav:not(.is-open) li {
    transition-delay: 0s;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 1.05rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.625rem, 5.5vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    opacity: 1;
  }

  .site-nav a::after {
    content: "→";
    font-size: 1.125rem;
    font-weight: 400;
    opacity: 0.35;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    opacity: 0.85;
    transform: translateX(3px);
  }

  .site-nav a[aria-current="page"] {
    color: var(--color-text-muted);
  }

  .site-nav a[aria-current="page"]::after {
    content: "—";
    opacity: 0.45;
    transform: none;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .site-nav {
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav:not(.is-open) {
    opacity: 0;
  }

  .site-nav li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    max-height: none;
    clip-path: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .site-nav__inner {
    pointer-events: auto;
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
    display: flex;
    justify-content: flex-end;
  }

  .site-nav__label {
    display: none;
  }

  .site-nav__inner {
    padding: 0;
  }

  .site-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2rem);
    border-top: none;
  }

  .site-nav li {
    border-bottom: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav a {
    display: inline;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    letter-spacing: 0;
  }

  .site-nav a::after {
    content: none;
  }
}

/* Text links (underline CTAs) */
.text-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  padding-top: var(--space-sm);
  border-top: 1px solid currentColor;
  margin-top: var(--space-sm);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: inherit;
}

.text-link:hover {
  opacity: 0.7;
}

.text-link--on-dark {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.85);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  opacity: 1;
  background: transparent;
  color: var(--color-text);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Editorial hero */
.hero-editorial {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.hero-editorial__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-editorial__media img,
.hero-editorial__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 14, 12, 0.55) 0%,
      rgba(12, 14, 12, 0.15) 32%,
      rgba(12, 14, 12, 0.35) 58%,
      rgba(12, 14, 12, 0.82) 100%
    ),
    linear-gradient(90deg, rgba(12, 14, 12, 0.65) 0%, transparent 55%);
}

.hero-editorial__body {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-xl);
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.hero-editorial__grid {
  display: grid;
  gap: var(--space-lg);
  width: 100%;
}

@media (min-width: 900px) {
  .hero-editorial__grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: var(--space-xl);
  }
}

.hero-editorial h1 {
  max-width: 11ch;
  margin-bottom: 0;
  color: #fff;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-editorial .lead {
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 0;
  text-shadow:
    0 1px 20px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-editorial .text-link {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-editorial .text-link--on-dark:hover,
.text-link--on-dark:hover {
  opacity: 0.85;
}

/* Inner page hero */
.page-hero {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero .lead {
  margin-bottom: 0;
  max-width: 40rem;
}

.page-hero h1 {
  max-width: 16ch;
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 36rem;
}

.section-header--row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: none;
}

@media (min-width: 768px) {
  .section-header--row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .section-header--row .lead {
    text-align: right;
    margin-bottom: 0;
  }
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-row__value {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-row__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Solarist-style scroll text reveal */
.story-reveal {
  position: relative;
}

.story-reveal__track {
  height: 165vh;
}

.story-reveal__sticky {
  position: sticky;
  top: 0;
  min-height: 72svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 0.75rem) 0 1rem;
  width: 100%;
}

.story-reveal__sticky > .container {
  width: 100%;
}

.story-reveal__copy {
  margin: 0 auto;
  max-width: 22em;
  text-align: center;
  font-size: clamp(1.75rem, 4.8vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.reveal-word {
  color: rgba(17, 17, 17, 0.2);
  transition: color 0.35s ease;
}

.reveal-word.is-lit {
  color: var(--color-text);
}

.reveal-pill {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.12em;
  width: clamp(2.75rem, 8vw, 4.25rem);
  height: clamp(1.65rem, 4.5vw, 2.35rem);
  border-radius: 0;
  overflow: hidden;
  transform: translateY(-0.08em);
  opacity: 0.35;
  transition: opacity 0.45s ease;
}

.reveal-pill.is-lit {
  opacity: 1;
}

.reveal-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .story-reveal__track {
    height: auto;
  }

  .story-reveal__sticky {
    position: relative;
    min-height: auto;
    padding: var(--space-md) 1.25rem;
  }

  .reveal-word {
    color: var(--color-text);
  }

  .reveal-pill {
    opacity: 1;
  }
}

/* Intro — Solarist-style feature split */
.intro-personal {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.intro-personal__layout {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .intro-personal__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}

.intro-personal__figure {
  margin: 0;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.intro-personal__figure img {
  width: 100%;
  max-width: 36rem;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .intro-personal__figure img {
    max-width: none;
  }
}

.intro-personal__content h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  max-width: 14ch;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.intro-personal__content p {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: var(--space-lg);
}

/* Home services showcase (Solarist-style) */
.services-showcase {
  margin-top: 0;
  padding-top: 0;
}

.services-showcase__heading {
  max-width: 16ch;
  margin-bottom: var(--space-lg);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
}

.services-showcase__layout {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
}

@media (min-width: 900px) {
  .services-showcase__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
    min-height: 28rem;
  }

  .services-feature {
    min-height: 100%;
    height: 100%;
  }

  .services-showcase__cards {
    height: 100%;
  }
}

.services-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(18rem, 52vw, 26rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.services-feature:hover {
  opacity: 1;
}

.services-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  z-index: 0;
}

.services-feature__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 10, 0.78) 0%,
    rgba(10, 12, 10, 0.35) 42%,
    rgba(10, 12, 10, 0.55) 100%
  );
}

.services-feature__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: var(--space-lg);
  min-height: 100%;
}

.services-feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.services-feature .text-link {
  align-self: flex-start;
  margin-top: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.services-showcase__cards {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .services-showcase__cards {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: var(--color-bg-alt);
  text-decoration: none;
  color: inherit;
  min-height: 10.5rem;
  transition: background var(--transition);
}

.service-tile:hover {
  opacity: 1;
  background: #e4dfd3;
}

.service-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-bg);
  color: var(--color-text);
}

.service-tile h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-tile p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.services-showcase__more {
  margin: var(--space-lg) 0 0;
}

/* Service stack (services page) */
.service-stack {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.service-stack li {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

@media (min-width: 768px) {
  .service-stack li {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
  }
}

.service-stack h3 {
  margin-bottom: 0;
}

.service-stack p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Belief / philosophy */
.belief-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .belief-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.belief-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.belief-grid p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Editorial projects */
.project-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.project-editorial {
  display: grid;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
}

.project-editorial:hover {
  opacity: 1;
}

.project-editorial:hover .project-editorial__img img {
  transform: scale(1.02);
}

@media (min-width: 900px) {
  .project-editorial {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
  }

  .project-editorial:nth-child(even) .project-editorial__img {
    order: 2;
  }
}

.project-editorial__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.project-editorial__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.project-editorial h3 {
  margin-bottom: var(--space-sm);
}

.project-editorial p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* Cards (inner pages) */
.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.card-body {
  padding: var(--space-md);
}

.card p:last-child {
  margin-bottom: 0;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.project-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-md) 0;
  font-size: 1.0625rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 var(--space-md);
  margin: 0;
  color: var(--color-text-muted);
  max-width: 40rem;
}

.faq-item p:last-child {
  padding-bottom: var(--space-md);
}

.faq-steps {
  list-style: none;
  counter-reset: faq-step;
  padding: 0 0 var(--space-md);
  margin: -0.35rem 0 0;
  max-width: 40rem;
}

.faq-steps li {
  counter-increment: faq-step;
  position: relative;
  padding-left: 2.25rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-steps li + li {
  margin-top: 0.65rem;
}

.faq-steps li::before {
  content: counter(faq-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.faq-item a {
  color: inherit;
}

.faq-cta {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .faq-cta {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.faq-cta__after {
  margin: var(--space-lg) 0 0;
}

.faq-cta__link--bottom {
  display: none;
}

@media (max-width: 767px) {
  .faq-cta__link--top {
    display: none;
  }

  .faq-cta__link--bottom {
    display: inline-block;
  }

  .faq-cta {
    margin-bottom: var(--space-md);
  }
}

/* Process */
.process-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.process-list li {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .process-list li {
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
  }
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.process-list h3 {
  margin-bottom: 0.35rem;
}

.process-list p {
  margin: 0;
  color: var(--color-text-muted);
}

.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.split img {
  width: 100%;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.pullquote {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--color-text);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
}

.contact-details li {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.contact-details strong {
  display: block;
  color: var(--color-text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

form {
  display: grid;
  gap: var(--space-md);
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--color-text);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.form-error {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #9a4545;
}

.form-error[hidden] {
  display: none;
}

/* Thank you page */
.thanks {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

.thanks__inner {
  max-width: 36rem;
}

.thanks__lead {
  max-width: 32rem;
  color: var(--color-text-muted);
}

.thanks__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
}

/* Footer */
.site-footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.footer-top {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo {
  display: block;
  height: clamp(2.25rem, 6vw, 3rem);
  width: auto;
  max-width: 14rem;
  margin: 0 0 var(--space-md);
  object-fit: contain;
  object-position: left center;
}

.footer-top h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.footer-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-top li {
  margin-bottom: 0.4rem;
}

.footer-top a {
  text-decoration: none;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
}

.cta-band {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0;
  text-align: left;
  color: #fff;
  overflow: hidden;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 22, 18, 0.82) 0%,
    rgba(20, 22, 18, 0.55) 45%,
    rgba(20, 22, 18, 0.35) 100%
  );
}

.cta-band__content {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 16ch;
  margin-bottom: var(--space-md);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin-bottom: var(--space-md);
}

.cta-band .text-link--on-dark {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.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;
}

main:not(.main--home) {
  padding-top: var(--header-height);
}

/* —— Mobile optimisation —— */
@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .section {
    padding: clamp(2rem, 8vw, var(--space-xl)) 0;
  }

  .section--tight {
    padding: clamp(1.5rem, 6vw, var(--space-lg)) 0;
  }

  .hero-editorial__body {
    padding-bottom: var(--space-lg);
  }

  .hero-editorial h1 {
    max-width: none;
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-editorial .lead {
    max-width: none;
  }

  .story-reveal__copy {
    max-width: 16em;
    font-size: clamp(1.875rem, 7.25vw, 2.35rem);
    line-height: 1.38;
  }

  .reveal-pill {
    width: clamp(3.25rem, 12vw, 4.75rem);
    height: clamp(2rem, 7vw, 2.75rem);
  }

  .story-reveal__track {
    height: 150vh;
  }

  .story-reveal__sticky {
    min-height: 88svh;
    padding-top: calc(var(--header-height) + var(--space-sm));
  }

  .services-showcase__heading,
  .intro-personal__content h2,
  .cta-band h2 {
    max-width: none;
  }

  .services-feature__title {
    max-width: none;
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  }

  .service-tile {
    min-height: auto;
  }

  .intro-personal {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
  }

  .intro-personal__layout {
    gap: var(--space-md);
  }

  .faq-cta {
    margin-bottom: var(--space-md);
  }

  .faq-item summary {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  .cta-band {
    padding: clamp(2.75rem, 10vw, 4rem) 0;
  }

  .cta-band h2 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .site-footer {
    padding-top: var(--space-xl);
    margin-top: var(--space-lg);
  }

  .footer-top {
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .page-hero {
    padding-bottom: var(--space-md);
  }

  .page-hero h1 {
    max-width: none;
  }

  .contact-grid {
    gap: var(--space-lg);
  }
}
