/* ==========================================================================
   Unique Baths — site styles
   ========================================================================== */

:root {
  --ink: #0a0c10;
  --ink-2: #050608;
  --char: #12161d;
  --char-2: #1a1f28;
  --blue: #0a6db3;
  --blue-2: #1584cf;
  --accent: #2a9df0;          /* logo blue: accents on dark, lines, borders */
  --accent-2: #1584cf;        /* icons on light backgrounds */
  --accent-3: #0a68a8;        /* accent text on light backgrounds */
  --accent-soft: #e7f3fc;
  --button: #0a74bd;          /* primary buttons (white text, AA contrast) */
  --button-hover: #0b86d9;
  --silver: #c9ced5;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dde2 45%, #9aa2ac 100%);
  --paper: #ffffff;
  --stone: #f3f5f8;
  --stone-2: #e8ecf1;
  --line: #dfe4ea;
  --line-2: #cdd4dc;
  --text: #14181f;
  --muted: #566170;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.66);
  --line-dark: rgba(255, 255, 255, 0.11);
  --danger: #b42318;
  --success: #1f7a4d;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(5, 6, 8, 0.06), 0 2px 8px rgba(5, 6, 8, 0.05);
  --shadow: 0 1px 2px rgba(5, 6, 8, 0.06), 0 12px 32px rgba(5, 6, 8, 0.1);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--char); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 600; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.25; }
