/* Badger Appliance Repair. Format: "Lights on" (a control strip, a night kitchen, lit portraits).
   Palette, type and contrast figures: design/badger-appliance.md. */

:root {
  --night: #0C0D0F;
  --graphite: #1B1D21;
  --graphite-2: #26292E;
  --hair: #30343A;
  --display: #070809;
  --enamel: #F1F2F2;
  --paper: #FFFFFF;
  --steel: #575D65;
  --frost: #AEB5BD;
  --porch: #F2A93B;
  --porch-hover: #F7BD5F;
  --rule: #D3D6D9;
  --control: #7B828B;
  --sa-accent: #F2A93B;
  --sa-accent-ink: #0C0D0F;
  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Radio Canada", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --strip: 72px;
  --focus: var(--night);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--enamel);
  color: var(--night);
  font: 400 18px/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, .display-type {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(56px, 8.6vw, 132px); }
h2 { font-size: clamp(44px, 5.6vw, 84px); }
h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.lede { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.55; }
.muted { color: var(--steel); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--porch); color: var(--night); padding: 12px 18px; border-radius: 3px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* grounds: every button is the strongest contrast to its ground */
.on-dark {
  --btn-bg: var(--porch); --btn-fg: var(--night); --btn-hover: var(--porch-hover);
  --focus: var(--porch);
  color: var(--enamel);
}
.on-light {
  --btn-bg: var(--night); --btn-fg: #FFFFFF; --btn-hover: #2A2D33;
  --focus: var(--night);
  color: var(--night);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 3px;
  background: var(--btn-bg, var(--night)); color: var(--btn-fg, #FFFFFF);
  font: 500 17px/1.2 var(--f-body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--btn-hover, #2A2D33); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--quiet {
  background: var(--graphite-2); color: var(--enamel);
  box-shadow: inset 0 0 0 1px #474C54;
}
.btn--quiet:hover { background: #33373D; }
.tel {
  font-size: 18px; font-weight: 500; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.actions .or { color: inherit; opacity: 0.8; }

/* ---------------------------------------------------------------- the control strip */
.strip {
  position: sticky; top: 0; z-index: 60;
  height: var(--strip);
  background: var(--graphite);
  border-bottom: 1px solid var(--hair);
  color: var(--enamel);
}
.strip__in {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-inline: var(--gutter);
}
.strip__brand { justify-self: start; display: block; line-height: 0; }
.strip__brand img { height: 40px; width: auto; }
.readout {
  justify-self: center;
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 16px;
  background: var(--display);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #2D3137, inset 0 3px 8px rgba(0, 0, 0, 0.65);
  color: var(--frost);
  font-size: 15px; line-height: 1;
  white-space: nowrap;
}
.readout__time { display: flex; align-items: flex-end; gap: 5px; color: var(--porch); }
.readout__time svg { height: 20px; width: auto; overflow: visible; }
.readout__ampm { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; transform: translateY(1px); }
.readout__sep { width: 1px; height: 18px; background: #33373E; }
.readout__lamp {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3A3E44;
}
.readout.is-open .readout__lamp { background: var(--porch); box-shadow: 0 0 8px 1px rgba(242, 169, 59, 0.7); }
.strip__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.strip__tel { color: var(--enamel); font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.strip__tel:hover { text-decoration: underline; }
.strip .btn { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* the full index behind Menu */
.index {
  position: fixed; inset: var(--strip) 0 0 0; z-index: 58;
  background: var(--graphite); color: var(--enamel);
  overflow-y: auto; overscroll-behavior: contain;
}
.index[hidden] { display: none; }
.index__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 48px 0 120px;
}
.index h2 { font: 500 15px/1.2 var(--f-body); color: var(--frost); margin: 0 0 14px; letter-spacing: 0; }
.index__services ul, .index__side ul { list-style: none; padding: 0; }
.index__services a {
  display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 22px;
  padding: 12px 0; border-bottom: 1px solid var(--hair);
  font: 300 clamp(34px, 4vw, 54px)/1 var(--f-display);
  color: var(--enamel); text-decoration: none;
}
.index__services a:hover span, .index__services a:focus-visible span { color: var(--porch); }
.index__services img { width: 112px; height: 70px; object-fit: cover; border-radius: 3px; background: var(--night); }
.index__side a { color: var(--enamel); }
.index__side li { padding: 6px 0; font-size: 20px; }
.index__side h2 { margin-top: 36px; }
.index__side h2:first-child { margin-top: 0; }
.index__side address { font-style: normal; font-size: 18px; line-height: 1.7; }
.index__side .readout { justify-self: start; display: inline-flex; margin-bottom: 20px; }
.index__side .btn { margin-top: 24px; }

/* ---------------------------------------------------------------- the kitchen (home) */
#kitchen { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; outline: none; pointer-events: none; }
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
.has-3d #kitchen, .has-3d .veil { display: block; }
.veil__side {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 15, 0.9) 0%, rgba(12, 13, 15, 0.8) 30%, rgba(12, 13, 15, 0.35) 46%, rgba(12, 13, 15, 0) 60%);
  opacity: var(--veil, 0);
}
.veil__title {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.82) 0%, rgba(12, 13, 15, 0.45) 30%, rgba(12, 13, 15, 0) 46%),
    linear-gradient(0deg, rgba(12, 13, 15, 0.92) 0%, rgba(12, 13, 15, 0.6) 20%, rgba(12, 13, 15, 0) 38%);
  opacity: calc(1 - var(--veil, 0));
}

.journey { position: relative; z-index: 1; background: var(--night); }
.has-3d .journey { background: transparent; }
.stop {
  position: relative;
  min-height: 150vh; min-height: 150svh;
  display: grid; align-items: start;
  padding: calc(var(--strip) + 20vh) var(--gutter) 72px;
}
.stop__copy { max-width: 520px; position: relative; }
.stop__copy h2 { font-size: clamp(48px, 5.4vw, 84px); }
.stop__copy p { margin-top: 22px; }
.stop__copy .lede { color: var(--enamel); }
.stop__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 16px; }
.stop__links a { color: var(--frost); }
.stop__links a:hover { color: var(--enamel); }
.stop__still { display: none; }
.stop blockquote {
  margin: 26px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--porch);
  font-size: 18px; line-height: 1.55; color: var(--enamel);
}
.stop blockquote footer { margin-top: 8px; font-size: 15px; color: var(--frost); }

