/* ============================================================
   SOS Locksmith — styles.css
   Palette, type and layout per BRIEF.md
   ============================================================ */

:root {
  /* palette (from the real awning + logo) */
  --navy:        #0d1b3d;  /* dominant surface */
  --navy-card:   #1c2b4a;  /* card surfaces / hover */
  --navy-deep:   #091430;  /* deepest wells */
  --paper:       #f4f1e8;  /* warm off-white text / light surface */
  --red:         #c81e2c;  /* single loud accent */
  --red-bright:  #e23644;  /* hover on red */
  --gold:        #e8b23d;  /* hairline / underline accent */
  --steel:       #8a94a8;  /* secondary text on dark */
  --steel-dim:   #5f6980;  /* faint metadata */

  --hairline: rgba(232, 178, 61, 0.28);
  --edge:     rgba(244, 241, 232, 0.10);

  /* type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:    "Source Serif 4", Georgia, serif;
  --mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;

  --measure: 66ch;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --reveal-dur: 250ms;
}

/* ---------- reset ---------- */
*, *::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(--navy);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: 0.01em; }

/* focus + skip link */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
.skip-link {
  position: absolute; left: 0.5rem; top: -3rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  padding: .5rem .9rem; border-radius: 2px; z-index: 200;
  transition: top 140ms ease;
}
.skip-link:focus { top: 0.5rem; }

.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* ---------- shared section rhythm ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--gold);
  margin: 0 0 0.9rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; background: var(--red); display: inline-block;
}

.section-title {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-head { max-width: 44ch; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-lede { color: var(--steel); font-size: 1.075rem; margin: 0.4rem 0 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 20, 48, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--edge);
}
.header-inner {
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  min-height: 66px;
  padding-block: 0.5rem;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--paper); flex: 0 0 auto; }
.brand-mark { flex: 0 0 auto; }
.mark-oct { fill: var(--navy-card); stroke: var(--red); stroke-width: 4; }
.mark-oct-inner { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .8; }
.mark-atom ellipse { fill: none; stroke: var(--paper); stroke-width: 2; opacity: .85; }
.mark-nucleus { fill: var(--red); }
.mark-bar { fill: var(--red); }
.mark-sos { fill: var(--paper); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.5px; }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-sub { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.02em; color: var(--steel); margin-top: 3px; }

/* nav */
.primary-nav { margin-left: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--edge); color: var(--paper);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600;
  padding: .5rem .8rem; border-radius: 3px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--paper);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top: 6px; left: 0; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0.25rem;
}
.nav-list a {
  display: block; text-decoration: none;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; font-size: 0.95rem; color: var(--paper);
  padding: 0.5rem 0.75rem; border-radius: 2px;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.28rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 160ms ease;
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); }

.header-call {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column; align-items: flex-end; justify-content: center; text-decoration: none;
  background: var(--red); color: #fff; padding: 0.4rem 0.85rem; border-radius: 4px;
  line-height: 1.05; min-height: 44px;
}
.header-call:hover { background: var(--red-bright); }
.header-call-label { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .58rem; opacity: .92; }
.header-call-num { font-family: var(--mono); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; }

/* Mobile: hamburger visible, list collapses */
@media (max-width: 860px) {
  .nav-list {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid var(--hairline);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .primary-nav.open .nav-list { display: flex; }
  .nav-list a { padding: 0.85rem 0.25rem; font-size: 1.15rem; border-bottom: 1px solid var(--edge); }
  .nav-list a::after { display: none; }
}
@media (min-width: 861px) { .nav-toggle { display: none; } }

/* keep the tappable number compact on the smallest screens */
@media (max-width: 520px) {
  .header-inner { gap: 0.5rem; }
  .header-call { padding: 0.5rem 0.7rem; }
  .header-call-label { display: none; }
  .header-call-num { font-size: 0.9rem; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.1rem; }
  .brand { gap: 0.5rem; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-toggle { padding: 0.5rem 0.55rem; }
  .nav-toggle-text { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%; /* keeps the awning + signage in frame */
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(9,20,48,0.97) 0%, rgba(9,20,48,0.72) 34%, rgba(9,20,48,0.28) 62%, rgba(9,20,48,0.55) 100%);
}
.hero-content {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--gold); margin: 0 0 1rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(3.1rem, 13vw, 7rem);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-year { color: var(--gold); }
.hero-motto {
  font-family: var(--body); font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--paper); opacity: .92;
  margin: 1.1rem 0 1.8rem;
  border-left: 3px solid var(--red); padding-left: 0.9rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: stretch; }

/* buttons */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  text-decoration: none; border-radius: 4px;
  padding: 0.85rem 1.4rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(200,30,44,0.35); }
