/* ===================================================================== Site chrome
   Header phone action, navigation state, footer and the closing contact band.
   layout.mjs links this file from every page until this block moves to a global stylesheet. */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-links a[aria-current] { color: var(--lime); }
.nav-links .nav-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #e3ecde; }
.nav-links .nav-phone .phone-icon { color: var(--lime); flex-shrink: 0; }
.nav-links .nav-phone:hover { color: var(--lime); }
.nav-links .nav-cta { white-space: nowrap; }
.header-call { display: none; }
/* Focus rings on dark bands use the lime accent; the default green is too dim against #121914. */
.header :focus-visible, .footer :focus-visible, .brand-strip :focus-visible, .workshop :focus-visible, .workshop-band :focus-visible, .trade-band :focus-visible, .hours-card :focus-visible, .parts-delivery :focus-visible { outline-color: var(--lime); }
.contact-band .contact-band-call { margin-top: 12px; font-size: 18px; }
.contact-band-call a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.contact-band-call a:hover { color: var(--green); }

.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 40px; }
.footer-brand .footer-cta { display: inline-flex; gap: 10px; margin-top: 22px; color: var(--lime); font: 600 14px Sora, sans-serif; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.footer-brand .footer-cta:hover { color: #fff; }
.footer .footer-address { font-style: normal; font-size: 16px; line-height: 1.5; color: #d5ded1; margin-bottom: 12px; }
.footer-hours { margin: 0; display: grid; gap: 7px; font-size: 16px; }
.footer-hours div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.footer-hours dt { color: #9eae96; }
.footer-hours dd { margin: 0; color: #d5ded1; }
.footer-hours .is-unconfirmed dd { color: #9eae96; font-style: italic; }
.footer-grid .footer-links a { overflow-wrap: anywhere; }

@media (max-width: 1240px) and (min-width: 801px) {
  .nav-links { gap: 22px; }
  .nav-links .nav-phone { font-size: 0; gap: 0; width: 34px; height: 34px; justify-content: center; border: 1px solid #4b5848; border-radius: 50%; }
  .nav-links .nav-phone .phone-icon { width: 15px; height: 15px; }
}
@media (max-width: 960px) and (min-width: 801px) {
  .header-inner { gap: 20px; }
  .brand, .brand img { width: 180px; height: 43px; }
  .nav-links { gap: 15px; font-size: 12px; }
  .nav-links a { white-space: nowrap; }
  .nav-links .nav-cta { padding: 11px 13px; }
}
@media (max-width: 860px) and (min-width: 801px) {
  .header-inner { gap: 14px; }
  .brand, .brand img { width: 160px; height: 38px; }
  .nav-links { gap: 12px; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 35px 30px; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; }
  .footer-brand p { margin-top: 0 !important; }
  .footer-brand .footer-cta { margin-top: 0; }
}
@media (max-width: 800px) {
  .header-inner { align-content: flex-start; }
  .header-inner > .brand, .header-call, .menu-button { margin-top: 15px; margin-bottom: 15px; }
  .header-call { display: inline-flex; align-items: center; gap: 8px; margin: 0 10px 0 auto; padding: 8px 13px; border: 1px solid #6c766a; color: #fff; text-decoration: none; }
  .header-call .phone-icon { color: var(--lime); }
  .header-call:hover { border-color: var(--lime); }
  .nav-links .nav-phone { padding: 14px 0; border-top: 1px solid #35402f; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { display: block; }
  .footer-brand p { margin-top: 16px !important; }
  .footer-brand .footer-cta { margin-top: 18px; }
}
@media (max-width: 500px) {
  .header-call { padding: 8px 10px; gap: 6px; margin-right: 8px; }
  .menu-button { padding: 8px 12px; }
  .brand, .brand img { width: 176px; height: 42px; }
  .footer-grid { gap: 30px 20px; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer-hours div { grid-template-columns: 80px 1fr; }
  .contact-band .contact-band-call { font-size: 17px; }
}
@media (max-width: 370px) {
  .header-call { padding: 8px 12px; }
  .header-call > span:not(.vh) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 340px) {
  .brand, .brand img { width: 150px; height: 36px; }
}

/* ===================================================================== Information pages
   /vehicles/, /vehicles/tesla/, /about/ and /contact/. Shares the service-page language:
   pale paper, Sora headings, numbered green labels and ruled lists. */
.info-page h1 span, .info-page h2 span:not([aria-hidden]) { color: var(--green); }
.info-hero { padding: 44px 0 72px; }
.info-hero h1 { font-size: clamp(44px, 5.1vw, 74px); }
.info-hero .intro { font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 610px; margin-top: 26px; }
.info-hero .hero-actions { flex-wrap: wrap; gap: 18px 28px; }
.info-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.info-page .contact-line { margin-top: 22px; font-size: 17px; color: var(--muted); }
.info-page .contact-line a { color: var(--ink); font-weight: 600; }
.info-page .contact-line a:hover { color: var(--green); }
.info-page .prepare-grid .button { margin-top: 28px; }
.info-page address { font-style: normal; }
.make-note { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 820px; }

/* Vehicles: example job card */
.job-card { margin: 0; background: #fff; border: 1px solid var(--line); padding: 28px 32px 24px; box-shadow: 0 34px 60px -44px rgba(18, 25, 20, .45); position: relative; }
.job-card:before { content: ''; position: absolute; left: -1px; top: -1px; width: 64px; height: 4px; background: var(--green); }
.job-card-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 600 12px Sora, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.job-card-head span:last-child { color: var(--green); }
.job-card dl { margin: 0; }
.job-card dl div { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed #c3cbbd; }
.job-card dt { font: 500 13px Sora, sans-serif; color: var(--muted); }
.job-card dd { margin: 0; font: 600 20px/1.35 Sora, sans-serif; letter-spacing: -.03em; }
.job-card dl div:last-child dd { font: 400 19px/1.45 'Source Sans 3', sans-serif; letter-spacing: 0; }
.job-card-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 600; font-size: 17px; }
.job-card-foot span { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px #dcebd3; flex-shrink: 0; }
.job-card figcaption { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Vehicles: make board */
.make-board { display: grid; grid-template-columns: .85fr 1.15fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.make-feature { display: flex; flex-direction: column; background: var(--dark); color: var(--paper); padding: 36px 38px 34px; text-decoration: none; min-height: 100%; transition: background .2s; }
.make-feature:hover { background: #1c271d; }
.make-kicker { font: 600 12px Sora, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.make-feature h3 { font-size: clamp(64px, 8vw, 118px); letter-spacing: -.065em; line-height: 1; color: #fff; margin: auto 0 14px; padding-top: 48px; }
.make-models { color: #c2cbbc; font-size: 17px; }
.make-go { margin-top: 30px; align-self: start; color: #b9dba4; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.make-feature:hover .make-go { color: #fff; }
.make-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.make-list li { display: flex; align-items: flex-end; min-height: 128px; padding: 22px 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 clamp(32px, 3.5vw, 50px)/1 Sora, sans-serif; letter-spacing: -.055em; }
.make-list li:nth-last-child(-n+2) { border-bottom: 0; }
.make-list .make-more { font: 500 18px/1.35 'Source Sans 3', sans-serif; letter-spacing: 0; color: var(--muted); background: #f6f7f2; }

/* Vehicles: check steps */
.check-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.check-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; padding: 20px 0; border-top: 1px solid #c2ceba; }
.check-steps li:last-child { border-bottom: 1px solid #c2ceba; }
.check-steps .item-number { margin: 5px 0 0; }
.check-steps h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 6px; }
.check-steps p { color: var(--muted); font-size: 17px; }

/* Tesla */
.tesla-hero-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
.tesla-figure { margin: 0 -2vw 0 0; min-width: 0; }
.tesla-figure img { width: 100%; height: auto; mix-blend-mode: multiply; }
.tesla-figure figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tm-note { margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--green); font-size: 15px; color: var(--muted); }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.model-card { padding: 34px 44px 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.model-card:nth-child(even) { padding: 34px 0 44px 44px; border-left: 1px solid var(--line); }
.model-card .item-number { margin-bottom: 14px; }
.model-card h3 { font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -.05em; }
.model-card h3 span { color: var(--muted); font-weight: 500; }
.model-lede { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 540px; }
.model-card h4 { margin: 28px 0 4px; font: 600 12px Sora, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.concern-links { list-style: none; margin: 0; padding: 0; }
.concern-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.concern-links li:last-child a { border-bottom: 0; }
.concern-text { font-weight: 600; font-size: 18px; }
.concern-service { flex-shrink: 0; font-size: 15px; color: var(--green); white-space: nowrap; }
.concern-links a:hover .concern-text { color: var(--green); }
.concern-links a:hover .concern-service { text-decoration: underline; }
.trademark-notice { border-top: 1px solid var(--line); padding: 28px 0; }
.trademark-notice p { max-width: 900px; font-size: 15px; color: var(--muted); }
.trademark-notice strong { color: var(--ink); }

/* About */
.fact-ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.fact-ledger li { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact-ledger strong { font: 600 clamp(30px, 3.2vw, 46px)/1.05 Sora, sans-serif; letter-spacing: -.055em; }
.fact-ledger li:first-child strong { color: var(--green); }
.fact-ledger span { color: var(--muted); font-size: 17px; line-height: 1.4; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.process-steps li { position: relative; padding: 34px 32px 0 0; border-top: 2px solid #c9d1c4; }
.process-steps li:before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--paper); }
.process-steps .item-number { margin-bottom: 12px; }
.process-steps h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 12px; }
.process-steps p { color: var(--muted); font-size: 17px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-member { border-top: 1px solid var(--line); padding-top: 22px; }
.team-member img { margin-bottom: 18px; }
.team-role { color: var(--green); font-size: 16px; margin-top: 6px; }
.team-member p + p { color: var(--muted); }

/* Workshop band (about and contact) */
.workshop-band { background: var(--dark); color: var(--paper); padding: 80px 0; }
.workshop-band-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.shopfront { margin: 0; min-width: 0; }
/* The image is pre-cropped (picture('shopfront-sign') in scripts/images.mjs), so it shows at its own ratio. */
.shopfront-crop { overflow: hidden; aspect-ratio: 1140 / 880; background: #2a332b; }
.shopfront-crop img { width: 100%; height: 100%; object-fit: cover; }
.shopfront figcaption { margin-top: 12px; font-size: 13px; color: #9eae96; }
.workshop-band .location-line { color: #b0c4a7; margin-bottom: 22px; }
.workshop-band h2 { font-size: clamp(36px, 3.6vw, 52px); color: #fff; }
.workshop-band-copy > p { margin-top: 22px; color: #c2cbbc; font-size: 19px; }
.band-facts { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 30px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #3b4438; font-size: 16px; color: #d5ded1; }
.band-hours { margin: 0; display: grid; gap: 4px; }
.band-hours div { display: grid; grid-template-columns: 74px auto; gap: 10px; }
.band-hours dt { color: #9eae96; }
.band-hours dd { margin: 0; }
.band-hours .is-unconfirmed dd { color: #9eae96; font-style: italic; }
.band-links { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 28px; }
.band-links .text-link { color: #b9dba4; font-size: 16px; }
.band-links .text-link:hover { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.contact-page .request-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.contact-methods { margin: 44px 0 0; border-top: 1px solid var(--line); }
.contact-methods > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-methods dt { padding-top: 9px; font: 500 13px Sora, sans-serif; color: var(--green); }
.contact-methods dd { margin: 0; }
.contact-big { font: 600 clamp(25px, 2.5vw, 34px)/1.25 Sora, sans-serif; letter-spacing: -.045em; text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover { color: var(--green); }
.contact-methods address { font-size: 19px; line-height: 1.5; margin: 6px 0 14px; }
.contact-methods .text-link { font-size: 16px; }
.hours-card { position: sticky; top: 30px; background: var(--dark); color: var(--paper); padding: 34px 36px 32px; margin-top: 40px; }
.hours-card h2 { font-size: 28px; color: #fff; margin-bottom: 18px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.hours-table th, .hours-table td { padding: 12px 0; border-top: 1px solid #39443a; }
.hours-table th { text-align: left; font-weight: 600; }
.hours-table td { text-align: right; color: #d5ded1; }
.hours-table .is-unconfirmed td { color: #a9b5a3; font-style: italic; }
.hours-card p { margin-top: 18px; padding-top: 16px; border-top: 1px solid #39443a; font-size: 15px; color: #aebaa8; }
.hours-call { display: inline-flex; gap: 10px; margin-top: 20px; color: var(--lime); font: 600 15px Sora, sans-serif; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hours-call:hover { color: #fff; }
.contact-help { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
  .info-hero-grid, .tesla-hero-grid { gap: 40px; }
  .contact-grid { gap: 45px; }
  .workshop-band-grid { gap: 45px; grid-template-columns: 1fr 1fr; }
  .make-feature { padding: 30px; }
  .make-list li { padding: 20px 22px; min-height: 110px; }
  .model-card { padding-right: 30px; }
  .model-card:nth-child(even) { padding-left: 30px; }
  .concern-links a { flex-direction: column; gap: 2px; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .contact-help { grid-template-columns: 1fr 1fr; }
  .band-facts { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 800px) {
  .info-hero { padding: 30px 0 50px; }
  .info-hero-grid, .tesla-hero-grid, .contact-grid, .workshop-band-grid { grid-template-columns: 1fr; }
  .info-hero .intro { max-width: 650px; }
  .job-card { max-width: 560px; }
  .tesla-figure { margin: 0; max-width: 640px; }
  .fact-ledger { max-width: 620px; }
  .make-board { grid-template-columns: 1fr; }
  .make-feature h3 { padding-top: 30px; }
  .make-list li:first-child, .make-list li:nth-child(2) { border-top: 1px solid var(--line); }
  .make-list li:nth-child(odd) { border-left: 0; }
  .model-grid { grid-template-columns: 1fr; }
  .model-card, .model-card:nth-child(even) { padding: 30px 0 34px; border-left: 0; }
  .concern-links a { flex-direction: row; gap: 6px 20px; }
  .workshop-band { padding: 0 0 50px; }
  .workshop-band-grid { width: 100%; gap: 34px; }
  .shopfront figcaption { padding: 0 28px; }
  .workshop-band-copy { padding: 0 28px; }
  .hours-card { position: static; margin-top: 0; max-width: 560px; }
  .band-facts { grid-template-columns: auto auto; gap: 30px; }
}
@media (max-width: 500px) {
  .info-hero h1 { font-size: 42px; }
  .info-hero .intro { font-size: 19px; margin-top: 20px; }
  .info-hero .location-line { font-size: 13px; }
  .info-hero .hero-actions .button { font-size: 12px; padding: 15px 16px; gap: 12px; }
  .job-card { padding: 22px 20px 20px; }
  .job-card dl div { grid-template-columns: 76px 1fr; gap: 12px; padding: 13px 0; }
  .job-card dd { font-size: 18px; }
  .job-card dl div:last-child dd { font-size: 17px; }
  .job-card-foot { font-size: 16px; }
  .make-feature { padding: 26px 22px; }
  .make-list li { min-height: 86px; padding: 18px 16px; font-size: 30px; }
  .make-list .make-more { font-size: 16px; }
  .check-steps li { grid-template-columns: 27px 1fr; gap: 0 12px; }
  .check-steps h3 { font-size: 20px; }
  .tm-note { font-size: 14px; }
  .model-card h3 { font-size: 34px; }
  .model-lede { font-size: 17px; }
  .concern-links a { flex-direction: column; gap: 3px; }
  .concern-text { font-size: 17px; }
  .concern-service { font-size: 14px; }
  .fact-ledger li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .fact-ledger strong { font-size: 32px; }
  .process-steps { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid #c9d1c4; margin-left: 5px; }
  .process-steps li { border-top: 0; padding: 0 0 34px 26px; }
  .process-steps li:last-child { padding-bottom: 0; }
  .process-steps li:before { top: 4px; left: -7px; }
  .process-steps h3 { font-size: 21px; }
  .process-steps p { font-size: 16px; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .shopfront figcaption, .workshop-band-copy { padding: 0 18px; }
  .workshop-band h2 { font-size: 36px; }
  .workshop-band-copy > p { font-size: 18px; }
  .band-facts { grid-template-columns: 1fr; gap: 16px; }
  .contact-methods > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .contact-methods dt { padding-top: 0; }
  .contact-big { font-size: 26px; }
  .hours-card { padding: 26px 22px; }
  .hours-table { font-size: 16px; }
  .contact-help { grid-template-columns: 1fr; }
  .make-note { font-size: 14px; }
  /* Hub pages list many services; on phones they become a compact index of names. */
  .vehicles-page .related-service-grid, .tesla-page .related-service-grid { gap: 0; }
  .vehicles-page .related-service-grid a, .tesla-page .related-service-grid a { padding: 15px 0; }
  .vehicles-page .related-service-grid h3, .tesla-page .related-service-grid h3 { font-size: 19px; }
  .vehicles-page .related-service-grid p, .tesla-page .related-service-grid p { display: none; }
}

/* About: the owner-confirmed experience claim is highlighted in the intro */
.about-page .intro .experience-claim { color: var(--ink); font-weight: 600; }

/* Image and software credits */
.credits .intro { font-size: 21px; color: var(--muted); }
.credits a { font-weight: 600; }
.credits .licence { margin: 18px 0 0; padding: 22px 24px; background: #e8ecdf; color: var(--ink); font-size: 14px; line-height: 1.55; }
.credits .licence p + p { margin-top: 12px; }
.credits .licence p:first-child { font-weight: 600; }
