:root {
  --ink: #2f3749;
  --muted: #5d665f;
  --paper: #f5f0ec;
  --white: #fffdf8;
  --leaf: #65af45;
  --leaf-deep: #337d3d;
  --sky: #87afcf;
  --mist: #d1ddea;
  --line: #ded8d1;
  --shadow: 0 18px 55px rgba(47, 55, 73, 0.14);
  --section-heading-size: clamp(22px, 2.8vw, 38px);
  --body-copy-size: 18px;
}

@font-face {
  font-family: "Mairo";
  src:
    url("../fonts/mairo.woff2") format("woff2"),
    url("../fonts/mairo.woff") format("woff");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Clears the sticky header (~108px at the largest logo size) so the
 * #faq / #downloads anchors don't land underneath it. */
section[id] {
  scroll-margin-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Trebuchet MS, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px max(clamp(20px, 4vw, 56px), calc((100% - 1170px) / 2));
  background: rgba(245, 240, 236, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
}

/* Roughly doubled from the original 38px. Clamped rather than fixed at
 * 76px because the header is a `1fr auto 1fr` grid: at ~76px the logo
 * is 309px wide, which crowds the centred nav between about 920px and
 * 1030px viewport widths. Scaling with the viewport keeps the full size
 * on wide screens and backs off before the nav gets squeezed. */
.brand img {
  width: auto;
  height: clamp(52px, 6vw, 76px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 24px;
}

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

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

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

nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

nav a {
  color: var(--muted);
}

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

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-transform: none;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.nav-trigger:hover,
.nav-item.open .nav-trigger {
  color: var(--ink);
}

.nav-item.open .nav-trigger::after {
  transform: rotate(-135deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 20;
  display: flex;
  min-width: 230px;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-item:hover .nav-submenu,
.nav-item.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: var(--mist);
}

.header-action,
.button,
button {
  border: 1px solid var(--leaf-deep);
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 11px 16px;
  text-transform: uppercase;
}

.header-action {
  justify-self: end;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  /* Anchored to the bottom, not centered: the hero photo has faces in
   * the upper-middle band, and a centered card sat directly on top of
   * two of them (three on mobile, where the crop is narrower). The
   * lower band (table/hands) has no faces, so the card sitting there
   * instead leaves everyone visible above it. */
  align-items: end;
  /* clamp, not a flat vh: a bare 78vh made this section nearly the
   * entire viewport on any normal screen (and enormous on tall phones).
   * The px bounds keep it from collapsing too short on small viewports
   * or ballooning on tall ones, while still scaling with the window. */
  min-height: clamp(420px, 56vh, 620px);
  padding: 0 0 clamp(8px, 1vw, 16px);
  overflow: hidden;
  background: var(--ink);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the crop to the top of the source photo (faces) so shrinking
   * this section's height crops away the bottom (hands/table), not the
   * faces — see the min-height comment above. */
  object-position: center top;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 48px));
  padding: 48px 40px;
  background: rgba(255, 253, 248, 0.92);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.downloads-card {
  width: min(640px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--paper);
  text-align: center;
}

/* Pairs a section's existing content with a photo, side by side — used
 * to work real photography into the Downloads and FAQ sections on the
 * homepage, which otherwise have no image of their own. Mirrors
 * .split-section/.split-section-reverse's column-order convention: DOM
 * order is content then image, and the "reverse" modifier swaps which
 * side each lands on so the two sections can alternate rather than both
 * putting the photo on the same side. */
.section-split-media {
  display: grid;
  /* minmax(0, 1fr), not bare 1fr: a bare 1fr track's implicit minimum
   * width is its content's min-content size, and the FAQ tab row's
   * unbroken width (before its own overflow-x:auto can kick in) is wide
   * enough to force that column past 50%, squeezing the photo column to
   * zero. minmax(0, ...) lets both tracks shrink below that. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  /* Stretch, not center: image2 is a tall portrait photo, and without a
   * real height to crop against it rendered at its own intrinsic aspect
   * ratio instead of matching the card beside it — taller or shorter
   * than the content depending on viewport width. Stretching both
   * columns to the row height, then having the image fill and
   * object-fit:cover crop to that height, keeps it matched to whichever
   * side is taller. The FAQ section's photo opts out via its own
   * align-self (it's pinned to the heading, not stretched to the list's
   * full height). */
  align-items: stretch;
}

.section-split-media-reverse > :first-child {
  order: 2;
}

.section-split-media-reverse > :last-child {
  order: 1;
}

.section-split-media .downloads-card {
  width: 100%;
  margin: 0;
  text-align: left;
}

/* The photo should never be bigger than the heading/text column beside
 * it, and never bigger than its own native resolution either way —
 * upscaling past that is what made a photo look soft/blurry. The
 * figure stretches to the row's height (from .section-split-media's
 * own align-items:stretch, which — on the single-column mobile stack
 * below, where each item gets its own row — simply resolves to the
 * figure's natural content height, since there's no sibling row to
 * match there). The img itself is never told to be any particular
 * size (no width:100%/height:100%): with only max-width/max-height
 * as a ceiling, the browser renders it at its own intrinsic size and
 * only ever scales it *down* to fit inside that ceiling, centered —
 * it can come out smaller than the text column if the photo's own
 * aspect ratio calls for it, which is the correct trade-off (a
 * smaller, sharp photo beats a bigger, blurry one). FAQ's photo keeps
 * its own align-self:start override below, so this doesn't change its
 * sticky behaviour. */
.section-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Opt-in: for a pairing where the photo should visually fill and match
 * its sibling column's height exactly (cropped via object-fit:cover)
 * rather than sizing itself from its own aspect ratio and never
 * enlarging past native resolution, as the default two rules above do.
 * Use only where that guaranteed match matters more than the risk of
 * some upscale softness — added via wrap_section_with_media()'s $match
 * argument in migrate.php. min-width-scoped for the same reason as
 * .section-split-media itself: "match my sibling's height" is only
 * meaningful once they actually share a row. */
@media (min-width: 921px) {
  .section-split-media-match .section-media {
    height: 100%;
    position: relative;
  }

  .section-split-media-match .section-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
  }
}

/* Downloads wants the opposite of the default above: its photo should
 * stretch and crop to match the form card beside it, never dictate the
 * row's height itself (a tall portrait photo sized in normal flow did
 * exactly that — ended up taller than the form instead of matching
 * it). Taking the img out of flow with position:absolute stops it
 * contributing to the row's auto-height calculation at all, so the row
 * is sized by the text+form column alone and the image just fills and
 * crops to match. Scoped to the ≥921px side-by-side layout only — below
 * that, Downloads' photo falls back to the same natural-sized default
 * FAQ's already uses once stacked, since "match my sibling's height"
 * is meaningless once they're no longer sharing a row. */
@media (min-width: 921px) {
  #downloads .section-media {
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  #downloads .section-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 320px;
  }
}

@media (max-width: 920px) {
  .section-split-media {
    /* minmax(0, 1fr), not bare 1fr — same reason as the desktop rule
     * above: without it, the FAQ tab row's unbroken min-content width
     * (it scrolls, but only once it's allowed to be narrower than its
     * content) forces this single column — and the image stacked in it
     * — to that width, well past the actual viewport. */
    grid-template-columns: minmax(0, 1fr);
  }

  /* Regardless of the reverse modifier, the photo leads on mobile —
   * DOM order stays content-then-image either way (matches
   * .split-section's own convention, and keeps heading/form content
   * before any long list for screen readers), this only changes where
   * it lands visually. */
  .section-split-media-reverse > :first-child,
  .section-split-media-reverse > :last-child {
    order: initial;
  }

  .section-split-media .section-media {
    order: -1;
  }
}

.hero-copy h1 {
  margin: 0 auto;
}

.hero-copy .lead {
  margin: 18px auto 0;
}

.hero-copy .actions {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow:empty {
  display: none;
}

h1,
h2,
h3 {
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-family: "Mairo", "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(40px, 5.6vw, 73px);
  font-weight: 400;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: var(--section-heading-size);
}

h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

p {
  margin: 0 0 16px;
}

.lead {
  margin-top: 18px;
  color: var(--leaf-deep);
  font-size: 22px;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

#process-actions {
  justify-content: center;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.split-section,
.section,
.contact-section,
.editor-hero {
  padding: clamp(34px, 4.5vw, 58px) max(clamp(20px, 5vw, 72px), calc((100% - 1170px) / 2));
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: clamp(20px, 4vw, 46px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-page .split-section,
.about-page .split-section-reverse {
  grid-template-columns: 1fr 1fr;
}

.split-section-alt {
  background: var(--mist);
}

.split-section-reverse {
  grid-template-columns: 1.1fr 0.8fr;
}

.split-section-reverse > div:first-child {
  order: 2;
}

.split-section-reverse > div:last-child {
  order: 1;
}

.large-copy {
  color: var(--muted);
  font-size: var(--body-copy-size);
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2 {
  font-size: var(--section-heading-size);
}

.section-heading p {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: var(--body-copy-size);
  line-height: 1.55;
}

.service-grid,
.model-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card,
.model-card,
.package-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.model-card:hover,
.package-card:hover,
.zone-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf-deep);
}

.package-card h3 {
  font-family: "Mairo", "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: 39px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p,
.model-card p,
.package-card p {
  color: var(--muted);
}

.service-card a:not(.button),
.package-card a:not(.button) {
  display: inline-block;
  margin-top: 10px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card .button {
  align-self: flex-start;
  margin-top: auto;
  color: var(--ink);
  white-space: nowrap;
}

.pathway-section {
  background: var(--mist);
}

/* .step-list is normally 4-across (repeat(4, ...)), sized for the full
 * section width. Paired with a photo via .section-split-media it only
 * has half that width to work with, so 4 columns would squeeze each
 * card down to a sliver — 2x2 instead. min-width-scoped: below 921px
 * .section-split-media itself collapses to one column (step-list gets
 * the full section width back), and the existing responsive .step-list
 * rules already take it to 2 then 1 column from there — this override
 * has higher specificity than those and would otherwise win and break
 * that mobile stacking. */
@media (min-width: 921px) {
  .section-split-media .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Same reasoning as .step-list above: .info-card-grid is normally
   * 2 columns (it only drops to 1 below 780px viewport width, which
   * doesn't help here — the squeeze comes from the column being half
   * the section's width, not from the viewport itself being narrow).
   * A Service page's info-cards paired with a photo via
   * wrap_section_with_media() get their full column back to stack in,
   * rather than two half-width cards squeezed into a half-width split. */
  .section-split-media .info-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dream-garden-section {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.dream-garden-section .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.dream-garden-section .button.secondary {
  background: transparent;
  color: var(--white);
}

.dream-garden-section .section-heading {
  max-width: 980px;
  margin-bottom: 24px;
}

#services .section-heading {
  max-width: none;
}

#services-title {
  white-space: nowrap;
}

.dream-garden-section h2 {
  color: var(--white);
  font-size: var(--section-heading-size);
  white-space: nowrap;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.dream-step-list {
  --dream-step-gap: clamp(22px, 3vw, 42px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--dream-step-gap);
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-list li,
.dream-step-list li {
  min-height: 132px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(47, 55, 73, 0.14);
  border-radius: 20px;
}

.dream-step-list li {
  position: relative;
  display: block;
  width: 100%;
  min-height: auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.dream-step-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 208px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.32);
  text-align: center;
}

.dream-arrow {
  position: absolute;
  top: 50%;
  right: calc(var(--dream-step-gap) / -2);
  z-index: 2;
  width: 48px;
  height: 18px;
  background: var(--sky);
  clip-path: polygon(0 38%, 66% 38%, 66% 0, 100% 50%, 66% 100%, 66% 62%, 0 62%);
  transform: translate(50%, -50%);
}

.dream-step-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dream-step-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(19px, 1.7vw, 23px);
  text-align: center;
}

.dream-step-list strong a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.dream-step-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.section-actions {
  justify-content: center;
  margin-top: 26px;
}

.step-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  margin: 0 12px 12px 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--leaf-deep);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.package-label {
  position: static;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  width: 100%;
  margin: -6px 0 20px;
  padding: 10px 16px;
  border: 1px solid rgba(47, 55, 73, 0.14);
  border-radius: 16px;
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.package-card:not(:has(.package-label))::before {
  content: "";
  display: block;
  min-height: 40px;
  width: 100%;
  margin: -6px 0 20px;
}

.static-label {
  position: static;
  width: fit-content;
  min-width: 260px;
  margin-bottom: 22px;
}

.step-list strong,
.dream-step-list strong {
  display: inline;
  color: var(--ink);
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(21px, 1.6vw, 25px);
  line-height: 1.08;
  vertical-align: middle;
}

.step-list p,
.dream-step-list p {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .dream-step-circle {
    padding: 22px;
  }

  .dream-step-list strong {
    font-size: clamp(18px, 2vw, 22px);
  }

  .dream-step-list p {
    font-size: 14px;
  }
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

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

.consultation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.consultation-card h3 {
  margin-bottom: 6px;
}

.consultation-card .price {
  margin: 0;
}

.consultation-detail {
  max-width: 760px;
  background: var(--white);
}


.inclusion-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.inclusion-list li {
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--muted);
  font-size: var(--body-copy-size);
}

.package-includes-section {
  background: var(--mist);
}

.additional-services {
  max-width: 640px;
  margin: 32px auto 0;
}

.additional-services h3 {
  margin: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.feature-check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--leaf-deep);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.feature-list-single {
  grid-template-columns: 1fr;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.check-list .feature-check {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.check-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
}

@media (max-width: 620px) {
  .check-list-grid {
    grid-template-columns: 1fr;
  }
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(47, 55, 73, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(47, 55, 73, 0.16);
}

.info-card h3 {
  margin-top: 0;
}

.info-card p:first-child {
  margin-top: 0;
}

/* Two .info-cards merged into one (see migrate.php's merge_info_cards())
 * for a pair of cards that read as one continuous thought rather than
 * two separate boxes. */
.info-card-grid.single-card {
  grid-template-columns: 1fr;
}

/* A photo standing in for one grid cell (see migrate.php's
 * replace_first_info_card_with_image()), styled as its own card —
 * same rounded corner/border as a text .info-card, but edge-to-edge
 * with no padding, cropped to fill it exactly. */
.info-card-image {
  padding: 0;
  overflow: hidden;
}

.info-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

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

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

.reason-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(47, 55, 73, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf-deep), var(--sky));
}

.reason-card:hover {
  transform: translateY(-6px);
  border-color: var(--leaf-deep);
  box-shadow: 0 24px 52px rgba(47, 55, 73, 0.18);
}

.reason-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.reason-number {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--leaf-deep);
  color: var(--white);
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(51, 125, 61, 0.32);
  transition: background 0.22s ease, transform 0.22s ease;
}

.reason-card:hover .reason-number {
  background: var(--sky);
  transform: scale(1.08);
}

.reason-card h3 {
  margin: 0;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
}

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

@media (max-width: 720px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.zone-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.zone-map-figure {
  margin: 0;
}

.zone-map {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.zone-grid-stacked {
  grid-template-columns: 1fr;
}

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

.zone-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.zone-card .price {
  margin: 10px 0 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-card {
    padding: 14px;
  }
}

@media (min-width: 721px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-grid .team-line-start {
    grid-column-start: 1;
  }
}

.team-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  border-color: var(--leaf-deep);
  transform: translateY(-3px);
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 16px;
  background: var(--mist);
}

.team-card h3 {
  margin-bottom: 6px;
  font-size: clamp(18px, 4vw, 22px);
}

.team-card .meta {
  color: var(--muted);
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  font-size: 14px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 310px;
  text-align: center;
}

.package-card:has(.package-label) {
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(135, 175, 207, 0.18);
}

.package-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  font-family: "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.package-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.price {
  margin-top: 0;
  color: var(--leaf-deep);
}

.price-note {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: super;
}

.package-card a {
  align-self: center;
  margin-top: auto;
}

.price strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
}

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

.project-band .eyebrow {
  color: var(--sky);
}

.project-band .section-heading p {
  color: var(--mist);
}

.project-band .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.project-band .button.secondary {
  background: transparent;
  color: var(--white);
}

/* A 3-column row, matching the /projects/ archive's .directory-grid /
 * .directory-card pattern (image on top, content below) rather than
 * the old single-column stack of wide image-beside-text cards — the
 * homepage teaser is only ever 3 items, so a row reads as "our best
 * projects" at a glance instead of a long scroll. */
.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

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

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
  transition: transform 0.3s ease;
}

.project-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

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

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

.project-card .meta {
  color: var(--muted);
}

/* Overrides .project-band .button (white-on-white — meant for buttons
 * sitting directly on the dark band background) now that the card
 * itself is white: needs the normal dark button back to stay visible. */
.project-band .project-card .button {
  display: inline-block;
  margin-top: auto;
  width: fit-content;
  background: var(--ink);
  border-color: var(--leaf-deep);
  color: var(--white);
}

.meta {
  color: #d7d4ca;
  font-size: 13px;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

dt {
  color: var(--sky);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: #ede9df;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span {
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 999px;
  padding: 5px 10px;
  color: #f7f5ef;
  font-size: 12px;
}

.page-back {
  display: inline-block;
  width: fit-content;
  margin: 0 0 18px;
}

.detail-hero:has(.page-back) {
  padding-top: calc(clamp(32px, 4.5vw, 58px) - 15px);
}

.detail-top-actions {
  padding: clamp(20px, 3vw, 32px) max(clamp(20px, 5vw, 72px), calc((100% - 1170px) / 2)) 0;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 4.5vw, 54px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 58px) max(clamp(20px, 5vw, 72px), calc((100% - 1170px) / 2));
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 58%, var(--mist) 58%, var(--mist) 100%);
}

.projects-page .detail-hero,
.compact-hero-page .detail-hero {
  padding-top: clamp(18px, 2.5vw, 30px);
  padding-bottom: clamp(18px, 2.5vw, 30px);
}

.detail-hero h1 {
  max-width: 1000px;
  color: var(--ink);
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
}

#package-detail h1 {
  font-family: "Mairo", "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

.detail-hero .lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--leaf-deep);
}

.detail-hero .meta,
.consultation-detail .meta {
  color: var(--leaf-deep);
}

.page-hero-media {
  margin: 0;
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 20px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.staff-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: stretch;
  min-height: 384px;
}

.staff-profile-copy {
  /* Anchor for .page-back below, so it can pin to the top of the
   * column independently of the bio text's own vertical centering. */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(32px, 4.5vw, 58px) max(clamp(20px, 5vw, 72px), calc((100% - 1170px) / 2));
  /* Extra top padding, on top of the shared value above: reserves room
   * for .page-back, which is pulled out of flow (position:absolute)
   * below — without this the vertically-centered bio text has no idea
   * that space is spoken for and renders straight under/through it. */
  padding-top: clamp(84px, 10vw, 110px);
}

/* Without this, the back link sits inside the flex column above and
 * gets vertically centered along with the bio text — on a tall
 * profile it ends up drifting well down the page instead of reading
 * as a "back" control near the top. */
.staff-profile-copy .page-back {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  margin: 0;
}

.staff-bio p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.staff-profile-media {
  /* Opts out of .staff-profile's align-items:stretch: with a bio long
   * enough to make the text column taller than the image (true for
   * every real staff member — 3 to 6 paragraphs each), stretch made
   * the image match that height exactly regardless of how tall that
   * was, so reducing .staff-profile's own min-height floor above had
   * no visible effect. Centering instead means the image keeps the
   * fixed height set below no matter how long the bio is. */
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  background: var(--mist);
}

.staff-profile-media img {
  display: block;
  /* ~40% shorter than the original full-bleed (which matched the text
   * column's height, commonly 700-900px for a real bio). width:auto
   * (not 100%) with no object-fit: these are portrait photos, and
   * object-fit:cover inside a wide box was cropping heads/bodies off
   * to fill that shape. Auto width preserves the photo's own aspect
   * ratio instead — smaller overall, never cropped. */
  height: 420px;
  width: auto;
  max-width: 100%;
}

.staff-profile-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.staff-profile-card .pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  font-size: 13px;
  white-space: nowrap;
}