::selection { background: var(--button); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--button); color: #fff; padding: 10px 16px; font-weight: 600; border-radius: var(--radius); transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-3);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent); }
.eyebrow--center { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.mt-sm { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.95rem 1.55rem; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}
.btn .icon { width: 1.05rem; height: 1.05rem; transition: transform 0.2s var(--ease); }
.btn:hover .icon[aria-hidden]:last-child { transform: translateX(2px); }
.btn--primary { background: var(--button); color: #fff; }
.btn--primary:hover { background: var(--button-hover); color: #fff; box-shadow: 0 8px 24px rgba(42, 157, 240, 0.32); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--char); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.75rem; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px;
}
.link-arrow .icon { width: 1rem; height: 1rem; color: var(--accent-2); transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow, .link-arrow--light { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-2); color: var(--on-dark-muted); font-size: 0.8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: 10px; margin: 0; }
.topbar__note strong { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.74rem; }
.topbar__note .icon { color: var(--accent); width: 1rem; height: 1rem; }
.topbar__sep { width: 1px; height: 14px; background: var(--line-dark); }
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); text-decoration: none; }
.topbar__contact a:hover { color: #fff; }
.topbar__contact .icon { width: 0.95rem; height: 0.95rem; color: var(--accent); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 8, 0.97);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.25s, background-color 0.25s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(5, 6, 8, 0.88); backdrop-filter: saturate(140%) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; color: var(--on-dark); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }
.nav__caret { width: 0.9rem; height: 0.9rem; opacity: 0.7; transition: transform 0.2s; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 6px; text-decoration: none; color: var(--ink); line-height: 1.35; }
.nav__menu a span { display: block; font-weight: 600; font-size: 0.92rem; }
.nav__menu a small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.nav__menu a:hover { background: var(--stone); }
.has-menu:hover > .nav__menu, .has-menu:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-menu:hover .nav__caret { transform: rotate(180deg); }
.nav__mobile-contact { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .nav__link { padding: 10px 9px; font-size: 0.86rem; }
  .nav { gap: 16px; }
}
@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the fixed mobile menu position relative to the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .brand img { height: 40px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px; background: transparent;
    border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer;
  }
  .menu-toggle__bar { display: block; height: 1.5px; background: #fff; transition: transform 0.25s, opacity 0.2s; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(4) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--nav-top, 112px) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; background: var(--ink); overflow-y: auto;
    transform: translateX(100%); transition: transform 0.3s var(--ease); visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-dark); }
  .nav__link { padding: 16px 0; font-size: 1.05rem; width: 100%; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--accent); }
  .nav__caret { display: none; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; padding: 0 0 12px 12px; min-width: 0; border-left: 1px solid var(--line-dark);
    margin-bottom: 12px;
  }
  .nav__menu::before { display: none; }
  .nav__menu a { color: var(--on-dark); padding: 8px 12px; }
  .nav__menu a small { color: var(--on-dark-muted); }
  .nav__menu a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav__mobile-contact { display: grid; gap: 14px; padding: 24px 0; }
  .nav__mobile-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
  .nav__mobile-contact .icon { color: var(--accent); }
  .nav__cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .topbar__contact a[href^="mailto"], .topbar__sep, .topbar__area { display: none; }
}
@media (max-width: 420px) {
  .topbar__contact { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--deep { background: linear-gradient(160deg, var(--char) 0%, var(--ink) 100%); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--deep h2, .section--deep h3 { color: #fff; }
.section--dark .lead, .section--deep .lead, .section--dark .muted, .section--deep .muted { color: var(--on-dark-muted); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; }
.section-head--split .lead { margin-bottom: 0.4em; }
.section-head h2 { margin-bottom: 0.4em; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
.split--top { align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .sticky-col { position: static; } }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.split__content > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--frame::before { inset: 14px -14px -14px 14px; }
}

/* Media stack: large image with an overlapping inset */
.media-stack { position: relative; padding: 0 0 56px 0; }
.media-stack > img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-stack__inset { position: absolute; right: -24px; bottom: 0; width: 58%; margin: 0; padding: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.media-stack__inset img { width: 100%; border-radius: 2px; }
.media-stack__inset figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 6px 4px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.media-stack__inset figcaption .icon { color: var(--accent-2); width: 1rem; height: 1rem; }
@media (max-width: 900px) { .media-stack__inset { right: 12px; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(21, 132, 207, 0.45), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(42, 157, 240, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--char) 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: var(--on-dark-muted); max-width: 580px; margin-bottom: 2em; }
.appt-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 16px 8px 10px; border: 1px solid rgba(42, 157, 240, 0.45); border-radius: 999px;
  background: rgba(42, 157, 240, 0.08); color: #fff; font-size: 0.8rem; letter-spacing: 0.04em;
}
.appt-badge__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--button); color: #fff; }
.appt-badge__icon .icon { width: 0.9rem; height: 0.9rem; }
.appt-badge strong { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; }
@media (max-width: 480px) { .appt-badge__extra { display: none; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; color: var(--on-dark-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--accent); width: 1rem; height: 1rem; }

.hero__media { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.hero__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--1 { grid-row: span 2; }
.hero__img--2, .hero__img--3 { aspect-ratio: 1 / 1.08; }
.hero__img--2 { margin-top: 40px; }
.hero__img--3 { margin-bottom: -40px; }
.hero__card {
  position: absolute; left: -28px; bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 290px; font-size: 0.85rem; line-height: 1.4;
}
.hero__card strong { display: block; font-size: 0.92rem; }
.hero__card span { color: var(--muted); }
.hero__card-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-3); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__card { left: 16px; bottom: 16px; }
}
@media (max-width: 520px) {
  .hero__img--2 { margin-top: 24px; }
  .hero__img--3 { margin-bottom: -24px; }
  .hero__card { position: relative; left: auto; bottom: auto; grid-column: 1 / -1; margin-top: 36px; max-width: none; }
}

/* ---------- Proof bar ---------- */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.proof__item { display: flex; align-items: center; gap: 14px; padding: 28px 24px; border-left: 1px solid var(--line); font-size: 0.92rem; line-height: 1.4; }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { display: block; color: var(--ink); font-weight: 600; }
.proof__item span { color: var(--muted); font-size: 0.84rem; }
.proof__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent-3); }
.proof__icon .icon { width: 1.25rem; height: 1.25rem; }
@media (max-width: 960px) {
  .proof__list { grid-template-columns: repeat(2, 1fr); }
  .proof__item { border-left: 0; padding: 20px 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .proof__list { grid-template-columns: 1fr; } .proof__item:nth-child(n+2) { border-top: 1px solid var(--line); } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(800px 420px at 92% 0%, rgba(21, 132, 207, 0.4), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--char) 100%);
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 16ch; }
.page-hero--wide h1 { max-width: 22ch; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 620px; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.page-hero__media--landscape img { aspect-ratio: 4 / 3.1; }
.page-hero__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(42, 157, 240, 0.5); border-radius: var(--radius); }
.page-hero .btn-row { margin-top: 32px; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 520px; }
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; font-size: 0.8rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--accent); }

