/* Outerbridge Garage Door — Concept A "The Licensed Local"
   Layout: plain heritage-trades page. License strip, header with the number,
   headline beside a written-price slip, alternating white and fog bands,
   one navy band for the warranty, call/text bar pinned on phones. */
:root {
  --navy: #14325C;        /* Harbor Navy: mark, wordmark, headings */
  --navy-deep: #0C2140;   /* text on orange, footer ground */
  --orange: #F26B1D;      /* Signal Orange: buttons and the phone number only */
  --orange-ink: #A84008;  /* orange for small text on white or fog */
  --orange-soft: #FFB27A; /* orange for text on navy */
  --white: #FFFFFF;
  --fog: #E9EEF3;         /* panels, forms, bands */
  --line: #D5DBE3;        /* hairlines */
  --ink: #1A1A1A;         /* body text */
  --slate: #3A4450;       /* secondary text */
  --display: "Archivo Black", "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 10;
  height: env(safe-area-inset-top, 0px); background: var(--navy);
}

img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 0.15em; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--navy); text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.35rem); line-height: 1.04; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); line-height: 1.08; }
h3 { font-size: 1.06rem; line-height: 1.3; font-weight: 700; color: var(--navy); }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange-ink);
}

/* License strip */
.strip { background: var(--navy); color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 2px 18px; padding-block: 7px; }
.strip span { min-width: 0; }
.nw { white-space: nowrap; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.lockup:hover { color: var(--navy); }
.mark { width: 52px; height: auto; flex: none; }
.lockup-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wordmark { font-family: var(--display); font-size: 1.12rem; line-height: 1; letter-spacing: -0.01em; }
.descriptor { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--orange-ink); white-space: nowrap; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.header-phone { font-family: var(--display); font-size: 1rem; line-height: 1.1; color: var(--orange-ink); text-decoration: none; white-space: nowrap; }
.header-note { font-size: 0.72rem; font-weight: 600; color: var(--slate); }
@media (min-width: 760px) {
  .site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
  .header-row { padding-block: 14px; }
  .mark { width: 76px; }
  .wordmark { font-size: 1.7rem; }
  .descriptor { font-size: 0.68rem; }
  .header-phone { font-size: 1.6rem; }
  .header-note { font-size: 0.82rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--body); font-size: 1.06rem; font-weight: 700; line-height: 1.15;
  text-decoration: none; text-align: center; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: var(--navy-deep); border-color: var(--orange); }
.btn-primary:hover { background: #FF7F36; border-color: #FF7F36; color: var(--navy-deep); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--fog); color: var(--navy); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Bands */
.band { padding-block: 56px; }
.band-fog { background: var(--fog); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2 { color: var(--white); }
.band-navy .eyebrow { color: var(--orange-soft); }
@media (min-width: 760px) { .band { padding-block: 84px; } }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; margin-bottom: 30px; }
.section-head p:not(.eyebrow) { color: var(--slate); font-size: 1.06rem; }

/* Hero */
.hero { padding-block: 36px 52px; }
.hero-grid { display: grid; gap: 34px; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lede { font-size: 1.16rem; line-height: 1.5; font-weight: 500; color: var(--slate); max-width: 34rem; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.cta-note { font-size: 0.95rem; font-weight: 600; color: var(--slate); }
@media (min-width: 560px) { .cta-row { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero { padding-block: 72px 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
}

/* The written-price slip */
.slip {
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--fog); min-width: 0;
}
.slip-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: var(--navy); color: var(--white);
}
.slip-head strong { font-family: var(--display); font-weight: 400; font-size: 1.02rem; letter-spacing: 0.02em; text-transform: uppercase; }
.slip-head span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-soft); white-space: nowrap; }
.slip dl { padding: 4px 18px 0; }
.slip-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #9AA7B6; }
.slip-row dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.slip-row dd { font-weight: 700; color: var(--navy); text-align: right; font-size: 1.04rem; line-height: 1.25; }
.slip-row dd.big { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1; white-space: nowrap; }
.slip-foot { padding: 14px 18px 18px; font-size: 0.92rem; color: var(--slate); }

/* Symptoms */
.symptoms { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.symptoms li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.symptoms p { color: var(--slate); font-size: 0.98rem; }
.symptoms h3 { font-size: 1.12rem; }
@media (min-width: 700px) {
  .symptoms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
}
@media (min-width: 1000px) {
  .symptoms { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}
.safety {
  margin-top: 30px; padding: 18px 20px; background: var(--white);
  border: 2px solid var(--orange); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 6px; max-width: 46rem;
}
.safety strong { color: var(--navy); font-size: 1.04rem; }
.safety p { color: var(--ink); font-size: 0.98rem; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 26px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; align-content: start; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-size: 1.5rem; line-height: 1;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
}
.steps div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.steps p { color: var(--slate); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .steps li { grid-template-columns: minmax(0, 1fr); }
}

/* Warranty band */
.warranty { display: grid; gap: 28px; }
.warranty-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.warranty-copy p { font-size: 1.08rem; color: #E3EAF2; max-width: 36rem; }
.warranty-copy .fine { font-size: 0.92rem; color: #C5D1DE; }
.spec { border: 2px solid rgba(255,255,255,0.55); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; align-content: center; min-width: 0; }
.spec-row { display: flex; flex-direction: column; gap: 8px; }
.spec-label { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 0.9rem; font-weight: 600; }
.spec-label b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spec-bar { height: 14px; background: rgba(255,255,255,0.16); border-radius: 2px; overflow: hidden; }
.spec-bar i { display: block; height: 100%; background: var(--white); }
.spec-bar.ours i { background: var(--orange); }
.spec-note { font-size: 0.82rem; color: #C5D1DE; }
@media (min-width: 900px) { .warranty { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; } }

/* Trust list */
.trust { list-style: none; padding: 0; display: grid; gap: 24px; }
.trust li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--navy); min-width: 0; }
.trust p { color: var(--slate); font-size: 0.98rem; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; } }

/* License card */
.license-card { display: grid; background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); margin-top: 40px; overflow: hidden; }
.license-plate { background: var(--navy); color: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.plate-kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-soft); }
.plate-title { font-weight: 700; font-size: 1.04rem; line-height: 1.25; }
.plate-number { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 1.6rem); line-height: 1.15; margin-top: 6px; overflow-wrap: anywhere; }
.license-copy { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.license-copy h3 { font-size: 1.16rem; }
.license-copy p { color: var(--slate); font-size: 0.98rem; max-width: 40rem; }
.text-link { font-weight: 700; align-self: flex-start; padding-block: 6px; }
.text-link::after { content: " \2192"; }
@media (min-width: 960px) {
  .license-card { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); }
  .license-plate, .license-copy { padding: 30px; }
}

/* Services and area */
.two-up { display: grid; gap: 44px; }
.two-up > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plain-list { list-style: none; padding: 0; display: grid; gap: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.area-list { list-style: none; padding: 0; columns: 2; column-gap: 24px; font-size: 0.98rem; }
.area-list li { padding: 4px 0; break-inside: avoid; color: var(--slate); font-weight: 500; }
.note { font-size: 0.95rem; color: var(--slate); }
@media (min-width: 560px) { .area-list { columns: 3; } }
@media (min-width: 900px) { .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

/* FAQ */
.faq { max-width: 46rem; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--navy); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--display); font-size: 1.5rem; color: var(--orange-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--slate); max-width: 40rem; }
.faq details p + p { margin-top: -6px; }

/* Contact */
.contact { display: grid; gap: 36px; }
.contact-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-copy p { color: var(--slate); }
.big-phone { font-family: var(--display); font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1; color: var(--orange-ink); text-decoration: none; white-space: nowrap; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 8px; font-weight: 500; }
form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-pair { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
label { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
label .opt { font-weight: 500; color: var(--slate); }
input[type="text"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #8C99A8; border-radius: var(--radius); padding: 12px; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.consent label { font-weight: 400; font-size: 0.86rem; line-height: 1.45; color: var(--slate); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.form-status.error { color: #9B1C1C; }
form .btn { width: 100%; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #D7DFE8; padding-block: 44px 110px; font-size: 0.92rem; }
.site-footer .lockup { color: var(--white); }
.site-footer .descriptor { color: var(--orange-soft); }
.footer-grid { display: grid; gap: 26px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.84rem; color: #B7C3D0; }
@media (min-width: 760px) {
  .site-footer { padding-block: 56px 44px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; }
}

/* Call/text bar on phones */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -6px 18px rgba(12, 33, 64, 0.12);
}
.callbar .btn { min-height: 48px; padding: 10px 12px; font-size: 1rem; }
@media (min-width: 760px) { .callbar { display: none; } }

/* Legal pages */
.doc { padding-block: 44px 72px; }
.doc article { max-width: 44rem; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 18px; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .meta { color: var(--slate); font-size: 0.95rem; }
.doc address { font-style: normal; }
