/* UF Labs studio site — CONCEPT_02 dark theme (GL-003) */

:root {
  --brand-carbon: #0d1113;
  --brand-signal: #12a574;
  --brand-slate: #55636b;
  --brand-mist: #c9d2d6;
  --brand-paper: #edf0f1;
  --primary: var(--brand-signal);
  --on-primary: var(--brand-carbon);
  --brand-green: var(--brand-signal);
  --brand-green-deep: #0f9663;
  --hero-sky-from: var(--brand-carbon);
  --hero-sky-to: var(--brand-carbon);
  --hero-dark-from: var(--brand-carbon);
  --hero-dark-to: var(--brand-carbon);
  --canvas: var(--brand-carbon);
  --surface: #13191d;
  --surface-raised: #171e23;
  --surface-soft: var(--brand-carbon);
  --footer-bg: #0d1113;
  --hairline: rgba(85, 99, 107, 0.55);
  --hairline-soft: rgba(85, 99, 107, 0.32);
  --ink: var(--brand-paper);
  --charcoal: var(--brand-mist);
  --slate: var(--brand-mist);
  --steel: var(--brand-slate);
  --stone: var(--brand-slate);
  --muted: var(--brand-slate);
  --on-dark: var(--brand-paper);
  --on-dark-muted: var(--brand-slate);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-mockup: rgba(0, 0, 0, 0.45) 0 24px 48px -12px;
  --shadow-featured: rgba(18, 165, 116, 0.14) 0 8px 32px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: #0d1113;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
  background-color: #0d1113;
  -webkit-font-smoothing: antialiased;
}

main {
  background-color: #0d1113;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-green);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: var(--canvas);
  border: 1px solid var(--brand-slate);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
}

.logo-mark::before {
  top: 4px;
  left: 4px;
  border-top: 2px solid var(--brand-green);
  border-left: 2px solid var(--brand-green);
}

.logo-mark::after {
  right: 4px;
  bottom: 4px;
  border-right: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: lowercase;
}

.logo-name .dot,
.footer-brand-name .dot {
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin: 0 0.2em;
  border-radius: 50%;
  background-color: var(--brand-green);
  vertical-align: 0.12em;
  flex-shrink: 0;
}

.logo-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  color: var(--brand-slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--steel);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand-green);
}

/* Services dropdown (primary nav) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  cursor: pointer;
}

.nav-dropdown__trigger:hover,
.nav-dropdown__trigger[aria-expanded="true"],
.nav-dropdown__trigger[aria-current="page"] {
  color: var(--brand-green);
}

.nav-dropdown__chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  min-width: 11.5rem;
  margin: 0;
  padding: 0.65rem 0 0.4rem;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateX(-50%);
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.nav-dropdown__menu::after {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-mockup);
}

.nav-dropdown__menu > li {
  position: relative;
  z-index: 1;
}

.nav-dropdown__menu[hidden] {
  display: none;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  color: var(--brand-green);
  background: rgba(18, 165, 116, 0.08);
  outline: none;
}

.nav-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    gap: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0.25rem 0 0.5rem;
    padding: 0.25rem 0 0.25rem 0.75rem;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--hairline-soft);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown__menu[hidden] {
    display: none;
  }

  .nav-dropdown__menu:not([hidden]) {
    display: block;
  }

  .nav-dropdown__menu::before,
  .nav-dropdown__menu::after {
    display: none;
  }

  .nav-dropdown__menu a {
    padding: 0.55rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-header .inner {
    position: relative;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
.btn-accent {
  background: var(--brand-green);
  color: var(--on-primary);
  border-color: var(--brand-green);
}

.btn-primary:hover,
.btn-accent:hover {
  background: var(--brand-green-deep);
  border-color: var(--brand-green-deep);
  color: var(--on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn-secondary:hover {
  border-color: var(--steel);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-ghost:hover {
  background: rgba(18, 165, 116, 0.08);
}

.btn-on-dark {
  background: var(--brand-green);
  color: var(--on-primary);
  border-color: var(--brand-green);
}

.btn-on-dark:hover {
  background: var(--brand-green-deep);
  color: var(--on-primary);
}

/* Hero */
.hero {
  background-color: #0d1113;
  padding: 80px 0 64px;
}

.hero-grid {
  max-width: 44rem;
}

.mono-label {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--stone);
  text-transform: uppercase;
}

.mono-label--accent {
  border-color: rgba(18, 165, 116, 0.4);
  color: var(--brand-green);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
}

.hero h1 .text-accent {
  color: var(--brand-green);
}

h1 .heading-period,
h2 .heading-period,
h3 .heading-period {
  color: var(--brand-green);
}

.hero-lead {
  font-size: 18px;
  max-width: 42ch;
  margin: 0 0 0.75rem;
  color: var(--steel);
}

.hero-lead:last-of-type {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Homepage: single hero block (eyebrow + h1 + lead + CTAs) */
.hero--intro {
  padding: 72px 0 80px;
}

.hero-intro .platform-hook-eyebrow {
  margin-bottom: 1.5rem;
  max-width: 36ch;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.hero-intro h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

.hero-lead--intro {
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: clamp(17px, 2.1vw, 19px);
  line-height: 1.55;
}

.hero-lead--intro .text-accent {
  color: var(--brand-green);
  font-weight: 500;
}

.hero-actions--intro {
  align-items: center;
  gap: 0.75rem 1.5rem;
}

/* Hero split + live booking demo carousel */
.hero--split {
  position: relative;
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem);
    gap: 2.5rem 3rem;
  }
}

.hero-copy .hero-lead:last-of-type {
  margin-bottom: 2rem;
}

.hero-browser-demo {
  padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-mockup);
}

.hero-demo-title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.hero-demo-lead {
  margin: 0 0 0.65rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--steel);
}

.hero-demo-lead--tight {
  margin-bottom: 0.85rem;
}

.hero-demo-note {
  margin: 0 0 1rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--stone);
}

.hero-demo-disclaimer {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.hero-browser {
  margin-bottom: 0.85rem;
}

.hero-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--hairline);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: #1a2126;
}

.hero-browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hairline);
}

.hero-browser-dot:nth-child(1) {
  background: #e06c6c;
}

.hero-browser-dot:nth-child(2) {
  background: #d4a84b;
}

.hero-browser-dot:nth-child(3) {
  background: #6fbf73;
}

.hero-browser-url {
  margin-left: 0.35rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-browser-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-top: none;
  background: #0a0d0f;
  overflow: hidden;
}

.hero-browser-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(237, 240, 241, 0.2);
  border-radius: 50%;
  background: rgba(13, 17, 19, 0.78);
  color: var(--on-dark);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hero-browser-arrow:hover {
  background: rgba(18, 165, 116, 0.22);
  border-color: rgba(18, 165, 116, 0.55);
  color: var(--brand-green);
}

.hero-browser-arrow:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.hero-browser-arrow--prev {
  left: 0.5rem;
}

.hero-browser-arrow--next {
  right: 0.5rem;
}

.hero-browser-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-browser-slide.is-active {
  z-index: 1;
}

.hero-browser-slide[hidden] {
  display: none !important;
}

.hero-browser-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-browser-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0 0.15rem;
}

.hero-browser-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--hairline);
  cursor: pointer;
}

.hero-browser-dots button.is-active {
  background: var(--brand-green);
  transform: scale(1.15);
}

.hero-browser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.65rem;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 13px;
}

/* Sections */
section {
  padding: 64px 0;
  background-color: #0d1113;
}

section.surface-band {
  background-color: #0d1113;
}

section.surface-band--tight-top {
  padding-top: 0;
}

section.section--tight-top {
  padding-top: 0;
}

.hero--compact {
  padding-bottom: 56px;
}

.section-lead--tight {
  margin-bottom: 1.5rem;
}

.section-lead--narrow-md {
  max-width: 48ch;
}

.section-lead--narrow-lg {
  max-width: 52ch;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 52ch;
  font-size: 16px;
  color: var(--steel);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.cards > .card:not(.work-card) {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-feature {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.card .card-summary {
  margin: 0;
  flex: 1 1 auto;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
}

.card-tier-notes {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-soft);
}

.card-tier-notes .service-tier-note {
  margin-top: 0;
}

.card-tier-notes .service-tier-note + .service-tier-note {
  margin-top: 0.5rem;
}

.card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--brand-green);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 600;
}

.step-num-care {
  background: var(--brand-green);
  color: var(--ink);
}

.process-care-detail {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
}

.process-care-detail-title {
  margin: 0 0 1.25rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.process-care-intro {
  margin: 0 0 1.25rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  max-width: 62ch;
}

.process-care-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-care-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
  }
}

