:root {
  --ink: #414042;
  --ink-2: #2c2b2d;
  --foam: #ffffff;
  --foam-2: #e7f8fd;
  --flash: #00aeef;
  --flash-2: #0094cc;
  --leaf: #0db14b;
  --coral: #0db14b;
  --mist: #e7f8fd;
  --white: #ffffff;
  --line: rgba(65, 64, 66, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(65, 64, 66, 0.16);
  --grad: linear-gradient(90deg, #0db14b 0%, #00aeef 100%);
  --radius: 28px;
  --radius-sm: 16px;
  --nav-h: 84px;
  --nav-gap: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesk", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-ui: "Bricolage Grotesk", system-ui, sans-serif;
  --max: 1280px;
  --heading-eyebrow: color-mix(in srgb, var(--ink) 56%, white);
  --z-nav: 50;
  --z-nav-dropdown: 60;
  --z-cursor-dot: 99999;
  --z-cursor-ring: 99998;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background: var(--white);
}

body {
  font-family: var(--font-body);
  background: var(--foam);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1.125rem;
  overflow-x: hidden;
}

body.has-cursor {
  cursor: none;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open .nav {
  z-index: 100;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--flash);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 10060;
}

.skip:focus {
  top: 16px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor,
.cursor-plus {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  will-change: left, top, transform;
  z-index: var(--z-cursor-ring);
}

.cursor.is-live {
  z-index: var(--z-cursor-dot) !important;
}

.cursor-plus.is-live {
  z-index: var(--z-cursor-ring) !important;
}

body.has-cursor .cursor.is-live {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--flash);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.18);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

body.has-cursor .cursor.is-live.is-hover {
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 0 2px var(--flash);
}

body.has-cursor .cursor-plus.is-live {
  display: block;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--flash);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s, border-color 0.25s;
}

body.has-cursor .cursor-plus.is-live.is-hover {
  width: 22px;
  height: 22px;
  opacity: 0.35;
  border-color: #fff;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 32px), 1480px);
  margin-inline: auto;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.loader-mark {
  display: grid;
  place-items: center;
  gap: 18px;
  text-align: center;
}

.loader-plus {
  width: 84px;
  height: 84px;
  border-radius: 40% 48% 42% 50%;
  background: var(--grad);
  position: relative;
  animation: spin-slow 3s linear infinite;
}

.loader-logo {
  width: min(373px, 91vw);
  height: auto;
  display: block;
}

.loader-plus::before,
.loader-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 4px;
}

.loader-plus::before {
  width: 42px;
  height: 10px;
  top: 37px;
  left: 21px;
}

.loader-plus::after {
  width: 10px;
  height: 42px;
  left: 37px;
  top: 21px;
}

.loader-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
}

.loader-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  width: 0;
  background: var(--grad);
}

/* Nav */
.nav {
  position: fixed;
  top: var(--nav-gap);
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  mix-blend-mode: normal;
  overflow: visible;
}

.nav-inner {
  width: min(calc(100% - 32px), 1480px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 174, 239, 0.16);
  box-shadow: 0 10px 40px rgba(0, 174, 239, 0.08);
  transition: padding 0.45s var(--ease);
}

.nav.is-scrolled .nav-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.05rem;
}

.logo img,
.logo svg {
  height: 70px;
  width: auto;
  max-width: 330px;
  display: block;
  transform-origin: left center;
  transition: height 0.45s var(--ease), max-width 0.45s var(--ease);
}

.nav.is-scrolled .logo img,
.nav.is-scrolled .logo svg {
  height: 52px;
  max-width: 250px;
}

.footer-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  margin-bottom: 12px;
}

.footer-plus-caring-link {
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 8px;
  transition: opacity 0.25s var(--ease);
}

.footer-plus-caring-link:hover {
  opacity: 0.82;
}

.footer-plus-caring-link:focus-visible {
  outline: 2px solid var(--flash);
  outline-offset: 4px;
}

.footer-plus-caring {
  display: block;
  width: 148px;
  height: auto;
  max-width: 100%;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.55;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links > a {
  position: relative;
  z-index: 5;
}

.nav-item > a {
  position: relative;
}

.nav-links > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.35s var(--ease);
}

.nav-links > a:hover::after,
.nav-links > a.is-active::after,
.nav-item:hover > a::after,
.nav-item > a.is-active::after,
.nav-item:focus-within > a::after {
  width: 100%;
}

.nav-item {
  position: relative;
  z-index: 4;
}

.nav-item:hover,
.nav-item:focus-within {
  z-index: 10;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 48px;
  pointer-events: none;
}

.nav-item:hover::after,
.nav-item:focus-within::after {
  pointer-events: auto;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.nav-item > a svg {
  width: 9px;
  height: 9px;
  transition: transform 0.3s var(--ease);
}

.nav-item:hover > a svg,
.nav-item:focus-within > a svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  width: min(820px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  padding: 16px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 174, 239, 0.14);
  box-shadow: 0 22px 50px rgba(65, 64, 66, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0s linear 0.18s;
  z-index: var(--z-nav-dropdown);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 28px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--flash);
  background: #e7f8fd;
  transform: translateX(3px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

@media (min-width: 981px) {
  .nav-phone {
    font-size: 1.12rem;
    letter-spacing: -0.035em;
  }

  .nav-phone .icon-bubble {
    width: 46px;
    height: 46px;
  }

  .nav-phone .icon-bubble svg {
    width: 20px;
    height: 20px;
  }
}

.nav-phone:hover {
  color: var(--flash);
}

.icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: #e7f8fd;
  color: var(--flash);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}

.icon-bubble svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-phone .icon-bubble,
.socials a,
.footer-line .icon-bubble {
  background: #e7f8fd;
  color: var(--flash);
}

.nav-phone:hover .icon-bubble,
.footer-line:hover .icon-bubble,
.socials a:hover {
  transform: translateY(-5px) rotate(-8deg) scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 174, 239, 0.2);
}

.nav-phone:hover .icon-bubble,
.footer-line:hover .icon-bubble,
.socials a:hover {
  background: var(--flash);
  color: var(--white);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-line .icon-bubble {
  width: 36px;
  height: 36px;
}

.footer-line .icon-bubble svg {
  width: 16px;
  height: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}

.btn[hidden] {
  display: none !important;
}

.btn:hover {
  transform: translateY(-2px) rotate(-0.4deg);
}

.btn-flash {
  background: var(--flash);
  color: var(--white);
}

.btn-ink {
  background: var(--leaf);
  color: var(--white);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.58) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: quote-shimmer 5s ease-in-out infinite;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.btn-shimmer > * {
  position: relative;
  z-index: 2;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-ghost {
  border: 1.5px solid currentColor;
  background: transparent;
}

.hero .btn-ghost {
  border-color: var(--flash);
  color: var(--flash);
  background: #fff;
}

.hero .btn-ghost:hover {
  background: var(--flash);
  color: #fff;
}

.btn-lg {
  padding: 18px 28px;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--flash);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--white);
  transition: 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 26px;
}

body.is-nav-open .nav-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

body.is-nav-open .nav-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  color: var(--ink);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 108px 24px 24px;
  gap: 20px;
  transform: translateY(-102%);
  transition: transform 0.7s var(--ease);
}

body.is-nav-open .mobile-nav {
  transform: none;
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.15;
  border-bottom: 1px solid rgba(0, 174, 239, 0.2);
  padding: 9px 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--flash);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 8px;
}

.mobile-nav-actions .btn {
  width: 100%;
  padding: 14px 10px;
  font-size: 0.92rem;
}

.mobile-nav-actions .btn svg {
  flex-shrink: 0;
  display: block;
}

.mobile-nav-actions .btn-ghost {
  border-color: var(--flash);
  color: var(--flash);
  background: #fff;
}

/* Hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-gap) + var(--nav-h) + 48px) 0 70px;
  background: #fff;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(circle at 82% 14%, rgba(0, 174, 239, 0.2), transparent 30%),
    radial-gradient(circle at 48% 28%, rgba(13, 177, 75, 0.14), transparent 26%),
    radial-gradient(circle at 22% 18%, rgba(0, 174, 239, 0.1), transparent 24%);
  animation: wash-drift 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(58vw, 680px);
  height: min(58vw, 680px);
  left: 32%;
  top: -12%;
  background: radial-gradient(circle, rgba(13, 177, 75, 0.24), transparent 64%);
  animation: green-wander 24s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100svh - var(--nav-h) - var(--nav-gap) - 80px);
  position: relative;
  z-index: 2;
}

.hero-grid > div:first-child {
  position: relative;
  z-index: 3;
}

.kicker {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--heading-eyebrow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.07em;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  margin: 18px 0 10px;
}

.hero h1 .swap {
  display: flex;
  align-items: flex-end;
  color: var(--flash);
  height: 1.18em;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.hero h1 .swap span {
  display: block;
  line-height: 1.05;
  padding-bottom: 0.06em;
}

.hero-copy {
  max-width: 42ch;
  font-size: 1.28rem;
  color: color-mix(in srgb, var(--ink) 72%, white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.price-note {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  transform: rotate(-8deg);
  color: var(--flash);
}

.hero-card {
  background: transparent;
  border-radius: 36px;
  padding: 0;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 86%;
  border-radius: 36px;
  position: absolute;
  inset: 0;
}

.hero-card .chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: var(--white);
  border-radius: 20px;
  padding: 16px 18px;
  max-width: 240px;
  z-index: 2;
}

.hero-card .chip strong {
  font-family: var(--font-display);
  display: block;
  letter-spacing: -0.04em;
}

.hero-card .chip span {
  font-size: 0.92rem;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-bubbles i {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 174, 239, 0.18);
  background: rgba(0, 174, 239, 0.06);
  will-change: transform;
  animation: bubble-a 10s ease-in-out infinite;
}

.hero-bubbles i:nth-child(odd) {
  border-color: rgba(13, 177, 75, 0.16);
  background: rgba(13, 177, 75, 0.05);
}

.hero-bubbles i:nth-child(1) { width: 180px; height: 180px; right: 8%; top: 6%; animation: bubble-a 12s ease-in-out infinite; }
.hero-bubbles i:nth-child(2) { width: 70px; height: 70px; right: 28%; top: 18%; animation: bubble-b 8s ease-in-out infinite; }
.hero-bubbles i:nth-child(3) { width: 120px; height: 120px; right: 4%; bottom: 18%; animation: bubble-c 14s ease-in-out infinite; }
.hero-bubbles i:nth-child(4) { width: 36px; height: 36px; right: 22%; bottom: 28%; animation: bubble-b 7s ease-in-out infinite reverse; }
.hero-bubbles i:nth-child(5) { width: 90px; height: 90px; left: 6%; top: 22%; animation: bubble-a 11s ease-in-out infinite reverse; }
.hero-bubbles i:nth-child(6) { width: 48px; height: 48px; left: 6%; top: 38%; animation: bubble-c 9s ease-in-out infinite; }
.hero-bubbles i:nth-child(7) { width: 24px; height: 24px; left: 42%; top: 12%; animation: bubble-b 6s ease-in-out infinite; }
.hero-bubbles i:nth-child(8) { width: 56px; height: 56px; right: 38%; bottom: 8%; animation: bubble-a 13s ease-in-out infinite reverse; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  z-index: 1;
}

.scroll-hint i {
  display: block;
  width: 1px;
  height: 32px;
  margin: 8px auto 0;
  background: var(--ink);
  animation: drip 1.6s var(--ease) infinite;
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--grad);
  color: var(--white);
  padding: 18px 0;
  border-block: 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: clamp(1.3rem, 3vw, 2rem);
  text-transform: uppercase;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.marquee-track span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 4px 6px 0 0 rgba(255, 255, 255, 0.4);
}

/* Partner logo marquee (borderless infinite scroll) */
.logo-marquee-section {
  padding-bottom: clamp(56px, 8vw, 88px);
}

.logo-marquee-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.logo-marquee-head h2 {
  max-width: 22ch;
  text-wrap: balance;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.logo-marquee-track img {
  display: block;
  flex: 0 0 auto;
  height: 120px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
  opacity: 0.88;
  filter: grayscale(0.15);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.logo-marquee-track img:hover {
  opacity: 1;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    mask-image: none;
    overflow: visible;
  }

  .logo-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    gap: clamp(24px, 4vw, 40px);
  }
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background: var(--white);
  color: var(--ink);
}

.section-leaf {
  background: var(--leaf);
  color: var(--foam);
}

.section-flash {
  background: var(--flash);
  color: var(--white);
}

.section-flash .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.section-flash h2,
.section-flash h2[data-split] {
  color: var(--white);
  text-wrap: balance;
}

.section-flash .lede,
.section-flash .lede a {
  color: rgba(255, 255, 255, 0.92);
}

.section-flash .lede a:hover {
  color: var(--white);
}

.section-flash .prose > p,
.section-flash .cta-band > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92);
}

#services,
#services .wrap {
  overflow: visible;
}

body[data-page="home"] .who-split h2,
body[data-page="home"] #services .section-head h2,
body[data-page="home"] .process-intro h2,
body[data-page="home"] .reviews-head h2 {
  color: var(--flash);
}

/* Service and other subpages — grid, spotlight, FAQ section titles */
body:not([data-page="home"]) main .section:not(.section-flash) h2[data-split]:not(.hero-headline) {
  color: var(--flash);
}

.section-coral {
  background: var(--coral);
  color: var(--white);
}

.why-card.tall .btn-ink,
.section-coral .btn-ink,
.section-leaf .btn-flash {
  background: var(--white);
  color: var(--leaf);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--heading-eyebrow);
  opacity: 1;
  margin-bottom: 12px;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: clamp(1.65rem, 3.6vw, 3.35rem);
  line-height: 1.05;
}

h3 {
  line-height: 1.12;
}

.lede {
  font-size: 1.28rem;
  max-width: 42ch;
}

.split-reveal {
  overflow: hidden;
}

/* Service rows */
.service-list {
  display: grid;
  overflow: visible;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 8px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: visible;
  z-index: 1;
}

.service-row:hover {
  z-index: 6;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
  font-weight: 800;
  line-height: 1.12;
}

.service-row p {
  max-width: 46ch;
  margin-top: 6px;
  opacity: 0.72;
  font-size: 1.05rem;
}

.service-row .go {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  transition: 0.35s var(--ease);
}

.service-row:hover .go {
  background: var(--leaf);
  color: var(--white);
  border-color: var(--leaf);
  transform: rotate(45deg);
}

.service-row .preview {
  position: absolute;
  right: 86px;
  top: 50%;
  width: min(320px, 34vw);
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  transform: translate(24px, -50%) rotate(5deg) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s var(--ease);
  box-shadow: 0 28px 60px rgba(65, 64, 66, 0.22);
  z-index: 3;
}

.service-row .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-row:hover .preview {
  opacity: 1;
  transform: translate(0, -50%) rotate(-4deg) scale(1);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: var(--mist);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat:nth-child(1) {
  background: var(--flash);
  color: var(--white);
}

.stat:nth-child(2) {
  background: var(--leaf);
  color: var(--white);
}

.stat:nth-child(3) {
  background: #e9f8ee;
}

.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
  color: var(--flash);
}

.stat:nth-child(1) b,
.stat:nth-child(2) b {
  color: var(--white);
}

.stat span {
  opacity: 0.75;
}

/* Process stack */
.section.process {
  position: relative;
  padding-bottom: 28px;
}

.process-intro {
  margin-bottom: 36px;
}

.process-stack {
  position: relative;
}

.process-card {
  position: sticky;
  top: calc(var(--nav-gap) + var(--nav-h) + 16px);
  min-height: calc(100svh - var(--nav-h) - var(--nav-gap) - 40px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 36px 40px;
  margin-bottom: 28px;
}

.process-card:nth-child(1) { z-index: 1; }
.process-card:nth-child(2) { z-index: 2; }
.process-card:nth-child(3) { z-index: 3; }
.process-card:nth-child(4) { z-index: 4; }

.process-card:last-child {
  position: relative;
  top: auto;
  min-height: 0;
  margin-bottom: 0;
}

.process-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.3vw, 2.9rem);
  letter-spacing: -0.06em;
  line-height: 1.12;
  margin: 10px 0 16px;
}

