/* ============================================================
   HaloLine Lighting | Design System
   Base: warm ivory. Anchor: deep navy. Single accent: amber.
   Dark "night theater" sections frame the product.
   Radius rule: buttons + inputs 12px, cards + panels 20px,
   chips are pills. No other radii.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F7F3EC;
  --cream: #FFFDF8;
  --navy: #16263D;
  --navy-soft: #233755;
  --amber: #E8A53D;
  --amber-deep: #C8801F;
  --night: #11151C;
  --night-panel: #181F2B;
  --ink: #1C2430;
  --slate: #5C6675;
  --border: #E4DBC9;
  --border-strong: #D3C7AE;
  --glow-warm: #FFD9A0;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;

  --radius-ui: 12px;     /* buttons, inputs */
  --radius-card: 20px;   /* cards, panels */
  --radius-pill: 999px;  /* chips */

  --shadow-soft: 0 2px 8px rgba(58, 44, 18, 0.06), 0 12px 32px rgba(58, 44, 18, 0.07);
  --shadow-lift: 0 4px 14px rgba(58, 44, 18, 0.09), 0 18px 44px rgba(58, 44, 18, 0.10);

  --container: 1180px;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--amber-deep); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--section-y) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1rem;
}

/* AEO answer capsules: 40 to 60 word standalone answers */
.capsule {
  max-width: 62ch;
  font-size: 1.0625rem;
  color: var(--ink);
}
.section-intro { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-ui);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(232, 165, 61, 0.35);
}
.btn-primary:hover { background: #F0B254; color: var(--navy); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }

.on-dark .btn-ghost { color: var(--ivory); border-color: rgba(247, 243, 236, 0.6); }
.on-dark .btn-ghost:hover { background: var(--ivory); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.brand-name span { color: var(--amber-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:not(.btn):hover { color: var(--amber-deep); }
.nav-links a[aria-current="page"]:not(.btn) {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: none;
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.65rem 0; }
  .nav-links .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Night scene card (signature element) ---------- */
.scene-card {
  background: var(--night);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(232, 165, 61, 0.18);
}
.scene-card svg { width: 100%; height: auto; }
.scene-caption {
  color: #B9C2D0;
  font-size: 0.9rem;
  margin: 0.9rem 0 0.75rem;
}
.scene-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid rgba(247, 243, 236, 0.35);
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  min-height: 36px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  font-weight: 700;
}

/* Scene SVG theming */
.scene .sky-star { fill: #8FA0BC; opacity: 0.5; }
.scene .wall { fill: #1F2B3E; }
.scene .wall-side { fill: #1A2433; }
.scene .roof { fill: #0C111A; }
.scene .window { fill: var(--glow-warm); opacity: 0.85; }
.scene .door { fill: #2B3A52; }
.scene .ground { stroke: #2A3548; }
.scene .trunk { fill: #1A2433; }
.scene .canopy { fill: #182438; }
.scene .uplight-beam { fill: var(--glow-warm); opacity: 0.14; }
.scene .uplight-spot { fill: var(--glow-warm); opacity: 0.5; }
.scene .pathlight-stem { stroke: #36435C; }
.scene .pathlight-glow { fill: var(--glow-warm); opacity: 0.2; }
.scene .pathlight-cap { fill: var(--glow-warm); }
.scene .dot { fill: var(--glow-warm); }
.scene .track-line { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .scene .dot { animation: twinkle 3.4s ease-in-out infinite; }
  .scene .dot:nth-child(3n) { animation-delay: 1.1s; }
  .scene .dot:nth-child(4n) { animation-delay: 2.2s; }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

/* Day variant of the scene */
.scene--day { background: linear-gradient(#D9E6F0, #EDF2F5); border: 1px solid var(--border); }
.scene--day .sky-star { display: none; }
.scene--day .wall { fill: #EDE6D8; }
.scene--day .wall-side { fill: #DFD6C4; }
.scene--day .roof { fill: #69727F; }
.scene--day .window { fill: #C3D3DE; opacity: 1; }
.scene--day .door { fill: #50617A; }
.scene--day .ground { stroke: #B9C6B4; }
.scene--day .trunk { fill: #6E5B43; }
.scene--day .canopy { fill: #7E9971; }
.scene--day .uplight-beam, .scene--day .uplight-spot,
.scene--day .pathlight-glow { display: none; }
.scene--day .pathlight-stem { stroke: #8B95A3; }
.scene--day .pathlight-cap { fill: #8B95A3; }
.scene--day .dot { display: none; }
.scene--day .track-line {
  display: block;
  stroke: #C9BCA4;
  stroke-width: 2.5;
  fill: none;
}

/* ---------- Trust bar ---------- */
.trust-bar { border-block: 1px solid var(--border); background: var(--cream); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.trust-item svg { flex: 0 0 auto; color: var(--amber-deep); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .trust-grid { grid-template-columns: 1fr; gap: 0.65rem; } }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: 0.4rem; }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-ui);
  background: rgba(232, 165, 61, 0.14);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card p { margin: 0; color: var(--slate); font-size: 0.98rem; }
.card .tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

/* ---------- Dark theater section ---------- */
.theater { background: var(--night); color: #D7DCE5; }
.theater h2, .theater h3 { color: var(--ivory); }
.theater .capsule { color: #C5CCD8; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.compare-panel {
  border-radius: var(--radius-card);
  padding: 1.1rem;
  background: var(--night-panel);
  border: 1px solid rgba(247, 243, 236, 0.08);
}
.compare-panel .scene-wrap { border-radius: var(--radius-card); overflow: hidden; }
.compare-label {
  display: inline-block;
  margin: 0.9rem 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.compare-panel p { font-size: 0.95rem; color: #B9C2D0; margin: 0.25rem 0 0; }
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.steps li {
  counter-increment: step;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--amber-deep);
  margin-bottom: 0.6rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ---------- Banded CTA sections ---------- */
.band {
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius-card);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.band h2 { color: var(--ivory); margin-bottom: 0.35rem; }
.band p { color: #C5CCD8; margin: 0; max-width: 52ch; }

/* ---------- Service area chips ---------- */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}
.city-chips li {
  border: 1px solid var(--border-strong);
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-top: 2rem; }
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--amber-deep);
  flex: 0 0 auto;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p {
  padding: 0 1.4rem 1.2rem;
  margin: 0;
  color: var(--slate);
}

/* ---------- Forms ---------- */
.form-shell {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lift);
}
.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.progress-label { font-size: 0.85rem; font-weight: 700; color: var(--slate); letter-spacing: 0.04em; }
.progress-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--amber);
  border-radius: var(--radius-pill);
  transition: width 0.25s ease;
}

.form-step { display: none; }
.form-step.active { display: block; }
.form-step legend, .form-step .q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
  padding: 0;
}
fieldset { border: none; margin: 0; padding: 0; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 600px) { .option-grid { grid-template-columns: 1fr; } }
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-ui);
  background: #FFFFFF;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 500;
  min-height: 54px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.option:hover { border-color: var(--border-strong); }
.option input { accent-color: var(--amber-deep); width: 18px; height: 18px; flex: 0 0 auto; }
.option:has(input:checked) {
  border-color: var(--amber-deep);
  background: rgba(232, 165, 61, 0.10);
}

label.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 1.1rem 0 0.4rem;
}
.field-help { font-size: 0.88rem; color: var(--slate); margin: 0.35rem 0 0; }
input[type="text"], input[type="tel"], input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-ui);
}
input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.form-error {
  display: none;
  color: #9E2B25;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 0.75rem;
}
.form-error.show { display: block; }

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.btn-back {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  padding: 0.6rem 0.4rem;
}
.btn-back:hover { color: var(--navy); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success { text-align: left; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.info-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.info-list svg { flex: 0 0 auto; color: var(--amber-deep); margin-top: 3px; }

/* ---------- About ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: #B9C2D0;
  padding: 3.5rem 0 2rem;
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h3 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: #D7DCE5; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.footer-brand img { height: 30px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; max-width: 38ch; }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #8C97A8;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  .mobile-cta .btn { flex: 1; min-height: 46px; font-size: 0.95rem; padding: 0.5rem 0.75rem; }
  body { padding-bottom: 74px; }
}

/* ---------- Scroll reveal (reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.7rem 1.2rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-ui) 0;
}
.skip-link:focus { left: 0; color: var(--ivory); }

/* ---------- Service page additions (v2) ---------- */
.footer-grid { grid-template-columns: 1.5fr 1.2fr 1fr 1fr; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.card-title-link { text-decoration: none; color: var(--navy); }
.card-title-link:hover { color: var(--amber-deep); }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--amber-deep);
  text-decoration: none;
}
.card-link::after { content: " \2192"; }
.card-link:hover { color: var(--navy); }
.card .tag + .card-link { margin-left: 1rem; }

.breadcrumb {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-deep); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 500; }

.table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  font-size: 0.97rem;
  min-width: 560px;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--navy);
  width: 22%;
  background: rgba(232, 165, 61, 0.07);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: 68ch; }
.feature-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.9rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2.5px solid var(--amber-deep);
}

/* ---------- Service areas additions (v3) ---------- */
.footer-areas {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  font-size: 0.88rem;
}
.footer-areas-label { color: #8C97A8; font-weight: 700; }
.footer-areas a { color: #8C97A8; text-decoration: none; }
.footer-areas a:hover { color: var(--amber); }
.site-footer .footer-bottom { margin-top: 1.5rem; }

.city-chips a { color: inherit; text-decoration: none; display: block; }
.city-chips li:hover { border-color: var(--amber-deep); }
.city-chips li:hover a { color: var(--amber-deep); }

/* ---------- Mobile polish (v6) ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Anchor targets land below the sticky header instead of under it */
[id] { scroll-margin-top: 5.75rem; }

/* Safari < 18 needs the prefixed backdrop blur on the sticky header */
.site-header { -webkit-backdrop-filter: blur(8px); }

/* Full-width stacked hero CTAs on small phones */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
}

/* Comfortable thumb targets for scene chips on touch widths */
@media (max-width: 700px) {
  .chip { min-height: 44px; padding: 0.55rem 1.05rem; }
}

/* Tighter band padding so CTA headlines get usable width on phones */
@media (max-width: 600px) {
  .band { padding: 1.85rem 1.4rem; }
}

/* ---------- Animated brand mark (v7): light orbits the halo, then runs the line ---------- */
.brand-mark { display: block; flex: 0 0 auto; }
.bm-ring { stroke: var(--amber); }
.bm-line { stroke: var(--navy); }
.bm-orbit, .bm-pulse { stroke: var(--glow-warm); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .bm-orbit {
    transform-box: fill-box;
    transform-origin: center;
    animation: bm-orbit 4.8s linear infinite;
  }
  .bm-pulse {
    animation: bm-pulse 4.8s cubic-bezier(0.45, 0, 0.22, 1) infinite;
  }
}

@keyframes bm-orbit {
  from { transform: rotate(247.5deg); opacity: 0.95; }
  to   { transform: rotate(607.5deg); opacity: 0.95; }
}

@keyframes bm-pulse {
  0%, 50%    { transform: translateX(0); opacity: 0; }
  55%        { opacity: 0.95; }
  76%        { opacity: 0.85; }
  84%, 100%  { transform: translateX(110px); opacity: 0; }
}
