/* Hemingway's Floor Cleaning Service: before and after, on a bright coastal ground.
   Type: Sorts Mill Goudy (display, their logo's voice) + Rethink Sans (body and UI). */

:root {
  --salt: #FFFFFF;
  --mist: #EEF5F6;
  --harbor: #0F2B36;
  --slate: #48626C;
  --tide: #05707D;
  --tide-deep: #045C67;
  --teal: #0CAEC4;
  --sun: #FFD64A;
  --grime: #877C6E;
  --foam: #CFE6E9;
  --rule: rgba(15, 43, 54, 0.14);
  --rule-strong: rgba(15, 43, 54, 0.28);
  --sa-accent: #05707D;
  --sa-accent-ink: #FFFFFF;
  --display: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --text: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 10px;
  --s-sec: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--harbor);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.62;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tide-deep); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--harbor); margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; }
h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(25px, 2.2vw, 31px); line-height: 1.16; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: 0 0 0.35em; }
::selection { background: var(--foam); color: var(--harbor); }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 3px; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--harbor); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.58; color: var(--harbor); max-width: 40em; }
.muted { color: var(--slate); }
.small { font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px;
  font: 600 17px/1.2 var(--text); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  background: var(--tide); color: #fff; transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--tide-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--harbor { background: var(--harbor); }
.btn--harbor:hover { background: #1B4050; }
.btn--sun { background: var(--sun); color: var(--harbor); }
.btn--sun:hover { background: #FFCB14; color: var(--harbor); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.call-link { font-weight: 500; color: var(--harbor); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.call-link:hover { color: var(--tide-deep); }
.call-link .num { font-weight: 600; }

/* ---------------------------------------------------------------- masthead (a two-row letterhead) */
.masthead { background: var(--salt); position: relative; z-index: 20; }
.masthead__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 18px; }
.brand { display: block; line-height: 0; }
.brand img { width: clamp(186px, 19vw, 256px); height: auto; }
.masthead__contact { text-align: right; }
.masthead__tel { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--harbor); text-decoration: none; }
.masthead__tel:hover { color: var(--tide); }
.masthead__hours { display: block; font-size: 14px; line-height: 1.4; color: var(--slate); margin-top: 4px; }
.masthead__nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 30px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: inline-block; padding: 13px 0 12px; font-size: 16px; font-weight: 500; color: var(--harbor); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--tide); border-bottom-color: var(--foam); }
.nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .masthead__top { padding-top: 14px; padding-bottom: 14px; }
  .masthead__contact { display: none; }
  .menu-btn { display: inline-flex; min-height: 46px; padding: 0 18px; font-size: 16px; }
  .masthead__nav { display: none; }
  .masthead__nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--salt); box-shadow: 0 18px 40px rgba(15, 43, 54, 0.14); }
  .masthead__nav .nav { flex-direction: column; gap: 0; padding: 6px 0 14px; }
  .masthead__nav .nav a { display: block; padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .masthead__nav .nav a[aria-current="page"] { color: var(--tide); border-bottom-color: var(--rule); }
  .masthead__nav .nav__tel { font-family: var(--display); font-size: 24px !important; }
}
@media (min-width: 901px) { .nav__tel-item { display: none; } }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--s-sec) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin: 0; color: var(--slate); max-width: 34em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the 3D story (home) */
.story { position: relative; background: var(--mist); }
.story__stage { position: relative; overflow: hidden; background: var(--mist); }
.story__still { width: 100%; height: 100%; object-fit: cover; }
.story__canvas { display: none; }
.beat { padding: clamp(28px, 4vw, 48px) 0; }
.beat__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.beat h1 { max-width: 12.5em; }
.beat h2 { max-width: 14em; }
.beat p { max-width: 34em; margin-top: 18px; }
.beat__note { font-size: 15px; color: var(--slate); }

