/* ============================================================
   COMMERCIAL LOCK & DOOR CO. - design system
   Navy + amber. Jobsite, not call centre. Not consumer locksmith
   red, not security-integrator blue.

   Contrast rules baked in:
     - amber (#E5871B) NEVER carries body text on white (fails AA)
     - amber IS used for fills, rules, and buttons with navy text (5.5:1)
     - muted body text uses --mut (#55636F, 5.9:1 on white), never --alu
   ============================================================ */

/* ---------- fonts (self-hosted, zero external requests) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --ink: #14212B;
  --ink-2: #1E2E3B;
  --ink-3: #2A3C4B;
  --amber: #E5871B;
  --amber-deep: #A85E08;   /* 4.6:1 on white, 4.3:1 on paper - safe for text */
  --amber-wash: #FDF3E6;
  --alu: #6B7A88;
  --mut: #55636F;
  --paper: #F4F6F7;
  --paper-2: #EAEEF0;
  --white: #FFFFFF;
  --line: #DDE3E7;
  --line-dark: #2C3E4D;

  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --wrap-tight: 820px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20,33,43,.06), 0 8px 24px rgba(20,33,43,.07);
  --shadow-lg: 0 2px 4px rgba(20,33,43,.06), 0 18px 48px rgba(20,33,43,.12);
  --rule: 3px;
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .002em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.05em; }
strong { font-weight: 600; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: .85rem;
}
.kicker--on-dark { color: var(--amber); }
.lede { font-size: 1.16rem; line-height: 1.6; color: var(--mut); }

.prose { max-width: 68ch; }
.prose > *:last-child { margin-bottom: 0; }
.prose a {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--amber);
  transition: background .15s;
}
.prose a:hover { background: var(--amber-wash); }
.prose h2 { margin: 2.4rem 0 .9rem; }
.prose h3 { margin: 1.9rem 0 .7rem; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 3px;
  background: var(--amber);
  border-radius: 1px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-tight { max-width: var(--wrap-tight); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.2rem, 4.5vw, 3.4rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lede { color: #B7C4CE; }

.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; } }

/* amber rule motif: echoes the push bar in the logo */
.rule {
  width: 62px; height: var(--rule);
  background: var(--amber);
  border-radius: 2px;
  margin: 0 0 1.4rem;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--white);
  padding: .8rem 1.2rem; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- focus ---------- */
:focus-visible {
  outline: 3px solid var(--ink);          /* amber is only 2.7:1 on white */
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px rgba(255,255,255,.9);
}
.hero :focus-visible,
.section--ink :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--amber);            /* 6.1:1 on navy */
  box-shadow: 0 0 0 5px rgba(20,33,43,.9);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .97rem;
  padding: .88rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--ink); }        /* 5.5:1, passes AA */
.btn--amber:hover { background: var(--amber-deep); color: var(--ink); }  /* keep the dark label: 4.6:1 */
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-dark { border-color: rgba(255,255,255,.34); color: var(--white); }
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: #C3D0DA;
  font-size: .83rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar strong { color: var(--white); font-weight: 600; }
.topbar-creds { display: flex; gap: 1.3rem; flex-wrap: wrap; }
@media (max-width: 780px) { .topbar-creds { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 1.4rem; min-height: 78px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img, .logo svg { height: 46px; width: auto; }
.header-spacer { flex: 1; }

.nav { display: none; }
@media (min-width: 1000px) { .nav { display: flex; align-items: center; gap: .35rem; } }
.nav > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .62rem .78rem;
  font-size: .93rem; font-weight: 500;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-link:hover { background: var(--paper); }
.nav-link[aria-current="page"] {
  color: var(--ink); font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--amber-deep);   /* shape cue, not colour alone */
}
.caret { width: 9px; height: 9px; flex-shrink: 0; opacity: .55; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: var(--rule) solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .14s, transform .14s, visibility .14s;
}
.dropdown--wide { min-width: 700px; column-count: 3; column-gap: .4rem; left: -120px; }
li:hover > .dropdown, li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: .55rem .7rem;
  font-size: .9rem; border-radius: var(--radius-sm);
  break-inside: avoid;
}
.dropdown a:hover { background: var(--paper); color: var(--amber-deep); }
.dropdown .dd-head {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mut); padding: .6rem .7rem .25rem;
}