.process-stage {
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--flash);
  letter-spacing: 0.12em;
}

.process-copy > p:not(.process-stage) {
  max-width: 38ch;
  line-height: 1.55;
}

.process-visual {
  height: min(58svh, 560px);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--mist);
}

.process-visual img,
.process-visual .panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-visual .panel {
  display: grid;
  place-items: center;
  padding: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.25rem);
  letter-spacing: -0.06em;
  text-align: center;
}

.split-line {
  overflow: hidden;
  display: block;
  padding-bottom: 0.22em;
  margin-bottom: -0.1em;
}

/* SplitText uses inline-block words; short words (e.g. “A”) can orphan alone */
h1[data-split] .split-line > div,
h2[data-split] .split-line > div,
h3[data-split] .split-line > div,
p[data-split] .split-line > div {
  display: inline !important;
}

.process-dots {
  display: none;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.why-card {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 240px;
}

.why-card.wide {
  grid-column: 1 / 3;
  background: var(--flash);
  color: var(--white);
  border-color: transparent;
}

.why-card.wide .icon {
  background: var(--white);
  color: var(--flash);
}

.why-card.tall .icon {
  background: var(--white);
  color: var(--leaf);
}

.why-card.tall {
  grid-row: 1 / 3;
  grid-column: 3;
  background: var(--coral);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.why-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--flash);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 24px;
}

/* Quote */
.quote-block {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.7rem);
  letter-spacing: -0.07em;
  line-height: 1.08;
  font-weight: 800;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cta-band-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 18px;
  width: 100%;
}

.section-flash .btn-ghost {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.section-flash .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

@media (max-width: 900px) {
  .cta-band-actions {
    justify-content: flex-start;
  }

  .cta-band-actions .btn {
    flex: 1 1 calc(50% - 9px);
    min-width: 140px;
  }
}

.form {
  display: grid;
  gap: 16px;
  background: var(--white);
  color: var(--ink);
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 174, 239, 0.12);
}

.form .fields {
  display: grid;
  gap: 16px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border-radius: 16px;
  background-color: var(--mist);
  padding: 14px 16px;
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(65, 64, 66, 0.42);
  font-weight: 400;
}

.form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 11' fill='none'%3E%3Cpath d='M8 10.5 16 1.86 14.74.5 8 7.78 1.26.5 0 1.86 8 10.5Z' fill='%23414042' fill-opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.form select:required:invalid {
  color: rgba(65, 64, 66, 0.42);
  font-weight: 400;
}

.form select option {
  color: var(--ink);
  background: #fff;
  font-weight: 500;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  padding: 18px;
  border-radius: 16px;
  background: var(--leaf);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
}

.form.is-sent .form-success {
  display: block;
}

.form.is-sent .fields {
  display: none;
}

.quote-nudge {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.quote-nudge a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-nudge a:hover {
  color: #fff;
  opacity: 0.85;
}

.quote-form.form {
  max-width: 860px;
  margin: 36px auto 0;
}

.quote-form .field {
  display: grid;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(65, 64, 66, 0.72);
}

.quote-form .field > input,
.quote-form .field > select,
.quote-form .field > textarea {
  width: 100%;
  border-radius: 16px;
  background-color: var(--mist);
  padding: 14px 16px;
  border: 1px solid rgba(0, 174, 239, 0.08);
  color: var(--ink);
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.quote-form .field > input::placeholder,
.quote-form .field > textarea::placeholder {
  color: rgba(65, 64, 66, 0.42);
  font-weight: 400;
}

.quote-form .field > select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 11' fill='none'%3E%3Cpath d='M8 10.5 16 1.86 14.74.5 8 7.78 1.26.5 0 1.86 8 10.5Z' fill='%23414042' fill-opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.quote-form .field > select:required:invalid {
  color: rgba(65, 64, 66, 0.42);
  font-weight: 400;
}

.quote-form .field > select option {
  color: var(--ink);
  background: #fff;
}

.quote-form .field > input[type="number"] {
  -moz-appearance: textfield;
}

.quote-form .field > input[type="number"]::-webkit-outer-spin-button,
.quote-form .field > input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Reviews slider */
.section.reviews {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 160px;
}

.reviews-head {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-head h2 {
  margin-inline: auto;
}

.reviews-slider {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
  container-type: inline-size;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s var(--ease);
}

.review-card {
  flex: 0 0 calc((100cqi - 40px) / 3);
  min-height: 280px;
  border: 1px solid rgba(65, 64, 66, 0.12);
  border-radius: 24px;
  padding: 28px 26px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(65, 64, 66, 0.04);
}

.review-stars {
  color: #e3b341;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 14px;
}

.review-quote {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(65, 64, 66, 0.72);
  flex: 1;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.google-g {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.google-g svg {
  width: 100%;
  height: 100%;
  display: block;
}

.review-person strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.review-person span {
  display: block;
  font-size: 0.82rem;
  color: rgba(65, 64, 66, 0.55);
  font-family: var(--font-ui);
}

.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.22);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.reviews-arrow svg {
  width: 18px;
  height: 18px;
}

.reviews-arrow:hover {
  background: var(--flash);
  color: #fff;
  transform: scale(1.05);
}

/* Quote wizard */
.quote-page {
  background:
    radial-gradient(ellipse 80% 46% at 88% 0%, rgba(0, 174, 239, 0.16), transparent 58%),
    radial-gradient(ellipse 58% 38% at 8% 22%, rgba(13, 177, 75, 0.1), transparent 55%),
    #fff;
  padding-bottom: 72px;
}

.quote-page .page-hero {
  background: none;
  overflow: visible;
  padding-bottom: 72px;
}

.quote-page .page-hero .wrap {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}


.quote-page .page-hero h1 {
  max-width: 22ch;
  margin-inline: auto;
}

.quote-page .page-hero .intro {
  margin-inline: auto;
  max-width: 52ch;
}

.quote-page .section {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.quote-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 174, 239, 0.14);
  border-radius: 32px;
  padding: 36px 36px 32px;
  box-shadow: 0 22px 50px rgba(65, 64, 66, 0.08);
}

.quote-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  margin-bottom: 14px;
}

.quote-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(65, 64, 66, 0.4);
}

.quote-progress li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--ink);
  flex-shrink: 0;
}

.quote-progress li.is-active,
.quote-progress li.is-done {
  color: var(--ink);
}

.quote-progress li.is-active span {
  background: var(--flash);
  color: #fff;
}

.quote-progress li.is-done span {
  background: var(--leaf);
  color: #fff;
}

.quote-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
  margin-bottom: 32px;
}

.quote-bar i {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--grad);
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}

.quote-step {
  display: none;
  border: 0;
  min-width: 0;
  padding: 0;
}

.quote-step.is-active {
  display: grid;
  gap: 18px;
}

.quote-step legend {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 4px;
  float: none;
  width: 100%;
}

.quote-step .hint {
  color: rgba(65, 64, 66, 0.62);
  margin-top: -8px;
}

.quote-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-choice {
  position: relative;
  cursor: pointer;
}

.quote-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.quote-choice span {
  position: relative;
  display: block;
  border: 1.5px solid rgba(0, 174, 239, 0.18);
  background: var(--mist);
  border-radius: 18px;
  padding: 18px 16px 18px 44px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.quote-choice span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(0, 174, 239, 0.35);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.quote-choice input:checked + span::before {
  border-color: var(--flash);
  background: var(--flash);
  box-shadow: inset 0 0 0 3px #fff;
}

.quote-choice small {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(65, 64, 66, 0.58);
}

.quote-choice:hover span {
  border-color: var(--flash);
  background: #e7f8fd;
}

.quote-choice input:checked + span {
  border-color: var(--flash);
  background: rgba(0, 174, 239, 0.22);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.32);
  color: var(--ink);
}

