/* Shared styles. Brand roles and their consumers are documented in palette.css. */
@import url("palette.css");

/* assets/css/styles.css: annotated author stylesheet. Keep the theme tokens in palette.css. */
/* TOKENS AND LOCAL FONTS */

@font-face  {
  font-family: "The Nautigal";
  src: url("../fonts/the-nautigal.ttf") format("truetype");
  font-display: swap;
}

@font-face  {
  font-family: Inter;
  src: url("../fonts/inter-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face  {
  font-family: Inter;
  src: url("../fonts/inter-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face  {
  font-family: Inter;
  src: url("../fonts/inter-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face  {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display.ttf") format("truetype");
  font-display: swap;
}

/* Component rules: :root — preserve cascade position. */

:root {
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --paper: var(--secondary);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --ink: var(--primary);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --muted: var(--color-text-muted);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --teal: var(--accent);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --hover: var(--accent-hover);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --soft: var(--color-surface-soft);
  /* Brand color alias; adjust its referenced palette token, not layout. */
  --line: var(--color-border-default);
  /* Structural/component setting; preserve unless intentionally changing typography, geometry or behaviour. */
  --sans: Inter,Arial,sans-serif;
  /* Structural/component setting; preserve unless intentionally changing typography, geometry or behaviour. */
  --serif: Georgia,"Libre Caslon Display",serif;
  /* Structural/component setting; preserve unless intentionally changing typography, geometry or behaviour. */
  --gutter: clamp(24px,5.3135vw,80px);
}

/* Component rules: * — preserve cascade position. */

* {
  box-sizing: border-box;
}

/* Component rules: html — preserve cascade position. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

/* Component rules: body — preserve cascade position. */

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Component rules: body.menu-open — preserve cascade position. */

body.menu-open {
  overflow: hidden;
}

/* Component rules: [hidden] — preserve cascade position. */

[hidden] {
  display: none !important;
}

/* Component rules: h1,h2,h3,p,figure — preserve cascade position. */

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

/* Component rules: h1,h2 — preserve cascade position. */

h1,h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
}

/* Component rules: h1 — preserve cascade position. */

h1 {
  font-size: 48px;
}

/* Component rules: h2 — preserve cascade position. */

h2 {
  font-size: 36px;
}

/* Component rules: h3 — preserve cascade position. */

h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
}

/* Component rules: a — preserve cascade position. */

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

/* Component rules: button,input,textarea — preserve cascade position. */

button,input,textarea {
  font: inherit;
}

/* Component rules: button — preserve cascade position. */

button {
  cursor: pointer;
}

/* Component rules: img — preserve cascade position. */

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

/* Component rules: svg — preserve cascade position. */

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Component rules: a,button — preserve cascade position. */

a,button {
  touch-action: manipulation;
}

/* Component rules: :focus-visible — preserve cascade position. */

:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 4px;
}

/* Component rules: p,h1,h2,h3,a — preserve cascade position. */

p,h1,h2,h3,a {
  overflow-wrap: anywhere;
}

/* Component rules: .container — preserve cascade position. */

.container {
  width: calc(100% - var(--gutter)*2);
  max-width: 1280px;
  margin-inline: auto;
}

/* Component rules: .section — preserve cascade position. */

.section {
  padding-block: 64px;
}

/* Component rules: .soft — preserve cascade position. */

.soft {
  background: var(--soft);
}

/* Component rules: .eyebrow — preserve cascade position. */

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Component rules: .lead — preserve cascade position. */

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

/* Component rules: .section h2+p,.split-section p,.value-grid p — preserve cascade position. */

.section h2+p,.split-section p,.value-grid p {
  margin-top: 18px;
  color: var(--muted);
}

/* Component rules: .section-heading — preserve cascade position. */

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

/* Component rules: .prose — preserve cascade position. */

.prose {
  max-width: 900px;
}

/* Component rules: .prose p — preserve cascade position. */

.prose p {
  margin-top: 22px;
}

/* Component rules: .prose a:not(.button),.contextual a:not(.button),.article-body a:not(.button) — preserve cascade position. */

.prose a:not(.button),.contextual a:not(.button),.article-body a:not(.button) {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Component rules: .contextual — preserve cascade position. */

.contextual {
  margin-top: 28px;
  color: var(--muted);
}

/* Component rules: .sr-only — preserve cascade position. */

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

/* Component rules: .skip-link — preserve cascade position. */

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--color-text-on-dark);
  padding: 12px 20px;
}

/* Component rules: .skip-link:focus — preserve cascade position. */

.skip-link:focus {
  top: 12px;
}

/* CHROME */

/* Component rules: .site-header — preserve cascade position. */

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 90px;
  position: relative;
  z-index: 30;
}

/* Component rules: .brand — preserve cascade position. */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  max-width: 240px;
}

/* Component rules: .brand>img — preserve cascade position. */

.brand>img,
.brand .text-logo>img {
  width: 101px;
  height: 94px;
  object-fit: contain;
}

.site-header .brand.brand--image {
  max-width: 450px;
  min-height: 94px;
}

/* AI LOGO VARIANTS: The text variant keeps the existing intrinsic/responsive
   slot size. The optional full-logo image occupies that exact same slot.
   Toggle brand--image on the header brand link; never show both variants.
   visibility:hidden retains sizing while removing the text variant from view
   and the accessibility tree. The image variant is display:none by default. */
.site-header .brand {
  position: relative;
}

.site-header .text-logo {
  display: flex;
  align-items: center;
  gap: inherit;
  min-width: 0;
}

.site-header .image-logo {
  display: none;
  position: absolute;
  inset: 0;
}

.site-header .image-logo>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header .brand--image .text-logo {
  visibility: hidden;
}

.site-header .brand--image .image-logo {
  display: block;
}

/* Component rules: .brand__name — preserve cascade position. */

.brand__name {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  max-width: 180px;
}

/* Component rules: .brand__name span — preserve cascade position. */

.brand__name span {
  display: block;
}

/* Keep the full company-name instruction readable in the preview logo slot. */
.brand[title^="[INSERT:"] .brand__name {
  font-size: 12px;
  letter-spacing: .025em;
}

/* Component rules: .main-nav — preserve cascade position. */

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-size: 12px;
}

/* Component rules: .main-nav>a,.services-menu>summary — preserve cascade position. */

.main-nav>a,.services-menu>summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  cursor: pointer;
}

/* Keep desktop navigation labels intact and let the service area wrap first. */
@media (min-width: 1200px) {
  .site-header {
    gap: clamp(10px, 5vw - 50px, 24px);
  }

  .site-header .main-nav {
    gap: clamp(8px, 4vw - 40px, 16px);
  }

  .main-nav > a:not(.header-phone),
  .main-nav > .services-menu > summary {
    white-space: nowrap;
  }

  .header-phone__copy {
    max-inline-size: clamp(145px, 18vw - 62px, 235px);
    white-space: normal;
  }

  .header-phone__copy small {
    max-inline-size: 130px;
  }
}

/* Component rules: .main-nav>a:hover,.main-nav [aria-current=page],.services-menu>summary:hover — preserve cascade position. */

.main-nav>a:hover,.main-nav [aria-current=page],.services-menu>summary:hover {
  color: var(--teal);
}

/* Component rules: .main-nav>[aria-current=page] — preserve cascade position. */

.main-nav>[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Component rules: .services-menu — preserve cascade position. */

.services-menu {
  position: relative;
}

/* Component rules: .services-menu>summary — preserve cascade position. */

.services-menu>summary {
  list-style: none;
  gap: 6px;
}

/* Component rules: .services-menu>summary::-webkit-details-marker — preserve cascade position. */

.services-menu>summary::-webkit-details-marker {
  display: none;
}

/* Component rules: .services-menu>summary:after — preserve cascade position. */

.services-menu>summary:after {
  content: "⌄";
}

/* Component rules: .services-dropdown — preserve cascade position. */

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 35px var(--color-shadow-tone-01);
}

/* Component rules: .services-dropdown a — preserve cascade position. */

.services-dropdown a {
  display: block;
  padding: 10px 12px;
  min-height: 44px;
}

/* Component rules: .services-dropdown a:hover — preserve cascade position. */

.services-dropdown a:hover {
  background: var(--soft);
  color: var(--teal);
}

/* Component rules: .button — preserve cascade position. */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: var(--color-text-on-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s,box-shadow .2s;
}

/* Component rules: .button:hover — preserve cascade position. */

.button:hover {
  background: var(--hover);
  box-shadow: 0 5px 16px var(--color-shadow-tone-02);
}

/* Component rules: .button svg — preserve cascade position. */

.button svg {
  flex-shrink: 0;
  transition: transform .2s;
}

/* Component rules: .button:hover svg — preserve cascade position. */

.button:hover svg {
  transform: translateX(3px);
}

/* Component rules: .header-cta — preserve cascade position. */

.header-cta {
  font-size: 12px;
  padding: 10px 17px;
  white-space: nowrap;
}

/* Component rules: .text-link — preserve cascade position. */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--teal);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Component rules: .menu-toggle — preserve cascade position. */

.menu-toggle {
  display: none;
}

/* Component rules: .site-footer — preserve cascade position. */

.site-footer {
  padding-block: 30px;
}

/* Component rules: .footer-top — preserve cascade position. */

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Component rules: .footer-phone — preserve cascade position. */

.footer-phone {
  color: var(--teal);
  display: flex;
  align-items: center;
  min-height: 44px;
}

/* Component rules: .site-footer nav — preserve cascade position. */

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 25px 0;
  font-size: 14px;
}

/* Component rules: .site-footer nav a — preserve cascade position. */

.site-footer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

/* Component rules: .site-footer nav a:hover — preserve cascade position. */

.site-footer nav a:hover {
  color: var(--teal);
}

/* Component rules: .footer-bottom — preserve cascade position. */

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}

/* Component rules: .header-phone — preserve cascade position. */

.header-phone {
  gap: 9px;
  white-space: nowrap;
}

