/* ==========================================================================
   New Wire LLC — design system
   Brand orange #EC6524 sampled from the company logo.
   ========================================================================== */

/* --- Tokens: light is the base palette ---------------------------------- */
:root {
  /* Surfaces */
  --paper:        #F5F2EE;
  --paper-raised: #FFFFFF;
  --paper-sunk:   #EBE6E0;

  /* Ink */
  --ink:        #171512;
  --ink-muted:  #6B6259;
  --rule:       #DED7CE;
  --rule-strong:#C6BCB0;

  /* Accent */
  --accent:      #EC6524;
  --accent-hot:  #FF8134;
  --accent-text: #A8450F;   /* accessible orange for small text on paper */
  --accent-wash: #FBEDE4;
  --on-accent:   #0D0E10;   /* 5.9:1 on brand orange */

  /* Inverted band — masthead, CTA, footer. Dark in both themes by design. */
  --band:       #0D0E10;
  --band-raised:#16181C;
  --band-ink:   #F3F0EB;
  --band-muted: #DAD6CF;   /* legible on black; was #9A948C */
  --band-rule:  #272A31;

  /* Type */
  --display: "Saira Condensed", "Arial Narrow", Haettenschweiler, sans-serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step--1: clamp(0.8rem,  0.77rem + 0.14vw, 0.875rem);
  --step-0:  clamp(1rem,    0.96rem + 0.2vw,  1.0625rem);
  --step-1:  clamp(1.125rem,1.06rem + 0.32vw, 1.3rem);
  --step-2:  clamp(1.5rem,  1.32rem + 0.9vw,  2.1rem);
  --step-3:  clamp(2rem,    1.62rem + 1.9vw,  3.2rem);
  --step-4:  clamp(2.6rem,  1.9rem + 3.4vw,   4.6rem);
  --step-5:  clamp(3rem,    1.9rem + 5.4vw,   6.6rem);

  /* Space */
  --gap:     clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --section: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --shell:   1200px;
  --pad:     clamp(1.15rem, 0.7rem + 2.2vw, 2.5rem);

  --radius: 3px;
  --speed: 380ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark: OS preference, unless the viewer explicitly chose light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:        #0D0E10;
    --paper-raised: #16181C;
    --paper-sunk:   #08090A;
    --ink:          #ECE8E2;
    --ink-muted:    #969089;
    --rule:         #272A31;
    --rule-strong:  #3A3E47;
    --accent:       #F97A3C;
    --accent-hot:   #FF9457;
    --accent-text:  #F97A3C;
    --accent-wash:  #241610;
    --band:         #08090A;
    --band-raised:  #121418;
    --band-rule:    #22242A;
  }
}

/* Dark: explicit viewer choice wins over a light OS */
:root[data-theme="dark"] {
  --paper:        #0D0E10;
  --paper-raised: #16181C;
  --paper-sunk:   #08090A;
  --ink:          #ECE8E2;
  --ink-muted:    #969089;
  --rule:         #272A31;
  --rule-strong:  #3A3E47;
  --accent:       #F97A3C;
  --accent-hot:   #FF9457;
  --accent-text:  #F97A3C;
  --accent-wash:  #241610;
  --band:         #08090A;
  --band-raised:  #121418;
  --band-rule:    #22242A;
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Author rules like `.form { display: grid }` outrank the UA's [hidden] rule,
   so anything toggled via the hidden attribute needs this to actually hide. */
[hidden] { display: none !important; }
picture { display: block; width: 100%; }

a { color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 0.75rem 1.25rem;
  font: 600 var(--step--1)/1 var(--body);
}
.skip:focus { left: 0; }

/* --- Layout primitives -------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--wide { max-width: 1440px; }

.section { padding-block: var(--section); }
.section--sunk { background: var(--paper-sunk); }
.section--band { background: var(--band); color: var(--band-ink); }

/* --- Type --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); line-height: 1.1; }

p { margin: 0; max-width: 65ch; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-muted);
}
.section--band .lede,
.hero .lede { color: var(--band-ink); }
.hero p,
.section--band p { color: var(--band-ink); }

/* Mono eyebrow — used to label every section */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0;
}
.section--band .eyebrow { color: var(--accent); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  border-bottom: 1px solid var(--rule);
}
.section--band .section-head { border-bottom-color: var(--band-rule); }
.section-head > p { max-width: 58ch; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              transform 160ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hot); border-color: var(--accent-hot); }

