/* ==========================================================================
   Arcwell — growth marketing agency template
   by Orbit Studio · https://orbit.studio

   1. Tokens        6. Home sections
   2. Base          7. About sections
   3. Layout        8. CTA & footer
   4. UI kit        9. Motion pre-states
   5. Navigation   10. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Colour */
  --paper: #f4f2ec;
  --sand: #ece9e1;
  --white: #ffffff;
  --ink: #111312;
  --moss: #1f3b2d;
  --moss-deep: #162a20;
  --moss-soft: #2e4a3c;
  --moss-mid: #5c7e6b;
  --lime: #c8f169;
  --lime-tint: #f1f7e4;
  --muted: #5e6460;
  --muted-dark: #a9b5ad;
  --line: #dedad0;
  --line-dark: #2e4a3c;
  --footer-muted: #8c958f;
  --footer-line: #262a28;

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 7vw, 96px);
  --radius: 20px;
  --radius-lg: 28px;

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

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

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

.section--moss {
  background: var(--moss);
  color: var(--paper);
}

.section--deep {
  background: var(--moss-deep);
  color: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.11;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 4.5vw, 64px);
}

.section-head__title {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 757px;
}

.section-head__intro {
  max-width: 413px;
  color: var(--muted);
}

.section--moss .section-head__intro,
.section--deep .section-head__intro {
  color: var(--muted-dark);
}

/* 4. UI kit ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

.eyebrow--dark {
  color: var(--muted-dark);
}

.eyebrow--dark .eyebrow__dot {
  background: var(--lime);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: var(--mark, 32px);
  height: var(--mark, 32px);
  border-radius: 10px;
  background: var(--ink);
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo__arc,
.logo__dot {
  fill: var(--lime);
}

.logo__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo--light .logo__mark {
  background: var(--lime);
}

.logo--light .logo__arc,
.logo--light .logo__dot {
  fill: var(--ink);
}

.logo--light .logo__word {
  color: var(--paper);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn__label {
  padding-block: 8px;
}

.btn__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.btn__badge svg {
  transition: transform 0.5s var(--ease);
}

.btn:hover .btn__badge svg {
  transform: rotate(45deg);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.btn--lime .btn__badge {
  background: var(--ink);
  color: var(--lime);
}

.btn--lime:hover {
  box-shadow: 0 10px 30px -12px rgba(124, 160, 50, 0.7);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink .btn__badge {
  background: var(--lime);
  color: var(--ink);
}

.btn--ghost {
  gap: 10px;
  padding: 15px 24px;
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* The label padding matches the badge height; ghost buttons have no badge */
.btn--ghost .btn__label {
  padding-block: 0;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn__icon {
  transition: transform 0.5s var(--ease);
}

.btn--ghost:hover .btn__icon {
  transform: translate(2px, -2px);
}

/* Text link */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
}

.text-link::before,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}

.text-link::after {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.text-link:hover::before {
  opacity: 0.3;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link svg {
  transition: transform 0.5s var(--ease);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.text-link--lime {
  color: var(--lime);
}

/* Pills & tags */
.pill {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.pill--dark {
  color: var(--muted-dark);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.pill--moss {
  padding: 6px 12px;
  background: var(--moss);
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-dark);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.tags--light li {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Round arrow buttons */
.round-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.round-btn:hover {
  background: var(--moss-soft);
}

.round-btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}

.round-btn--lime:hover {
  background: #d6f78a;
}

.round-btn:active {
  transform: scale(0.94);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stats__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 32px;
  border-left: 1px solid var(--line);
}

.stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stats__label {
  font-size: 15px;
  color: var(--muted);
}

/* Accordion (Services = dark, FAQ = light) */
.accordion {
  border-top: 1px solid var(--line);
}

.acc {
  border-bottom: 1px solid var(--line);
}

.acc__head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
}

.acc__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.acc__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s;
}

.acc__toggle svg {
  transition: transform 0.5s var(--ease);
}

.acc.is-open .acc__toggle {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.acc.is-open .acc__toggle svg {
  transform: rotate(45deg);
}

.acc__panel {
  height: 0;
  overflow: hidden;
}

.acc.is-open .acc__panel {
  height: auto;
}

.acc__inner {
  padding-bottom: 26px;
  color: var(--muted);
}

.accordion--dark {
  border-color: var(--line-dark);
}

.accordion--dark .acc {
  border-color: var(--line-dark);
}

.accordion--dark .acc__head {
  padding: 28px 0;
}

.accordion--dark .acc__num {
  width: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-dark);
}

.accordion--dark .acc__title {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.accordion--dark .acc.is-open .acc__title,
.accordion--dark .acc__head:hover .acc__title {
  color: var(--lime);
}

.accordion--dark .acc__toggle {
  width: 44px;
  height: 44px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.accordion--dark .acc.is-open .acc__toggle {
  background: var(--lime);
  color: var(--ink);
}

.accordion--dark .acc__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 68px 28px 56px;
  color: var(--muted-dark);
}

/* People */
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--muted);
}

.person strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.person__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--line);
}

/* Placeholder client logos */
.client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #8e938f;
  white-space: nowrap;
}

.client--grotesk {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.client--serif,
.client--serif-italic {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.client--serif-italic {
  font-style: italic;
}

.client--rounded {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 18px;
}

.client--geometric {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 5. Navigation ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.6s var(--ease);
}

.nav.is-hidden {
  transform: translateY(calc(-100% - 24px));
}

.nav__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(var(--container), 100% - var(--gutter) * 2);
  height: 72px;
  margin-inline: auto;
  padding: 0 10px 0 28px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 19, 18, 0.04), 0 12px 40px -24px rgba(17, 19, 18, 0.35);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}

.nav__link:hover,
.nav__link.is-current {
  color: var(--ink);
}

.nav__link.is-current {
  font-weight: 600;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--moss);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.nav__link.is-current::after,
.nav__link:hover::after {
  transform: scale(1);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
}

.nav__toggle span {
  position: absolute;
  left: 17px;
  right: 17px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.nav__toggle span:first-child { top: 22px; }
.nav__toggle span:last-child { top: 29px; }

.menu-open .nav__toggle span:first-child,
.menu-open .nav__toggle span:last-child {
  top: 25.5px;
}

.menu-open .nav__toggle span:first-child { transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 128px var(--gutter) 40px;
  background: var(--moss);
  color: var(--paper);
  clip-path: circle(0 at calc(100% - var(--gutter) - 26px) 52px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}

.menu-open .menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 26px) 52px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io), visibility 0s;
}

.menu__links a {
  display: block;
  overflow: hidden;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.menu__links span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
  transition-delay: calc(0.2s + var(--i) * 0.06s);
}

.menu-open .menu__links span {
  transform: none;
}

.menu__links a:hover span {
  color: var(--lime);
}