/* Component rules: .header-phone svg — preserve cascade position. */

.header-phone svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--teal);
  stroke-width: 2;
}

/* Component rules: .header-phone__copy — preserve cascade position. */

.header-phone__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

/* Component rules: .header-phone__copy strong — preserve cascade position. */

.header-phone__copy strong {
  font-size: 13px;
  font-weight: 600;
}

/* Component rules: .header-phone__copy small — preserve cascade position. */

.header-phone__copy small {
  margin-top: 4px;
  color: var(--color-text-secondary);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: -.1px;
}

/* Component rules: .header-phone:hover — preserve cascade position. */

.header-phone:hover {
  color: var(--teal);
}

/* INTRO AND SHARED CONTENT */

/* Component rules: .page-intro — preserve cascade position. */

.page-intro {
  padding-block: 32px 40px;
}

/* Component rules: .breadcrumb — preserve cascade position. */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Component rules: .breadcrumb a — preserve cascade position. */

.breadcrumb a {
  color: var(--teal);
  min-height: 32px;
}

/* Component rules: .intro-grid — preserve cascade position. */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 64px;
}

/* Component rules: .intro-copy — preserve cascade position. */

.intro-copy {
  max-width: 850px;
  padding-bottom: 16px;
}

/* Component rules: .content-photo — preserve cascade position. */

.content-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 38% 10% 22% 3% / 50% 14% 26% 4%;
  background: var(--color-surface-alternate);
}

/* Component rules: .split-section — preserve cascade position. */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Component rules: .split-section>* — preserve cascade position. */

.split-section>* {
  min-width: 0;
}

/* Component rules: .value-grid — preserve cascade position. */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
  margin-top: 35px;
}

/* Component rules: .small-number — preserve cascade position. */

.small-number {
  display: block;
  color: var(--color-process-number);
  font: 32px var(--serif);
  margin-bottom: 16px;
}

/* Component rules: .steps-grid — preserve cascade position. */

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

/* Component rules: .steps-grid li — preserve cascade position. */

.steps-grid li {
  display: flex;
  gap: 18px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

/* Component rules: .steps-grid li:first-child — preserve cascade position. */

.steps-grid li:first-child {
  border: 0;
  padding-left: 0;
}

/* Component rules: .step-number — preserve cascade position. */

.step-number {
  font: 36px var(--serif);
  color: var(--color-decoration-accent);
}

/* Component rules: .steps-grid h3 — preserve cascade position. */

.steps-grid h3 {
  font-size: 20px;
}

/* Component rules: .steps-grid p — preserve cascade position. */

.steps-grid p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}

/* Component rules: .cta — preserve cascade position. */

.cta {
  --color-focus-ring: var(--color-text-on-dark);
  position: relative;
  padding: 65px 0 75px;
  background: var(--teal);
  color: var(--color-text-on-dark);
  overflow: hidden;
}

/* Component rules: .cta:after — preserve cascade position. */

.cta:after {
  content: "";
  position: absolute;
  bottom: -60px;
  width: 120%;
  left: -10%;
  height: 95px;
  border-radius: 50%;
  background: var(--paper);
}

/* Component rules: .cta .eyebrow — preserve cascade position. */

.cta .eyebrow {
  color: var(--color-wave-primary);
}

/* Component rules: .cta h2 — preserve cascade position. */

.cta h2 {
  max-width: 820px;
}

/* Component rules: .cta p:not(.eyebrow) — preserve cascade position. */

.cta p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 20px;
}

/* Component rules: .cta .button — preserve cascade position. */

.cta .button {
  margin-top: 25px;
}

/* Component rules: .button-white — preserve cascade position. */

.button-white {
  background: var(--color-text-on-dark);
  color: var(--teal);
}

/* Component rules: .button-white:hover — preserve cascade position. */

.button-white:hover {
  background: var(--color-wave-light);
}

/* HUBS */

/* Component rules: .hub-grid,.text-card-grid — preserve cascade position. */

.hub-grid,.text-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px 24px;
}

/* Component rules: .link-card — preserve cascade position. */

.link-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Component rules: .link-card .content-photo — preserve cascade position. */

.link-card .content-photo {
  aspect-ratio: 4/3;
  transition: filter .2s;
}

/* Component rules: .link-card:hover .content-photo — preserve cascade position. */

.link-card:hover .content-photo {
  filter: brightness(.95);
}

/* Component rules: .card-copy — preserve cascade position. */

.card-copy {
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Component rules: .card-copy p — preserve cascade position. */

.card-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 14px;
}

/* Component rules: .card-copy .text-link — preserve cascade position. */

.card-copy .text-link {
  margin-top: auto;
  align-self: start;
}

/* Component rules: .text-card-grid — preserve cascade position. */

.text-card-grid {
  margin-top: 28px;
}

/* Component rules: .text-card-grid .card-copy — preserve cascade position. */

.text-card-grid .card-copy {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 4px;
  background: var(--paper);
  gap: 20px;
}

/* Component rules: .pagination — preserve cascade position. */

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

/* Component rules: .pagination button — preserve cascade position. */

.pagination button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--teal);
  border-radius: 50%;
}

/* Component rules: .pagination button[aria-current=page],.pagination button:hover — preserve cascade position. */

.pagination button[aria-current=page],.pagination button:hover {
  background: var(--teal);
  color: var(--color-text-on-dark);
}

/* Component rules: .related-article-grid — preserve cascade position. */

.related-article-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: 0;
}

/* Component rules: .related-article-card .card-copy — preserve cascade position. */

.related-article-card .card-copy {
  height: 100%;
  transition: border-color .2s,box-shadow .2s,transform .2s;
}

/* Component rules: .related-article-card:hover .card-copy — preserve cascade position. */

.related-article-card:hover .card-copy {
  border-color: var(--color-wave-secondary);
  box-shadow: 0 12px 28px var(--color-shadow-tone-03);
  transform: translateY(-2px);
}

/* FAQ AND REVIEWS */

/* Component rules: .faq-layout — preserve cascade position. */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}

/* Component rules: .faq-list — preserve cascade position. */

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

/* Component rules: .faq-item — preserve cascade position. */

.faq-item {
  border-bottom: 1px solid var(--line);
}

/* Component rules: .faq-item summary — preserve cascade position. */

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  min-height: 64px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 500;
}

/* Component rules: .faq-item summary::-webkit-details-marker — preserve cascade position. */

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

/* Component rules: .faq-item summary span — preserve cascade position. */

.faq-item summary span {
  font-size: 24px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Component rules: .faq-item[open] summary span — preserve cascade position. */

.faq-item[open] summary span {
  transform: rotate(45deg);
}

/* Component rules: .faq-item p — preserve cascade position. */

.faq-item p {
  padding: 0 25px 24px 0;
  color: var(--muted);
}

/* Component rules: .review-grid — preserve cascade position. */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Component rules: .review-card — preserve cascade position. */

.review-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 4px;
  min-width: 0;
}

/* Component rules: .review-card blockquote — preserve cascade position. */

.review-card blockquote {
  margin: 0;
}

/* Testimonials only. The stars inherit the primary brand palette via --teal. */
#testimonials .review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--teal);
}

#testimonials .review-stars svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  stroke: none;
}

#testimonials .review-card blockquote {
  font-style: italic;
}

/* Add quotation marks around the review text while preserving its copy. */
#testimonials .review-card blockquote p:first-child::before {
  content: "“";
}

#testimonials .review-card blockquote p:last-child::after {
  content: "”";
}

/* Component rules: .review-card footer — preserve cascade position. */

.review-card footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
}

/* Component rules: .review-author — preserve cascade position. */

.review-author {
  font-weight: 600;
  font-size: 14px;
}

/* Component rules: .review-source — preserve cascade position. */

.review-source {
  font-size: 13px;
  color: var(--muted);
}

/* Component rules: .review-clamped — preserve cascade position. */

.review-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Component rules: .review-toggle — preserve cascade position. */

.review-toggle {
  background: none;
  color: var(--teal);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  min-height: 44px;
  margin-top: 12px;
}

/* CONTACT AND ARTICLE */

/* Component rules: .contact-layout — preserve cascade position. */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,35fr) minmax(0,65fr);
  gap: 48px;
  padding-top: 12px;
}

/* Component rules: .contact-layout aside — preserve cascade position. */

.contact-layout aside {
  padding-top: 30px;
}

/* Component rules: .contact-number — preserve cascade position. */

.contact-number {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 26px;
  color: var(--teal);
  margin: 14px 0;
}

/* Component rules: .contact-layout aside p — preserve cascade position. */

.contact-layout aside p {
  color: var(--muted);
}

/* Component rules: .contact-palm — preserve cascade position. */

.contact-palm {
  width: 140px;
  height: auto;
  margin-top: 50px;
  opacity: .55;
}

/* Component rules: .form-card — preserve cascade position. */

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--color-surface-card-warm);
  box-shadow: 0 16px 40px var(--color-shadow-tone-04);
  min-width: 0;
}

/* Component rules: .form-card h2 — preserve cascade position. */

.form-card h2 {
  font-size: 30px;
  margin-bottom: 26px;
}

/* Component rules: .contact-form — preserve cascade position. */

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

/* Component rules: .contact-form>div — preserve cascade position. */

.contact-form>div {
  min-width: 0;
}

/* Component rules: .contact-form label — preserve cascade position. */

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Component rules: .contact-form input,.contact-form textarea — preserve cascade position. */

.contact-form input,.contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--color-border-tone-02);
  border-radius: 10px;
  background: var(--color-surface-form-warm);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
}

/* Component rules: .contact-form textarea — preserve cascade position. */

.contact-form :is(input, textarea)::placeholder {
  color: var(--color-text-secondary);
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
}

/* Component rules: .contact-form :is(input,textarea):focus — preserve cascade position. */

.contact-form :is(input,textarea):focus {
  box-shadow: 0 0 0 3px var(--color-shadow-tone-05);
}

