/* Azov Locksmith, design v3: the original Squarespace look, rebuilt by hand.
   White pages, slate-gray bands, brand red, pink highlights on gray.
   Anton (uppercase) for headings and buttons, Figtree for text. */

@font-face { font-family: "Anton"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/anton-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/figtree-latin-700-normal.woff2) format("woff2"); }

:root {
  --red: #e60012;
  --red-dark: #c4000f;
  --ink: #000000;
  --text-gray: #2e2e2e;
  --muted: #525252;
  --band: #494e54;
  --band-text: #ffffff;
  --pink: #ffd2d5;
  --line: #4d4c52;
  --field: #8a8a8a;
  --paper: #ffffff;
  --soft: #f4f4f5;
  --focus: #1f5fff;

  --head: "Anton", "Oswald", "Impact", "Arial Narrow", sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 82.5rem;
  --gutter-l: max(clamp(16px, 4vw, 60px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 60px), env(safe-area-inset-right, 0px));
  --squircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0C88 0 100 12 100 50S88 100 50 100 0 88 0 50 12 0 50 0Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  border-top: 1px solid var(--ink);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 70;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; text-transform: uppercase; line-height: 1.12; letter-spacing: 0; margin: 0; text-wrap: balance; }
p { margin: 0; }
.red { color: var(--red); }
.pink { color: var(--pink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }
[id] { scroll-margin-top: 20px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(56px, 7vw, 100px); }
.section:not(.band) + .section:not(.band) { padding-top: 0; }
.band { background: var(--band); color: var(--band-text); }
.band + .section { padding-top: clamp(56px, 7vw, 100px); }
.center { text-align: center; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}
.split > * { min-width: 0; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 92px; padding-block: 10px; }
.header-row { max-width: none; }
.brand { margin-right: auto; display: block; }
.brand img { height: 58px; width: auto; }
.logo--dark { display: none; }
@media (min-width: 900px) { .brand img { height: 70px; } }
.nav { display: none; align-items: center; gap: 26px; }
.nav > a, .nav summary {
  font-size: 1rem;
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav [aria-current="page"], .nav .is-current > summary { border-bottom-color: currentColor; }
.nav-caret { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-drop { position: relative; }
.nav-drop .menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 15rem;
  display: grid;
  padding: 10px 0;
  background: var(--paper);
  border: 1px solid #d7d7d7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.nav-drop .menu a { padding: 9px 18px; text-decoration: none; }
.nav-drop .menu a:hover { color: var(--red); }
.btn-quote {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-quote:hover { background: var(--red-dark); }
.header-row > .btn-quote { display: none; }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .header-row > .btn-quote { display: inline-flex; }
  .mobile-menu { display: none; }
}
.mobile-menu > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 6px;
  width: 44px;
  height: 44px;
  place-content: center;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary span { display: block; width: 28px; height: 2px; background: var(--ink); }
.mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  gap: 4px;
  padding: 18px var(--gutter-r) 28px var(--gutter-l);
  background: var(--paper);
  border-top: 1px solid #e3e3e3;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.mobile-panel a { font-size: 1.35rem; text-decoration: none; padding: 6px 0; }
.mobile-panel a.sub { font-size: 1.1rem; padding-left: 18px; color: var(--muted); }
.mobile-panel .btn-quote { justify-self: start; margin-top: 12px; font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  min-width: min(100%, 15rem);
  padding: 10px 28px;
  border: 2px solid var(--red);
  font-family: var(--head);
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.btn--outline { background: var(--paper); color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--pink); border-color: var(--pink); }
.band .btn--outline { background: transparent; color: #fff; border-color: #fff; }
.band .btn--outline:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px 48px; }
.btn-row.center { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 90px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.15; }
.page-title { font-size: clamp(2.3rem, 4.3vw, 3.7rem); line-height: 1.15; }
.hero h1.page-title { font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--text-gray); max-width: 30em; }
.lead a { text-decoration: none; }
.lead a:hover { text-decoration: underline; }
.hero .lead + .lead { margin-top: -4px; }
.squiggle { text-decoration: underline wavy var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 6px; color: var(--ink); }
.hero-photo { justify-self: center; width: min(100%, 420px); }
@media (max-width: 899px) { .hero-photo:not(.hero-photo--frame) { width: min(80%, 360px); } }
.hero-photo img { width: 100%; }
.hero-photo--frame img { aspect-ratio: 3 / 4; object-fit: cover; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .btn-row { gap: 18px 56px; margin-top: 10px; }
.hero-copy .btn { min-width: min(100%, 18rem); }

/* ---------- Gray feature columns ---------- */
.features { display: grid; gap: 34px; padding-block: clamp(44px, 5vw, 60px); }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features--4 { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.feature { text-align: center; display: grid; gap: 14px; align-content: start; padding-inline: 10px; }
@media (min-width: 1000px) { .features--4 .feature + .feature { border-left: 1px solid rgba(255, 255, 255, 0.55); } }
.feature h2, .feature h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.feature h2 a, .feature h3 a { text-decoration: none; }
.feature h2 a:hover, .feature h3 a:hover { color: var(--pink); }
.feature p { font-size: 1.0625rem; line-height: 1.55; }
.features--2x2 { gap: 44px 56px; }
.features--2x2 .feature h2, .features--2x2 .feature h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 4px; }
.feature .hl { color: var(--pink); }

/* ---------- Quote form ---------- */
.quote-sec { padding-block: clamp(56px, 7vw, 100px); }
.quote-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: 0.85fr 1fr; gap: clamp(48px, 8vw, 130px); }
  .quote-grid .quote-form-wrap { order: -1; }
}
.quote-copy { display: grid; gap: 34px; }
.quote-copy h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.quote-copy p { font-size: 1.2rem; line-height: 1.6; }
.emergency { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.emergency h3 { font-size: 1.6rem; }
.emergency .btn { min-height: 58px; font-size: 1.25rem; }
.quote-form-wrap { border: 2px solid var(--line); border-radius: 18px; padding: clamp(22px, 2.5vw, 28px); }
.quote-form { display: grid; gap: 18px; }
.quote-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.quote-form legend { padding: 0; margin-bottom: 4px; font-size: 1rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label, .quote-form legend { font-size: 0.95rem; }
.field label small { color: var(--muted); font-size: 0.85rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 9px 10px;
  border: 1px solid var(--field);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.quote-form .btn { width: 100%; min-height: 64px; font-size: 1.35rem; }
.quote-form .hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.98rem; line-height: 1.5; }
.form-status.ok { color: #0c6b2c; }
.form-status.err { color: var(--red); }

/* ---------- About band ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 90px); } }
.about-grid h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
.about-copy { display: grid; gap: 20px; }
.about-copy > p { font-size: 1.2rem; line-height: 1.6; }
.about-copy > h2 + p { margin-top: 20px; }
.about-cta { display: grid; gap: 16px; justify-items: center; margin-top: 34px; }
.about-cta .btn { margin-top: 26px; }
.about-cta h2 { font-size: clamp(2.1rem, 3.7vw, 3.4rem); line-height: 1.12; justify-self: stretch; }
.about-cta h2 span.small { display: block; font-size: 0.72em; margin-top: 0.3em; line-height: 1.15; }
.squircles { display: grid; gap: 14px; justify-items: center; }
@media (max-width: 899px) { .squircles { grid-template-columns: 1fr 1fr; } }
.squircle {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  -webkit-mask: var(--squircle) center / 100% 100% no-repeat;
  mask: var(--squircle) center / 100% 100% no-repeat;
}

/* ---------- Why choose ---------- */
.why h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); text-align: center; }
.why-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 1.2rem; line-height: 1.55; }
.ticks li::before { content: "\2713\00a0"; }
.ticks .red { color: var(--red); }
.why .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Service area ---------- */
.service-area { text-align: center; padding-block: clamp(48px, 5vw, 64px); border-bottom: 2px solid #2a2a2a; }
.service-area h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); color: var(--pink); }
.towns {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  font-family: var(--head);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  text-transform: uppercase;
  line-height: 1.2;
}
.towns li:not(:first-child)::before { content: "\25CF"; display: inline-block; margin: 0 0.45em; font-size: 0.7em; vertical-align: 0.12em; }
.towns a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { border-bottom: 1px solid var(--ink); }
.footer-grid { display: grid; gap: 36px; padding-block: 52px 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 48px; } }
.footer-grid h2 { font-size: 1.8rem; margin-bottom: 18px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.footer-brand img { height: 66px; width: auto; margin-bottom: 20px; }
.footer-brand a { color: var(--red); text-underline-offset: 3px; }
.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: 0.98rem; }
.footer-col p { line-height: 1.5; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--red); }
.footer-follow { justify-items: start; }
.footer-follow a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { font-size: 0.85rem; color: var(--muted); padding-bottom: 28px; }

