:root {
  --teal: #073f49;
  --teal-deep: #032d35;
  --coral: #ff5a47;
  --coral-deep: #e84232;
  --lime: #c9db00;
  --lime-deep: #9bb100;
  --ink: #15343b;
  --muted: #52676c;
  --cream: #fffdf8;
  --paper: #ffffff;
  --line: rgba(7, 63, 73, .18);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(3, 45, 53, .18);
  font-family: "Trebuchet MS", "Gill Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: .6rem;
  left: .6rem;
  padding: .7rem 1rem;
  border-radius: .25rem;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: .85rem clamp(1rem, 5vw, 4.75rem);
  border-bottom: 1px solid rgba(7, 63, 73, .1);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: var(--teal);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50% 50% 50% 14%;
  background: var(--coral);
  color: #fff;
  font: 700 1.7rem/1 Georgia, "Times New Roman", serif;
}
.brand-copy {
  display: grid;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-copy small {
  margin-top: .28rem;
  color: var(--coral-deep);
  font-size: .62rem;
  letter-spacing: .24em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.85rem, 2.1vw, 1.8rem);
}
.desktop-nav a {
  color: var(--teal);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktop-nav a:not(.button):hover,
.desktop-nav a:not(.button):focus-visible { color: var(--coral-deep); }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3rem;
  padding: .72rem 1.2rem;
  border: 2px solid var(--coral);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover,
.button:focus-visible {
  border-color: var(--coral-deep);
  background: var(--coral-deep);
  transform: translateY(-2px);
}
.button.secondary {
  border-color: var(--teal);
  background: transparent;
  color: var(--teal);
}
.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--teal);
  color: #fff;
}
.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
}

.marketing-page { --page-background: none; }
.marketing-page.page-home { --page-background: url("images/home-hero.webp"); }
.marketing-page.page-services { --page-background: url("images/services-hero.webp"); }
.marketing-page.page-about { --page-background: url("images/about-hero.webp"); }
.marketing-page.page-contact { --page-background: url("images/contact-hero.webp"); }

.marketing-page main {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(2rem, 6vw, 5.5rem);
  background-color: #edf3ec;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.14) 0, rgba(255,255,255,.35) 28rem, rgba(255,253,248,.48) 100%),
    var(--page-background);
  background-position: center top, center top;
  background-size: 100% 100%, max(100vw, 97rem) auto;
  background-repeat: no-repeat, repeat-y;
  background-attachment: scroll, scroll;
}

.hero {
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 2.2rem));
  min-height: clamp(41rem, 80vh, 55rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
  background: transparent;
}
.hero.compact { min-height: clamp(37rem, 70vh, 48rem); }
.hero-copy {
  width: min(47rem, 100%);
  padding: clamp(1.65rem, 4.5vw, 3.4rem);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 2.2rem .45rem 2.2rem .45rem;
  background: rgba(255, 253, 248, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px) saturate(1.08);
}
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--coral-deep);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1,
.utility-hero h1 {
  max-width: 12ch;
  margin: .15rem 0 1.15rem;
  color: var(--teal);
  font: 700 clamp(3.15rem, 7.5vw, 7rem)/.91 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.hero.compact h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
.accent-line { color: var(--coral); }
.lede {
  max-width: 62ch;
  margin: 0 0 1.7rem;
  color: #29474e;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.surface-panel {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: clamp(1.2rem, 3.5vw, 3rem) auto 0;
  padding: clamp(2.4rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4.6rem);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 2.3rem .5rem 2.3rem .5rem;
  background: rgba(255,253,248,.72);
  box-shadow: 0 20px 60px rgba(3,45,53,.16);
  backdrop-filter: blur(8px) saturate(1.08);
  font-family: "Trebuchet MS", "Gill Sans", Arial, sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.surface-panel h2,
.surface-panel h3 {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.025em;
}
.surface-panel h2 {
  max-width: 18ch;
  margin: .1rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}
.surface-panel h3 {
  margin: .15rem 0 .65rem;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.12;
}
.surface-panel p { max-width: 70ch; }
.intro-panel { text-align: center; }
.intro-panel h2,
.intro-panel p { margin-left: auto; margin-right: auto; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.split.reverse figure { order: 2; }
figure { margin: 0; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.8rem .35rem 1.8rem .35rem;
  box-shadow: var(--shadow);
}
.photo-frame figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .86rem;
}
.check-list {
  display: grid;
  gap: .7rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--lime-deep);
  content: "✓";
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(7,63,73,.14);
  border-radius: 1.4rem .3rem 1.4rem .3rem;
  background: rgba(255,255,255,.64);
}
.card:nth-child(2n) { background: rgba(231,239,178,.54); }
.card p { margin-bottom: 0; }
.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}
.card:nth-child(2n) .card-icon { background: var(--teal); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
  counter-reset: process;
}
.step {
  counter-increment: process;
  padding: 1.25rem;
  border-top: 4px solid var(--lime);
  background: rgba(255,255,255,.52);
}
.step::before {
  display: block;
  margin-bottom: .7rem;
  color: var(--coral-deep);
  content: "0" counter(process);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.step h3 { font-size: 1.35rem; }
.step p { margin-bottom: 0; font-size: .92rem; }

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(4, 57, 66, .92);
  color: #fff;
}
.quote-band h2,
.quote-band p { color: #fff; }
.quote-band p { margin-bottom: 0; }

.faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  color: var(--teal);
  font-weight: 900;
  cursor: pointer;
}
.faq details p { margin-bottom: .25rem; }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.form-layout > *,
.split > *,
.public-form,
.field {
  min-width: 0;
}
.public-form {
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 1px solid rgba(7,63,73,.17);
  border-radius: 1.6rem .35rem 1.6rem .35rem;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .3rem;
  color: var(--teal);
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: .78rem .85rem;
  border: 1px solid #9dafb2;
  border-radius: .4rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral);
  outline: 3px solid rgba(255,90,71,.2);
}
.field small,
.form-note {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}
.form-status {
  display: none;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid #8aa75b;
  background: #f1f7df;
}
.form-status[data-visible="true"] { display: block; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  width: 100%;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4.75rem);
  background: var(--teal-deep);
  color: #fff;
}
.site-footer h2 {
  margin: 0 0 .8rem;
  color: var(--lime);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer a { display: block; margin: .28rem 0; }
.footer-brand {
  font: 700 1.65rem/1.15 Georgia, "Times New Roman", serif;
  text-decoration: none;
}
.site-footer p { max-width: 44ch; }
.copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .84rem;
}