@media (min-width: 1024px) {
  .process-care-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

.process-care-list li {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
}

.process-care-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.process-care-link {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
}

.process-care-link a {
  color: var(--brand-green);
  font-weight: 500;
  text-decoration: none;
}

.process-care-link a:hover {
  text-decoration: underline;
}

@media (min-width: 1100px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
}

.work-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  text-align: left;
  background: var(--surface);
  color: var(--on-dark);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-mockup);
}

.work-card > div:first-child {
  min-width: 0;
}

.work-card .tag-row {
  justify-content: flex-start;
}

.work-card h3,
.work-card p {
  color: var(--on-dark);
}

.work-card p {
  opacity: 0.9;
}

.work-card .tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
}

.work-card-featured {
  border: 2px solid var(--brand-green);
  box-shadow: var(--shadow-featured);
}

@media (max-width: 768px) {
  .work-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.section-title + .audience-grid {
  margin-top: 1.25rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.audience-item h3 {
  margin: 0 0 0.35rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.audience-item p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
}

.availability {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--steel);
}

/* Contact */
.contact-band {
  background: var(--canvas);
  border-block: 1px solid var(--hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-meta p {
  margin: 0 0 1.25rem;
  font-size: 14px;
}

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

.contact-meta strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 0.35rem;
}

.contact-meta a {
  font-weight: 500;
  text-decoration: none;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border: 2px solid var(--brand-green);
  padding: 11px 15px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hidden {
  position: absolute;
  left: -9999px;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 165, 116, 0.12);
  border: 1px solid var(--brand-green);
  font-size: 14px;
  color: var(--ink);
}

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(180, 60, 40, 0.08);
  border: 1px solid rgba(180, 60, 40, 0.35);
  font-size: 14px;
  color: var(--ink);
}

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

.form-error:not([hidden]) {
  display: block;
}

/* Legal pages */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.page-hero .meta {
  font-size: 14px;
  color: var(--steel);
}

.legal-content {
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.legal-block {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.legal-block h2 {
  margin: 0 0 0.75rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.legal-block p,
.legal-block ul {
  margin: 0;
  font-size: 14px;
  color: var(--charcoal);
}

.legal-block p + p {
  margin-top: 1rem;
}

.legal-block ul + p {
  margin-top: 1rem;
}

.legal-block ul {
  padding-left: 1.25rem;
}

.legal-block li + li {
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: var(--footer-bg);
  border-top: 1px solid var(--hairline-soft);
  font-size: 13px;
  color: var(--stone);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand links"
    "legal legal"
    "area area";
  align-items: center;
  gap: 1.25rem 2rem;
}

.footer-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  font-size: 10px;
}

.footer-brand .logo-sub {
  margin-top: 2px;
}

.footer-legal {
  grid-area: legal;
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  color: var(--stone);
  text-align: left;
  max-width: 62ch;
}

.footer-area {
  grid-area: area;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--stone);
  max-width: 62ch;
}

.footer-area a {
  color: var(--mist);
}

.footer-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.35rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-green);
}

/* Work / thank-you footers: brand block is a plain wrapper */
.footer-inner > div:not(.footer-brand):not(.footer-links) {
  grid-area: brand;
}

.footer-inner > div:not(.footer-brand):not(.footer-links) .footer-legal {
  grid-area: unset;
  padding-top: 0.5rem;
  border-top: none;
  max-width: 52ch;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "legal";
    gap: 1.15rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-legal {
    max-width: none;
  }
}

/* Inner pages */
.breadcrumb {
  margin: 0 0 1rem;
  font-size: 13px;
  color: var(--steel);
}

.page-hero-band .breadcrumb,
.page-hero-band .breadcrumb a {
  color: var(--on-dark-muted);
}

.page-hero-band .breadcrumb a:hover {
  color: var(--on-dark);
}

.breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

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

.page-hero-band {
  background: var(--canvas);
  color: var(--on-dark);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--hairline-soft);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
}

.case-hero-main {
  min-width: 0;
}

.case-hero-logo {
  margin: 0;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 34vw);
}

.case-hero-logo__surface {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f0e8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.case-hero-logo__surface--round {
  width: clamp(120px, 16vw, 176px);
  height: clamp(120px, 16vw, 176px);
  border-radius: 50%;
  padding: 1rem;
}

.case-hero-logo__surface--card {
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  max-width: min(280px, 34vw);
}

.case-hero-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(88px, 14vw, 168px);
  object-fit: contain;
}

.case-hero-logo__surface--round img {
  max-height: 100%;
}

.case-hero-logo__surface--card img {
  max-height: clamp(72px, 10vw, 112px);
}

@media (max-width: 768px) {
  .case-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-hero-logo {
    justify-self: start;
    width: auto;
    max-width: 200px;
  }
}

.page-hero-band h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--on-dark);
  max-width: 18ch;
}

.case-hero-main h1 {
  max-width: 20ch;
}

.page-hero-band .section-lead {
  color: var(--on-dark-muted);
  margin-bottom: 1.5rem;
}

.page-hero-band .tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero-band .hero-cta-row {
  margin-top: 1.25rem;
  gap: 1rem;
}

.btn-secondary-on-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary-on-dark:hover {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: -2rem 0 3rem;
  position: relative;
  z-index: 1;
}

.case-meta-item {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

.case-meta-item dt {
  margin: 0 0 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--stone);
}

.case-meta-item dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.case-block {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.case-block h2 {
  margin: 0 0 0.75rem;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.case-block p,
.case-block ul {
  margin: 0;
  font-size: 16px;
  color: var(--steel);
}

.case-block ul {
  padding-left: 1.25rem;
}

.case-block li + li {
  margin-top: 0.35rem;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .case-layout {
    grid-template-columns: 1fr;
  }
}

.product-shot-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-shot-browser .browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline-soft);
}

.product-shot-browser .browser-chrome span:nth-child(-n + 3) {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--hairline);
}

.product-shot-browser .browser-url {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}

.product-shot-browser img {
  border: none;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
}

.product-shot-browser img.client-logo-shot {
  display: block;
  background: #0f1f3d;
}

.product-shot-stack .product-shot:not(.product-shot-browser) {
  align-self: center;
}

.product-shot-stack .product-shot:not(.product-shot-browser) img {
  width: auto;
  max-width: min(100%, 320px);
  margin-inline: auto;
}

.product-shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
  padding: 1rem;
}

.product-shot img {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
}

.product-shot figcaption {
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--stone);
  text-align: center;
}

.product-shot-device {
  max-width: 320px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 28px;
  background: #111;
  border-color: #2a2a2a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.product-shot-device img {
  width: 100%;
  max-width: none;
  border: none;
  border-radius: 20px;
}

.product-shot-stack .product-shot-device img {
  max-width: none;
}

.product-mock {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
}

.product-mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline-soft);
}

.product-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--hairline);
}

.product-mock-body {
  padding: 1.25rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 13px;
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-label {
  color: var(--steel);
}

.mock-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.mock-hero-stat {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.mock-hero-stat strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.25rem;
}

.mock-hero-stat span {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.stack-chip {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.cta-band {
  background: var(--canvas);
  border-block: 1px solid var(--hairline);
  text-align: center;
}

.cta-band .container {
  padding-block: 3rem;
}

.cta-band .section-lead {
  margin-inline: auto;
}

.cta-band .hero-cta-row {
  justify-content: center;
  margin-top: 1.25rem;
}

.work-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  align-self: center;
}

@media (max-width: 768px) {
  .work-card-actions {
    align-self: start;
  }
}

@media (min-width: 769px) {
  .work-card-actions {
    justify-content: flex-end;
  }
}

.section-link-row {
  margin-top: 1.5rem;
}

.section-link-row a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.section-link-row a:hover {
  text-decoration: underline;
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-detail-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 14px;
  color: var(--steel);
  flex-grow: 0;
}

.service-detail-card ul:last-of-type {
  flex-grow: 1;
}

.service-detail-card li + li {
  margin-top: 0.35rem;
}

.service-price {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.card p.service-tier-label,
.service-detail-card .service-tier-label {
  margin: 1.5rem 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
}

.service-detail-card > p:not(.service-tier-label):not(.service-price) + .service-tier-label {
  margin-top: 1.35rem;
}

.service-detail-card ul + .service-tier-label {
  margin-top: 1.75rem;
}

.service-tier-note {
  margin: 0.75rem 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel);
}

.card p.service-tier-note + p.service-tier-note {
  margin-top: 0.5rem;
}

.service-tier-note strong {
  color: var(--ink);
  font-weight: 600;
}

.platform-spotlight {
  grid-column: 1 / -1;
}

.platform-spotlight-grid {
  display: grid;
  gap: 1.5rem;
}

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

.platform-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-green-deep);
}

.platform-spotlight h3 {
  font-size: 22px;
}

.platform-spotlight-lead {
  margin: 0 0 1rem;
  font-size: 15px;
  line-height: 1.5;
  color: var(--steel);
}