/* Component rules: .full — preserve cascade position. */

.full {
  grid-column: 1/-1;
}

/* Component rules: .article — preserve cascade position. */

.article {
  max-width: 1120px;
  padding-bottom: 40px;
}

/* Component rules: .article>.content-photo — preserve cascade position. */

.article>.content-photo {
  margin: 24px 0 48px;
}

/* Component rules: .article-meta — preserve cascade position. */

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* Component rules: .article-layout — preserve cascade position. */

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 64px;
}

/* Component rules: .article-toc — preserve cascade position. */

.article-toc {
  align-self: start;
  position: sticky;
  top: 25px;
  border-left: 2px solid var(--line);
  padding-left: 22px;
}

/* Component rules: .article-toc h2 — preserve cascade position. */

.article-toc h2 {
  font: 500 16px var(--sans);
  letter-spacing: 0;
  margin-bottom: 16px;
}

/* Component rules: .article-toc a — preserve cascade position. */

.article-toc a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted);
}

/* Component rules: .article-body section — preserve cascade position. */

.article-body section {
  margin-bottom: 40px;
  scroll-margin-top: 32px;
}

/* Component rules: .article-body h2 — preserve cascade position. */

.article-body h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

/* Component rules: .article-body p — preserve cascade position. */

.article-body p {
  margin-top: 16px;
}

/* Component rules: .error-page — preserve cascade position. */

.error-page {
  padding-block: 100px;
  min-height: 60vh;
}

/* Component rules: .error-page p — preserve cascade position. */

.error-page p {
  margin: 20px 0;
}

/* Component rules: .button-row — preserve cascade position. */

.button-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* HOME */

/* Component rules: .home-hero — preserve cascade position. */

.home-hero {
  position: relative;
  min-height: 620px;
  padding: 82px 0 146px;
  isolation: isolate;
  overflow: hidden;
}

/* Component rules: .home-hero-copy — preserve cascade position. */

.home-hero-copy {
  max-width: 50%;
  position: relative;
  z-index: 4;
}

/* Component rules: .home-hero h1 — preserve cascade position. */

.home-hero h1 {
  max-width: 600px;
  font-family: "Libre Caslon Display",Georgia,serif;
  font-size: clamp(52px,4.55vw,66px);
  line-height: 1.02;
  letter-spacing: -1.5px;
}

/* Component rules: .home-hero h1 span — preserve cascade position. */

.home-hero h1 span {
  display: block;
}

/* Component rules: .home-hero .lead — preserve cascade position. */

.home-hero .lead {
  max-width: 465px;
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.45;
}

/* Component rules: .home-hero .button — preserve cascade position. */

.home-hero .button {
  margin-top: 28px;
  min-width: 216px;
}

/* Component rules: .home-hero-photo .hero-photo-curve — preserve cascade position. */

.home-hero-photo .hero-photo-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  fill: var(--paper);
  stroke: none;
  pointer-events: none;
}

.home-hero-photo .hero-photo-curve path,
.hero-wave path:last-of-type {
  fill: var(--paper);
}

/* Component rules: .home-hero-photo — preserve cascade position. */

.home-hero-photo {
  position: absolute;
  inset: 0 0 0 38.5%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Component rules: .home-hero-photo img — preserve cascade position. */

.home-hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: right center;
  border-radius: 0;
}

/* Component rules: .home-hero-photo:after — preserve cascade position. */

.home-hero-photo:after {
  content: none;
}

/* Component rules: .hero-wave — preserve cascade position. */

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 168px;
  stroke: none;
  z-index: 3;
  pointer-events: none;
}

/* Component rules: .benefits — preserve cascade position. */

.benefits {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

/* Component rules: .benefits li — preserve cascade position. */

.benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 145px;
  font-size: 12px;
  line-height: 1.35;
}

/* Component rules: .benefit-mark — preserve cascade position. */

.benefit-mark {
  font-size: 28px;
  color: var(--teal);
}

/* Component rules: .home-services — preserve cascade position. */

.home-services {
  padding-top: 42px;
  padding-bottom: 38px;
}

/* Component rules: .home-services .section-heading — preserve cascade position. */

.home-services .section-heading {
  margin-bottom: 26px;
}

/* Component rules: .home-services .section-heading h2 — preserve cascade position. */

.home-services .section-heading h2 {
  font-size: clamp(34px,3vw,42px);
}

/* Component rules: .home-services-grid — preserve cascade position. */

.home-services-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 38px 32px;
}

/* Component rules: .home-services .link-card .content-photo — preserve cascade position. */

.home-services .link-card .content-photo {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 46% 18% 18% 2% / 48% 18% 20% 3%;
}

/* Component rules: .home-services .card-copy — preserve cascade position. */

.home-services .card-copy {
  padding-top: 15px;
}

/* Component rules: .home-services .card-copy h3 — preserve cascade position. */

.home-services .card-copy h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Component rules: .home-services .card-copy p — preserve cascade position. */

.home-services .card-copy p {
  max-width: 245px;
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.42;
}

/* Component rules: .home-project — preserve cascade position. */

.home-project {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

/* Component rules: .home-project-grid — preserve cascade position. */

.home-project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,2fr);
  align-items: center;
  gap: clamp(32px,4vw,64px);
  width: calc(100% - var(--gutter)*2);
  max-width: 1280px;
  margin-inline: auto;
}

/* Component rules: .home-project-media — preserve cascade position. */

.home-project-media {
  display: block;
  min-width: 0;
  aspect-ratio: 2.12/1;
  overflow: hidden;
  border-radius: 18%;
}

/* Component rules: .home-project-photo — preserve cascade position. */

.home-project-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* Component rules: .home-project-copy — preserve cascade position. */

.home-project-copy {
  max-width: 420px;
  padding-block: 36px;
}

/* Component rules: .home-project-copy h2 — preserve cascade position. */

.home-project-copy h2 {
  font-size: 34px;
  line-height: 1.08;
}

/* Component rules: .home-project-copy>p:not(.eyebrow) — preserve cascade position. */

.home-project-copy>p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

/* Component rules: .home-project-copy .text-link — preserve cascade position. */

.home-project-copy .text-link {
  margin-top: 14px;
}

/* Component rules: .home-project-palm — preserve cascade position. */