/* ---------- Remodel feature cards ---------- */
.feature-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card__media { position: relative; min-height: 100%; }
.feature-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.feature-card__body h3 { font-size: clamp(1.35rem, 1.75vw, 1.65rem); margin-bottom: 0.45em; }
.feature-card__body p { color: var(--muted); font-size: 0.98rem; }
.feature-card__body .checklist { margin: 4px 0 28px; }
.feature-card__body .link-arrow { margin-top: auto; align-self: flex-start; }
.feature-card__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 10px; }
@media (max-width: 1080px) { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card__media { aspect-ratio: 4 / 3; }
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a68a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.section--dark .checklist li::before, .section--deep .checklist li::before { background-color: rgba(42, 157, 240, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a9df0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 600px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s var(--ease);
  text-decoration: none; color: inherit;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 8px; }
.card__title { font-size: 1.45rem; margin-bottom: 0.4em; }
.card__body p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.card__more .icon { width: 1rem; height: 1rem; color: var(--accent-2); transition: transform 0.2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(3px); }

/* ---------- Icon tiles ---------- */
.tile { padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section--stone .tile { border-color: transparent; box-shadow: var(--shadow-sm); }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-3); }
.tile__icon .icon { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: 1.25rem; margin-bottom: 0.45em; }
.tile p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 0; }
.tile--plain { padding: 0; background: none; border: 0; box-shadow: none !important; }

/* ---------- Pillars (dark) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.pillar { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pillar__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.pillar__num .icon { width: 1.5rem; height: 1.5rem; }
.pillar h3 { color: #fff; font-size: 1.3rem; }
.pillar p { color: var(--on-dark-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 22px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; position: relative; z-index: 1;
  border-radius: 50%; border: 1px solid var(--accent); background: var(--paper);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-3);
}
.section--stone .step::before { background: var(--stone); }
.step::after { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 1px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 22px; padding: 0; }
  .step::before { grid-row: span 2; margin: 0; }
  .step::after { top: 54px; bottom: -28px; left: 27px; right: auto; width: 1px; height: auto; }
}

/* Detailed process (timeline) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline__item { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 0 32px; padding-bottom: 56px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  counter-increment: tl; content: "0" counter(tl);
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--accent); background: #fff; position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-3);
}
.timeline__item::after { content: ""; position: absolute; left: 36px; top: 72px; bottom: 0; width: 1px; background: var(--line-2); }
.timeline__item:last-child::after { display: none; }
.timeline__body { padding-top: 12px; }
.timeline__body h3 { font-size: 1.55rem; }
.timeline__body p { color: var(--muted); }
.timeline__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.timeline__meta .icon { width: 1rem; height: 1rem; }
@media (max-width: 600px) {
  .timeline__item { grid-template-columns: 52px 1fr; gap: 0 18px; }
  .timeline__item::before { width: 52px; height: 52px; font-size: 1.05rem; }
  .timeline__item::after { left: 26px; top: 52px; }
  .timeline__body { padding-top: 4px; }
}

/* ---------- Chips & areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.88rem; background: #fff; color: var(--ink); }
.section--dark .chip, .section--deep .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.area-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
.area-card h3 .icon { color: var(--accent-2); width: 1.2rem; height: 1.2rem; }
.area-card p { color: var(--muted); font-size: 0.95rem; }
.area-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-card li { font-size: 0.82rem; padding: 4px 12px; background: var(--stone); border-radius: 999px; color: var(--ink); }
@media (max-width: 960px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .area-grid { grid-template-columns: 1fr; } }

.county-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.county-map span {
  display: grid; place-items: center; text-align: center; min-height: 92px; padding: 12px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); font-family: var(--font-display); font-size: 1.1rem; color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.county-map span small { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--on-dark-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.county-map .is-hub { background: var(--button); border-color: var(--accent); color: #fff; }
.county-map .is-hub small { color: rgba(255, 255, 255, 0.78); }

/* ---------- Tech list ---------- */
.tech-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 22px; }
.tech-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.tech-list .tile__icon { margin: 0; width: 48px; height: 48px; }
.tech-list h3 { font-size: 1.12rem; margin-bottom: 4px; }
.tech-list p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.section--dark .tech-list p, .section--deep .tech-list p { color: var(--on-dark-muted); }
.section--dark .tile__icon, .section--deep .tile__icon { background: rgba(42, 157, 240, 0.14); color: var(--accent); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 680px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.compare tbody th { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--stone); }
.compare td { color: var(--muted); }