.staff-profile-card .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-profile-card .pill-name {
  color: var(--ink);
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
}

.staff-profile-card .pill-qual {
  color: var(--leaf-deep);
}

@media (max-width: 920px) {
  .staff-profile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .staff-profile-copy {
    order: 2;
  }

  .staff-profile-media {
    order: 1;
  }
}

.project-band.detail-hero {
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 58%, var(--leaf-deep) 58%, var(--leaf-deep) 100%);
}

.project-band.detail-hero h1,
.project-band.detail-hero .lead {
  color: var(--white);
}

.project-band.detail-hero .meta {
  color: var(--sky);
}

/* Heroes with no image: drop the empty second column the split
 * background would otherwise leave behind. Applies to the Service pages
 * (which have never had featured images) and to any blog post or
 * archive published without one. */
.detail-hero.no-media {
  grid-template-columns: minmax(0, 1fr);
}

.detail-hero.no-media:not(.project-band) {
  background: var(--paper);
}

.directory-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.directory-heading h2 {
  font-size: var(--section-heading-size);
}

.filter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Chips are <button> on the Projects/FAQ filters (so they inherit the
 * base button styling) but <a>/<span> on the blog index, where they
 * link to real category archives — so the chip carries its own box
 * styling rather than relying on the element being a button. */