.home-project-palm {
  position: absolute;
  right: -10px;
  bottom: 16px;
  z-index: 0;
  width: 170px;
  height: auto;
  opacity: .72;
  pointer-events: none;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:1199px) {
  .site-header {
    min-height: 80px;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 54px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    position: absolute;
    right: 0;
    z-index: 32;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    z-index: 31;
    top: 100%;
    left: calc(-1*var(--gutter));
    right: calc(-1*var(--gutter));
    padding: 20px var(--gutter) 30px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 80px);
    overflow: auto;
    box-shadow: 0 24px 30px var(--color-shadow-tone-06);
    font-size: 16px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav>a,.services-menu>summary {
    min-height: 48px;
  }

  .main-nav .header-phone {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .header-phone__copy strong {
    font-size: 15px;
  }

  .header-phone__copy small {
    font-size: 12px;
  }

  .services-dropdown {
    position: static;
    width: auto;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    border-left: 1px solid var(--line);
    margin-bottom: 12px;
    padding: 0 15px;
  }

  .services-dropdown a {
    font-size: 14px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (min-width:1200px) and (max-width:1350px) {
  .main-nav {
    gap: 10px;
  }

  .brand__name {
    font-size: 14px;
  }

  .header-cta {
    padding-inline: 14px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:899px) {
  .intro-grid,.split-section {
    gap: 32px;
  }

  .intro-grid h1 {
    font-size: 40px;
  }

  .hub-grid,.text-card-grid,.review-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px 20px;
  }

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

  .home-project-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-right: 0;
  }

  .home-project-media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18%;
  }

  .home-project-copy {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 0 0 52px;
  }

  .home-project-palm {
    width: 135px;
    opacity: .5;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-palm {
    display: none;
  }

  .contact-layout aside {
    padding-top: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-toc {
    position: static;
  }

  .home-hero {
    min-height: 590px;
    padding-top: 64px;
  }

  .home-hero-copy {
    max-width: 58%;
  }

  .home-hero h1 {
    font-size: 50px;
  }

  .home-hero-photo {
    left: 35%;
  }

  .benefits {
    gap: 16px;
  }

  .value-grid {
    gap: 24px;
  }

  .steps-grid {
    gap: 18px;
  }

  .steps-grid li {
    padding-left: 12px;
    gap: 10px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .section {
    padding-block: 40px;
  }

  h1,.intro-grid h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .lead {
    font-size: 16px;
  }

  .brand__name {
    font-size: 13px;
    max-width: 155px;
  }

  .brand {
    max-width: 220px;
  }

 .brand>img,
.brand .text-logo>img {
 width: 83px;
 height: 83px;
 }

 .site-header .brand.brand--image {
  max-width: 350px;
  min-height: 83px;
 }

  .header-cta {
    display: none;
  }

  .site-header {
    min-height: 76px;
  }

  .main-nav {
    max-height: calc(100dvh - 76px);
  }

  .page-intro {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .breadcrumb {
    margin-bottom: 25px;
  }

  .intro-grid,.split-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-grid .content-photo {
    margin-top: 8px;
  }

  .hub-grid,.text-card-grid,.review-grid,.value-grid,.steps-grid,.related-article-grid,.home-services-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-services {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .home-services .section-heading {
    margin-bottom: 24px;
  }

  .home-project-media {
    width: 100%;
    border-radius: 18%;
  }

  .home-project-copy {
    width: 100%;
    padding-bottom: 44px;
  }

  .home-project-copy h2 {
    font-size: 30px;
  }

  .home-project-palm {
    right: -34px;
    width: 120px;
    opacity: .4;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .steps-grid li,.steps-grid li:first-child {
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }

  .steps-grid li:last-child {
    border: 0;
  }

  .faq-item summary {
    min-height: 56px;
  }

  .form-card {
    padding: 24px 20px;
  }

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

  .contact-number {
    font-size: 23px;
  }

  .contact-layout {
    padding-top: 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }

  .site-footer nav {
    gap: 4px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .cta {
    padding: 45px 0 65px;
  }

  .article-body h2 {
    font-size: 28px;
  }

  .article>.content-photo {
    margin-bottom: 30px;
  }

  .home-hero {
    min-height: 0;
    padding: 38px 0 372px;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .home-hero h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .home-hero .lead {
    line-height: 1.55;
  }

  .home-hero-photo {
    inset: auto 0 0;
    height: 350px;
    clip-path: none;
    border-radius: 72px 0 0 0;
  }

  .home-hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,var(--paper) 0,transparent 18%);
    pointer-events: none;
  }

  .benefits {
    gap: 12px;
    flex-wrap: wrap;
  }

  .benefits li {
    flex: 1 1 30%;
    min-width: 92px;
  }

  .hero-wave {
    height: 92px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    transition: none !important;
    animation: none !important;
  }
}

/* RETAINED SCROLL SNAP AND DIALOG */

/* Component rules: .gallery-controls — preserve cascade position. */

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Component rules: .gallery-range — preserve cascade position. */

.gallery-range {
  min-width: 68px;
  margin-right: 6px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Component rules: .circle-button — preserve cascade position. */

.circle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--color-decoration-palm);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

/* Component rules: .circle-button:hover:not(:disabled) — preserve cascade position. */

.circle-button:hover:not(:disabled) {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--color-text-on-dark);
}

/* Component rules: .circle-button:disabled — preserve cascade position. */

.circle-button:disabled {
  opacity: .35;
  cursor: default;
}

/* Component rules: .circle-button svg — preserve cascade position. */

.circle-button svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Component rules: [data-gallery-previous] svg, [data-dialog-previous] svg — preserve cascade position. */

[data-gallery-previous] svg, [data-dialog-previous] svg {
  transform: rotate(180deg);
}

/* Component rules: .gallery-track — preserve cascade position. */

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  margin: 0;
  padding: 5px 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}

/* Component rules: .gallery-track::-webkit-scrollbar — preserve cascade position. */

.gallery-track::-webkit-scrollbar {
  display: none;
}

/* Component rules: .gallery-card — preserve cascade position. */

.gallery-card {
  min-width: 0;
  scroll-snap-align: start;
}

/* Component rules: .gallery-card figure — preserve cascade position. */

.gallery-card figure {
  margin: 0;
}

/* Component rules: .gallery-photo — preserve cascade position. */

.gallery-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 40% 24% 18% 3% / 52% 24% 18% 4%;
}

/* Component rules: .gallery-photo:focus-visible — preserve cascade position. */

.gallery-photo:focus-visible {
  outline-offset: -4px;
}

/* Component rules: .gallery-photo img — preserve cascade position. */

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

/* Component rules: .gallery-photo:hover img — preserve cascade position. */

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

/* Component rules: .gallery-card figcaption — preserve cascade position. */

.gallery-card figcaption {
  padding-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Component rules: .gallery-card figcaption span — preserve cascade position. */

.gallery-card figcaption span {
  display: block;
}

/* Component rules: .gallery-location — preserve cascade position. */

.gallery-location {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

/* Component rules: .gallery-dialog — preserve cascade position. */

.gallery-dialog {
  width: min(1100px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 20px 24px;
  border: 1px solid var(--color-caption-muted);
  border-radius: 20px;
  background: var(--color-gallery-text);
  color: var(--color-surface-white);
  overflow: auto;
  box-shadow: 0 20px 80px var(--color-overlay-black-translucent);
}

/* Component rules: .gallery-dialog[open] — preserve cascade position. */

.gallery-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}

/* Component rules: .gallery-dialog::backdrop — preserve cascade position. */

.gallery-dialog::backdrop {
  background: var(--color-gallery-backdrop);
}

/* Component rules: .gallery-dialog-header — preserve cascade position. */

.gallery-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Component rules: .gallery-dialog-header h2 — preserve cascade position. */

.gallery-dialog .gallery-dialog-header h2 {
  margin: 0;
  font: 500 18px/1.4 var(--sans);
  overflow-wrap: anywhere;
}

/* Component rules: .gallery-dialog .circle-button — preserve cascade position. */

.gallery-dialog .circle-button {
  color: var(--color-surface-white);
  border-color: var(--color-decoration-muted);
}

/* Component rules: .gallery-dialog-stage — preserve cascade position. */

.gallery-dialog-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: min(65dvh, 680px);
  min-height: 180px;
}

/* Component rules: .gallery-dialog-image — preserve cascade position. */

.gallery-dialog-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

/* Component rules: .gallery-load-state — preserve cascade position. */

.gallery-load-state {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  pointer-events: none;
  font-size: 16px;
  line-height: 1.5;
}

/* Component rules: .gallery-retry — preserve cascade position. */

.gallery-retry {
  border: 1px solid var(--color-decoration-muted);
  border-radius: 999px;
  padding: 10px 20px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--color-text-on-dark);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

/* Component rules: .gallery-retry:hover — preserve cascade position. */

.gallery-retry:hover {
  background: var(--teal);
}

/* Component rules: .gallery-dialog-footer — preserve cascade position. */

.gallery-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Component rules: .gallery-dialog-footer > p — preserve cascade position. */

.gallery-dialog-footer > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gallery-divider);
  overflow-wrap: anywhere;
}

/* Component rules: .gallery-dialog-navigation — preserve cascade position. */

.gallery-dialog-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Component rules: [data-dialog-counter] — preserve cascade position. */

[data-dialog-counter] {
  min-width: 54px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:899px) {
  .gallery-track {
    grid-auto-columns: calc((100% - 20px)/2);
    gap: 20px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .gallery-track {
    grid-auto-columns: 88%;
    gap: 16px;
  }

  .gallery-dialog {
    width: calc(100% - 24px);
    padding: 14px;
  }

  .gallery-dialog-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-dialog-stage {
    height: 50dvh;
  }

  .gallery-dialog-navigation {
    justify-content: center;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:1199px) {
  html:not(.js) .main-nav {
    display: block;
    position: static;
    flex: 0 0 100%;
    max-height: none;
    box-shadow: none;
    padding: 15px 0;
  }

  html:not(.js) .site-header {
    flex-wrap: wrap;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }
}

/* Component rules: .svg-library — preserve cascade position. */

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Component rules: .benefit-mark — preserve cascade position. */

.benefit-mark {
  width: 24px;
  height: 28px;
  flex-shrink: 0;
}

/* HOME PROCESS, COASTAL INVITATION AND FOOTER */

/* Component rules: .home-process — preserve cascade position. */

.home-process {
  position: relative;
  overflow: hidden;
  padding: 38px 0 44px;
  background: var(--paper);
}

/* Component rules: .home-process>.container — preserve cascade position. */

.home-process>.container {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* Component rules: .home-process .eyebrow,.home-process h2 — preserve cascade position. */

.home-process .eyebrow,.home-process h2 {
  text-align: center;
}

/* Component rules: .home-process h2 — preserve cascade position. */

.home-process h2 {
  font-size: 36px;
}

/* Component rules: .home-process .steps-grid — preserve cascade position. */

.home-process .steps-grid {
  margin-top: 30px;
  gap: 30px;
}

/* Component rules: .home-process .steps-grid h3 — preserve cascade position. */

.home-process .steps-grid h3 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.3px;
}

/* Component rules: .home-process .steps-grid p — preserve cascade position. */

.home-process .steps-grid p {
  font-size: 15px;
  line-height: 1.45;
  margin-top: 8px;
}

/* Component rules: .home-process-palm — preserve cascade position. */

.home-process-palm {
  position: absolute;
  bottom: 16px;
  left: -12px;
  width: 145px;
  height: auto;
  opacity: .7;
  pointer-events: none;
}

/* Component rules: .home-cta — preserve cascade position. */

.home-cta {
  isolation: isolate;
  min-height: 300px;
  padding: 34px 0 65px;
  background: var(--color-cta-accent);
}

/* Component rules: .home-cta:after — preserve cascade position. */

.home-cta:after {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg,var(--color-gradient-tone-01) 0%,var(--color-gradient-tone-02) 32%,var(--color-gradient-tone-03) 64%,transparent 84%);
  pointer-events: none;
}

/* Component rules: .home-cta-photo — preserve cascade position. */

.home-cta-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  pointer-events: none;
}

/* Component rules: .home-cta-copy — preserve cascade position. */

.home-cta-copy {
  position: relative;
  z-index: 3;
}

/* Component rules: .home-cta .eyebrow — preserve cascade position. */

.home-cta .eyebrow {
  font-size: 11px;
  letter-spacing: 2.7px;
  margin-bottom: 14px;
}

/* Component rules: .home-cta h2 — preserve cascade position. */

.home-cta h2 {
  font-size: 46px;
  line-height: 1.1;
  max-width: 650px;
}

/* Component rules: .home-cta .home-cta-copy>p:not(.eyebrow) — preserve cascade position. */

.home-cta .home-cta-copy>p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.35;
  max-width: 410px;
  margin-top: 14px;
}

/* Component rules: .home-cta .button — preserve cascade position. */

.home-cta .button {
  margin-top: 22px;
  min-width: 206px;
  min-height: 46px;
}

/* Component rules: .home-cta .home-cta-writing — preserve cascade position. */

.home-cta .home-cta-writing {
  position: absolute;
  z-index: 2;
  left: 54%;
  top: 40%;
  max-width: 165px;
  margin: 0;
  color: var(--color-text-on-dark);
  font: 46px/.85 "The Nautigal",cursive;
  transform: rotate(-9deg);
  text-align: center;
  pointer-events: none;
}

/* Component rules: .home-cta-writing:after — preserve cascade position. */

.home-cta-writing:after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  border-radius: 50%;
  background: var(--color-text-on-dark);
  margin: 15px 0 0 85px;
  transform: rotate(-5deg);
}

/* Component rules: .home-cta-wave — preserve cascade position. */

.home-cta-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 4;
  stroke: none;
  pointer-events: none;
}