.platform-spotlight-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 14px;
  color: var(--steel);
}

.store-apps-line {
  margin: 1.25rem 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark-muted);
}

.work-card .store-apps-line,
.work-list-card .store-apps-line {
  color: var(--on-dark-muted);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-badge {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 9.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.store-badge:hover {
  border-color: var(--brand-green-deep);
  background: #fff;
}

.store-badge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

.store-badge-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.work-card .store-badge,
.work-list-card .store-badge {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.work-card .store-badge:hover,
.work-list-card .store-badge:hover {
  border-color: var(--brand-green);
  background: rgba(255, 255, 255, 0.12);
}

.work-card .store-badge-label,
.work-list-card .store-badge-label {
  color: var(--on-dark-muted);
}

.work-card .store-badge-title,
.work-list-card .store-badge-title {
  color: var(--on-dark);
}

.tag-store {
  border: 1px solid rgba(18, 165, 116, 0.35);
  color: var(--ink);
  background: rgba(18, 165, 116, 0.08);
}

.work-card .tag-store,
.work-list-card .tag-store,
.page-hero-band .tag-store {
  border-color: rgba(18, 165, 116, 0.45);
  color: var(--on-dark);
  background: rgba(18, 165, 116, 0.12);
}

.store-proof {
  margin: 0.75rem 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-green-deep);
}

.work-card .store-proof,
.work-list-card .store-proof,
.page-hero-band .store-proof {
  color: var(--brand-green);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline-soft);
}

.compare-table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

.compare-table td {
  color: var(--steel);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Platform: stack replacement + building blocks */
.platform-replace {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

@media (min-width: 768px) {
  .platform-replace {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

.platform-replace-label {
  margin: 0 0 0.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
}

.platform-fragment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.platform-fragment-list li {
  padding: 0.65rem 0.85rem;
  font-size: 14px;
  color: var(--steel);
  background: var(--surface);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-md);
}

.platform-replace-after {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--brand-green);
  background: rgba(18, 165, 116, 0.06);
  box-shadow: var(--shadow-featured);
}

.platform-replace-after p:last-child {
  margin: 0;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
}

.platform-replace-arrow {
  display: none;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-green-deep);
  text-align: center;
}

@media (min-width: 768px) {
  .platform-replace-arrow {
    display: block;
  }
}

.blocks-diagram {
  position: relative;
  margin-top: 2.5rem;
}

.blocks-layer + .blocks-layer {
  margin-top: 2rem;
}

.blocks-layer-title {
  margin: 0 0 0.35rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.blocks-layer-lead {
  margin: 0 0 1.25rem;
  font-size: 14px;
  color: var(--stone);
}

.blocks-grid {
  display: grid;
  gap: 0.85rem;
}

.blocks-grid-core {
  grid-template-columns: 1fr;
}

.blocks-grid-addons {
  grid-template-columns: 1fr;
}

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

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

@media (min-width: 960px) {
  .blocks-grid-core {
    grid-template-columns: repeat(4, 1fr);
  }

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

.block-card {
  position: relative;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--canvas);
}

.block-card-core {
  border-color: var(--brand-green-deep);
  background: var(--surface);
}

.block-card-addon {
  background: var(--surface);
}

.block-card h4 {
  margin: 0 0 0.35rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.block-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel);
}

.block-card-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-green-deep);
  background: rgba(18, 165, 116, 0.12);
  border-radius: var(--radius-xs);
}

.block-card-addon .block-card-tag {
  color: var(--slate);
  background: var(--surface);
}

.blocks-connector {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
  color: var(--muted);
}

.blocks-connector svg {
  width: 24px;
  height: 32px;
}

.platform-positioning-note {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  background: var(--surface);
  border-left: 3px solid var(--brand-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* One site / grow-with-you sections (mockup-aligned) */
.one-site-col-label {
  margin: 0 0 1rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.one-site-col-label--accent {
  color: var(--brand-green);
}

.one-site-ba-frame {
  margin: 2.5rem 0 0;
  padding: 1.375rem;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--canvas);
}

.one-site-ba-grid {
  display: grid;
  gap: 0.875rem;
  align-items: center;
}

@media (min-width: 768px) {
  .one-site-ba-frame {
    padding: 2.25rem;
  }

  .one-site-ba-grid {
    grid-template-columns: 1fr 56px 1fr;
    gap: 1rem;
  }
}

.one-site-now-boxes {
  display: grid;
  gap: 0.75rem;
}

.one-site-now-box {
  padding: 1rem 1.125rem;
  border: 1px dashed var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.one-site-now-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate);
}

.one-site-now-sub {
  margin: 0.3rem 0 0;
  font-size: 14px;
  color: var(--steel);
}

.one-site-now-footer {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0.75rem 0 0;
  padding: 0.875rem 1.125rem;
  font-size: 14px;
  color: var(--slate);
  border: 1px dashed var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.one-site-now-dot {
  color: var(--steel);
  font-size: 18px;
  line-height: 1;
}

.one-site-ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--brand-green);
}

@media (max-width: 767px) {
  .one-site-ba-frame {
    padding: 1.375rem;
  }

  .one-site-ba-arrow {
    transform: rotate(90deg);
    margin: 0.125rem 0;
  }
}

.one-site-after-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.625rem;
  border: 1.5px solid rgba(18, 165, 116, 0.45);
  border-radius: 16px;
  background: rgba(18, 165, 116, 0.06);
  box-shadow: 0 0 60px -20px rgba(18, 165, 116, 0.35);
}

.one-site-after-lead {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.one-site-after-lead .text-accent {
  color: var(--brand-green);
  font-weight: 500;
}

.one-site-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.one-site-tag {
  padding: 0.375rem 0.8125rem;
  font-size: 13px;
  color: var(--slate);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.one-site-grow-grid {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

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

.one-site-stage {
  padding: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}

.one-site-stage--featured {
  border: 1.5px solid rgba(18, 165, 116, 0.45);
  background: rgba(18, 165, 116, 0.06);
  box-shadow: 0 0 60px -24px rgba(18, 165, 116, 0.3);
}

.one-site-stage-title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.one-site-stage-sub {
  margin: 0.375rem 0 0;
  font-size: 14px;
  color: var(--slate);
}

.one-site-foundation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1.125rem 1.375rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(18, 165, 116, 0.45);
  border-radius: 16px;
  background: rgba(18, 165, 116, 0.06);
}

.one-site-foundation-icon {
  flex-shrink: 0;
  font-size: 1.375rem;
  color: var(--brand-green);
}

#booking-studio .platform-positioning-note,
#one-platform .platform-positioning-note,
#grow-with-you .platform-positioning-note {
  margin-top: 1.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 15px;
  background: var(--surface);
}

.one-platform-hook-lead {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.one-platform-hook-tags {
  margin-top: 0;
}

.one-platform-hook-link {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.platform-hook-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.platform-hook-title {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.platform-hook-lead {
  max-width: 44rem;
  margin: 0 0 2rem;
  font-size: 18px;
  line-height: 1.55;
  color: var(--steel);
}

.platform-hook-lead .text-accent {
  color: var(--brand-green);
  font-weight: 500;
}

.platform-hook-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.platform-hook-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.platform-hook-link:hover {
  color: var(--brand-green);
}

/* Site rhythm utilities */
.section-subblock {
  margin-top: 3rem;
}

.cards--offset {
  margin-top: 1.5rem;
}

.blocks-diagram {
  margin-top: 2.5rem;
}

.process-care-detail-title--section {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}

/* How payment works (services) */
.how-payment {
  margin-bottom: 3rem;
}

.how-payment-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .how-payment-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }

  .how-payment-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.how-payment-list li {
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.5;
}

.how-payment-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 600;
}

/* Why us */
.why-us-prose {
  padding-bottom: 0.5rem;
}

.why-us-principles,
.why-us-steps,
.why-us-not-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

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

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

.why-us-principles li,
.why-us-steps li {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-us-principles strong,
.why-us-steps strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 600;
}

.why-us-steps {
  counter-reset: why-step;
}

.why-us-steps li {
  counter-increment: why-step;
  position: relative;
  padding-top: 2.5rem;
}

.why-us-steps li::before {
  content: counter(why-step);
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brand-signal);
}

.why-us-close {
  margin: 1.75rem 0 0;
  max-width: 48ch;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.why-us-not-list li {
  margin: 0;
  padding: 0.85rem 0 0.85rem 1.25rem;
  position: relative;
  color: var(--steel);
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.why-us-not-list li:last-child {
  border-bottom: none;
}

.why-us-not-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-signal);
}

.blocks-diagram > .blocks-layer-title:first-of-type {
  font-size: 20px;
  margin: 0 0 0.5rem;
}

.blocks-diagram > .section-lead.is-inset {
  margin-bottom: 1.5rem;
}

.platform-spotlight-list + .service-tier-label {
  margin-top: 1.25rem;
}

.platform-booking-studio {
  border-style: dashed;
  border-color: var(--hairline);
  background: var(--brand-carbon);
}

.platform-booking-studio-detail {
  margin-top: 1.5rem;
  border: 1px solid var(--hairline);
  background: var(--brand-carbon);
}

.work-list-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

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

.work-card-studio {
  background: var(--brand-carbon);
  color: var(--charcoal);
  border: 1px solid var(--hairline);
  box-shadow: none;
}

.work-card-studio h3,
.work-card-studio p {
  color: var(--charcoal);
}

.work-card-studio p {
  opacity: 1;
  color: var(--steel);
}

.work-card-studio .tag {
  background: var(--surface);
  color: var(--steel);
}

.work-card-studio .tag-store {
  border-color: var(--hairline);
  color: var(--steel);
  background: var(--surface);
}

.work-card-studio .store-proof,
.work-card-studio .store-apps-line {
  color: var(--steel);
}

.hero-lead + .hero-lead {
  margin-top: 1rem;
}

.pricing-section-lead {
  max-width: 52ch;
  margin-bottom: 1.5rem;
  color: var(--steel);
  font-size: 15px;
}

/* SEO tier comparison (services page) */
.seo-included {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-seo-disclosure {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.pricing-seo-disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pricing-seo-disclosure__summary::-webkit-details-marker {
  display: none;
}

.pricing-seo-disclosure__summary::marker {
  content: "";
}

.pricing-seo-disclosure__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.pricing-seo-disclosure__kicker {
  margin: 0;
}

.pricing-seo-disclosure__title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(18, 165, 116, 0.45);
  text-underline-offset: 3px;
}

.pricing-seo-disclosure__summary:hover .pricing-seo-disclosure__title,
.pricing-seo-disclosure[open] .pricing-seo-disclosure__title {
  color: var(--brand-green);
  text-decoration-color: var(--brand-green);
}

.pricing-seo-disclosure__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.pricing-seo-disclosure[open] .pricing-seo-disclosure__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.pricing-seo-disclosure__summary:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: -2px;
}

.pricing-seo-disclosure__panel {
  padding: 0 1.15rem 1.25rem;
  border-top: 1px solid var(--hairline-soft);
}

.pricing-seo-disclosure__lead {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.seo-tier-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .seo-tier-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.seo-tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.seo-tier-card--featured {
  border: 2px solid var(--brand-green);
  box-shadow: var(--shadow-featured);
}

.seo-tier-badge {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.seo-tier-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.seo-tier-lead {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}

.seo-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.seo-feature-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--steel);
}

.seo-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-green);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

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

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