.stop--title {
  min-height: 100vh; min-height: 100svh;
  align-content: space-between; justify-items: center; text-align: center;
  padding-top: calc(var(--strip) + 8vh); padding-bottom: 6vh;
}
.stop--title h1 { max-width: 15ch; font-size: clamp(60px, 8.4vw, 132px); }
.title__foot { max-width: 640px; }
.title__foot p { margin-inline: auto; }
.title__foot .actions { justify-content: center; margin-top: 22px; }
.title__rating { margin-top: 18px; font-size: 16px; color: var(--frost); }
.title__rating a { color: var(--enamel); }
.title__cue { margin-top: 26px; font-size: 14px; color: var(--frost); }
.title__still { display: none; }

/* no WebGL, no JS, or reduced motion: the journey as pictures */
:root:not(.has-3d) .stop:not(.stop--title) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px);
  min-height: 0; padding-block: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--hair);
}
:root:not(.has-3d) .stop__still { display: block; }
:root:not(.has-3d) .stop__still img { width: 100%; border-radius: 4px; }
:root:not(.has-3d) .stop--title { min-height: min(100svh, 980px); overflow: hidden; }
:root:not(.has-3d) .title__still { display: block; position: absolute; inset: 0; z-index: -1; }
:root:not(.has-3d) .title__still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
:root:not(.has-3d) .title__still::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.86) 0%, rgba(12, 13, 15, 0.35) 34%, rgba(12, 13, 15, 0) 50%),
    linear-gradient(0deg, rgba(12, 13, 15, 0.94) 0%, rgba(12, 13, 15, 0.6) 26%, rgba(12, 13, 15, 0) 44%);
}
:root:not(.has-3d) .title__cue { display: none; }
.still-mode .strip, .still-mode .journey, .still-mode .veil, .still-mode .day, .still-mode .foot, .still-mode .skip, .still-mode .closing, .still-mode .sa-corner-room { visibility: hidden; }
.past-journey #kitchen, .past-journey .veil { visibility: hidden; }
/* agent.js leaves room for the widget after the footer; keep it above the fixed kitchen canvas */
.sa-corner-room { position: relative; z-index: 3; }

