/* ---------- design tokens (brand style guide) ---------- */
:root {
  --primary: #22a35d;
  --primary-dark: #1b8049;
  --orange: #ee9a12;
  --yellow: #fce300;
  --white: #ffffff;
  --black: #000000;
  --error: #c72929;
  --ink: #0a2417; /* secondary / text-primary / dark surfaces */
  --gray-1: #5c6b64; /* body copy */
  --gray-2: #93a39b; /* muted copy */
  --surface: #f2f7f4; /* light section bg */
  --surface-2: #e8f3ed;
  --outline: #dbe8e0;
  --primary-soft: rgba(34, 163, 93, 0.1);
  --primary-soft-2: rgba(34, 163, 93, 0.4);
  --ink-soft: rgba(10, 36, 23, 0.1);

  --font-body: 'Segoe UI', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --container-max: 1320px;
  --radius-pill: 999px;
  --radius-card: 0px;
  --section-y: 100px;
  --section-y-tablet: 72px;
  --section-y-mobile: 48px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-1);
  background: var(--white);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
}

/* ---------- layout / grid ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row > * {
  padding-inline: 12px;
}

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

@media (max-width: 1024px) {
  .section {
    padding-block: var(--section-y-tablet);
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: var(--section-y-mobile);
  }
}

.section-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
  color: var(--white);
}

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

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-title {
  font-size: 38px;
  line-height: 1.18;
  font-weight: 500;
  margin-top: 16px;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
}

.section-sub {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-1);
  max-width: 560px;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.section-heading.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading.center .section-sub {
  max-width: 640px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary);
}

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

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

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

.btn-white:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-block: 10px;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

/* always solid white with a yellow rule; scrolling only adds the shadow */
.site-header {
  background: var(--white);
  border-bottom: 5px solid var(--yellow);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Embossed icon pattern behind the logo and menu (templates/site/_header_pattern.html).
   It sits above the header's white background and stops at the yellow rule. */
.site-header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 5px);
  pointer-events: none;
}

