/* ==========================================================================
   Dobson Accounting Services — new design v1
   Palette is the original dobsonaccounts.co.uk palette, unchanged:
   forest #2E4734, sage #4A6454, charcoal #353B41, slate #6D7683, mist #F9FAFB,
   plus the logo's red, used only as a small accent.
   ========================================================================== */

:root {
  --forest: #2e4734;
  --forest-deep: #243a2a;
  --sage: #4a6454;
  --sage-tint: rgba(74, 100, 84, 0.1);
  --ink: #353b41;
  --slate: #6d7683;
  --mist: #f9fafb;
  --white: #ffffff;
  --red: #c8352b;
  --line: #e4e7e9;
  --line-dark: rgba(249, 250, 251, 0.14);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--forest); color: var(--mist); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--forest); color: var(--mist); border-radius: 8px; }
.skip:focus { top: 16px; }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* ---------- Buttons & small parts ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease), height 0.6s var(--ease);
}
.btn:hover::after { width: 320px; height: 320px; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-solid { background: var(--forest); color: var(--mist); }
.btn-solid::after { background: var(--sage); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line::after { background: var(--ink); }
.btn-line:hover { color: var(--mist); }

.stars { color: #e3a008; letter-spacing: 2px; font-size: 14px; }

.label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.label-light { color: rgba(249, 250, 251, 0.6); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--forest);
}
.h2 em { color: var(--sage); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--forest); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color 0.3s, gap 0.4s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { color: var(--red); gap: 12px; }

/* ---------- Reveal ---------- */

.fade {
  opacity: 0;
  transform: translateY(16px);
  animation: in 1.1s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--i, 0) * 0.1s);
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.reveal.in { opacity: 1; transform: none; }
@keyframes in { to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0);
  transition: transform 0.5s var(--ease), background 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
}
.header.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 40px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand span { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--forest); }
.brand em { font-size: 0.72em; color: var(--slate); }

.nav { display: flex; gap: 34px; font-size: 14.5px; }
.nav a { position: relative; padding: 4px 0; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--forest); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--forest); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.35s, color 0.35s;
}
.header-phone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.header-phone:hover { background: var(--forest); color: var(--mist); }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; z-index: 110; }
.burger span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--forest); transition: transform 0.45s var(--ease), top 0.45s var(--ease), background 0.3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span { background: var(--mist); }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .brand span, .nav-open .brand em { color: var(--mist); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  background: var(--forest);
  color: var(--mist);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.nav-open .drawer { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--ease); }
.drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(40px, 12vw, 60px);
  line-height: 1.1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.drawer nav a small { font-family: var(--sans); font-size: 12px; opacity: 0.5; }
.nav-open .drawer nav a { opacity: 1; transform: none; }
.nav-open .drawer nav a:nth-child(2) { transition-delay: 0.06s; }
.nav-open .drawer nav a:nth-child(3) { transition-delay: 0.12s; }
.nav-open .drawer nav a:nth-child(4) { transition-delay: 0.18s; }
.drawer .btn-solid { justify-content: center; background: var(--mist); color: var(--forest); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 160px 0 0;
  background:
    linear-gradient(var(--white), rgba(255, 255, 255, 0) 30%),
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--mist);
  background-blend-mode: normal;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(rgba(249, 250, 251, 0), var(--white));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 72px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--slate); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); }

.hero-title {
  margin: 26px 0 30px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--forest);
}
.hero-title em { color: var(--sage); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; animation: word 1.2s var(--ease) forwards; animation-delay: calc(0.25s + var(--wi) * 0.07s); }
@keyframes word { to { transform: none; } }

.hero-lead { max-width: 520px; font-size: 18.5px; color: var(--slate); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 14px; color: var(--slate); }
.rating strong { color: var(--ink); }
.rating:hover { color: var(--forest); }

/* Keypad */
.keypad-wrap { position: relative; justify-self: end; width: 100%; max-width: 380px; }
.keypad {
  padding: 22px;
  border-radius: 34px;
  background: var(--forest);
  box-shadow: 0 50px 90px -40px rgba(46, 71, 52, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-4deg);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-3deg) translateY(-10px); } }