.utility-page { background: #f4f7ef; }
.utility-main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}
.utility-hero {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 4px solid var(--lime);
}
.utility-hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.policy-panel {
  padding: clamp(1.4rem, 5vw, 3.2rem);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(3,45,53,.08);
}
.policy-panel h2 {
  margin-top: 2rem;
  color: var(--teal);
  font: 700 1.8rem/1.15 Georgia, "Times New Roman", serif;
}
.last-updated { color: var(--muted); font-weight: 700; }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .step:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    padding: .55rem .75rem;
    border: 2px solid var(--teal);
    border-radius: .35rem;
    color: var(--teal);
    font-weight: 900;
    list-style: none;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + .55rem);
    right: 0;
    display: grid;
    width: min(18rem, calc(100vw - 2rem));
    padding: .65rem;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .mobile-menu nav a {
    padding: .65rem;
    color: var(--teal);
    font-weight: 900;
    text-decoration: none;
  }
  .marketing-page main { background-size: 100% 100%, auto 52rem; }
  .hero,
  .hero.compact {
    width: min(var(--max), calc(100% - 1.5rem));
    min-height: 40rem;
    padding: 3.5rem 0;
  }
  .split,
  .form-layout { grid-template-columns: 1fr; }
  .split.reverse figure { order: 0; }
  .quote-band { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child,
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header { padding: .75rem 1rem; }
  .brand-copy { font-size: .88rem; }
  .brand-mark { width: 2.45rem; height: 2.45rem; }
  .marketing-page main {
    padding-bottom: 1rem;
    background-size: 100% 100%, auto 44rem;
  }
  .hero,
  .hero.compact {
    width: calc(100% - 1rem);
    min-height: 39rem;
    padding: 2.5rem 0;
  }
  .hero-copy { padding: 1.35rem; border-radius: 1.5rem .35rem 1.5rem .35rem; }
  .hero h1,
  .hero.compact h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
    overflow-wrap: anywhere;
  }
  .surface-panel {
    width: calc(100% - 1rem);
    margin-top: .9rem;
    padding: 2.6rem 1.15rem;
    border-radius: 1.5rem .35rem 1.5rem .35rem;
  }
  .button-row { width: 100%; }
  .button-row .button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:last-child { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; padding: 3rem 1rem; }
  .site-footer > div:first-child,
  .copyright { grid-column: auto; }
}

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

@media print {
  .site-header, .site-footer, .button-row { display: none !important; }
  body, .marketing-page main { background: #fff !important; color: #000; }
  .surface-panel, .policy-panel { width: 100%; box-shadow: none; }
}