.filter-chip {
  display: inline-block;
  border: 1px solid rgba(51, 125, 61, 0.35);
  border-radius: 20px;
  background: var(--white);
  color: var(--leaf-deep);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 14px;
  text-transform: none;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"],
.filter-chip[aria-current="page"] {
  background: var(--leaf-deep);
  color: var(--white);
}

.blog-article {
  max-width: 760px;
  color: var(--muted);
  font-size: var(--body-copy-size);
  line-height: 1.65;
}

.blog-article > *:first-child {
  margin-top: 0;
}

.blog-article h2,
.blog-article h3 {
  margin: 32px 0 12px;
  color: var(--ink);
}

.blog-article img {
  /* WordPress writes literal width/height attributes — see HANDOFF. */
  height: auto;
  border-radius: 16px;
}

.blog-post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  margin-top: 40px;
}

.blog-empty {
  color: var(--muted);
  font-size: var(--body-copy-size);
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination .page-numbers {
  display: inline-block;
  min-width: 42px;
  border: 1px solid rgba(51, 125, 61, 0.35);
  border-radius: 20px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--leaf-deep);
  font-size: 14px;
  text-align: center;
}

.pagination .page-numbers.current {
  background: var(--leaf-deep);
  color: var(--white);
}

.pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.directory-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.directory-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf-deep);
}