.pricing-grid--single {
  max-width: 44rem;
  margin-inline: auto;
}

.pricing-amount-note--inline {
  margin: -0.35rem 0 1rem;
  display: block;
}

.childcare-boundary {
  border-top: 1px solid var(--hairline-soft);
}

.childcare-boundary--in-band {
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.childcare-demo-panel {
  border-top: 1px solid var(--hairline-soft);
}

.childcare-demo-panel--in-band {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.pricing-subsection-kicker {
  margin-top: 3.5rem;
  margin-bottom: 0.75rem;
}

.section-title--compact {
  margin-top: 0.75rem;
  font-size: 1.35rem;
}

.childcare-demo-panel .section-lead strong {
  color: var(--charcoal);
  font-weight: 500;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.pricing-card-featured {
  border: 2px solid var(--brand-green);
  box-shadow: var(--shadow-featured);
}

.pricing-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.pricing-amount {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-family: var(--font-mono);
}

.pricing-amount-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font);
  color: var(--stone);
}

.pricing-tagline {
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  color: var(--stone);
}

.section-title--pricing-follow {
  margin-top: 3rem;
}

.pricing-includes--panel-lead {
  margin: 0 0 1.25rem;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  flex-grow: 1;
  font-size: 14px;
  color: var(--steel);
}

.pricing-card li + li {
  margin-top: 0.4rem;
}

.pricing-card-foot {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 13px;
  color: var(--steel);
}

.pricing-promise {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--brand-carbon);
  font-size: 14px;
  color: var(--steel);
}

.pricing-promise h3 {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-addon-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

.pricing-addon {
  padding: 1rem 1.1rem;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.pricing-addon h4 {
  margin: 0 0 0.25rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-addon .pricing-amount {
  display: inline;
  margin: 0 0.35rem 0 0;
  font-size: 1rem;
}

.pricing-addon p {
  margin: 0.35rem 0 0;
  font-size: 13px;
  color: var(--steel);
}

.pricing-addon-features {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  font-size: 12px;
  color: var(--steel);
}

.pricing-addon-features li + li {
  margin-top: 0.45rem;
}

.pricing-addon-features strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing-includes {
  margin: 2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--stone);
  text-align: center;
}

.pricing-vat {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--muted);
}

.hero-tagline {
  margin: 0.75rem 0 0;
  max-width: 42ch;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}

.pricing-footnote {
  margin: 1.25rem 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.pricing-close-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.pricing-close-cta p {
  margin: 0 0 1rem;
  font-size: 15px;
  color: var(--steel);
}

/* CONCEPT_02 components */

.section-head-split {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.section-head-split .section-lead {
  margin: 0;
}

.pricing-toggle-block {
  margin-bottom: 2rem;
}

.pricing-toggle-hint {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--charcoal);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.pricing-toggle-hint-kicker {
  margin: 0;
  flex-shrink: 0;
}

.pricing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 100%;
}

.pricing-toggle button {
  position: relative;
  padding: 11px 16px;
  border: none;
  border-radius: calc(var(--radius-md) - 3px);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.pricing-toggle button.is-active {
  background: var(--brand-green);
  color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.pricing-toggle button:not(.is-active):hover {
  color: var(--ink);
  background: var(--surface-raised);
}

.pricing-toggle button:not(.is-active):active {
  background: rgba(18, 165, 116, 0.12);
}

.pricing-toggle button:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  z-index: 1;
}

.pricing-panel {
  display: none;
}

.pricing-panel.is-active-panel {
  display: block;
}

.pricing-panel[hidden] {
  display: none !important;
}

.pricing-grid--studio {
  display: grid;
  gap: 1rem;
}

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

.pricing-card-studio {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-card-studio.is-featured {
  background: var(--surface-raised);
  border-color: rgba(18, 165, 116, 0.35);
  box-shadow: var(--shadow-featured);
}

.pricing-card-studio.is-featured .pricing-amount {
  color: var(--brand-green);
}

.pricing-card-badge {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--hairline-soft);
}

.pricing-card-badge.is-accent {
  background: var(--brand-green);
  color: var(--on-primary);
  border-bottom: none;
}

.pricing-card-studio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.pricing-card-studio h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.pricing-card-studio .pricing-amount {
  margin: 0 0 1.25rem;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.pricing-card-studio .pricing-amount-note {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--stone);
}

.pricing-card-studio ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pricing-card-studio li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.45;
}

.pricing-card-studio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(-45deg);
}

.pricing-card-studio .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-migration-note {
  margin: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone);
  text-align: center;
}

.pricing-services-teaser {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed rgba(18, 165, 116, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(18, 165, 116, 0.07) 0%,
    var(--surface) 42%,
    var(--surface) 100%
  );
}

.pricing-services-teaser-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .pricing-services-teaser-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.pricing-services-teaser-copy {
  min-width: 0;
}

.pricing-services-teaser-copy .mono-label {
  margin-bottom: 0.75rem;
}

.pricing-services-teaser-title {
  margin: 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.45;
  color: var(--mist);
}

.pricing-services-teaser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-services-teaser-chips li {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(13, 17, 19, 0.45);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.pricing-services-teaser-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.pricing-services-teaser-btn::after {
  content: " →";
  transition: transform 0.15s ease;
  display: inline-block;
}

.pricing-services-teaser-btn:hover::after {
  transform: translateX(3px);
}

/* Launch offer — Essential £29 (was £49) */
.pricing-card-studio.is-launch-offer,
.pricing-card.is-launch-offer {
  position: relative;
}

.pricing-sale-block {
  margin: 0 0 1.25rem;
}

.pricing-amount-was {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--stone);
  text-decoration: line-through;
  text-decoration-color: rgba(201, 210, 214, 0.55);
  line-height: 1;
}

.pricing-amount-was-note {
  font-size: 0.75rem;
  font-weight: 400;
}

.pricing-amount-now {
  margin: 0;
  color: var(--brand-green);
}

.pricing-card-studio.is-launch-offer .pricing-amount-now {
  font-size: 2.5rem;
}

.pricing-card.is-launch-offer .pricing-amount-now {
  font-size: 2rem;
}