.menu__cta {
  align-self: flex-start;
  opacity: 0;
  transition: opacity 0.5s 0.5s;
}

.menu-open .menu__cta {
  opacity: 1;
}

/* 6. Home sections --------------------------------------------------------- */

/* Hero */
.hero {
  padding: 104px 0 64px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: clamp(56px, 7vw, 96px) 0 64px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.4vw, 96px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero__line {
  display: block;
}

/* Mask for the line reveal: extra room so ascenders, descenders and the swash aren't clipped */
.hero__mask {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.12em 0.2em;
  margin: -0.06em -0.12em -0.2em;
}

.hero__mask.is-open {
  overflow: visible;
}

.hero__highlight {
  position: relative;
  display: inline-block;
}

.hero__highlight-text {
  position: relative;
  z-index: 1;
}

.hero__swash {
  position: absolute;
  left: -2%;
  bottom: -0.02em;
  z-index: 0;
  width: 104%;
  height: 0.36em;
  overflow: visible;
}

.hero__swash path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 14;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero__sub {
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 12px;
}

.hero__media {
  position: relative;
  aspect-ratio: 1280 / 560;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  transform-origin: center top;
}

.hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kpi {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 40px -24px rgba(17, 19, 18, 0.45);
}

.kpi--1 { left: 3.1%; bottom: 7.5%; }
.kpi--2 { right: 3.1%; top: 8.6%; }
.kpi--3 { right: 4.7%; bottom: 7.5%; }

.kpi__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.kpi__caption {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.kpi__spark {
  width: 64px;
  height: 32px;
  border-radius: 8px;
  background: var(--lime-tint);
  overflow: visible;
}

.kpi__area {
  fill: rgba(200, 241, 105, 0.6);
}

.kpi__line {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Logo marquee */
.marquee {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
}

.marquee__label {
  flex: none;
  font-size: 14px;
  color: var(--muted);
}

.marquee__viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  padding-right: 64px;
  will-change: transform;
}

/* About intro */
.about-intro__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: clamp(56px, 6.6vw, 96px);
}

.about-intro__statement {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 757px;
}

.about-intro__story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 413px;
  color: var(--muted);
}

/* Services */
.services__body {
  display: grid;
  grid-template-columns: 522fr 734fr;
  gap: 24px;
  align-items: start;
}

.services__media {
  position: sticky;
  top: 112px;
  aspect-ratio: 522 / 620;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--moss-deep);
}

.services__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.services__img.is-active {
  opacity: 1;
}

.services__chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(22, 42, 32, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
}

.services__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* Process */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Connector between two icons — fills as you scroll (--p: 0 → 1, set by main.js) */
.step__line {
  --p: 0;
  position: absolute;
  top: 31px;
  left: 80px;
  right: -8px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

.step__fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--moss);
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}

/* Leading dot — only visible while the segment is filling */
.step__dot {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px var(--moss);
  opacity: calc(min(var(--p) * 25, 1) * min((1 - var(--p)) * 25, 1));
}

html:not(.js) .step__line {
  --p: 1;
}

html:not(.js) .step .step__icon {
  background: var(--lime);
  box-shadow: inset 0 0 0 1px var(--lime);
}

html:not(.js) .step .step__duration {
  background: var(--lime);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--moss);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}

.step.is-reached .step__icon {
  background: var(--lime);
  box-shadow: inset 0 0 0 1px var(--lime);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.step__duration {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9e6de;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  white-space: nowrap;
  transition: background-color 0.4s;
}

.step.is-reached .step__duration {
  background: var(--lime);
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Results slider */
.results {
  overflow: hidden;
}

.results__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.results__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.results__counter {
  margin-right: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.results__total {
  color: #5e7a6b;
}

.results__viewport {
  padding-left: max(var(--gutter), (100% - var(--container)) / 2);
  cursor: grab;
  touch-action: pan-y;
}

.results__viewport.is-dragging {
  cursor: grabbing;
}

.results__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.case {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1160px, 86vw);
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--moss);
  user-select: none;
}

.case__image {
  overflow: hidden;
}

.case__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.case__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4vw, 56px);
}

.case__client {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.case__client h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.case__metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case__value {
  font-family: var(--font-display);
  font-size: clamp(72px, 8.4vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.case__caption {
  font-weight: 500;
}

.case__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  color: var(--muted-dark);
}

.results__progress {
  position: relative;
  height: 2px;
  margin-top: 56px;
  background: var(--line-dark);
}

.results__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--lime);
  transition: width 0.6s var(--ease);
}

/* Features bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento__card--dash { grid-column: span 8; }
.bento__col { grid-column: span 4; display: grid; gap: 24px; }
.bento__card--row { grid-column: span 6; }

.bento__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
}

.bento__card--dash {
  background: var(--moss-deep);
  color: var(--paper);
}

.bento__card--row {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento__card--row .bento__text {
  max-width: 240px;
}

.bento__text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bento__text p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.bento__card--dash .bento__text p {
  color: var(--muted-dark);
}

.dash {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: 14px;
  background: var(--moss);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.dash__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 241, 105, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
}

.dash__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.3; }
}

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dash__kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  font-size: 12px;
  color: var(--muted-dark);
}

.dash__kpi strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.dash__kpi em {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--lime);
}

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 200px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}

.dash__bar {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: var(--moss-soft);
  transform-origin: bottom;
}

.dash__bar.is-mid { background: var(--moss-mid); }
.dash__bar.is-hot { background: var(--lime); }

.dash__bar i {
  position: absolute;
  left: 50%;
  bottom: -22px;
  font-size: 11px;
  font-style: normal;
  color: var(--muted-dark);
  transform: translateX(-50%);
}

.report {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: var(--paper);
}

.report__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
}

.report__head strong {
  flex: 1;
  font-weight: 600;
}

.report__head span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--moss);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--lime);
}

.report__line {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  transform-origin: left;
}

.report__line--short {
  width: 70%;
}

.report__win {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.report__win svg {
  color: var(--moss);
}

.ab {
  display: flex;
  gap: 12px;
}

.ab__variant {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ab__variant.is-winner {
  box-shadow: inset 0 0 0 1.5px var(--moss);
}

.ab__thumb {
  flex: none;
  width: 44px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--line), var(--muted-dark));
}

.ab__thumb--1 {
  background: linear-gradient(180deg, var(--lime), var(--moss));
}

.ab__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ab__meta strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.ab__badge {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.crew {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crew__avatars {
  display: flex;
}

.crew__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-left: -14px;
  border-radius: 50%;
  border: 3px solid var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.crew__avatar:first-child { margin-left: 0; }
.crew__avatar--0 { background: var(--moss); }
.crew__avatar--1 { background: #3d5c4b; }
.crew__avatar--2 { background: #6b8577; }
.crew__avatar--3 { background: var(--muted-dark); color: var(--ink); }
.crew__avatar--more { background: var(--lime); color: var(--ink); font-size: 17px; }

.price {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 250px;
  padding: 20px;
  border-radius: 16px;
  background: var(--paper);
}

.price__plan {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price__amount strong {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price__amount span {
  font-size: 13px;
  color: var(--muted);
}

.price__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.price__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price__check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
}

/* Testimonials */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.rating strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.rating__stars {
  display: inline-flex;
  gap: 3px;
  color: #e3a64a;
}