.directory-card img {
  transition: transform 0.3s ease;
}

.directory-card:hover img {
  transform: scale(1.04);
}

.directory-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
}

.directory-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.directory-card .button {
  margin-top: auto;
  width: fit-content;
}

.directory-card .tag-row span {
  border-color: rgba(51, 125, 61, 0.24);
  color: var(--leaf-deep);
}

.detail-list-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--leaf-deep);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
  height: fit-content;
}

.detail-list-card h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.detail-list {
  padding: 0;
  margin-top: 18px;
}

.detail-list > div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-list > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.detail-list dt {
  color: var(--leaf-deep);
}

.detail-list dd {
  min-height: 1.5em;
  color: var(--ink);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.process-list {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1100px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--leaf-deep), var(--sky), var(--leaf-deep));
  transform: translateX(-50%);
}

.process-list li {
  position: relative;
  width: calc(50% - 42px);
  min-height: 0;
  padding: 18px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(47, 55, 73, 0.08);
}

.process-list li + li {
  margin-top: -56px;
}

.process-list li:nth-child(odd) {
  justify-self: start;
}

.process-list li:nth-child(even) {
  justify-self: end;
}

.process-list li::before {
  content: "";
  position: absolute;
  top: 30px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--leaf-deep);
  box-shadow: 0 0 0 1px rgba(47, 55, 73, 0.14);
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 39px;
  z-index: 0;
  width: 42px;
  height: 14px;
  background: var(--sky);
}