.pricing-card-studio.is-launch-offer .pricing-sale-badge {
  position: absolute;
  top: 2.85rem;
  right: 1rem;
  z-index: 1;
}

.pricing-card-studio.is-launch-offer .pricing-card-studio-body h3 {
  padding-right: 4.75rem;
}

.pricing-card.is-launch-offer .pricing-sale-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

.pricing-card.is-launch-offer h3 {
  padding-right: 4.75rem;
}

.pricing-sale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  border: 1.5px solid var(--brand-green);
  border-radius: 50%;
  background: rgba(18, 165, 116, 0.08);
}

.pricing-sale-badge-text {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--brand-green);
}

.pricing-limited-time {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-green);
}

#sectors {
  background-color: #0d1113;
}

.sectors-intro {
  margin-bottom: 1.5rem;
}

.sectors-marquee {
  width: 100%;
}

.sectors-marquee__viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.sectors-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sectors-marquee-scroll 26s linear infinite;
}

.sectors-marquee__row {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0.375rem;
  list-style: none;
}

@keyframes sectors-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.sector-tile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 12.5rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.sector-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--brand-signal);
  border-radius: var(--radius-sm);
  background: #13191d;
}

.sector-icon {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.care-grid {
  display: grid;
  gap: 1rem;
}

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

.care-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.care-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--brand-green);
}

.care-card h3 {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.care-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}

.cta-close {
  text-align: center;
  padding: 80px 0;
}

.home-review-band {
  padding: 56px 0;
  border-block: 1px solid var(--hairline-soft);
  background: var(--canvas);
}

.home-review {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.home-review__layout {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  min-height: 12rem;
}

.home-review__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding-right: 2rem;
  border-right: 1px solid var(--hairline-soft);
}

.home-review__label {
  margin: 0;
}

.home-review__stars {
  display: flex;
  gap: 0.35rem;
  color: var(--brand-signal);
}

.home-review__stars span {
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.home-review__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  min-width: 0;
}

.home-review__quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-review__quote p {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  font-weight: 500;
}

.home-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.home-review__avatar {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(18, 165, 116, 0.14);
  border: 1px solid rgba(18, 165, 116, 0.35);
  color: var(--brand-signal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-review__name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-mist);
  font-style: normal;
}

.home-review__sep {
  color: var(--brand-slate);
  font-size: 0.85rem;
}

.home-review__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-signal);
  text-decoration: none;
}

.home-review__link:hover,
.home-review__link:focus-visible {
  text-decoration: underline;
}

.home-review__nav {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-slate);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.home-review__nav:hover,
.home-review__nav:focus-visible {
  color: var(--brand-paper);
}

.home-review__nav[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .home-review {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-review__nav {
    display: none;
  }

  .home-review__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-height: 0;
  }

  .home-review__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .home-review__quote p {
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
  }
}

.cta-close .section-title {
  max-width: 20ch;
  margin-inline: auto;
}

.cta-close .section-lead {
  margin-inline: auto;
  max-width: 42ch;
}

.cta-close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-band {
  background: var(--canvas);
  border-block: 1px solid var(--hairline);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline);
}

.compare-table {
  background: var(--surface);
}

.pricing-addon {
  background: var(--surface);
}

.availability {
  background: var(--surface);
}

.legal-block {
  background: var(--surface);
}

.case-meta-item {
  background: var(--surface);
}

.store-badge:hover {
  background: var(--surface-raised);
}

.tag-store {
  border-color: rgba(18, 165, 116, 0.35);
  color: var(--brand-green);
  background: rgba(18, 165, 116, 0.08);
}

/* Cookie consent + GA4 */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 16px;
  background: rgba(13, 17, 19, 0.92);
  border-top: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.cookie-consent-title {
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.cookie-consent-desc {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--brand-slate);
}

.cookie-consent-desc a {
  color: var(--brand-green);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  font-size: 0.875rem;
  padding: 10px 18px;
  cursor: pointer;
}

.cookie-consent-actions .cookie-consent-accept {
  background: var(--brand-green);
  color: var(--on-primary);
  border-color: var(--brand-green);
}

.cookie-consent-actions .cookie-consent-accept:hover {
  background: var(--brand-green-deep);
  border-color: var(--brand-green-deep);
  color: var(--on-primary);
}

.cookie-consent-actions .cookie-consent-reject {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.cookie-consent-actions .cookie-consent-reject:hover {
  background: rgba(13, 17, 19, 0.04);
  border-color: var(--steel);
  color: var(--ink);
}

@media (max-width: 640px) {
  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Performance model — pay-as-you-grow booking (scoped) */
.uf-perf {
  --uf-bg: var(--brand-carbon);
  --uf-surface: var(--surface);
  --uf-surface-2: var(--surface-raised);
  --uf-ink: var(--ink);
  --uf-ink-soft: var(--charcoal);
  --uf-ink-faint: var(--steel);
  --uf-line: var(--hairline-soft);
  --uf-accent: var(--brand-signal);
  --uf-accent-ink: var(--on-primary);
  --uf-accent-soft: rgba(18, 165, 116, 0.12);
  --uf-font-display: var(--font);
  --uf-font-body: var(--font);
  --uf-font-mono: var(--font-mono);
  --uf-radius: 16px;
  --uf-radius-sm: 10px;
  --uf-max-width: var(--max-width);

  background: var(--uf-bg);
  color: var(--uf-ink);
  font-family: var(--uf-font-body);
  padding: clamp(64px, 9vw, 120px) 32px;
}

.uf-perf__inner {
  max-width: var(--uf-max-width);
  margin: 0 auto;
}

.uf-perf__eyebrow {
  font-family: var(--uf-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--uf-accent);
  margin: 0 0 24px;
  text-transform: uppercase;
  font-weight: 400;
}

.uf-perf__heading {
  font-family: var(--uf-font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 22ch;
  color: var(--uf-ink);
}

.uf-perf__heading .accent {
  color: var(--uf-accent);
}

.uf-perf__intro-demo {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 56px);
}

@media (min-width: 960px) {
  .uf-perf__intro-demo {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem);
    gap: clamp(32px, 4vw, 56px);
  }
}

.uf-perf__intro .uf-perf__lede {
  margin-bottom: 0;
}

.uf-perf__lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--uf-ink-soft);
  max-width: 62ch;
  margin: 0 0 32px;
}

.uf-perf__demo {
  margin: 0;
  width: 100%;
}

.uf-perf__demo .hero-demo-note {
  font-size: 12px;
  line-height: 1.45;
}

.uf-perf__card {
  background: var(--uf-surface);
  border: 1px solid var(--uf-line);
  border-radius: var(--uf-radius);
  overflow: hidden;
  height: 100%;
}

.uf-perf__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

@media (max-width: 900px) {
  .uf-perf__cards {
    grid-template-columns: 1fr;
  }
}

.uf-perf__banner--enterprise {
  background: var(--uf-surface-2);
  color: var(--uf-ink-soft);
  border-bottom: 1px solid var(--uf-line);
}

.uf-perf__price-num--talk {
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.02em;
}

.uf-perf__card-body--single {
  grid-template-columns: 1fr;
}

.pricing-grid--booking-duo {
  grid-template-columns: 1fr;
}

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

.uf-perf__banner {
  background: var(--uf-accent);
  color: var(--uf-accent-ink);
  font-family: var(--uf-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 32px;
}

.uf-perf__card-body {
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}

@media (max-width: 820px) {
  .uf-perf__card-body {
    grid-template-columns: 1fr;
  }
}

.uf-perf__plan-name {
  font-family: var(--uf-font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--uf-ink);
  margin: 0 0 20px;
}

.uf-perf__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--uf-accent);
  margin-bottom: 16px;
}

.uf-perf__price-num {
  font-family: var(--uf-font-display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.uf-perf__price-unit {
  font-family: var(--uf-font-display);
  font-size: 16px;
  color: var(--uf-ink-soft);
  font-weight: 400;
}

.uf-perf__price-detail {
  font-size: 15px;
  color: var(--uf-ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}

.uf-perf__price-detail b {
  color: var(--uf-ink);
  font-weight: 600;
}

.uf-perf__includes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uf-perf__includes li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--uf-ink-soft);
  padding: 12px 0;
}

.uf-perf__includes li + li {
  border-top: 1px solid var(--uf-line);
}

.uf-perf__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  stroke: var(--uf-accent);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uf-perf__how {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--uf-line);
}