/* without 3D: a calm hero, the words then the still, then the two short beats */
html:not(.has-3d) .story { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
html:not(.has-3d) .story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
html:not(.has-3d) .beat__in { padding: 0; }
html:not(.has-3d) .beat { padding: 0; }
html:not(.has-3d) .beat--1 { order: 0; }
html:not(.has-3d) .story__stage { order: 1; border-radius: var(--radius); aspect-ratio: 1 / 1; }
html:not(.has-3d) .beat--2 { order: 2; }
html:not(.has-3d) .beat--3 { order: 3; }
html:not(.has-3d) .beat h1 { font-size: clamp(40px, 4.6vw, 66px); }
html:not(.has-3d) .beat--2 h2, html:not(.has-3d) .beat--3 h2 { font-size: clamp(28px, 2.6vw, 38px); }
html:not(.has-3d) .story__still--d { display: none; }
html:not(.has-3d) .story__still { object-position: 50% 78%; }
@media (min-width: 1000px) {
  html:not(.has-3d) .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px 64px; align-items: center; }
  html:not(.has-3d) .story__stage { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
  html:not(.has-3d) .story__still--d { display: block; }
  html:not(.has-3d) .story__still--m { display: none; }
  html:not(.has-3d) .beat--1 { grid-column: 1; grid-row: 1; }
  html:not(.has-3d) .beat--2 { grid-column: 1; grid-row: 2; align-self: start; padding-top: 24px; border-top: 1px solid var(--rule); }
  html:not(.has-3d) .beat--3 { grid-column: 2; grid-row: 2; align-self: start; padding-top: 24px; border-top: 1px solid var(--rule); }
}

/* with 3D: a tall scroll track, a sticky full-height stage, words over the misty top of the floor */
.has-3d .story { height: 330vh; }
.has-3d .story__grid { position: sticky; top: 0; height: 100vh; height: 100svh; }
.has-3d .story__stage { position: absolute; inset: 0; }
.has-3d .story__still { position: absolute; inset: 0; opacity: 1; transition: opacity 0.6s ease; }
.has-3d .story__still--m { display: none; }
@media (max-aspect-ratio: 4/5) { .has-3d .story__still--d { display: none; } .has-3d .story__still--m { display: block; } }
.has-3d .story.is-live .story__still { opacity: 0; }
.has-3d .story__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.has-3d .story__stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; pointer-events: none; background: linear-gradient(180deg, rgba(238, 245, 246, 0.9) 0%, rgba(238, 245, 246, 0.55) 55%, rgba(238, 245, 246, 0) 100%); }
.has-3d .beat { position: absolute; left: 0; right: 0; top: clamp(24px, 6vh, 72px); padding: 0; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; }
.has-3d .beat__in > * { max-width: 640px; }
.has-3d .beat--1 h1 { max-width: 15em; }
.has-3d .beat h1 { font-size: clamp(42px, 4.9vw, 74px); }
.has-3d .beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.has-3d .beat--1 { opacity: 1; transform: none; pointer-events: auto; }
.has-3d .beat--1.is-off { opacity: 0; transform: translateY(-12px); pointer-events: none; }

/* ---------------------------------------------------------------- proof line */
.proof { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: center; }
.proof__score { display: flex; align-items: baseline; gap: 18px; }
.proof__num { font-family: var(--display); font-size: clamp(88px, 11vw, 150px); line-height: 0.9; color: var(--harbor); }
.proof__of { font-size: 18px; line-height: 1.4; color: var(--harbor); }
.proof__of strong { font-weight: 600; }
.stars { color: #C79200; letter-spacing: 3px; font-size: 20px; line-height: 1; display: block; margin-bottom: 8px; }
.stars--sm { font-size: 15px; letter-spacing: 2px; margin: 0; }
.proof blockquote { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.32; color: var(--harbor); }
.proof cite { display: block; margin-top: 14px; font: 500 15px/1.4 var(--text); font-style: normal; color: var(--slate); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the before and after slider */
.ba { margin: 0; }
.ba__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba__pane { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.ba__pane img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, 4 / 3); }
.ba__tag { position: absolute; top: 14px; z-index: 4; padding: 6px 11px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.94); color: var(--harbor); font: 600 14px/1 var(--text); letter-spacing: 0.01em; pointer-events: none; box-shadow: 0 1px 2px rgba(15, 43, 54, 0.18); }
.ba__pane--before .ba__tag { left: 14px; }
.ba__pane--after .ba__tag { right: 14px; }
.ba__range, .ba__rule { display: none; }
.ba figcaption, .dip figcaption, .shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--slate); max-width: 46em; }
.ba figcaption strong, .dip figcaption strong, .shot figcaption strong { color: var(--harbor); font-weight: 600; }

