:root {
  color-scheme: light;
  --bg: #eef4f8;
  --ink: #0a1520;
  --soft: #344554;
  --muted: #647482;
  --panel: #f8fbfd;
  --panel-2: #dfeaf1;
  --navy: #cddde8;
  --line: rgba(8, 24, 36, 0.16);
  --chrome: rgba(238, 244, 248, 0.94);
  --chrome-solid: #e2edf4;
  --hero-shadow: rgba(238, 244, 248, 0.92);
  --hero-mid: rgba(224, 234, 241, 0.72);
  --hero-clear: rgba(238, 244, 248, 0.12);
  --card-sheen: rgba(255, 255, 255, 0.54);
  --shadow: rgba(8, 24, 36, 0.18);
  --section-gap: clamp(76px, 9vw, 118px);
  --field-bg: #f8fbfd;
  --field-border: rgba(8, 24, 36, 0.34);
  --field-focus-shadow: rgba(18, 207, 229, 0.18);
  --cyan: #12cfe5;
  --cyan-text: #007488;
  --blue: #2878ff;
  --red: #e93143;
  --gold: #f0c15a;
  --gold-text: #7a5600;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050608;
  --ink: #f8fbfc;
  --soft: #c3ccd2;
  --muted: #88949c;
  --panel: #101418;
  --panel-2: #151b20;
  --navy: #071624;
  --line: rgba(255, 255, 255, 0.15);
  --chrome: rgba(5, 6, 8, 0.88);
  --chrome-solid: #0d1115;
  --hero-shadow: rgba(5, 6, 8, 0.95);
  --hero-mid: rgba(5, 6, 8, 0.78);
  --hero-clear: rgba(5, 6, 8, 0.14);
  --card-sheen: rgba(255, 255, 255, 0.05);
  --shadow: rgba(0, 0, 0, 0.38);
  --field-bg: rgba(255, 255, 255, 0.055);
  --field-border: rgba(255, 255, 255, 0.18);
  --field-focus-shadow: rgba(18, 207, 229, 0.24);
  --cyan-text: #12cfe5;
  --gold-text: #f0c15a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--navy) 0, var(--bg) 520px),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

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

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

.top-strip {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 38px);
  height: 38px;
  min-height: 38px;
  padding: 0 18px;
  line-height: 38px;
  background: var(--chrome-solid);
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  overflow-x: auto;
  white-space: nowrap;
}

.top-strip a:first-child {
  color: var(--cyan-text);
}

