/* ============================================================
   Myrtle Beach Shower Door — design system
   Fonts: Cabinet Grotesk (display) · Satoshi (body) — self-hosted
   ============================================================ */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --font-d: "Cabinet Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-b: "Satoshi", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --paper: #f2f6f6;
  --card: #ffffff;
  --wash: #e4edeb;
  --ink: #0e1f23;
  --ink-2: #14313a;
  --text: #1d383f;
  --body: #47606a;
  --muted: #677d83;
  --line: rgba(14, 31, 35, 0.1);
  --line-strong: rgba(14, 31, 35, 0.16);

  --accent: #0e7c71;
  --accent-deep: #0a5f58;
  --accent-ink: #084b45;
  --accent-soft: #d9ebe6;
  --accent-faint: #ecf4f1;
  --error: #b0473c;
  --error-soft: #f6e7e4;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.56, 1);

  --r-pill: 999px;
  --r-card: 20px;
  --r-tile: 16px;
  --r-input: 12px;

  --sh-card: 0 1px 2px rgba(14, 31, 35, 0.05), 0 22px 44px -26px rgba(14, 31, 35, 0.28);
  --sh-lift: 0 2px 4px rgba(14, 31, 35, 0.06), 0 30px 56px -26px rgba(14, 31, 35, 0.34);
  --sh-photo: 0 18px 40px -20px rgba(10, 60, 62, 0.42);

  --z-callbar: 30;
  --z-nav: 40;
  --z-mnav: 60;
  --z-lightbox: 70;
  --z-grain: 15;

  --container: 1160px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 90;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px;
  font-weight: 500; text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* fixed film-grain only, pointer-safe, GPU-cheap */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout kit ---------- */
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section-view { display: none; }
.section-view.is-active { display: block; animation: viewIn 0.55s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: 1.115rem; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.h3 { font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.8rem); }

h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
h2 em, h1 em { font-style: normal; color: var(--accent); }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.9rem, 1.5vw + 1.5rem, 2.9rem); letter-spacing: -0.025em; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-row h2 { font-size: clamp(1.5rem, 1vw + 1.2rem, 2.1rem); }