.quotes {
  display: grid;
  grid-template-columns: 757fr 499fr;
  gap: 24px;
}

.quotes__stack {
  display: grid;
  gap: 24px;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
}

.quote__icon {
  color: var(--moss);
}

.quote blockquote {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.quote--featured {
  position: relative;
  min-height: 600px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--moss);
  color: var(--paper);
}

.quote--featured .quote__icon {
  position: relative;
  color: var(--lime);
}

.quote--featured blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.quote__arc {
  position: absolute;
  right: -100px;
  bottom: -40px;
  width: 520px;
  fill: var(--moss-soft);
  opacity: 0.7;
}

.quote__footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.quote--featured .person strong {
  color: var(--paper);
}

.quote--featured .person > span:last-child {
  color: var(--muted-dark);
}

.quote--featured .person__avatar {
  width: 52px;
  height: 52px;
  background: #3d5c4b;
}

.client--onmoss {
  color: var(--muted-dark);
}

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

.faq__grid {
  display: grid;
  grid-template-columns: 413fr 85fr 734fr;
  gap: 24px;
}

.faq__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--muted);
}

.faq__intro .h2 {
  color: var(--ink);
}

.faq .accordion {
  grid-column: 3;
}

/* Insights */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.article__image {
  display: block;
  width: 100%;
  aspect-ratio: 411 / 308;
  margin-bottom: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.article__link:hover .article__image img {
  transform: scale(1.04);
}

.article__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.article__arrow {
  display: inline-block;
  vertical-align: -2px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.5s var(--ease);
}

.article__link:hover .article__arrow {
  opacity: 1;
  transform: none;
}

.article__meta {
  font-size: 14px;
  color: var(--muted);
}

/* 7. About sections -------------------------------------------------------- */

/* Page hero */
.page-hero {
  padding: 104px 0 var(--section);
}

.page-hero__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding: 56px 0 64px;
}

.page-hero__title {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs span {
  font-weight: 500;
  color: var(--ink);
}

.page-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.8vw, 88px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 330px;
  padding-bottom: 10px;
  color: var(--muted);
}

.page-hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.collage {
  display: grid;
  grid-template-columns: 851fr 405fr;
  gap: 24px;
  height: clamp(420px, 42vw, 540px);
}

.collage__main,
.collage__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.collage__side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  min-height: 0;
}

.collage__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--moss-deep);
}

.collage__card strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.collage__card span {
  font-size: 15px;
  line-height: 1.5;
}

/* Mission */
.mission {
  border-top: 1px solid var(--line);
}

.mission__statement {
  display: grid;
  grid-template-columns: 302fr 978fr;
  gap: 24px;
  margin-bottom: 80px;
}

.mission__text {
  line-height: 1.2;
}

.mission__muted {
  display: block;
  margin-top: 12px;
  color: #a3a79f;
}

/* Story */
.milestones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.milestones__track {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-dark);
}

.milestones__track span {
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}

.milestone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.milestone__year {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.milestone.is-now .milestone__year {
  color: var(--lime);
}

.milestone__dot {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 12px 0 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--moss);
}

.milestone.is-now .milestone__dot {
  background: var(--lime);
}

.milestone.is-now .milestone__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: ring 2s var(--ease) infinite;
}

@keyframes ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.milestone h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.milestone p {
  font-size: 14px;
  line-height: 1.57;
  color: var(--muted-dark);
}

/* Principles */
.principles__grid {
  display: grid;
  grid-template-columns: 413fr 85fr 734fr;
  gap: 24px;
  align-items: start;
}

.principles__head {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--muted);
}

.principles__head .h3 {
  color: var(--ink);
}

.principles__list {
  grid-column: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-top: 1px solid var(--line);
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}

.principle__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--moss);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  transition: background-color 0.4s, color 0.4s;
}

.principle__num.is-lime {
  background: var(--lime);
  color: var(--ink);
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.principle p {
  color: var(--muted);
}

/* Team */
.team__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 413px;
  color: var(--muted);
}

.members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.member {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.member__photo {
  aspect-ratio: 302 / 378;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.02);
  transition: transform 1s var(--ease), filter 0.6s;
}

.member:hover .member__photo img {
  transform: scale(1.04);
  filter: none;
}

.member__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.member h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.member p {
  font-size: 14px;
  color: var(--muted);
}

.member__social {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, color 0.3s;
}

.member__social:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Comparison */
.comparison__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  text-align: center;
}

.compare {
  position: relative;
  width: min(1060px, 100%);
  margin-inline: auto;
}

.compare__us-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 700px);
  width: 360px;
  border-radius: 20px;
  background: var(--moss);
}

.compare table {
  position: relative;
  width: 100%;
}

.compare th,
.compare td {
  padding: 22px 28px;
  text-align: left;
  font-size: 15px;
  vertical-align: middle;
}

.compare thead td,
.compare thead th {
  padding-top: 28px;
}

.compare tbody th {
  padding-left: 0;
  font-weight: 500;
  color: var(--muted);
}

.compare tbody tr {
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child {
  border-bottom: 0;
}

.compare .compare__us {
  width: 360px;
  color: var(--paper);
  font-weight: 500;
}

.compare tbody .compare__us {
  border-bottom: 1px solid var(--line-dark);
}

.compare tbody tr:last-child .compare__us {
  padding-bottom: 28px;
  border-bottom: 0;
}

.compare .compare__them {
  width: 340px;
  color: var(--muted);
}

.compare thead .compare__them {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.compare__mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  vertical-align: -6px;
}

.compare__mark--yes {
  background: var(--lime);
  color: var(--ink);
}

/* Careers */
.careers__grid {
  display: grid;
  grid-template-columns: 522fr 24fr 734fr;
  align-items: start;
}

.careers__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--muted-dark);
}

.careers__intro .h3 {
  color: var(--paper);
}

.roles {
  grid-column: 3;
  border-top: 1px solid var(--line-dark);
}

.roles li {
  border-bottom: 1px solid var(--line-dark);
}

.role {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.role__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--muted-dark);
}

.role__text strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
  transition: color 0.3s;
}

.role:hover .role__text strong {
  color: var(--lime);
}

.role__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s;
}

.role__arrow svg {
  transition: transform 0.5s var(--ease);
}

.role:hover .role__arrow {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}

.role:hover .role__arrow svg {
  transform: rotate(45deg);
}

/* 7b. Services sections ----------------------------------------------------- */