.site-header .container {
  position: relative;
  z-index: 1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: color 0.3s ease;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-text span:last-child {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav > a,
.main-nav .nav-dropdown-trigger {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s ease;
}

.main-nav > a.active,
.nav-dropdown-label.active {
  color: var(--primary);
}

/* the slide-out mobile drawer always has a solid white background,
   so its links stay dark regardless of the transparent header state */
.main-nav.open > a,
.main-nav.open .nav-dropdown-trigger {
  color: var(--ink) !important;
}

.main-nav.open > a.active,
.main-nav.open .nav-dropdown-label.active {
  color: var(--primary) !important;
}

/* ---------- nav dropdown (mega menu) ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
}

.nav-dropdown-label {
  color: inherit;
  padding-block: 4px;
}

.nav-dropdown-chevron {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  padding: 4px;
}

.nav-dropdown-trigger .chevron {
  display: inline-flex;
  transition: transform 0.2s ease;
}

/* dropdown panels are always an opaque white surface, so their links
   stay dark regardless of the header's transparent/scrolled state */
.nav-dropdown-panel a {
  color: var(--ink) !important;
}

/* the service page you're on */
.nav-dropdown-panel a.active {
  color: var(--primary) !important;
  font-weight: 600;
}

@media (min-width: 901px) {
  /* invisible bridge so the cursor never leaves .nav-dropdown while
     moving from the trigger down into the gap above the panel */
  .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
  }

  .nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(10, 36, 23, 0.14);
    padding: 12px;
    z-index: 50;
  }

  /* the last menu (Legal) always lines up with the nav's right edge; the others get
     .align-right from site.js only when opening under the label would run off the screen */
  .main-nav > .nav-dropdown:last-child .nav-dropdown-panel,
  .nav-dropdown-panel.align-right {
    left: auto;
    right: 0;
  }

  .nav-dropdown-panel.wide {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    min-width: 420px;
  }

  .nav-dropdown:hover .nav-dropdown-panel {
    display: flex;
  }

  .nav-dropdown:hover .nav-dropdown-panel.wide {
    display: grid;
  }

  .nav-dropdown-panel a {
    font-size: 14px;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .nav-dropdown-panel a:hover {
    background: var(--surface);
    color: var(--primary) !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* desktop: nav sits at the right edge; the actions area only holds the mobile
   menu toggle, so it is hidden rather than leaving an empty gap after the nav */
@media (min-width: 901px) {
  .main-nav {
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
    z-index: 50;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* the toggle (☰ / ×) sits above the open drawer so it can close it */
  .menu-toggle {
    position: relative;
    z-index: 60;
    color: var(--ink);
  }

  /* dimmed page behind the open drawer; tapping it closes the menu (site.js) */
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(10, 36, 23, 0.45);
  }

  .main-nav > a {
    padding-block: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding-block: 12px;
  }

  .nav-dropdown-trigger.open .chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-panel {
    display: none;
    flex-direction: column;
    padding-left: 12px;
    border-left: 2px solid var(--outline);
  }

  .nav-dropdown-panel.mobile-open {
    display: flex;
  }

  .nav-dropdown-panel a {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* ---------- embossed icon layer ---------- */
/* Add to any dark green panel; it paints over the panel's background and under its content.
   --emboss-size sets the icon scale (a tile holds 16 icons). The home hero has its own
   version with a fade and logo drop (templates/site/_hero_pattern.html). */
.emboss-icons {
  position: relative;
  isolation: isolate;
}

.emboss-icons::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url(../../emboss-icons.svg) center / var(--emboss-size, 800px);
  pointer-events: none;
}

@media (max-width: 640px) {
  .emboss-icons::before {
    background-size: min(var(--emboss-size, 800px), 560px);
  }
}

/* ---------- home hero: tabbed service picker ---------- */
.home-hero {
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(34, 163, 93, 0.45), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(34, 163, 93, 0.3), transparent 50%),
    var(--ink);
  padding-block: 160px 80px;
  position: relative;
  overflow: hidden;
}

/* Debossed icon pattern + large logo drop (templates/site/_hero_pattern.html). */
.home-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero > .container {
  position: relative;
}

@media (max-width: 640px) {
  .home-hero {
    padding-block: 130px 56px;
  }
}

.home-hero-title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

.home-hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin-bottom: 40px;
}

.home-hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.home-hero-tabs button {
  position: relative;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-hero-tabs button:hover {
  background: var(--surface-2);
}

.home-hero-tabs button.active {
  color: var(--white);
  background: var(--orange);
}

/* little pointer under the active tab */
.home-hero-tabs button.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: var(--orange);
}

/* ---------- service tiles (home hero tabs + category page heroes) ---------- */
/* Fixed-width grid columns so every card is the same width, last row included. */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.service-tiles[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-tile {
    min-height: 96px;
    padding: 14px;
  }

  .service-tile .label {
    font-size: 14px;
  }
}

.service-tile {
  position: relative;
  overflow: hidden;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'label arrow';
  align-content: end;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  padding: 18px 18px 20px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* The service icon: large and light gray, behind the label and arrow. */
.service-tile .icon {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%) rotate(-8deg);
  color: #e3e8e5;
  display: flex;
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-tile .icon svg {
  width: 110px;
  height: 110px;
  stroke-width: 1.15;
}

.service-tile:hover .icon {
  color: #d3ebdd;
  transform: translateY(-50%) rotate(-8deg) scale(1.06);
}

/* After the rules above, so it wins on phones. */
@media (max-width: 640px) {
  .service-tile .icon {
    right: -12px;
  }

  .service-tile .icon svg {
    width: 82px;
    height: 82px;
  }
}

.service-tile .label,
.service-tile .arrow {
  position: relative;
}

.service-tile .label {
  grid-area: label;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.service-tile .arrow {
  grid-area: arrow;
  display: flex;
  transition: transform 0.25s ease;
}

.service-tile:hover .arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.service-tile.is-disabled {
  cursor: not-allowed;
  color: var(--gray-2);
  background: rgba(242, 247, 244, 0.9);
  animation: service-tile-pulse 2.2s ease-in-out infinite;
}

.service-tile.is-disabled .icon {
  color: #e6ebe8;
}

.service-tile.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

@keyframes service-tile-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

.service-tile-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: -34px;
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 38px;
}

/* ---------- hero slideshow ---------- */
.hero-slider {
  position: relative;
  height: 760px;
  max-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

@media (max-width: 900px) {
  .hero-slider {
    height: 620px;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    height: 560px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

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

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 17, 33, 0.82) 0%,
    rgba(15, 17, 33, 0.5) 55%,
    rgba(15, 17, 33, 0.2) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.hero-slider.has-quicklinks {
  height: auto;
  max-height: none;
  min-height: 640px;
}

.hero-slide-content.has-quicklinks {
  height: auto;
  max-width: 1100px;
  justify-content: flex-start;
  padding-block: 150px 56px;
}

@media (max-width: 640px) {
  .hero-slide-content.has-quicklinks {
    padding-top: 130px;
  }
}

.hero-quicklinks {
  margin-top: 40px;
}

/* "Home > Category" trail at the top of the category page heroes */
.hero-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.hero-crumbs a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

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

.hero-crumbs .sep {
  display: flex;
  transform: rotate(-90deg);
}

.hero-crumbs .current {
  color: var(--white);
  font-weight: 600;
}

.hero-title {
  font-size: 54px;
  line-height: 1.12;
  color: var(--white);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 36px;
  }
}

.hero-sub {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.hero-actions {
  margin-top: 36px;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-nav-arrow.prev {
  left: 32px;
}

.hero-nav-arrow.next {
  right: 32px;
}

@media (max-width: 640px) {
  .hero-nav-arrow {
    display: none;
  }
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--white);
}

/* Category heroes: the service each photo shows, bottom right (fades with its photo). */
.hero-slide-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 36, 23, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* On phones the row of dots fills that spot, and the tiles already name each service. */
@media (max-width: 640px) {
  .hero-slide-caption {
    display: none;
  }
}

/* ---------- about ---------- */
/* the tape runs past the photo's edges; clip it at the section, not the page */
.about {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.about-media {
  position: relative;
}

/* "You" stitched to the four service areas; keep the 4:4.4 shape at every size so
   the SVG stitches (same viewBox shape) always meet the nodes */
.about-graphic {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(34, 163, 93, 0.45), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(34, 163, 93, 0.3), transparent 50%),
    var(--ink);
  --emboss-size: 480px;
}

@media (max-width: 900px) {
  .about-graphic {
    max-width: 460px;
    margin-inline: auto;
  }
}

.about-stitches {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-stitches path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
}

.about-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.about-node > span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.about-node-you {
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: none;
  box-shadow: none;
}

.about-node-you .dot {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 10px rgba(34, 163, 93, 0.25);
}

.about-node-you > span:last-child {
  color: var(--white);
  font-size: 15px;
}

@media (max-width: 420px) {
  .about-node {
    gap: 6px;
    padding: 8px 10px;
  }

  .about-node > span {
    font-size: 12px;
  }
}

/* yellow tailor's tape: long tick per number, half and eighth ticks between */
.about-tape {
  --unit: 48px;
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 14%;
  height: 46px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
  overflow: hidden;
  background:
    linear-gradient(to right, var(--ink) 1.5px, transparent 1.5px) 0 0 / var(--unit) 17px repeat-x,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) calc(var(--unit) / 2) 0 / var(--unit) 11px repeat-x,
    linear-gradient(to right, rgba(10, 36, 23, 0.5) 1px, transparent 1px) 0 0 / calc(var(--unit) / 8) 6px repeat-x,
    var(--yellow);
  box-shadow: 0 10px 24px rgba(10, 36, 23, 0.22);
  transform: rotate(-7deg);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s, opacity 0.6s ease 0.2s;
}

.about-tape span {
  flex: 0 0 var(--unit);
  padding-left: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

/* slides in once when the photo scrolls into view */
.about-media.reveal .about-tape {
  opacity: 0;
  transform: translateX(-24%) rotate(-7deg);
}

.about-media.reveal.is-visible .about-tape {
  opacity: 1;
  transform: rotate(-7deg);
}

@media (prefers-reduced-motion: reduce) {
  .about-tape {
    transition: none;
  }
}

.about-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary);
}

.about-title {
  margin-top: 14px;
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--ink);
}

.about-title em {
  font-style: normal;
  color: var(--primary);
}

.about-lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}

.about-body {
  margin-top: 14px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-1);
}