.site-header {
  position: fixed;
  inset: 38px 0 auto;
  z-index: 25;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 17px clamp(18px, 5vw, 66px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  background: var(--chrome);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(124px, 12vw, 168px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-item {
  position: relative;
  padding-block: 14px;
  margin-block: -14px;
}

.submenu-toggle {
  display: none;
}

.nav-links > a::after,
.nav-item > a::after {
  position: absolute;
  inset: auto 0 -8px;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-item > a:hover::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 35;
  display: grid;
  min-width: 280px;
  padding: 15px 9px 9px;
  border: 1px solid var(--line);
  background: var(--chrome);
  box-shadow: 0 22px 50px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
  content: "";
}

.submenu a {
  padding: 12px 13px;
  color: var(--soft);
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus {
  background: rgba(18, 207, 229, 0.13);
  color: var(--ink);
}

@media (min-width: 981px) {
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

.button,
.header-cta,
.review-controls button,
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 16px;
}

.mobile-menu-toggle span,
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-toggle span::before {
  top: -7px;
}

.mobile-menu-toggle span::after {
  top: 7px;
}

body.mobile-nav-open .mobile-menu-toggle span {
  background: transparent;
}

body.mobile-nav-open .mobile-menu-toggle span::before {
  transform: rotate(45deg) translate(3px, 3px);
}

body.mobile-nav-open .mobile-menu-toggle span::after {
  transform: rotate(-45deg) translate(3px, -3px);
}

.button.primary,
.header-cta {
  border-color: transparent;
  background: var(--cyan);
  color: #031014;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, var(--hero-shadow), var(--hero-mid) 38%, var(--hero-clear) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), var(--bg) 95%);
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 176px 0 84px;
  align-self: end;
}

.kicker,
.eyebrow,
.package-label {
  margin: 0 0 13px;
  color: var(--cyan-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
}

.hero h2 {
  max-width: 660px;
  margin-top: 12px;
  font-size: clamp(30px, 3.9vw, 54px);
}

.hero-line {
  margin: 18px 0 0;
  color: var(--gold-text);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 34px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  box-shadow: 0 24px 60px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

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

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-proof span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-cards {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  width: min(1480px, calc(100% - 36px));
  margin: -34px auto 0;
  border: 0;
  background: transparent;
}

.services-page { padding-bottom: 64px; }
.services-page .services-intro { max-width: 1180px; padding-bottom: 40px; }
.services-page .services-intro h1 { font-size: 38px; line-height: 1.15; }
.services-page .service-cards { width: min(1180px, calc(100% - 36px)); margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-page .service-cards article:nth-child(n) { grid-column: auto; }
@media (max-width: 980px) {
  .services-page .service-cards { grid-template-columns: minmax(0, 1fr); }
}

.service-cards article {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  padding: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--card-sheen), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: 0 18px 48px var(--shadow);
}

.service-cards article:nth-child(3),
.service-cards article:last-child {
  border-right: 1px solid var(--line);
}

.service-cards article:nth-child(n + 4) {
  border-bottom: 1px solid var(--line);
}

.service-cards article:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #316d9e;
}

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

.service-cards p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.service-cards a {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--cyan-text);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-cards a span {
  margin-left: 6px;
}

.service-cards a:hover {
  text-decoration: underline;
}

.story-section,
.coating-section,
.work-section,
.reviews-section,
.booking-section,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  padding: var(--section-gap) 0;
}

.story-media {
  position: relative;
}

.story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
}

.stat-card {
  position: absolute;
  right: -24px;
  bottom: 36px;
  width: min(240px, 70%);
  padding: 24px;
  background: var(--cyan);
  color: #031014;
}

.stat-card strong {
  display: block;
  font-family: var(--heading);
  font-size: 44px;
  line-height: 0.9;
  text-transform: uppercase;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-copy h2,
.section-heading h2,
.booking-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
}

.story-copy p,
.section-heading p,
.booking-section p {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
}

.story-copy ul,
.package-detail ul {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.story-copy li,
.package-detail li {
  position: relative;
  padding-left: 26px;
  color: var(--soft);
}

.story-copy li::before,
.package-detail li::before {
  position: absolute;
  left: 0;
  color: var(--cyan-text);
  content: "+";
  font-weight: 900;
}

.coating-section {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel-2) 48%, transparent), transparent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 660px;
}

.package-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.package-tab {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.package-tab.active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #031014;
}

.package-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 40px;
  min-height: 310px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 10%, rgba(18, 207, 229, 0.16), transparent 28%),
    var(--panel-2);
  box-shadow: 0 18px 48px var(--shadow);
}

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

.tier-option {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.tier-option.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.tier-detail,
.package-stack {
  min-width: 0;
}

.tier-detail > strong,
.package-mini strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.03;
  text-transform: uppercase;
}

.price-line {
  margin: 12px 0 0;
  color: var(--gold-text) !important;
  font-size: 14px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.package-stack {
  display: grid;
  gap: 14px;
}

.package-mini {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  padding: 20px;
}

.package-mini ul {
  margin-top: 18px;
}

.package-detail h3 {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.05;
}

.package-detail p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.work-section {
  padding: var(--section-gap) 0 90px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.work-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.06), rgba(5, 6, 8, 0.94)),
    radial-gradient(circle at 65% 20%, rgba(18, 207, 229, 0.24), transparent 30%),
    linear-gradient(140deg, #20262b, #080b0d 62%);
  padding: 22px;
}

.work-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.06), rgba(5, 6, 8, 0.94)),
    radial-gradient(circle at 25% 16%, rgba(233, 49, 67, 0.22), transparent 32%),
    linear-gradient(140deg, #1f2327, #080b0d 62%);
}

.work-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.06), rgba(5, 6, 8, 0.94)),
    radial-gradient(circle at 58% 18%, rgba(240, 193, 90, 0.22), transparent 30%),
    linear-gradient(140deg, #20221f, #080b0d 62%);
}

