/* car-storage.ca — "private garage" design: graphite, poured concrete, warm amber work light, painted bay lines. */
:root {
  --paper: #f1efea;
  --paper-2: #e6e3dc;
  --card: #fbfaf7;
  --ink: #16181b;
  --ink-2: #3a3f45;
  --muted: #646a70;
  --steel: #2a2e33;
  --steel-2: #3b4148;
  --amber: #f0a03c;
  --amber-dark: #b8681a;
  --amber-ink: #8a4c0e;
  --line: #d4d0c6;
  --radius: 4px;
  --display: "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
  --stripe: repeating-linear-gradient(135deg, var(--amber) 0 10px, var(--ink) 10px 20px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--amber-dark); }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 10px; top: 10px; }
.mono, .kicker, .bay { font-family: var(--mono); }

/* header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header::after { content: ""; display: block; height: 4px; background: var(--stripe); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; margin-right: auto; }
.brand:hover { color: #fff; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a { color: #e4e3df; text-decoration: none; font-size: .96rem; padding: 8px 11px; border-radius: var(--radius); display: block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.site-nav .btn { margin-left: 8px; box-shadow: none; }
.menu-btn { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); padding: 8px 14px; font: inherit; font-size: .95rem; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 4px solid var(--amber); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 22px 18px; }
  .site-nav a { padding: 12px 8px; font-size: 1.05rem; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--amber); color: var(--ink) !important; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--amber); font-size: 1.02rem; line-height: 1.2; cursor: pointer; font-family: var(--sans); letter-spacing: .005em; }
.btn:hover { background: #f6b863; border-color: #f6b863; }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.on-dark .btn.ghost, .hero.home .btn.ghost { color: #fff !important; border-color: rgba(255,255,255,.7); }
.on-dark .btn.ghost:hover, .hero.home .btn.ghost:hover { background: #fff; color: var(--ink) !important; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* breadcrumbs */
.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 9px 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); font-family: var(--mono); }
.crumbs a { color: var(--ink-2); }

/* painted floor: bay lines on concrete */
.bay-bg { background-color: var(--paper-2); background-image:
  linear-gradient(90deg, transparent 0 calc(100% - 3px), rgba(22,24,27,.07) calc(100% - 3px)),
  radial-gradient(circle at 20% 30%, rgba(0,0,0,.025) 0 1px, transparent 1.5px),
  radial-gradient(circle at 70% 80%, rgba(0,0,0,.03) 0 1px, transparent 1.5px);
  background-size: 180px 100%, 9px 9px, 13px 13px; }
.bay { display: inline-block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 4px 9px 3px; border-radius: 2px; margin: 0 0 16px; font-weight: 600; }

/* hero */
.hero { padding: 56px 0 50px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero.no-photo .wrap { grid-template-columns: 1fr; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 640px; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--amber-ink); margin: 0 0 12px; font-weight: 600; }
.hero .photo { position: relative; }
.hero .photo::before { content: ""; position: absolute; left: -12px; top: 14px; bottom: -12px; width: 6px; background: var(--amber); }
.hero .photo img { border-radius: var(--radius); box-shadow: 0 24px 46px -26px rgba(0,0,0,.6); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-family: var(--mono); font-size: .78rem; background: var(--card); border: 1px solid var(--line); padding: 5px 10px; border-radius: 2px; color: var(--ink-2); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 26px; } .hero { padding: 38px 0 36px; } .hero .photo::before { display: none; } }

/* home hero with full photo */
.hero.home { padding: 0; background: var(--ink); color: #fff; overflow: hidden; }
.hero.home .bgphoto { position: absolute; inset: 0; }
.hero.home .bgphoto img { width: 100%; height: 100%; object-fit: cover; }
.hero.home .bgphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,17,.94) 0%, rgba(14,15,17,.8) 45%, rgba(14,15,17,.3) 100%); }
.hero.home .wrap { position: relative; padding-top: 82px; padding-bottom: 82px; grid-template-columns: 1.15fr .85fr; }
.hero.home h1 { color: #fff; }
.hero.home .lead { color: #dedcd6; }
.hero.home .kicker { color: var(--amber); }
.hero.home .badges li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #efede8; }
@media (max-width: 860px) { .hero.home .wrap { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 46px; } .hero.home .bgphoto::after { background: rgba(14,15,17,.84); } }

/* quick finder card */
.finder { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 26px 52px -24px rgba(0,0,0,.7); position: relative; }
.finder::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); border-radius: var(--radius) var(--radius) 0 0; }
.finder .bay { margin: 4px 0 10px; }
.finder h2 { font-size: 1.5rem; margin-bottom: 4px; }
.finder p.sub { font-size: .95rem; color: var(--muted); margin-bottom: 10px; }
.finder label { display: block; font-size: .88rem; font-weight: 600; margin: 12px 0 4px; }
.finder .btn { width: 100%; margin-top: 18px; text-align: center; }
.finder .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* sections */
.section { padding: 54px 0; }
.section + .section { padding-top: 10px; }
.section.alt { background: var(--paper-2); }
.section.alt + .section, .section + .section.alt { padding-top: 54px; }
.section h2 { margin-bottom: .6em; }
.intro-h { max-width: 760px; color: var(--ink-2); }

