/* Shower Glass Guy site styles. Shared by every page (src/ builds them). */
:root {
  --ink: #0C2A3A;
  --ink-soft: #2E4756;
  --ink-muted: #5A7080;
  --mist: #F1F5F3;
  --mist-deep: #E3ECE9;
  --white: #FFFFFF;
  --sea: #7FD6C2;
  --sea-deep: #1D7A69;
  --sea-tint: #DDF3EC;
  --sky: #A9DAF0;
  --sky-deep: #2A79A8;
  --sky-tint: #DDEFF8;
  --brass: #E8B547;
  --brass-tint: #F8EDCC;
  --blush-tint: #F6E3DC;
  --lilac-tint: #E7E5F5;
  --leaf-tint: #E5F1DC;

  --display: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .page-hero--ink :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: var(--sea); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -0.03em; word-spacing: .05em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); line-height: 1.02; letter-spacing: -0.025em; word-spacing: .04em; text-wrap: balance; }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 36em; }
.tag {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.section-head { max-width: 760px; }
.section-head .tag { display: block; margin-bottom: 18px; }
.section-head .lede { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; color: var(--ink);
  padding: 16px 26px; min-height: 52px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--sea { background: var(--sea); }
.btn--brass { background: var(--brass); }
.btn--small { padding: 11px 18px; min-height: 44px; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.on-dark .btn { border-color: var(--ink); }

/* Top bar */
.topbar { background: var(--ink); color: #CFE3EA; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: var(--sea); }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); margin-right: 8px; vertical-align: 1px; }
.topbar__phones { display: flex; gap: 22px; white-space: nowrap; }
.topbar__phones span { color: #8FB0BD; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(241, 245, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: auto; height: 52px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; }
.brand__sub { display: block; white-space: nowrap; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--mist-deep); }
.header__cta { display: flex; gap: 12px; align-items: center; }
.header__us { display: none; }
/* Beside the full menu, and on small tablets, there's no room for the number (it's in the top bar above). */
@media (min-width: 1241px) and (max-width: 1459px), (max-width: 719px) { .header__num { display: none; } .header__us { display: inline; } }
.menu-btn { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: auto; width: 720px; height: 720px; right: -160px; top: -200px;
  background: radial-gradient(closest-side, rgba(169, 218, 240, .55), transparent);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; left: -220px; bottom: -280px;
  background: radial-gradient(closest-side, rgba(127, 214, 194, .35), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}
.pill-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sea-deep); }
.hero h1 { margin-top: 28px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .l2 { color: var(--sea-deep); white-space: normal; font-size: .5em; line-height: 1.08; letter-spacing: -0.02em; margin-top: .35em; max-width: 17em; text-wrap: balance; }
.hero h1 .l2 .l3 { white-space: normal; }
.hero h1 .l3 { color: var(--sky-deep); }
.hero .lede { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__alt { margin-top: 10px; font-size: .98rem; color: var(--ink-soft); }
.hero__alt a { display: inline-block; padding: 12px 2px; font-weight: 700; color: var(--ink); }
.phone-only { display: none; }
.after-photos { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.after-photos .hero__actions { justify-content: center; margin-top: 20px; }
.after-photos .lede { margin-inline: auto; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 28px; border-top: 2px dashed rgba(12, 42, 58, .2); }
.proof__item b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.proof__item small { font-size: .88rem; color: var(--ink-muted); }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 1.05rem; -webkit-text-stroke: .6px #B8862A; }
.proof__item .stars { display: block; line-height: 1; margin-bottom: 4px; }

.hero__art { position: relative; padding: 70px 0 56px 56px; }
.hero__photo {
  position: relative; border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--white); aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__chip {
  position: absolute; right: 16px; bottom: 16px; background: var(--white); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: .84rem; font-weight: 500; box-shadow: 3px 3px 0 var(--ink);
}
.dim { position: absolute; color: var(--ink); font-family: var(--mono); font-size: .8rem; font-weight: 500; }
.dim svg { position: absolute; overflow: visible; }
.dim line { stroke: var(--ink); stroke-width: 2; }
.dim .draw { stroke-dasharray: 600; stroke-dashoffset: 0; }
.dim__label { position: absolute; background: var(--brass); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 8px; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
.dim--v { left: 6px; top: 70px; bottom: 56px; width: 30px; }
.dim--v svg { left: 14px; top: 0; height: 100%; width: 2px; }
.dim--v .dim__label { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.dim--h { left: 56px; right: 0; bottom: 8px; height: 30px; }
.dim--h svg { top: 14px; left: 0; width: 100%; height: 2px; }
.dim--h .dim__label { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.bubble {
  position: absolute; z-index: 2; top: 0; left: -8px; max-width: 290px;
  background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 16px 20px 14px;
  box-shadow: var(--shadow); transform: rotate(-2.5deg);
}
.bubble::after {
  content: ""; position: absolute; left: 54px; bottom: -14px; width: 22px; height: 22px; background: var(--white);
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) skew(8deg, 8deg);
}
.bubble p { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; }
.bubble small { display: block; margin-top: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--white { background: var(--white); border-block: 2px solid var(--ink); }
.section--ink { background: var(--ink); color: #D5E5EB; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .tag { color: var(--sea); }
.section--ink .lede { color: #B5CCD5; }
.section--sea { background: var(--sea-tint); border-block: 2px solid var(--ink); }
.section--sea .tag { color: #4E6474; }

/* Project cards */
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.project {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px;
  border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .14s ease, box-shadow .14s ease;
}
.project:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.project__img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--ink); overflow: hidden; background: var(--white); display: grid; place-items: center; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__img svg { width: 34px; height: 34px; }
.project h3 { margin-top: 6px; }
.project p { font-size: .94rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.project__more { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 12px; border-top: 2px dashed rgba(12, 42, 58, .25); }
.project__badge { position: absolute; top: 18px; right: 16px; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.t-sea { background: var(--sea-tint); } .t-sky { background: var(--sky-tint); } .t-brass { background: var(--brass-tint); }
.t-blush { background: var(--blush-tint); } .t-lilac { background: var(--lilac-tint); } .t-leaf { background: var(--leaf-tint); }
.t-white { background: var(--white); } .t-mist { background: var(--mist-deep); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; max-width: 1080px; margin-inline: auto; }
.step { border: 1.5px solid rgba(169, 218, 240, .28); border-radius: var(--radius-md); padding: 26px 24px; background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; }
.step__num { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; color: var(--sea); }
.step h3 { margin-top: 14px; font-size: 1.4rem; }
.step p { margin-top: 10px; font-size: .96rem; color: #B5CCD5; flex: 1; }
.step__time { margin-top: 22px; padding-top: 14px; border-top: 1.5px dashed rgba(169, 218, 240, .3); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; }
.step__time svg { width: 14px; height: 14px; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.why .lede { margin-top: 22px; }
.why .btn { margin-top: 32px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.feature__icon { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sea); display: grid; place-items: center; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 16px; }
.feature p { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.feature a { font-weight: 500; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.review { display: flex; flex-direction: column; padding: 26px 24px 22px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.review blockquote { margin: 14px 0 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 2px dashed rgba(12, 42, 58, .18); }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; flex: none; }
.review footer b { display: block; font-size: .98rem; line-height: 1.2; }
.review footer small { color: var(--ink-muted); font-size: .84rem; }
.reviews__more { margin-top: 36px; text-align: center; }
.reviews__more a { font-weight: 500; }

/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.shot { margin: 0; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.shot img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.shot figcaption { padding: 12px 16px; font-size: .95rem; font-weight: 500; border-top: 2px solid var(--ink); line-height: 1.3; }

/* Crew */
.crew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.crew__art { position: relative; padding-top: 64px; }
.crew__photo { border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.crew__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; }
.crew .bubble { top: 0; left: auto; right: -6px; transform: rotate(2deg); }
.crew .bubble::after { left: auto; right: 64px; }
.crew h2 { margin-top: 0; }
.crew p + p { margin-top: 16px; }
.crew .lede { margin-top: 22px; }
.crew__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Area */
.area { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.area__copy p { color: var(--ink-soft); }
.area__copy p + p { margin-top: 16px; }
.area__copy h2 + p { margin-top: 26px; }
.states { display: grid; gap: 18px; }
.state { border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); padding: 22px 22px 20px; }
.state__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.state h3 a { display: inline-block; padding: 10px 0; margin-block: -10px; text-decoration: none; }
.state h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.state__phone { font-family: var(--mono); font-size: .82rem; text-decoration: none; }
.state__office { margin-top: 6px; font-size: .9rem; color: var(--ink-muted); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.towns a, .towns span { font-size: .86rem; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; background: var(--mist); }
.towns a:hover { background: var(--sea-tint); }

/* FAQ */
.faq { max-width: 860px; margin: 48px auto 0; display: grid; gap: 14px; }
.faq details { border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sea); position: relative; transition: transform .2s ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-soft); max-width: 44em; }
.faq details > div p + p { margin-top: 12px; }

/* Quote */
.quote { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote h2 .l2 { color: var(--sea); display: block; }
.quote .lede { margin-top: 24px; }
.quote__direct { margin-top: 36px; display: grid; gap: 14px; max-width: 420px; }
.direct { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1.5px solid rgba(169, 218, 240, .3); border-radius: var(--radius-md); text-decoration: none; color: var(--white); }
.direct:has(a:hover) { border-color: var(--sea); background: rgba(127, 214, 194, .08); }
.direct__num { color: inherit; text-decoration: none; }
.direct small { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.direct b, .direct__num { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.direct:has(.direct__num) { flex-wrap: wrap; row-gap: 0; }
@media (max-width: 480px) { .direct:has(.direct__num) { flex-direction: column; align-items: flex-start; } }
.direct span.go { font-weight: 500; color: var(--sky); white-space: nowrap; }
.direct .go a { display: inline-block; padding: 10px 2px; color: var(--sea); text-decoration: none; }
.direct .go a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-card { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--sea); padding: clamp(22px, 3vw, 36px); }
.form-card h3 { font-size: 1.6rem; color: var(--ink); }
.form-card > p { color: var(--ink-muted); margin-top: 6px; font-size: .95rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 13px 14px; min-height: 50px;
  border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--mist);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: 0 0 0 3px var(--sky); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip span { display: inline-flex; align-items: center; padding: 10px 16px; min-height: 44px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 500; line-height: 1.2; }
.chip:hover span { background: var(--mist-deep); }
.chip input:checked + span { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--sea); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.field .chips { gap: 8px; }
.field .chip { font-family: var(--body); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.field .chip span { padding: 8px 14px; min-height: 44px; font-size: .92rem; }
.file-drop { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px dashed var(--ink); border-radius: var(--radius-sm); background: var(--mist); cursor: pointer; font-size: .95rem; }
.file-drop svg { width: 24px; height: 24px; flex: none; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop:focus-within { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.field__error { margin-top: 2px; color: #B3261E; font-size: .9rem; font-weight: 500; line-height: 1.35; }
.field__error[hidden] { display: none; }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-fine { margin-top: 14px; font-size: .84rem; color: var(--ink-muted); text-align: center; }
.form-done { display: none; text-align: center; padding: 32px 8px; }
.form-done h3 { font-size: 2rem; }
.form-done p { margin-top: 10px; color: var(--ink-soft); }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-done { display: block; }

/* Footer */
.footer { background: #082130; color: #A9C2CC; padding-block: 72px 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer .brand__name { color: var(--white); }
.footer .brand__sub { color: #7E9CA8; white-space: normal; }
.footer p { margin-top: 18px; max-width: 30em; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__map { display: block; margin-top: 20px; max-width: 360px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(169, 218, 240, .18); }
.footer__map img { display: block; width: 100%; }
.footer__phone { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--white); letter-spacing: -0.02em; }
.footer__bottom a { display: inline-block; padding: 14px 0; margin-block: -14px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(169, 218, 240, .18); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #6F8D99; }

/* Mobile action bar */
.action-bar { display: none; }

/* Load moment: dimension lines draw, bubble lands */
@media (prefers-reduced-motion: no-preference) {
  .dim .draw { animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) .35s both; }
  .dim__label { animation: fade .4s ease 1.2s both; }
  .hero__art .bubble { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 1.45s both; }
  @keyframes draw { from { stroke-dashoffset: 600; } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92) rotate(-2.5deg); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Responsive */
/* The header's six links need about 1240px; below that they move into the menu. */
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav { position: fixed; inset: 116px 0 auto 0; z-index: 49; background: var(--mist); border-bottom: 2px solid var(--ink); padding: 12px var(--gutter) 24px; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav a[aria-current="page"] { color: var(--sea-deep); }
  .menu-btn[aria-expanded="true"] .menu-btn__open, .menu-btn[aria-expanded="false"] .menu-btn__close { display: none; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: 14px 4px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-decoration: none; border-bottom: 1.5px dashed rgba(12, 42, 58, .2); }
  .mobile-nav__contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
  .mobile-nav .mobile-nav__contact .btn { display: flex; padding: 14px 18px; font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 1200px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .topbar__where { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 900px) {
  .hero .wrap, .why, .crew, .area, .quote { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .crew__art { order: 2; max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  /* Room for the action bar, in the footer's own color */
  .footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
  .topbar__where { display: none; }
  .topbar .wrap { justify-content: center; }
  .header .wrap { min-height: 68px; }
  .header__cta .btn { display: none; }
  .brand__mark { width: auto; height: 44px; }
  .brand__name { font-size: 1.2rem; }
  .header .brand__sub { display: none; }
  .mobile-nav { inset: 106px 0 auto 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__art { padding: 84px 0 44px 40px; }
  .dim--v { top: 84px; bottom: 44px; left: 0; }
  .dim--h { left: 40px; }
  .bubble { max-width: 250px; padding: 14px 16px 12px; }
  .bubble p { font-size: 1rem; }
  .proof { gap: 18px 28px; }
  /* Homepage: the stars and numbers on the first screen, above a shorter intro */
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__copy .proof { order: 1; margin-top: 24px; padding: 0 0 20px; border-top: 0; border-bottom: 2px dashed rgba(12, 42, 58, .2); align-self: stretch; }
  .hero__copy .lede { order: 2; margin-top: 20px; }
  .hero__copy .hero__actions { order: 3; align-self: stretch; }
  .hero__copy .hero__alt { order: 4; }
  .wide-only { display: none; }
  .phone-only { display: inline; }
  .projects, .steps, .reviews, .features { grid-template-columns: minmax(0, 1fr); }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; gap: 14px; }
  .shot { flex: 0 0 62%; scroll-snap-align: start; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .action-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--mist); border-top: 2px solid var(--ink);
  }
  .action-bar .btn { padding: 12px 8px; min-height: 48px; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
  /* Out of the way while typing in the quote form (it would sit on top of the keyboard) */
  body:has(.form-card input:not([type=radio]):not([type=file]):focus, .form-card textarea:focus) .action-bar { display: none; }
}

/* ===================================================================
   Inner pages
   =================================================================== */

/* Page hero: the homepage hero's smaller sibling */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px;
  background: radial-gradient(closest-side, rgba(169, 218, 240, .5), transparent); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -0.03em; word-spacing: .05em; margin-top: 22px; text-wrap: balance; }
.page-hero h1 em { font-style: normal; color: var(--sea-deep); }
.page-hero .lede { margin-top: 24px; }
.page-hero .hero__actions { margin-top: 30px; }
.page-hero .proof { margin-top: 36px; padding-top: 24px; }
.page-hero--ink { background: var(--ink); color: #D5E5EB; border-bottom: 2px solid var(--ink); }
.page-hero--ink::before { background: radial-gradient(closest-side, rgba(127, 214, 194, .22), transparent); }
.page-hero--ink h1 { color: var(--white); }
.page-hero--ink h1 em { color: var(--sea); }
.page-hero--ink .lede { color: #B5CCD5; }
.page-hero--ink .crumbs, .page-hero--ink .crumbs a { color: #8FB0BD; }
.page-hero--ink .proof { border-top-color: rgba(169, 218, 240, .25); }
.page-hero--ink .proof__item small { color: #8FB0BD; }
.page-hero--ink .proof__item b { color: var(--white); }
.page-hero--center .wrap { grid-template-columns: minmax(0, 1fr); max-width: 900px; text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .hero__actions { justify-content: center; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }

.page-art { position: relative; padding-top: 58px; }
.page-art__photo { border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); transform: rotate(1.2deg); }
.page-hero--ink .page-art__photo { box-shadow: 8px 8px 0 var(--sea); border-color: var(--white); }
.page-art__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.page-art__photo--wide img { aspect-ratio: 4 / 3; }
.page-art .bubble { top: 0; left: -10px; }
.page-art .hero__chip { right: 18px; bottom: 18px; }
.page-art--plain { padding-top: 0; }

/* Generic split: copy beside a picture or card */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media { border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media figcaption { padding: 12px 18px; border-top: 2px solid var(--ink); font-size: .92rem; color: var(--ink-soft); }
.split h2 + p, .split h2 + .lede { margin-top: 22px; }

/* Long-form copy */
.prose { max-width: 40em; color: var(--ink-soft); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--ink); margin-top: 56px; }
.prose h3 { color: var(--ink); margin-top: 36px; font-size: 1.4rem; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--sea-deep); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 500; }

/* Brass call-out */
.callout { padding: 22px 24px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--brass-tint); box-shadow: var(--shadow); color: var(--ink); }
.callout h3, .section--ink .callout h3 { font-size: 1.25rem; color: var(--ink); }
.callout p { margin-top: 8px; color: var(--ink-soft); }
.callout--sea { background: var(--sea-tint); }
.callout--sky { background: var(--sky-tint); }

/* Price "work order": what goes into the number */
.ticket { position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ticket__head { padding: 26px 28px 22px; background: var(--brass); border-bottom: 3px solid var(--ink); }
.ticket__head small { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ticket__head strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.ticket__head p { margin-top: 8px; font-size: .95rem; }
.ticket ol { list-style: none; margin: 0; padding: 8px 28px 10px; counter-reset: line; }
.ticket li { counter-increment: line; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 2px dashed rgba(12, 42, 58, .18); }
.ticket li:last-child { border-bottom: 0; }
.ticket li::before { content: counter(line, decimal-leading-zero); font-family: var(--mono); font-size: .78rem; color: var(--ink-muted); padding-top: 4px; }
.ticket li b { font-family: var(--display); font-size: 1.08rem; }
.ticket li span { grid-column: 2; font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }
.ticket__foot { padding: 18px 28px; background: var(--mist); border-top: 3px solid var(--ink); font-size: .95rem; }

/* Two-up checklist cards */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.check-card { padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.check-card h3 { display: flex; align-items: center; gap: 12px; }
.check-card h3 i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; font-style: normal; font-size: 1rem; }
.check-card--do h3 i { background: var(--sea); }
.check-card--dont h3 i { background: var(--blush-tint); }
.check-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.check-card li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .97rem; line-height: 1.5; }
.check-card li::before { position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink); }
.check-card--do li::before { content: "✓"; color: var(--sea-deep); }
.check-card--dont li::before { content: "✕"; color: #B3261E; }

/* Card grid for services, uses, clients */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-top: 14px; }
.card h3:first-child { margin-top: 0; }
.card p { margin-top: 8px; font-size: .96rem; color: var(--ink-soft); line-height: 1.55; }
.card__img { margin: -24px -24px 18px; border-bottom: 2px solid var(--ink); border-radius: calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0 0; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section--ink .card { background: rgba(255, 255, 255, .04); border-color: rgba(169, 218, 240, .3); box-shadow: none; }
.section--ink .card p { color: #B5CCD5; }

/* Chip list (who we work with, towns) */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.pill-list li { padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 500; font-size: .95rem; }
.section--ink .pill-list li { background: transparent; border-color: rgba(169, 218, 240, .4); color: var(--white); }

/* Local office "postcard" */
.office { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 26px 28px; border: 3px solid var(--ink); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.office small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.office address { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin-top: 6px; }
.office__area { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
.office__phone { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; text-decoration: none; }
.office__stamp { width: 96px; height: 96px; border: 2px dashed var(--ink); border-radius: 14px; display: grid; place-items: center; text-align: center; background: var(--sea-tint); transform: rotate(6deg); font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.office__stamp small { display: block; font-size: .58rem; margin-top: 4px; }
.office-call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; padding-inline: 4px; }
.office-call .office__phone { margin-top: 0; color: var(--ink); }
.office-call__go { font-weight: 500; color: var(--ink-muted); white-space: nowrap; }
.office-call__go a { display: inline-block; padding: 10px 2px; font-weight: 700; color: var(--ink); }

/* Service-area map */
.map-card { margin: 0; border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.map-card img { width: 100%; }
.map-card figcaption { padding: 12px 18px; border-top: 2px solid var(--ink); font-size: .92rem; color: var(--ink-soft); }

/* Team member */
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; border: 3px solid var(--ink); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.person img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 3px solid var(--ink); background: var(--sky-tint); }
.person h3 { font-size: 1.8rem; letter-spacing: -0.02em; }
.person small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 6px; }
.person p { margin-top: 14px; color: var(--ink-soft); }

/* Glass samples photo with pinned labels */
.samples { position: relative; margin: 0; border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.samples img { width: 100%; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 3px 3px 0 var(--ink); font-family: var(--display); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.pin b { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: .8rem; background: var(--brass); }
.glass-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.glass-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 22px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.glass-item > b { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); background: var(--brass); }
.glass-item h3 { font-size: 1.25rem; }
.glass-item p { margin-top: 6px; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }

/* Hardware finish swatches */
.finishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.finish { text-align: center; padding: 26px 16px 20px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.finish i { display: block; width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--ink); }
.finish h3 { margin-top: 16px; font-size: 1.15rem; }
.finish p { margin-top: 6px; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }

/* Side-by-side compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.compare figure { margin: 0; border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.compare img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.compare figcaption { padding: 18px 22px 20px; border-top: 3px solid var(--ink); }
.compare figcaption h3 { display: flex; align-items: center; gap: 10px; }
.compare figcaption h3 i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); }
.compare figcaption p { margin-top: 8px; font-size: .96rem; color: var(--ink-soft); }
.edge-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.edge { height: 38px; border: 2px solid var(--ink); border-radius: 10px; position: relative; overflow: hidden; }
.edge span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.edge--clear { background: linear-gradient(90deg, #5FA07F, #9FD0B5 30%, #DCEFE5 75%); }
.edge--lowiron { background: linear-gradient(90deg, #9CC9DE, #D9EEF6 30%, #F6FBFD 75%); }

/* Showcase */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filters button { font: inherit; font-weight: 500; padding: 10px 18px; min-height: 44px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.filters button:hover { background: var(--mist-deep); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--sea); }
.masonry { columns: 3 300px; column-gap: 22px; margin-top: 36px; }
.masonry .shot { break-inside: avoid; margin: 0 0 22px; display: block; }
.masonry .shot img { aspect-ratio: auto; }
.masonry .shot[hidden] { display: none; }

/* Document page (warranty) */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 110px; padding: 20px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); }
.toc small { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 10px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.toc a:hover { background: var(--mist-deep); }
.doc__body > section + section { margin-top: 72px; padding-top: 56px; border-top: 2px dashed rgba(12, 42, 58, .2); }
.doc__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.doc__body h2 + * { margin-top: 18px; }
.doc__body .checks, .doc__body .habits { margin-top: 28px; }
.habits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.habit { padding: 20px; border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: 4px 4px 0 var(--ink); }
.habit small { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.habit h3 { margin-top: 8px; font-size: 1.15rem; }
.habit p { margin-top: 6px; font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }

/* Thank-you page */
.thanks-mark { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--ink); background: var(--sea); box-shadow: var(--shadow); display: grid; place-items: center; }
.thanks-mark svg { width: 46px; height: 46px; }

/* Quote section heading variations on the estimate page */
.quote--page { align-items: start; }

@media (max-width: 1200px) {
  .cards--4, .finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero .wrap, .split, .doc { grid-template-columns: minmax(0, 1fr); }
  .page-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
  .habits { grid-template-columns: minmax(0, 1fr); }
  .split__media { order: -1; }
  .split--keep .split__media { order: 0; }
}
@media (max-width: 640px) {
  .cards, .cards--2, .cards--4, .checks, .glass-list, .compare, .finishes { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .person img { width: 160px; height: 160px; }
  .office { grid-template-columns: minmax(0, 1fr); }
  .office__stamp { position: absolute; right: 16px; top: -24px; width: 76px; height: 76px; font-size: 1.25rem; }
  .pin { font-size: .8rem; padding: 5px 10px 5px 6px; }
  .pin b { width: 22px; height: 22px; }
  .page-hero .hero__actions .btn { flex: 1 1 100%; }
  .page-art { padding-top: 70px; }
  .ticket ol { padding-inline: 20px; }
  .ticket__head, .ticket__foot { padding-inline: 20px; }
  .finish i { width: 64px; height: 64px; }
}

.page-art__photo { position: relative; }
.nav a[aria-current="page"] { background: var(--sea-tint); }
@media (max-width: 900px) { .section--sea .split .hero__actions { justify-content: flex-start !important; } }
.projects--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .projects--3 { grid-template-columns: minmax(0, 1fr); } }
.split .reviews { grid-template-columns: minmax(0, 1fr); margin-top: 0; max-width: 520px; }

/* Explore: site-wide links at the foot of inner pages */
.explore { background: var(--white); border-top: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 96px); }
.explore__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.explore h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.link-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.explore__grid nav:last-child .link-list { grid-template-columns: minmax(0, 1fr); }
.link-list a { display: block; padding: 12px 0; border-bottom: 1.5px dashed rgba(12, 42, 58, .2); text-decoration: none; min-height: 48px; }
.link-list a b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.link-list a span { display: block; font-size: .9rem; color: var(--ink-muted); line-height: 1.4; margin-top: 2px; }
.link-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.link-list a[aria-current="page"] { pointer-events: none; border-bottom-style: solid; }
.link-list a[aria-current="page"] b { color: var(--sea-deep); }
@media (max-width: 900px) { .explore__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .link-list { grid-template-columns: minmax(0, 1fr); } }

/* ===================================================================
   Phone pass: most visitors arrive on a phone
   =================================================================== */
html { -webkit-tap-highlight-color: rgba(127, 214, 194, .25); }
section[id], [id="quote"] { scroll-margin-top: 84px; }
@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .explore { padding-block: 48px; }
  h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .section-head .lede, .lede { font-size: 1.02rem; }
  .page-art__photo img { aspect-ratio: 4 / 3.6; }
  .page-art__photo { transform: none; }

  /* Swipe instead of a long stack */
  .reviews, .cards--4 {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; gap: 14px; -webkit-overflow-scrolling: touch;
  }
  .reviews > *, .cards--4 > * { flex: 0 0 82%; scroll-snap-align: start; }
  .split .reviews { display: grid; margin: 0; padding: 0; overflow: visible; }

  /* Tighter steps */
  .steps { gap: 12px; }
  .step { padding: 20px; }
  .step__num { font-size: 2.6rem; }

  /* Two-up photo wall */
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .shot { margin-bottom: 10px; box-shadow: 3px 3px 0 var(--ink); border-radius: 14px; }
  .masonry .shot figcaption { padding: 8px 10px; font-size: .8rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px; justify-content: flex-start !important; }
  .filters button { flex: none; }

  /* Bigger tap targets */
  .towns a, .towns span { padding: 9px 14px; font-size: .9rem; }
  .footer ul { gap: 2px; }
  .footer ul a { display: inline-block; padding: 10px 0; }
  .crumbs { font-size: .7rem; align-items: center; row-gap: 0; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 7px; margin-inline: -7px; }
  .page-hero .crumbs + h1 { margin-top: 12px; }
  .topbar a { display: inline-block; padding: 13px 0; }
  .reviews__more a { display: inline-block; padding: 10px 0; }
}
/* The narrowest phones (320px): the homepage headline's unbroken lines fit */
@media (max-width: 360px) {
  .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 640px) {
  .state__phone { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
  .tag, .project__more, .step__time, .bubble small, .field label, .field .label, .direct small,
  .footer h4, .project__badge, .office small, .ticket__head small, .habit small, .toc small, .edge span, .pill-tag { font-size: 12px; }
}

/* Showcase spotlight: one install at full size */
.spotlight { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 44px; }
.spotlight__stage { position: relative; margin: 0; border: 3px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); scroll-margin-top: 84px; }
.spotlight__stage img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; transition: opacity .25s ease; }
.spotlight__stage img.is-loading { opacity: .35; }
.spotlight__stage figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 20px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: 4px 4px 0 var(--ink); }
.spotlight__stage figcaption h3 { font-size: 1.3rem; }
.spotlight__stage figcaption p { margin-top: 4px; font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.spotlight__side { display: grid; gap: 24px; justify-items: start; position: sticky; top: 104px; }
.spotlight__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.spotlight__thumbs button { font: inherit; color: var(--ink); text-align: left; padding: 0; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.spotlight__thumbs button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.spotlight__thumbs button[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--sea-deep); outline: 3px solid var(--sea); outline-offset: 0; }
.spotlight__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.spotlight__thumbs span { display: block; padding: 7px 9px; font-size: .82rem; font-weight: 500; line-height: 1.25; border-top: 2px solid var(--ink); }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .spotlight__side { position: static; }
}
@media (max-width: 640px) {
  .spotlight { margin-top: 28px; gap: 20px; }
  .spotlight__stage img { aspect-ratio: 4 / 5; }
  .spotlight__stage figcaption { position: static; padding: 12px 16px 14px; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
  .spotlight__stage figcaption h3 { font-size: 1.1rem; }
  .spotlight__stage figcaption p { font-size: .88rem; }
  .spotlight__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 12px; width: auto; min-width: 0; justify-self: stretch; }
  .spotlight__thumbs button { flex: 0 0 30%; scroll-snap-align: start; }
}

/* Kinds of shower: big photo cards */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 22px; margin-top: 52px; }
.type { position: relative; display: flex; flex-direction: column; color: var(--ink); }
.type__text { display: block; flex: 1; text-decoration: none; color: inherit; }
.type__photo { position: relative; display: block; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); background: var(--mist-deep); transition: transform .14s ease, box-shadow .14s ease; }
.type__photo img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; }
.type__photo .shot__open img { display: block; }
/* A video card (the play button and, once pressed, the player) keeps the photo cards' shape */
.type__photo .video__play img, .type__photo iframe { display: block; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border: 0; }
.type__photo--icon { aspect-ratio: 4 / 4.8; display: grid; place-items: center; background: var(--sky-tint); }
.type__photo--icon svg { width: 42%; height: auto; }
.type__photo .project__badge { top: 12px; right: 12px; pointer-events: none; }
.type__photo:has(.shot__open:hover) { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.type h3 { margin-top: 16px; font-size: 1.25rem; }
.type__text:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.type p { margin-top: 4px; font-size: .94rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 1200px) { .types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .types { gap: 20px 12px; margin-top: 32px; }
  .type__photo { box-shadow: 3px 3px 0 var(--ink); border-radius: 14px; }
  .type__photo img, .type__photo--icon { aspect-ratio: 4 / 5; }
  .type__photo .video__play img, .type__photo iframe { aspect-ratio: 4 / 5; }
  .type h3 { margin-top: 10px; font-size: 1.05rem; }
  .type p { font-size: .86rem; line-height: 1.4; }
  .type__photo .project__badge { top: 8px; right: 8px; letter-spacing: .02em; padding: 4px 8px; }
}

/* Header fit: the tagline lives in the footer; keep the top row on one line */
.header .brand__sub { display: none; }
.header .brand { flex-shrink: 0; }
.header .brand__name { white-space: nowrap; }
.nav { gap: 2px; }
.nav a { padding: 10px 10px; }

.steps__after { margin: 24px auto 0; max-width: 1080px; padding: 16px 22px; border: 1.5px dashed rgba(127, 214, 194, .55); border-radius: var(--radius-md); text-align: center; color: #D5E5EB; }
.steps__after b { color: var(--sea); font-family: var(--display); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; } .steps__after { max-width: 560px; } }

/* Contractor reviews inside the "why" band */
.why .reviews { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
.why .review { padding: 18px 20px 16px; box-shadow: 4px 4px 0 var(--ink); }
.why .review blockquote { margin-top: 8px; font-size: .96rem; }
.why .review footer { margin-top: 14px; padding-top: 12px; }
@media (max-width: 640px) { .why .reviews { display: grid; margin: 24px 0 0; padding: 0; overflow: visible; } }
.type__photo--sea { background: var(--sea-tint); }
.types__more { margin-top: 36px; text-align: center; color: var(--ink-soft); }
.types__more a { font-weight: 700; display: inline-block; padding: 10px 0; }
.spotlight__thumbs button[hidden] { display: none; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* YouTube videos (Shorts, so 9:16): a cover photo until pressed */
.video { margin: 0; width: 100%; max-width: 300px; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.video__play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; }
.video__play img, .video iframe { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 0; }
.video__icon { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--sea); box-shadow: 3px 3px 0 var(--ink); }
.video__icon svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--ink); }
.video__play:hover .video__icon { background: var(--white); }
.video__play:focus-visible { outline: 3px solid var(--sky); outline-offset: -6px; }
.video__time { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(12, 42, 58, .85); color: var(--white); font-size: .82rem; font-weight: 500; }
.video figcaption { padding: 12px 16px; font-size: .95rem; font-weight: 500; border-top: 2px solid var(--ink); line-height: 1.3; }
.video-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.video-split__text { display: grid; gap: 20px; }
@media (max-width: 760px) { .video-split { grid-template-columns: minmax(0, 1fr); } }

/* Photo viewer: tap a gallery photo to see it full screen (js/site.js) */
.shot__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot__open:focus-visible { outline-offset: -5px; }
.spotlight__zoom { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--sea); pointer-events: none; }
.spotlight__zoom svg { width: 20px; height: 20px; }
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 33, 48, .96); color: var(--white); }
.viewer::backdrop { background: rgba(8, 33, 48, .96); }
html:has(.viewer[open]) { overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.viewer figure { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 72px 16px 8px; }
.viewer img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.viewer figcaption { padding: 12px 4px 0; text-align: center; font-weight: 500; line-height: 1.35; }
.viewer__bar { display: flex; justify-content: center; gap: 16px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
.viewer button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--sea); cursor: pointer; }
.viewer button svg { width: 22px; height: 22px; }
.viewer__close { position: absolute; top: 16px; right: 16px; }
.viewer :focus-visible { outline-color: var(--sea); }

/* Four-step renovation timeline (the postcard landing page) */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; }
@media (max-width: 1200px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
@media (max-width: 640px) { .steps--4 { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