/* ---------- Inner pages ---------- */
.page-intro { padding-block: clamp(40px, 5vw, 70px) clamp(48px, 6vw, 80px); }
.page-intro.center .lead { margin-inline: auto; }
.page-intro .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; max-width: 46em; }
.page-intro .lead a, .rich a { color: var(--red); text-decoration: none; }
.page-intro .lead a:hover, .rich a:hover { text-decoration: underline; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-title { margin-bottom: 28px; }
.subhead { font-size: 1.5rem; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1.08rem; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: "\00B7"; position: absolute; left: 6px; font-weight: 700; }
.dots a { text-decoration: none; }
.dots a:hover { color: var(--red); }
.dots--2 { gap: 8px 48px; }
@media (min-width: 720px) { .dots--2 { grid-template-columns: 1fr 1fr; } }
.photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo--wide img { aspect-ratio: 4 / 3; }

.vehicle-band { display: grid; gap: 30px; padding-block: clamp(36px, 4vw, 50px); }
@media (min-width: 900px) { .vehicle-band { grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; } }
.vehicle-band h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.vehicle-band p { font-size: 1.12rem; line-height: 1.55; }
.vehicle-band .small { font-size: 1rem; line-height: 1.55; }
.vehicle-band em { font-style: italic; }
.urgent { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; }
.urgent h3 { font-size: 1.35rem; }
.urgent .btn { min-height: 52px; min-width: 14rem; font-size: 1.15rem; }

.help h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); text-align: center; margin-bottom: 36px; }
.help .dots--2 { max-width: 46rem; margin: 0 auto; }
.help .btn-row { justify-content: center; margin-top: 36px; }

