/* God's Country Plumbing & Heating: the crossing.
   Every page begins on the ice at dusk and ends at the lit cabin. Snow ground, pine ink, and one
   warm colour: the lamplight in the cabin's windows, which is also every button.
   Type: Labrada (display) and Golos Text (body). */

:root {
  --snow: #EDEEF4;
  --frost: #F8F8FB;
  --pine: #16211C;
  --slate: #4A5256;
  --lamp: #F2B24A;
  --lamp-hi: #F6C46E;
  --ember: #8A500C;
  --brass: #DFAF63;
  --cream: #F6EDD3;
  --night: #171E3D;
  --night-2: #0E1330;
  --mist: #B7BFB9;
  --spruce: #2B4638;
  --rule: #CFD2DC;
  --rule-soft: #DEE0E8;

  --f-display: 'Labrada', Georgia, 'Times New Roman', serif;
  --f-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gut: clamp(20px, 4.6vw, 76px);
  --max: 1320px;
  --head-h: 112px;

  --sa-accent: #F2B24A;
  --sa-accent-ink: #16211C;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--pine);
  font: 400 18px/1.62 var(--f-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--spruce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .foot :focus-visible, .menu :focus-visible, .head :focus-visible, .journey :focus-visible { outline-color: var(--lamp); }
p { margin: 0 0 1em; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--head-h) + 24px); }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
  color: inherit;
}
h1 { font-weight: 300; font-size: clamp(46px, 6.9vw, 114px); line-height: 0.98; letter-spacing: -0.024em; }
h2 { font-size: clamp(34px, 3.7vw, 58px); line-height: 1.05; letter-spacing: -0.018em; }
h3 { font-weight: 500; font-size: clamp(21px, 1.6vw, 25px); line-height: 1.25; letter-spacing: -0.006em; }
.lede { font-size: clamp(19px, 1.35vw, 21px); line-height: 1.55; }
.num { font-variant-numeric: lining-nums; }

.skip {
  position: fixed; left: 16px; top: -90px; z-index: 100;
  background: var(--lamp); color: var(--pine); padding: 12px 16px; border-radius: 3px; font-weight: 500;
}
.skip:focus { top: 16px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 3px;
  background: var(--lamp); color: var(--pine);
  font: 500 17px/1.1 var(--f-body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(22, 33, 28, .12), 0 8px 24px -12px rgba(242, 178, 74, .55);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--lamp-hi); color: var(--pine); }
