/* Tim The Website Guy: site styles.
 * Built from the Claude Design file "Tim The Website Guy.dc.html". From 700px up every measurement
 * matches that design. The design has no phone layout, so a block near the end adds one below 700px.
 * Elements keep the browser's default content-box sizing, as in the design.
 *
 * Colours are theme variables. The light theme is the design's palette; the dark theme
 * (html[data-theme="dark"], set by the inline script in index.html) swaps every value below.
 */

:root {
  color-scheme: light;
  --bg: #F4F8FF;            /* page, cards, dialog */
  --ink: #0B1222;           /* text, borders, rules drawn in ink */
  --ink-2: #3C4558;         /* quieter text */
  --paper: #fff;            /* outline buttons, form fields, the "T." tile */
  --hard: #0B1222;          /* hard offset shadows */
  --on-ink: #fff;           /* text on an ink-filled hover */
  --btn-bg: #0B1426;        /* filled buttons and badges */
  --btn-fg: #fff;
  --btn-shadow: #8C96AB;
  --btn-hover: #2A3550;
  --sky: #8CBBFF;           /* blue panels */
  --mist: #DCE9FF;          /* hours panel */
  --link-hover: #3E78E0;
  --radius-text: #2F6BD6;   /* design used #6E9FF2 (2.5:1); darkened to pass contrast */
  --rule: #CBD4E4;
  --rule-2: #D3DBE9;
  --faq-line: #8E97A8;
  --faq-open-bg: #000;
  --faq-open-fg: #fff;
  --muted: #5F6879;         /* design used #6B7486 (4.4:1); darkened to pass contrast */
  --placeholder: #9AA3B5;
  --streak: #fff;
  --overlay: rgba(11, 18, 34, .45);
  --sun: #F2B705;
  --display: 'Familjen Grotesk', sans-serif;
  --text: 'Outfit', sans-serif;
  --ease-swap: cubic-bezier(.65, 0, .25, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D1526;
  --ink: #E6EEFC;
  --ink-2: #A3B0C8;
  --paper: #131E35;
  --hard: #8CBBFF;
  --on-ink: #0B1222;
  --btn-bg: #8CBBFF;
  --btn-fg: #0B1222;
  --btn-shadow: #3B5687;
  --btn-hover: #A9CCFF;
  --sky: #16284A;
  --mist: #101B30;
  --link-hover: #8CBBFF;
  --radius-text: #8CBBFF;
  --rule: #26324C;
  --rule-2: #222C43;
  --faq-line: #3A4866;
  --faq-open-bg: #E6EEFC;
  --faq-open-fg: #0B1222;
  --muted: #8D99B3;
  --placeholder: #6F7C96;
  --streak: rgba(255, 255, 255, .05);
  --overlay: rgba(2, 5, 12, .66);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--link-hover); }
input::placeholder { color: var(--placeholder); }

.page {
  background: var(--bg);
  overflow-x: hidden;
  font-family: var(--text);
  color: var(--ink);
}
.page svg { display: block; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 10px 14px; font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 12px; }
.skip-link:focus, .skip-link:hover { color: var(--btn-fg); }

/* Entrance animations start hidden; site.js removes this class once it has taken over. */
.motion-pending [data-reveal],
.motion-pending [data-from] { opacity: 0; }