/* Centered section head (Process & Pricing on Services) */
.section-head.section-head--center {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.section-head--center .section-head__title {
  align-items: center;
  max-width: none;
}

.section-head--center .section-head__intro {
  max-width: 520px;
}

/* Page hero */
.svc-hero__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding-top: 40px;
}

.svc-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 757px;
}

.svc-hero__h1 {
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 1.04;
}

.svc-hero__mark {
  position: relative;
  display: inline-block;
}

.svc-hero__marker {
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.1em;
  height: 0.33em;
  border-radius: 6px;
  background: var(--lime);
  transform-origin: left;
}

.svc-hero__mark-text {
  position: relative;
}

.svc-hero__sub {
  max-width: 560px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* Service index (dark card) */
.svc-index {
  flex: none;
  width: min(413px, 100%);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--moss);
  color: var(--paper);
}

.svc-index__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.svc-index__head strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--lime);
}

.svc-index__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.svc-index__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-dark);
  font-variant-numeric: tabular-nums;
}

.svc-index__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.svc-index__link svg {
  margin-left: auto;
  color: var(--muted-dark);
  transition: transform 0.5s var(--ease), color 0.3s;
}

.svc-index__link:hover .svc-index__name,
.svc-index__link.is-active .svc-index__name {
  color: var(--lime);
}

.svc-index__link:hover svg,
.svc-index__link.is-active svg {
  color: var(--lime);
}

.svc-index__link:hover svg {
  transform: translate(2px, 2px);
}