/* Component rules: .home-footer — preserve cascade position. */

.home-footer {
  padding-block: 18px 20px;
}

/* Component rules: .home-footer .footer-top — preserve cascade position. */

.home-footer .footer-top {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr) 326px;
  gap: 24px;
  min-height: 76px;
}

/* Component rules: .home-footer .brand>img — preserve cascade position. */

.home-footer .brand>img,
.home-footer .brand .text-logo>img,
.site-footer .brand>img {
 width: 75px;
 height: 75px;
}

.home-footer .brand.brand--image,
.site-footer .brand.brand--image {
 max-width: 450px;
 min-height: 94px;
}

.home-footer .brand.brand--image>img,
.site-footer .brand.brand--image>img {
 width: 100%;
 height: 94px;
 object-fit: contain;
 object-position: left center;
}

.site-footer .brand--image .brand__name,
.home-footer .brand--image .brand__name {
 display: none;
}

/* Component rules: .home-footer .brand__name — preserve cascade position. */

.home-footer .brand__name {
  color: var(--color-cta-dark);
  font-size: 16px;
  letter-spacing: 1.2px;
}

/* Component rules: .home-footer nav — preserve cascade position. */

.home-footer nav {
  justify-content: center;
  gap: 0 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

/* Component rules: .home-footer .footer-phone — preserve cascade position. */

.home-footer .footer-phone {
  gap: 10px;
  color: var(--ink);
  line-height: 1.3;
}

/* Component rules: .home-footer .footer-phone>svg — preserve cascade position. */

.home-footer .footer-phone>svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  color: var(--teal);
}

/* Component rules: .home-footer .footer-phone strong — preserve cascade position. */

.home-footer .footer-phone strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

/* Component rules: .home-footer .footer-phone small — preserve cascade position. */

.home-footer .footer-phone small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

/* Component rules: .footer-social — preserve cascade position. */

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

/* Component rules: .footer-social span — preserve cascade position. */

.footer-social span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 32px;
}

/* Component rules: .footer-social svg — preserve cascade position. */

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Shared footer contact details and business hours. */
.home-footer .footer-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
}

.home-footer .footer-hours {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  grid-column: 2;
  margin-inline-start: 35px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.home-footer .footer-hours-schedule {
  white-space: nowrap;
}

.home-footer .footer-open-now {
  --footer-open-color: color-mix(in srgb, var(--accent) 72%, var(--primary));
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--footer-open-color) 24%, var(--color-surface-white));
  border-radius: 999px;
  background: color-mix(in srgb, var(--footer-open-color) 8%, var(--color-surface-white));
  color: var(--footer-open-color);
  font-weight: 600;
  white-space: nowrap;
}

.home-footer .footer-open-now::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 599px) {
  .home-footer .footer-contact {
    width: min(100%, 326px);
    justify-self: center;
  }
}

/* The template has three social slots and longer contact instructions. */
@media (min-width: 600px) and (max-width: 1099px) {
  .home-footer .footer-contact {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 326px);
  }
}

@media (max-width: 599px) {
  .home-footer .footer-contact .footer-social { gap: 4px; }
  .home-footer .footer-contact .footer-social span { width: 24px; }
}

/* Component rules: .home-footer .footer-bottom — preserve cascade position. */

.home-footer .footer-bottom {
  margin-top: 10px;
  padding-top: 14px;
  border-color: var(--color-footer-divider);
  font-size: 10px;
  gap: 20px;
}

/* Component rules: .home-footer .footer-bottom p:last-child — preserve cascade position. */