.about-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 600px;
  border-top: 1px solid var(--outline);
}

.about-points li {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4px 16px;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--outline);
}

/* three tape-style ticks as the marker */
.about-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--primary), var(--primary)) 0 0 / 2px 16px no-repeat,
    linear-gradient(var(--primary), var(--primary)) 6px 0 / 2px 8px no-repeat,
    linear-gradient(var(--primary), var(--primary)) 12px 0 / 2px 11px no-repeat;
}

.about-points strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.about-points span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-1);
}

@media (max-width: 640px) {
  .about-points li {
    grid-template-columns: 1fr;
  }
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

.about-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: color 0.2s ease;
}

.about-link:hover {
  color: var(--primary);
}

.about-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-item {
  min-width: 140px;
}

.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
}

.stat-num span {
  color: var(--primary);
}

.stat-label {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gray-1);
}

/* ---------- achievements split (home) ---------- */
.achievements-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.achievements-info {
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievements-info .section-title {
  margin-top: 0;
}

.achievements-info p {
  margin-top: 18px;
  max-width: 460px;
  color: var(--gray-1);
}

.achievements-info .btn {
  margin-top: 32px;
  align-self: flex-start;
}

.achievements-panel {
  background: var(--primary);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
  align-content: center;
}

.achievement-block .num {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.achievement-block .label {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.btn-accent {
  background: var(--primary);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  font-size: 13px;
}

.btn-accent:hover {
  background: var(--primary-dark);
}

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

  .achievements-info,
  .achievements-panel {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .achievements-panel {
    grid-template-columns: 1fr;
  }

  .achievement-block .num {
    font-size: 40px;
  }
}

/* ---------- our services (area tabs, home) ---------- */
.svc-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 40px;
}

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

.svc-title {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.svc-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-1);
}

/* segmented control on a white track */
.svc-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-pill);
}