.work-grid span {
  color: var(--cyan-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-grid strong {
  margin-top: 8px;
  font-family: var(--heading);
  font-size: 29px;
  line-height: 1;
  text-transform: uppercase;
}

.reviews-section {
  padding: 0 0 var(--section-gap);
}

.review-track {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 48px var(--shadow);
}

.review {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 20px;
  margin: 0;
  padding: clamp(26px, 5vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.review.active {
  opacity: 1;
  pointer-events: auto;
}

.review p {
  max-width: 920px;
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.28;
}

.review cite {
  color: var(--cyan-text);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.review-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  padding: clamp(140px, 16vw, 190px) 0 96px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 160px;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.booking-form label {
  display: block;
}

.booking-form .wide {
  grid-column: 1 / -1;
}

.booking-form .wide:has(.recaptcha-field) { min-width: 0; }
.recaptcha-field { min-width: 0; height: 78px; }
.recaptcha-field .g-recaptcha { width: 304px; height: 78px; transform-origin: top left; }

.ppf-fields {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.ppf-fields legend {
  padding: 0 0 16px;
  color: var(--ink);
  font-weight: 700;
}

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

.booking-form small {
  display: block;
  margin-top: 8px;
  color: var(--soft);
}

.form-errors {
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding: 8px 12px;
}

.form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.selector-page {
  padding: 150px 0 48px;
}

.product-selector {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
  background: #eef6f9;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--ink);
  padding: 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

input,
select {
  min-height: 48px;
}

textarea {
  resize: vertical;
}

.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;
}

select option {
  background: var(--panel);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--field-focus-shadow);
}

.booking-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr auto;
  gap: 26px;
  align-items: center;
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-family: var(--heading);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer span {
  color: var(--cyan-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  margin: 7px 0 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--soft);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--cyan-text);
  border-color: currentColor;
  background: var(--panel-2);
}

.social-link:focus-visible {
  outline: 2px solid var(--cyan-text);
  outline-offset: 3px;
}

.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--social-icon) center / contain no-repeat;
}

.social-icon-facebook { --social-icon: url('../assets/icons/facebook.svg'); }
.social-icon-instagram { --social-icon: url('../assets/icons/instagram.svg'); }
.social-icon-yelp { --social-icon: url('../assets/icons/yelp.svg'); }
.social-icon-google { --social-icon: url('../assets/icons/google.svg'); }

.theme-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--chrome);
  color: var(--ink);
  box-shadow: 0 18px 42px var(--shadow);
  backdrop-filter: blur(16px);
}

.theme-switcher button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--soft);
  padding: 0;
  cursor: pointer;
}

.theme-switcher svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-switcher button.active {
  background: var(--cyan);
  color: #031014;
}

.mobile-quote {
  position: fixed;
  right: 14px;
  bottom: 72px;
  z-index: 40;
  display: none;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--cyan);
  color: #031014;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.page-hero,
.article-page,
.blog-grid,
.areas-section,
.map-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  padding: 190px 0 90px;
}

.page-hero.text-only {
  display: block;
  max-width: 900px;
}

.page-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border: 1px solid var(--line);
}

.page-hero > img.landscape-photo {
  aspect-ratio: 3 / 2;
}

.page-hero h1,
.article-page h1,
.page-booking h1 {
  font-size: clamp(38px, 5.6vw, 72px);
}

.page-hero p,
.article-page p {
  color: var(--soft);
  font-size: 18px;
}

.service-detail {
  padding-top: 30px;
}

.service-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  padding-bottom: 70px;
}

.service-hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.02;
}

.service-hero p {
  max-width: 680px;
  font-size: clamp(16px, 1.5vw, 18px);
}

.service-hero-media {
  position: relative;
}

.page-hero .service-hero-media img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.service-mini-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 260px;
  padding: 18px;
  background: var(--cyan);
  color: #031014;
}

.service-mini-card span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-mini-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--heading);
  font-size: 31px;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 104px;
}

.service-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(24px, 4vw, 42px);
}

.service-panel-dark {
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 207, 229, 0.14), transparent 32%),
    var(--panel-2);
}

.service-panel h2 {
  font-size: clamp(32px, 3.8vw, 50px);
}

.service-panel h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.service-panel p {
  color: var(--soft);
  font-size: 17px;
}

.service-panel ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  position: relative;
  padding-left: 26px;
  color: var(--soft);
}

.service-panel li::before {
  position: absolute;
  left: 0;
  color: var(--cyan-text);
  content: "+";
  font-weight: 900;
}

.service-panel .button {
  margin-top: 28px;
}

.areas-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 34%, transparent), transparent 42%);
}

.area-grid,
.gallery-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.area-grid article,
.blog-grid article,
.gallery-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--shadow) 60%, transparent);
}

.area-grid h3,
.blog-grid h2 {
  font-size: 34px;
}

.area-grid p,
.blog-grid p {
  color: var(--muted);
}

.comparison-work {
  margin: 0;
}

.comparison-work figcaption {
  max-width: 880px;
  margin: 0 auto 12px;
}

.comparison-work h3 {
  font-size: 22px;
  line-height: 1.2;
}