.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --- Header ------------------------------------------------------------- */
.topstrip {
  background: var(--band);
  color: var(--band-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--band-rule);
}
.topstrip .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-block: 0.45rem;
}
.topstrip b { color: var(--accent); font-weight: 500; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--band);
  border-bottom: 1px solid var(--band-rule);
}
.masthead .shell {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 76px;
  padding-block: 0.6rem;
}

.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: clamp(132px, 20vw, 176px); transition: filter var(--speed) var(--ease); }
.brand:hover img { filter: drop-shadow(0 0 14px rgba(236, 101, 36, 0.55)); }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 2rem); }
.nav a {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--band-ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.masthead .btn { padding: 0.7rem 1.15rem; font-size: 1rem; }

.navtoggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--band-rule);
  border-radius: var(--radius);
  color: var(--band-ink);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.navtoggle svg { width: 22px; height: 22px; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  background: var(--band);
  color: var(--band-ink);
  position: relative;
  overflow: hidden;
}
.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
/* The hero sits on the dark band but isn't .section--band, so it was picking up
   --accent-text (tuned for light grounds) at only 3.2:1. Full accent + a neon
   halo to match the logo animation behind it. */
.hero .eyebrow {
  font-size: clamp(0.95rem, 0.82rem + 0.55vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-wrap: balance;
  color: var(--accent);
  text-shadow: 0 0 28px rgba(236, 101, 36, 0.55),
               0 0 6px rgba(236, 101, 36, 0.35);
}
.hero__title { font-size: var(--step-4); line-height: 0.95; }
.hero__slogan {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--band-ink);
  margin-top: -0.4rem;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 32px rgba(236, 101, 36, 0.45);
}
.hero__copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.hero__copy .lede { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* The logo animation runs as the hero backdrop, pinned to the right so it fills
   the empty half of the grid. mix-blend-mode: screen drops its black to nothing,
   so it dissolves into the band instead of sitting in a visible box. */
.hero__media {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: transparent;
  /* The clip's ground is a grey radial gradient, not black, so screen alone
     leaves a visible panel. contrast(1.5) crushes that grey to true black —
     measured identical to the hero background — while the neon stays bright. */
  mix-blend-mode: screen;
  filter: contrast(1.5) saturate(1.08);
  transition: opacity 320ms var(--ease);
}
/* Brief dip while the loop rewinds past the opening flash. */
.hero__video.is-cycling { opacity: 0; }

@media (min-width: 901px) {
  .hero__media {
    position: absolute;
    top: 0;
    bottom: 0;
    right: max(var(--pad), calc((100% - var(--shell)) / 2));
    width: min(52%, 640px);
    background: transparent;
    pointer-events: none;
    /* No z-index here: it would make this a stacking context and isolate the
       video's mix-blend-mode from the hero background it needs to blend with. */
  }
  .hero__video {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    /* Soft left edge so the glow never crowds the headline. */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%);
    mask-image: linear-gradient(to right, transparent 0%, #000 18%);
  }
  .hero .shell { position: relative; z-index: 1; }
}

/* Trust strip under hero */
.trustbar {
  background: var(--band-raised);
  border-top: 1px solid var(--band-rule);
  color: var(--band-ink);
}
.trustbar .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--band-rule);
  padding-inline: 0;
}
.trustbar__item {
  background: var(--band-raised);
  padding: 1.5rem var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.trustbar__num {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.trustbar__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--band-muted);
}

/* --- Panel schedule (services + pricing) -------------------------------- */
/* Modelled on a breaker directory: circuit number, description, rating. */
.schedule {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section--band .schedule { border-color: var(--band-ink); }

.schedule__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}
.section--band .schedule__row { border-bottom-color: var(--band-rule); }
.schedule__row:last-child { border-bottom: 0; }

.schedule__id {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.section--band .schedule__id { color: var(--band-muted); }
.schedule__id svg { width: 1.4rem; height: 1.4rem; color: var(--accent); stroke-width: 1.8; }

.schedule__name {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.schedule__note {
  grid-column: 2;
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: 58ch;
}
.section--band .schedule__note { color: var(--band-ink); }

.schedule__price {
  font-family: var(--mono);
  font-size: var(--step-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  white-space: nowrap;
}
.section--band .schedule__price { color: var(--accent); }
.schedule__price small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  font-weight: 400;
}
.section--band .schedule__price small { color: var(--band-muted); }

/* --- Service cards (flat, hairline — deliberately not rounded panels) --- */
/* Hairlines are drawn by the cards themselves, so a short final row never
   leaves an empty filled cell hanging off the end of the grid. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.section--band .grid { border-top-color: var(--band-rule); border-left-color: var(--band-rule); }

.card {
  background: var(--paper);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background var(--speed) var(--ease);
}
.section--band .card {
  background: var(--band);
  border-right-color: var(--band-rule);
  border-bottom-color: var(--band-rule);
}
a.card { text-decoration: none; color: inherit; }
.card__cta {
  /* Not flex: the arrow has to stay with the last word when the label wraps. */
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}
.card__cta svg {
  display: inline-block;
  vertical-align: -0.18em;
  margin-left: 0.4rem;
  width: 1.05rem; height: 1.05rem;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--speed) var(--ease);
}
a.card:hover .card__cta svg { transform: translateX(4px); }
a.card:hover h3 { color: var(--accent-text); }
.card:hover { background: var(--accent-wash); }
.section--band .card:hover { background: var(--band-raised); }