.svc-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-1);
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-tabs button svg {
  color: var(--primary);
}

.svc-tabs button:hover {
  color: var(--ink);
  background: var(--surface);
}

.svc-tabs button.active {
  color: var(--white);
  background: var(--ink);
}

.svc-tabs button.active svg {
  color: var(--white);
}

.svc-tabs button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .svc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }

  .svc-tabs button {
    justify-content: center;
    padding: 10px 12px;
    font-size: 14px;
  }
}

.svc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 36, 23, 0.08);
  animation: svc-in 0.35s ease;
}

.svc-panel[hidden] {
  display: none;
}

@keyframes svc-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-panel {
    animation: none;
  }
}

@media (max-width: 900px) {
  .svc-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.svc-media {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: 10px;
  overflow: hidden;
}

.svc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* inset stitching, same as the About graphic's stitched lines */
.svc-media::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  pointer-events: none;
}

.svc-tag {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.svc-tag svg {
  color: var(--primary);
}

.svc-body {
  padding: 32px 32px 32px 0;
}

@media (max-width: 900px) {
  .svc-body {
    padding: 20px 8px 12px;
  }
}

.svc-panel-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.svc-desc {
  margin-top: 10px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-1);
}

.svc-points {
  margin-top: 24px;
}

.svc-points li {
  grid-template-columns: 1fr;
  padding-block: 12px;
}

.svc-points li::before {
  top: 14px;
}

.svc-chips-label {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gray-2);
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.svc-chip svg {
  color: var(--primary);
}

.svc-chip:hover {
  border-color: var(--primary);
  background: var(--white);
  color: var(--primary);
}

.svc-cta {
  margin-top: 28px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 28px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- service grid cards (our-services-1) ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(-6px);
}

.service-card:hover h4 {
  color: var(--white);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- services carousel (home) ---------- */
.services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .services-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-strip {
    grid-template-columns: 1fr;
  }
}

.services-strip-item {
  padding: 32px 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
}

.services-strip-item .icon {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 18px;
}

/* ---------- steps / process ---------- */
.steps-band {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

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

.steps-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .steps-grid,
  .steps-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps-grid,
  .steps-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.step-card {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  transition: background 0.25s ease, transform 0.25s ease;
}

a.step-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.step-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.step-card .step-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-soft-2);
  display: block;
  margin-bottom: 10px;
}

.step-card h5 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 18px;
}

.step-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- how it works (home) ---------- */
.how {
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(34, 163, 93, 0.35), transparent 55%),
    var(--ink);
}

.how-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 64px;
}

.how-title {
  margin-top: 14px;
  max-width: 620px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--white);
}

.how-sub {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
}