.quote-choice input:checked + span small {
  color: rgba(65, 64, 66, 0.72);
}

.quote-choice input:focus-visible + span {
  outline: 2px solid var(--ink);
}

.quote-step .hint + .quote-checks {
  margin-top: 2px;
}

.quote-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

.quote-checks label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1.5px solid rgba(0, 174, 239, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--mist);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(65, 64, 66, 0.88);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.quote-checks label:hover {
  border-color: rgba(0, 174, 239, 0.38);
  background: #e7f8fd;
}

.quote-checks label:has(input:checked) {
  border-color: var(--flash);
  background: rgba(0, 174, 239, 0.16);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.22);
}

.quote-checks label:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.quote-checks input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 174, 239, 0.45);
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.quote-checks input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s var(--ease);
}

.quote-checks input[type="checkbox"]:checked {
  background: var(--flash);
  border-color: var(--flash);
}

.quote-checks input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

.quote-form .field input:focus,
.quote-form .field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--flash);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.28);
}

.quote-form .field select:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--flash);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.28);
}

.quote-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.quote-nav [data-quote-back] {
  margin-right: auto;
}

.quote-form.is-sent .quote-progress,
.quote-form.is-sent .quote-bar,
.quote-form.is-sent .quote-step,
.quote-form.is-sent .quote-nav {
  display: none;
}

.quote-form .form-success {
  display: none;
}

.quote-form.is-sent .form-success {
  display: block;
}

/* Footer */
.footer {
  background: var(--white);
  color: var(--ink);
  padding: 80px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns:
    minmax(0, 1.22fr)
    minmax(0, 0.88fr)
    minmax(0, 1.2fr)
    minmax(0, 0.72fr)
    auto;
  column-gap: clamp(28px, 3.2vw, 48px);
  row-gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.footer-col-explore {
  padding-left: clamp(16px, 2.5vw, 40px);
}

.footer-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  align-self: start;
  padding-left: 0;
}

.footer-badge {
  display: block;
  height: var(--footer-badge-h, 72px);
  width: auto;
  max-width: min(180px, 100%);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 1100px) {
  .footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
    gap: 20px;
    max-width: none;
  }
}

.footer a:hover {
  color: var(--leaf);
}

.footer h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.footer a:hover {
  color: var(--flash);
}

.footer h4 {
  font-family: var(--font-ui);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.footer li,
.footer p {
  opacity: 0.75;
  margin-bottom: 8px;
}

.footer-statements {
  padding-top: 28px;
}

.footer-ack,
.footer-inclusion {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(65, 64, 66, 0.72);
  max-width: none;
  margin: 0 0 14px;
}

@media (min-width: 900px) {
  .footer-statements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 48px;
    align-items: start;
  }

  .footer-ack,
  .footer-inclusion {
    margin-bottom: 0;
  }
}

.footer-ndis {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  font-size: 0.92rem;
  color: rgba(65, 64, 66, 0.62);
  font-family: var(--font-ui);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-legal-links a {
  color: rgba(65, 64, 66, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: var(--flash);
}

.au-owned {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.au-icon {
  width: 24px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(65, 64, 66, 0.16);
  overflow: hidden;
  display: block;
}

/* Inner pages */
.page-hero {
  padding: calc(var(--nav-gap) + var(--nav-h) + 48px) 0 70px;
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 174, 239, 0.18), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(13, 177, 75, 0.14), transparent 28%),
    #fff;
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

.page-hero h1:not(.eyebrow),
.page-hero .hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.3vw, 4.65rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
  font-weight: 800;
  max-width: 12ch;
  margin-top: 0;
}

.page-hero h1.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.35;
  max-width: none;
}

.page-hero .intro {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--ink) 70%, white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.page-hero--enquiry {
  background:
    linear-gradient(
      105deg,
      rgba(44, 43, 45, 0.62) 0%,
      rgba(44, 43, 45, 0.38) 42%,
      rgba(44, 43, 45, 0.55) 100%
    ),
    url("../assets/stock/photo-1497366216548-37526070297c.jpg") center / cover no-repeat;
  color: var(--white);
}

body[data-page="services"] .page-hero--enquiry {
  background:
    linear-gradient(
      105deg,
      rgba(44, 43, 45, 0.62) 0%,
      rgba(44, 43, 45, 0.38) 42%,
      rgba(44, 43, 45, 0.55) 100%
    ),
    url("../assets/stock/photo-1497366811353-6870744d04b2.jpg") center / cover no-repeat;
}

.page-hero--enquiry .page-hero-grid {
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-hero--enquiry h1:not(.eyebrow),
.page-hero--enquiry .hero-headline {
  max-width: 14ch;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.page-hero--enquiry .intro {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}

.page-hero--enquiry .kicker {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero .eyebrow,
.page-hero .kicker:not(.breadcrumbs) {
  margin: 0 0 16px;
}

.page-hero:not(.page-hero--enquiry) .eyebrow,
.page-hero:not(.page-hero--enquiry) .kicker:not(.breadcrumbs) {
  color: var(--heading-eyebrow);
  opacity: 1;
  letter-spacing: 0.18em;
}

.page-hero:not(.page-hero--enquiry) h1[data-split],
.page-hero:not(.page-hero--enquiry) h1:not(.eyebrow) {
  color: var(--flash);
}

.page-hero--enquiry .eyebrow {
  opacity: 0.92;
  color: var(--white);
}

.page-hero-aside {
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.hero-form-heading {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-hero--enquiry .hero-form-heading {
  color: var(--white);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.page-hero .form-compact {
  padding: 22px;
  border-radius: 24px;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 174, 239, 0.1);
}

.page-hero .form-compact .fields {
  gap: 12px;
}

.page-hero .form-compact input,
.page-hero .form-compact select,
.page-hero .form-compact textarea {
  padding: 12px 14px;
  font-size: 1rem;
}

.page-hero--enquiry .form-compact input,
.page-hero--enquiry .form-compact select,
.page-hero--enquiry .form-compact textarea {
  background-color: var(--mist);
  color: var(--ink);
}

.page-hero .form-compact textarea {
  min-height: 0;
  resize: vertical;
}

.page-hero-aside .quote-nudge {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero-aside .quote-nudge a {
  color: var(--white);
}

.page-hero-media {
  border-radius: 32px;
  overflow: hidden;
  min-height: 360px;
  background: var(--mist);
}

.page-hero-media img,
.page-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  display: block;
  background: var(--ink-2);
}

.page-hero-media.page-hero-media--video {
  display: grid;
  place-items: center;
  background: var(--ink-2);
  min-height: 0;
  aspect-ratio: 16 / 9;
  line-height: 0;
  isolation: isolate;
  border-radius: 0;
  overflow: visible;
}

.page-hero-media--video video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  vertical-align: top;
}

.page-hero-media--video video:focus-visible {
  outline: 2px solid var(--flash);
  outline-offset: -2px;
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 68ch;
}

.prose h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 10px;
}

.prose li {
  padding-left: 28px;
  position: relative;
}

.prose li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 800;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (min-width: 981px) {
  .include-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.include-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  min-height: 180px;
}

.include-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.include-card p,
.prose > p,
.faq-answer p {
  color: color-mix(in srgb, var(--ink) 82%, white);
}

.faq-answer p {
  opacity: 1;
}

.faq-section .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-list {
  margin-top: 36px;
  width: 100%;
  max-width: 780px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--flash);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 4px 22px;
}

.faq-answer p {
  max-width: 62ch;
}

.faq-section .faq-answer p {
  max-width: none;
}

/* Blog */
.section-blog {
  padding-top: clamp(56px, 8vw, 96px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(65, 64, 66, 0.07);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 174, 239, 0.14);
}

.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.18;
}

.blog-card-excerpt {
  opacity: 0.72;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--flash);
}

.blog-card-link {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  margin-top: 4px;
  transition: color 0.25s;
}

.blog-card:hover .blog-card-link {
  color: var(--flash);
}

.article-hero {
  padding: calc(var(--nav-gap) + var(--nav-h) + 40px) 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
  font-weight: 800;
  max-width: 22ch;
  margin-top: 12px;
}