.process-list li:nth-child(odd)::before {
  right: -52px;
}

.process-list li:nth-child(odd)::after {
  right: -42px;
  clip-path: polygon(0 42%, 74% 42%, 74% 0, 100% 50%, 74% 100%, 74% 58%, 0 58%);
}

.process-list li:nth-child(even)::before {
  left: -52px;
}

.process-list li:nth-child(even)::after {
  left: -42px;
  clip-path: polygon(100% 42%, 26% 42%, 26% 0, 0 50%, 26% 100%, 26% 58%, 100% 58%);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 12px 10px 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--leaf-deep);
  font-size: 15px;
  font-weight: 700;
  vertical-align: middle;
}

.process-list strong {
  display: inline;
  margin-bottom: 0;
  font-family: "Gotham", "Josefin Sans", "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.08;
  vertical-align: middle;
}

.process-list p {
  clear: both;
  margin-top: 2px;
}

.two-column,
.editor-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 46px);
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

/* A real tab strip, not the pill-filter pattern used for Projects/Blog
 * (.filter-chip) — with 20+ FAQs, pills wrapping to two or three rows
 * ate as much height as the list itself. A single-line *scrolling* row
 * turned out worse: it cut a label off mid-word at the edge and forced
 * a scrollbar, which read as broken rather than compact. Wrapping onto
 * a second line when needed keeps every tab fully visible with no
 * scrollbar at all. */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  max-width: 980px;
  margin: -8px 0 22px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.faq-list {
  max-width: 980px;
}