/* ---------------------------------------------------------------- the light ground ("morning") */
.day { position: relative; z-index: 2; background: var(--enamel); }
.band { padding: clamp(72px, 9vw, 136px) 0; }
.band + .band { border-top: 1px solid var(--rule); }
.band__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.band__head p { color: var(--steel); }

/* Tom, in his own words */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5.5vw, 96px); align-items: start; }
.intro__photo { position: relative; }
.intro__photo img { width: 100%; border-radius: 4px; }
.intro__photo figcaption { margin-top: 12px; font-size: 15px; color: var(--steel); }
.intro__text h2 { margin-bottom: 32px; }
.intro__sig { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.intro__sig img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.intro__sig b { display: block; font: 500 24px/1.1 var(--f-display); }
.intro__sig span { font-size: 15px; color: var(--steel); }
.pull {
  margin: 32px 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--porch);
  font: 300 clamp(28px, 2.6vw, 38px)/1.12 var(--f-display);
}

/* a service call, in order */
.visit { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.visit li { border-top: 2px solid var(--night); padding-top: 18px; }
.visit__n { display: block; font: 300 64px/0.9 var(--f-display); margin-bottom: 14px; }
.visit p { font-size: 17px; }

/* proof */
.proof__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(28px, 4vw, 64px); align-items: end; }
.proof__score { font: 300 clamp(128px, 15vw, 220px)/0.78 var(--f-display); letter-spacing: -0.01em; }
.proof__label h2 { font-size: clamp(36px, 3.6vw, 56px); }
.proof__label p { margin-top: 12px; color: var(--steel); }
.stars { color: #B97509; letter-spacing: 2px; font-size: 16px; }
.on-dark .stars { color: var(--porch); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 80px); margin-top: 72px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.55; }
.quote figcaption { margin-top: 14px; font-size: 15px; color: var(--steel); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.quote figcaption b { color: var(--night); font-weight: 500; }
.reply { margin: 14px 0 0; padding-left: 16px; border-left: 2px solid var(--porch); font-size: 16px; color: var(--steel); }
.reply b { color: var(--night); font-weight: 500; }
.proof__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 56px; align-items: center; }

/* what you can expect */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 56px; }
.values h3 { margin-bottom: 12px; }
.values p { font-size: 17px; }

/* brands */
.brands { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 52px; }
.brands img { width: auto; opacity: 0.74; }
.brands li { line-height: 0; }
.brands .word { line-height: 1; font: 500 22px/1 var(--f-display); opacity: 0.74; letter-spacing: 0.02em; }