/* --steps (set inline) is the step count; defaults to 3 */
.how-steps {
  --gap: 40px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr));
  gap: var(--gap);
}

/* the stitched thread joining the step markers: first marker's centre to the last's */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc((100% - (var(--steps, 3) - 1) * var(--gap)) / var(--steps, 3) - 28px);
  border-top: 2px dashed rgba(255, 255, 255, 0.4);
}

.how-steps li {
  position: relative;
}

.how-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--ink);
}

.how-steps h3 {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.how-steps p {
  margin-top: 8px;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* thread runs down the left side instead */
  .how-steps::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    border-top: none;
    border-left: 2px dashed rgba(255, 255, 255, 0.4);
  }

  .how-steps li {
    padding-left: 80px;
  }

  .how-num {
    position: absolute;
    left: 0;
    top: 0;
  }

  .how-steps h3 {
    margin-top: 12px;
  }
}

/* ---------- projects / case studies ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 5/4;
}

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

.project-card:hover img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 17, 33, 0.85) 0%, rgba(15, 17, 33, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.project-card-tag {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.75;
  margin-bottom: 8px;
}

.project-card h4 {
  color: var(--white);
  font-size: 22px;
}

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

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

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
}

.testimonial-percent {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.testimonial-quote {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.testimonial-role {
  font-size: 13px;
  color: var(--gray-2);
}

/* ---------- chart card ---------- */
.chart-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
}

.chart-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.chart-card-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.chart-range-toggle {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.chart-range-toggle button {
  background: none;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-2);
}

.chart-range-toggle button.active {
  background: var(--ink);
  color: var(--white);
}

/* ---------- why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

.why-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.why-media img {
  width: 100%;
  aspect-ratio: 4/3.6;
  object-fit: cover;
}

/* ---------- industries ---------- */
.industry-band {
  background: var(--ink);
  color: var(--white);
}

.industry-band .section-title {
  color: var(--white);
}

/* ---------- category pages: about photo + service tiles anchor ---------- */
.cat-photo {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 4.4;
}

@media (max-width: 900px) {
  .cat-photo {
    aspect-ratio: 4 / 3;
  }
}

.cat-why-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.cat-why-sub + .svc-points {
  margin-top: 14px;
}

/* "#services" links land below the fixed header */
#services {
  scroll-margin-top: 120px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 40px 0;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.industry-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- faq ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

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

/* intro stays in view while the questions scroll past */
@media (min-width: 901px) {
  .faq-intro {
    position: sticky;
    top: 120px;
  }
}

.faq .section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.faq-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--surface);
  border-left: 4px solid var(--yellow);
}

.faq-help strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-help span {
  font-size: 14px;
  color: var(--gray-1);
}

.faq-help .about-link {
  margin-top: 8px;
}

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

.accordion-item {
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
  border-color: var(--primary-soft-2);
}

.accordion-item.open {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(10, 36, 23, 0.06);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 12px;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.accordion-item.open .accordion-icon {
  background: var(--primary);
  color: var(--white);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 240px;
}

.accordion-panel-inner {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-1);
  max-width: 90%;
}

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

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

.blog-section .section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.8px;
}

.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--outline);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(10, 36, 23, 0.12);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 4/2.7;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-media img {
    transition: none;
  }

  .blog-card:hover,
  .blog-card:hover .blog-card-media img {
    transform: none;
  }
}

.blog-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  border-radius: 0;
  padding: 8px 14px;
  text-align: center;
  line-height: 1.1;
}

.blog-date .day {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.blog-date .month {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gray-2);
}

.blog-card-body {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.blog-card h4 {
  font-size: 19px;
  font-weight: 600;
  margin: 14px 0 12px;
  line-height: 1.35;
  color: var(--ink);
}

.blog-card p {
  font-size: 14px;
  color: var(--gray-1);
}

/* ---------- cta banner ---------- */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--primary);
  color: var(--white);
  border-radius: 16px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* inset stitching, same as the About graphic and the service photos */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 44px 32px;
  }
}

/* right after the FAQs, don't stack two full section paddings */
.faq + .section:has(.cta-banner) {
  padding-top: 0;
}

.cta-banner-copy {
  max-width: 580px;
}