.faq-tab {
  flex: 0 0 auto;
  margin-bottom: -1px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.faq-tab:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
}

.faq-tab[aria-selected="true"] {
  color: var(--leaf-deep);
  border-bottom-color: var(--leaf-deep);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.contact-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(51, 125, 61, 0.08);
}

.contact-details-card h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.contact-details-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--leaf-deep);
  font-size: 15px;
}

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

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf-deep);
}

.testimonial-card p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.testimonial-card cite {
  color: var(--leaf-deep);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--leaf-deep);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.editor-hero {
  max-width: 980px;
}

.editor-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

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

.model-card {
  min-height: 150px;
}

.editor-example textarea {
  min-height: 520px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

@media (max-width: 920px) {
  .detail-hero,
  .split-section,
  .directory-heading,
  .two-column,
  .consultation-card,
  .editor-example {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    order: 3;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  nav.nav-open {
    display: flex;
  }

  nav > a,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 4px 0 4px 16px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-item.open .nav-submenu {
    display: flex;
    transform: none;
  }

  .nav-submenu a {
    width: 100%;
    padding: 8px 0;
    white-space: normal;
  }

  .split-section-reverse > div:first-child,
  .split-section-reverse > div:last-child {
    order: initial;
  }

  .service-grid,
  .directory-grid,
  .project-list,
  .model-grid,
  .step-list,
  .dream-step-list,
  .inclusion-list,
  .zone-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list::before {
    left: 24px;
  }

  .process-list li,
  .process-list li:nth-child(even) {
    justify-self: stretch;
    width: auto;
    margin: 0 0 18px 58px;
  }

  .process-list li::before,
  .process-list li:nth-child(odd)::before,
  .process-list li:nth-child(even)::before {
    left: -43px;
    right: auto;
  }

  .process-list li::after {
    display: none;
  }

  .dream-step-list li:nth-child(2) .dream-arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    grid-template-columns: minmax(120px, 1fr) auto;
  }

  .project-card h3 {
    font-size: 18px;
  }

  .brand img {
    height: 60px;
  }

  .header-action {
    justify-self: end;
    padding: 9px 11px;
    font-size: 12px;
  }

  .service-grid,
  .directory-grid,
  .project-list,
  .model-grid,
  .step-list,
  .dream-step-list,
  .inclusion-list,
  .zone-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card h3 {
    font-size: 26px;
  }

  .hero-copy {
    padding: 32px 26px;
  }

  .downloads-card {
    padding: 32px 26px;
  }

  .dream-garden-section h2 {
    white-space: normal;
  }

  #services-title {
    white-space: normal;
  }

  .dream-arrow {
    display: none;
  }

  .process-list li,
  .process-list li:nth-child(even) {
    margin-left: 48px;
  }
}