/* ---------- shared pieces ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.fill { position: absolute; inset: 0; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.layer--contain { object-fit: contain; }
.streak {
  position: absolute; height: 2px;
  background: var(--streak);
  transform: rotate(-28deg);
  pointer-events: none;
}
.mask { display: block; overflow: hidden; }
.mask__line { display: block; }
.title { margin: 0; font-family: var(--display); font-weight: 500; }
.title__line { display: block; }

.brand { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }

.btn-dark {
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500;
  box-shadow: 5px 5px 0 var(--btn-shadow);
  transition: transform .25s, box-shadow .25s;
}
.btn-dark:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--btn-shadow); color: var(--btn-fg); }

.btn-outline {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--hard);
  padding: 11px 26px;
  font-size: 13px; font-weight: 500;
  transition: transform .25s, box-shadow .25s;
}
.btn-outline:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--hard); color: var(--ink); }
.btn-outline--lg { box-shadow: 7px 7px 0 var(--hard); padding: 14px 30px; font-size: 15px; }
.btn-outline--lg:hover { transform: translate(4px, 4px); }
.btn-outline--sm { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; }
.btn-outline__icon { display: flex; }

.badge {
  width: 116px; height: 116px;
  border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
  transition: transform .35s;
}
.badge:hover { transform: scale(1.08) rotate(12deg); color: var(--btn-fg); }
.badge__label { transform: rotate(-32deg); }

.dash-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-weight: 500; }
.dash-list li { display: flex; align-items: center; gap: 10px; }
.dash { width: 12px; height: 1px; background: var(--ink); }

/* ---------- header ---------- */
.site-header {
  max-width: 1200px; margin: 0 auto; padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; z-index: 5;
}
.nav { display: flex; gap: 36px; font-size: 14px; font-weight: 500; flex-wrap: wrap; justify-content: center; }
.site-header__call { font-size: 14px; padding: 11px 24px; white-space: nowrap; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }

/* Light/dark switch: a moon in the light theme, a sun in the dark one. Needs the head script, so it hides without it. */
.theme-toggle {
  position: relative;
  width: 34px; height: 34px; padding: 0;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s;
}
.theme-toggle:hover { background: var(--ink); color: var(--on-ink); }
.theme-toggle svg { position: absolute; transition: transform .5s var(--ease-swap), opacity .3s; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.4); }
:root:not([data-theme]) .theme-toggle { display: none; }
.theme-swap, .theme-swap * { transition: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .theme-swap .theme-toggle svg { transition: transform .5s var(--ease-swap), opacity .3s !important; }
}