.view-head { padding: 148px 0 12px; }
.view-head h2.view-h1 { font-size: clamp(2.2rem, 2vw + 1.6rem, 3.6rem); letter-spacing: -0.028em; max-width: 18ch; }
.view-head .lede { margin-top: 16px; }
.view-head .eyebrow { margin-bottom: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--accent-ink); text-decoration: none; border-radius: 6px;
}
.text-link .ic { transition: transform 0.35s var(--ease-spring); }
.text-link:hover .ic, .text-link:focus-visible .ic { transform: translate(2px, -2px); }
.text-link-invert { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.35s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(10, 95, 88, 0.55);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(10, 95, 88, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .btn-chip {
  width: 30px; height: 30px; border-radius: var(--r-pill); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.16); font-size: 15px;
  transition: transform 0.35s var(--ease-spring), background 0.25s var(--ease);
}
.btn:hover .btn-chip { transform: translate(1px, -1px); background: rgba(255, 255, 255, 0.24); }
.btn-lg { padding: 14px 16px 14px 28px; font-size: 1rem; }
.btn-lg .btn-chip { width: 34px; height: 34px; font-size: 17px; }
.btn-ghost { --btn-bg: transparent; color: var(--ink); box-shadow: none; padding: 10px 22px 10px 12px; }
.btn-lg.btn-ghost { padding: 14px 24px 14px 14px; }
.chip-ghost:not(.btn-ghost .btn-chip) { background: var(--accent-soft); color: var(--accent-ink); }
.btn .chip-ghost { background: var(--accent-soft); color: var(--accent-ink); }
.btn-invert { --btn-bg: #fff; color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.5); }
.btn-invert .btn-chip { background: rgba(14, 31, 35, 0.9); color: #fff; }
.btn-invert:hover .btn-chip { background: rgba(14, 31, 35, 1); }

/* ---------- nav ---------- */
.site-head { position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav); display: flex; justify-content: center; pointer-events: none; }
.site-nav {
  pointer-events: auto;
  width: min(var(--container), calc(100% - 24px));
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(14, 31, 35, 0.08);
  box-shadow: 0 10px 34px -18px rgba(14, 31, 35, 0.4);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-head[data-scrolled="true"] .site-nav { background: rgba(255, 255, 255, 0.9); box-shadow: 0 14px 40px -16px rgba(14, 31, 35, 0.45); border-color: rgba(14, 31, 35, 0.1); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 999px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-type { font-family: var(--font-d); font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.brand-type strong { display: block; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a {
  display: inline-block; padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 500; color: var(--body); text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover { background: var(--accent-faint); color: var(--accent-ink); }
.nav-links a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.92rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease);
}
.nav-phone:hover { background: var(--accent-faint); }
.nav-phone .ic { color: var(--accent); }
.btn-nav { font-size: 0.9rem; padding: 8px 10px 8px 16px; }
.btn-nav .btn-chip { width: 26px; height: 26px; font-size: 13px; }

.nav-burger {
  display: none; position: relative; width: 42px; height: 42px; border-radius: var(--r-pill);
  background: rgba(14, 31, 35, 0.06); color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-burger:hover { background: rgba(14, 31, 35, 0.12); }
.nav-burger .ic { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; transition: transform 0.35s var(--ease-spring), opacity 0.25s var(--ease); }
.nav-burger .burger-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.is-open .nav-burger .burger-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.is-open .nav-burger .burger-close { opacity: 1; transform: none; }
.is-open .nav-burger { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* mobile menu overlay */
.mnav { position: fixed; inset: 0; z-index: var(--z-mnav); }
.mnav::before { content: ""; position: absolute; inset: -8px; background: rgba(11, 27, 31, 0.55); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.mnav-panel {
  position: relative; height: 100%; width: min(480px, calc(100% - 24px)); margin-left: auto;
  background: rgba(16, 34, 39, 0.92);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 108px 28px 44px;
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.5);
  animation: panelIn 0.5s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
[hidden].mnav, [hidden] { display: none !important; }
.mnav-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mnav-links a {
  display: block; padding: 12px 14px; border-radius: 14px;
  font-family: var(--font-d); font-size: 1.7rem; font-weight: 700; color: #fff; text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--ease-spring);
}
.mnav-links a:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(4px); }
.mnav-cta { display: grid; gap: 12px; }
.mnav-tel { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.25); }

/* ---------- hero ---------- */
.hero { padding: 168px 0 76px; position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% 45% 55%; height: 120%; z-index: -1;
  background: radial-gradient(42% 42% at 60% 40%, rgba(28, 155, 143, 0.14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-h1 {
  font-size: clamp(2.6rem, 2.4vw + 2.05rem, 4.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  max-width: 12ch; outline: none;
}
.hero-sub { margin-top: 18px; font-size: 1.13rem; color: var(--body); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; height: clamp(340px, 44vw, 560px); }
.hero-photo {
  position: relative; margin: 0; background: var(--card); padding: 8px;
  border-radius: 22px; box-shadow: var(--sh-photo), 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease);
}
.hero-photo img { border-radius: 16px; width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { position: absolute; right: 4%; top: 0; width: 60%; height: 96%; z-index: 1; }
.hero-photo-b { position: absolute; left: 0; bottom: 2%; width: 44%; height: 62%; z-index: 2; transform: rotate(-2.4deg); }
.hero-photo-c { position: absolute; right: 0; top: -4%; width: 30%; height: 40%; z-index: 0; transform: rotate(2deg); }
.hero-photo::after {
  content: ""; position: absolute; inset: 8px; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.hero-photo:hover { transform: translateY(-6px); box-shadow: var(--sh-lift), 0 0 0 1px var(--line); }
.hero-photo-b:hover { transform: rotate(-2.4deg) translateY(-6px); }
.hero-photo-c:hover { transform: rotate(2deg) translateY(-4px); }

/* ---------- trust band ---------- */
.trust { padding: 10px 0 30px; }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-card);
}
.trust-item strong { font-family: var(--font-d); font-size: 1.16rem; color: var(--ink); }
.trust-item span:last-child { grid-column: 2; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.trust-ic {
  width: 44px; height: 44px; grid-row: 1 / span 2; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 21px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ---------- shared tile ---------- */
.tile {
  position: relative; background: var(--card); border-radius: var(--r-card);
  box-shadow: var(--sh-card); border: none; text-decoration: none; display: block;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.tile-ic {
  width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-faint); color: var(--accent-ink); font-size: 24px; margin-bottom: 18px;
}
.tile h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.tile p { font-size: 0.95rem; color: var(--body); }
.tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 0.94rem; color: var(--accent-ink); }
.tile-link .ic { transition: transform 0.35s var(--ease-spring); }
.tile:hover .tile-link .ic { transform: translateX(4px); }

/* ---------- services bento ---------- */
.services { padding: 48px 0 44px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-cell { padding: 26px; }
.bento-featured { grid-column: 1 / 3; grid-row: 1 / 3; padding: 10px 10px 0; display: flex; flex-direction: column; }
.bento-featured .tile-photo { margin: 0 0 8px; border-radius: 14px; overflow: hidden; flex: 1 1 0; min-height: 230px; min-width: 0; position: relative; }
.bento-featured .tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transition: transform 0.8s var(--ease); }
.bento-featured:hover .tile-photo img { transform: scale(1.04); }
.bento-featured .tile-body { flex: none; padding: 12px 16px 18px; }
.bento-featured .tile-body h3 { font-size: 1.5rem; }
.tile-storefront { grid-column: span 2; }
.tile-quote { background: var(--accent-soft); box-shadow: none; }
.tile-quote h3 { color: var(--accent-ink); }
.tile-quote p { color: var(--accent-ink); opacity: 0.75; }
.tile-quote:hover { transform: none; box-shadow: inset 0 0 0 2px rgba(8, 75, 69, 0.25); }
.tile-storefront, .tile-quote { align-content: end; }

/* ---------- about split ---------- */
.about { padding: 20px 0 80px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo {
  position: relative; margin: 0; padding: 10px; background: var(--card); border-radius: 26px;
  box-shadow: var(--sh-photo), 0 0 0 1px var(--line); max-width: 420px;
}
.about-photo img { border-radius: 18px; }
.about-photo figcaption { padding: 14px 10px 6px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.about-copy h2 { font-size: clamp(1.9rem, 1.5vw + 1.4rem, 2.7rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.about-copy p { color: var(--body); max-width: 58ch; margin-bottom: 14px; }
.about-copy strong { color: var(--ink); }

.checklist { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: start; font-weight: 500; color: var(--ink); }
.checklist .ic { color: var(--accent); flex: none; margin-top: 5px; font-size: 17px; }

/* ---------- teaser strip ---------- */
.teaser { padding: 24px 0 84px; }
.teaser-tight { padding: 14px 0 44px; }
.teaser-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 21vw, 260px);
  gap: 16px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  width: max-content; max-width: 100%; margin-inline: auto;
}
.teaser-strip > a {
  scroll-snap-align: start; display: block; border-radius: 18px; overflow: hidden;
  box-shadow: var(--sh-photo); transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease);
  background: var(--card); padding: 7px;
}
.teaser-strip > a img { border-radius: 13px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.teaser-strip > a:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); }

/* ---------- quote band (dark) ---------- */
.quote-band { background: var(--ink); color: #fff; padding: 84px 0; position: relative; overflow: hidden; }
.quote-band::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 180%;
  background: radial-gradient(40% 50% at 30% 30%, rgba(28, 155, 143, 0.25), transparent 70%);
}
.quote-band-grid { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; }
.quote-ic { font-size: 46px; color: var(--accent); opacity: 0.9; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--font-d); font-weight: 500; font-size: clamp(1.35rem, 1.4vw + 1rem, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; max-width: 30ch; }
.quote-band cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.95rem; font-weight: 700; color: rgba(255, 255, 255, 0.66); }

/* ---------- CTA band ---------- */
.cta { padding: 44px 0 72px; }
.cta-panel {
  background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 140%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(28, 155, 143, 0.35), transparent 70%);
}
.cta-panel h2 { position: relative; color: #fff; font-size: clamp(1.9rem, 1.6vw + 1.4rem, 3rem); letter-spacing: -0.025em; }
.cta-panel p { position: relative; margin-top: 12px; color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.cta-panel .hero-cta { position: relative; }
.cta-tel {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none;
  padding: 14px 22px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.3s var(--ease);
}
.cta-tel:hover { background: rgba(255, 255, 255, 0.08); }
.cta-tel .ic { color: var(--accent); filter: brightness(1.3) saturate(1.1); }

/* ---------- process: equal-height columns ---------- */
.process { padding: 14px 0 70px; }
.process-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: stretch; }
.col-steps { display: flex; flex-direction: column; min-width: 0; }
.timeline { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.step { flex: 1 1 auto; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 20px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 4px; border-radius: 3px; background: rgba(14, 124, 113, 0.5); }
.step:last-child::before { display: none; }
.step-num {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--card); box-shadow: var(--sh-card); color: var(--accent-ink);
  font-family: var(--font-d); font-weight: 800; font-size: 1.12rem; position: relative; z-index: 1;
}
.step-body h3 { font-size: 1.22rem; padding-top: 4px; }
.step-body p { margin-top: 8px; color: var(--body); max-width: 56ch; }

/* aside fills the same height; the list card grows to close the column */
.process-aside { position: sticky; top: 104px; display: grid; gap: 18px; grid-template-rows: auto minmax(0, 1fr); }
.aside-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; position: relative; overflow: hidden; }
.aside-card::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 90%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(28, 155, 143, 0.4), transparent 70%); }
.aside-card h3, .aside-list h3 { position: relative; font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.aside-tel, .aside-mail {
  position: relative; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; text-decoration: none;
  padding: 12px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.22); margin-bottom: 10px;
  font-size: 0.98rem; transition: background 0.3s var(--ease);
}
.aside-mail { font-weight: 500; font-size: 0.9rem; border-style: dashed; }
.aside-tel .ic { color: #7fd6c9; }
.aside-tel:hover, .aside-mail:hover { background: rgba(255, 255, 255, 0.08); }
.aside-note { position: relative; margin-top: 12px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.66); }
.aside-list { background: var(--card); box-shadow: var(--sh-card); border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; min-height: 0; }
.aside-list h3 { color: var(--ink); font-size: 1.12rem; }
.aside-list .checklist { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 0; margin-top: 10px; }
.aside-list .checklist li { font-weight: 500; color: var(--body); }
.aside-list .checklist .ic { color: var(--accent); }

/* ---------- shower door types ---------- */
.types { padding: 14px 0 24px; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type-card { padding: 26px; }
/* featured tile = full-width photo-split banner (no stretching neighbours) */
.type-card-featured { grid-column: 1 / -1; padding: 10px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.type-card-featured .tile-photo { margin: 0; border-radius: 14px; overflow: hidden; height: 100%; min-height: 300px; position: relative; }
.type-card-featured .tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform 0.8s var(--ease); }
.type-card-featured:hover .tile-photo img { transform: scale(1.04); }
.type-card-featured .tile-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.type-card-featured h3 { font-size: 1.5rem; }

.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0 8px; }
.feature {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--sh-card);
  padding: 22px 24px 20px;
}
.feature h4 { font-size: 1.06rem; }
.feature h4 { font-size: 1.04rem; margin-bottom: 6px; }
.feature p { font-size: 0.9rem; color: var(--body); }
.types-cta {
  margin-top: 26px; padding: 28px 30px; border-radius: 24px;
  background: var(--card); box-shadow: var(--sh-card);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.types-cta h3 { font-size: 1.3rem; }
.types-cta p { color: var(--body); max-width: 55ch; }

/* ---------- gallery ---------- */
.gallery { padding: 14px 0 70px; }
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.g-item {
  display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; position: relative;
  padding: 7px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-photo), 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease);
}
.g-item img { border-radius: 12px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.g-item::after {
  content: attr(data-caption); position: absolute; left: 13px; right: 13px; bottom: 13px;
  padding: 10px 14px; border-radius: 12px; font-size: 0.82rem; font-weight: 500; text-align: left;
  color: #fff; background: rgba(11, 27, 31, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.g-item:hover, .g-item:focus-visible { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; transform: none; }
.gallery-cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.gallery-cta p { color: var(--body); font-size: 1.05rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; place-items: center; }
.lightbox::before { content: ""; position: absolute; inset: 0; background: rgba(9, 20, 23, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: lbFade 0.35s var(--ease); }
@keyframes lbFade { from { opacity: 0; } }
.lb-figure { position: relative; margin: 0; padding: 0 56px; display: grid; gap: 14px; justify-items: center; animation: lbIn 0.45s var(--ease-spring); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96) translateY(12px); } }
.lb-img {
  max-width: min(84vw, 620px); max-height: 78vh; border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  background: var(--card); padding: 8px;
}
.lb-cap { display: flex; gap: 14px; align-items: baseline; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.lb-count { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-spring);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-btn:active { transform: translateY(-50%) scale(0.92); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-close { top: 20px; right: 20px; transform: none; }
.lb-close:active { transform: scale(0.92); }

/* ---------- testimonials ---------- */
.quotes { padding: 14px 0 70px; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.quote-card { padding: 30px; display: flex; flex-direction: column; }
.quote-card .quote-ic { font-size: 40px; color: var(--accent); margin-bottom: 18px; }
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card blockquote p { color: var(--body); font-size: 1rem; line-height: 1.7; }
.quote-card cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; color: var(--ink); }
.quote-card { position: relative; }
.sample-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-faint);
  padding: 5px 10px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(8, 75, 69, 0.14);
}
.stars { display: flex; gap: 3px; margin: -6px 0 14px; color: var(--accent); }
.stars .ic { width: 17px; height: 17px; }
.quote-card-cta { background: var(--accent-soft); justify-content: center; text-align: left; }
.quote-card-cta h3 { color: var(--accent-ink); font-size: 1.35rem; margin-bottom: 10px; }
.quote-card-cta p { color: var(--accent-ink); opacity: 0.8; margin-bottom: 20px; }
.quote-card-cta .btn { align-self: start; }

/* ---------- contact ---------- */
.contact { padding: 14px 0 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.contact-form-card { padding: clamp(24px, 3vw, 40px); }
.form-head { margin-bottom: 26px; }
.form-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-head p { color: var(--body); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.req { color: var(--error); }
.opt { font-weight: 500; font-size: 0.76rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-input);
  border: 1px solid var(--line-strong); background: #fdfefe; color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #93a7ab; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-error input, .field.is-error select { border-color: var(--error); background: var(--error-soft); }
.field-error { font-size: 0.85rem; color: var(--error); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 22px; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

.form-done { text-align: center; padding: 30px 6px; display: grid; gap: 16px; justify-items: center; }
.done-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 34px; }
.form-done h3 { font-size: 1.4rem; }
.form-done p { color: var(--body); max-width: 40ch; }

.contact-side { display: grid; gap: 18px; position: sticky; top: 104px; }
.nap-card { padding: 28px; }
.nap-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.nap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nap-list li { display: flex; gap: 12px; align-items: start; }
.nap-list .ic { color: var(--accent); flex: none; margin-top: 4px; font-size: 19px; }
.nap-list a { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.nap-list a:hover { text-decoration: underline; }
.map-link-wrap { margin-top: 16px; }
.map-card { border-radius: 20px; overflow: hidden; box-shadow: var(--sh-card); background: var(--wash); isolation: isolate; }
#map { width: 100%; height: 300px; }
.map-fallback { padding: 20px 22px; font-size: 0.92rem; color: var(--body); }
.map-fallback a { color: var(--accent-ink); font-weight: 700; }
.leaflet-popup-content { font-family: var(--font-b); font-size: 0.9rem; line-height: 1.45; }
.leaflet-popup-content strong { font-family: var(--font-d); font-size: 0.95rem; }
.leaflet-control-attribution { font-size: 0.66rem !important; }
.areas-card { padding: 22px 28px; }
.areas-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.areas-card p { font-size: 0.9rem; line-height: 1.8; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, 0.82); margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.3fr 1.3fr; gap: 36px; padding: 64px 0 40px; }
.foot-brand .brand-type { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.foot-h { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-b); font-weight: 700; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.25s var(--ease); }
.site-foot a:hover { color: #fff; }
.site-foot address { font-style: normal; color: rgba(255, 255, 255, 0.82); margin-bottom: 12px; line-height: 1.7; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 249, 249, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.cb-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 12px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.cb-call { background: var(--card); color: var(--accent-ink); box-shadow: var(--sh-card); }
.cb-call .ic { color: var(--accent); }
.cb-quote { background: var(--accent-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 95, 88, 0.55); }

/* ---------- reveal animations ---------- */
html.js [data-reveal], html.js [data-reveal-group] > * {
  opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
html.js [data-reveal].revealed,
html.js [data-reveal-group].revealed > *,
html.js [data-reveal-group] > *.revealed {
  opacity: 1; transform: none; filter: none; will-change: auto;
}
/* screenshot / QA mode: everything visible immediately */
html.js body.no-anim [data-reveal], html.js body.no-anim [data-reveal-group] > * {
  opacity: 1; transform: none; filter: none; transition: none !important;
}
html.js body.no-anim .section-view.is-active { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 9px; font-size: 0.88rem; }
  .nav-phone { padding: 9px 10px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-featured { grid-column: 1 / -1; grid-row: auto; }
  .bento-featured .tile-photo { min-height: 300px; }
  .tile-storefront { grid-column: auto; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .features-row { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-aside { position: static; }
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .quote-card-cta { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; }
  .areas-card { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding: 48px 0 30px; }
}
@media (max-width: 820px) {
  .hero { padding: 132px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-h1 { max-width: 14ch; }
  .hero-visual { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-photo { position: static; height: auto; transform: none !important; }
  .hero-photo img { aspect-ratio: 3 / 4; object-fit: cover; height: 100%; }
  .hero-photo-main { width: 100%; grid-column: 1 / -1; aspect-ratio: 4 / 4.4; }
  .hero-photo-b, .hero-photo-c { width: 100%; aspect-ratio: 3 / 4; }
  .hero-photo-c { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quote-band-grid { grid-template-columns: auto 1fr; }
  .quote-band .text-link { grid-column: 2; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .site-head { top: 10px; }
  .site-nav { padding: 7px 8px 7px 12px; }
  .brand-type { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 999px; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px; }
  .btn-nav span:first-child { display: none; }
  .btn-nav { padding: 8px; }
  .btn-nav .btn-chip { width: 28px; height: 28px; font-size: 14px; }
  .view-head { padding: 132px 0 10px; }
  .bento, .type-grid, .quotes-grid { grid-template-columns: minmax(0, 1fr); }
  .features-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .contact-side { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 14px 16px; }
  .trust-ic { width: 38px; height: 38px; font-size: 18px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; padding-bottom: 20px; }
  .step::before { left: 22px; top: 0; }
  .step-num { width: 48px; height: 48px; border-radius: 15px; font-size: 1.05rem; }
  .types-cta { flex-direction: column; align-items: flex-start; }
  .type-card-featured { grid-template-columns: 1fr; }
  .type-card-featured .tile-photo { min-height: 260px; }
  .quote-band { padding: 64px 0; }
  .quote-band blockquote p { font-size: 1.2rem; }
  .callbar { display: flex; }
  body { padding-bottom: 78px; }
  .foot-legal { flex-direction: column; }
  .lb-figure { padding: 0 12px; }
  .lb-prev { left: 0; top: auto; bottom: -56px; transform: none; }
  .lb-next { right: 0; top: auto; bottom: -56px; transform: none; }
  .lb-img { max-height: 66vh; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; filter: none; }
}

/* ---------- print ---------- */
@media print {
  .site-head, .mnav, .callbar, .lightbox, .grain, .cta, .quote-band { display: none !important; }
  .section-view { display: block !important; }
}