/* Platforms row */
.svc-platforms {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.tags--line {
  justify-content: flex-end;
}

.tags--line li {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Practices */
.practices__head {
  padding-top: var(--section);
}

.practices__head .section-head {
  margin-bottom: 32px;
}

.practice {
  padding: 64px 0;
}

.practice__block {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5.5vw, 80px);
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.practice--flip .practice__media {
  order: 2;
}

.practice__media {
  position: relative;
  flex: none;
  width: min(580px, 45%);
  aspect-ratio: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}

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

.practice__kpi {
  left: 24px;
  bottom: 24px;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(17, 19, 18, 0.14);
}

.practice__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
}

.practice__title {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
}

.practice__lead {
  max-width: 620px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

.practice__included,
.practice__proof {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 620px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.practice__proof {
  gap: 20px;
}

.practice__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.practice__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.practice__stat {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.practice__stat span {
  max-width: 240px;
}

.practice__stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Checklists (practices + pricing) */
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checks__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--lime);
}

/* Dark practice */
.practice--dark {
  padding: var(--section) 0;
  background: var(--moss);
  color: var(--paper);
}

.practice--dark .practice__block {
  padding-top: 0;
  border-top: 0;
}

.practice--dark .practice__title {
  color: var(--lime);
}

.practice--dark .practice__lead,
.practice--dark .practice__label,
.practice--dark .practice__stat {
  color: var(--muted-dark);
}

.practice--dark .practice__included,
.practice--dark .practice__proof {
  border-color: var(--line-dark);
}

.practice--dark .practice__stat-value {
  color: var(--paper);
}

.practice--dark .checks__icon {
  background: var(--lime);
  color: var(--moss);
}

/* The block after the dark one doesn't need its own top rule */
.practice--dark + .practice .practice__block {
  border-top: 0;
}

/* Process on Services sits under a hairline */
.practices + .process {
  border-top: 1px solid var(--line);
}

/* Pricing */
.pricing .section-head {
  margin-bottom: 56px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(17, 19, 18, 0.35);
}

.tier__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tier__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tier__badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.tier__desc {
  margin-top: -12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.tier__price strong {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tier__features {
  gap: 14px;
}

.tier__cta {
  justify-content: center;
  margin-top: auto;
}

.tier--featured {
  background: var(--moss);
  color: var(--paper);
}

.tier--featured .tier__desc,
.tier--featured .tier__price {
  color: var(--muted-dark);
}

.tier--featured .tier__price {
  border-color: var(--line-dark);
}

.tier--featured .tier__price strong {
  color: var(--lime);
}

.tier--featured .checks__icon {
  background: var(--lime);
  color: var(--moss);
}

.tier--featured .tier__cta {
  justify-content: space-between;
}

.pricing__note {
  margin-top: 40px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

/* Proof */
.proof__grid {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.proof__head {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: min(413px, 100%);
}

.proof__metrics {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.proof__metric {
  position: relative;
  padding: 8px 0 8px 32px;
}

/* Divider drawn as a pseudo-element so it can animate top → bottom */
.proof__metric::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--line-dark);
  transform-origin: top;
  transform: scaleY(var(--draw, 1));
}

.proof__metric dd {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proof__value {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.proof__caption {
  font-weight: 500;
}

.proof__meta {
  margin-top: -4px;
  font-size: 13px;
  color: var(--muted-dark);
}

/* 7c. Work sections --------------------------------------------------------- */

/* Page hero */
.work-hero {
  padding-bottom: 24px;
}

.work-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 0 64px;
}

.work-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.work-hero__h1 {
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 1.02;
}

.work-hero__body {
  max-width: 360px;
  padding-bottom: 10px;
  color: var(--muted);
}

.work-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.work-stats__item {
  padding: 8px 32px;
  border-left: 1px solid var(--line);
}

.work-stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.work-stats dd {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.work-stats__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Filter bar */
.work {
  padding: 24px 0 var(--section);
}

.work-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.work-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Sliding background behind the active filter (positioned by main.js) */
.work-filters__pill {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: var(--ink);
  pointer-events: none;
}

.work-filter {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.3s, box-shadow 0.3s;
}

.work-filter span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.3s;
}

.work-filter:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.work-filter.is-active {
  color: var(--paper);
  box-shadow: none;
}

.work-filter.is-active span {
  color: var(--lime);
}

/* Without the sliding pill (no JS), the active filter fills itself */
html:not(.has-pill) .work-filter.is-active {
  background: var(--ink);
}

.work-sort {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.work-sort select {
  appearance: none;
  padding-right: 22px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.work-sort svg {
  position: absolute;
  right: 14px;
  pointer-events: none;
}

/* Featured case */
.work-featured-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 56px 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 42vw, 600px);
  border-radius: var(--radius-lg);
  background: var(--moss);
  color: var(--paper);
  overflow: hidden;
}

.featured-case__media {
  overflow: hidden;
}

.featured-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-case__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 3.9vw, 56px);
}

.featured-case__client {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.featured-case__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.featured-case__metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.featured-case__value {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.4vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.featured-case__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  color: var(--muted-dark);
}

/* Case grid: two columns, the second starts lower */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 40px;
}

.case-grid__col {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.case-grid__col--offset {
  padding-top: 120px;
}

.case-card[hidden],
.featured-case[hidden],
.work-featured-label[hidden],
.work-more [hidden] {
  display: none;
}

.case-card__link {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-card__media {
  aspect-ratio: 628 / 440;
  border-radius: 24px;
  overflow: hidden;
  background: #cfd6cc;
}

.case-card.is-tall .case-card__media {
  aspect-ratio: 628 / 520;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.case-card__link:hover .case-card__media img {
  transform: scale(1.04);
}

.case-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.case-card__meta > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-card__meta strong {
  font-weight: 600;
  color: var(--ink);
}

.case-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.case-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -0.03em;
  text-wrap: balance;
  transition: transform 0.5s var(--ease);
}

.case-card__link:hover .case-card__title {
  transform: translateX(6px);
}

.case-card__metrics {
  display: flex;
  gap: 40px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-card__metrics dd {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.case-card__metrics strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--moss);
}

.work-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

.work-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 72px;
  font-size: 14px;
  color: var(--muted);
}

/* Client quote */
.quote-band {
  position: relative;
  padding: 120px 0;
  background: var(--moss);
  color: var(--paper);
  overflow: hidden;
}

.quote-band__arc {
  position: absolute;
  top: calc(100% - 160px);
  left: 50%;
  width: 600px;
  aspect-ratio: 1;
  margin-left: -300px;
  border-radius: 50%;
  border: 1.2px solid var(--moss-soft);
}

.quote-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-block: 0;
  text-align: center;
}

.quote-band__icon {
  color: var(--lime);
}

.quote-band__text {
  max-width: 1080px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.quote-band__person {
  gap: 14px;
  text-align: left;
}

.quote-band__person .person__avatar {
  width: 48px;
  height: 48px;
  background: #3d5c4b;
}

.quote-band__person strong {
  font-size: 16px;
  color: var(--paper);
}

.quote-band__person > span:last-child {
  color: var(--muted-dark);
}

/* Client wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-wall__cell {
  display: grid;
  place-items: center;
  height: 140px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s;
}

.logo-wall .client {
  font-size: 19px;
  transition: color 0.4s;
}

.logo-wall__cell:hover {
  background: var(--white);
}

.logo-wall__cell:hover .client {
  color: var(--ink);
}

/* 7d. Contact sections ------------------------------------------------------ */

/* Hero: intro + form */
.contact-hero {
  padding-bottom: var(--section);
}

.contact-hero__grid {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
}

.contact-hero__intro {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 522px;
  padding: 16px 40px 0 0;
}

.contact-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.contact-hero__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-hero__response {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.contact-hero__response span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fae5a;
  box-shadow: 0 0 0 0 rgba(63, 174, 90, 0.5);
  animation: live-dot 2.4s ease-out infinite;
}

@keyframes live-dot {
  70% { box-shadow: 0 0 0 7px rgba(63, 174, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 174, 90, 0); }
}

.methods {
  width: 100%;
  padding-top: 16px;
}

.method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.method__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--moss);
  color: var(--lime);
}

.method__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.method__text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.method__text strong {
  font-weight: 500;
}

.method__arrow {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.5s var(--ease), color 0.3s;
}

.method:hover .method__arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

/* Form card */
.contact-hero__form {
  flex: 1;
  min-width: 0;
}

.enquiry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 48px rgba(17, 19, 18, 0.06);
}

.enquiry__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.enquiry__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.enquiry__sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.enquiry__badge {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  color: var(--moss);
}

.enquiry__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

fieldset.field .field__label {
  margin-bottom: 4px;
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.field__input::placeholder {
  color: #8e938f;
}

.field__input:focus {
  border-color: var(--moss);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.7);
}

.field__input--area {
  height: 120px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}

.field.is-invalid .field__input {
  border-color: #c4553a;
}

/* Service chips (checkboxes) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.chip:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.chip input,
.segment__option input,
.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip__check {
  display: none;
  color: var(--lime);
}

.chip:has(input:checked) {
  background: var(--moss);
  color: var(--paper);
  box-shadow: none;
}

.chip:has(input:checked) .chip__check {
  display: inline-flex;
}

.chip:has(input:focus-visible),
.segment__option:has(input:focus-visible),
.consent:has(input:focus-visible) .consent__box {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

/* Budget segment (radios) */
.segment {
  position: relative;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.segment__pill {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: var(--ink);
  pointer-events: none;
}

.segment__option {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s;
}

.segment__option:has(input:checked) {
  color: var(--paper);
}

/* Without the sliding pill (no JS), the checked option fills itself */
html:not(.has-segment) .segment__option:has(input:checked) {
  background: var(--ink);
}

/* Consent + submit */
.enquiry__foot {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.consent {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.consent__box {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px #c9c4b8;
  color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

.consent:has(input:checked) .consent__box {
  background: var(--moss);
  box-shadow: none;
  color: var(--lime);
}

.consent.is-invalid .consent__box {
  box-shadow: inset 0 0 0 1px #c4553a;
}

.enquiry__submit {
  justify-content: space-between;
  width: 100%;
  padding: 10px 10px 10px 24px;
  font-size: 16px;
}

.enquiry__submit .btn__badge {
  position: relative;
}

.spinner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(200, 241, 105, 0.3);
  border-top-color: var(--lime);
  border-radius: 50%;
  opacity: 0;
}

.enquiry__submit.is-sending {
  pointer-events: none;
}

.enquiry__submit.is-sending .btn__badge svg {
  opacity: 0;
}

.enquiry__submit.is-sending .spinner {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.enquiry__error {
  font-size: 13px;
  color: #b3462f;
}

.enquiry__error:empty {
  display: none;
}

/* Thanks state (replaces the form fields) */
.enquiry.is-sent {
  justify-content: center;
}

.enquiry.is-sent > :not(.enquiry__thanks) {
  display: none;
}

.enquiry__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 72px 0;
  text-align: center;
  color: var(--muted);
  outline: none;
}

.enquiry__thanks[hidden] {
  display: none;
}

.enquiry__thanks .enquiry__title {
  color: var(--ink);
}

.enquiry__thanks-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--moss);
}

/* What happens next */
.next-steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.next-step {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px;
  border-radius: var(--radius);
  background: #244534;
}

.next-step.is-current {
  background: var(--moss-deep);
}

.next-step__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.next-step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--lime);
}

.next-step.is-current .next-step__icon {
  background: var(--lime);
  box-shadow: none;
  color: var(--ink);
}

.next-step__when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.next-step__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.next-step h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.next-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-dark);
}

/* Studio */
.studio__grid {
  display: grid;
  grid-template-columns: 757fr 499fr;
  gap: 24px;
  height: clamp(440px, 36vw, 520px);
}

.studio__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2ded3;
}

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

.studio__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
}

.studio__map {
  position: relative;
  flex: 1;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e2ded3;
  box-shadow: inset 0 0 0 1px #d3cec1;
}

.studio__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map__park {
  fill: #cfd6cc;
}

.map__water {
  fill: #cbd5d2;
}