.ba.is-live .ba__frame { display: block; position: relative; aspect-ratio: var(--ar, 4 / 3); border-radius: var(--radius); overflow: hidden; background: var(--mist); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba.is-live .ba__pane { position: absolute; inset: 0; border-radius: 0; }
.ba.is-live .ba__pane img { aspect-ratio: auto; -webkit-user-drag: none; }
.ba.is-live .ba__pane--before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba.is-live .ba__range { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba.is-live .ba__rule { display: block; position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 43, 54, 0.22), 0 0 18px rgba(15, 43, 54, 0.18); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px var(--harbor), 0 6px 18px rgba(15, 43, 54, 0.28); transition: transform 0.18s ease; }
.ba__grip::before, .ba__grip::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -7px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ba__grip::before { left: 12px; border-right: 9px solid var(--harbor); }
.ba__grip::after { right: 12px; border-left: 9px solid var(--harbor); }
.ba.is-live .ba__frame:hover .ba__grip, .ba.is-dragging .ba__grip { transform: scale(1.06); }
.ba__range:focus-visible ~ .ba__rule .ba__grip { box-shadow: 0 0 0 2px var(--harbor), 0 0 0 6px #fff, 0 0 0 9px var(--tide); }
.ba__hint { display: none; }
.ba.is-live .ba__hint { display: inline; }

/* diptych: two photographs of one job taken from different spots, side by side */
.dip { margin: 0; }
.dip__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dip__pair figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.dip__pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, 4 / 3); }
.dip__pair .ba__tag { left: 14px; }

.shot { margin: 0; }
.shot img { border-radius: var(--radius); width: 100%; object-fit: cover; background: var(--mist); }

/* galleries of work */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 36px); }
.work-grid > * { grid-column: span 6; }
.work-grid > .span-12 { grid-column: span 12; }
.work-grid > .span-8 { grid-column: span 8; }
.work-grid > .span-7 { grid-column: span 7; }
.work-grid > .span-5 { grid-column: span 5; }
.work-grid > .span-4 { grid-column: span 4; }
@media (max-width: 860px) { .work-grid > * , .work-grid > .span-8, .work-grid > .span-7, .work-grid > .span-5, .work-grid > .span-4 { grid-column: span 12; } }
.work-more { margin-top: clamp(32px, 4vw, 52px); }

/* ---------------------------------------------------------------- services list (ruled, typographic) */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--rule-strong); }
.svc-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 22px 0 20px; text-decoration: none; color: var(--harbor); }
.svc-list .svc-name { font-family: var(--display); font-size: clamp(25px, 2.2vw, 31px); line-height: 1.15; }
.svc-list .svc-more { align-self: center; font-size: 15px; font-weight: 600; color: var(--tide); white-space: nowrap; }
.svc-list .svc-desc { grid-column: 1 / -1; font-size: 16px; line-height: 1.5; color: var(--slate); max-width: 34em; }
.svc-list a:hover .svc-name { color: var(--tide); }
.svc-list a:hover .svc-more { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- owner */
.owner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.owner__photo { position: sticky; top: 28px; }
.owner__photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.owner__body p { color: var(--harbor); }
.creds { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.creds img.iicrc { width: 150px; height: auto; border-radius: 4px; }
.creds p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--slate); max-width: 26em; }
@media (max-width: 860px) { .owner { grid-template-columns: 1fr; } .owner__photo { position: static; } }