.cta-banner h3 {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.cta-banner-copy p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.cta-banner .btn-white:hover {
  background: var(--ink);
}

.cta-banner-alt {
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.cta-banner-alt:hover {
  color: var(--yellow);
}

/* ---------- contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

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

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}

.contact-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.contact-info-card {
  background: var(--surface);
  border-radius: 0;
  padding: 22px;
}

.contact-info-card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-2);
  margin-bottom: 8px;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 40px;
  display: grid;
  gap: 18px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--outline);
  border-radius: 0;
  padding: 14px 18px;
  background: var(--white);
}

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

.contact-form [aria-invalid="true"] {
  border-color: #d93025;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  color: #d93025;
  font-size: 14px;
}

.coming-soon-error {
  margin-top: 12px;
}

.coming-soon-form [aria-invalid="true"] {
  border-color: #d93025;
}

.form-consent {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6d7074;
}

.form-success h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

[data-form-success]:focus {
  outline: none;
}

/* ---------- work with us (/work-with-us and its two forms) ---------- */
.breadcrumb-sub {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* "Work With Us" in the main menu (NAV entry with button: True) */
.main-nav > a.nav-cta {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  transition: background 0.25s ease;
}

.main-nav > a.nav-cta:hover,
.main-nav > a.nav-cta.active {
  background: var(--primary);
  color: var(--white);
}

.main-nav.open > a.nav-cta {
  margin-top: 16px;
  padding: 12px 24px;
  color: var(--white) !important;
}

.wwu-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
}

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

.wwu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
}

.wwu-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
}

.wwu-card h2 {
  font-size: 24px;
  line-height: 1.3;
}

.wwu-card p {
  color: var(--gray-1);
  line-height: 1.65;
}

.wwu-card .btn {
  margin-top: auto;
}

@media (max-width: 560px) {
  .wwu-card {
    padding: 28px 24px;
  }
}

.wwu-help {
  margin-top: 40px;
  text-align: center;
  color: var(--gray-1);
}

.wwu-help a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.wwu-help-dot {
  margin-inline: 10px;
}

/* phones: one line each, no separator */
@media (max-width: 560px) {
  .wwu-help > span {
    display: block;
  }

  .wwu-help-dot {
    display: none !important;
  }
}

/* The two forms use the landing pages' lead step form look (static/css/landing.css:
   .hero-card, .stepper-*, .option-card, .field, .step-nav); its colours are set here,
   on the form only, so the rest of the parent site keeps its own palette. */
.wwu-form-wrap {
  --lf-green-50: #eef9f2;
  --lf-green-500: #22a35d;
  --lf-green-600: #1c8c4e;
  --lf-green-700: #146b3b;
  --lf-ink: #10241a;
  --lf-muted: #8b9a92;
  --lf-border: #e7ede9;
  --lf-bg-soft: #f6f9f7;
  --lf-track: #dde3df;
  --lf-orange: #ee9a12;
  --lf-teal: #3c7d90;
  --lf-error: #d92d20;
  --lf-radius-sm: 12px;
  --lf-radius-lg: 28px;
  max-width: 720px;
  margin-inline: auto;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.wwu-intro {
  max-width: 600px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--gray-1);
}

/* the card (.hero-card) */
.wwu-form {
  /* clear the fixed header when a step change scrolls back to the top of the form */
  scroll-margin-top: 110px;
  display: block;
  padding: 34px 36px;
  background: var(--white);
  border-radius: var(--lf-radius-lg);
  box-shadow: 0 34px 80px rgba(10, 36, 23, 0.14);
  text-align: left;
}

@media (max-width: 560px) {
  .wwu-form {
    padding: 26px 20px;
    border-radius: 20px;
  }
}

/* eyebrow + step bar + "Step 1 of 4" (.form-eyebrow, .stepper-*) */
.wwu-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lf-teal);
}

.wwu-progress:not([hidden]) {
  display: block;
}

.wwu-progress-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.wwu-progress-bar span {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--lf-track);
  transition: background-color 0.2s ease;
}

.wwu-progress-bar span.is-complete {
  background: var(--lf-green-700);
}

.wwu-progress-bar span.is-active {
  background: var(--lf-orange);
}

.wwu-progress-label {
  margin: 10px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-teal);
}

/* a step: its title is the card title (.hero-card-title) */
.wwu-section,
.wwu-field fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wwu-section {
  margin-top: 18px;
}