@media (max-width: 820px) {
  .uf-perf__how {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.uf-perf__how-num {
  font-family: var(--uf-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uf-ink-faint);
  margin: 0 0 12px;
}

.uf-perf__how-title {
  font-family: var(--uf-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--uf-ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.uf-perf__how-copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--uf-ink-soft);
  margin: 0;
}

.uf-perf__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.uf-perf__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--uf-accent);
  color: var(--uf-accent-ink);
  text-decoration: none;
  font-family: var(--uf-font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: var(--uf-radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.uf-perf__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px var(--uf-accent-soft);
  color: var(--uf-accent-ink);
}

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

.uf-perf__cta-arrow {
  transition: transform 200ms ease;
}

.uf-perf__cta:hover .uf-perf__cta-arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .uf-perf__cta,
  .uf-perf__cta-arrow {
    transition: none;
  }

  .uf-perf__cta:hover {
    transform: none;
  }
}

.uf-perf__note {
  font-family: var(--uf-font-mono);
  font-size: 14px;
  color: var(--uf-ink-faint);
  margin: 0;
  line-height: 1.6;
}

.performance-teaser {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.performance-teaser-title {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.performance-teaser-copy {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  max-width: 52ch;
}

.performance-teaser-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-signal);
}

.performance-teaser-link:hover {
  color: var(--brand-green-deep);
}

/* UF Labs deploy stamp (updated by stamp-asset-version.mjs on ship) */
.site-build-stamp {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.32);
  margin: 0.75rem 0 0;
  text-align: center;
}

/* UF Labs Helper widget */
.uf-helper {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  font-size: 0.9375rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.uf-helper > * {
  pointer-events: auto;
}

.uf-helper-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 1px solid rgba(18, 165, 116, 0.45);
  border-radius: 50%;
  background: var(--brand-signal);
  color: var(--brand-carbon);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(18, 165, 116, 0.12);
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.uf-helper-launcher:hover {
  transform: scale(1.05);
  background: var(--brand-green-deep);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(18, 165, 116, 0.2);
}

.uf-helper-launcher:focus-visible {
  outline: 2px solid var(--brand-paper);
  outline-offset: 3px;
}

.uf-helper-launcher-svg {
  display: block;
}

.uf-helper.is-open .uf-helper-launcher {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.uf-helper-panel {
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100vh - 6rem));
  display: none;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(0.75rem) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.uf-helper.is-open .uf-helper-panel {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.uf-helper-panel[hidden] {
  display: none !important;
}

.uf-helper-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--surface-raised);
}

.uf-helper-title strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.uf-helper-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.uf-helper-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.uf-helper-status {
  margin: 0;
  padding: 0.65rem 1rem 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.uf-helper-log {
  flex: 1 1 auto;
  min-height: 8rem;
  max-height: 14rem;
  overflow: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uf-helper-msg {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  line-height: 1.45;
  white-space: pre-wrap;
}

.uf-helper-msg--assistant {
  align-self: flex-start;
  background: var(--surface-raised);
  color: var(--charcoal);
  border: 1px solid var(--hairline-soft);
}

.uf-helper-msg--user {
  align-self: flex-end;
  background: rgba(18, 165, 116, 0.16);
  color: var(--ink);
  border: 1px solid rgba(18, 165, 116, 0.35);
}

.uf-helper-form {
  padding: 0 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uf-helper-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 3rem;
  max-height: 8rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--brand-carbon);
  color: var(--ink);
  font: inherit;
}

.uf-helper-form-actions {
  display: flex;
  justify-content: flex-end;
}

.uf-helper-send {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

.uf-helper-handoff {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.75rem;
}

.uf-helper-wa,
.uf-helper-form-toggle {
  font-size: 0.8125rem;
}

.uf-helper-form-toggle {
  border: 0;
  background: transparent;
  color: var(--brand-green);
  text-decoration: underline;
  cursor: pointer;
  padding: 0.45rem 0.25rem;
  font: inherit;
}

.uf-helper-lead {
  padding: 0 1rem 0.75rem;
}

.uf-helper-lead-intro {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.uf-helper-lead-form .form-field {
  margin-bottom: 0.65rem;
}

.uf-helper-lead-form .form-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
}

.uf-helper-lead-form input,
.uf-helper-lead-form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--brand-carbon);
  color: var(--ink);
  font: inherit;
}

.uf-helper-back-chat {
  margin-top: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
}

.uf-helper-lead-ok {
  font-size: 0.875rem;
  color: var(--brand-green);
}

.uf-helper-foot {
  margin: 0;
  padding: 0.5rem 1rem 0.75rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.35;
}

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

@media (max-width: 480px) {
  .uf-helper {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .uf-helper-launcher {
    width: 3.25rem;
    height: 3.25rem;
  }

  .uf-helper-panel {
    width: min(22rem, calc(100vw - 1.5rem));
    max-height: min(28rem, calc(100vh - 5rem));
  }
}

/* Homepage work preview + portfolio grid (Freestyle-inspired) */
.work-preview-band {
  padding-bottom: 3.5rem;
}

.work-preview-header {
  margin-bottom: 2rem;
}

.work-preview-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.work-preview-lead {
  max-width: 42ch;
  margin-bottom: 0;
}

.work-preview-footer {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

.page-hero-band--portfolio h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}

.project-grid-section {
  padding-block: 0 4.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-grid--home {
  padding: 0;
  max-width: none;
}

.work-preview-band .project-grid--home {
  padding-inline: 0;
}

.project-grid-footnote {
  margin-top: 2.5rem;
}

.project-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--hairline-soft);
  background: linear-gradient(145deg, #171e23 0%, #0d1113 100%);
  box-shadow: var(--shadow-mockup);
}

/* Per-project hover canvas colour + layout (Freestyle-style) */
.project-card--nuumey {
  --card-hover-bg: linear-gradient(152deg, #2d4a32 0%, #1a2e1f 48%, #142218 100%);
}

.project-card--nuumey .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.22;
}

.project-card--street-croft-farm {
  --card-hover-bg: linear-gradient(152deg, #4a6741 0%, #2f4530 52%, #243828 100%);
}

.project-card--street-croft-farm .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.1;
}

.project-card--street-croft-farm .project-card__thumb--default::after {
  background: linear-gradient(
    165deg,
    rgba(8, 10, 12, 0.04) 0%,
    rgba(8, 10, 12, 0.14) 48%,
    rgba(8, 10, 12, 0.26) 100%
  );
  box-shadow: inset 0 0 48px rgba(12, 10, 8, 0.12);
}

.project-card--golden-lion {
  --card-hover-bg: linear-gradient(152deg, #6b4a28 0%, #4a3218 50%, #352410 100%);
}

.project-card--golden-lion .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.22;
}

.project-card--tnt-family-fitness {
  --card-hover-bg: linear-gradient(152deg, #8377b4 0%, #6b5f96 48%, #1f2440 100%);
}

.project-card--surrey-hampshire-iv-therapy {
  --card-hover-bg: linear-gradient(152deg, #8a9070 0%, #6d7356 48%, #3f4a33 100%);
}

.project-card--tnt-family-fitness .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.28;
}

.project-card--surrey-hampshire-iv-therapy .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.24;
}

.project-card--bc-designs {
  --card-hover-bg: linear-gradient(152deg, #f4a6c0 0%, #d76d94 46%, #201f3d 100%);
}

.project-card--bc-designs .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.22;
}

.project-card--tgb-management-services {
  --card-hover-bg: linear-gradient(152deg, #2a4568 0%, #1a2f4a 52%, #142338 100%);
}

.project-card--tgb-management-services .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.22;
}

.project-card--ih-build {
  --card-hover-bg: linear-gradient(152deg, #6b4a3a 0%, #4a3228 50%, #36241c 100%);
}

.project-card--ih-build .project-card__thumb--default::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-hover-bg);
  opacity: 0.22;
}

.project-card {
  --card-fade-duration: 1.5s;
  --card-fade-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --card-device-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --card-device-duration: 1.15s;
  --card-device-delay: 0.55s;
  --card-phone-delay: 0.58s;
}

.project-card__thumb {
  position: absolute;
  inset: 0;
  transition: opacity var(--card-fade-duration) var(--card-fade-ease);
}

.project-card__thumb--default {
  opacity: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__thumb--default::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    165deg,
    rgba(8, 10, 12, 0.04) 0%,
    rgba(8, 10, 12, 0.16) 52%,
    rgba(8, 10, 12, 0.28) 100%
  );
  transition: opacity var(--card-fade-duration) var(--card-fade-ease);
}

.project-card__thumb-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.88;
  filter: saturate(1) brightness(1.05);
  transform: scale(1.04);
  transition:
    opacity var(--card-fade-duration) var(--card-fade-ease),
    transform calc(var(--card-fade-duration) + 0.1s) var(--card-fade-ease),
    filter var(--card-fade-duration) var(--card-fade-ease);
}

.project-card--nuumey .project-card__thumb-bg {
  object-fit: contain;
  object-position: center center;
  opacity: 0.72;
  transform: scale(0.8);
  filter: saturate(1) brightness(1.05);
}