/* cards: numbered bays */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; counter-reset: bay; }
.card { counter-increment: bay; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s; position: relative; }
.card::after { content: "BAY " counter(bay, decimal-leading-zero); position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; background: var(--ink); color: var(--amber); padding: 3px 7px; border-radius: 2px; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.55); color: var(--ink); border-color: var(--ink); }
.card .photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--amber); }
.card:not(:has(.photo)) .body { padding-top: 42px; border-top: 0; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: .95rem; color: var(--ink-2); margin-bottom: 12px; }
.card .meta { font-family: var(--mono); font-size: .8rem; color: var(--ink); margin-top: auto; font-weight: 600; }
.card .more { font-weight: 700; color: var(--amber-ink); font-size: .92rem; margin-top: auto; }
.card .meta + .more { margin-top: 6px; }

/* list / steps */
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 30px; }
.list > div { border-left: 4px solid var(--ink); padding: 2px 0 2px 16px; }
.list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.list p { font-size: .97rem; color: var(--ink-2); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 1.6rem; font-weight: 700; color: var(--ink); display: block; border-bottom: 3px solid var(--amber); width: 2.2em; margin-bottom: 12px; padding-bottom: 2px; }
.steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.no-photo { grid-template-columns: 1fr; max-width: 780px; }
.split .photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 22px; } }

/* notice */
.notice { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--amber); padding: 16px 20px; border-radius: var(--radius); }

/* tables */
.tablewrap { overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .98rem; }
table.prices th, table.prices td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.prices td:last-child { font-family: var(--mono); font-size: .92rem; white-space: nowrap; font-weight: 600; }
table.spec td:last-child { white-space: normal; font-family: var(--sans); font-size: .98rem; font-weight: 400; }
table.spec thead th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
table.prices tbody th { font-weight: 600; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 10px; }

/* spec sheet */
.plate { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.plate div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plate dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.plate dd { margin: 4px 0 0; font-weight: 600; font-size: 1.02rem; }

/* facts */
.facts { padding-left: 1.1em; }
.facts li { margin-bottom: .55em; }
.facts li::marker { color: var(--amber-dark); }
.facts .src { font-size: .8rem; font-family: var(--mono); margin-left: 4px; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--amber-dark); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* link lists */
.linklist { columns: 3 230px; column-gap: 30px; padding: 0; list-style: none; }
.linklist li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.linklist span { color: var(--muted); font-size: .9rem; }
.related { border-top: 1px solid var(--line); padding-top: 26px; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 7px 13px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-size: .95rem; }
.related a:hover { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--amber); }

/* glossary */
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 30px; }
.glossary div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.glossary dt { font-family: var(--mono); font-weight: 600; }
.glossary dd { margin: 3px 0 0; font-size: .97rem; color: var(--ink-2); }

/* calculator */
.calc { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calc .out { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc .out::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); }
.calc .out .big { font-family: var(--mono); font-size: 2.4rem; color: var(--amber); line-height: 1.1; margin: 4px 0 8px; font-weight: 700; }
.calc .out p { color: #d4d2cc; font-size: .93rem; margin-bottom: 8px; }
.calc .out .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* forms */
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #aaa59a; border-radius: var(--radius); background: #fff; color: var(--ink); margin-top: 4px; }
textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px; margin: 0; background: var(--card); }
legend { font-weight: 600; padding: 0 6px; font-size: .95rem; }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; margin: 0 0 9px; }
.check input { width: auto; margin-top: 6px; accent-color: var(--amber-dark); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form-step { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); grid-column: 1 / -1; margin: 12px 0 -6px; border-top: 1px solid var(--line); padding-top: 18px; font-weight: 600; }
.form-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { margin-top: 14px; padding: 0; border-radius: var(--radius); }
.form-status.is-ok { background: #e6f0e4; border: 1px solid #9fc39a; padding: 14px 16px; }
.form-status.is-error { background: #f8e4dc; border: 1px solid #dfa08a; padding: 14px 16px; }
@media (max-width: 640px) { .form-grid, .checks, .finder .row2 { grid-template-columns: 1fr; } }

/* cta band */
.cta-band { background: var(--ink); color: #fff; padding: 50px 0; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cfccc5; margin: 0; max-width: 640px; }

/* footer */
.site-footer { background: #0e0f11; color: #bdbab3; padding: 50px 0 24px; font-size: .95rem; }
.site-footer a { color: #e8e6e1; text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid h2 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--amber); font-weight: 500; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 8px; letter-spacing: -.02em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px; font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* province / city index */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px 30px; }
.regions h3 { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); border-bottom: 3px solid var(--amber); padding-bottom: 6px; margin-bottom: 8px; }
.regions h3 a { color: inherit; text-decoration: none; }
.regions ul { list-style: none; padding: 0; margin: 0; }
.regions li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.regions li span { font-family: var(--mono); font-size: .76rem; color: var(--muted); white-space: nowrap; }

.credits li { margin-bottom: 6px; }