.photo-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .photo-row { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo-row figure { margin: 0; display: grid; gap: 8px; }
.photo-row figcaption { font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
.photo-row figcaption strong { display: block; color: var(--ink); font-weight: 600; }

.faq-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 0.8fr; gap: 64px; } }
.faq-title { font-size: clamp(1.8rem, 2.6vw, 2.2rem); text-align: center; margin-bottom: 36px; }
.faq { border-bottom: 1px solid var(--ink); }
.faq details { border-top: 1px solid var(--ink); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--head);
  font-size: 1.3rem;
  text-transform: uppercase;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--body); font-size: 1.6rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 44px 22px 0; font-size: 1.05rem; line-height: 1.6; }
.faq .answer a { color: var(--red); }
.faq-only { max-width: 52rem; margin: 0 auto; }

.divider-top { border-top: 1px solid var(--ink); }
.student h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-align: center; margin-bottom: 40px; }
.student .intro p { font-size: 1.2rem; line-height: 1.6; }
.student .intro p + p { margin-top: 14px; }
.two-cols { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 900px) { .two-cols { grid-template-columns: 1fr 1fr; gap: 0; } .two-cols > * + * { border-left: 1px solid var(--ink); } .two-cols > * { padding-inline: 26px; } }
.two-cols h3 { font-size: clamp(1.5rem, 2vw, 1.8rem); text-align: center; margin-bottom: 18px; }
.two-cols p, .two-cols li { font-size: 1.05rem; line-height: 1.6; }
.two-cols .dots { margin-block: 12px; font-size: 0.98rem; }
.two-cols .stack { gap: 12px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--ink); }
.compare { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #d0d0d0; vertical-align: top; }
.compare thead th { background: var(--band); color: #fff; font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; }
.compare tbody th { font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.h-sec { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 26px; }
.h-sec.center { text-align: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } .steps li + li { border-left: 1px solid rgba(255, 255, 255, 0.55); } }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; text-align: center; padding-inline: 14px; }
.steps li::before { content: counter(step); font-family: var(--head); font-size: 3rem; line-height: 1; color: var(--pink); }
.steps h3 { font-size: 1.6rem; }
.steps p { font-size: 1.05rem; line-height: 1.55; }

.alert { border-left: 6px solid var(--red); padding: 12px 18px; background: #fff3f4; font-weight: 600; }
.ready { border: 2px solid var(--line); border-radius: 18px; padding: clamp(22px, 2.5vw, 30px); display: grid; gap: 14px; align-content: start; }
.ready h3 { font-size: 1.6rem; }
.band .ready { border-color: rgba(255, 255, 255, 0.7); }
.rich { display: grid; gap: 16px; font-size: 1.12rem; line-height: 1.6; max-width: 44rem; }
.rich h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.rich h2:not(:first-child) { margin-top: 20px; }

.reviews { display: grid; gap: 28px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.review { margin: 0; border: 2px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.review figcaption { font-size: 0.95rem; color: var(--muted); }
.review figcaption strong { color: var(--red); font-family: var(--head); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; display: block; }

/* Contact page */
.contact-lines { display: grid; gap: 0; }
.contact-line { padding-block: 26px; border-bottom: 1px solid var(--ink); display: grid; gap: 10px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.contact-line h2 a { color: var(--red); text-decoration: none; overflow-wrap: anywhere; }
.contact-line h2 a:hover { text-decoration: underline; }
.contact-line p { font-size: 1.2rem; }

/* Blog */
.post-list { display: grid; max-width: 72rem; margin: 0 auto; gap: 24px; }
@media (min-width: 800px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card { display: grid; gap: 10px; align-content: start; padding: 28px; border: 1px solid var(--ink); text-decoration: none; }
.post-card h2 { font-size: clamp(1.5rem, 2.1vw, 1.95rem); }
.post-card:hover h2 { color: var(--red); }
.post-card p { color: var(--text-gray); }
.post-meta { font-size: 0.9rem; color: var(--muted); }
.article-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr) 20rem; } }
.article { max-width: 42rem; font-size: 1.1rem; line-height: 1.7; }
.article h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 38px 0 12px; }
.article p, .article ul, .article ol { margin: 0 0 16px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--red); }
.side-call { display: grid; gap: 14px; align-content: start; border: 2px solid var(--line); border-radius: 18px; padding: 24px; }
@media (min-width: 900px) { .side-call { position: sticky; top: 24px; } }
.side-call h2 { font-size: 1.8rem; }
.side-call .btn { width: 100%; min-width: 0; font-size: 1.2rem; min-height: 56px; }

.skip-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.towns + .towns { margin-top: 14px; }

/* Modern layer: depth, rounded shapes, glass header, card sections.
   Loaded after styles.css only when a theme is chosen in settings.json.
   All colors come from the theme file (navy.css, carbon.css, warm.css). */

html.modern {
  --radius: 22px;
  --radius-sm: 14px;
  --radius-btn: 14px;
  --shadow-rgb: 15 23 42;
  --shadow-sm: 0 1px 2px rgb(var(--shadow-rgb) / 0.06), 0 4px 12px -2px rgb(var(--shadow-rgb) / 0.08);
  --shadow: 0 2px 4px rgb(var(--shadow-rgb) / 0.05), 0 16px 36px -10px rgb(var(--shadow-rgb) / 0.2);
  --shadow-lg: 0 4px 10px rgb(var(--shadow-rgb) / 0.06), 0 32px 70px -18px rgb(var(--shadow-rgb) / 0.34);
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --border: rgb(var(--shadow-rgb) / 0.1);
  --accent-hi: #ff3a47;
  --glow: rgb(230 0 18 / 0.4);
  --ring: rgb(230 0 18 / 0.18);
  --input-bg: #ffffff;
  --header-bg: rgb(255 255 255 / 0.8);
  --band-bg: var(--band);
  --band-card: rgb(255 255 255 / 0.06);
  --band-card-hover: rgb(255 255 255 / 0.1);
  --band-border: rgb(255 255 255 / 0.12);
  --hero-bg: var(--paper);
  --orb: var(--band);
  --orb-ring: rgb(230 0 18 / 0.4);
  --dots: rgb(var(--shadow-rgb) / 0.18);
  --deco: var(--band);
}

html.modern { background: var(--paper); }
html.modern body { background: var(--paper); color: var(--ink); border-top: 0; }
html.modern [id] { scroll-margin-top: 104px; }

/* ---------- Header: sticky glass bar ---------- */
html.modern .site-header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--border);
}
html.modern .header-row { min-height: 84px; }
html.modern .nav { gap: 4px; }
html.modern .nav > a, html.modern .nav summary {
  padding: 8px 14px;
  border-radius: 999px;
  border-bottom: 0;
  transition: background-color 0.2s, color 0.2s;
}
html.modern .nav > a:hover, html.modern .nav summary:hover { background: var(--surface-2); }
html.modern .nav [aria-current="page"], html.modern .nav .is-current > summary { background: var(--surface-2); color: var(--red); }
html.modern .nav-drop .menu {
  top: calc(100% + 14px);
  left: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
html.modern .nav-drop .menu a { border-radius: 10px; padding: 10px 14px; }
html.modern .nav-drop .menu a:hover { background: var(--surface-2); }
html.modern .btn-quote {
  border-radius: 999px;
  padding-inline: 24px;
  background: linear-gradient(180deg, var(--accent-hi), var(--red));
  box-shadow: 0 10px 22px -8px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
html.modern .btn-quote:hover { background: linear-gradient(180deg, var(--accent-hi), var(--red-dark)); transform: translateY(-1px); box-shadow: 0 14px 28px -8px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.25); }
html.modern .mobile-menu > summary { border-radius: 12px; }
html.modern .mobile-menu > summary:hover { background: var(--surface-2); }
html.modern .mobile-panel {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons: raised, glowing ---------- */
html.modern .btn {
  border-radius: var(--radius-btn);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s, color 0.18s, border-color 0.18s;
}
html.modern .btn:hover { transform: translateY(-2px); }
html.modern .btn:active { transform: translateY(0); }
html.modern .btn--solid, html.modern .quote-form .btn {
  background: linear-gradient(180deg, var(--accent-hi), var(--red) 75%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px -12px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
html.modern .btn--solid:hover, html.modern .quote-form .btn:hover {
  background: linear-gradient(180deg, var(--accent-hi), var(--red-dark) 90%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 22px 40px -14px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
html.modern .btn--outline { background: var(--surface); color: var(--red); border-color: var(--red); box-shadow: var(--shadow-sm); }
html.modern .btn--outline:hover { background: var(--red); color: #fff; box-shadow: 0 16px 30px -12px var(--glow); }
html.modern .btn--white { background: #ffffff; color: #111111; border-color: #ffffff; box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.55); }
html.modern .btn--white:hover { background: #ffffff; border-color: #ffffff; color: var(--red); }
html.modern .band .btn--outline { background: rgb(255 255 255 / 0.06); color: #ffffff; border-color: rgb(255 255 255 / 0.75); box-shadow: none; }
html.modern .band .btn--outline:hover { background: #ffffff; color: #111111; border-color: #ffffff; }
@media (prefers-reduced-motion: reduce) {
  html.modern .btn, html.modern .btn-quote, html.modern .feature, html.modern .post-card, html.modern .photo-row figure { transition: none; }
  html.modern .btn:hover, html.modern .btn-quote:hover, html.modern .feature:hover, html.modern .post-card:hover, html.modern .photo-row figure:hover { transform: none; }
}

/* ---------- Hero ---------- */
html.modern .hero { position: relative; overflow: hidden; background: var(--hero-bg); }
html.modern .hero::before {
  content: "";
  position: absolute;
  right: 3%;
  top: 7%;
  width: min(260px, 40vw);
  height: 180px;
  background-image: radial-gradient(var(--dots) 1.6px, transparent 1.9px);
  background-size: 18px 18px;
  pointer-events: none;
}
html.modern .hero > .wrap { position: relative; }
@media (max-width: 899px) { html.modern .hero::before { display: none; } }
html.modern .hero-photo:not(.hero-photo--frame) {
  position: relative;
  isolation: isolate;
  align-self: end;
  margin-bottom: calc(-1 * clamp(40px, 6vw, 90px));
}
html.modern .hero-photo:not(.hero-photo--frame)::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 6%;
  width: 98%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--orb);
  box-shadow: 0 44px 80px -34px rgb(var(--shadow-rgb) / 0.6), inset 0 3px 0 rgb(255 255 255 / 0.16);
}
html.modern .hero-photo:not(.hero-photo--frame)::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: calc(6% - 20px);
  width: calc(98% + 40px);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  border: 2px dashed var(--orb-ring);
}
html.modern .hero-photo:not(.hero-photo--frame) img { filter: drop-shadow(0 26px 30px rgb(var(--shadow-rgb) / 0.3)); }
html.modern .hero-photo--frame { position: relative; isolation: isolate; }
html.modern .hero-photo--frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -5% -5% 7%;
  border-radius: var(--radius);
  background: var(--deco);
}
html.modern .hero-photo--frame img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Bands and feature cards ---------- */
html.modern .band { background: var(--band-bg); }
html.modern .features { gap: 20px; }
@media (min-width: 1000px) {
  html.modern .features--4 { gap: 20px; }
  html.modern .features--4 .feature + .feature { border-left: 0; }
}
html.modern .feature {
  position: relative;
  padding: 34px 24px 30px;
  background: var(--band-card);
  border: 1px solid var(--band-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 44px -28px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.07);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
html.modern .feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 56px;
  height: 4px;
  translate: -50% 0;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--accent-hi));
}
html.modern .feature:hover { transform: translateY(-4px); background: var(--band-card-hover); }
html.modern .feature h2, html.modern .feature h3 { font-size: clamp(1.7rem, 2.3vw, 2.2rem); }
html.modern .features--2x2 .feature { padding: 34px 30px 30px; }
html.modern .features--2x2 .feature h2, html.modern .features--2x2 .feature h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }

/* ---------- Quote form card ---------- */
html.modern .quote-form-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 36px);
}
html.modern .quote-form-wrap::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--accent-hi));
}
html.modern .field input, html.modern .field textarea {
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
html.modern .field input:focus, html.modern .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--ring); }
html.modern .field textarea::placeholder { color: var(--muted); }