.gallery-comparisons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 28px auto;
}

@media (max-width: 680px) {
  .gallery-comparisons {
    grid-template-columns: 1fr;
  }
}

.blog-cover { display:block; width:100%; height:auto; aspect-ratio:16 / 10; object-fit:cover; margin-bottom:20px; }
.article-cover { display:block; max-width:100%; width:100%; height:auto; max-height:560px; object-fit:contain; margin:28px 0; }
.article-content { overflow-wrap:anywhere; }
.legal-page { max-width: 860px; }
.legal-page h1 { font-size: 38px; line-height: 1.15; margin-bottom: 32px; }
.legal-page .article-content { line-height: 1.75; }
.legal-page .article-content h2 { font-size: 24px; }
.legal-page .article-content ul, .legal-page .article-content ol { padding-left: 24px; margin: 18px 0; }
.legal-page .article-content li { margin-bottom: 10px; color: var(--soft); }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 28px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; }
.footer-legal a { color: var(--soft); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.site-footer .footer-copyright { margin: 0; font-size: 14px; line-height: 1.6; }
.article-content img { display:block; max-width:100%; height:auto; margin:24px 0; }
.article-content h2,.article-content h3 { margin:28px 0 14px; font-size:28px; line-height:1.2; }
.article-content a { color:var(--cyan-text); text-decoration:underline; }
.article-content pre { overflow-x:auto; padding:16px; background:var(--panel-2); }
.pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px; margin:28px auto; }
.pagination a { color:var(--cyan-text); padding:12px; min-height:44px; }

.before-after {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.before-after img,
.before-layer,
.after-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.before-layer {
  clip-path: inset(0 0 0 var(--after-width, 52%));
}

.before-after img {
  object-fit: cover;
}

.after-layer {
  clip-path: inset(0 calc(100% - var(--after-width, 52%)) 0 0);
}

.before-after::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--after-width, 52%);
  width: 3px;
  background: var(--cyan);
  pointer-events: none;
}

.comparison-label {
  position: absolute;
  top: 16px;
  padding: 6px 10px;
  background: #101418;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.comparison-after {
  left: 16px;
}

.comparison-before {
  right: 16px;
}

.before-after input {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
  accent-color: var(--cyan);
  z-index: 1;
}

.gallery-grid {
  margin-top: 20px;
}

.gallery-grid article {
  padding: 0;
  overflow: hidden;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-2);
}