.wwu-section:focus {
  outline: none;
}

.wwu-section > legend {
  padding: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--lf-ink);
}

/* without JS every step shows at once, so space them out */
.wwu-section + .wwu-section {
  margin-top: 36px;
}

.wwu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.wwu-field {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 20px;
}

.wwu-field.half {
  grid-column: span 1;
}

.wwu-field[hidden] {
  display: none;
}

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

  .wwu-field.half {
    grid-column: 1 / -1;
  }
}

/* questions (.hero-card-question) and text-field labels (.field > span) */
.wwu-label {
  display: block;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lf-ink);
}

.wwu-field > .wwu-label {
  margin-bottom: 6px;
  font-size: 12.5px;
}

.wwu-optional {
  font-weight: 500;
  color: var(--lf-muted);
}

.wwu-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--lf-muted);
}

/* text inputs, textareas and selects (.field input, .select-wrap select) */
.wwu-field input:not([type='radio']):not([type='checkbox']),
.wwu-field select,
.wwu-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--lf-border);
  border-radius: var(--lf-radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--lf-ink);
  transition: border-color 0.15s ease;
}

.wwu-field input::placeholder,
.wwu-field textarea::placeholder {
  color: var(--lf-muted);
}

.wwu-field input:focus,
.wwu-field select:focus,
.wwu-field textarea:focus {
  outline: none;
  border-color: var(--lf-green-500);
}

.wwu-field textarea {
  resize: vertical;
}

.wwu-select {
  position: relative;
  display: block;
}

.wwu-select select {
  appearance: none;
  padding-right: 40px;
  font-weight: 500;
}

.wwu-select svg {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--lf-muted);
  pointer-events: none;
}

/* answer choices: option cards (.option-card), two to a row */
.wwu-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.wwu-options.is-long {
  grid-template-columns: repeat(3, 1fr);
}

.wwu-states {
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 8px;
}

@media (max-width: 560px) {
  .wwu-options.is-long {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .wwu-options {
    grid-template-columns: 1fr;
  }

  .wwu-options.is-long {
    grid-template-columns: 1fr 1fr;
  }

  .wwu-states {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  }
}

/* The real radio/checkbox stays in the page for keyboards and screen readers;
   the card after it is what's drawn. */
.wwu-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.wwu-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.wwu-option-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--lf-border);
  border-radius: var(--lf-radius-sm);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--lf-ink);
  transition: all 0.15s ease;
}

.wwu-option:hover .wwu-option-box {
  border-color: var(--lf-green-200, #b3e3c4);
}

/* the round dot (.option-radio) for one-choice questions; a square tick for many */
.wwu-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--lf-border);
  border-radius: 50%;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wwu-mark::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lf-green-600);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.15s ease;
}

.wwu-option input[type='checkbox'] + .wwu-option-box .wwu-mark {
  border-radius: 5px;
}

.wwu-option input[type='checkbox'] + .wwu-option-box .wwu-mark::after {
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: none;
  transform: rotate(45deg) scale(0.4);
}

.wwu-option input:checked + .wwu-option-box {
  background: var(--lf-green-50);
  border-color: var(--lf-green-500);
}

.wwu-option input:checked + .wwu-option-box .wwu-mark {
  border-color: var(--lf-green-500);
}

.wwu-option input:checked + .wwu-option-box .wwu-mark::after {
  opacity: 1;
  transform: scale(1);
}

.wwu-option input[type='checkbox']:checked + .wwu-option-box .wwu-mark {
  background: var(--lf-green-600);
  border-color: var(--lf-green-600);
}

.wwu-option input[type='checkbox']:checked + .wwu-option-box .wwu-mark::after {
  transform: rotate(45deg) scale(1);
}

.wwu-option input:focus-visible + .wwu-option-box {
  outline: 2px solid var(--lf-green-500);
  outline-offset: 2px;
}

/* state codes: compact cards, no mark */
.wwu-states .wwu-option-box {
  justify-content: center;
  padding: 9px 4px;
  font-size: 13px;
}

.wwu-states .wwu-mark {
  display: none;
}

/* required confirmation box (.consent-check) */
.wwu-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--lf-border);
  border-radius: var(--lf-radius-sm);
  background: var(--lf-bg-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lf-ink);
  cursor: pointer;
}