/* ---------- Callouts ---------- */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid #cfe5f6; }
.callout__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--button); color: #fff; }
.callout__icon .icon { width: 1.3rem; height: 1.3rem; }
.callout h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.callout p { margin: 0; color: #24405a; font-size: 0.97rem; }
.callout p + p { margin-top: 0.8em; }
.callout--info { background: #eef4f9; border-color: #d4e3ef; }
.callout--info .callout__icon { background: var(--blue); color: #fff; }
.callout--info p { color: #2c3e50; }

/* Quote / statement */
.statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: var(--ink); max-width: 30ch; margin: 0; }
.statement em { font-style: normal; color: var(--accent-3); }
.section--dark .statement, .section--deep .statement { color: #fff; }
.section--dark .statement em, .section--deep .statement em { color: var(--accent); }

/* ---------- Remodel levels ---------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.level { position: relative; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; }
.level--featured { border-color: var(--ink); box-shadow: var(--shadow); }
.level__label { position: absolute; top: -12px; left: 30px; padding: 4px 12px; background: var(--ink); color: var(--accent); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px; }
.level h3 { font-size: 1.5rem; margin-bottom: 0.2em; }
.level__sub { color: var(--accent-3); font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; }
.level p { color: var(--muted); font-size: 0.95rem; }
.level .checklist { font-size: 0.94rem; margin-top: auto; }
@media (max-width: 960px) { .levels { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0c10' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); border-color: var(--accent); }
.faq summary:hover { color: var(--blue); }
.faq__answer { padding: 0 64px 26px 0; color: var(--muted); }
.faq__answer > :last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(21, 132, 207, 0.5), transparent 65%),
    linear-gradient(135deg, var(--ink) 0%, var(--char) 100%);
  padding: clamp(64px, 8vw, 104px) 0;
}
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- Estimate form ---------- */
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .estimate-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.form-section { border: 0; margin: 0; padding: 0 0 36px; min-width: 0; }
.form-section + .form-section { border-top: 1px solid var(--line); padding-top: 36px; }
.form-section__title { display: flex; align-items: center; gap: 14px; padding: 0; margin: 0 0 22px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.form-section__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 0.9rem; flex: none; }
.form-section__hint { margin: -12px 0 20px; color: var(--muted); font-size: 0.9rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-grid--3 { grid-template-columns: 2fr 1fr 1fr; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid, .field-grid--3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field-label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.req { color: var(--accent-3); margin-left: 2px; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"],
.field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 0.98rem; color: var(--text);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356626e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 116, 189, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: #9aa3ad; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: 0.82rem; }
.field.is-invalid .field__error { display: block; }
.field__help { font-size: 0.82rem; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .choice__box { padding: 12px; font-size: 0.86rem; gap: 8px; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice__box {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  font-size: 0.92rem; font-weight: 500; color: var(--ink); line-height: 1.3; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice__box .icon { width: 1.3rem; height: 1.3rem; color: var(--accent-2); }
.choice input:hover + .choice__box { border-color: var(--ink); }
.choice input:checked + .choice__box { border-color: var(--ink); background: var(--stone); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-grid--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice-grid--compact .choice__box { padding: 11px 14px; font-size: 0.88rem; }
.fieldset-plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-plain legend { padding: 0; margin-bottom: 10px; }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 0.88rem; line-height: 1.55; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent { padding: 20px 22px; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 16px; }
.consent__title { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.consent__title .icon { color: var(--accent-3); }
.consent .check { color: #3a4550; font-size: 0.84rem; }
.consent a { color: var(--blue); }
.consent__fine { margin: 0; font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--stone); transition: border-color 0.2s, background-color 0.2s; }
.file-drop:hover { border-color: var(--ink); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent-3); flex: none; }
.file-drop__text { font-size: 0.88rem; line-height: 1.4; min-width: 0; }
.file-drop__text strong { display: block; color: var(--ink); }
.file-drop__text span { color: var(--muted); overflow-wrap: anywhere; }
.file-drop.has-file { border-style: solid; border-color: var(--success); background: #f1f8f4; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-actions p { margin: 0; font-size: 0.84rem; color: var(--muted); display: flex; align-items: center; gap: 8px; max-width: 420px; }
.form-actions p .icon { color: var(--accent-3); }
.form-alert { display: none; padding: 14px 16px; margin-bottom: 24px; border-radius: var(--radius); background: #fdf0ef; border: 1px solid #f4c7c3; color: var(--danger); font-size: 0.9rem; }
.form-alert.is-visible { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.estimate-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1000px) { .estimate-aside { position: static; } }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.aside-card--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.aside-card--dark h2, .aside-card--dark h3 { color: #fff; }
.aside-card h2 { font-size: 1.35rem; margin-bottom: 14px; }
.aside-card p { font-size: 0.92rem; color: var(--muted); }
.aside-card--dark p { color: var(--on-dark-muted); }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--accent); }
.contact-lines .icon { color: var(--accent); width: 1.1rem; height: 1.1rem; }
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 0; display: grid; gap: 16px; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.mini-steps li::before { content: counter(ms); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-3); font-family: var(--font-display); font-size: 0.85rem; }
.mini-steps strong { display: block; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; background: var(--stone); border-radius: var(--radius-lg); font-size: 0.88rem; }
.legal-toc h2 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: #33404c; }
.prose li { margin-bottom: 0.45em; }
.prose .callout { margin: 1.6em 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 0.85rem; color: var(--on-dark-muted); }
.legal-meta strong { color: #fff; font-weight: 500; }
.keyword-table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 0.95rem; }
.keyword-table th, .keyword-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.keyword-table th { background: var(--stone); font-weight: 600; color: var(--ink); }
.keyword-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer__logo img { height: 52px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 340px; }
.footer__appt { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 500; }
.footer__appt .icon { width: 1rem; height: 1rem; }
.footer__powered { display: inline-block; margin-top: 10px; padding: 10px 14px; background: #fff; border-radius: var(--radius); opacity: 0.92; transition: opacity 0.2s; }
.footer__powered:hover { opacity: 1; }
.footer__powered img { height: 44px; width: auto; }
.footer__title { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer__col ul + .footer__title { margin-top: 32px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--on-dark-muted); text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__contact li a, .footer__contact li span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer__contact .icon { color: var(--accent); width: 1rem; height: 1rem; }
.footer__contact .btn { margin-top: 24px; }
.footer__bottom { border-top: 1px solid var(--line-dark); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 28px; font-size: 0.82rem; }
.footer__bottom p { margin: 0; }
.footer__license { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line-dark); }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer__legal a { color: var(--on-dark-muted); text-decoration: none; }
.footer__legal a:hover { color: #fff; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; } }

/* ---------- Misc ---------- */
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.img-pair img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.img-pair img:last-child { margin-top: 48px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 56px 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.stat-row div { padding-top: 18px; border-top: 1px solid var(--accent); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.stat-row span { font-size: 0.9rem; color: var(--muted); line-height: 1.5; display: block; }
.section--dark .stat-row strong, .section--deep .stat-row strong { color: #fff; }
.section--dark .stat-row span, .section--deep .stat-row span { color: var(--on-dark-muted); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.notice-404 { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.notice-404 .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--accent); margin-bottom: 12px; }
.thanks-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--button); color: #fff; margin-bottom: 28px; }
.thanks-icon .icon { width: 2.2rem; height: 2.2rem; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .legal-toc { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 24px; }
  .page-hero h1, .page-hero .lead { color: #000; }
  body { font-size: 11pt; }
}

/* ==========================================================================
   Unique Baths — brand layer (chrome, logo blue, wave)
   ========================================================================== */
.brand img { height: 46px; }
@media (max-width: 1040px) { .brand img { height: 40px; } }
@media (max-width: 380px) { .brand img { height: 34px; } }

/* Chrome headline with a blue accent, echoing the logo lettering */
.hero h1, .page-hero h1 { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em, .page-hero h1 em { font-style: normal; background: linear-gradient(180deg, #6cc6ff 0%, #2a9df0 55%, #1584cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1, .page-hero h1 { color: #fff; }
  .hero h1 em, .page-hero h1 em { color: var(--accent); }
}

/* Tagline: DESIGN • REMODEL • ENJOY */
.tagline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 26px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver); }
.tagline i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(42, 157, 240, 0.8); }
.tagline--center { justify-content: center; }

/* Hero: deeper black with the logo's blue glow and a wave along the bottom */
.hero, .page-hero {
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(21, 132, 207, 0.32), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(42, 157, 240, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--char) 100%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%232a9df0' stop-opacity='0'/%3E%3Cstop offset='.35' stop-color='%232a9df0'/%3E%3Cstop offset='.7' stop-color='%23c9ced5' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23c9ced5' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 34 C 240 6, 480 6, 720 24 S 1200 44, 1440 14' fill='none' stroke='url(%23g)' stroke-width='2'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  opacity: 0.8;
}
.hero__card-icon { background: var(--accent-soft); color: var(--accent-3); }

/* Deep (charcoal) sections */
.section--deep { background: radial-gradient(700px 400px at 100% 0%, rgba(21, 132, 207, 0.22), transparent 62%), linear-gradient(160deg, var(--char) 0%, var(--ink-2) 100%); }
.section--black { background: #000; color: var(--on-dark); }
.section--black h2, .section--black h3 { color: #fff; }
.section--black .lead, .section--black .muted { color: var(--on-dark-muted); }
.section--black .pillar h3 { color: #fff; }

/* Logo showcase (pure black so the artwork blends in) */
.logo-panel { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); background: #000; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.logo-panel img { width: 100%; max-width: 520px; }

/* Before you call: material swatches strip */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.swatches figure { margin: 0; }
.swatches img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.swatches figcaption { margin-top: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* Footer brand + credits */
.site-footer { background: #000; }
.footer__logo img { height: auto; width: 230px; margin-bottom: 18px; }
.footer__credits { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.footer__quality {
  display: inline-flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.footer__quality:hover { border-color: rgba(42, 157, 240, 0.6); background: rgba(255, 255, 255, 0.03); }
.footer__quality span, .footer__designer span { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.footer__quality img { height: 38px; width: auto; filter: invert(1) brightness(0.92); }
.footer__designer { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 16px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.footer__designer strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; color: #fff; }
.footer__bottom .footer__by { color: var(--on-dark-muted); }
.footer__bottom .footer__by strong { color: #fff; font-weight: 500; }
.footer__bottom-inner { align-items: center; }

/* Quality partner callout (inside pages) */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.partner__logo { padding-right: 28px; border-right: 1px solid var(--line); }
.partner__logo span { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 8px; }
.partner__logo img { height: 44px; width: auto; }
.partner p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.partner h3 { font-size: 1.2rem; margin-bottom: 0.35em; }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } .partner__logo { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; } }

/* Gallery-style mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--char); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)); color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.mosaic .is-tall { grid-row: span 2; }
.mosaic .is-wide { grid-column: span 2; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; } }
@media (max-width: 520px) { .mosaic { grid-auto-rows: 160px; gap: 10px; } .mosaic .is-wide { grid-column: span 2; } }
.mosaic-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.section--dark .mosaic-note, .section--deep .mosaic-note, .section--black .mosaic-note { color: var(--on-dark-muted); }
.appt-badge--after { margin: 30px 0 0; }
.tile--link { display: block; text-decoration: none; color: inherit; transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.2s; }
.tile--link:hover { color: inherit; border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.split__media--tall img { aspect-ratio: 4 / 4.4; object-fit: cover; }

/* Narrow screens: never let a long button or word widen the layout */
.hero__grid > *, .page-hero__grid > *, .split > *, .estimate-layout > * { min-width: 0; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 1rem 1.25rem; }
  .btn-row > .btn { width: 100%; }
  .tagline { letter-spacing: 0.22em; gap: 8px 10px; }
}
.county-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) {
  .county-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .county-map span small { letter-spacing: 0.06em; }
}
@media (max-width: 360px) {
  h1, .page-hero h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
}