.btn:active { transform: translateY(1px); }
.btn--night { background: var(--night); color: var(--cream); box-shadow: none; }
.btn--night:hover { background: #232c56; color: var(--cream); }
.btn--pine { background: var(--pine); color: var(--cream); box-shadow: none; }
.btn--pine:hover { background: var(--spruce); color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.tel {
  font: 400 clamp(22px, 1.8vw, 27px)/1 var(--f-display); font-variant-numeric: lining-nums;
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 7px; text-decoration-color: currentColor;
  padding: 10px 0;
}
.tel:hover { color: inherit; text-decoration-thickness: 2px; }
.more { font-weight: 500; }

/* ------------------------------------------------------------------ header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gut);
  color: var(--cream);
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease, height .35s ease;
}
.top.is-solid {
  background: rgba(237, 238, 244, .95);
  color: var(--pine);
  box-shadow: 0 1px 0 var(--rule-soft);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.brand { display: block; line-height: 0; flex: none; }
.brand img { width: 132px; height: auto; filter: drop-shadow(0 4px 14px rgba(8, 10, 26, .38)); transition: width .35s ease; }
.top.is-solid .brand img { width: 112px; filter: none; }
.top__actions { display: flex; align-items: center; gap: 12px; }
.top__tel {
  font: 400 23px/1 var(--f-display); font-variant-numeric: lining-nums;
  color: inherit; text-decoration: none; padding: 14px 12px;
}
.top__tel:hover { color: inherit; text-decoration: underline; text-underline-offset: 6px; }
.top .btn { min-height: 48px; padding: 0 20px; }
.menu-btn {
  min-height: 48px; padding: 0 18px; border-radius: 3px; border: 0; cursor: pointer;
  background: var(--night); color: var(--cream);
  font: 500 17px/1 var(--f-body);
}
.menu-btn:hover { background: #232c56; }
.top.is-solid .menu-btn { background: var(--pine); }
.top.is-solid .menu-btn:hover { background: var(--spruce); }

/* ------------------------------------------------------------------ menu: the lake at night */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 62%, #2a2446 100%);
  color: var(--cream);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--head-h) + 28px) var(--gut) 64px;
}
.menu__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 40px 56px; }
.menu__head { font: 500 15px/1.3 var(--f-body); color: #C9CCE3; margin: 0 0 14px; letter-spacing: 0.01em; }
.menu__big { list-style: none; }
.menu__big a {
  display: inline-block; padding: 4px 0;
  font: 300 clamp(34px, 4vw, 58px)/1.1 var(--f-display); letter-spacing: -0.02em;
  color: var(--cream); text-decoration: none;
}
.menu__list { list-style: none; margin-bottom: 36px; }
.menu__list a { display: inline-block; padding: 6px 0; font: 400 23px/1.3 var(--f-display); color: var(--cream); text-decoration: none; }
.menu__towns { list-style: none; columns: 2; column-gap: 24px; }
.menu__towns a { display: inline-block; padding: 5px 0; color: #C9CCE3; text-decoration: none; font-size: 17px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--lamp); text-decoration: underline; text-underline-offset: 7px; }
.menu__contact p { color: #C9CCE3; }
.menu__contact .tel { color: var(--cream); font-size: 32px; }
body.menu-open { overflow: hidden; }
body.menu-open .top { background: transparent; box-shadow: none; color: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .top .menu-btn { background: var(--lamp); color: var(--pine); }

/* ------------------------------------------------------------------ the crossing (home) */
.journey { position: relative; background: var(--night); color: var(--cream); }
.stage {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; overflow: hidden;
  background: var(--night);
  --dark: 0;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.1s ease; }
.stage.is-live canvas { opacity: 1; }
.stage__still { position: absolute; inset: 0; margin: 0; }
.stage__still img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.stage.is-live .stage__still { opacity: 0; transition: opacity 1s ease .25s; }
.stage__veil { position: absolute; inset: 0; pointer-events: none; }
.stage__veil::before, .stage__veil::after { content: ""; position: absolute; inset: 0; }
/* the words sit on the left over a night scrim; the hero's over the sky, top left */
.stage__veil::before { background: linear-gradient(90deg, rgba(9, 12, 32, .8) 0%, rgba(9, 12, 32, .62) 30%, rgba(9, 12, 32, .18) 52%, rgba(9, 12, 32, 0) 64%); }
.stage__veil::after { background: linear-gradient(180deg, rgba(9, 12, 32, .5) 0%, rgba(9, 12, 32, 0) 22%); }

.beats { position: relative; z-index: 1; margin-top: -100vh; }
.beat { position: relative; padding: 0 var(--gut); }
.beat__text { max-width: 470px; padding: 120px 0 80px; }
.beat__text h2 { margin-bottom: 20px; }
.beat__text p { font-size: 17px; }
.beat__still { display: none; margin: 0 0 28px; }
.beat__still img { display: block; width: 100%; height: auto; border-radius: 2px; }
.beat .said { margin: 26px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--lamp); }
.beat .said p { font: 400 18px/1.5 var(--f-display); margin: 0 0 8px; }
.beat .said footer { font-size: 15px; color: #C9CCE3; }
.beat .actions { margin-top: 26px; }
.beat .actions a:not(.btn):not(.tel) { color: var(--cream); }

.beat--hero .beat__inner {
  min-height: 100vh; max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--head-h) + 7vh) 0 48px;
}
.beat--hero h1 { max-width: 13ch; font-size: clamp(46px, 5.9vw, 94px); color: var(--cream); text-shadow: 0 2px 30px rgba(9, 12, 32, .35); }
.hero__lede { max-width: 42ch; margin-top: 26px; font-size: clamp(18px, 1.3vw, 20px); color: var(--cream); }
.hero__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 32px; }
.hero__proof { margin: 0; font: 400 22px/1.3 var(--f-display); font-variant-numeric: lining-nums; }
.hero__proof a { color: var(--cream); text-decoration-color: rgba(246, 237, 211, .5); }
.hero__proof .stars { color: var(--lamp); margin-right: 10px; letter-spacing: 2px; font-size: 18px; }
.hero__cue { margin: 0; font-size: 15px; color: #C9CCE3; }

/* 3D on: long beats, the words hold while the scene plays */
.has-3d .beat { height: 150vh; }
.has-3d .beat--hero { height: 128vh; }
.has-3d .beat--last { height: 175vh; }
.has-3d .beat--hero .beat__inner { position: sticky; top: 0; height: 100vh; min-height: 0; }
.has-3d .beat__text { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: var(--head-h) 0 40px; }
.has-3d .beat__text, .has-3d .beat--hero .beat__inner > * { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.has-3d .beat:not(.is-live) .beat__text,
.has-3d .beat--hero:not(.is-live) .beat__inner > * { opacity: 0; transform: translateY(14px); pointer-events: none; }
.still-mode .stage canvas { transition: none; opacity: 1; }
.still-mode .beats, .still-mode .top, .still-mode .after, .still-mode .foot, .still-mode .stage__veil { visibility: hidden; }

/* no 3D (no WebGL, no JS or reduced motion): one still behind the hero, and each beat a plain
   section on snow with its own still from the scene */
html:not(.has-3d) .stage { position: absolute; inset: 0 0 auto 0; height: 100vh; }
html:not(.has-3d) .beats { margin-top: 0; }
html:not(.has-3d) .beat--hero { position: relative; }
html:not(.has-3d) .beat:not(.beat--hero) { background: var(--snow); color: var(--pine); }
html:not(.has-3d) .beat:not(.beat--hero) .beat__text {
  max-width: var(--max); margin: 0 auto; padding: 88px 0 24px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 64px; align-items: start;
}
html:not(.has-3d) .beat:not(.beat--hero) .beat__still { display: block; grid-row: 1 / span 6; grid-column: 1; }
html:not(.has-3d) .beat:not(.beat--hero) .beat__text > :not(.beat__still) { grid-column: 2; }
html:not(.has-3d) .beat .said footer { color: var(--slate); }
html:not(.has-3d) .beat .actions a:not(.btn):not(.tel) { color: var(--pine); }
html:not(.has-3d) .beat:last-child { padding-bottom: 64px; }

/* ------------------------------------------------------------------ sections after the crossing */
.section { padding: clamp(88px, 10vw, 150px) var(--gut); }
.section--frost { background: var(--frost); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head h2 { margin-bottom: 18px; }
.section__head p { color: var(--slate); }

/* the score and the guest book */
.proof__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 56px 80px; align-items: start; }
.stick { position: sticky; top: calc(var(--head-h) + 40px); }
.score { margin: 0; }
.score__num { display: block; font: 300 clamp(120px, 13vw, 196px)/0.82 var(--f-display); letter-spacing: -0.045em; font-variant-numeric: lining-nums; }
.score__of { display: block; margin-top: 18px; font: 400 23px/1.35 var(--f-display); }
.score__note { display: block; margin-top: 10px; font-size: 16px; color: var(--slate); }
.stars { color: var(--ember); letter-spacing: 2px; white-space: nowrap; }
.score .stars { display: block; margin-top: 14px; font-size: 22px; }
.proof__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }

.book { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--rule); }
.book--one { grid-template-columns: minmax(0, 1fr); }
.entry { margin: 0; padding: 28px 0 30px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.entry blockquote { margin: 0; }
.entry blockquote p { font: 400 20px/1.55 var(--f-display); letter-spacing: -0.003em; margin: 0 0 0.7em; }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 15px; }
.entry__name { font-weight: 500; }
.entry__when { color: var(--slate); }
.entry .stars { font-size: 14px; }
.entry__reply { margin: 16px 0 0; padding: 12px 16px; background: var(--frost); border-left: 2px solid var(--spruce); font-size: 16px; line-height: 1.55; }
.section--frost .entry__reply, .book--frost .entry__reply { background: var(--snow); }
.entry__reply span { display: block; font-weight: 500; font-size: 14px; color: var(--spruce); margin-bottom: 2px; }
.entry--clamp blockquote { position: relative; }
.entry--clamp.is-clamped blockquote { max-height: 12.5em; overflow: hidden; }
.entry--clamp.is-clamped blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(237, 238, 244, 0), var(--snow)); }
.section--frost .entry--clamp.is-clamped blockquote::after { background: linear-gradient(rgba(248, 248, 251, 0), var(--frost)); }
.read-more { align-self: flex-start; margin: 10px 0 0; padding: 10px 0; min-height: 44px; background: none; border: 0; font: 500 16px/1 var(--f-body); color: var(--pine); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.wall { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 28px; }
.wall li { padding: 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-content: start; }
.wall__mono { grid-row: span 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--cream); font: 400 17px/1 var(--f-display); }
.wall__name { font-weight: 500; font-size: 16px; }
.wall__when { font-size: 14px; color: var(--slate); }
.wall .stars { font-size: 13px; }
.wall__reply { grid-column: 1 / -1; margin: 10px 0 0; font-size: 15px; line-height: 1.5; padding: 10px 12px; background: var(--frost); border-left: 2px solid var(--spruce); }
.wall__reply span { display: block; font-weight: 500; font-size: 13px; color: var(--spruce); }