.article-meta {
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}

.article-back {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body {
  padding-top: 48px;
  padding-bottom: 64px;
}

.article-prose {
  max-width: 720px;
  margin: 0 auto;
}

.article-prose h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

.article-prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  letter-spacing: -0.03em;
}

.article-prose ol {
  margin: 1em 0 1em 1.2em;
  display: grid;
  gap: 0.65em;
}

.article-lede {
  font-size: 1.28rem;
  line-height: 1.5;
  opacity: 0.92;
}

.article-prose blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--flash);
  background: var(--foam-2);
  border-radius: 0 16px 16px 0;
  font-style: italic;
}

.quote-attrib {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: -0.5em;
}

.contractor-notice {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.contractor-notice p {
  opacity: 0.88;
  margin-top: 10px;
}

.contractor-notice p:first-child {
  margin-top: 0;
}

.contractor-notice-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}

.section-dark .contractor-notice {
  border-color: rgba(255, 255, 255, 0.14);
}

.job-card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--flash);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-panel {
  background: var(--flash);
  color: var(--white);
  border-radius: 32px;
  padding: 36px;
  min-height: 100%;
}

.contact-panel a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}

.shine:hover::after {
  animation: wipe 0.9s var(--ease);
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.industries span {
  border: 1px solid rgba(0, 174, 239, 0.28);
  background: rgba(0, 174, 239, 0.06);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 20px;
  color: #e3b341;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 2px 8px rgba(227, 179, 65, 0.28));
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col--even {
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.two-col--even > .prose {
  max-width: none;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.product-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
}

.product-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.35;
}

.product-list li:first-child {
  border-top: 1px solid var(--line);
}

.who-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.who-split h2 {
  font-size: clamp(1.85rem, 4.1vw, 3.6rem);
  margin: 0 0 24px;
}

.who-copy {
  display: grid;
  gap: 12px;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 72%, white);
  margin-bottom: 28px;
}

.media-frame {
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.who-split .media-frame {
  min-height: 0;
  height: auto;
  align-self: stretch;
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
}

.who-split .media-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 32px;
  display: block;
}

/* Blog archive (category navigation + article index) */
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn:active {
  opacity: 0.85;
}

.page-hero.blog-hero {
  padding-bottom: 56px;
}

.page-hero--compact {
  padding-bottom: 48px;
}

.legal-doc {
  max-width: 720px;
}

.legal-doc h2 {
  margin-top: 2.2em;
  font-size: 1.35rem;
}

.legal-doc h3 {
  margin-top: 1.6em;
  font-size: 1.05rem;
}

.legal-form-title {
  font-size: 1.35rem;
  margin: 0 0 20px;
}

.legal-form-note {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 70%, white);
}

.post-row.is-lead .post-title a {
  color: var(--flash);
}

.post-row.is-lead .post-title a:hover {
  color: var(--flash-2);
}

.breadcrumbs {
  color: var(--ink);
}

.page-hero .breadcrumbs {
  margin: 0 0 18px;
}

.page-hero .kicker.breadcrumbs {
  margin: 0 0 16px;
  color: var(--heading-eyebrow);
  letter-spacing: 0.18em;
}

.page-hero .kicker.breadcrumbs a,
.page-hero .kicker.breadcrumbs li span[aria-current="page"] {
  color: var(--heading-eyebrow);
}

.page-hero .kicker.breadcrumbs a:hover {
  color: var(--ink);
}

.page-hero .kicker.breadcrumbs a::after {
  display: none;
}

.page-hero.post-hero .breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--ink) 52%, white);
}

.page-hero.post-hero .breadcrumbs a {
  color: color-mix(in srgb, var(--ink) 68%, white);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: "/";
  opacity: 0.4;
}

.breadcrumbs a {
  position: relative;
  border-radius: 4px;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.breadcrumbs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.breadcrumbs a:hover::after {
  transform: scaleX(1);
}

.breadcrumbs a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.breadcrumbs a:active {
  opacity: 0.6;
}

.blog-cats {
  margin-top: 40px;
}

.blog-cats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-cat {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 8px 8px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(65, 64, 66, 0.06);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease);
}

.blog-cat::before,
.blog-cat::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.blog-cat::before {
  z-index: -1;
  background: var(--mist);
  box-shadow: inset 0 0 0 1.5px rgba(0, 174, 239, 0.5);
  transition: opacity 0.25s var(--ease);
}

.blog-cat::after {
  z-index: -2;
  box-shadow:
    0 2px 6px rgba(0, 148, 204, 0.1),
    0 16px 32px -14px rgba(0, 148, 204, 0.45);
  transition: opacity 0.35s var(--ease);
}

.blog-cat:hover {
  transform: translateY(-2px);
}

.blog-cat:hover::before,
.blog-cat:hover::after {
  opacity: 1;
}

.blog-cat:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.blog-cat:active {
  transform: translateY(0) scale(0.97);
}

.blog-cat-count {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.blog-cat[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.blog-cat[aria-current="page"]::before {
  display: none;
}

.blog-cat[aria-current="page"] .blog-cat-count {
  background: var(--white);
  color: var(--ink);
}

.section.blog-index {
  padding-top: 40px;
}

.blog-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.blog-count {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.blog-topic {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: -8px 0 36px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.blog-topic[hidden] {
  display: none;
}

.blog-topic p {
  max-width: 62ch;
}

.blog-topic a {
  position: relative;
  padding-bottom: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--flash), var(--flash)) left bottom / 100% 2px no-repeat;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.blog-topic a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.blog-topic a:hover::after {
  transform: scaleX(1);
}

.blog-topic a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.blog-topic a:active {
  opacity: 0.65;
}

.post-list:has(.post-row:not(.is-lead):not([hidden])) {
  border-bottom: 1px solid var(--line);
}

.post-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 54px;
  grid-template-areas:
    "meta body go"
    "meta excerpt go";
  column-gap: 32px;
  align-items: start;
  padding: 32px 8px;
  border-top: 1px solid var(--line);
}

.post-row[hidden] {
  display: none;
}

.post-row:hover {
  z-index: 6;
}

.post-body {
  grid-area: body;
  max-width: 40rem;
}

.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.post-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(13, 177, 75, 0.16);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-wrap: balance;
}

.post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 20px;
}

.post-title a:focus-visible {
  outline: none;
}