.map__road {
  fill: none;
  stroke: #f4f2ec;
  stroke-width: 7;
  stroke-linecap: round;
}

.map__road--main {
  stroke-width: 14;
}

.map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--lime);
  box-shadow: 0 0 0 8px rgba(31, 59, 45, 0.15), 0 12px 24px -8px rgba(17, 19, 18, 0.5);
}

.studio__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}

.studio__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  font-size: 15px;
  line-height: 1.55;
}

.studio__label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Departments */
.departments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--section);
}

.department {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--moss);
  transition: box-shadow 0.4s, background-color 0.4s;
}

.department:hover {
  box-shadow: inset 0 0 0 1px var(--moss);
  background: var(--white);
}

.department__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--muted);
}

.department__text strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.department__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.department__email svg {
  transition: transform 0.5s var(--ease);
}

.department:hover .department__email svg {
  transform: translate(2px, -2px);
}

/* 7e. Blog ------------------------------------------------------------------ */

/* Shared: author line + avatar placeholder */
.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}

.author strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.author__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2ded3;
  color: var(--muted);
}

.author__avatar--lg {
  width: 48px;
  height: 48px;
}

.author__avatar--xl {
  width: 64px;
  height: 64px;
}

/* Post card (blog grid, related, home) */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 24px;
}

.post-card[hidden] {
  display: none;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.post-card__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e2ded3;
}

.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.post-card__link:hover .post-card__cover img {
  transform: scale(1.04);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Title underline draws in on hover */
.post-card__title span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 0.6s var(--ease);
}

.post-card__link:hover .post-card__title span {
  background-size: 100% 1px;
}

.post-card__meta {
  font-size: 14px;
  color: var(--muted);
}

/* Blog hero */
.blog-hero__aside {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 20px;
  width: min(360px, 100%);
  padding-bottom: 8px;
  color: var(--muted);
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 6px 0 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  transition: box-shadow 0.3s, transform 0.4s var(--ease);
}

.blog-search:focus-within {
  box-shadow: inset 0 0 0 1px var(--moss), 0 0 0 3px rgba(200, 241, 105, 0.7);
  transform: scale(1.02);
}

.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.blog-search input::placeholder {
  color: #8e938f;
}

.blog-search input::-webkit-search-cancel-button {
  appearance: none;
}

.blog-search kbd {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--paper);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

/* Featured post */
.featured-post {
  display: grid;
  grid-template-columns: 757fr 467fr;
  align-items: center;
  gap: clamp(32px, 3.9vw, 56px);
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.featured-post__cover {
  display: block;
  aspect-ratio: 757 / 500;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2ded3;
}

.featured-post__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.featured-post__cover:hover img {
  transform: scale(1.03);
}

.featured-post__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.featured-post__tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-post__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.9vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.featured-post__excerpt {
  color: var(--muted);
}

.featured-post__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Article grid */
.blog-posts {
  padding: 64px 0 var(--section);
}

.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.blog-toolbar__count {
  flex: none;
  font-size: 14px;
  color: var(--muted);
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pager[hidden] {
  display: none;
}

.pager__step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 500;
  transition: box-shadow 0.3s, color 0.3s;
}

.pager__step:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pager__step:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.6;
}

.pager__pages {
  display: flex;
  gap: 6px;
}

.pager__page {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.pager__page:hover {
  box-shadow: inset 0 0 0 1px var(--line);
}

.pager__page[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

/* Free resources */
.resource-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius);
  background: #1b3325;
}

.resource--lead {
  background: var(--moss);
}

.resource__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--moss);
  color: var(--lime);
}

.resource--lead .resource__icon {
  background: var(--lime);
  color: var(--ink);
}

.resource__kind {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.resource__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.resource p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-dark);
}

.resource__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--muted-dark);
}

.resource__download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
}

.resource__download:hover svg {
  animation: nudge-down 0.6s var(--ease);
}

@keyframes nudge-down {
  40% { transform: translateY(4px); }
  70% { transform: translateY(-1px); }
}

/* Single post: header + cover */
.post-header {
  padding-top: 104px;
}

.post-header__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 880px;
  padding-top: 32px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}

.post-back:hover {
  color: var(--ink);
}

.post-back svg {
  transition: transform 0.5s var(--ease);
}

.post-back:hover svg {
  transform: translateX(-3px);
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.post-header__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.post-header__dek {
  max-width: 680px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.post-header .author {
  padding-top: 12px;
}

.post-cover {
  margin: 56px 0 0;
}

.post-cover__media {
  aspect-ratio: 2560 / 1240;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2ded3;
}

.post-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cover figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Single post: three-column body */
.post-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px) 1fr;
  align-items: start;
  gap: clamp(40px, 6.7vw, 96px);
  padding: 40px 0 var(--section);
}

.post-toc,
.post-share {
  align-self: stretch;
}

.post-toc__inner,
.post-share__inner {
  position: sticky;
  top: 120px;
}

.post-toc__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-rail__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-toc__links {
  position: relative;
  border-left: 1px solid var(--line);
}

.post-toc__links a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 14px;
  line-height: 1.43;
  color: var(--muted);
  transition: color 0.3s;
}

.post-toc__links a:hover,
.post-toc__links a.is-active {
  color: var(--ink);
}

.post-toc__links a.is-active {
  font-weight: 600;
}

/* Moss marker that slides to the active TOC item (positioned by main.js) */
.post-toc__marker {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 0;
  background: var(--moss);
  transition: transform 0.45s var(--ease), height 0.45s var(--ease);
}

.post-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.post-progress__track {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.post-progress__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
}

.post-progress__text {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.post-share__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.share-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.share-btn:hover {
  background: var(--moss);
  box-shadow: none;
  color: var(--lime);
}

.share-btn__tip {
  position: absolute;
  right: calc(100% + 8px);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  font-size: 12px;
  color: var(--paper);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(4px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.share-btn.is-copied .share-btn__tip {
  opacity: 1;
  transform: none;
}

/* Single post: article content */
.post-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.post-lead {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.62;
}

.takeaways {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--moss);
  color: var(--paper);
}

.takeaways__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.takeaways .checks {
  font-size: 16px;
  line-height: 1.56;
}

.takeaways .checks li {
  align-items: flex-start;
  gap: 12px;
}

.takeaways .checks__icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--lime);
  color: var(--moss);
}

/* Markdown body */
.prose {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 18px;
  line-height: 1.72;
  color: #2a2e2c;
}

.prose > * {
  margin: 0;
}

.prose h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: -0.03em;
  color: var(--ink);
  scroll-margin-top: 120px;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose a {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Pull quote: first paragraph is the quote, the next one the attribution */
.prose blockquote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--lime);
}

.prose blockquote p:first-child {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose blockquote p + p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.prose ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
  font-size: 17px;
  line-height: 1.6;
}