.cert-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.cert-row figure { margin: 0; }
.cert-row img { border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 10px 26px rgba(15, 43, 54, 0.1); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; background: #fff; }
.cert-row figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--slate); }
.cert-row figcaption strong { display: block; color: var(--harbor); font-weight: 600; }
@media (max-width: 760px) { .cert-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.quote { margin: 0; padding: 28px 28px 24px; background: var(--salt); border-radius: var(--radius); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.section--mist .quote { border-color: transparent; box-shadow: 0 1px 2px rgba(15, 43, 54, 0.06); }
.quote blockquote { margin: 14px 0 18px; font-size: 17px; line-height: 1.6; color: var(--harbor); }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.mono { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--foam); color: var(--harbor); font: 600 15px/1 var(--text); }
.quote__who { display: block; font-weight: 600; color: var(--harbor); }
.quote__when { display: block; color: var(--slate); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.reply { margin-top: 0; margin-bottom: 18px; padding: 12px 16px; border-left: 3px solid var(--teal); background: var(--mist); font-size: 15px; line-height: 1.5; color: var(--harbor); border-radius: 0 6px 6px 0; }
.reply b { display: block; font-weight: 600; margin-bottom: 2px; }
.review-list { columns: 2 380px; column-gap: clamp(20px, 2.6vw, 36px); }
.review-list .quote { break-inside: avoid; margin-bottom: clamp(20px, 2.6vw, 36px); }
.clamp.is-clamped blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { display: none; align-self: flex-start; margin: -8px 0 16px; padding: 8px 0; background: none; border: 0; font: 600 15px/1.2 var(--text); color: var(--tide); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.clamp.can-clamp .more-btn { display: inline-block; }
.star-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.star-wall li { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.star-wall .when { color: var(--slate); white-space: nowrap; }
.review-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 32px; }

/* ---------------------------------------------------------------- inner page header */
.crumbs { font-size: 15px; color: var(--slate); padding-top: clamp(24px, 3vw, 40px); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { color: var(--slate); }
.page-head { padding-top: 18px; padding-bottom: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px clamp(32px, 5vw, 80px); align-items: center; }
.page-head h1 { font-size: clamp(42px, 5vw, 72px); }
.page-head .lead { margin: 0; }
.page-head .actions { margin-top: 22px; }
@media (max-width: 900px) { .page-head { grid-template-columns: 1fr; align-items: start; } }
.page-hero { margin-bottom: clamp(56px, 6vw, 88px); }

/* ---------------------------------------------------------------- prose blocks on inner pages */
.cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 5vw, 80px); }
.cols > h2 { position: sticky; top: 24px; align-self: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols > h2 { position: static; } }
.prose { max-width: 40em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin-bottom: 1.2em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; border-top: 1px solid var(--rule); }
.ticks li { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--rule); }
.split-list { columns: 2 220px; column-gap: 32px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--rule-strong); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 22px 0; margin: 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--tide); }
.steps h3 { font-size: 24px; }
.steps p { margin: 4px 0 0; color: var(--harbor); }

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 30px/1 var(--text); color: var(--tide); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; max-width: 40em; }
.faq .answer p:last-child { margin-bottom: 0; }

.band { background: var(--mist); border-radius: 14px; padding: clamp(32px, 4.4vw, 60px); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 20px 48px; align-items: center; }
.band h2 { font-size: clamp(30px, 3vw, 44px); }
.band p { margin: 12px 0 0; color: var(--slate); max-width: 34em; }
.band .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } .band .actions { justify-content: flex-start; } }