.wwu-confirm input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--lf-green-600);
  cursor: pointer;
}

/* problems (.field.has-error, .field-error) */
.wwu-field.is-invalid > .wwu-label,
.wwu-field.is-invalid legend.wwu-label {
  color: var(--lf-error);
}

.wwu-field.is-invalid input:not([type='radio']):not([type='checkbox']),
.wwu-field.is-invalid select,
.wwu-field.is-invalid textarea,
.wwu-field.is-invalid .wwu-option-box,
.wwu-field.is-invalid .wwu-confirm {
  border-color: var(--lf-error);
}

.wwu-form .form-error {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--lf-error);
}

/* Back / Continue (.step-nav, .step-back-btn, .step-continue-btn) */
.wwu-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.wwu-actions [hidden] {
  display: none;
}

.wwu-back,
.wwu-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.wwu-back {
  border: 1.5px solid var(--lf-border);
  background: var(--white);
  color: var(--lf-ink);
}

.wwu-back:hover {
  background: var(--lf-bg-soft);
}

.wwu-continue {
  margin-left: auto;
  padding-inline: 24px;
  border: none;
  background: var(--lf-green-700);
  color: var(--white);
}

.wwu-continue:hover:not(:disabled) {
  background: var(--ink);
}

.wwu-continue:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* consent line under the buttons (.consent-text) */
.wwu-form .form-consent {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--lf-muted);
}

/* thank-you card */
.wwu-form.form-success {
  text-align: center;
}

.wwu-form.form-success h4 {
  justify-content: center;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-grid h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-newsletter-input {
  display: flex;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.footer-newsletter-input input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 18px;
  color: var(--white);
}

.footer-newsletter-input button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 22px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 190px;
  padding-bottom: 64px;
  text-align: center;
}

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

.breadcrumb h1 {
  color: var(--white);
  font-size: 44px;
}

/* breadcrumb(pattern=true): the home hero's gradient, icon pattern and drop
   (templates/site/_hero_pattern.html, positioned by the macro) */
.breadcrumb-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(34, 163, 93, 0.45), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(34, 163, 93, 0.3), transparent 50%),
    var(--ink);
}

.breadcrumb-hero > .container {
  position: relative;
}

.breadcrumb-trail {
  margin-top: 14px;
  font-size: 14px;
}

.breadcrumb-trail .current {
  color: var(--white);
}

/* breadcrumb with a background photo (service child pages) */
.breadcrumb-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.breadcrumb-photo .breadcrumb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.breadcrumb-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 36, 23, 0.88) 0%,
    rgba(10, 36, 23, 0.62) 55%,
    rgba(10, 36, 23, 0.8) 100%
  );
}

.breadcrumb-photo,
.breadcrumb-photo .breadcrumb-trail {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- coming soon ---------- */
.coming-soon-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.coming-soon-content .eyebrow {
  margin-bottom: 14px;
}

.coming-soon-content .section-title {
  margin-bottom: 18px;
}

.coming-soon-subtitle {
  color: var(--gray-1);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.coming-soon-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .coming-soon-form {
    flex-direction: column;
  }
}

.coming-soon-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--outline);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
}

.coming-soon-form input::placeholder {
  color: var(--gray-2);
}

.coming-soon-form button {
  white-space: nowrap;
}

.coming-soon-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 28px;
}

.coming-soon-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
}

.coming-soon-phone:hover {
  color: var(--primary);
}

/* ---------- legal pages ---------- */
.legal-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-content h2 {
  font-size: 24px;
  margin-top: 16px;
}

.legal-content p,
.legal-content li {
  color: var(--gray-1);
  line-height: 1.75;
}

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

.legal-updated {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-2);
}

/* ---------- icon base ---------- */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- flex utils ---------- */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.gap-3 {
  gap: 12px;
}

/* ---------- Flask port: state hooks that were React state ---------- */
/* Hidden slides, tab panels and form states (components set display:flex/grid, which beats the UA [hidden] rule) */
[hidden] {
  display: none !important;
}
/* Icons that swap with open state: accordion chevron/close, mobile menu/close */
.when-open {
  display: none;
}
.accordion-item.open .when-open,
.menu-toggle.is-open .when-open {
  display: inline-block;
}
.accordion-item.open .when-closed,
.menu-toggle.is-open .when-closed {
  display: none;
}