.post-title a:focus-visible::after {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.post-title a:active::after {
  background: rgba(0, 174, 239, 0.05);
}

.post-excerpt {
  grid-area: excerpt;
  max-width: 60ch;
  margin-top: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.post-meta {
  grid-area: meta;
  align-self: start;
  display: grid;
  gap: 2px;
  padding-top: 4px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.post-meta time {
  font-weight: 700;
  color: var(--ink);
}

.post-go {
  grid-area: go;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.post-go-icon {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}

.post-go-icon::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: 50%;
  background: var(--leaf);
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}

.post-go-icon svg {
  width: 20px;
  height: 20px;
}

.post-go-label {
  display: none;
}

.post-row:hover .post-go-icon {
  border-color: var(--leaf);
  color: var(--white);
  transform: rotate(90deg);
}

.post-row:hover .post-go-icon::before {
  transform: scale(1);
}

.post-media {
  position: absolute;
  top: 50%;
  right: 96px;
  z-index: 3;
  width: min(300px, 26vw);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mist);
  box-shadow:
    0 2px 6px rgba(65, 64, 66, 0.08),
    0 28px 56px -18px rgba(0, 104, 148, 0.38);
  opacity: 0;
  transform: translate(24px, -50%) rotate(5deg) scale(0.92);
  transition: transform 0.5s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}

.post-media::before,
.post-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-media::before {
  background: rgba(0, 174, 239, 0.14);
  mix-blend-mode: multiply;
}

.post-media::after {
  background: linear-gradient(to top, rgba(65, 64, 66, 0.3), transparent 55%);
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-row:hover .post-media {
  opacity: 1;
  transform: translate(0, -50%) rotate(-4deg) scale(1);
}

.post-row.is-lead {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  grid-template-areas:
    "media ."
    "media body"
    "media excerpt"
    "media meta"
    "media go"
    "media .";
  column-gap: 64px;
  align-items: start;
  padding: 8px 0 64px;
  border-top: 0;
}

.post-row.is-lead .post-media {
  grid-area: media;
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  border-radius: 32px;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.post-row.is-lead .post-media img {
  transition: transform 0.9s var(--ease);
}

.post-row.is-lead:hover .post-media img {
  transform: scale(1.04);
}

.post-row.is-lead .post-title {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.post-row.is-lead .post-title a::after {
  border-radius: 34px;
}

.post-row.is-lead .post-excerpt {
  font-size: 1.15rem;
}

.post-row.is-lead .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 20px;
  padding-top: 0;
}

.post-row.is-lead .post-go {
  margin-top: 28px;
}

.post-row.is-lead .post-go-label {
  display: inline;
}

@media (max-width: 980px), (hover: none) {
  .post-row:not(.is-lead) {
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-areas:
      "body media"
      "excerpt excerpt"
      "meta meta";
    column-gap: 20px;
    row-gap: 12px;
    align-items: start;
    padding: 24px 0;
  }

  .post-row:not(.is-lead) .post-body {
    align-self: center;
  }

  .post-row:not(.is-lead) .post-excerpt {
    margin-top: 0;
  }

  .post-row:not(.is-lead) .post-media {
    grid-area: media;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .post-row:not(.is-lead) .post-go {
    display: none;
  }

  .post-row:not(.is-lead) .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    padding-top: 0;
  }
}

@media (max-width: 980px) {
  .page-hero.blog-hero {
    padding-bottom: 40px;
  }

  .blog-cats {
    margin: 28px -20px 0;
  }

  .blog-cats ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 20px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 40px), transparent);
  }

  .blog-cats ul::-webkit-scrollbar {
    display: none;
  }

  .blog-cats li {
    flex: none;
    scroll-snap-align: start;
    scroll-margin-left: 20px;
  }

  .section.blog-index {
    padding-top: 24px;
  }

  .post-title {
    font-size: 1.25rem;
  }

  .post-row.is-lead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "media"
      "body"
      "excerpt"
      "meta";
    padding: 0 0 36px;
  }

  .post-row.is-lead .post-media {
    aspect-ratio: 16 / 10;
    margin-bottom: 24px;
    border-radius: 24px;
  }

  .post-row.is-lead .post-title {
    font-size: clamp(1.6rem, 6.4vw, 2.3rem);
  }

  .post-row.is-lead .post-go {
    display: none;
  }
}

/* Blog post */
.post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.page-hero.post-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.post-byline img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 6px 16px -6px rgba(0, 148, 204, 0.45);
}

.post-byline p {
  display: grid;
  gap: 2px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.post-byline-name {
  font-weight: 700;
}

.post-byline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

.post-hero-media.page-hero-media {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.post-hero-media.page-hero-media img {
  min-height: 0;
}

.post-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 174, 239, 0.12);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section.post-section {
  padding-top: 72px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(0, 300px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--ink) 92%, white);
}

.post-content > * + * {
  margin-top: 1.1em;
}

.post-content > p:first-child {
  font-size: 1.32rem;
  line-height: 1.65;
  color: var(--ink);
}

.post-content h2,
.post-content h3 {
  scroll-margin-top: calc(var(--nav-gap) + var(--nav-h) + 24px);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

.post-content h2 {
  margin-top: 2.1em;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.post-content h3 {
  margin-top: 1.7em;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.post-content h2 + *,
.post-content h3 + * {
  margin-top: 0.55em;
}

.post-content ul,
.post-content ol {
  display: grid;
  gap: 0.55em;
  list-style: none;
}

.post-content li {
  position: relative;
  padding-left: 1.8em;
}

.post-content ul > li::before {
  content: "+";
  content: "+" / "";
  position: absolute;
  left: 0.15em;
  top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--leaf);
}

.post-content ol {
  counter-reset: post-ol;
}

.post-content ol > li {
  counter-increment: post-ol;
}

.post-content ol > li::before {
  content: counter(post-ol) ".";
  position: absolute;
  left: 0;
  top: 0.08em;
  font-family: var(--font-display);
  font-size: 0.95em;
  font-weight: 800;
  color: var(--ink);
}

.post-content strong {
  font-weight: 600;
  color: var(--ink);
}

.post-content a {
  border-radius: 2px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--flash);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-content a:hover {
  text-decoration-color: var(--ink);
}

.post-content a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.post-content a:active {
  opacity: 0.65;
}

.post-quote {
  margin: 2em 0;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--mist);
}

.post-quote blockquote p {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.post-quote figcaption {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 75%, white);
}

/* Data tables in articles. The wrapper scrolls sideways when the table is wider than the column;
   the local/scroll background pairs show an edge shadow only while there is more table to scroll to. */
.post-content > .post-table {
  margin-top: 1.6em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  background-image:
    linear-gradient(to right, var(--white) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, var(--white) 30%, rgba(255, 255, 255, 0)),
    radial-gradient(farthest-side at 0 50%, rgba(65, 64, 66, 0.16), rgba(65, 64, 66, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(65, 64, 66, 0.16), rgba(65, 64, 66, 0));
  background-position: left center, right center, left center, right center;
  background-size: 48px 100%, 48px 100%, 16px 100%, 16px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
}

.post-content > h2 + .post-table,
.post-content > h3 + .post-table {
  margin-top: 0.9em;
}

.post-table:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.post-table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.post-table--wide table {
  min-width: 40rem;
}

.post-table th,
.post-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.post-table--wide th,
.post-table--wide td {
  padding: 12px 12px;
}

.post-table--wide th:first-child,
.post-table--wide td:first-child {
  padding-left: 16px;
}

.post-table tbody tr:last-child > * {
  border-bottom: 0;
}

.post-table thead th {
  background: var(--mist);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.post-table tbody th {
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Row labels stay in view while the rest of the table scrolls sideways. */
.post-table thead th:first-child,
.post-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: inset -1px 0 0 var(--line);
}

.post-content > .post-author {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.6;
}

.post-author img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.post-author p + p {
  margin-top: 4px;
}

.post-author-name {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-content .post-author a {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.post-rail {
  position: sticky;
  top: calc(var(--nav-gap) + var(--nav-h) + 24px);
  display: grid;
  gap: 20px;
}

.post-toc {
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(65, 64, 66, 0.05);
}

.post-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.post-toc summary::-webkit-details-marker {
  display: none;
}

.post-toc ol {
  display: grid;
  gap: 2px;
  max-height: max(160px, calc(100vh - 560px));
  margin-top: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  list-style: none;
}

.post-toc ol.is-scrollable:not(.is-end) {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent);
}

.post-toc a {
  position: relative;
  display: block;
  padding: 7px 10px 7px 24px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 75%, white);
  transition: transform 0.3s var(--ease);
}

.post-toc a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}

.post-toc .is-sub a {
  padding-left: 36px;
  font-size: 0.86rem;
}

.post-toc .is-sub a::before {
  left: 22px;
}

.post-toc a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.post-toc a[aria-current="true"] {
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
}

.post-toc a[aria-current="true"]::before {
  transform: translateY(-50%) scale(1);
}

.post-toc a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}

.post-toc a:active {
  opacity: 0.65;
}

.post-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: var(--mist);
  box-shadow:
    0 2px 6px rgba(0, 148, 204, 0.08),
    0 24px 48px -24px rgba(0, 148, 204, 0.45);
  font-size: 1rem;
  line-height: 1.55;
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.post-card .btn {
  justify-self: start;
  margin-top: 4px;
}

.post-card-link,
.post-related-all {
  justify-self: start;
  position: relative;
  padding-bottom: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--flash), var(--flash)) left bottom / 100% 2px no-repeat;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-card-link::after,
.post-related-all::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.post-card-link:hover::after,
.post-related-all:hover::after {
  transform: scaleX(1);
}

.post-card-link:focus-visible,
.post-related-all:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.post-card-link:active,
.post-related-all:active {
  opacity: 0.65;
}

.section.post-related {
  padding-top: 24px;
}