/* before we get there: three real sequences */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.steps-grid h3 { margin-bottom: 18px; }
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--rule); }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 50px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; font: 300 34px/1 var(--f-display); color: var(--ember); font-variant-numeric: lining-nums; }
.note911 { margin-top: 40px; padding: 18px 22px; background: var(--frost); border-left: 3px solid var(--ember); max-width: 760px; }
.note911 strong { font-weight: 500; }

/* where we work: the drawn map */
.area__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px 80px; align-items: center; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg .ring { fill: none; stroke: var(--spruce); stroke-width: 1.4; stroke-dasharray: 5 6; }
.map-svg .ring-fill { fill: rgba(43, 70, 56, .06); }
.map-svg .ringlabel { font: 400 15px var(--f-body); fill: var(--slate); }
.map-svg .town { fill: var(--pine); }
.map-svg .home-dot { fill: var(--lamp); stroke: var(--pine); stroke-width: 2; }
.map-svg .tlabel { font: 400 18px var(--f-display); fill: var(--pine); paint-order: stroke; stroke: #E4E6EC; stroke-width: 5px; stroke-linejoin: round; }
.map-svg .tlabel--home { font-weight: 500; font-size: 21px; }
.map-svg .scale { stroke: var(--slate); stroke-width: 1.4; }
.map-svg .scalelabel { font: 400 13px var(--f-body); fill: var(--slate); }
.map-note { font-size: 15px; color: var(--slate); margin-top: 12px; }
.towns { list-style: none; columns: 2; column-gap: 36px; border-top: 1px solid var(--rule); margin-top: 8px; }
.towns li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.towns a, .towns span { display: block; padding: 13px 0; font: 400 21px/1.3 var(--f-display); text-decoration: none; color: var(--pine); }
.towns a:hover { color: var(--spruce); text-decoration: underline; }
.towns small { font: 400 14px var(--f-body); color: var(--slate); }

/* questions */
.faq { border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative; font: 400 23px/1.35 var(--f-display); letter-spacing: -0.006em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 18px; font: 300 30px/1 var(--f-body); color: var(--ember); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 24px; max-width: 68ch; }
.faq details > div p:last-child { margin: 0; }

/* the closer */
.closer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.closer h2 { font-weight: 300; font-size: clamp(44px, 5.6vw, 88px); line-height: 1; margin-bottom: 26px; }
.closer p { color: var(--slate); max-width: 46ch; }
.hours { list-style: none; margin-top: 24px; border-top: 1px solid var(--rule); }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hours span:first-child { color: var(--slate); }

/* ------------------------------------------------------------------ inner pages */
.head { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--night); color: var(--cream); overflow: hidden; }
.head__still { position: absolute; inset: 0; margin: 0; }
.head__still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.head__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(9, 12, 32, .84) 0%, rgba(9, 12, 32, .6) 34%, rgba(9, 12, 32, .12) 62%, rgba(9, 12, 32, 0) 78%),
  linear-gradient(0deg, rgba(9, 12, 32, .55) 0%, rgba(9, 12, 32, 0) 42%),
  linear-gradient(180deg, rgba(9, 12, 32, .5) 0%, rgba(9, 12, 32, 0) 24%); }
