/* Stronghold Safe Work — site styles
   Palette taken from classic safe-door enamel and brass hardware. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
}
:root {
  --enamel: #17392f;
  --enamel-deep: #0f2a22;
  --enamel-line: #2b5245;
  --brass: #c49a45;
  --brass-light: #e3c27a;
  --paper: #eef0ec;
  --paper-2: #e2e6e0;
  --white: #ffffff;
  --ink: #1a2420;
  --muted: #4f5c56;
  --rule: #c9cfc8;
  --radius: 3px;
  --wrap: 1160px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 4.2vw, 3.25rem);
  --step-5: clamp(2.5rem, 5.6vw, 4.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--enamel); text-underline-offset: 0.18em; }
a:hover { color: var(--enamel-deep); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 68ch; }

h1, h2, h3 {
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--brass); color: var(--enamel-deep); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: var(--step-0);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  line-height: 1.2;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-brass { background: var(--brass); color: var(--enamel-deep); }
.btn-brass:hover { background: var(--brass-light); color: var(--enamel-deep); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-enamel { background: var(--enamel); color: var(--white); }
.btn-enamel:hover { background: var(--enamel-deep); color: var(--white); }

/* ---------- Header (injected by header.js) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--enamel-deep); color: var(--white);
  border-bottom: 1px solid var(--enamel-line);
}
.site-header .bar { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.brand-name span { font-size: .8rem; color: var(--brass-light); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav li { position: relative; }
.nav a, .nav .nav-toggle-sub {
  display: block; padding: .6rem .8rem; color: var(--white); text-decoration: none;
  font-weight: 600; border-radius: var(--radius); background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.nav a:hover, .nav .nav-toggle-sub:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brass); }
.nav-toggle-sub svg { display: inline-block; width: .7em; height: .7em; margin-left: .3em; vertical-align: middle; transition: transform .15s; }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 290px;
  background: var(--white); color: var(--ink); list-style: none; margin: 0; padding: .5rem;
  border-radius: var(--radius); border-top: 3px solid var(--brass);
  box-shadow: 0 18px 40px rgba(10, 30, 24, .28);
  display: none;
}
.sub.open { display: block; }
.sub a { color: var(--ink); padding: .55rem .7rem; font-weight: 500; }
.sub a:hover { background: var(--paper); color: var(--enamel); }
.sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brass); }
.header-call { white-space: nowrap; }
.menu-btn {
  display: none; background: none; border: 2px solid rgba(255,255,255,.35); color: var(--white);
  border-radius: var(--radius); padding: .5rem .7rem; font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4rem; }
  .header-call .label-long { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--enamel-deep);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 2rem; overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav .nav-toggle-sub { padding: .9rem .5rem; font-size: 1.15rem; width: 100%; text-align: left; }
  .sub { position: static; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .sub a { color: var(--paper); font-size: 1rem; }
  .sub a:hover { background: rgba(255,255,255,.08); color: var(--white); }
}
@media (max-width: 520px) {
  .site-header .bar { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name strong { font-size: 1.02rem; }
  .brand-name span { display: none; }
  .menu-btn { padding: .5rem .6rem; }
  .header-call { padding: .7rem .8rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--enamel); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: var(--white); }
.hero .lede { font-size: var(--step-1); color: #d7e2dc; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero .hours { margin-top: 1.25rem; font-size: var(--step--1); color: #b8c8c0; }
.dial-wrap { justify-self: center; width: min(100%, 420px); }
.dial { width: 100%; height: auto; }
.dial .ring { transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) {
  .dial .ring { animation: combo 3.2s cubic-bezier(.45,.05,.25,1) .3s both; }
}
@keyframes combo {
  0%   { transform: rotate(0deg); }
  35%  { transform: rotate(-250deg); }
  62%  { transform: rotate(-110deg); }
  100% { transform: rotate(-182deg); }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .dial-wrap { width: min(70%, 300px); order: -1; justify-self: start; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--enamel); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); color: var(--white); max-width: 22ch; }
.page-hero p { color: #d7e2dc; font-size: var(--step-1); max-width: 56ch; }
.crumbs { font-size: var(--step--1); margin-bottom: 1rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--brass-light); }
.crumbs a { color: #d7e2dc; }

/* ---------- Hubs strip ---------- */
.hubs { background: var(--enamel-deep); color: var(--white); }
.hubs .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.hub { padding: 1.4rem 1.25rem; border-left: 1px solid var(--enamel-line); }
.hub:first-child { border-left: 0; padding-left: 0; }
.hub strong { display: block; font-variation-settings: "wdth" 125; font-size: var(--step-1); }
.hub span { color: #b8c8c0; font-size: var(--step--1); }
@media (max-width: 700px) {
  .hubs .wrap { grid-template-columns: 1fr; }
  .hub { border-left: 0; border-top: 1px solid var(--enamel-line); padding-left: 0; }
  .hub:first-child { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: var(--step-1); }

/* Services list (rows, not cards) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--rule); }
.svc-list a {
  display: grid; grid-template-columns: 64px minmax(220px, 1fr) 1.4fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem .25rem; color: var(--ink); text-decoration: none;
}
.svc-list a:hover { background: var(--paper); }
.svc-list .ico { width: 52px; height: 52px; color: var(--enamel); }
.svc-list h3 { margin: 0; font-size: var(--step-1); }
.svc-list p { margin: 0; color: var(--muted); }
.svc-list .more { font-weight: 700; color: var(--enamel); white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 860px) {
  .svc-list a { grid-template-columns: 52px 1fr; gap: .4rem 1rem; }
  .svc-list .ico { grid-row: span 3; width: 44px; height: 44px; align-self: start; }
  .svc-list .more { justify-self: start; }
}

/* Promise blocks */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.promise > div { border-top: 4px solid var(--brass); padding-top: 1.25rem; }
.promise h3 { font-size: var(--step-1); }
.promise p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; gap: 2rem; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.experience {
  background: var(--enamel); color: var(--white); padding: 2.25rem; border-radius: var(--radius);
}
.experience .big { font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1; color: var(--brass-light); }
.experience p { color: #d7e2dc; margin: .6rem 0 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.6 3.3 10.3l1.4-1.4 2.9 2.9 7.7-7.7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.6 3.3 10.3l1.4-1.4 2.9 2.9 7.7-7.7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Prose (service pages) */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.aside-card {
  background: var(--white); border-top: 4px solid var(--brass); padding: 1.75rem; border-radius: var(--radius);
  position: sticky; top: 100px;
}
.aside-card h2 { font-size: var(--step-2); }
.aside-card .btn { width: 100%; justify-content: center; margin-top: .6rem; }
.aside-card .small { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .layout-2 { grid-template-columns: 1fr; } .aside-card { position: static; } }

.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.related a { display: inline-block; padding: .55rem .9rem; border: 1.5px solid var(--enamel); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.related a:hover { background: var(--enamel); color: var(--white); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 700; font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-right: 3px solid var(--enamel); border-bottom: 3px solid var(--enamel); transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--brass); color: var(--enamel-deep); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.75rem; }
.cta-band h2 { margin: 0; font-size: var(--step-3); }
.cta-band p { margin: .3rem 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-line { color: var(--enamel-deep); }
.cta-band .btn-line:hover { background: rgba(15,42,34,.08); }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.area { background: var(--white); padding: 1.75rem; border-radius: var(--radius); border-top: 4px solid var(--enamel); }
.area h2 { font-size: var(--step-2); }
.area .tag { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--enamel); background: var(--paper-2); padding: .2rem .55rem; border-radius: var(--radius); margin-bottom: .8rem; }
.area ul { padding-left: 1.1rem; margin: 0; color: var(--muted); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.contact-list li:first-child { border-top: 2px solid var(--ink); }
.contact-list .k { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.contact-list .v { font-weight: 700; font-size: var(--step-1); }
form.quote { background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border-top: 4px solid var(--brass); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: var(--step--1); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #aeb7b0; border-radius: var(--radius); padding: .75rem .85rem;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--enamel); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: var(--step--1); color: var(--muted); margin-top: .75rem; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: var(--enamel); }
.form-status.err { color: #9b2c1f; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer (injected by footer.js) ---------- */
.site-footer { background: var(--enamel-deep); color: #c9d6cf; font-size: var(--step--1); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.site-footer h2 { font-size: 1rem; font-variation-settings: "wdth" 110; color: var(--white); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #e6ede9; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.site-footer .about p { max-width: 36ch; }
.site-footer .legal { border-top: 1px solid var(--enamel-line); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--enamel-deep); border-top: 1px solid var(--enamel-line);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; color: var(--white); font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--brass); color: var(--enamel-deep); }
  .callbar svg { width: 1.1em; height: 1.1em; }
  body { padding-bottom: 58px; }
}

/* 404 */
.notfound { text-align: left; }
.notfound .code { font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); color: var(--enamel); line-height: 1; }

/* QA pass 2 fixes */
.prose ul.related { padding-left: 0; }
@media (max-width: 860px) {
  .dial-wrap { width: min(48%, 190px); }
}
@media (max-width: 520px) {
  h1, .page-hero h1 { font-variation-settings: "wdth" 110; }
  .hero h1 { font-size: 2.35rem; }
  .page-hero h1 { font-size: 2rem; }
  h2 { font-size: 1.9rem; }
}