@media (min-width: 981px) {
  .post-toc summary {
    pointer-events: none;
  }
}

@media (max-width: 980px) {
  .post-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .post-hero-media.page-hero-media {
    aspect-ratio: 16 / 10;
  }

  .section.post-section {
    padding-top: 40px;
  }

  .post-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .post-rail {
    display: contents;
  }

  .post-toc {
    order: -1;
    margin-bottom: 32px;
  }

  .post-card {
    order: 1;
    margin-top: 40px;
  }

  .post-toc summary {
    min-height: 32px;
    cursor: pointer;
  }

  .post-toc summary::after {
    content: "+";
    content: "+" / "";
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--leaf);
    transition: transform 0.35s var(--ease);
  }

  .post-toc[open] summary::after {
    transform: rotate(45deg);
  }

  .post-toc summary:hover::after {
    transform: scale(1.15);
  }

  .post-toc[open] summary:hover::after {
    transform: rotate(45deg) scale(1.15);
  }

  .post-toc summary:focus-visible {
    border-radius: 8px;
    outline: 3px solid var(--ink);
    outline-offset: 4px;
  }

  .post-toc summary:active {
    opacity: 0.65;
  }

  .post-toc ol,
  .post-toc ol.is-scrollable:not(.is-end) {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .post-content {
    font-size: 1.1rem;
  }

  .post-content > p:first-child {
    font-size: 1.2rem;
  }

  .post-quote {
    padding: 22px 22px;
  }

  .post-quote blockquote p {
    font-size: 1.22rem;
  }
}

/* Anim helpers */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes wipe {
  to {
    transform: translateX(120%);
  }
}

@keyframes quote-shimmer {
  0%,
  78% {
    transform: translateX(-130%);
  }
  92%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes wash-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  35% {
    transform: translate(8%, -10%) scale(1.08);
  }
  70% {
    transform: translate(-10%, 6%) scale(1.04);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes green-wander {
  0% {
    transform: translate(-8%, 4%) scale(1);
  }
  20% {
    transform: translate(32%, 18%) scale(1.12);
  }
  40% {
    transform: translate(8%, 38%) scale(0.96);
  }
  60% {
    transform: translate(-28%, 16%) scale(1.16);
  }
  80% {
    transform: translate(16%, -6%) scale(1.04);
  }
  100% {
    transform: translate(-8%, 4%) scale(1);
  }
}

@keyframes bubble-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(36px, -48px);
  }
  50% {
    transform: translate(-22px, -72px);
  }
  75% {
    transform: translate(48px, -18px);
  }
}

@keyframes bubble-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(-40px, 28px);
  }
  60% {
    transform: translate(32px, 52px);
  }
}

@keyframes bubble-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(28px, 40px) scale(1.06);
  }
  70% {
    transform: translate(-34px, -24px) scale(0.96);
  }
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(180deg);
  }
}

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-plus {
    display: none !important;
  }

  .nav-links,
  .nav .btn {
    display: none;
  }

  .nav-phone-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo img {
    height: 48px;
    max-width: 200px;
  }

  .nav.is-scrolled .logo img {
    height: 38px;
    max-width: 160px;
  }

  /* Homepage hero — single column, copy then image */
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: auto;
    max-width: none;
  }

  .hero-card {
    min-height: min(56vw, 320px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero .btn-ghost {
    border-color: color-mix(in srgb, var(--ink) 18%, transparent);
    color: var(--ink);
    background: var(--white);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .hero-copy {
    font-size: 1.12rem;
    max-width: none;
  }

  .scroll-hint {
    display: none;
  }

  /* Inner page heroes + enquiry forms */
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    max-width: none;
  }

  .page-hero-aside {
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }

  .page-hero h1:not(.eyebrow),
  .page-hero .hero-headline {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.75rem);
    line-height: 1.02;
  }

  .page-hero .intro {
    max-width: none;
    font-size: 1.1rem;
  }

  .page-hero-media {
    aspect-ratio: 16 / 10;
    max-height: 280px;
    border-radius: 24px;
    overflow: hidden;
  }

  .page-hero-media img,
  .page-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
  }

  .page-hero-media--video {
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 0;
    overflow: visible;
  }

  .page-hero-media--video video {
    object-fit: contain;
    border-radius: 0;
  }

  .section-head,
  .cta-band,
  .why-grid,
  .footer-top,
  .blog-grid,
  .include-grid,
  .two-col,
  .who-split,
  .contact-grid,
  .stats,
  .form-row,
  .job-card,
  .quote-choices,
  .quote-checks {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 36px;
    align-items: start;
  }

  .section-head .lede {
    max-width: none;
  }

  .cta-band {
    gap: 20px;
  }

  .cta-band .btn,
  .section-flash .cta-band .btn {
    width: 100%;
    justify-content: center;
  }

  .reviews-slider {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }

  .review-card {
    flex-basis: 100%;
    min-height: 0;
  }

  .quote-shell {
    padding: 24px 18px 22px;
    border-radius: 24px;
  }

  .quote-progress li {
    font-size: 0;
    gap: 0;
    justify-content: center;
  }

  .quote-progress li.is-active {
    font-size: 0.78rem;
    gap: 8px;
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-card.wide,
  .why-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 16px;
    padding: 22px 0;
    align-items: center;
  }

  .service-row h3 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .service-row p {
    max-width: none;
    font-size: 1rem;
  }

  .service-row .go {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    font-size: 1.25rem;
  }

  .service-row .preview {
    display: none;
  }

  .hero::before {
    inset: -18%;
    background:
      radial-gradient(circle at 78% 8%, rgba(0, 174, 239, 0.16), transparent 36%),
      radial-gradient(circle at 28% 0%, rgba(13, 177, 75, 0.12), transparent 38%);
    animation-duration: 28s;
  }

  .hero::after {
    width: 78vw;
    height: 78vw;
    left: 12%;
    top: -22%;
    opacity: 0.5;
    animation-duration: 30s;
  }

  .section {
    padding: 72px 0;
  }

  .section.process {
    padding-bottom: 16px;
  }

  .section.reviews {
    padding-top: 28px;
    padding-bottom: 96px;
  }

  .who-split {
    gap: 32px;
  }

  .who-split .media-frame {
    min-height: 0;
  }

  .process-stack .process-card {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 22px 18px;
    margin-bottom: 18px;
    gap: 0;
  }

  .process-stack .process-visual {
    order: -1;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .process-stack .process-visual img,
  .process-stack .process-visual .panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .process-stack .process-copy {
    order: 1;
  }

  .process-stack .process-copy h3 {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }

  .process-stack .process-copy > p:not(.process-stage) {
    max-width: none;
  }

  .footer-top {
    row-gap: 28px;
  }

  .footer-col-explore {
    padding-left: 0;
  }

  .footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 0;
    align-self: start;
  }

  .who-split .media-frame img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .media-frame,
  .media-frame img {
    min-height: 0;
  }

  .two-col .media-frame {
    order: -1;
  }

  .include-grid {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cursor,
  .cursor-plus,
  .loader {
    display: none !important;
  }
}

/* Location service pages (commercial-cleaning/*.html, built by scripts/build-location-pages.mjs) */
.loc-hero .page-hero-grid {
  align-items: center;
}

.loc-gbp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 174, 239, 0.06), 0 8px 22px rgba(0, 174, 239, 0.1);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.loc-gbp .google-g {
  width: 24px;
  height: 24px;
}

.loc-gbp:hover {
  transform: translateY(-2px);
}

.loc-gbp:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.loc-gbp:active {
  opacity: 0.7;
}

.page-hero.loc-hero h1:not(.eyebrow) {
  max-width: none;
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
}

.loc-h1-keyword,
.loc-h1-sub {
  display: block;
}

.loc-h1-place {
  white-space: nowrap;
}

.loc-h1-sub {
  max-width: 30ch;
  margin-top: 0.45em;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: color-mix(in srgb, var(--ink) 70%, white);
}

.loc-hero .form .hero-form-heading {
  margin: 0 0 2px;
  text-align: center;
}

