/*
 * Custom JM Details visual system.
 * The purchased Cairn pack was evaluated in an earlier prototype, then removed
 * from the active direction after client feedback. No Cairn source asset is used.
 */

:root {
  --page: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #ebeff5;
  --surface-warm: #f1f3f6;
  --ink: #0a1220;
  --text: #303c4d;
  --muted: #657184;
  --line: #d5dbe4;
  --brand: #1f4fbf;
  --brand-dark: #0b1c36;
  --brand-bright: #356de8;
  --mint: #dfe6f3;
  --gold: #9bb4f4;
  --error: #a63c3c;
  --ink-rgb: 10 18 32;
  --brand-rgb: 31 79 191;
  --brand-bright-rgb: 53 109 232;
  --ice-rgb: 223 230 243;
  --accent-rgb: 155 180 244;
  --font-display:
    "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --font-ui:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --shell: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-space: clamp(4.5rem, 9vw, 7.5rem);
  --shadow: 0 18px 45px rgb(var(--ink-rgb) / 10%);
  --shadow-lift: 0 24px 60px rgb(var(--ink-rgb) / 14%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Service finder */
.finder-section {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.finder-intro {
  max-width: 50rem;
}

.finder-intro h2,
.finder-help h2 {
  margin: 0.45rem 0 0.8rem;
}

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

.finder-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 25rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: 0 16px 32px rgb(var(--ink-rgb) / 7%);
}

.finder-number,
.finder-need {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finder-need {
  margin: 1.3rem 0 0.5rem;
}

.finder-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.finder-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.finder-card > p:last-of-type {
  margin-bottom: 1.5rem;
}

.finder-card .button {
  margin-top: auto;
}

.finder-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: var(--ink);
  color: var(--surface);
}

.finder-help .eyebrow,
.finder-help p {
  color: inherit;
}

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

  .finder-help {
    grid-template-columns: 1fr;
  }
}

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

  .finder-card {
    min-height: auto;
  }
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(
      circle at 8% 14%,
      rgb(var(--ice-rgb) / 32%),
      transparent 25rem
    ),
    var(--page);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
.brand span,
.footer-brand,
.review-card blockquote {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 7.4vw, 6.7rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 5.6vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.05;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff;
}

.shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.draft-banner {
  min-height: 2.25rem;
  padding: 0.48rem var(--gutter);
  background: var(--surface-warm);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.draft-banner span {
  margin-inline: 0.75rem;
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px) saturate(140%);
  transition:
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 12px 32px rgb(var(--ink-rgb) / 9%);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - (2 * var(--gutter))), var(--shell));
  min-height: 5rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--ink);
  object-fit: contain;
}