/* ---------- About band ---------- */
html.modern .squircles { filter: drop-shadow(0 26px 30px rgb(0 0 0 / 0.45)); }
@media (min-width: 900px) {
  html.modern .squircle:first-child { transform: rotate(-3deg) translateX(-6%); }
  html.modern .squircle:last-child { transform: rotate(3deg) translateX(6%); margin-top: -6%; }
}

/* ---------- Why choose ---------- */
html.modern .why-photo { position: relative; isolation: isolate; }
html.modern .why-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 8% -5% -5%;
  border-radius: var(--radius);
  background: var(--deco);
}
html.modern .why-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
html.modern .ticks { gap: 12px; font-size: 1.08rem; }
html.modern .ticks li {
  position: relative;
  padding: 14px 18px 14px 58px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
html.modern .ticks li::before {
  content: "\2713";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-hi), var(--red));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px -4px var(--glow);
}

/* ---------- Service area chips ---------- */
html.modern .service-area { border-bottom: 0; }
html.modern .towns { gap: 10px; }
html.modern .towns + .towns { margin-top: 10px; }
html.modern .towns li {
  padding: 9px 18px 7px;
  border-radius: 999px;
  background: var(--band-card);
  border: 1px solid var(--band-border);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
html.modern .towns li:not(:first-child)::before { content: none; }

/* ---------- Footer ---------- */
html.modern .site-footer { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 0; }
html.modern .footer-brand a, html.modern .footer-follow a { color: var(--red-dark); }
/* Small red text and links: a slightly deeper red so they stay readable (WCAG AA). */
html.modern p .red, html.modern p a:not(.btn), html.modern .faq .answer a, html.modern .article a, html.modern .rich a { color: var(--red-text, var(--red)); }
html.modern .rich a, html.modern .faq .answer a, html.modern .article a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Inner pages ---------- */
html.modern .divider-top { border-top-color: var(--border); }
html.modern .page-intro { background: var(--hero-bg); }
html.modern .ready, html.modern .review, html.modern .side-call {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
html.modern .band .ready { background: var(--band-card); border-color: var(--band-border); box-shadow: none; }
html.modern .faq { border-bottom: 0; display: grid; gap: 12px; }
html.modern .faq details {
  padding-inline: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
html.modern .faq details[open] { box-shadow: var(--shadow); }
html.modern .faq summary { padding: 20px 48px 20px 0; }
html.modern .faq summary::after {
  right: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}
html.modern .faq .answer { padding: 0 0 22px; }
html.modern .photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
html.modern .photo-row figure { transition: transform 0.2s ease; }
html.modern .photo-row figure:hover { transform: translateY(-4px); }
html.modern .photo-row img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
html.modern .steps { gap: 20px; }
@media (min-width: 760px) { html.modern .steps { gap: 20px; } html.modern .steps li + li { border-left: 0; } }
html.modern .steps li {
  padding: 28px 18px 26px;
  background: var(--band-card);
  border: 1px solid var(--band-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
}
html.modern .alert { border-radius: var(--radius-sm); background: var(--alert-bg, #fff1f2); color: var(--ink); }
html.modern .two-cols > * + * { border-left-color: var(--border); }
html.modern .contact-lines {
  padding-inline: clamp(20px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
html.modern .contact-line { border-bottom-color: var(--border); }
html.modern .post-list { gap: 24px; }
html.modern .post-card {
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html.modern .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Theme "warm": cream pages, warm charcoal bands, soft shadows, pill buttons, blob shapes. */
html[data-theme="warm"] {
  --paper: #faf6f1;
  --ink: #1d1814;
  --text-gray: #3d352f;
  --muted: #6b6159;
  --band: #2b2421;
  --pink: #ffc7b3;
  --line: #e6dcd1;
  --field: #ddd0c2;
  --soft: #f3ece4;
  --red: #e3121f;
  --red-dark: #b50d18;
  --red-text: #c40f1b;
  --accent-hi: #ff4a3d;
  --surface: #fffdfa;
  --surface-2: #f3ebe2;
  --shadow-rgb: 74 44 18;
  --border: rgb(80 50 20 / 0.1);
  --glow: rgb(227 18 31 / 0.4);
  --ring: rgb(227 18 31 / 0.15);
  --input-bg: #fffaf5;
  --header-bg: rgb(250 246 241 / 0.84);
  --radius: 28px;
  --radius-sm: 18px;
  --radius-btn: 999px;
  --band-bg:
    radial-gradient(820px 420px at 92% 0%, rgb(255 122 89 / 0.22), transparent 60%),
    radial-gradient(700px 440px at 0% 100%, rgb(227 18 31 / 0.18), transparent 60%),
    linear-gradient(135deg, #2b2421, #3b302b);
  --band-card: rgb(255 255 255 / 0.06);
  --band-card-hover: rgb(255 255 255 / 0.1);
  --band-border: rgb(255 255 255 / 0.1);
  --hero-bg:
    radial-gradient(640px 480px at 80% 55%, rgb(255 140 100 / 0.3), transparent 65%),
    radial-gradient(560px 380px at 4% 6%, rgb(255 200 170 / 0.4), transparent 60%),
    #faf6f1;
  --orb: linear-gradient(160deg, #ff8a66, #e3121f 58%, #9c0a14);
  --orb-ring: rgb(227 18 31 / 0.28);
  --dots: rgb(120 70 30 / 0.24);
  --deco: linear-gradient(135deg, #ffc2ab, #ff7a59);
  --alert-bg: #fff0ea;
}
html[data-theme="warm"] .hero-photo:not(.hero-photo--frame)::before { border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; }
html[data-theme="warm"] .hero-photo:not(.hero-photo--frame)::after { border-radius: 46% 54% 44% 56% / 56% 44% 56% 44%; }
html[data-theme="warm"] .quote-form-wrap::before, html[data-theme="warm"] .feature::before { background: linear-gradient(90deg, var(--red), #ff8a66); }