.loc-hero .intro {
  max-width: 54ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.loc-hero .intro a,
.loc-prose a:not(.btn),
.loc-reviews-head a,
.loc-faq-answer a {
  border-radius: 2px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--flash);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.loc-hero .intro a:hover,
.loc-prose a:not(.btn):hover,
.loc-reviews-head a:hover,
.loc-faq-answer a:hover {
  text-decoration-color: var(--ink);
}

.loc-hero .intro a:focus-visible,
.loc-prose a:not(.btn):focus-visible,
.loc-reviews-head a:focus-visible,
.loc-faq-answer a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.loc-hero .intro a:active,
.loc-prose a:not(.btn):active,
.loc-reviews-head a:active,
.loc-faq-answer a:active {
  opacity: 0.65;
}

.loc-hero-cta {
  margin-top: 30px;
}

.loc-hero .form .btn,
.loc-form .btn {
  width: 100%;
}

/* Benefits / USPs */
.loc-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.loc-usp {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  text-align: center;
}

.loc-usp-icon {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 174, 239, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--white), var(--mist) 72%);
  box-shadow: 0 1px 2px rgba(0, 174, 239, 0.08), 0 16px 36px rgba(0, 174, 239, 0.14);
  color: var(--flash);
}

.loc-usp-icon svg {
  width: 54px;
  height: 54px;
}

.loc-usp h2 {
  max-width: 22ch;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
}

.loc-usp p {
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 80%, white);
}

/* Service info rows (image column stays in view while the longer copy scrolls) */
.section.loc-info {
  padding-top: 24px;
}

.loc-info .wrap {
  display: grid;
  gap: clamp(72px, 9vw, 120px);
}

.loc-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.loc-info-row--flip .loc-info-media {
  order: -1;
}

.loc-info-media.media-frame {
  position: sticky;
  top: calc(var(--nav-gap) + var(--nav-h) + 24px);
  min-height: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 4px rgba(65, 64, 66, 0.06), 0 26px 60px rgba(0, 174, 239, 0.14);
}

.loc-info-media img {
  height: 100%;
  min-height: 0;
}

.loc-info-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(44, 43, 45, 0.32), rgba(44, 43, 45, 0) 45%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.loc-prose {
  display: grid;
  gap: 18px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 90%, white);
}

.loc-prose h2,
.loc-faq-intro h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  text-wrap: balance;
  color: var(--ink);
}

.loc-prose h2 {
  margin-bottom: 4px;
}

.loc-prose strong,
.loc-faq-answer strong {
  font-weight: 600;
  color: var(--ink);
}

.loc-prose ul,
.loc-prose ol {
  display: grid;
  gap: 10px;
  list-style: none;
}

.loc-prose li {
  position: relative;
  padding-left: 1.8em;
}

.loc-prose ul > li::before {
  content: "+";
  content: "+" / "";
  position: absolute;
  left: 0.15em;
  top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--leaf);
}

.loc-prose ol {
  counter-reset: loc-step;
}

.loc-prose ol > li {
  counter-increment: loc-step;
  padding-left: 2.4em;
}

.loc-prose ol > li::before {
  content: counter(loc-step);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--mist);
  font-family: var(--font-ui);
  font-size: 0.85em;
  font-weight: 800;
  line-height: 1.6em;
  text-align: center;
  color: var(--flash-2);
}

.loc-prose-cta {
  margin-top: 10px;
}

/* Social proof */
.loc-reviews {
  background:
    radial-gradient(circle at 12% 0%, rgba(13, 177, 75, 0.08), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(0, 174, 239, 0.1), transparent 42%),
    var(--mist);
}

.loc-reviews-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 64ch;
  margin: 0 auto 48px;
  text-align: center;
}

.loc-reviews-head h2 {
  max-width: 20ch;
  text-wrap: balance;
}

.loc-reviews-head p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 82%, white);
}

.loc-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.loc-review.review-card {
  min-height: 250px;
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(65, 64, 66, 0.04), 0 18px 40px rgba(0, 174, 239, 0.08);
}

.loc-review-name {
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.loc-review .review-stars {
  margin: 20px 0 0;
}

.loc-review.is-placeholder {
  border: 1.5px dashed rgba(0, 174, 239, 0.45);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.loc-review.is-placeholder .loc-review-name,
.loc-review.is-placeholder .review-quote {
  color: rgba(65, 64, 66, 0.5);
}

.loc-review.is-placeholder .review-stars {
  color: rgba(65, 64, 66, 0.18);
}

/* FAQs */
.loc-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.loc-faq-intro {
  position: sticky;
  top: calc(var(--nav-gap) + var(--nav-h) + 24px);
  display: grid;
  gap: 16px;
}

.loc-faq-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 80%, white);
}

.loc-faq-list {
  display: grid;
  gap: 12px;
}

.loc-faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(65, 64, 66, 0.04);
}

.loc-faq-item[open] {
  border-color: rgba(0, 174, 239, 0.35);
  box-shadow: 0 1px 2px rgba(0, 174, 239, 0.06), 0 16px 36px rgba(0, 174, 239, 0.1);
}

.loc-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 18px 24px;
  border-radius: 20px;
  list-style: none;
  cursor: pointer;
}

.loc-faq-item summary::-webkit-details-marker {
  display: none;
}

.loc-faq-item summary h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.loc-faq-item summary:hover h3 {
  color: var(--flash-2);
}

.loc-faq-item summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.loc-faq-item summary:active {
  opacity: 0.8;
}

.loc-faq-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--flash-2);
  transition: transform 0.35s var(--ease);
}

.loc-faq-icon svg {
  width: 18px;
  height: 18px;
}

.loc-faq-item[open] .loc-faq-icon {
  transform: rotate(180deg);
}

.loc-faq-answer {
  padding: 0 24px 22px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 85%, white);
}

/* Form anchor (every CTA on the page links here) */
.section.loc-enquire {
  scroll-margin-top: calc(var(--nav-gap) + var(--nav-h));
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(13, 177, 75, 0.38), transparent 46%),
    var(--flash);
}

.loc-enquire-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.loc-enquire h2 {
  max-width: 20ch;
  color: var(--white);
}

.loc-enquire .lede {
  max-width: 58ch;
  font-size: 1.15rem;
  line-height: 1.7;
}

.loc-form.form {
  width: 100%;
  max-width: 460px;
  margin-top: 16px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 60, 90, 0.08), 0 30px 70px rgba(0, 60, 90, 0.24);
}

/* Map */
.loc-map {
  line-height: 0;
  background: var(--mist);
}

.loc-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 480px);
  border: 0;
}

/* Other service areas */
.loc-areas {
  text-align: center;
}

.loc-areas h2 {
  margin-bottom: 36px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.loc-area-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
}

.loc-area-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 174, 239, 0.18);
  border-radius: 16px;
  background: var(--mist);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.loc-area-grid a:hover {
  transform: translateY(-3px);
  background: var(--flash);
  color: var(--white);
}

.loc-area-grid a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.loc-area-grid a:active {
  transform: translateY(0);
  opacity: 0.85;
}

@media (max-width: 980px) {
  .loc-hero .page-hero-grid,
  .loc-usp-grid,
  .loc-info-row,
  .loc-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .loc-hero .page-hero-aside {
    max-width: none;
    justify-self: stretch;
  }

  .loc-usp-grid {
    gap: 56px;
  }

  .loc-info-media.media-frame {
    position: relative;
    top: auto;
  }

  .loc-faq-intro {
    position: static;
  }

  .loc-info-row--flip .loc-info-media {
    order: 0;
  }

  .loc-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loc-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .loc-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .loc-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Cap content images alongside copy at the desktop hero image height. */
.who-split > .media-frame,
.two-col > .media-frame,
.loc-info-row > .media-frame {
  max-height: 520px;
}

.who-split > .media-frame {
  align-self: center;
}

.who-split > .media-frame img,
.two-col > .media-frame img,
.loc-info-row > .media-frame img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.who-split > .media-frame img,
.two-col > .media-frame img {
  height: auto;
  min-height: 0;
}

.two-col > .media-frame {
  min-height: 0;
}