/* The new theme grows out of the switch as a circle (site.js); the snapshots themselves don't fade. */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 12px; }
.hero__streak-a { left: -10%; top: 58%; width: 70%; }
.hero__streak-b { left: 30%; top: 80%; width: 60%; }
.hero__copy { max-width: 1200px; margin: 0 auto; padding: 0 40px; text-align: center; position: relative; z-index: 2; }
.hero__title {
  margin: 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, min(6.4vw, 8.6vh), 78px);
  line-height: 1.08; letter-spacing: -0.025em;
}
.hero__mask-a { padding-bottom: 0.06em; }
.hero__mask-b { padding-bottom: 0.1em; }
.hero__lead { margin: 20px auto 0; max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero__ctas { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.icon-link { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.icon-link__ring {
  width: 24px; height: 24px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
}
/* The artwork is wider than the page and scales with the viewport height, so the headline and art fit one screen. */
.hero__art {
  --art: min(100%, 1600px, max(560px, (100vh - 430px) * 2.28));
  position: relative; z-index: 1;
  width: calc(var(--art) * 1.41667);
  margin: calc(var(--art) * -0.13) 0 0 calc(50% - var(--art) * 0.708333);
  aspect-ratio: 2040 / 820;
  pointer-events: none;
  transform-origin: 46% 55%;
}

/* ---------- service area ---------- */
.area { max-width: 1200px; margin: 0 auto; padding: 80px 40px 90px; }
.area__lead { margin: 0; text-align: center; font-size: 16px; font-weight: 500; }
.area__radius { color: var(--radius-text); text-decoration: underline; text-underline-offset: 4px; }
.cities {
  margin: 44px 0 0; padding: 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em;
}
.city { display: flex; align-items: center; gap: 8px; }
.pin {
  width: 14px; height: 14px;
  border: 3px solid var(--ink); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

/* ---------- services ---------- */
.services { background: var(--sky); position: relative; padding: 120px 0 110px; }
.services__inner { position: relative; }
.services__badge { position: absolute; right: 40px; top: -176px; }
.services__title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -0.02em; }
.cards {
  margin: 56px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.card {
  background: var(--bg);
  border: 1.5px solid var(--ink);
  display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: 8px 8px 0 var(--hard); }
.card__scene { height: 220px; position: relative; overflow: hidden; }
.card__stage { position: absolute; inset: 18px; }
.card__camera-head { transform-origin: 41.5% 42.1%; }
.card__foot { padding: 20px 22px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card__title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; }
.circle-link {
  width: 34px; height: 34px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .25s, color .25s;
}
.circle-link:hover { background: var(--ink); color: var(--on-ink); }
.also { margin: 36px 0 0; max-width: 820px; font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.also__label { font-weight: 600; }

/* ---------- how it works ---------- */
.how { position: relative; padding: 150px 0 120px; }
.how__streak { left: -5%; top: 70%; width: 55%; }
.how__van { position: absolute; right: 0; top: 40px; width: 150px; height: 110px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.how__main { position: relative; }
.how__title {
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.15; letter-spacing: -0.025em;
  position: relative; z-index: 1;
}
.how__title-indent { padding-left: 9%; }
.how__scene { position: relative; z-index: 2; margin: 28px 0 0 8%; height: clamp(260px, 30vw, 420px); }
.how__aside { padding-bottom: 120px; }
.how__lead { margin: 0; max-width: 280px; font-size: 14px; line-height: 1.7; text-wrap: pretty; }
.how__list { margin-top: 20px; gap: 10px; font-size: 14px; }
.how__cta { margin-top: 28px; }

/* ---------- quotes ---------- */
.voices { max-width: 1200px; margin: 0 auto; padding: 40px 40px 120px; }
.voices__card { background: var(--sky); overflow: hidden; position: relative; }
.voices__track { display: flex; width: 300%; transform: translateX(0%); transition: transform .9s var(--ease-swap); }
.slide { width: 33.3333%; padding: 64px 72px 0; box-sizing: border-box; opacity: .25; transition: opacity .6s; }
.slide.is-active { opacity: 1; }
.slide__mark { font-family: var(--display); font-size: 72px; line-height: 0.6; height: 36px; font-weight: 600; }
.slide__text { margin: 16px 0 0; max-width: 660px; font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.voices__foot { padding: 32px 72px 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.author { display: flex; align-items: center; gap: 12px; }
.author__mark {
  width: 40px; height: 40px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 22px;
}
.author__dot { color: var(--sun); }
.author__meta { display: flex; flex-direction: column; gap: 3px; }
.author__name { font-size: 14px; font-weight: 500; }
.author__role { font-size: 12px; }
.dots { display: flex; gap: 8px; }
.dot {
  width: 11px; height: 11px; padding: 0;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .3s;
}
.dot.is-active { background: var(--ink); }

/* ---------- why tim ---------- */
.why {
  max-width: 1200px; margin: 0 auto; padding: 40px 40px 140px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; align-items: center;
}
.why__title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.02em; }
.why__lead { margin: 28px 0 0; max-width: 330px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.why__cta { margin-top: 36px; display: inline-flex; }
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.features__col { display: flex; flex-direction: column; }
.features__col--first { padding-top: 70px; padding-right: 28px; border-right: 1px solid var(--rule); }
.features__col--second { padding-left: 28px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.feature--top { padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.feature--bottom { padding-top: 28px; }
.feature__icon { width: 44px; height: 44px; position: relative; }
.feature__title { margin: 0; font-size: 18px; font-weight: 500; }
.feature__text { margin: 10px 0 0; font-size: 13px; line-height: 1.65; color: var(--ink-2); }

/* ---------- hours ---------- */
.emergency { background: var(--mist); position: relative; padding: 110px 0; overflow: hidden; }
.emergency__streak { left: 30%; top: 62%; width: 60%; }
.emergency__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.55fr); gap: 24px;
  position: relative;
}
.emergency__title { font-size: clamp(34px, 4vw, 56px); line-height: 1.18; letter-spacing: -0.025em; }
.emergency__mask { padding-bottom: 0.08em; }
.emergency__mask--indent { padding-left: 24%; }
.emergency__lead { margin: 36px 0 0 18%; max-width: 270px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.emergency__scene { position: relative; height: clamp(300px, 34vw, 460px); margin-top: 20px; }
.emergency__beacon { transform-origin: 50% 61.5%; }
.emergency__side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 40px; }
.emergency__badge { width: 96px; height: 96px; font-size: 13px; }
.emergency__hours { padding-bottom: 20px; gap: 16px; font-size: 13px; }

/* ---------- faq ---------- */
.faq { max-width: 840px; margin: 0 auto; padding: 130px 40px 140px; }
.faq__title { text-align: center; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.02em; }
.faq__list { margin-top: 60px; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  border: 1.5px solid var(--faq-line);
  background: transparent; color: var(--ink);
  transition: background .45s, color .45s, border-color .45s;
}
.faq__item.is-open { border-color: var(--faq-open-bg); background: var(--faq-open-bg); color: var(--faq-open-fg); }
.faq__q {
  all: unset;
  box-sizing: border-box; width: 100%;
  padding: 24px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer;
  font-family: var(--display); font-size: 17px; font-weight: 500;
}
.faq__q:focus-visible { outline: 2px solid currentColor; outline-offset: -6px; }
.faq__icon { display: inline-flex; transform: rotate(0deg); transition: transform .45s var(--ease-swap); }
.faq__item.is-open .faq__icon { transform: rotate(-90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-swap); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
/* Hidden from screen readers and the tab order once the answer has folded away. */
.faq__clip { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.faq__item.is-open .faq__clip { visibility: visible; transition-delay: 0s; }
.faq__text { margin: 0; padding: 0 30px 26px; font-size: 13px; line-height: 1.75; max-width: 640px; opacity: 0; transition: opacity .4s; }
.faq__item.is-open .faq__text { opacity: 1; }

/* ---------- contact ---------- */
.contact { max-width: 1200px; margin: 0 auto; padding: 40px 40px 90px; }
.contact__card {
  background: var(--sky);
  border: 1px solid var(--ink);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 320px;
}
.contact__body { padding: 72px 0 72px 64px; position: relative; z-index: 2; }
.contact__title { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.02em; }
.contact__lead { margin: 18px 0 0; max-width: 340px; font-size: 14px; line-height: 1.65; }
.contact__link { font-weight: 600; text-decoration: underline; white-space: nowrap; } /* keeps a phone number or address on one line */
.contact__form { margin-top: 28px; max-width: 380px; display: flex; flex-direction: column; gap: 8px; }
.contact__message {
  border: 1.5px solid var(--ink); background: var(--paper); outline: 0;
  padding: 12px;
  font-family: var(--text); font-size: 13px;
  resize: vertical;
}
.contact__row { background: var(--paper); border: 1.5px solid var(--ink); padding: 6px; display: flex; gap: 6px; }
.contact__email {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  padding: 0 10px;
  font-family: var(--text); font-size: 13px;
  background: transparent;
}
.contact__send {
  border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--text); font-size: 13px; font-weight: 500;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .25s;
}
.contact__send:hover { background: var(--btn-hover); }
.contact__message:focus-visible,
.contact__row:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact__status { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
/* Spam trap: people never see or reach this field, bots fill it in and FormSubmit drops those messages. */
.contact__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-theme="dark"] .contact__message::placeholder { color: var(--placeholder); }
.contact__art { position: relative; clip-path: inset(-200px 0 0 -200px); }
.contact__switch { position: absolute; right: 0; top: -60px; bottom: -10px; left: 6%; }

/* ---------- call dialog ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: var(--overlay);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__panel {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--hard);
  padding: 40px 36px 36px;
  box-sizing: border-box;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background .25s, color .25s;
}
.modal__close:hover { background: var(--ink); color: var(--on-ink); }
.modal__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; }
.modal__hours { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.modal__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.modal__phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 18px; }
.modal__email {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 15px 20px;
  font-size: 15px; font-weight: 500;
  overflow-wrap: anywhere;
  transition: background .25s;
}
.modal__email:hover { background: var(--mist); color: var(--ink); }
.modal__arrow { display: flex; }

/* ---------- footer ---------- */
.site-footer { max-width: 1200px; margin: 0 auto; padding: 0 40px 32px; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-bottom: 22px; border-bottom: 1px solid var(--rule-2);
}
.site-footer__brand { font-size: 26px; }
.site-footer__phone { font-size: 14px; font-weight: 600; }
.site-footer__grid {
  padding: 40px 0 70px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px;
  font-size: 13px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col--muted { gap: 11px; color: var(--ink-2); }
.site-footer__heading { font-weight: 600; font-size: 14px; color: var(--ink); }
.site-footer__area { color: var(--ink-2); line-height: 1.6; max-width: 200px; }
.site-footer__contact,
.site-footer__contact:hover { color: var(--ink-2); }
.site-footer__legal {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted);
}

/* ---------- 404 page ---------- */
.lost { max-width: 1200px; margin: 0 auto; padding: 24px 40px 90px; text-align: center; }
.lost__title {
  margin: 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08; letter-spacing: -0.025em;
}
.lost__lead { margin: 20px auto 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.lost__art { position: relative; height: clamp(220px, 30vw, 320px); margin-top: 48px; }
.lost__legal { padding-top: 22px; }

/* ---------- phones ----------
 * The design stops working below about 700px (clipped headings, a squeezed form), and it has no phone
 * layout of its own. This block stacks its columns and tightens the spacing, with the same parts and colours.
 */
@media (max-width: 699px) {
  .container, .hero__copy { padding: 0 20px; }

  /* Name and call button share the top row; the section links sit centred underneath. */
  .site-header { flex-wrap: wrap; padding: 16px 20px 10px; gap: 8px 10px; }
  .site-header > .brand { font-size: 20px; }
  .nav { order: 3; width: 100%; gap: 0 16px; font-size: 13px; }
  .nav a { padding: 6px 0; }
  .site-header__actions { gap: 8px; margin-left: auto; }
  .theme-toggle { width: 32px; height: 32px; }
  .site-header__call { padding: 10px 12px; font-size: 13px; }

  .hero__art { margin-top: 4px; }

  .area { padding: 64px 20px 72px; }
  .cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 32px; font-size: 20px; }

  .services { padding: 96px 0 72px; }
  .services__badge { width: 96px; height: 96px; font-size: 13px; top: -144px; right: 20px; }
  .cards { margin-top: 40px; gap: 16px; }

  .how { padding: 120px 0 80px; }
  .how__van { top: 24px; width: 120px; height: 88px; }
  .how__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .how__scene { margin: 24px 0 0; height: 260px; }
  .how__aside { padding-bottom: 0; position: relative; } /* above the white streak, which crosses it here */

  .voices { padding: 24px 20px 88px; }
  .slide { padding: 40px 24px 0; }
  .slide__text { font-size: 17px; }
  .voices__foot { padding: 24px 24px 36px; }

  .why { padding: 24px 20px 96px; grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .features__col--first { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .features__col--second { padding: 28px 0 0; }

  .emergency { padding: 88px 0 80px; }
  .emergency__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .emergency__lead { margin-top: 24px; }
  .emergency__scene { height: 300px; margin-top: 8px; }
  .emergency__side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 28px; }
  .emergency__hours { padding-bottom: 0; }

  .faq { padding: 96px 20px 100px; }
  .faq__list { margin-top: 40px; gap: 12px; }
  .faq__q { padding: 20px; font-size: 16px; }
  .faq__text { padding: 0 20px 22px; }

  .contact { padding: 24px 20px 72px; }
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .contact__body { padding: 44px 24px 0; }
  .contact__form { max-width: none; }
  .contact__art { height: 230px; }
  .contact__switch { top: 0; }

  .lost { padding: 16px 20px 72px; }

  .modal { padding: 16px; }
  .modal__panel { padding: 36px 20px 24px; }
  .modal__email { padding: 14px 16px; font-size: 14px; }

  .site-footer { padding: 0 20px 28px; }
  .site-footer__top { flex-wrap: wrap; gap: 8px 20px; }
  .site-footer__brand { font-size: 22px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 32px 0 48px; }
  .site-footer__col:first-child,
  .site-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 389px) {
  .site-header > .brand { font-size: 17.5px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .voices__track, .slide, .theme-toggle svg { transition: none; }
}