.site-footer {
  padding: clamp(24px, 4vw, 40px) max(clamp(20px, 5vw, 72px), calc((100% - 1170px) / 2));
  background: var(--ink);
}

.footer-notice {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 253, 248, 0.6);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.footer-notice p {
  margin: 0 0 8px;
}

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

.footer-notice a {
  color: rgba(255, 253, 248, 0.85);
  text-decoration: underline;
}

.footer-notice a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-social img {
  width: 30px;
  height: 30px;
}

.footer-social a {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* ---- WordPress block-editor content (page.php .page-body) ----
 * .page-body itself carries NO padding/max-width — .section,
 * .split-section, .detail-hero, .contact-section etc. already supply
 * their own full-width padding, exactly like the original static
 * site's <main>, and the migration script / shortcodes always wrap
 * content in one of those. The rules below are only a fallback for
 * bare, unclassed paragraphs/headings/lists an editor might type
 * directly into the block editor without picking a section wrapper. */

.page-body > *:not(.section):not(.split-section):not(.detail-hero):not(.contact-section):not(.dream-garden-section) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-body > h2 {
  text-align: center;
  margin-bottom: 14px;
}

.page-body > p,
.page-body > ul,
.page-body > ol {
  color: var(--muted);
  font-size: var(--body-copy-size);
  line-height: 1.55;
  text-align: center;
}

.page-body .wp-block-columns {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(20px, calc((100% - 1170px) / 2));
  padding-right: max(20px, calc((100% - 1170px) / 2));
  gap: clamp(20px, 4vw, 46px);
}

.page-body figure.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(20px, calc((100% - 1170px) / 2));
  padding-right: max(20px, calc((100% - 1170px) / 2));
}

.page-body figure.wp-block-gallery img {
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
}

.page-body > img {
  border-radius: 20px;
}

.large-copy img {
  width: 100%;
  border-radius: 20px;
  margin: 20px 0;
}