.header-cta { display: none; align-items: center; gap: .7rem; }
@media (min-width: 1000px) { .header-cta { display: flex; } }
.header-phone { font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; white-space: nowrap; }
.header-phone small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }

.burger {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  background: var(--ink); color: var(--white);
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger svg { width: 20px; height: 20px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); padding-top: .6rem; padding-bottom: 1.2rem; max-height: 76vh; overflow-y: auto; }
.mobile-nav.open { display: block; }
@media (min-width: 1000px) { .mobile-nav, .mobile-nav.open { display: none; } }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { padding: .85rem .2rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--amber-deep); }
.mobile-nav details[open] summary::after { content: "\2212"; }
.mobile-nav .m-links { padding: 0 0 .8rem .2rem; }
.mobile-nav .m-links a { display: block; padding: .48rem 0; font-size: .94rem; color: var(--mut); }
.mobile-nav > a { display: block; padding: .85rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-cta { display: grid; gap: .6rem; padding-top: 1rem; }

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 88% -10%, rgba(229,135,27,.16), transparent 62%),
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.22));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding-top: clamp(3rem, 8vw, 5.6rem); padding-bottom: clamp(3rem, 8vw, 5.6rem); display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.18rem; line-height: 1.58; color: #C3D0DA; max-width: 54ch; margin-bottom: 1.7rem; }
.hero-points { display: grid; gap: .62rem; margin: 1.7rem 0; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: #D6E0E7; }
.hero-points svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: .22rem; color: var(--amber); }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-art img { width: 100%; }
.hero--page { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.hero--page h1 { margin-bottom: .9rem; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .84rem; color: var(--mut); padding: .95rem 0; border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs li::after { content: "/"; margin-left: .4rem; opacity: .45; }
.crumbs li:last-child::after { content: ""; }
.crumbs a:hover { color: var(--amber-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.crumbs--dark { border-bottom-color: var(--line-dark); color: #9DAEBB; }
.crumbs--dark [aria-current] { color: var(--white); }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
a.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; color: var(--mut); margin-bottom: 0; }
.card-more { margin-top: auto; padding-top: 1rem; font-size: .87rem; font-weight: 600; color: var(--amber-deep); }
.card-more::after { content: "\2192"; margin-left: .4em; }
.card--ink .card-more { color: var(--amber); }
.card--ink { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.card--ink h3 { color: var(--white); }
.card--ink p { color: #B7C4CE; }
.card-ico { width: 38px; height: 38px; color: var(--amber); margin-bottom: .9rem; }

/* group card: outcome-framed service grouping */
.group-card { border-left: var(--rule) solid var(--amber); background: var(--paper); border-radius: var(--radius); padding: 1.5rem; }
.group-card h3 { margin-bottom: .8rem; }
.group-card ul { display: grid; gap: .42rem; }
.group-card a {
  display: grid;
  grid-template-columns: 1.15em 1fr;   /* hanging indent so wrapped lines align */
  font-size: .93rem; font-weight: 500; color: var(--mut);
}
.group-card a:hover { color: var(--amber-deep); }
.group-card a::before { content: "\2192"; color: var(--amber); font-weight: 700; }

/* ---------- pain points (industry pages) ---------- */
.pain { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pain-row { background: var(--white); padding: 1.4rem 1.5rem; display: grid; gap: .5rem; }
@media (min-width: 760px) { .pain-row { grid-template-columns: .85fr 1.15fr; gap: 1.8rem; align-items: start; } }
.pain-problem { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; line-height: 1.16; }
.pain-answer { font-size: .95rem; color: var(--mut); }
.pain-answer p:last-child { margin-bottom: 0; }

/* ---------- spec / info table ---------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { min-width: 520px; }
th, td { text-align: left; padding: .82rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
thead th { background: var(--paper); font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- callout ---------- */
.callout {
  border-left: var(--rule) solid var(--amber);
  background: var(--amber-wash);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.7rem 0;
  font-size: .96rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: .3rem; }

/* ---------- checklist ---------- */
.checks { display: grid; gap: .68rem; }
.checks li { display: flex; gap: .72rem; align-items: flex-start; font-size: .96rem; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .18rem; color: var(--amber); }

/* ---------- FAQ (no JS) ---------- */
.faq { display: grid; gap: .7rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.16rem; font-weight: 700; line-height: 1.22;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; margin-top: .28rem;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; font-size: .96rem; color: var(--mut); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: .8rem; }
.cta-band p { color: #C3D0DA; max-width: 58ch; margin: 0 auto 1.7rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- trust strip ---------- */
.trust { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--amber); flex-shrink: 0; margin-top: .15rem; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: .22rem; }
.trust-item p { font-size: .89rem; color: var(--mut); margin: 0; }
.section--ink .trust-item p { color: #B7C4CE; }

/* ---------- logo wall ---------- */
.logowall { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); align-items: center; }
.logowall span {
  display: grid; place-items: center;
  height: 62px; padding: .6rem 1rem;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  color: var(--alu); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-align: center; line-height: 1.1;
}

/* ---------- quote form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: var(--rule) solid var(--amber); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--mut); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem;
  border: 1px solid #8A99A5; border-radius: var(--radius-sm);   /* 3.02:1 boundary */
  background: var(--white); font-size: .97rem;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--ink); outline: 3px solid var(--ink); outline-offset: 1px;
}
.field textarea { min-height: 118px; resize: vertical; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--mut); margin-top: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B7C4CE; font-size: .92rem; }
.footer-main { padding-top: clamp(2.6rem, 5vw, 4rem); padding-bottom: 2.2rem; display: grid; gap: 2.2rem; }
@media (min-width: 860px) { .footer-main { grid-template-columns: 1.25fr 1fr 1fr 1fr; } }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .95rem; }
.site-footer a:hover { color: var(--amber); }
.footer-links { display: grid; gap: .48rem; }
.footer-logo img, .footer-logo svg { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-phone { font-family: var(--font-display); font-size: 1.72rem; font-weight: 700; color: var(--white); display: block; margin-bottom: .3rem; }
.footer-creds { display: grid; gap: .35rem; font-size: .85rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.3rem; padding-bottom: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-dark);
  transform: translateY(100%); transition: transform .22s ease;
  box-shadow: 0 -6px 24px rgba(20,33,43,.18);
}
.callbar.show { transform: none; }
@media (min-width: 1000px) { .callbar { display: none; } }
.callbar a { padding: .95rem; text-align: center; font-weight: 600; font-size: .95rem; }
.callbar .cb-call { background: var(--amber); color: var(--ink); }
.callbar .cb-quote { background: var(--ink); color: var(--white); }
body.callbar-open { padding-bottom: 56px; }

/* ---------- misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.tag { font-size: .8rem; font-weight: 600; padding: .32rem .72rem; border-radius: 100px; background: var(--paper); border: 1px solid var(--line); color: var(--mut); }
.tag--amber { background: var(--amber-wash); border-color: #F2D3A6; color: var(--amber-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.link-list { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.link-list a { display: block; padding: .72rem .95rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; transition: border-color .14s; }
.link-list a:hover { border-color: var(--ink); color: var(--amber-deep); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .callbar, .cta-band, .burger { display: none !important; }
  body { font-size: 12pt; }
}

/* ---------- required field markers ---------- */
.req { color: var(--amber-deep); font-weight: 700; }
.form-legend { font-size: .84rem; color: var(--mut); margin-bottom: 1rem; }
.form-error {
  display: none; margin-top: .8rem; padding: .7rem .9rem;
  border-left: var(--rule) solid #B3261E; background: #FDECEA;
  font-size: .9rem; color: #7A1B14; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.form-error.show { display: block; }


/* ---------- photo slots ---------- */
.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: auto; display: block; }
.photo--aside { margin-bottom: 1.2rem; }
.photo--wide { box-shadow: var(--shadow-lg); }

/* leaf-page hero with photo: same split as home, tighter padding */
.hero-inner--tight { padding-top: clamp(2.2rem, 5vw, 3.8rem); padding-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.photo--hero { border-color: var(--line-dark); box-shadow: var(--shadow-lg); }