.project-card--tgb-management-services .project-card__thumb-bg {
  object-position: center 12%;
  opacity: 0.86;
  filter: saturate(1) brightness(1.02);
}

.project-card--street-croft-farm .project-card__thumb-bg {
  object-position: center 38%;
  opacity: 0.95;
  filter: saturate(1.05) brightness(1.12) contrast(1.03);
  transform: scale(1.04);
}

.project-card--golden-lion .project-card__thumb-bg,
.project-card--tnt-family-fitness .project-card__thumb-bg,
.project-card--surrey-hampshire-iv-therapy .project-card__thumb-bg,
.project-card--ih-build .project-card__thumb-bg {
  object-position: center center;
  opacity: 0.9;
  filter: saturate(1) brightness(1.06);
}

.project-card__logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56%;
  max-width: 200px;
  padding: 0.35rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
  transition:
    transform var(--card-fade-duration) var(--card-fade-ease),
    opacity calc(var(--card-fade-duration) - 0.1s) var(--card-fade-ease);
}

.project-card__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.project-card--nuumey .project-card__logo {
  width: 58%;
  max-width: 360px;
}

.project-card--nuumey .project-card__logo img {
  max-height: 96px;
}

.project-card--street-croft-farm .project-card__logo {
  width: 40%;
  max-width: 128px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.project-card--street-croft-farm .project-card__logo img {
  max-height: 128px;
}

.project-card--golden-lion .project-card__logo {
  width: 56%;
  max-width: 256px;
}

.project-card--golden-lion .project-card__logo img {
  max-height: 256px;
}

.project-card--tnt-family-fitness .project-card__logo {
  width: 34%;
  max-width: 148px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.project-card--tnt-family-fitness .project-card__logo img {
  max-height: 200px;
}

.project-card--surrey-hampshire-iv-therapy .project-card__logo {
  width: 72%;
  max-width: 320px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.project-card--surrey-hampshire-iv-therapy .project-card__logo img {
  max-height: 88px;
}

.project-card--bc-designs .project-card__logo {
  width: 68%;
  max-width: 280px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
}

.project-card--bc-designs .project-card__logo img {
  max-height: 96px;
}

.project-card--tgb-management-services .project-card__logo,
.project-card--ih-build .project-card__logo {
  width: 64%;
  max-width: 480px;
}

.project-card--tgb-management-services .project-card__logo img,
.project-card--ih-build .project-card__logo img {
  max-height: 144px;
}

.project-card__link:hover .project-card__thumb-bg,
.project-card__link:focus-visible .project-card__thumb-bg {
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(1) brightness(0.5);
}

.project-card__link:hover .project-card__thumb--default::after,
.project-card__link:focus-visible .project-card__thumb--default::after {
  opacity: 0;
}

.project-card__link:hover .project-card__logo,
.project-card__link:focus-visible .project-card__logo {
  opacity: 0;
  transform: scale(0.96);
}

.project-card__thumb--hover {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  background: var(--card-hover-bg, linear-gradient(152deg, #243040 0%, #151c24 100%));
  pointer-events: none;
  transition:
    opacity var(--card-fade-duration) var(--card-fade-ease),
    visibility 0s linear var(--card-fade-duration);
}

.project-card__devices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding: 1.1rem 1rem;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--card-device-duration) var(--card-fade-ease),
    transform var(--card-device-duration) var(--card-device-ease);
  transition-delay: 0s;
  will-change: opacity, transform;
}

.project-card__link:hover .project-card__thumb--hover .project-card__devices,
.project-card__link:focus-visible .project-card__thumb--hover .project-card__devices {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: var(--card-device-delay);
}

.project-card__desktop,
.project-card__phone {
  transition: transform var(--card-device-duration) var(--card-device-ease);
}

.project-card__desktop {
  flex: 0 1 68%;
  max-width: 68%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.project-card__browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: #1a2126;
  border-bottom: 1px solid var(--hairline-soft);
}

.project-card__browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hairline);
}

.project-card__desktop img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.project-card__phone {
  flex: 0 0 22%;
  max-width: 22%;
  max-height: 82%;
  align-self: center;
  padding: 4px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

/* Layout A: desktop left, phone right (default) */
.project-card--hover-duo .project-card__devices {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding-inline: 1.15rem;
}

.project-card--hover-duo .project-card__desktop {
  flex: 0 1 66%;
  max-width: 66%;
}

.project-card--hover-duo .project-card__phone {
  flex: 0 0 23%;
  max-width: 23%;
  max-height: 84%;
}

/* Layout B: phone left, desktop right */
.project-card--hover-flip .project-card__devices {
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.85rem;
  padding-inline: 1.15rem;
}

.project-card--hover-flip .project-card__desktop {
  flex: 0 1 66%;
  max-width: 66%;
}

.project-card--hover-flip .project-card__phone {
  flex: 0 0 23%;
  max-width: 23%;
  max-height: 84%;
}

.project-card--hover-flip .project-card__link:hover .project-card__thumb--hover .project-card__phone,
.project-card--hover-flip .project-card__link:focus-visible .project-card__thumb--hover .project-card__phone {
  transform: translateY(0) scale(1);
}

/* Layout C: desktop hero with phone tucked in corner (Golden Lion) */
.project-card--hover-stack .project-card__devices {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.25rem 1.25rem;
}

.project-card--hover-stack .project-card__desktop {
  flex: none;
  width: 76%;
  max-width: 76%;
  margin-inline: auto;
}

.project-card--hover-stack .project-card__phone {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 22%;
  max-width: 22%;
  max-height: none;
  flex: none;
  margin: 0;
  z-index: 2;
}

.project-card--hover-stack .project-card__link:hover .project-card__thumb--hover .project-card__phone,
.project-card--hover-stack .project-card__link:focus-visible .project-card__thumb--hover .project-card__phone {
  transform: translateY(0) scale(1);
}

/* Layout D: desktop left, phone overlapping on the right (Nuumey) */
.project-card--hover-phone-forward .project-card__devices {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.1rem 1.35rem 1.1rem 1.1rem;
}

.project-card--hover-phone-forward .project-card__desktop {
  flex: 0 0 70%;
  max-width: 70%;
  margin-left: 0;
}

.project-card--hover-phone-forward .project-card__phone {
  flex: 0 0 23%;
  max-width: 23%;
  max-height: 86%;
  margin-left: -8%;
  z-index: 2;
  align-self: flex-end;
  margin-bottom: 0.35rem;
}

.project-card--hover-phone-forward .project-card__link:hover .project-card__thumb--hover .project-card__desktop,
.project-card--hover-phone-forward .project-card__link:focus-visible .project-card__thumb--hover .project-card__desktop {
  transform: translateY(0) scale(1);
}

.project-card--hover-phone-forward .project-card__link:hover .project-card__thumb--hover .project-card__phone,
.project-card--hover-phone-forward .project-card__link:focus-visible .project-card__thumb--hover .project-card__phone {
  transform: translateY(0) scale(1);
}

/* Layout E: desktop wide, phone anchored corner */
.project-card--hover-offset .project-card__devices {
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.25rem 1.25rem;
}

.project-card--hover-offset .project-card__desktop {
  flex: none;
  width: 78%;
  max-width: 78%;
  margin-inline: auto;
}

.project-card--hover-offset .project-card__phone {
  position: absolute;
  right: 7%;
  bottom: 7%;
  flex: none;
  width: 22%;
  max-width: 22%;
  max-height: none;
}

.project-card--hover-offset .project-card__link:hover .project-card__thumb--hover .project-card__phone,
.project-card--hover-offset .project-card__link:focus-visible .project-card__thumb--hover .project-card__phone {
  transform: translateY(0) scale(1);
}

.project-card__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

.project-card__link:hover .project-card__thumb--default,
.project-card__link:focus-visible .project-card__thumb--default {
  opacity: 0;
  transition-duration: var(--card-fade-duration);
}

.project-card__link:hover .project-card__thumb--hover,
.project-card__link:focus-visible .project-card__thumb--hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--card-fade-duration) var(--card-fade-ease),
    visibility 0s;
}

.project-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-inline: 0.1rem;
}

.project-card__title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  transition: color 0.2s ease;
}

.project-card__sector {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-slate);
}

.project-card__link:hover .project-card__title,
.project-card__link:focus-visible .project-card__title {
  color: var(--brand-signal);
}

/* Case study — Freestyle-style editorial layout */
.case-editorial {
  color: var(--on-dark);
}

.case-editorial__intro {
  padding: 3rem 0 2rem;
  text-align: center;
}

.case-editorial__intro .breadcrumb {
  justify-content: center;
}

.case-editorial__intro h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-paper);
}

.case-editorial__lede {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-mist);
}

.case-editorial__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.case-editorial__showreel-wrap {
  margin-bottom: 2.5rem;
}