/* Number tile sits in the gutter, so bold words and text flow as one line */
.prose ol li {
  position: relative;
  min-height: 28px;
  padding-left: 44px;
  counter-increment: step;
}

.prose ol li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.prose figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.prose figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  background: #e2ded3;
}

.prose figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
}

.prose th,
.prose td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--sand);
  font-weight: 600;
  color: var(--muted);
}

.prose td {
  background: var(--white);
  color: var(--ink);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose td:first-child {
  font-weight: 600;
}

.prose td:last-child {
  color: var(--moss);
}

/* Callout: <aside class="callout"> in Markdown */
.prose .callout {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 16px;
  padding: 24px;
  border-radius: 16px;
  background: var(--sand);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.prose .callout::before {
  content: "";
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f3b2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.prose .callout p {
  margin: 0;
}

.prose .callout__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.post-tags {
  justify-content: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-tags li {
  padding: 7px 14px;
  font-size: 13px;
}

.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.author-bio > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.author-bio__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.author-bio .text-link {
  margin-top: 4px;
  color: var(--ink);
}

/* 8. CTA & footer ---------------------------------------------------------- */
.cta {
  padding: var(--section) var(--gutter);
  background: var(--moss);
}

.cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: clamp(80px, 8.3vw, 120px) clamp(24px, 5.5vw, 80px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, #2e5a41 0%, var(--moss-deep) 70%);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--paper);
  text-align: center;
}

.cta__arcs {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  max-width: 1120px;
  transform: translateX(-50%);
  overflow: visible;
}

.cta__arcs path {
  fill: none;
  stroke: var(--moss-soft);
  stroke-width: 2;
  transform-origin: 50% 100%;
  vector-effect: non-scaling-stroke;
}

.cta__arcs path.is-lime {
  stroke: rgba(200, 241, 105, 0.25);
}

.cta__panel > :not(svg) {
  position: relative;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cta__sub {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted-dark);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
}

.cta__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-dark);
}

.footer {
  overflow: hidden;
  padding-top: var(--section);
  background: var(--ink);
  color: var(--paper);
}

.footer__news {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--footer-line);
}

.footer__news-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer__news-body {
  margin-top: 12px;
  color: var(--footer-muted);
}

.footer__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(520px, 100%);
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: #1b1e1c;
  box-shadow: inset 0 0 0 1px #2a2e2c;
  transition: box-shadow 0.3s;
}

.footer__form:focus-within {
  box-shadow: inset 0 0 0 1px var(--lime);
}

.footer__form-icon {
  flex: none;
  color: #7c857f;
}

.footer__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.footer__form input::placeholder {
  color: #7c857f;
}

.footer__form-msg {
  position: absolute;
  left: 22px;
  top: calc(100% + 10px);
  font-size: 13px;
  color: var(--lime);
}

.footer__links {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 330px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--footer-muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  gap: 24px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c857f;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.footer__col a,
.footer__legal a {
  transition: color 0.3s;
}

.footer__col a:hover,
.footer__legal a:hover {
  color: var(--lime);
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--footer-line);
  font-size: 14px;
  color: #7c857f;
}

.footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #a6aea9;
}

/* Sized in em so the whole word always fits: Sora's letters rise 0.73em above
   the baseline, so a 0.78 line box puts the tops at the edge (+ a little air). */
.footer__wordmark {
  display: flex;
  justify-content: center;
  padding-top: 0.04em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(88px, 25vw, 380px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--moss);
  user-select: none;
}