/* where Tom works */
.area { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.map { width: 100%; height: auto; }
.map__town circle { fill: var(--night); }
.map--phone { display: none; }
.map--phone .d { fill: var(--night); }
.map--phone .ring { fill: none; stroke: var(--porch); stroke-width: 4; }
.map--phone .home { fill: var(--porch); }
.map--phone .t { font: 400 32px var(--f-body); fill: #2F343A; }
.map--phone .t-big { font-size: 38px; font-weight: 500; fill: var(--night); }
.map--phone .t-lake { font: 500 32px var(--f-body); fill: #8A5606; }
.map--phone .sc { stroke: #6B7179; stroke-width: 4; }
.map--phone .t-sc { font: 400 28px var(--f-body); fill: #6B7179; }
.map__town text { font: 400 14px var(--f-body); fill: #3B4047; }
.map__town--big text { font-size: 17px; font-weight: 500; fill: var(--night); }
.map__ref circle { fill: none; stroke: var(--control); stroke-width: 1; }
.map__ref text { font: 400 14px var(--f-body); fill: #6B7179; }
.map__hull { fill: rgba(242, 169, 59, 0.08); stroke: #B97509; stroke-width: 1.2; stroke-dasharray: 4 5; }
.map__scale line { stroke: #6B7179; stroke-width: 2; }
.map__scale text { font: 400 13px var(--f-body); fill: #6B7179; }
.map__home circle.ring { fill: none; stroke: var(--porch); stroke-width: 2; }
.map__home circle.dot { fill: var(--porch); }
.map__lake text { font: 500 14px var(--f-body); fill: #8A5606; }
.towns { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 17px; }
.towns li { break-inside: avoid; padding: 3px 0; }
.area h3 { margin-top: 28px; }

/* night bands */
.closing { position: relative; z-index: 2; background: var(--night); padding: clamp(80px, 10vw, 144px) 0; }
.closing__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.closing p { color: var(--frost); margin-top: 20px; }
.closing .actions { margin-top: 0; justify-content: flex-end; }

/* ---------------------------------------------------------------- inner pages */
.portrait {
  position: relative; background: var(--night); color: var(--enamel);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(74vh, 780px);
  overflow: hidden;
}
.portrait__img { grid-column: 2; grid-row: 1; position: relative; margin: 0; }
.portrait__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.portrait__img figcaption {
  position: absolute; right: var(--gutter); bottom: 18px; font-size: 14px; color: var(--frost);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.portrait__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 1; align-self: end; padding: 56px 0 72px var(--gutter); }
.portrait__copy h1 { font-size: clamp(56px, 7vw, 112px); max-width: 9ch; }
.portrait__copy .lede { margin-top: 24px; color: var(--enamel); max-width: 34ch; }
.crumbs { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--frost); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #676D75; }
.crumbs a { color: var(--frost); }
.crumbs a:hover { color: var(--enamel); }
.crumbs [aria-current] { color: var(--enamel); }

.sheet { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 104px); padding-block: clamp(64px, 8vw, 112px); }
.sheet__main > section + section { margin-top: clamp(56px, 6vw, 88px); }
.sheet__main h2 { font-size: clamp(40px, 4vw, 60px); margin-bottom: 24px; }
.sheet__main h3 { margin: 28px 0 10px; }
.signs { list-style: none; padding: 0; margin: 8px 0 0; }
.signs li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--rule); }
.signs li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: var(--night); }
.steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { counter-increment: s; content: counter(s); font: 300 44px/0.9 var(--f-display); }
.aside {
  align-self: start;
  background: var(--paper); border-radius: 6px; padding: 30px;
  box-shadow: 0 0 0 1px var(--rule), 0 18px 40px -28px rgba(12, 13, 15, 0.35);
}
.aside h2 { font-size: 34px; margin-bottom: 14px; }
.aside p { font-size: 16px; color: var(--steel); }
.aside .btn { width: 100%; margin-top: 18px; }
.aside .tel { display: inline-block; margin-top: 14px; }
.aside dl { margin: 18px 0 0; font-size: 16px; }
.aside dt { font-weight: 500; }
.aside dd { margin: 0 0 10px; color: var(--steel); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 500 19px/1.35 var(--f-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px;
  border-right: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details > div { padding: 0 0 22px; color: #2B2F35; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.related a { display: block; text-decoration: none; }
.related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--night); }
.related span { display: block; margin-top: 10px; font: 500 22px/1.1 var(--f-display); }
.related a:hover span { text-decoration: underline; text-decoration-thickness: 1px; }

/* services hub rows */
.rows { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.row:first-child { padding-top: 0; }
.row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--night); }
.row h2 { font-size: clamp(40px, 4.4vw, 64px); }
.row p { margin-top: 16px; }
.row .actions { margin-top: 22px; }

/* reviews page */
.wall { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.wall li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.wall b { font-weight: 500; }
.wall .when { color: var(--steel); font-size: 14px; margin-left: 8px; }
.wall .reply { font-size: 15px; margin-top: 6px; }
.clamp p { margin: 0; }
.clamp.is-clamped blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: 8px; background: none; border: 0; padding: 0; font-weight: 500; text-decoration: underline; cursor: pointer; }
.listing { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--rule); }
.listing h3 { margin-bottom: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(64px, 8vw, 112px); }
.channels { list-style: none; padding: 0; margin: 20px 0 0; }
.channels li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.channels dt, .channels .k { color: var(--steel); font-size: 16px; }
.form { display: grid; gap: 18px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 16px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--paper); color: var(--night);
  border: 1px solid var(--control); border-radius: 3px;
  font: 400 17px/1.4 var(--f-body);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--night); outline-offset: 1px; }
.form__status { min-height: 1.6em; font-weight: 500; }
.form__status.is-err { color: #A4260E; }
.form__status.is-ok { color: #1D5E2A; }
.form .btn { justify-self: start; }
.mapframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 4px; background: #DADDE0; margin-top: 24px; }

/* service area page */
.posts { display: grid; gap: 0; }
.post { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.post h2 { font-size: clamp(40px, 4.2vw, 64px); }
.post .when { display: block; margin-top: 10px; font-size: 15px; color: var(--steel); }
.post figure { margin: 24px 0 0; }
.post figure img { border-radius: 4px; }
.post figcaption { margin-top: 10px; font-size: 15px; color: var(--steel); }

/* ---------------------------------------------------------------- footer */
.foot { position: relative; z-index: 2; background: var(--night); color: var(--enamel); padding: 88px 0 48px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot__brand img { height: 40px; width: auto; }
.foot__brand p { margin-top: 20px; color: var(--frost); font-size: 16px; max-width: 34ch; }
.foot h2 { font: 500 15px/1.2 var(--f-body); color: var(--frost); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; }
.foot li { padding: 4px 0; font-size: 16px; }
.foot a { color: var(--enamel); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot address { font-style: normal; font-size: 16px; line-height: 1.75; color: var(--enamel); }
.foot__area { font-size: 15px; color: var(--frost); line-height: 1.6; }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hair);
  font-size: 14px; color: var(--frost);
}
.foot__social { display: flex; gap: 20px; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1100px) {
  .visit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .readout__status { display: none; }
}
@media (max-width: 900px) {
  .strip__tel, .strip .readout { display: none; }
  .strip__in { grid-template-columns: 1fr auto; }
}
@media (max-width: 760px) {
  :root { --strip: 64px; }
  body { font-size: 17px; }
  .strip__brand img { height: 26px; }
  .strip__actions { gap: 10px; }
  .strip .btn { padding: 0 14px; min-height: 44px; }
  .index__grid { grid-template-columns: 1fr; padding-top: 28px; }
  .index__services a { grid-template-columns: 84px 1fr; gap: 16px; font-size: 32px; }
  .index__services img { width: 84px; height: 54px; }

  .stop { padding: 54svh 16px 36px; }
  .has-3d .stop__copy { background: rgba(12, 13, 15, 0.84); padding: 22px 20px 24px; border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .stop__copy h2 { font-size: 46px; }
  .stop--title { padding: calc(var(--strip) + 6svh) 16px 5svh; }
  .stop--title h1 { font-size: 64px; }
  .veil__side { background: linear-gradient(180deg, rgba(12, 13, 15, 0) 40%, rgba(12, 13, 15, 0.7) 70%, rgba(12, 13, 15, 0.9) 100%); }
  :root:not(.has-3d) .stop:not(.stop--title) { grid-template-columns: 1fr; padding: 56px 16px; }
  :root:not(.has-3d) .stop__still { order: -1; }

  .band__head, .intro, .area, .closing__in, .sheet, .contact, .post, .row, .proof__head { grid-template-columns: 1fr; }
  .visit, .values, .quotes, .related, .wall { grid-template-columns: 1fr; }
  .closing .actions { justify-content: flex-start; }
  .portrait { grid-template-columns: 1fr; min-height: 0; }
  .portrait__img { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .portrait__img img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .portrait__copy { grid-column: 1; grid-row: 2; padding: 8px 16px 48px; }
  .portrait__copy h1 { font-size: 60px; }
  .towns { columns: 2; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:last-child { grid-column: 1 / -1; }
  .map--desk { display: none; }
  .map--phone { display: block; }
  .channels li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