.keypad-screen {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(249, 250, 251, 0.1);
  color: var(--mist);
}
.screen-label { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.screen-value { font-family: var(--serif); font-size: 36px; line-height: 1.2; height: 1.2em; overflow: hidden; }
.screen-status { display: inline-block; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.screen-status.out { transform: translateY(-100%); opacity: 0; }
.screen-status.pre { transform: translateY(100%); opacity: 0; transition: none; }

.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.key {
  aspect-ratio: 1.25;
  border-radius: 12px;
  background: rgba(249, 250, 251, 0.12);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s;
}
.key.lit { background: var(--mist); transform: translateY(-2px); }
.key.lit.hot { background: var(--red); box-shadow: 0 0 24px rgba(200, 53, 43, 0.55); }

.keypad-note {
  position: absolute;
  left: -48px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 50px -20px rgba(53, 59, 65, 0.35);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  color: var(--forest);
  animation: bob2 6s ease-in-out infinite 1s;
}
@keyframes bob2 { 50% { transform: translateY(8px); } }
.note-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200, 53, 43, 0.15); }

/* Facts strip */
.facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 110px;
  border-top: 1px solid var(--line);
}
.fact { display: flex; flex-direction: column; gap: 4px; padding: 30px 24px 34px 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact-k { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--forest); }
.fact-v { font-size: 14px; color: var(--slate); }

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-top { display: grid; grid-template-columns: 0.35fr 0.65fr; gap: 40px; align-items: start; margin-bottom: 64px; }
.section-top .label { padding-top: 14px; }

/* Services: editorial rows */
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr 56px;
  align-items: center;
  gap: 24px;
  padding: 38px 20px;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.5s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.service-row:hover { color: var(--mist); }
.service-row:hover::before { transform: scaleY(1); }
.service-num { font-size: 13px; color: var(--slate); transition: color 0.5s; }
.service-name { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--forest); transition: color 0.5s, transform 0.6s var(--ease); }
.service-desc { max-width: 420px; color: var(--slate); transition: color 0.5s; }
.service-go {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.5s, border-color 0.5s, transform 0.6s var(--ease);
}
.service-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-row:hover .service-num, .service-row:hover .service-desc { color: rgba(249, 250, 251, 0.75); }
.service-row:hover .service-name { color: var(--mist); transform: translateX(12px); }
.service-row:hover .service-go { background: var(--red); border-color: var(--red); transform: rotate(45deg); }

.who { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; }
.who-label { font-size: 13px; color: var(--slate); }
.who ul { display: flex; flex-wrap: wrap; gap: 10px; }
.who li { padding: 9px 18px; border-radius: 999px; background: var(--sage-tint); color: var(--forest); font-size: 14px; font-weight: 500; }

/* About */
.about { background: var(--mist); }
.statement {
  margin: 34px 0 90px;
  max-width: 1100px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.statement .sw { opacity: 0.16; transition: opacity 0.35s linear; }
.statement .sw.on { opacity: 1; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  padding: 34px 28px 36px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.5s, opacity 1.1s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(46, 71, 52, 0.45); border-color: transparent; }
.pillar svg { width: 36px; height: 36px; margin-bottom: 42px; fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s, transform 0.6s var(--ease); }
.pillar:hover svg { stroke: var(--red); transform: scale(1.1) rotate(-6deg); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; color: var(--forest); margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--slate); }

/* Reviews */
.reviews { overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 60px; }
.reviews-head .h2 { margin-top: 18px; }
.score { display: flex; align-items: center; gap: 16px; padding: 18px 26px; border: 1px solid var(--line); border-radius: 20px; }
.score-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--forest); }
.score .stars { display: block; font-size: 17px; }
.score-sub { font-size: 13.5px; color: var(--slate); }

.featured {
  position: relative;
  padding: clamp(40px, 6vw, 80px);
  border-radius: 32px;
  background: var(--forest);
  color: var(--mist);
  overflow: hidden;
}
.featured::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74, 100, 84, 0.9), transparent);
}
.quote-mark { position: relative; width: 56px; height: 42px; fill: var(--red); margin-bottom: 30px; }
.slides { position: relative; display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), visibility 0s 0.8s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s; }
.slide blockquote { max-width: 980px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; }
.slide figcaption { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.slide figcaption strong { display: block; font-weight: 500; }
.slide figcaption small { font-size: 13px; opacity: 0.65; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--forest); font-family: var(--serif); font-size: 22px; }