.case-showreel {
  max-width: 900px;
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: #0d1113;
  box-shadow: var(--shadow-mockup);
}

.case-showreel__video {
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 59.57;
  object-fit: cover;
  background: #000;
}

.case-showreel__video:not([hidden]) {
  display: block;
}

.case-showreel__video[hidden] {
  display: none;
}

.case-showreel:has(.case-showreel__video:not([hidden])) .case-device-preview {
  display: none;
}

.case-device-preview {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(1rem, 3vw, 1.75rem);
  min-height: 280px;
  background: var(--case-preview-bg, linear-gradient(160deg, #243040 0%, #151c24 55%, #10161c 100%));
}

.case-editorial--nuumey {
  --case-preview-bg: linear-gradient(160deg, #2d4a32 0%, #1a2e1f 55%, #142218 100%);
  --case-spotlight-bg: #6b8f71;
}

.case-editorial--street-croft-farm {
  --case-preview-bg: linear-gradient(160deg, #4a6741 0%, #2f4530 55%, #243828 100%);
  --case-spotlight-bg: #5c7352;
}

.case-editorial--golden-lion {
  --case-preview-bg: linear-gradient(160deg, #6b4a28 0%, #4a3218 55%, #352410 100%);
  --case-spotlight-bg: #9a7348;
}

.case-editorial--tnt-family-fitness {
  --case-preview-bg: linear-gradient(160deg, #8377b4 0%, #6b5f96 52%, #1f2440 100%);
  --case-spotlight-bg: #a89fd4;
}

.case-editorial--surrey-hampshire-iv-therapy {
  --case-preview-bg: linear-gradient(160deg, #8a9070 0%, #6d7356 55%, #3f4a33 100%);
  --case-spotlight-bg: #b0b69a;
}

.case-editorial--tgb-management-services {
  --case-preview-bg: linear-gradient(160deg, #2a4568 0%, #1a2f4a 55%, #142338 100%);
  --case-spotlight-bg: #4a8fa0;
}

.case-editorial--ih-build {
  --case-preview-bg: linear-gradient(160deg, #6b4a3a 0%, #4a3228 55%, #36241c 100%);
  --case-spotlight-bg: #8b6352;
}

.case-editorial--bc-designs {
  --case-preview-bg: linear-gradient(160deg, #f5d4dc 0%, #e7a8b8 55%, #c9869a 100%);
  --case-spotlight-bg: #c9869a;
}

.case-device-preview--hero {
  min-height: clamp(280px, 42vw, 420px);
}

.case-device-preview__desktop {
  flex: 1 1 72%;
  max-width: 72%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.case-device-preview__desktop .browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline-soft);
}

.case-device-preview__desktop .browser-chrome span:nth-child(-n + 3) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hairline);
}

.case-device-preview__desktop .browser-url {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}

.case-device-preview__desktop img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.case-device-preview__phone {
  flex: 0 0 min(20%, 118px);
  padding: 7px;
  border-radius: 20px;
  background: #111;
  border: 1px solid #2a2a2a;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  transform: translateY(10px);
}

.case-device-preview__phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
}

/* Case study — inline Freestyle-style 3D mobile spotlight */
.case-editorial__spotlight-wrap {
  margin: 0 0 3.5rem;
}

.case-mobile-spotlight {
  max-width: 920px;
  margin-inline: auto;
}

.case-mobile-spotlight__stage {
  position: relative;
  min-height: clamp(300px, 52vh, 520px);
  border-radius: 18px;
  overflow: visible;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--hairline-soft);
  isolation: isolate;
}

.case-mobile-spotlight__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--case-spotlight-bg, #5c7352);
}

.case-mobile-spotlight__viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.25rem, 6vw, 3.75rem) 1.5rem;
  overflow: visible;
}

/* Single pre-baked PNG — angle + shadow + screen (render-case-spotlight-2d.mjs) */
.case-mobile-spotlight__static {
  display: block;
  width: min(380px, 64vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(22px 28px 34px rgba(0, 0, 0, 0.38));
}

.case-editorial__body {
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--brand-mist);
}

.case-editorial__body p {
  margin: 0 0 1.25rem;
}

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

.case-gallery {
  margin: 2rem 0;
}

.case-gallery--duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--hairline-soft);
}

.case-quote {
  margin: 2.5rem auto;
  padding: 0;
  border: 0;
  text-align: center;
  max-width: 38rem;
}

.case-quote:not(.case-quote--has-content) {
  display: none;
}

.case-quote__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  color: var(--brand-signal);
  opacity: 0.85;
}

.case-quote__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  font-style: italic;
}

.case-quote__body {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--brand-mist);
  font-style: italic;
}

.case-quote__cite {
  display: block;
  font-size: 0.9375rem;
  font-style: normal;
  color: var(--brand-slate);
}

.case-related {
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--hairline-soft);
}

.case-related__header {
  text-align: center;
  margin-bottom: 2rem;
}

.case-related__header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--brand-paper);
}

.case-related__header p {
  margin: 0;
  color: var(--brand-slate);
  font-size: 0.9375rem;
}

.case-related .project-grid {
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }

  .case-gallery--duo {
    grid-template-columns: 1fr;
  }

  .case-device-preview__desktop {
    max-width: 62%;
  }

  .case-device-preview__phone {
    flex-basis: 24%;
  }
}

@media (max-width: 640px) {
  .work-preview-header__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-preview-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sectors-marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .sectors-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding-inline: 1rem;
  }

  .sectors-marquee__row[aria-hidden="true"] {
    display: none;
  }

  .sectors-marquee__row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .project-card__thumb,
  .project-card__thumb--default img,
  .project-card__desktop,
  .project-card__phone {
    transition: none;
  }

  .project-card__thumb--hover .project-card__desktop,
  .project-card__thumb--hover .project-card__phone {
    opacity: 1;
    transform: none;
  }

  .project-card__link:hover .project-card__thumb--default,
  .project-card__link:focus-visible .project-card__thumb--default {
    opacity: 0;
  }

  .project-card__link:hover .project-card__thumb--hover,
  .project-card__link:focus-visible .project-card__thumb--hover {
    opacity: 1;
    transition-delay: 0s;
  }

  .case-mobile-spotlight__static {
    width: min(280px, 78vw);
  }

  .uf-helper-launcher,
  .uf-helper-panel {
    transition: none;
  }
}

/* Homepage #pricing — Build Your Stack teaser (2026-07-26) */
.pricing-steps-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.pricing-steps-preview .mono-label {
  margin-bottom: 0;
}

.pricing-stack-cta {
  margin-top: 0.5rem;
}

.pricing-stack-cta-secondary {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--steel);
}

.pricing-stack-cta-secondary a {
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Homepage pricing summary + Services category jump (2026-07-26: grid removed from
   index.html in favour of the Build Your Stack teaser above; rules kept in case a
   future page reuses the card pattern). */
.pricing-summary-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.pricing-summary-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

@media (min-width: 1024px) {
  .pricing-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pricing-summary-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  background: var(--surface-raised, rgba(255, 255, 255, 0.03));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pricing-summary-card .mono-label {
  margin-bottom: 0;
  color: var(--brand-green);
  border-color: rgba(18, 165, 116, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pricing-summary-card:hover .mono-label,
.pricing-summary-card:focus-visible .mono-label {
  color: var(--stone);
  border-color: var(--hairline);
}

.pricing-summary-card:hover,
.pricing-summary-card:focus-visible {
  border-color: var(--brand-signal, #c8f27d);
  transform: translateY(-2px);
}

.pricing-summary-card--featured {
  border-color: color-mix(in srgb, var(--brand-signal, #c8f27d) 55%, transparent);
}

.pricing-summary-card--cta {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--border-subtle, rgba(255, 255, 255, 0.12)) 80%, var(--brand-signal, #c8f27d));
  background: color-mix(in srgb, var(--surface-raised, rgba(255, 255, 255, 0.03)) 92%, transparent);
}

.pricing-summary-card--cta:hover,
.pricing-summary-card--cta:focus-visible {
  border-style: solid;
}

.pricing-summary-cta {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-green);
}

.pricing-summary-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pricing-summary-desc {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.88;
}

.sectors-intro__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sectors-intro__row .section-title {
  margin: 0;
}

.process-care-bridge {
  margin-top: 2.5rem;
}

.services-category-nav {
  position: sticky;
  top: 4.5rem;
  z-index: 5;
  padding: 0.75rem 0;
  background: color-mix(in srgb, var(--bg, #0d1113) 92%, transparent);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(8px);
}

.services-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-category-nav__list a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.services-category-nav__list a:hover,
.services-category-nav__list a:focus-visible {
  border-color: var(--brand-signal, #c8f27d);
}

.plan-includes-disclosure {
  margin-top: 2.5rem;
}