.home-footer .footer-bottom p:last-child {
  color: var(--teal);
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: right;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (min-width:1441px) {
  .home-cta {
    min-height: 350px;
    padding-top: 50px;
  }

  .home-cta-photo {
    object-position: center 52%;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:1099px) {
  .home-footer .footer-top {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 18px;
  }

  .home-footer nav {
    gap: 0 12px;
  }

  .home-process>.container {
    width: calc(100% - var(--gutter)*2);
  }

  .home-process-palm {
    left: -45px;
    opacity: .45;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .home-process {
    padding: 36px 0;
  }

  .home-process h2 {
    font-size: 30px;
  }

  .home-process .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-process .steps-grid li {
    padding-left: 0;
  }

  .home-process-palm {
    width: 110px;
    opacity: .3;
    left: -55px;
  }

  .home-cta {
    padding: 36px 0 210px;
    min-height: 490px;
  }

  .home-cta h2 {
    font-size: 36px;
    max-width: 340px;
  }

  .home-cta .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .home-cta .home-cta-copy>p:not(.eyebrow) {
    font-size: 16px;
    max-width: 320px;
  }

  .home-cta:after {
    background: linear-gradient(180deg,var(--color-gradient-tone-04) 0%,var(--color-gradient-tone-05) 44%,var(--color-gradient-tone-06) 74%,transparent);
  }

  .home-cta-photo {
    object-position: 72% center;
  }

  .home-cta .home-cta-writing {
    left: 48%;
    top: auto;
    bottom: 85px;
    font-size: 40px;
    max-width: 145px;
  }

  .home-cta-wave {
    height: 65px;
  }

  .home-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 10px;
  }

  .home-footer .brand {
    justify-self: center;
  }

  .home-footer nav {
    justify-content: center;
    font-size: 13px;
    gap: 0 18px;
  }

  .home-footer .footer-phone {
    min-height: 48px;
  }

  .home-footer .footer-phone small {
    font-size: 11px;
  }

  .home-footer .footer-bottom {
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .home-footer .footer-bottom p:last-child {
    text-align: center;
  }
}

/* Content-led inner layouts. Homepage typography and component layout stay intact. */

/* Component rules: .content-template .page-intro — preserve cascade position. */

.content-template .page-intro {
  padding-block: 32px 56px;
}

/* Component rules: .content-template .intro-grid — preserve cascade position. */

.content-template .intro-grid {
  gap: clamp(28px,4vw,64px);
  align-items: start;
}

/* Component rules: .content-template .intro-grid>.content-photo — preserve cascade position. */

.content-template .intro-grid>.content-photo {
  margin-top: 12px;
  position: sticky;
  top: 28px;
}

/* Component rules: .content-template .intro-copy — preserve cascade position. */

.content-template .intro-copy {
  max-width: 850px;
}

/* Component rules: .content-template .intro-text h1 — preserve cascade position. */

.content-template .intro-text h1 {
  max-width: 19ch;
  text-wrap: balance;
  font-size: clamp(36px,3.5vw,52px);
}

/* Component rules: .content-template .intro-text .lead — preserve cascade position. */

.content-template .intro-text .lead {
  font-size: 17px;
  line-height: 1.8;
  max-width: 70ch;
}

/* Component rules: .content-template .eyebrow — preserve cascade position. */

.content-template .eyebrow {
  display: block;
}

/* Component rules: .content-template .content-actions — preserve cascade position. */

.content-template .content-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
}

/* Component rules: .content-template .reading-section — preserve cascade position. */

.content-template .reading-section {
  display: block;
}

/* Component rules: .content-template .reading-section>.editorial-copy — preserve cascade position. */

.content-template .reading-section>.editorial-copy {
  display: grid;
  grid-template-columns: minmax(0,35fr) minmax(0,65fr);
  gap: clamp(48px,4.5vw,64px);
  align-items: start;
  max-width: none;
  width: 100%;
}

/* Component rules: .content-template .section:has(>.reading-section) — preserve cascade position. */

.content-template .section:has(>.reading-section) {
  padding-block: clamp(48px,4vw,56px);
}

/* Component rules: .content-template .reading-section .editorial-heading,.content-template .reading-section .editorial-body — preserve cascade position. */

.content-template .reading-section .editorial-heading,.content-template .reading-section .editorial-body {
  min-width: 0;
}

/* Component rules: .content-template .reading-section .editorial-heading h2 — preserve cascade position. */

.content-template .reading-section .editorial-heading h2 {
  font-size: clamp(32px,2.5vw,36px);
  max-width: 24ch;
}

/* Component rules: .content-template .reading-section .editorial-body — preserve cascade position. */

.content-template .reading-section .editorial-body {
  max-width: 72ch;
}

/* Component rules: .content-template .reading-section .editorial-body>p — preserve cascade position. */

.content-template .reading-section .editorial-body>p {
  margin-top: 0;
}

/* Component rules: .content-template .reading-section .editorial-body .content-actions — preserve cascade position. */

.content-template .reading-section .editorial-body .content-actions {
  margin-top: 24px;
}

/* Component rules: .content-template .editorial-copy — preserve cascade position. */

.content-template .editorial-copy {
  position: relative;
  max-width: 72ch;
}

/* Component rules: .content-template .editorial-copy h2 — preserve cascade position. */

.content-template .editorial-copy h2 {
  max-width: 24ch;
  text-wrap: balance;
}

/* Component rules: .content-template .editorial-copy p — preserve cascade position. */

.content-template .editorial-copy p {
  line-height: 1.85;
  margin-top: 22px;
  color: var(--muted);
}

/* Component rules: .content-template .section-index — preserve cascade position. */

.content-template .section-index {
  display: block;
  font: 20px/1.2 var(--serif);
  color: var(--teal);
  margin-bottom: 16px;
}

/* Component rules: .content-template p[data-copy] a — preserve cascade position. */

.content-template p[data-copy] a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Component rules: .content-template .cta p[data-copy] a — preserve cascade position. */

.content-template .cta p[data-copy] a {
  color: var(--color-text-on-dark);
}

/* Component rules: .content-template .cta h2 — preserve cascade position. */

.content-template .cta h2 {
  max-width: 26ch;
  text-wrap: balance;
}

/* Component rules: .content-template .cta p — preserve cascade position. */

.content-template .cta p {
  max-width: 72ch;
  line-height: 1.85;
}

/* Component rules: .content-template .hub-section — preserve cascade position. */

.content-template .hub-section {
  padding-top: 24px;
}

/* Component rules: .content-template .hub-grid — preserve cascade position. */

.content-template .hub-grid {
  gap: 52px 30px;
}

/* Component rules: .content-template article.link-card .content-photo — preserve cascade position. */

.content-template article.link-card .content-photo {
  transition: none;
}

/* Component rules: .content-template article.link-card:hover .content-photo — preserve cascade position. */

.content-template article.link-card:hover .content-photo {
  filter: none;
}

/* Component rules: .content-template .hub-grid .card-copy p — preserve cascade position. */

.content-template .hub-grid .card-copy p {
  line-height: 1.8;
}

/* Component rules: .content-template .text-card-grid .card-copy — preserve cascade position. */

.content-template .text-card-grid .card-copy {
  gap: 12px;
  padding: 28px;
}

/* Component rules: .content-template .text-card-grid .card-copy p — preserve cascade position. */

.content-template .text-card-grid .card-copy p {
  margin: 0;
  line-height: 1.8;
}

/* Component rules: .content-template .section-summary — preserve cascade position. */

.content-template .section-summary {
  max-width: 72ch;
  margin-top: 40px;
  line-height: 1.85;
  color: var(--muted);
}

/* Component rules: .content-template .article-subtitle — preserve cascade position. */

.content-template .article-subtitle {
  margin-top: 18px;
  font-size: 18px;
  color: var(--teal);
  max-width: 35ch;
}

/* Component rules: .content-template .editorial-layout — preserve cascade position. */

.content-template .editorial-layout {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: clamp(36px,6vw,96px);
  padding-block: 24px 72px;
  align-items: start;
}

/* Component rules: .content-template .article-toc — preserve cascade position. */

.content-template .article-toc {
  position: sticky;
  top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
}

/* Component rules: .content-template .article-toc ol — preserve cascade position. */

.content-template .article-toc ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

/* Component rules: .content-template .article-toc li — preserve cascade position. */

.content-template .article-toc li {
  margin-top: 10px;
  padding-left: 3px;
}

/* Component rules: .content-template .article-toc a — preserve cascade position. */

.content-template .article-toc a {
  display: block;
  padding-block: 5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Component rules: .content-template .article-toc a:hover — preserve cascade position. */

.content-template .article-toc a:hover {
  color: var(--teal);
}

/* Component rules: .content-template .article-body — preserve cascade position. */

.content-template .article-body {
  max-width: 72ch;
  min-width: 0;
}

/* Component rules: .content-template .article-section — preserve cascade position. */

.content-template .article-section {
  padding-block: 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 28px;
}

/* Component rules: .content-template .article-section:last-child — preserve cascade position. */

.content-template .article-section:last-child {
  margin-bottom: 0;
  border: 0;
  padding-bottom: 0;
}

/* Component rules: .content-template .article-section h2 — preserve cascade position. */

.content-template .article-section h2 {
  font-size: 32px;
  text-wrap: balance;
}

/* Component rules: .content-template .article-section p — preserve cascade position. */

.content-template .article-section p {
  line-height: 1.85;
  margin-top: 18px;
  color: var(--muted);
}

/* Component rules: .content-template .faq-layout .content-actions — preserve cascade position. */

.content-template .faq-layout .content-actions {
  margin-bottom: 32px;
}

/* Component rules: .content-template .faq-item p — preserve cascade position. */

.content-template .faq-item p {
  line-height: 1.8;
}

/* Component rules: .content-template .gallery-track — preserve cascade position. */

.content-template .gallery-track {
  margin-bottom: 0;
}

.gallery-track.gallery-grid {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  overscroll-behavior-x: auto;
  scroll-snap-type: none;
}

@media (max-width:899px) {
  .gallery-track.gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width:599px) {
  .gallery-track.gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Component rules: .content-template .contact-layout — preserve cascade position. */

.content-template .contact-layout {
  padding-bottom: 72px;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:999px) {
  .content-template .reading-section>.editorial-copy {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    margin-inline: 0;
  }

  .content-template .reading-section .editorial-body {
    max-width: 72ch;
  }

  .content-template .editorial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-template .article-toc {
    position: static;
  }

  .content-template .intro-grid,.content-template .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-template .intro-grid>.content-photo {
    position: static;
    margin-top: 0;
    max-width: 640px;
  }

  .content-template .split-section>.content-photo {
    max-width: 640px;
  }

  .content-template .section-heading>.button {
    flex-shrink: 0;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:767px) {
  .content-template .intro-grid,.content-template .split-section,.content-template .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-template .intro-grid>.content-photo {
    position: static;
    margin-top: 0;
  }

  .content-template .editorial-layout {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .content-template .article-toc {
    position: static;
  }

  .content-template .section {
    padding-block: 42px;
  }

  .content-template .page-intro {
    padding-bottom: 36px;
  }

  .content-template .breadcrumb {
    margin-bottom: 28px;
  }

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

  .content-template .intro-text .lead {
    font-size: 16px;
  }

  .content-template .section-heading {
    align-items: start;
  }

  .content-template .article-section h2 {
    font-size: 28px;
  }

  .content-template .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .content-template .hub-grid,.content-template .text-card-grid {
    grid-template-columns: 1fr;
  }

  .content-template .section-heading {
    flex-direction: column;
    gap: 22px;
  }

  .content-template .intro-text h1 {
    font-size: 38px;
  }

  .content-template h2 {
    font-size: 30px;
  }

  .content-template .text-card-grid .card-copy {
    padding: 24px;
  }

  .content-template .content-actions {
    gap: 12px 20px;
  }

  .content-template .cta {
    padding-top: 44px;
    padding-bottom: 64px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,.button svg,.link-card .content-photo {
    transition: none;
  }
}

/* Compact introductory copy and balanced media, following layout review. */

/* Component rules: .content-template .intro-grid — preserve cascade position. */

.content-template .intro-grid {
  align-items: stretch;
}

/* Component rules: .content-template .intro-grid .intro-text — preserve cascade position. */

.content-template .intro-grid .intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Component rules: .content-template .intro-grid .intro-media — preserve cascade position. */

.content-template .intro-grid .intro-media {
  position: relative;
  min-height: 300px;
  min-width: 0;
}

/* Component rules: .content-template .intro-media>.content-photo — preserve cascade position. */

.content-template .intro-media>.content-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  margin: 0;
}

/* Component rules: .content-template .intro-text .lead — preserve cascade position. */

.content-template .intro-text .lead {
  margin-top: 18px;
}

/* Component rules: .content-template .intro-text .content-actions — preserve cascade position. */

.content-template .intro-text .content-actions {
  margin-top: 22px;
}

/* Component rules: .content-template .article-subtitle — preserve cascade position. */

.content-template .article-subtitle {
  margin-top: 12px;
}

/* Component rules: .content-template .intro-followup — preserve cascade position. */

.content-template .intro-followup {
  max-width: 70ch;
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
}

/* Component rules: .content-template .article-body a.button — preserve cascade position. */

.content-template .article-body a.button {
  color: var(--home-cta-fg, var(--color-surface-white));
  text-decoration: none;
}

/* Component rules: .content-template .article-body a.button-white — preserve cascade position. */

.content-template .article-body a.button-white {
  color: var(--home-cta-fg, var(--teal));
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:999px) {
  .content-template .intro-grid .intro-media {
    min-height: 0;
    aspect-ratio: 16/9;
    max-width: 640px;
    width: 100%;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .home-hero-photo .hero-photo-curve {
    display: none;
  }
}

/* Keep hero copy inside the light area at every viewport width. */

/* Component rules: .home-hero .home-hero-copy — preserve cascade position. */

.home-hero .home-hero-copy {
  width: 50%;
  max-width: none;
  padding-right: 32px;
  min-width: 0;
}

/* Component rules: .home-hero .home-hero-photo — preserve cascade position. */

.home-hero .home-hero-photo {
  left: 50%;
}

/* Component rules: .home-hero .benefits — preserve cascade position. */

.home-hero .benefits {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

/* Component rules: .home-hero .benefits li — preserve cascade position. */

.home-hero .benefits li {
  min-width: 0;
  max-width: none;
  align-items: center;
}

/* Component rules: .home-hero .benefit-mark — preserve cascade position. */

.home-hero .benefit-mark {
  flex-shrink: 0;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:999px) {
  .home-hero {
    min-height: 0;
    padding: 32px 0 0;
  }

  .home-hero .home-hero-copy {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  .home-hero .home-hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin-top: 24px;
    border-radius: 72px 0 0 0;
  }

  .home-hero .home-hero-photo .hero-photo-curve {
    display: none;
  }

  .home-hero .home-hero-photo:after {
    content: none;
  }

  .home-hero .hero-wave {
    height: clamp(48px,9vw,92px);
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (min-width:360px) and (max-width:599px) {
  .home-hero .benefits {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:359px) {
  .home-hero .benefits {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Balance hero height with the image width instead of a fixed crop. */

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (min-width:1000px) {
  .home-hero {
    display: flex;
    align-items: center;
    min-height: clamp(600px,28.125vw,900px);
    padding-block: 64px 132px;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:999px) {
  .home-hero .home-hero-photo>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home-hero .lead {
    margin-top: 18px;
  }

  .home-hero .button {
    margin-top: 22px;
  }

  .home-hero .benefits {
    margin-top: 24px;
  }
}

/* Keep palm tips inside their sections without changing the page-edge crop. */

/* Component rules: .home-project-palm,.home-process-palm — preserve cascade position. */

.home-project-palm,.home-process-palm {
  max-height: calc(100% - 32px);
  object-fit: contain;
}

/* Component rules: .home-project-palm — preserve cascade position. */

.home-project-palm {
  object-position: right bottom;
}

/* Component rules: .home-process-palm — preserve cascade position. */

.home-process-palm {
  object-position: left bottom;
}

/* Component rules: .home-faq>div:first-child — preserve cascade position. */

.home-faq>div:first-child {
  min-width: 0;
}

/* Full-width homepage FAQ: two independent columns of three questions. */

/* Component rules: .home-faq — preserve cascade position. */

.home-faq {
  display: block;
}

/* Component rules: .home-faq>.faq-list — preserve cascade position. */

.home-faq>.faq-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 48px;
  border-top: 0;
  margin-top: 32px;
  width: 100%;
}

/* Component rules: .home-faq-column — preserve cascade position. */

.home-faq-column {
  min-width: 0;
  border-top: 1px solid var(--line);
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:767px) {
  .home-faq>.faq-list {
    grid-template-columns: minmax(0,1fr);
    margin-top: 24px;
  }

  .home-faq-column+.home-faq-column {
    border-top: 0;
  }
}

/* Shared full-width closing CTA on every site page. */

/* Component rules: .site-bottom-cta — preserve cascade position. */

.site-bottom-cta {
  padding: 56px 0 80px;
  background: var(--teal);
  color: var(--color-surface-white);
}

/* Component rules: .site-bottom-cta h2,.content-template .site-bottom-cta h2 — preserve cascade position. */

.site-bottom-cta h2,.content-template .site-bottom-cta h2 {
  width: 100%;
  max-width: none;
  text-wrap: wrap;
}

/* Component rules: .site-bottom-cta p,.content-template .site-bottom-cta p — preserve cascade position. */

.site-bottom-cta p,.content-template .site-bottom-cta p {
  width: 100%;
  max-width: none;
  line-height: 1.8;
}

/* Component rules: .site-bottom-cta p a — preserve cascade position. */

.site-bottom-cta p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Component rules: .site-bottom-cta>.container — preserve cascade position. */

.site-bottom-cta>.container {
  position: relative;
  z-index: 1;
}

/* Component rules: .site-bottom-cta:after — preserve cascade position. */

.site-bottom-cta:after {
  pointer-events: none;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .site-bottom-cta {
    padding: 40px 0 64px;
  }
}

/* Dedicated FAQ page: five questions per column below the heading. */

/* Component rules: .content-template .faq-page-questions — preserve cascade position. */

.content-template .faq-page-questions {
  display: block;
}

/* Component rules: .faq-page-columns — preserve cascade position. */

.faq-page-columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

/* Component rules: .faq-page-columns>.faq-list — preserve cascade position. */

.faq-page-columns>.faq-list {
  min-width: 0;
  margin: 0;
}

/* Component rules: .faq-page-questions>.content-actions — preserve cascade position. */

.faq-page-questions>.content-actions {
  margin-top: 28px;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:767px) {
  .faq-page-columns {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    margin-top: 24px;
  }

  .faq-page-columns>.faq-list+.faq-list {
    border-top: 0;
  }
}

/* Full-width summary on location detail pages. */

/* Component rules: .content-template[data-page="location"] .section-summary — preserve cascade position. */

.content-template[data-page="location"] .section-summary {
  width: 100%;
  max-width: none;
}

/* Homepage enquiry section, reusing the contact form controls. */

/* Component rules: .home-contact — preserve cascade position. */

.home-contact {
  padding-block: 64px;
  scroll-margin-top: 24px;
}

/* Component rules: .home-contact-grid — preserve cascade position. */

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,3fr);
  gap: 48px;
  align-items: start;
}

/* Component rules: .home-contact-grid>* — preserve cascade position. */

.home-contact-grid>* {
  min-width: 0;
}

/* Component rules: .home-contact-copy — preserve cascade position. */

.home-contact-copy {
  padding-top: 12px;
}

/* Component rules: .home-contact-intro — preserve cascade position. */

.home-contact-intro {
  margin-top: 20px;
  color: var(--muted);
  max-width: 46ch;
}

/* Component rules: .home-contact-details — preserve cascade position. */

.home-contact-details {
  margin-top: 28px;
}

/* Component rules: .home-contact-phone — preserve cascade position. */

.home-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--teal);
  font-size: clamp(20px,2vw,26px);
}

/* Component rules: .home-contact-phone svg — preserve cascade position. */

.home-contact-phone svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Component rules: .home-contact-details>p — preserve cascade position. */

.home-contact-details>p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Component rules: .home-contact .form-card — preserve cascade position. */

.home-contact .form-card {
  padding: 32px;
  border-radius: 24px;
}

/* Component rules: .home-contact .form-card>h3 — preserve cascade position. */

.home-contact .form-card>h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 26px;
}

/* Component rules: .home-contact .contact-form>.button — preserve cascade position. */

.home-contact .contact-form>.button {
  width: 100%;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:899px) {
  .home-contact-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
  }

  .home-contact-copy {
    padding-top: 0;
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:599px) {
  .home-contact {
    padding-block: 40px;
  }

  .home-contact .form-card {
    padding: 24px;
  }

  .home-contact .contact-form {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Useful enquiry guidance balances the height of the contact form. */

/* Component rules: .home-contact-grid — preserve cascade position. */

.home-contact-grid {
  align-items: stretch;
}

/* Component rules: .home-contact-copy — preserve cascade position. */

.home-contact-copy {
  display: flex;
  flex-direction: column;
}

/* Component rules: .home-enquiry-guide — preserve cascade position. */

.home-enquiry-guide {
  margin-top: auto;
  padding-top: 32px;
}

/* Component rules: .home-enquiry-guide>h3 — preserve cascade position. */

.home-enquiry-guide>h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
}

/* Component rules: .home-enquiry-guide ol — preserve cascade position. */

.home-enquiry-guide ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

/* Component rules: .home-enquiry-guide li — preserve cascade position. */

.home-enquiry-guide li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

/* Component rules: .home-guide-number — preserve cascade position. */

.home-guide-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

/* Component rules: .home-enquiry-guide li>div — preserve cascade position. */

.home-enquiry-guide li>div {
  min-width: 0;
}

/* Component rules: .home-enquiry-guide h4 — preserve cascade position. */

.home-enquiry-guide h4 {
  margin: 0;
  font: 600 14px/1.5 var(--sans);
  color: var(--ink);
}

/* Component rules: .home-enquiry-guide p — preserve cascade position. */

.home-enquiry-guide p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width:899px) {
  .home-enquiry-guide {
    margin-top: 0;
    padding-top: 28px;
  }
}

/* Excel content map: long anchors and compact local navigation. */

/* Component rules: .content-template .intro-text, .content-template .card-copy, .services-dropdown — preserve cascade position. */

.content-template .intro-text, .content-template .card-copy, .services-dropdown {
  min-width: 0;
}

/* Component rules: .content-template .intro-text h1 — preserve cascade position. */

.content-template .intro-text h1 {
  overflow-wrap: anywhere;
}

/* Component rules: .hub-grid .card-copy h3 a, .home-services-grid h3 a — preserve cascade position. */

.hub-grid .card-copy h3 a, .home-services-grid h3 a {
  color: inherit;
  text-decoration: none;
}

/* Component rules: .hub-grid .card-copy h3 a:hover, .home-services-grid h3 a:hover — preserve cascade position. */

.hub-grid .card-copy h3 a:hover, .home-services-grid h3 a:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* Component rules: .home-hero .hero-subtitle — preserve cascade position. */

.home-hero .hero-subtitle {
  margin: 16px 0;
  font-family: inherit;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}

/* Component rules: .home-hero-copy h1 — preserve cascade position. */

.home-hero-copy h1 {
  font-size: clamp(40px, 4vw, 60px);
}

/* Component rules: .home-service-areas .area-link-list — preserve cascade position. */

.home-service-areas .area-link-list {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px 24px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

/* Component rules: .home-service-areas .area-link-list a — preserve cascade position. */

.home-service-areas .area-link-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-area-link-border);
}

/* Component rules: .review-placeholder-note — preserve cascade position. */

.review-placeholder-note {
  margin: 0 0 24px;
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width: 999px) {
  .home-service-areas .area-link-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Responsive/conditional rules: preserve this condition, order and specificity. */

@media (max-width: 359px) {
  .home-service-areas .area-link-list {
    grid-template-columns: 1fr;
  }
}

/* Visual sync from the maintained HVAC design.
   Keep existing placeholder instructions and palette tokens above unchanged.
   CTA specificity overrides the generic paragraph width restriction. */
.cta.site-bottom-cta p:not(.eyebrow),
.content-template .cta.site-bottom-cta p:not(.eyebrow) {
  width: 100%;
  max-width: none;
  line-height: 1.8;
}

/* Footer SVG logos: filled brand marks must not inherit generic icon strokes.
   currentColor keeps the existing footer palette; no external icon font needed. */
.footer-social .social-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
  shape-rendering: geometricPrecision;
}
.footer-social .social-icon-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

/* Hero HVAC symbols: thermometer, air filter and energy-efficiency leaf.
   Existing text placeholders remain adjacent; SVGs are decorative.
   Palette: teal = icon outline, soft = badge fill, line = border/accent. */
.home-hero .benefit-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-hero .benefit-icon-bg {
  fill: var(--soft);
  stroke: var(--line);
  stroke-width: 1;
}
.home-hero .benefit-accent {
  fill: var(--line);
}

/* Compact badges below 600px; existing benefit grid breakpoints are retained. */
@media (max-width: 599px) {
  .home-hero .benefit-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

/* Retain card layout when a service image is populated as a link. */
.home-services-grid .home-service-photo-link {
  display: block;
}

.service-map > img.service-map__photo, .inner-service-map > img.service-map__photo { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none; }

/* Keep shared labels and text links readable against light surfaces. */
p.eyebrow { color: var(--ink); }
a.text-link { color: var(--ink); }
p.review-placeholder-note { color: var(--ink); }

@media (forced-colors: active) {
  .button,
  .hero-enquiry-call {
    border-color: ButtonText;
  }

  .contact-form :is(input, textarea) {
    border-color: CanvasText;
  }
}

/* Shared navigation, buttons and enquiry surfaces. */
.site-header {
  --color-focus-ring: var(--accent);
  color: var(--primary);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--secondary);
  box-shadow: 0 0 0 100vmax var(--secondary);
  clip-path: inset(0 -100vmax);
  pointer-events: none;
}

.site-header :is(.main-nav, .services-dropdown) {
  background: var(--secondary);
}

.site-header :is(.main-nav > a:hover, [aria-current="page"], .services-menu summary:hover, .header-phone svg, .header-phone__copy small) {
  color: var(--accent);
}

.site-header .menu-toggle span { background: var(--primary); }

:is(.hero-enquiry-call, .button) {
  --home-cta-start: var(--accent);
  --home-cta-mid: color-mix(in oklab, var(--accent) 84%, var(--primary));
  --home-cta-end: var(--home-band-dark);
  --home-cta-fg: var(--color-text-on-dark);
  --home-cta-sheen: #eafff215;
  --home-cta-rim: color-mix(in oklab, var(--home-light) 56%, transparent);
  --home-cta-floor-light: transparent;
  --home-cta-ledge: color-mix(in oklab, var(--primary) 84%, black);
  --home-cta-contact: var(--home-shadow-contact);
  --home-cta-lift: var(--home-shadow-lift);
  position: relative;
  isolation: isolate;
  color: var(--home-cta-fg);
  background: var(--home-cta-start);
  background: var(--home-cta-finish, linear-gradient(125deg var(--home-gradient-space),
    var(--home-cta-start), var(--home-cta-mid) 14%, var(--home-cta-start) 30%,
    var(--home-cta-mid) 54%, var(--home-cta-end)));
  box-shadow: inset 1px 2px 1px var(--home-cta-rim), inset 0 -1px 0 var(--home-cta-floor-light),
    inset -1px -3px 1px var(--home-cta-ledge),
    1px 3px 4px var(--home-cta-contact), 4px 8px 13px var(--home-cta-lift);
  transition: box-shadow .2s ease;
}

.site-header .header-cta {
  border-color: color-mix(in oklab, var(--home-light) 54%, var(--primary));
}

/* Metallic finish for the enquiry buttons and closing CTA. */
:is(
  #hero-estimate .hero-enquiry-contact-actions .button,
  #hero-estimate > .button,
  #hero-estimate .hero-enquiry-actions .button,
  .contact-form > .button
) {
  --home-cta-start: var(--palette-metal-face);
  --home-cta-fg: var(--primary);
  --home-cta-finish:
    radial-gradient(ellipse 41% 13% at 54% 100%, var(--palette-metal-bright), transparent 76%),
    radial-gradient(ellipse 32% 13% at 18% 0%, var(--palette-metal-light), transparent 78%),
    linear-gradient(125deg var(--home-gradient-space),
      var(--palette-metal-face), var(--palette-metal-light) 12%, var(--palette-metal-face) 20%,
      var(--palette-metal-recess) 32%, var(--palette-metal-face) 43%, var(--palette-metal-bright) 54%,
      var(--palette-metal-light) 65%, var(--palette-metal-recess) 83%, var(--palette-metal-end));
  --home-cta-sheen: #ffffff66;
  --home-cta-rim: var(--home-lit-edge);
  --home-cta-floor-light: color-mix(in oklab, var(--home-light) 55%, transparent);
  --home-cta-ledge: color-mix(in oklab, var(--accent) 43%, transparent);
  --home-cta-contact: var(--home-shadow-contact);
  --home-cta-lift: var(--home-shadow-lift);
  border-color: var(--color-border-tone-02);
}

.button-white,
#hero-estimate .button.button-white,
.content-template .article-body a.button-white {
  background: var(--color-text-on-dark);
  background-image: none;
  color: var(--teal);
  --home-cta-fg: var(--teal);
  --home-cta-finish: none;
}

.button-white:hover,
#hero-estimate .button.button-white:hover,
.content-template .article-body a.button-white:hover {
  background: var(--color-wave-light);
  color: var(--teal);
}

:is(.hero-enquiry-call, .button)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 40%, var(--home-cta-sheen) 50%, transparent 61%);
  background-size: 220% 100%;
  background-position: 100% 0;
  pointer-events: none;
}

#hero-estimate .button {
  gap: 8px;
}

#hero-estimate .button:not(:has(svg))::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
  transition: translate .2s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  :is(.hero-enquiry-call, .button):hover {
    box-shadow: inset 1px 2px 1px var(--home-cta-rim), inset 0 -1px 0 var(--home-cta-floor-light),
      inset -1px -3px 1px var(--home-cta-ledge),
      1px 3px 5px var(--home-cta-contact), 5px 11px 17px var(--home-cta-lift);
  }

  :is(.hero-enquiry-call, .button):hover::before {
    animation: home-cta-glint 350ms ease-out both;
  }

  #hero-estimate .button:hover:not(:has(svg))::after {
    translate: 3px;
  }
}

:is(.hero-enquiry-call, .button):active {
  box-shadow: inset 1px 2px 3px var(--home-cta-ledge), inset 0 -1px 1px var(--home-cta-rim),
    0 1px 2px var(--home-cta-contact);
}

@keyframes home-cta-glint {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.hero-enquiry-call, .button),
  :is(.hero-enquiry-call, .button) svg,
  #hero-estimate .button:not(:has(svg))::after {
    transition: none;
  }

  :is(.hero-enquiry-call, .button):hover::before {
    animation: none;
  }

  :is(.hero-enquiry-call, .button):hover svg {
    transform: none;
  }

  #hero-estimate .button:hover:not(:has(svg))::after {
    translate: none;
  }
}