/* 9. Motion pre-states (only with JS + motion allowed) --------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal],
  .js [data-reveal-stagger] > *,
  .js [data-hero-fade] {
    opacity: 0;
    transform: translateY(32px);
  }

  .js [data-lines],
  .js [data-page-line],
  .js [data-hero-line],
  .js [data-hero-lines],
  .js [data-words] {
    visibility: hidden;
  }

  .js [data-svc-marker] {
    transform: scaleX(0);
  }

  .js .hero__swash path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
}

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__links {
    gap: 24px;
  }

  .footer__cols {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .footer__links {
    flex-direction: column;
  }

  .compare__us-bg {
    left: calc(100% - 640px);
    width: 320px;
  }

  .compare .compare__us,
  .compare .compare__them {
    width: 320px;
  }
}

@media (max-width: 960px) {
  /* Nav → floating pill with menu button */
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__bar {
    height: 64px;
    padding: 0 6px 0 20px;
  }

  .section-head,
  .about-intro__top,
  .page-hero__intro,
  .results__head,
  .footer__news {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__body {
    grid-template-columns: 1fr;
  }

  .services__media {
    position: relative;
    top: 0;
    aspect-ratio: 16 / 11;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .step__line {
    display: none;
  }

  .case {
    grid-template-columns: 1fr;
    width: min(620px, 84vw);
  }

  .case__image {
    aspect-ratio: 16 / 10;
  }

  .bento__card--dash,
  .bento__col,
  .bento__card--row {
    grid-column: 1 / -1;
  }

  .bento__col {
    grid-template-columns: 1fr 1fr;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .quote--featured {
    min-height: 0;
  }

  .faq__grid,
  .principles__grid,
  .careers__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq .accordion,
  .principles__list,
  .roles {
    grid-column: auto;
  }

  .principles__head {
    position: static;
  }

  .collage {
    grid-template-columns: 1fr;
    height: auto;
  }

  .collage__main {
    aspect-ratio: 16 / 10;
  }

  .collage__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .collage__img {
    aspect-ratio: 4 / 3;
  }

  .mission__statement {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .milestones {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }

  .milestones__track {
    display: none;
  }

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

  /* Comparison becomes stacked cards */
  .compare__us-bg {
    display: none;
  }

  .compare thead {
    display: none;
  }

  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto !important;
  }

  .compare tbody tr {
    margin-bottom: 16px;
    padding: 20px;
    border: 0;
    border-radius: var(--radius);
    background: var(--white);
  }

  .compare tbody th {
    padding: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .compare tbody .compare__us {
    margin-bottom: 8px;
    padding: 14px 16px !important;
    border: 0;
    border-radius: 12px;
    background: var(--moss);
  }

  .compare tbody .compare__them {
    padding: 8px 16px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 88px;
  }

  .hero__copy {
    gap: 22px;
    padding-bottom: 40px;
  }

  .hero__actions {
    flex-direction: column;
    align-self: stretch;
  }

  .hero__actions .btn {
    justify-content: space-between;
  }

  .hero__actions .btn--ghost {
    justify-content: center;
  }

  .hero__media {
    aspect-ratio: 4 / 5;
  }

  .kpi {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .kpi__value {
    font-size: 18px;
  }

  .kpi__spark {
    width: 48px;
    height: 26px;
  }

  .kpi--1 { left: 12px; bottom: 84px; }
  .kpi--2 { right: 12px; top: 12px; }
  .kpi--3 { right: 12px; bottom: 16px; }

  .marquee {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .marquee__label {
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .stats__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .accordion--dark .acc__inner {
    padding: 0 0 24px 56px;
  }

  .accordion--dark .acc__head {
    gap: 16px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: row;
    gap: 20px;
  }

  .step__icon {
    flex: none;
    width: 52px;
    height: 52px;
  }

  .step__line {
    display: block;
    top: 64px;
    bottom: -36px;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px);
  }

  .step__fill {
    clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0);
  }

  .step__dot {
    top: calc(var(--p) * 100%);
    left: 50%;
    margin: -6px 0 0 -6px;
  }

  .results__controls {
    width: 100%;
  }

  .results__counter {
    margin-right: auto;
  }

  .case {
    width: 86vw;
    min-height: 0;
  }

  .case__client {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento__col {
    grid-template-columns: 1fr;
  }

  .bento__card,
  .bento__card--row {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .bento__card--row .bento__text {
    max-width: none;
  }

  .dash {
    padding: 16px;
  }

  .dash__kpis {
    gap: 12px;
  }

  .dash__kpi {
    min-width: 0;
    padding-left: 10px;
  }

  .dash__kpi strong {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 18px;
  }

  .dash__top {
    gap: 12px;
    font-size: 12px;
  }

  .dash__chart {
    gap: 5px;
    height: 150px;
  }

  .dash__bar i {
    display: none;
  }

  .ab {
    flex-direction: column;
  }

  .price {
    min-width: 0;
  }

  .rating {
    white-space: normal;
  }

  .quote__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .articles {
    grid-template-columns: 1fr;
  }

  .collage__side {
    grid-template-columns: 1fr;
  }

  .milestones {
    grid-template-columns: 1fr 1fr;
  }

  .principles__list {
    grid-template-columns: 1fr;
  }

  .members {
    gap: 32px 16px;
  }

  .member h3 {
    font-size: 17px;
  }

  .member__social {
    width: 32px;
    height: 32px;
  }

  .role {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .role__text {
    flex-basis: calc(100% - 64px);
  }

  .role .pill {
    order: 3;
  }

  .footer__form {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 8px;
  }

  .footer__form-icon {
    display: none;
  }

  .footer__form input {
    flex-basis: 100%;
    padding: 12px 14px;
  }

  .footer__form .btn {
    width: 100%;
    justify-content: space-between;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Services page — responsive */
@media (max-width: 1180px) {
  .tier {
    padding: 28px;
  }

  .svc-platforms {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tags--line {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .svc-hero__grid {
    flex-direction: column;
    align-items: stretch;
  }

  .svc-index {
    width: 100%;
  }

  .practice__block {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .practice--flip .practice__media {
    order: 0;
  }

  .practice__media {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .tiers {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .proof__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .proof__metric:first-child {
    padding-left: 0;
  }

  .proof__metric:first-child::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .svc-hero__actions {
    flex-direction: column;
    align-self: stretch;
  }

  .svc-hero__actions .btn {
    justify-content: space-between;
  }

  .svc-hero__actions .btn--ghost {
    justify-content: center;
  }

  .svc-index {
    padding: 24px;
  }

  .svc-index__name {
    font-size: 18px;
  }

  .practice {
    padding: 48px 0;
  }

  .practice__block {
    padding-top: 48px;
  }

  .practice__media {
    aspect-ratio: 1;
  }

  .practice__columns {
    grid-template-columns: 1fr;
  }

  .practice__stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .proof__metrics {
    grid-template-columns: 1fr;
  }

  .proof__metric,
  .proof__metric:first-child {
    padding: 24px 0;
  }

  .proof__metric::before,
  .proof__metric:first-child::before {
    display: block;
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    transform-origin: left;
    transform: scaleX(var(--draw, 1));
  }

  .tier {
    padding: 24px;
  }
}

/* Work page — responsive */
@media (max-width: 1180px) {
  .work-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 960px) {
  .work-hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .work-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }

  .work-stats__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-case__media {
    aspect-ratio: 16 / 10;
  }

  .case-grid__col {
    gap: 56px;
  }

  .case-grid__col--offset {
    padding-top: 80px;
  }

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

@media (max-width: 640px) {
  .work-filters {
    flex-wrap: nowrap;
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .work-filters::-webkit-scrollbar {
    display: none;
  }

  .work-filter {
    flex: none;
  }

  .work-stats__item {
    padding: 4px 16px;
  }

  /* One column: flatten both columns and keep the list order via --i */
  .case-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .case-grid__col {
    display: contents;
  }

  .case-card {
    order: var(--i);
  }

  .case-card.is-tall .case-card__media {
    aspect-ratio: 628 / 440;
  }

  .work-more {
    flex-direction: column;
    padding-top: 56px;
  }

  .quote-band {
    padding: 88px 0;
  }

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

  .logo-wall__cell {
    height: 104px;
  }

  .logo-wall .client {
    font-size: 16px;
  }
}

/* Contact page — responsive */
@media (max-width: 1180px) {
  .contact-hero__intro {
    width: 420px;
    padding-right: 24px;
  }
}

@media (max-width: 960px) {
  .contact-hero__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .contact-hero__intro {
    width: 100%;
    padding-right: 0;
  }

  .next-steps__list,
  .departments {
    grid-template-columns: 1fr;
  }

  .next-step {
    gap: 28px;
  }

  .studio__grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .studio__photo {
    aspect-ratio: 3 / 2;
  }

  .studio__map {
    flex: none;
    height: 240px;
  }
}

@media (max-width: 640px) {
  .enquiry__head {
    flex-direction: column;
  }

  .enquiry__row {
    grid-template-columns: 1fr;
  }

  .segment {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
  }

  .studio__rows {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Blog — responsive */
@media (max-width: 1180px) {
  .post-layout {
    grid-template-columns: 200px minmax(0, 1fr) 52px;
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .blog-hero__aside {
    width: 100%;
  }

  .blog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 24px;
  }

  .resource-list {
    grid-template-columns: 1fr;
  }

  /* Single post: one column, TOC hidden, share buttons become a row */
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    gap: 40px;
  }

  .post-toc {
    display: none;
  }

  .post-share__inner {
    position: static;
    flex-direction: row;
    align-items: center;
  }

  .post-share__inner .post-rail__label {
    margin-right: 4px;
  }

  .share-btn__tip {
    right: auto;
    bottom: calc(100% + 8px);
  }
}

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

  .pager__step span {
    display: none;
  }

  .pager__step {
    padding: 14px;
  }

  .post-cover {
    margin-top: 40px;
  }

  .post-cover__media {
    aspect-ratio: 4 / 3;
  }

  .takeaways,
  .author-bio {
    padding: 24px;
  }

  .author-bio {
    flex-direction: column;
  }

  .prose table {
    display: block;
    overflow-x: auto;
  }
}

/* Reduced motion: keep it calm */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