.head__inner { position: relative; width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: calc(var(--head-h) + 48px) var(--gut) clamp(48px, 7vh, 80px); }
.head h1 { max-width: 12ch; }
.head__lede { max-width: 50ch; margin-top: 22px; font-size: clamp(18px, 1.3vw, 20px); }
.head .tel { color: var(--cream); }
.crumb { font-size: 15px; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px 10px; color: #C9CCE3; }
.crumb a { color: #C9CCE3; }
.crumb [aria-current] { color: var(--cream); }

.page { max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: clamp(72px, 8vw, 120px) var(--gut); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
.rail { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
.rail__title { font-size: 15px; color: var(--slate); margin: 0 0 12px; }
.rail ol { list-style: none; border-top: 1px solid var(--rule); }
.rail li { border-bottom: 1px solid var(--rule); }
.rail a { display: block; padding: 10px 0; font-size: 16px; text-decoration: none; color: var(--pine); }
.rail a:hover { text-decoration: underline; }
.page__main { min-width: 0; max-width: 900px; }
.block { scroll-margin-top: calc(var(--head-h) + 24px); }
.block + .block { margin-top: clamp(72px, 8vw, 112px); }
.block > h2 { margin-bottom: 22px; }
.block > p { max-width: 68ch; }
.tasks { list-style: none; border-top: 1px solid var(--rule); margin-top: 8px; }
.tasks li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.tasks h3 { font-size: 22px; }
.tasks p { margin: 0; color: var(--slate); }
.tasks a { color: var(--pine); }
.checks { list-style: none; border-top: 1px solid var(--rule); max-width: 760px; }
.checks li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 14px; height: 2px; background: var(--ember); }
.cta-band { margin-top: clamp(72px, 8vw, 112px); padding: 40px 44px; background: var(--night); color: var(--cream); border-radius: 3px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 2.8vw, 42px); }
.cta-band p { margin: 10px 0 0; color: #C9CCE3; }
.cta-band .actions { margin: 0; }
.cta-band .tel { color: var(--cream); }

.services-list { border-top: 1px solid var(--rule); }
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 20px 56px; padding: 44px 0; border-bottom: 1px solid var(--rule); }
.svc h2 { font-size: clamp(32px, 3vw, 46px); }
.svc h2 a { text-decoration: none; }
.svc h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.svc ul { list-style: none; margin: 14px 0 0; columns: 2; column-gap: 28px; }
.svc li { break-inside: avoid; padding: 6px 0 6px 20px; position: relative; font-size: 16px; }
.svc li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--ember); }
.svc .actions { margin-top: 20px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; }
.values { list-style: none; border-top: 1px solid var(--rule); }
.values li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.values h3 { margin-bottom: 6px; }
.values p { margin: 0; color: var(--slate); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.people li { padding: 24px; background: var(--frost); border-radius: 3px; }
.people .mono { width: 54px; height: 54px; border-radius: 50%; background: var(--night); color: var(--cream); display: grid; place-items: center; font: 300 26px/1 var(--f-display); margin-bottom: 16px; }
.people h3 { margin-bottom: 6px; }
.people p { margin: 0; font-size: 16px; color: var(--slate); }
.in-words { margin: 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--lamp); max-width: 62ch; }
.in-words p { font: 400 clamp(21px, 1.7vw, 25px)/1.5 var(--f-display); }
.in-words footer { margin-top: 12px; font-size: 15px; color: var(--slate); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; align-items: start; }
.ways { list-style: none; border-top: 1px solid var(--rule); }
.ways li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ways span:first-child { color: var(--slate); font-size: 16px; padding-top: 3px; }
.ways a { overflow-wrap: anywhere; }
.ways .tel { padding: 0; font-size: 24px; }
.form { display: grid; gap: 18px; background: var(--frost); padding: 32px; border-radius: 3px; }
.form h2 { font-size: clamp(28px, 2.4vw, 36px); margin-bottom: 4px; }
.form label { display: grid; gap: 8px; font: 500 16px/1.3 var(--f-body); }
.form input, .form textarea {
  font: 400 18px/1.4 var(--f-body); color: var(--pine);
  background: #fff; border: 1px solid #A9AEBB; border-radius: 3px;
  padding: 14px 16px; min-height: 54px; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
.form .btn { justify-self: start; }
.form__status { min-height: 1.5em; margin: 0; font-weight: 500; }
.form__status.is-err { color: #8E1B22; }
.form__status.is-ok { color: var(--spruce); }
.form__small { font-size: 15px; color: var(--slate); margin: 0; }
.mapbox { position: relative; min-height: 420px; background: var(--rule-soft); border-radius: 3px; overflow: hidden; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }

/* ------------------------------------------------------------------ footer: the shoreline, then the cabin */
.foot { background: var(--pine); color: var(--cream); margin-top: 0; }
.shore { display: block; background: linear-gradient(180deg, var(--snow) 0%, var(--snow) 30%, #E4DDE6 78%, #DCCBD6 100%); line-height: 0; }
.shore img { display: block; width: 100%; height: clamp(110px, 12vw, 180px); object-fit: cover; object-position: 50% 100%; }
.foot__body { padding: 40px var(--gut) 44px; }
.foot__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot__brand img { width: 240px; height: auto; display: block; margin-bottom: 18px; }
.foot__brand p { color: var(--mist); font-size: 16px; max-width: 32ch; }
.foot h2 { font: 500 15px/1.3 var(--f-body); color: var(--brass); margin: 6px 0 16px; letter-spacing: 0.01em; }
.foot ul { list-style: none; }
.foot li { margin: 0 0 8px; }
.foot a { color: var(--cream); text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
.foot a:hover { color: var(--lamp); text-decoration: underline; }
.foot address, .foot p { font-size: 16px; color: var(--mist); line-height: 1.6; }
.foot .foot__tel { font: 400 24px/1.2 var(--f-display); font-variant-numeric: lining-nums; color: var(--cream); }
.foot__base { max-width: var(--max); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(223, 175, 99, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--mist); }
.foot__base a { font-size: 14px; color: var(--mist); text-decoration: underline; }
.foot__base .stars { color: var(--brass); font-size: 13px; margin-right: 6px; }

/* ------------------------------------------------------------------ phones and small tablets */
@media (max-width: 1100px) {
  .menu__inner { grid-template-columns: 1fr 1fr; }
  .menu__contact { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --head-h: 84px; }
  .top__tel { display: none; }
  .brand img { width: 108px; }
  .top.is-solid .brand img { width: 96px; }
  .proof__grid, .area__grid, .closer, .contact-grid, .two, .page { grid-template-columns: 1fr; gap: 40px; }
  .rail, .stick { position: static; }
  .rail ol { display: flex; flex-wrap: wrap; gap: 0 18px; border: 0; }
  .rail li { border: 0; }
  .book { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 10px; }
  .people { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 32px 26px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { padding: 0 16px; }
  .top .btn { min-height: 44px; padding: 0 14px; font-size: 16px; }
  .menu-btn { min-height: 44px; padding: 0 14px; font-size: 16px; }
  .top__talk-long { display: none; }
  .menu__inner { grid-template-columns: 1fr; gap: 32px; }
  .menu__big a { font-size: 38px; }
  h1 { font-size: clamp(42px, 12vw, 64px); }

  /* the crossing on a phone: the scene rides high, the words sit low over a scrim */
  .stage__veil::before { background: linear-gradient(0deg, rgba(9, 12, 32, .92) 0%, rgba(9, 12, 32, .82) 36%, rgba(9, 12, 32, .35) 55%, rgba(9, 12, 32, 0) 66%); }
  .stage__veil::after { background: linear-gradient(180deg, rgba(9, 12, 32, .55) 0%, rgba(9, 12, 32, 0) 18%); }
  .has-3d .beat__text { justify-content: flex-end; padding-bottom: 36px; max-width: none; }
  .beat .said p { font-size: 17px; }
  .has-3d .beat .said { display: none; }
  .beat__text p { font-size: 17px; }
  .beat--hero .beat__inner { justify-content: flex-end; padding-bottom: 32px; }
  .beat--hero h1 { max-width: 11ch; }
  .hero__foot { margin-top: 26px; }
  .hero__cue { display: none; }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__text { grid-template-columns: 1fr; padding-top: 56px; }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__still, html:not(.has-3d) .beat:not(.beat--hero) .beat__text > :not(.beat__still) { grid-column: 1; grid-row: auto; }

  .head { min-height: 86vh; }
  .head__veil { background: linear-gradient(0deg, rgba(9, 12, 32, .92) 0%, rgba(9, 12, 32, .75) 40%, rgba(9, 12, 32, .2) 70%, rgba(9, 12, 32, .45) 100%); }
  .head__inner { padding-bottom: 36px; }
  .steps-grid, .wall { grid-template-columns: 1fr; }
  .towns { columns: 1; }
  .tasks li { grid-template-columns: 1fr; gap: 4px; }
  .svc ul { columns: 1; }
  .ways li { grid-template-columns: 1fr; gap: 4px; }
  .form { padding: 24px 18px; }
  .mapbox { min-height: 320px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__base { flex-direction: column; }
  .score__num { font-size: 132px; }
  .entry blockquote p { font-size: 19px; }
}
@media (max-width: 420px) {
  .foot__grid { grid-template-columns: 1fr; }
}

@media (max-height: 740px) and (min-width: 761px) {
  .has-3d .beat .said { display: none; }
  .beat--hero .beat__inner { padding-top: calc(var(--head-h) + 3vh); }
}

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