.slide-controls { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 50px; }
.slide-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: none;
  color: var(--mist);
  cursor: pointer;
  transition: background 0.35s, color 0.35s;
}
.slide-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.slide-btn:hover { background: var(--mist); color: var(--forest); }
.slide-bars { display: flex; gap: 8px; flex: 1; max-width: 280px; }
.slide-bars button { flex: 1; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.slide-bars span { position: relative; display: block; height: 2px; background: var(--line-dark); overflow: hidden; }
.slide-bars span::after { content: ""; position: absolute; inset: 0; background: var(--mist); transform: scaleX(0); transform-origin: left; }
.slide-bars [aria-selected="true"] span::after { animation: bar var(--dur, 7s) linear forwards; }
.featured.paused .slide-bars [aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.review-rail { margin-top: 28px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail-track { display: flex; gap: 20px; width: max-content; padding: 8px 0; animation: rail 48s linear infinite; }
.review-rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(calc(-50% - 10px)); } }
.mini {
  flex: none;
  width: 340px;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.mini:hover { border-color: var(--sage); transform: translateY(-4px); }
.mini blockquote { margin: 12px 0 16px; font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--forest); }
.mini figcaption { font-size: 13.5px; color: var(--slate); }
.reviews-foot { margin-top: 40px; }

/* Contact */
.contact {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  background: var(--forest);
  color: var(--mist);
  overflow: hidden;
}
.keys-bg {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='64'%3E%3Crect x='6' y='6' width='64' height='52' rx='12' fill='%23f9fafb'/%3E%3C/svg%3E") 0 0 / 76px 64px;
  mask-image: radial-gradient(70% 90% at 90% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 90% at 90% 10%, #000, transparent 70%);
}
.contact .wrap { position: relative; }
.contact-title { max-width: 900px; margin: 22px 0 64px; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.contact-title em { color: rgba(249, 250, 251, 0.6); }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 38px 36px;
  border-radius: 26px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s, opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.route::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mist);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path 0.7s var(--ease);
}
.route:hover { color: var(--forest); border-color: var(--mist); }
.route:hover::before { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
.route-kicker { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.route-main { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; overflow-wrap: break-word; }
.route-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; }
.route-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.route:hover .route-cta svg { transform: translateX(6px); }

.contact-meta { display: flex; flex-wrap: wrap; gap: 20px 64px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-meta div { display: flex; flex-direction: column; gap: 2px; font-size: 17px; }
.contact-meta span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
.contact-meta a { border-bottom: 1px solid var(--line-dark); transition: border-color 0.3s; }
.contact-meta a:hover { border-color: var(--mist); }

/* Footer */
.footer { background: var(--forest-deep); color: rgba(249, 250, 251, 0.7); padding: 70px 0 28px; font-size: 14.5px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-mark { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--mist); }
.footer-mark em { color: rgba(249, 250, 251, 0.55); }
.footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer nav a:hover, .footer-base a:hover { color: var(--mist); }
.share { display: flex; gap: 10px; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background 0.35s, color 0.35s, transform 0.45s var(--ease); }
.share a:hover { background: var(--mist); color: var(--forest); transform: translateY(-3px); }
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; opacity: 0.75; }

/* ---------- Responsive ---------- */

@media (max-width: 1060px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 56px 1fr 52px; }
  .service-desc { grid-column: 2 / 3; grid-row: 2; }
  .service-go { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .keypad-wrap { justify-self: center; max-width: 340px; }
  .keypad-note { left: -24px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 80px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section-top { grid-template-columns: 1fr; gap: 16px; }
  .section-top .label { padding-top: 0; }
  .routes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 22px; }
  .brand em { display: none; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .keypad { padding: 16px; border-radius: 26px; }
  .keypad-note { left: -8px; bottom: -24px; font-size: 17px; }
  .fact { padding: 24px 12px 26px 0; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact-k { font-size: 32px; }
  .service-row { grid-template-columns: 1fr 44px; gap: 10px 16px; padding: 28px 8px; }
  .service-num { display: none; }
  .service-desc { grid-column: 1; }
  .service-go { grid-column: 2; width: 44px; height: 44px; }
  .pillars { grid-template-columns: 1fr; }
  .score { padding: 14px 18px; }
  .score-num { font-size: 48px; }
  .featured { border-radius: 24px; }
  .mini { width: 280px; }
  .route { padding: 30px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reveal, .fade { opacity: 1; transform: none; }
  .statement .sw { opacity: 1; }
  .rail-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
}