.card__icon { color: var(--accent); width: 30px; height: 30px; }
.card h3 { font-size: var(--step-1); }
.card p { font-size: var(--step--1); color: var(--ink-muted); }
.section--band .card p { color: var(--band-ink); }

/* --- Split (image + copy) ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split__copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__media--wide img { aspect-ratio: 4 / 3; }

/* --- Checklist ---------------------------------------------------------- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.85rem; align-items: start; }
.checks svg { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-top: 0.1rem; }
.checks strong { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; font-weight: 600; display: block; }
.checks span { font-size: var(--step--1); color: var(--ink-muted); }
.section--band .checks span { color: var(--band-ink); }

/* --- Gallery ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--gap);
}
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--speed) var(--ease);
}
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--band .gallery figcaption { color: var(--band-muted); }

/* --- Service area ------------------------------------------------------- */
.areas { columns: 3 150px; column-gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.areas li {
  break-inside: avoid;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--step--1);
}
.section--band .areas li { border-bottom-color: var(--band-rule); }

/* --- CTA band ----------------------------------------------------------- */
.cta { background: var(--accent); color: var(--on-accent); }
.cta .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}
.cta h2 { font-size: var(--step-3); }
.cta p { color: rgba(13, 14, 16, 0.82); font-size: var(--step-1); }
.cta .btn--ghost { border-color: var(--on-accent); color: var(--on-accent); }
.cta .btn--ghost:hover { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.cta__phone {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* --- Form --------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; max-width: 620px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-wash);
  outline-offset: 0;
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.15rem; }
.form__note { font-size: var(--step--1); color: var(--ink-muted); }

/* --- Form extras --------------------------------------------------------- */
/* Reserve the widget's height so the submit button doesn't jump when hCaptcha
   finishes rendering. */
.h-captcha { min-height: 78px; }

.notice {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  background: var(--accent-wash);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}
.notice h3 { font-size: var(--step-2); }
.notice p { font-size: var(--step-0); color: var(--ink); }
.notice a { color: var(--accent-text); font-weight: 600; }
.notice:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* --- Footer ------------------------------------------------------------- */
.footer { background: var(--band); color: var(--band-ink); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  padding-bottom: 3rem;
}
.footer img { width: 168px; margin-bottom: 1.15rem; }
.footer p { color: var(--band-ink); font-size: var(--step--1); }
.footer h4 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--band-ink);
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer ul a { text-decoration: none; color: var(--band-ink); font-size: var(--step--1); transition: color var(--speed) var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__phone {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--band-ink);
  font-size: var(--step--1);
  transition: color var(--speed) var(--ease);
}
.social svg { width: 1.15rem; height: 1.15rem; flex: none; }
.social:hover { color: var(--accent); }

.footer__base {
  border-top: 1px solid var(--band-rule);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--band-muted);
}

/* --- Sticky mobile call bar --------------------------------------------- */
.callbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 120;
  background: var(--accent);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem;
  color: var(--on-accent);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.callbar svg { width: 1.1em; height: 1.1em; }

/* --- Reveal animation --------------------------------------------------- */
/* Gated on .js so content is never hidden when scripting is off or fails. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in,
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .shell { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--band);
    border-bottom: 1px solid var(--band-rule);
    padding: 0.5rem var(--pad) 1.25rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--band-rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .navtoggle { display: block; }
  .masthead .shell > .btn { display: none; }
  .callbar { display: block; }
  body { padding-bottom: 60px; }
  .areas { columns: 2 130px; }
}

@media (max-width: 560px) {
  .schedule__row { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .schedule__price { grid-column: 2; text-align: left; }
  .schedule__price small { text-align: left; }
  .cta .shell { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .callbar, .topstrip, .cta { display: none; }
  body { background: #fff; color: #000; }
}