.form-card {
  background:
    radial-gradient(ellipse at 12% 0%, #ffffffc2, transparent 68%),
    linear-gradient(148deg var(--home-gradient-space), var(--color-surface-form-warm), var(--home-pearl-shade));
  box-shadow:
    inset 1px 2px 1px var(--home-lit-edge), inset -1px -2px 2px var(--home-raised-ledge),
    2px 4px 8px var(--home-shadow-lift), 7px 18px 28px var(--home-shadow-lift);
}

.contact-form :is(input, textarea):not(:focus),
.hero-enquiry :is(input, textarea):not(:focus) {
  box-shadow: inset 1px 2px 4px var(--color-shadow-tone-01), 0 1px 0 #ffffffb8;
}

.site-bottom-cta {
  background: var(--primary);
  background:
    radial-gradient(ellipse at 32% 17%, var(--palette-hero-halo), transparent 65%),
    linear-gradient(128deg var(--home-gradient-space), var(--home-band-dark), var(--primary) 70%);
  box-shadow: inset 0 2px 0 var(--home-raised-ledge), inset 0 8px 18px var(--home-shadow);
}

.site-bottom-cta::after {
  box-shadow: 0 -2px 0 var(--home-light), 0 -8px 18px var(--home-shadow);
}

/* Carry the Home finish into the existing inner-page layouts. */
.content-template main {
  background: radial-gradient(ellipse 1000px 700px at 17% 0%, var(--color-surface-card-warm), transparent);
}

.content-template .soft {
  background: var(--secondary);
  background: linear-gradient(155deg var(--home-gradient-space), var(--color-surface-card-warm), var(--home-pearl-shade));
  box-shadow: inset 0 1px 0 var(--home-lit-edge);
}

.content-template :is(.hub-grid > .link-card, .text-card-grid > .card-copy, .review-card, .steps-grid > li, .faq-item) {
  background: var(--color-surface-card-warm);
  background: var(--home-raised-surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--home-raised-shadow);
}

.content-template .hub-grid > .link-card:has(.content-photo) {
  padding: clamp(8px, 1vw, 13px);
  border-radius: 46% 21% 23px 23px / 32% 15% 23px 23px;
}

.content-template .hub-grid .link-card .content-photo {
  border: 1px solid var(--home-lit-edge);
  border-radius: 46% 18% 18% 2% / 48% 18% 20% 3%;
  box-shadow: 1px 3px 6px var(--home-shadow-lift), 3px 9px 14px var(--home-shadow-lift);
}

.content-template .hub-grid .link-card .card-copy {
  padding: 15px 6px 9px;
}

.content-template :is(.intro-grid > .content-photo, .intro-media > .content-photo, .gallery-photo) {
  box-shadow: var(--home-photo-shadow);
}

.content-template .gallery-photo img {
  border-radius: 0;
}

.content-template .faq-list { border-top: 0; }

.content-template .faq-item {
  margin-block-end: 12px;
}

.content-template .faq-item summary {
  padding-inline: 16px;
  border-radius: inherit;
}

.content-template .faq-item[open] {
  border-color: var(--accent);
  background: var(--color-surface-card-warm);
}

.content-template .steps-grid .step-number {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border-tone-02);
  border-radius: 11px;
  color: var(--primary);
  background: var(--home-raised-surface);
  box-shadow: inset 1px 1px 1px var(--home-lit-edge), 1px 3px 5px var(--home-shadow-lift);
  font: 600 19px / 1 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
}

.content-template main img.content-photo[data-missing-photo] {
  padding: clamp(38px, 6vw, 92px) 12px 12px;
  padding-inline-start: min(25%, 180px);
  background: var(--color-surface-alternate);
  color: var(--color-text-muted);
  font: 13px / 1.4 var(--sans);
  overflow-wrap: anywhere;
}

/* Clip the empty frame itself so the browser's fallback text stays rectangular. */
.content-template .intro-grid img.content-photo[data-missing-photo] {
  border-radius: 0;
  clip-path: inset(0 round 38% 10% 22% 3% / 50% 14% 26% 4%);
}

.content-template .hub-grid img.content-photo[data-missing-photo] {
  border-radius: 0;
  clip-path: inset(0 round 46% 18% 18% 2% / 48% 18% 20% 3%);
}

.service-map > img.service-map__photo, .inner-service-map > img.service-map__photo { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none; }