.btn-primary:hover { background: var(--red-bright); }
.btn-primary:active { transform: translateY(1px); }
.btn-kicker { font-size: 0.66rem; letter-spacing: 0.12em; opacity: 0.95; font-weight: 600; }
.btn-num { font-family: var(--mono); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin-top: 2px; }
.btn-outline {
  align-self: stretch; justify-content: center; align-items: center;
  border: 1.5px solid var(--paper); color: var(--paper);
  font-weight: 600; font-size: 1rem; background: rgba(244,241,232,0.04);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   LICENSE & HOURS PLACARD  (signature element)
   ============================================================ */
.placard {
  background:
    repeating-linear-gradient(45deg, rgba(232,178,61,0.05) 0 12px, transparent 12px 24px),
    var(--navy-deep);
  border-block: 1px solid var(--hairline);
  padding-block: clamp(1.4rem, 3vw, 2rem);
}
.placard-inner {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--navy-card);
  box-shadow: inset 0 1px 0 rgba(244,241,232,0.05);
  overflow: hidden;
}
.placard-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  background: rgba(9,20,48,0.6);
}
.placard-title {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600; font-size: 0.85rem; color: var(--paper);
}
.placard-status {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em;
  color: var(--gold); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.placard-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(200,30,44,0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,30,44,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(200,30,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,30,44,0); }
}
@media (prefers-reduced-motion: reduce) { .placard-dot { animation: none; } }

.placard-grid { margin: 0; display: grid; grid-template-columns: 1fr; }
.placard-cell {
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--edge);
}
.placard-cell:first-child { border-top: none; }
.placard-cell dt {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--steel); margin-bottom: 0.4rem;
}
.placard-cell dd { margin: 0; }
.placard-cell dd.mono { font-size: 0.98rem; color: var(--paper); letter-spacing: -0.01em; }
.placard-cell dd.placard-big { font-size: 1.25rem; font-weight: 700; }
.placard-note { font-family: var(--body); font-size: 0.82rem; color: var(--steel); margin-top: 0.35rem; }
.placard-note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.placard-cell--alert { background: rgba(200,30,44,0.10); }
.placard-cell--alert dt { color: var(--red-bright); }
.placard-cell dd.placard-24 { color: var(--red-bright); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }

@media (min-width: 620px) {
  .placard-grid { grid-template-columns: 1fr 1fr; }
  .placard-cell { border-top: none; border-left: 1px solid var(--edge); }
  .placard-cell:nth-child(odd) { border-left: none; }
  .placard-cell:nth-child(n+3) { border-top: 1px solid var(--edge); }
}
@media (min-width: 980px) {
  .placard-grid { grid-template-columns: repeat(4, 1fr); }
  .placard-cell { border-top: none; border-left: 1px solid var(--edge); }
  .placard-cell:first-child { border-left: none; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-copy p { max-width: var(--measure); margin: 0 0 1.05rem; }
.about-copy strong { color: var(--paper); font-weight: 600; }
.about-figure { margin: 0; }
.about-figure img {
  width: 100%; border-radius: 5px; border: 1px solid var(--hairline);
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%;
}
.about-figure figcaption {
  font-family: var(--mono); font-size: 0.72rem; color: var(--steel);
  margin-top: 0.7rem; line-height: 1.5;
  border-left: 2px solid var(--gold); padding-left: 0.7rem;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--navy-deep); }
.service-columns { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.service-card {
  background: var(--navy-card);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.6rem;
}
.service-card--alt { border-top-color: var(--red); }
.service-card-title {
  font-size: 1.75rem; text-transform: uppercase; color: var(--paper);
}
.service-card-sub { font-family: var(--mono); font-size: 0.72rem; color: var(--steel); margin: 0.2rem 0 1.1rem; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li {
  padding: 0.55rem 0 0.55rem 1.5rem; position: relative;
  border-top: 1px solid var(--edge); font-size: 0.98rem;
}
.service-list li:first-child { border-top: none; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 1px;
  transform: rotate(45deg);
}
.service-card--alt .service-list li::before { border-color: var(--red-bright); }
.service-card-foot {
  margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--steel);
  border-top: 1px solid var(--hairline); padding-top: 0.9rem;
}
@media (min-width: 760px)  { .service-columns { grid-template-columns: 1fr 1fr; } .service-card--alt { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .service-columns { grid-template-columns: repeat(3, 1fr); } .service-card--alt { grid-column: auto; } }

/* ============================================================
   WORK / GALLERY
   ============================================================ */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.work-item { margin: 0; }
.work-link {
  display: block; position: relative; text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 5px; overflow: hidden;
  background: var(--navy-card);
}
.work-link img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 400ms ease, filter 400ms ease;
  filter: saturate(0.96);
}
.work-item--wide .work-link img { aspect-ratio: 16 / 6; }
.work-link:hover img, .work-link:focus-visible img { transform: scale(1.03); filter: saturate(1.08); }
.work-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem 0.85rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.95rem; font-weight: 600; color: var(--paper);
  background: linear-gradient(to top, rgba(9,20,48,0.95), rgba(9,20,48,0));
}
.work-link::after {
  content: "View"; position: absolute; top: 0.7rem; right: 0.7rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 0.2rem 0.5rem; border-radius: 2px;
  opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease, transform 160ms ease;
}
.work-link:hover::after, .work-link:focus-visible::after { opacity: 1; transform: translateY(0); }
@media (min-width: 700px) {
  .work-grid { grid-template-columns: 1fr 1fr 1fr; }
  .work-item--wide { grid-column: 1 / -1; }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials { background: var(--navy-deep); }
.cred-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
.cred-card {
  background: var(--navy-card); border: 1px solid var(--edge); border-radius: 4px;
  padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  position: relative;
}
.cred-card::before {
  content: ""; position: absolute; left: 0; top: 1.1rem; bottom: 1.1rem; width: 3px;
  background: var(--gold); border-radius: 2px;
}
.cred-name {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 700; font-size: 1.3rem; color: var(--paper); padding-left: 0.9rem;
}
.cred-role { font-size: 0.85rem; color: var(--steel); padding-left: 0.9rem; }
.cred-card--feature { border-color: var(--hairline); background: linear-gradient(180deg, rgba(200,30,44,0.12), var(--navy-card)); }
.cred-card--feature::before { background: var(--red); }
.cred-card--feature .cred-name { font-size: 1.6rem; }
@media (min-width: 620px)  { .cred-grid { grid-template-columns: 1fr 1fr; } .cred-card--feature { grid-column: 1 / -1; } }
@media (min-width: 960px)  { .cred-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.1rem; grid-template-columns: 1fr;
}
.test-card {
  background: var(--navy-card); border: 1px solid var(--edge); border-radius: 4px;
  padding: 1.4rem 1.5rem 1.3rem; position: relative;
  display: flex; flex-direction: column;
}
.test-card blockquote { margin: 0; }
.test-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.test-headline {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em;
  font-weight: 700; font-size: 1.2rem; color: var(--gold); margin: 0 0 0.6rem;
}
.test-attr {
  margin: 1rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.75rem;
}
.test-name { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-size: 1rem; }
.test-src { font-size: 0.72rem; color: var(--steel); letter-spacing: 0.02em; }
.test-card--feature { border-color: var(--hairline); }
@media (min-width: 720px)  { .test-grid { grid-template-columns: 1fr 1fr; } .test-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .test-grid { grid-template-columns: repeat(3, 1fr); } .test-card--feature { grid-column: span 2; } }

/* ============================================================
   PRESS
   ============================================================ */
.press { background: var(--navy-deep); }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.press-item {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.5rem 1.25rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--edge);
}
.press-date { color: var(--gold); font-size: 1rem; font-weight: 500; }
.press-body { display: flex; flex-direction: column; gap: 0.2rem; }
.press-headline { font-family: var(--body); font-weight: 600; font-size: 1.05rem; color: var(--paper); }
.press-outlet { font-size: 0.85rem; color: var(--steel); }
.press-outlet em { color: var(--paper); font-style: italic; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.contact-lede { color: var(--steel); max-width: 48ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0 2rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.contact-details dt { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--steel); margin-bottom: 0.25rem; }
.contact-details dd { margin: 0; font-size: 1rem; }
.contact-details a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.contact-details a:hover { color: var(--gold); }
.contact-sub { color: var(--steel); font-family: var(--body); font-size: 0.85rem; }

.contact-card {
  background: var(--navy-card); border: 1px solid var(--hairline); border-radius: 5px;
  padding: 1.5rem 1.5rem 1.6rem;
}
.contact-card-label { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--gold); text-transform: uppercase; margin: 0 0 0.9rem; }
.contact-address { font-style: normal; font-size: 1.25rem; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.25; }
.contact-address .contact-sub { display: inline-block; margin-top: 0.4rem; text-transform: none; letter-spacing: 0; font-family: var(--mono); font-size: 0.72rem; }
.contact-map { display: inline-block; margin-top: 0.9rem; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 0.9rem; color: var(--gold); text-decoration: none; }
.contact-map:hover { color: var(--red-bright); }
.contact-hours { margin: 1.4rem 0 0; border-top: 1px solid var(--edge); }
.contact-hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--edge); }
.contact-hours dt { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--steel); margin: 0; }
.contact-hours dd { margin: 0; font-size: 0.9rem; }
.contact-hours-alert dt { color: var(--red-bright); }
.contact-hours-alert dd { color: var(--red-bright); font-weight: 700; }
.contact-license { margin: 1.2rem 0 0; font-size: 0.72rem; color: var(--steel); letter-spacing: 0.02em; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); border-top: 1px solid var(--hairline); padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.footer-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; text-align: center; }
.footer-motto { font-family: var(--body); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--paper); margin: 0 0 1.4rem; }
.footer-social { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; }
.footer-social a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  font-size: 0.9rem; color: var(--steel); text-decoration: none;
}
.footer-social a:hover { color: var(--gold); }
.footer-legal { font-size: 0.68rem; color: var(--steel-dim); letter-spacing: 0.02em; line-height: 1.7; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 14, 34, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 0.8rem; }
.lightbox-img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border: 1px solid var(--hairline); border-radius: 4px; background: var(--navy);
}
.lightbox-cap {
  font-family: var(--mono); font-size: 0.78rem; color: var(--steel); text-align: center;
  max-width: 60ch; margin-inline: auto; line-height: 1.5;
}
.lightbox-close {
  position: absolute; top: clamp(0.8rem, 3vw, 1.5rem); right: clamp(0.8rem, 3vw, 1.5rem);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-card); border: 1px solid var(--hairline); color: var(--paper);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   SCROLL REVEAL  (opt-in only when JS present)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--reveal-dur) ease, transform var(--reveal-dur) ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* hero load-in ("panel light switching on") */
.js .hero-content > * { opacity: 0; transform: translateY(10px); }
.js .hero-content.lit > * { opacity: 1; transform: none; transition: opacity 420ms ease, transform 420ms ease; }
.js .hero-content.lit > *:nth-child(1) { transition-delay: 40ms; }
.js .hero-content.lit > *:nth-child(2) { transition-delay: 120ms; }
.js .hero-content.lit > *:nth-child(3) { transition-delay: 220ms; }
.js .hero-content.lit > *:nth-child(4) { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-content > * { opacity: 1; transform: none; }
  .js .hero-content.lit > * { transition: none; }
}