.brand span {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.7vw, 2.25rem);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-navigation a,
.footer-links a,
.text-link {
  position: relative;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.site-navigation a[aria-current="page"] {
  color: var(--brand);
  text-decoration-color: currentColor;
}

.site-navigation a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

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

.menu-button {
  display: none;
  min-height: 2.9rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.button {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 10px 22px rgb(var(--brand-rgb) / 16%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.button:hover {
  border-color: var(--brand-bright);
  background: var(--brand-bright);
  box-shadow: 0 16px 30px rgb(var(--brand-rgb) / 22%);
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-compact {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  font-size: 0.74rem;
}

.button-secondary,
.button-dark {
  border-color: var(--brand);
  background: transparent;
  box-shadow: none;
  color: var(--brand);
}

.button-secondary:hover,
.button-dark:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-call-link {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.25rem;
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.25em;
}

.hero-call-link:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(42rem, 78vh, 52rem);
  padding: 0;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgb(var(--accent-rgb) / 15%),
      transparent 24rem
    ),
    radial-gradient(
      circle at 8% 96%,
      rgb(var(--brand-bright-rgb) / 16%),
      transparent 30rem
    ),
    linear-gradient(
      132deg,
      #050a13 0%,
      #0a1730 56%,
      #123568 120%
    );
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -11rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgb(var(--brand-bright-rgb) / 28%);
  border-radius: 999px;
  box-shadow:
    0 0 0 3rem rgb(var(--brand-bright-rgb) / 8%),
    0 0 0 7rem rgb(var(--brand-bright-rgb) / 5%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 0;
  align-items: stretch;
}

.hero-grid > *,
.service-row > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 39rem;
  padding:
    clamp(4.5rem, 8vw, 7rem) clamp(2rem, 5vw, 4.5rem)
    clamp(4.5rem, 8vw, 7rem)
    max(var(--gutter), calc((100vw - var(--shell)) / 2));
}

.hero-copy > p:not(.eyebrow, .hero-location) {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
}

.hero-copy h1 {
  max-width: 8.5ch;
  color: #fff;
  font-size: clamp(4.2rem, 6.4vw, 6rem);
  line-height: 0.93;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: #b9caff;
  font-weight: inherit;
}

.hero .eyebrow,
.hero-location {
  color: #c5d2ff;
}

.hero-location {
  margin: 1.8rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0 1rem 0 0;
  border-right: 1px solid rgb(255 255 255 / 24%);
  color: rgb(255 255 255 / 74%);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-proof span:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: #fff;
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 100%;
  margin: 0;
}

.hero-visual::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(4rem, 10vw, 9rem);
  background: linear-gradient(90deg, rgb(10 23 48 / 92%), transparent);
  content: "";
  pointer-events: none;
}

.hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 60% 58%;
}

.hero .hero-call-link,
.final-cta .hero-call-link {
  color: #fff;
}

.hero .hero-call-link:hover,
.final-cta .hero-call-link:hover {
  color: #d7e0ff;
}

.hero .button-secondary {
  border-color: rgb(255 255 255 / 72%);
  color: #fff;
}

.hero .button:not(.button-secondary) {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 16px 36px rgb(0 0 0 / 24%);
  color: var(--ink);
}

.hero .button:not(.button-secondary):hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.hero .button-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-stage,
.section,
.final-cta {
  padding-block: var(--section-space);
}

.service-stage {
  background: var(--surface);
}

.service-stage-heading {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-stage-heading p,
.section-intro > p,
.section-heading > p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 33rem;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-top: 0.38rem solid var(--brand);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: 0 14px 36px rgb(var(--ink-rgb) / 7%);
  transition:
    border-color 260ms ease,
    box-shadow 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.service-card::after {
  position: absolute;
  right: 1.5rem;
  bottom: 1.2rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgb(var(--brand-rgb) / 9%);
  border-radius: 999px;
  content: "";
  transition: transform 420ms var(--ease-out);
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgb(var(--brand-rgb) / 30%);
  box-shadow: var(--shadow-lift);
  transform: translateY(-8px);
}

.service-card:hover::after,
.service-card:focus-within::after {
  transform: scale(1.25);
}

.service-card:nth-child(2) {
  border-top-color: var(--gold);
}

.service-card:nth-child(3) {
  border-top-color: var(--brand-bright);
}

.service-card-topline {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.service-number {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  max-width: 10ch;
}

.service-card > p {
  color: var(--text);
  font-size: 1rem;
}

.service-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.service-card-price span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card-price strong {
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.service-card-label {
  margin: 1rem 0 0.35rem;
  color: var(--brand) !important;
  font-size: 0.74rem !important;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-card .text-link {
  color: var(--brand);
  font-weight: 800;
}

.service-card-actions .button {
  width: 100%;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns:
    2.25rem minmax(15rem, 1.15fr) minmax(14rem, 0.8fr)
    minmax(12rem, 0.55fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.service-row > .service-number {
  padding-top: 0.35rem;
  color: var(--muted);
}

.service-row-copy h3 {
  max-width: 10ch;
  margin: 0;
  text-wrap: balance;
}

.service-row-copy > p {
  max-width: 40rem;
  margin: 1.2rem 0;
  color: var(--text);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.service-row-copy .text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
}

.service-row-title {
  display: grid;
  gap: 0.75rem;
}

.service-row-status,
.service-row-meta dt {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-row-meta {
  margin: 0;
}

.service-row-meta > div + div {
  margin-top: 1.5rem;
}

.service-row-meta dd {
  margin: 0.28rem 0 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-row-meta > div:first-child dd {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.service-row-actions {
  display: grid;
  gap: 0.8rem;
  align-self: center;
}

.service-row-actions .button {
  width: 100%;
}

.page-home .service-row-actions .button-compact {
  min-height: 3rem;
  font-size: 0.875rem;
}

.service-row-actions > :only-child {
  grid-column: 1 / -1;
}

.page-home .service-stage {
  background: var(--page);
}

.status-pill,
.page-hero-note,
.placeholder-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand-dark);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-section,
.ruled-section,
.dark-section {
  background: var(--surface-soft);
}

.section-heading,
.section-intro {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  max-width: none;
}

.section-intro-split > div h2,
.section-intro-split > p {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(var(--ink-rgb) / 7%);
  transition:
    box-shadow 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.gallery-card:hover,
.gallery-card:focus-within {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  background: var(--surface);
  transition: transform 700ms var(--ease-out);
}

.gallery-card:hover img {
  transform: scale(1.025);
}

.gallery-card figcaption {
  padding: 1.4rem 1.5rem 1.6rem;
}

.page-home .gallery-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .gallery-card:hover,
.page-home .gallery-card:focus-within {
  box-shadow: none;
  transform: none;
}

.page-home .gallery-card img {
  border-radius: 0;
}

.page-home .gallery-card figcaption {
  padding-inline: 0;
}

.page-home .gallery-grid-featured {
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .gallery-grid-featured .gallery-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-home .gallery-grid-featured .gallery-card:first-child {
  padding-top: 0;
}

.page-home .gallery-grid-featured .gallery-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .gallery-grid-featured .gallery-card:nth-child(even) img {
  grid-column: 2;
  grid-row: 1;
}

.page-home .gallery-grid-featured .gallery-card:nth-child(even) figcaption {
  grid-column: 1;
  grid-row: 1;
}

.page-home .gallery-grid-featured .gallery-card figcaption {
  max-width: 34rem;
}

.page-home .gallery-grid-featured .gallery-card figcaption strong {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.page-home .gallery-grid-featured .placeholder-label {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
}

.gallery-card figcaption strong {
  display: block;
  margin-top: 0.9rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gallery-card figcaption p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.gallery-grid-featured .gallery-card:nth-child(1),
.gallery-grid-featured .gallery-card:nth-child(4) {
  grid-column: span 1;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.metrics-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgb(var(--accent-rgb) / 22%),
      transparent 22rem
    ),
    linear-gradient(
      150deg,
      #050a13 0%,
      var(--brand-dark) 52%,
      #173d78 140%
    );
  color: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric {
  min-height: 12rem;
  padding: 1.75rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 6%);
  backdrop-filter: blur(8px);
  transition:
    background-color 220ms ease,
    transform 260ms var(--ease-out);
}

.metric:hover {
  background: rgb(255 255 255 / 10%);
  transform: translateY(-4px);
}

.metric strong,
.rating-number {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.55rem;
  color: #fff;
  font-weight: 800;
}

.metric small {
  display: block;
  max-width: 18rem;
  margin-top: 0.45rem;
  color: rgb(255 255 255 / 70%);
  font-size: 0.8rem;
}

.page-home .metrics-grid {
  gap: 0;
}

.page-home .metric {
  min-height: auto;
  padding: 0.75rem clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.page-home .metric:first-child {
  padding-left: 0;
}

.page-home .metric:last-child {
  padding-right: 0;
  border-right: 0;
}

.page-home .metric:hover {
  background: transparent;
  transform: none;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  min-height: 18rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(var(--ink-rgb) / 4%);
  transition:
    border-color 220ms ease,
    box-shadow 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.benefit-card:hover {
  border-color: rgb(var(--brand-rgb) / 26%);
  box-shadow: 0 18px 40px rgb(var(--ink-rgb) / 9%);
  transform: translateY(-5px);
}

.benefit-card .service-number {
  display: block;
  margin-bottom: 3rem;
}

.benefit-card h3 {
  font-size: 2.3rem;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.page-home .benefit-card {
  min-height: 16rem;
  padding: 2rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .benefit-card:hover {
  border-color: var(--brand);
  box-shadow: none;
  transform: none;
}

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

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.process-strip span {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background-color 200ms ease,
    transform 240ms var(--ease-out);
}

.process-strip span:hover {
  background: var(--mint);
  transform: translateY(-3px);
}

.process-strip b {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  font-size: 0.72rem;
}

.page-home .process-strip span {
  align-items: flex-start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.page-home .process-strip span:hover {
  background: transparent;
  transform: none;
}

.page-home .process-strip b {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.split,
.detail-grid,
.contact-grid,
.faq-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 8vw, 6rem);
  align-items: start;
}

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

.review-card {
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    box-shadow 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.review-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-5px);
}

.review-stars {
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}

.review-card blockquote {
  margin: 2rem 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.review-card cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.page-home .review-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .review-card:hover {
  box-shadow: none;
  transform: none;
}

.review-card footer a {
  color: var(--brand);
}

.faq-home-grid {
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
}

.faq-home-grid .section-heading {
  margin-bottom: 0;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.faq-list details[open] {
  background: rgb(255 255 255 / 54%);
}

.faq-list summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.35rem;
  right: 0;
  color: var(--brand);
  font-family: var(--font-ui);
  font-weight: 800;
  content: "+";
  transition: transform 240ms var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 65ch;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgb(var(--brand-bright-rgb) / 60%),
      transparent 25rem
    ),
    radial-gradient(
      circle at 90% 80%,
      rgb(var(--accent-rgb) / 22%),
      transparent 20rem
    ),
    linear-gradient(
      180deg,
      #050a13 0%,
      var(--brand-dark) 58%,
      #173d78 135%
    );
  text-align: center;
}

.final-cta-inner h2 {
  max-width: 13ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(3.8rem, 7vw, 6rem);
}

.final-cta-inner > p {
  max-width: 58ch;
  margin: 0 auto 2rem;
  color: rgb(255 255 255 / 75%);
  font-size: 1.12rem;
}

.final-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
}

.final-cta .button-secondary {
  background: transparent;
  color: #fff;
}

.final-cta .button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(26rem, 58vh, 39rem);
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgb(var(--accent-rgb) / 16%),
      transparent 20rem
    ),
    radial-gradient(
      circle at 10% 90%,
      rgb(var(--brand-bright-rgb) / 10%),
      transparent 22rem
    ),
    linear-gradient(125deg, var(--surface-warm), var(--surface-soft));
  text-align: center;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.page-hero::after {
  position: absolute;
  right: -2rem;
  bottom: -5rem;
  color: rgb(var(--brand-rgb) / 4%);
  content: "JM";
  font-family: var(--font-display);
  font-size: clamp(13rem, 28vw, 28rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 0.75;
  pointer-events: none;
}

.page-hero h1 {
  max-width: 14ch;
  margin-inline: auto;
}

.page-hero-inner > p {
  max-width: 64ch;
  margin: 0 auto 1.75rem;
  color: var(--text);
  font-size: 1.15rem;
}

.page-hero-note {
  margin-inline: auto;
}

.breadcrumbs {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--brand);
  text-underline-offset: 0.25rem;
}

.content-card,
.detail-aside,
.contact-card,
.integration-slot,
.brand-panel,
.map-placeholder {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(var(--ink-rgb) / 6%);
}

.content-card,
.detail-aside,
.contact-card,
.integration-slot {
  padding: clamp(1.7rem, 4vw, 2.6rem);
}

.contact-card,
.content-card,
.detail-aside {
  transition:
    border-color 220ms ease,
    box-shadow 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.contact-card:hover,
.content-card:hover,
.detail-aside:hover {
  border-color: rgb(var(--brand-rgb) / 25%);
  box-shadow: var(--shadow-lift);
  transform: translateY(-5px);
}

.content-card h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.detail-aside {
  position: sticky;
  top: 7rem;
}

.detail-aside .button {
  margin-top: 1rem;
}

.brand-panel {
  display: grid;
  min-height: 28rem;
  place-items: center;
  padding: 3rem;
  text-align: center;
}

.brand-panel img {
  width: min(12rem, 58%);
  height: auto;
}

.brand-panel strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-highlights span {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
}

.about-highlights strong {
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.service-followup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem clamp(2rem, 7vw, 5rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.35rem;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgb(var(--accent-rgb) / 20%),
      transparent 16rem
    ),
    var(--surface-soft);
}

.additional-services {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
}

.additional-services h2,
.additional-services .eyebrow {
  margin-bottom: 0;
}

.additional-services h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

.additional-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.additional-services li {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.additional-services li strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.additional-services li small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
}

.additional-services li > a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  width: fit-content;
  margin-top: 0.45rem;
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 850;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.pricing-guide {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, var(--surface-soft), var(--surface));
}

.pricing-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(16rem, 1.25fr);
  gap: 1rem clamp(2rem, 7vw, 5rem);
  align-items: end;
  margin-bottom: 2rem;
}

.pricing-guide-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.pricing-guide-intro h2,
.pricing-guide-intro p {
  margin-bottom: 0;
}

.pricing-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pricing-guide-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 255 255 / 78%);
}

.pricing-guide-grid span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-guide-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.pricing-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.maintenance-wrap {
  padding-top: 0;
}

.maintenance-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgb(var(--accent-rgb) / 28%),
      transparent 17rem
    ),
    linear-gradient(
      145deg,
      #050a13 0%,
      var(--brand-dark) 62%,
      #173d78 145%
    );
  color: #fff;
  box-shadow: 0 24px 70px rgb(var(--ink-rgb) / 14%);
}

.maintenance-section h2 {
  max-width: 12ch;
  color: #fff;
}

.maintenance-section p,
.maintenance-section .check-list {
  color: rgb(255 255 255 / 76%);
}

.maintenance-section .eyebrow,
.maintenance-section .check-list li::before {
  color: var(--mint);
}

.maintenance-price {
  display: grid;
  gap: 0.5rem;
  align-content: center;
  min-height: 18rem;
  padding: 1.6rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 1.2rem;
  background: rgb(255 255 255 / 9%);
  backdrop-filter: blur(0.75rem);
}

.maintenance-price > span,
.maintenance-price > small {
  color: rgb(255 255 255 / 72%);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.maintenance-price > strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 5.75rem);
  line-height: 0.9;
}

.maintenance-price .button {
  margin-top: 1rem;
}

.maintenance-section .button,
.finder-help .button {
  border-color: #fff;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.maintenance-section .button:hover,
.finder-help .button:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.maintenance-price .text-link {
  margin-top: 0.7rem;
  color: #fff;
}

.maintenance-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.quote-expectation,
.policy-status {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(var(--brand-bright-rgb) / 22%);
  border-radius: 0.9rem;
  background: rgb(234 240 255 / 86%);
  color: var(--brand-dark);
}

.quote-expectation strong {
  display: block;
  margin-bottom: 0.35rem;
}

.quote-expectation p,
.policy-status {
  font-size: 0.82rem;
}

.quote-expectation p {
  margin: 0;
}

.policy-status {
  margin: 0 0 2rem;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 8vw, 6rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.package-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(var(--ink-rgb) / 6%);
  transition:
    border-color 220ms ease,
    box-shadow 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.package-card:hover {
  border-color: rgb(var(--brand-rgb) / 25%);
  box-shadow: var(--shadow-lift);
  transform: translateY(-5px);
}

.package-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.package-card-heading h3 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.package-card-heading > strong {
  flex: 0 0 auto;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand-dark);
  font-size: 0.78rem;
}

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

.compact-list {
  margin-top: auto;
  font-size: 0.9rem;
}

.price-list {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.price-list dt {
  color: var(--text);
}

.price-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.package-card .result-note {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.84rem;
}

.package-card-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.package-card-next > span {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-note {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 0.3rem solid var(--gold);
  border-radius: 0.65rem;
  background: var(--surface-warm);
  color: var(--text);
  font-size: 0.9rem;
}

.service-followup .eyebrow,
.service-followup h2,
.service-followup p {
  grid-column: 1;
  margin-bottom: 0;
}

.service-followup h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.service-followup p:not(.eyebrow) {
  max-width: 62ch;
}

.service-followup .button {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.map-placeholder {
  display: grid;
  min-height: 27rem;
  place-items: end start;
  overflow: hidden;
  padding: 2rem;
  background-image:
    radial-gradient(circle at 70% 30%, #b9ccff, transparent 28%),
    linear-gradient(135deg, #edf3ff, #dce7ff);
}

.map-placeholder strong {
  display: block;
  margin-top: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
}

.check-list,
.plain-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand-bright);
  content: "";
}

.gallery-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-grid .review-card blockquote {
  font-size: 2.2rem;
}

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.7rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

.rating-number {
  color: var(--brand);
}

.rating-summary > div {
  display: grid;
}

.rating-summary strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.rating-summary > div > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.quote-panel {
  min-width: 0;
}

.quote-intro {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.quote-intro h2 {
  max-width: 10ch;
}

.quote-intro .plain-list {
  margin-top: 2rem;
}

.quote-intro .plain-list li {
  padding-block: 0.25rem;
  color: var(--ink);
}

.quote-selection {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid rgb(var(--brand-rgb) / 24%);
  border-left: 0.32rem solid var(--gold);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 16px 32px rgb(var(--ink-rgb) / 7%);
}

.quote-selection[hidden] {
  display: none;
}

.quote-selection-label,
.quote-prep-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-selection > strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.quote-selection > p {
  margin: 0.75rem 0 0;
  color: var(--text);
  font-size: 0.88rem;
}

.quote-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}

.quote-selection-reminder {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem !important;
}

.booking-steps {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgb(var(--brand-rgb) / 14%);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 68%);
}

.booking-steps b {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
}

.booking-steps span {
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.5;
}

.booking-steps strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.quote-prep-label {
  margin-top: 2rem;
}

.contact-grid:has([data-highlevel-quote-slot]) {
  grid-template-columns: minmax(18rem, 0.72fr) minmax(34rem, 1.28fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}

.contact-grid:has([data-highlevel-quote-slot]) > :first-child {
  position: sticky;
  top: 7rem;
}

.integration-slot > strong {
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.integration-slot > p,
.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.highlevel-integration {
  overflow: hidden;
  border-color: rgb(var(--brand-rgb) / 16%);
  box-shadow: 0 28px 70px rgb(var(--ink-rgb) / 11%);
}

.highlevel-form-shell {
  overflow: hidden;
  margin: calc(clamp(1.7rem, 4vw, 2.6rem) * -0.35);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.highlevel-form-frame {
  display: block;
  width: 100%;
  height: 1080px;
  border: 0;
  border-radius: 0.9rem;
  background: #fff;
}

.booking-page {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.booking-builder {
  overflow: hidden;
  border: 1px solid rgb(var(--brand-rgb) / 18%);
  border-radius: 1.75rem;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgb(var(--ice-rgb) / 62%),
      transparent 28rem
    ),
    var(--surface);
  box-shadow: 0 28px 70px rgb(var(--ink-rgb) / 10%);
}

.booking-builder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.booking-builder-heading h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.booking-builder-heading > p {
  margin: 0;
}

.booking-builder-progress {
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0.85rem clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 62%);
  list-style: none;
  scrollbar-width: thin;
}

.booking-builder-progress li {
  display: flex;
  flex: 1 0 5.8rem;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.booking-builder-progress b {
  display: grid;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.64rem;
}

.booking-builder-progress li[data-step-state="current"] {
  background: var(--brand);
  color: #fff;
}

.booking-builder-progress li[data-step-state="current"] b {
  border-color: rgb(255 255 255 / 40%);
  background: rgb(255 255 255 / 16%);
}

.booking-builder-progress li[data-step-state="complete"] {
  color: var(--brand);
}

.booking-builder-progress li[data-step-state="complete"] b {
  border-color: var(--brand);
  background: var(--surface-soft);
}

.booking-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(18rem, 0.52fr);
  align-items: start;
}

.booking-builder-form {
  display: grid;
  gap: 0;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.booking-builder-step {
  min-width: 0;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8rem;
}

.booking-builder-step:last-child {
  border-bottom: 0;
}

.booking-builder-step legend {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0;
}

.booking-builder-step legend b {
  display: grid;
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.booking-builder-step[data-step-state="current"] legend b {
  background: var(--brand);
  box-shadow: 0 0 0 0.35rem rgb(var(--brand-rgb) / 12%);
}

.booking-builder-step legend span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.booking-builder-step legend strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.booking-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.booking-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.booking-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.booking-choice-body {
  display: flex;
  min-height: 100%;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 255 255 / 82%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out),
    opacity 180ms ease;
}

.booking-choice-check {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  border: 2px solid #7b8daa;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.booking-addon-grid .booking-choice-check {
  border-radius: 0.3rem;
}

.booking-choice-copy,
.booking-choice-copy strong,
.booking-choice-copy small,
.booking-choice-copy > span {
  display: block;
}

.booking-choice-copy strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
}

.booking-choice-copy small {
  margin-top: 0.2rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
}

.booking-choice-copy > span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.booking-choice:hover .booking-choice-body {
  border-color: rgb(var(--brand-rgb) / 48%);
  transform: translateY(-2px);
}

.booking-choice > input:focus-visible + .booking-choice-body {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.booking-choice > input:checked + .booking-choice-body {
  border-color: var(--brand);
  background: var(--surface-soft);
  box-shadow: 0 10px 24px rgb(var(--brand-rgb) / 12%);
}

.booking-choice > input:checked + .booking-choice-body .booking-choice-check {
  border-color: var(--brand);
  background: var(--brand);
}

.booking-choice:has(input:disabled) {
  cursor: not-allowed;
}

.booking-choice > input:disabled + .booking-choice-body {
  background: #f1f4f9;
  opacity: 0.48;
  box-shadow: none;
  transform: none;
}

.booking-builder-help,
.booking-builder-status,
.booking-noscript {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.booking-review-button {
  margin-top: 1rem;
}

.booking-summary {
  position: sticky;
  top: 7rem;
  min-width: 0;
  margin: 1.5rem 1.5rem 1.5rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.35rem;
  background: var(--ink);
  box-shadow: 0 20px 45px rgb(var(--ink-rgb) / 18%);
  color: #fff;
  scroll-margin-top: 8rem;
}

.booking-summary .eyebrow,
.booking-summary p {
  color: rgb(255 255 255 / 72%);
}

.booking-summary h2 {
  margin: 0.35rem 0 1.4rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.booking-summary-list {
  margin: 0;
}

.booking-summary-list > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.booking-summary-list dt {
  color: rgb(255 255 255 / 55%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-summary-list dd {
  margin: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.booking-price-summary,
.booking-quote-route,
.booking-payment-summary {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 9%);
}

.booking-price-summary > span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-price-summary strong,
.booking-quote-route strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.booking-price-summary p,
.booking-quote-route p,
.booking-payment-summary p {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  line-height: 1.5;
}

.booking-payment-summary {
  border: 1px solid rgb(var(--accent-rgb) / 34%);
  background: rgb(var(--accent-rgb) / 12%);
}

.booking-payment-summary > strong {
  color: var(--gold);
  font-size: 0.82rem;
}

.booking-price-acknowledgement {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 7%);
  color: #fff;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.45;
}

.booking-price-acknowledgement input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--gold);
}

.booking-price-acknowledgement:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.booking-quote-route[hidden],
.booking-availability[hidden],
.booking-price-acknowledgement[hidden] {
  display: none;
}

.booking-summary .button {
  width: 100%;
  margin-top: 1rem;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.booking-summary .button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.booking-availability,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.booking-availability {
  scroll-margin-top: 8rem;
}

.booking-layout > .quote-selection {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.booking-rules,
.booking-calendar {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(var(--ink-rgb) / 8%);
}

.booking-rules {
  position: sticky;
  top: 7rem;
}

.booking-rules h2,
.booking-calendar h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}

[data-booking-calendar-heading] {
  scroll-margin-top: 8rem;
}

.booking-rules > p:last-child {
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.booking-rules a {
  color: var(--brand);
  font-weight: 800;
}

.calendar-request-summary {
  margin: 1rem 0 1.5rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-left: 0.3rem solid var(--gold);
  border-radius: 0.8rem;
  background: var(--surface-warm);
}

.calendar-request-summary > strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.calendar-request-summary p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.calendar-request-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.calendar-request-details > div {
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.calendar-request-details dt {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.calendar-request-details dd {
  margin: 0.22rem 0 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.calendar-request-price {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: #fff;
}

.calendar-request-price > span {
  display: block;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-request-price > strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1.45rem;
}

.calendar-request-price p {
  color: rgb(255 255 255 / 72%);
}

.calendar-price-notice,
.calendar-next-step {
  margin-top: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgb(var(--brand-rgb) / 22%);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 72%);
}

.calendar-price-notice > strong,
.calendar-next-step > strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.calendar-next-step {
  border-color: rgb(var(--accent-rgb) / 48%);
  background: rgb(var(--accent-rgb) / 13%);
}

.calendar-intake-reminder {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.calendar-integration {
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.highlevel-calendar-shell {
  min-height: 47rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.highlevel-calendar-frame {
  display: block;
  width: 100%;
  min-height: 47rem;
  border: 0;
  background: #fff;
}

.highlevel-integration .form-note {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.highlevel-integration::before {
  display: block;
  width: 4.5rem;
  height: 0.32rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  content: "";
}

.highlevel-integration .form-note strong {
  color: var(--ink);
}

.highlevel-integration .form-note a {
  color: var(--brand);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.draft-form {
  display: grid;
  gap: 1.7rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.draft-form label:not(.consent-row) {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.draft-form input:not([type="checkbox"]),
.draft-form select,
.draft-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.draft-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.draft-form input::placeholder,
.draft-form textarea::placeholder {
  color: var(--muted);
}

.draft-form input:focus,
.draft-form select:focus,
.draft-form textarea:focus {
  border-color: var(--brand-bright);
  outline: 3px solid rgb(var(--brand-bright-rgb) / 14%);
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text);
  font-size: 0.82rem;
}

.consent-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--brand);
}

.form-status:not(:empty) {
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--brand);
  border-radius: 0.4rem;
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.contact-card {
  min-height: 19rem;
}

.contact-grid:has(.contact-card) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.policy-copy {
  max-width: 58rem;
}

.policy-copy h2 {
  margin-top: 3.5rem;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.site-footer {
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
  background: linear-gradient(180deg, var(--ink), #050a13);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(8rem, 0.6fr));
  gap: clamp(2.5rem, 7vw, 6rem);
}

.footer-brand {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 2rem;
}

.footer-meta {
  max-width: 32rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.84rem;
}

.footer-meta a,
.footer-links a {
  color: #fff;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  font-size: 0.86rem;
}

.footer-links strong {
  margin-bottom: 0.55rem;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-actions {
  display: none;
}

html.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 650ms var(--ease-out),
    transform 650ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

html.motion-ready [data-reveal="left"] {
  transform: translateX(-1.5rem);
}

html.motion-ready [data-reveal="right"] {
  transform: translateX(1.5rem);
}

html.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 64rem) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-row {
    grid-template-columns: 2.25rem minmax(0, 1.2fr) minmax(13rem, 0.8fr);
  }

  .service-row-actions {
    grid-column: 2 / 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 38rem);
  }

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

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

@media (max-width: 50rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .desktop-action {
    display: none;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .site-navigation[data-open="true"] {
    display: grid;
  }

  .site-navigation a {
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .section-intro-split,
  .split,
  .detail-grid,
  .detail-intro,
  .contact-grid,
  .faq-home-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid:has([data-highlevel-quote-slot]) > :first-child {
    position: static;
  }

  .contact-grid:has([data-highlevel-quote-slot]) {
    grid-template-columns: 1fr;
  }

  .booking-builder-heading,
  .booking-builder-grid,
  .booking-availability,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
    margin: 0 1.25rem 1.25rem;
  }

  .booking-rules {
    position: static;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-visual {
    max-width: 42rem;
  }

  .section-intro-split {
    gap: 1.5rem;
  }

  .metrics-grid,
  .benefit-grid,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip span {
    border-radius: 0.85rem;
  }

  .rating-summary {
    grid-template-columns: auto 1fr;
  }

  .rating-summary .button {
    grid-column: 1 / -1;
  }

  .service-followup {
    grid-template-columns: 1fr;
  }

  .pricing-guide-intro,
  .pricing-guide-grid,
  .maintenance-section,
  .maintenance-explainer {
    grid-template-columns: 1fr;
  }

  .maintenance-section h2 {
    max-width: 14ch;
  }

  .maintenance-price {
    min-height: auto;
  }

  .additional-services,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .service-followup .button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid:has(.contact-card) {
    grid-template-columns: 1fr;
  }

  .page-home .hero {
    min-height: 0;
  }

  .page-home .hero-copy {
    align-items: center;
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
    padding: 4.5rem clamp(1.25rem, 6vw, 3rem) 4.25rem;
    text-align: center;
  }

  .page-home .hero-copy > p {
    max-width: 34rem;
    margin-inline: auto;
  }

  .page-home .hero-actions {
    display: grid;
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .page-home .hero-actions .button,
  .page-home .hero-call-link {
    width: 100%;
  }

  .page-home .hero-call-link {
    min-height: 3rem;
    justify-content: center;
    text-align: center;
  }

  .page-home .hero-visual {
    order: -1;
    width: 100%;
    max-width: none;
    min-height: 0;
  }

  .page-home .hero-visual::after {
    display: none;
  }

  .page-home .hero-media {
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 0;
  }

  .page-home .hero-visual img {
    object-position: 50% 62%;
  }

  .service-row {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
  }

  .service-row-copy,
  .service-row-meta,
  .service-row-actions {
    grid-column: 2;
  }

  .service-row-meta {
    display: grid;
    grid-template-columns: minmax(7rem, 0.55fr) minmax(0, 1.45fr);
    gap: 1.5rem;
  }

  .service-row-meta > div + div {
    margin-top: 0;
  }

  .service-row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-home .metric {
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
  }

  .page-home .metric:last-child {
    border-bottom: 0;
  }

  .page-home .gallery-grid-featured .gallery-card,
  .page-home .gallery-grid-featured .gallery-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-home .gallery-grid-featured .gallery-card:nth-child(even) img,
  .page-home .gallery-grid-featured .gallery-card:nth-child(even) figcaption {
    grid-column: 1;
    grid-row: auto;
  }

  .detail-aside {
    position: static;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.5rem;
    padding: 0.65rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 97%);
  }

  body {
    padding-bottom: calc(4.4rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 38rem) {
  .brand {
    gap: 0.6rem;
  }

  .brand-logo {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand span {
    font-size: 1.45rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .draft-banner {
    font-size: 0.63rem;
  }

  .page-home .hero {
    padding: 0;
  }

  .page-home .hero-copy h1 {
    font-size: clamp(3.35rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .hero-proof {
    display: none;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .hero-call-link {
    justify-self: center;
    padding-block: 0.5rem;
  }

  .service-row {
    grid-template-columns: 1.6rem minmax(0, 1fr);
  }

  .service-row-meta,
  .service-row-actions {
    grid-template-columns: 1fr;
  }

  .service-row-meta > div + div {
    margin-top: 1rem;
  }

  .card-grid,
  .gallery-grid,
  .gallery-grid-full,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-featured .gallery-card {
    grid-column: auto;
  }

  .highlevel-integration {
    padding: 1rem;
  }

  .highlevel-form-shell {
    margin: 0;
  }

  .booking-rules,
  .booking-calendar {
    padding: 1rem;
  }

  .booking-builder-heading {
    gap: 1rem;
  }

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

  .booking-builder-form {
    padding-inline: 1rem;
  }

  .booking-builder-progress {
    padding-inline: 1rem;
  }

  .booking-summary {
    margin-inline: 1rem;
  }

  .calendar-request-details {
    grid-template-columns: 1fr;
  }

  .highlevel-calendar-shell,
  .highlevel-calendar-frame {
    min-height: 50rem;
  }

  .additional-services ul {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card .text-link {
    margin-top: 0;
  }

  .package-card-next,
  .quote-selection-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .package-card-next .button,
  .quote-selection-actions .button {
    width: 100%;
  }

  .review-card blockquote,
  .review-grid .review-card blockquote {
    font-size: 2rem;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid CanvasText;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