.gallery-grid strong {
  display: block;
  padding: 18px;
  font-family: var(--heading);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-grid a:focus-visible {
  display: block;
  outline: 3px solid var(--cyan-text);
  outline-offset: -3px;
}

.gallery-lightbox {
  width: min(1280px, calc(100vw - 32px));
  height: min(900px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  overflow: hidden;
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 56px;
  gap: 12px;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-toolbar,
.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-toolbar h2 {
  font-size: 20px;
  line-height: 1;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 0;
  gap: 12px;
  touch-action: pan-y;
}

.lightbox-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}

.lightbox-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-photo [hidden] {
  display: none;
}

.lightbox-photo p {
  margin: 0;
  text-align: center;
  color: var(--soft);
}

.lightbox-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
}

.lightbox-button:hover {
  color: var(--cyan-text);
}

.lightbox-button:focus-visible {
  outline: 2px solid var(--cyan-text);
  outline-offset: 3px;
}

.lightbox-icon {
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: var(--lightbox-icon) center / contain no-repeat;
}

.lightbox-icon-close { --lightbox-icon: url('/assets/icons/x.svg'); }
.lightbox-icon-prev { --lightbox-icon: url('/assets/icons/chevron-left.svg'); }
.lightbox-icon-next { --lightbox-icon: url('/assets/icons/chevron-right.svg'); }

.lightbox-caption {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
}

[data-lightbox-counter] {
  flex-shrink: 0;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .gallery-lightbox {
    width: calc(100vw - 16px);
    height: calc(100dvh - 24px);
    padding: 12px;
  }

  .lightbox-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .lightbox-photo {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  [data-lightbox-prev] {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  [data-lightbox-next] {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
}

.map-section {
  padding: 0 0 96px;
}

.map-section iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

.blog-grid {
  padding: 0 0 100px;
}

.article-page {
  max-width: 860px;
  padding: 190px 0 110px;
}

.article-lede {
  color: var(--cyan-text);
  font-weight: 800;
}

@media (min-width: 981px) and (max-width: 1200px) {
  .service-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-cards article:nth-child(4) {
    grid-column: span 2;
  }

  .service-cards article:last-child {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 980px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .site-header {
    background: var(--chrome-solid);
  }

  body.mobile-nav-open .theme-switcher,
  body.mobile-nav-open .mobile-quote {
    visibility: hidden;
  }

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

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 35;
    display: grid;
    grid-auto-rows: min-content;
    justify-content: stretch;
    align-items: start;
    padding: 18px;
    gap: 0;
    background: var(--chrome-solid);
    transform: translateY(-10px);
    transition: transform 180ms ease, opacity 180ms ease;
    overflow-y: auto;
    height: calc(100vh - 38px - var(--mobile-header-height, 86px));
    height: calc(100dvh - 38px - var(--mobile-header-height, 86px));
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .nav-links > a,
  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-links > a:last-child {
    border-bottom: 0;
  }

  .nav-links > a,
  .nav-item > a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links[aria-hidden="true"] {
    pointer-events: none;
  }

  body.mobile-nav-open .nav-links {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .submenu-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .submenu-toggle::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url('../assets/icons/chevron-right.svg') center / contain no-repeat;
    transform: rotate(90deg);
  }

  .submenu-toggle[aria-expanded="true"]::before {
    transform: rotate(270deg);
  }

  .submenu-toggle:focus-visible {
    outline: 2px solid var(--cyan-text);
    outline-offset: -3px;
  }

  .submenu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .submenu-toggle[aria-expanded="true"] + .submenu {
    display: grid;
  }

  .submenu::before,
  .nav-links > a::after,
  .nav-item > a::after {
    display: none;
  }

  .submenu a {
    min-height: 44px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    white-space: normal;
  }

  .story-section,
  .package-detail,
  .booking-section,
  .page-hero,
  .service-hero,
  .service-content,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .work-grid,
  .area-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-cards article,
  .service-cards article:nth-child(n + 4) {
    grid-column: span 1;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-cards article:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .service-cards article:last-child {
    grid-column: 1 / -1;
    border-right: 1px solid var(--line);
  }

  .service-cards article:last-child .service-card-image {
    max-height: 250px;
  }

  .stat-card {
    right: 18px;
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 0;
    background:
      linear-gradient(180deg, var(--navy), var(--bg) 380px),
      var(--bg);
  }

  .top-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 35;
    justify-content: flex-start;
    padding: 0 18px;
    gap: 14px;
    line-height: 38px;
  }

  .top-strip a:first-child {
    display: inline-flex;
  }

  .top-strip a:nth-of-type(2),
  .top-strip span {
    display: none;
  }

  .site-header {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    min-height: 70px;
    padding: 12px 18px;
    background: var(--chrome);
    border-bottom: 1px solid var(--line);
  }

  .header-cta,
  .mobile-quote {
    display: none;
  }

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

  .hero-content {
    padding-top: 128px;
    padding-bottom: 32px;
  }

  .brand-logo {
    width: 118px;
    max-height: 42px;
  }

  .hero {
    min-height: auto;
    background: var(--navy);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, var(--hero-mid), var(--bg)),
      linear-gradient(90deg, var(--hero-shadow), var(--hero-clear));
  }

  h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .service-cards,
  .work-grid,
  .area-grid,
  .gallery-grid,
  .blog-grid,
  .booking-form,
  .ppf-fields-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero-proof div {
    padding: 15px 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .service-cards {
    width: calc(100% - 28px);
    margin: 0 auto;
    gap: 18px;
  }

  .service-cards article,
  .service-cards article:nth-child(n + 4),
  .service-cards article:last-child {
    grid-column: auto;
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(135deg, rgba(233, 49, 67, 0.12), transparent 42%),
      var(--panel);
  }

  .story-section,
  .coating-section,
  .areas-section,
  .work-section,
  .reviews-section,
  .booking-section,
  .page-hero,
  .article-page {
    background:
      linear-gradient(180deg, var(--navy), var(--bg)),
      var(--bg);
  }

  .tier-selector {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .article-page {
    padding-top: 128px;
  }

  .selector-page {
    padding-top: 108px;
  }

  .page-hero {
    padding-bottom: 40px;
  }

  .service-hero {
    padding-bottom: 46px;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .service-mini-card {
    position: static;
    max-width: none;
  }

  .mobile-quote {
    display: inline-flex;
  }

  .service-cards article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-cards article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .service-card-copy {
    padding: 16px;
  }

  .service-cards p {
    font-size: 14px;
    line-height: 1.55;
  }

  .review-track {
    min-height: 310px;
  }
}