.chips-free { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ask-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 18px; }
.ask { min-height: 44px; padding: 0 16px; border-radius: 6px; border: 0; background: var(--harbor); color: #fff; font: 500 15px/1.2 var(--text); cursor: pointer; }
.ask:hover { background: #1B4050; }

/* ---------------------------------------------------------------- services hub */
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 44px); }
.hub-item a.hub-link { text-decoration: none; color: var(--harbor); }
.hub-item h2 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 18px; }
.hub-item p { margin: 10px 0 0; color: var(--slate); }
.hub-item .go { display: inline-block; margin-top: 12px; font-weight: 600; }
@media (max-width: 800px) { .hub { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- videos */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 960px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--harbor); cursor: pointer; aspect-ratio: 16 / 9; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.94; transition: opacity 0.2s ease, transform 0.4s ease; }
.video__btn:hover img { opacity: 1; transform: scale(1.02); }
.video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px var(--harbor), 0 8px 22px rgba(0, 0, 0, 0.3); }
.video__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 18px solid var(--harbor); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.video figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--harbor); }
.video-group + .video-group { margin-top: clamp(48px, 6vw, 80px); }
.video-group h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 24px; }

/* ---------------------------------------------------------------- areas and contact */
.towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); border-top: 1px solid var(--rule-strong); }
.town { padding: 24px 0 22px; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.town h3 { font-size: 28px; }
.town p { margin: 8px 0 0; color: var(--slate); }
@media (max-width: 760px) { .towns { grid-template-columns: 1fr; } }
.place { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; border-top: 1px solid var(--rule); padding-top: 18px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--harbor); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; display: block; }
.town-list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 16px 0 0; font-family: var(--display); font-size: 24px; }
.town-list li { margin: 0; }
.town-list a { color: var(--harbor); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.town-list a:hover { color: var(--tide); border-bottom-color: var(--tide); }

.form { display: grid; gap: 18px; max-width: 620px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 6px; background: #fff; font: 400 17px/1.4 var(--text); color: var(--harbor); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--tide); outline-offset: 1px; border-color: var(--tide); }
.form__status { min-height: 1.6em; margin: 0; font-weight: 500; }
.form__status.is-ok { color: var(--tide-deep); }
.form__status.is-err { color: #9B2C1F; }

/* ---------------------------------------------------------------- blog */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.posts li { margin: 0; border-bottom: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 32px; padding: 24px 0; text-decoration: none; color: var(--harbor); }
.posts time { font-size: 15px; color: var(--slate); padding-top: 6px; }
.posts h2 { font-size: clamp(24px, 2.2vw, 30px); }
.posts p { grid-column: 2; margin: 6px 0 0; color: var(--slate); font-size: 16px; max-width: 42em; }
.posts a:hover h2 { color: var(--tide); }
@media (max-width: 700px) { .posts a { grid-template-columns: 1fr; } .posts p { grid-column: 1; } }
.article { max-width: 720px; }
.article h1 { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.08; }
.article h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 1.4em 0 0.5em; }
.article h3 { font-size: clamp(23px, 2vw, 27px); margin: 1.3em 0 0.4em; }
.article p, .article li { color: var(--harbor); }
.article .byline { color: var(--slate); font-size: 15px; margin-bottom: 2em; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--harbor); color: var(--foam); padding: clamp(56px, 6vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 0; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 3vw, 48px); }
.foot__brand img { width: 240px; height: auto; }
.foot__brand p { margin: 20px 0 0; font-size: 16px; color: var(--foam); max-width: 22em; }
.foot h2 { font: 600 15px/1.3 var(--text); color: #fff; letter-spacing: 0.01em; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 9px; font-size: 16px; line-height: 1.45; }
.foot address { font-style: normal; font-size: 16px; line-height: 1.6; }
.foot__tel { font-family: var(--display); font-size: 28px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(207, 230, 233, 0.22); font-size: 14px; color: var(--foam); }
@media (max-width: 960px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- phones */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .ba__grip { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .ba__tag { top: 10px; font-size: 13px; }
  .ba__pane--before .ba__tag { left: 10px; }
  .ba__pane--after .ba__tag { right: 10px; }
  .quote { padding: 22px 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.js-only { display: none; }
.js .js-only { display: inline; }
