:root {
  --ink: #17191b;
  --deep: #17191b;
  --paper: #f6f5f2;
  --white: #fff;
  --accent: #d72d29;
  --red: #d72d29;
  --muted: #66676a;
  --rule: #cccac5;
  --dark-rule: rgba(255,255,255,.2);
  --shell: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.6 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #3e6ae1; outline-offset: 5px; }
.dark a:focus-visible, .dark button:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible { outline-color: #3e6ae1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
::selection { color: var(--white); background: #393c41; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.dark { color: var(--white); background: var(--deep); }
.eyebrow { display: block; margin-bottom: 24px; font-size: 11px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: none; }
.dark .eyebrow { color: #e2e3e3; }
.dark .eyebrow::before { background: var(--accent); }
.skip-link { position: fixed; z-index: 99999; top: 12px; left: 12px; padding: 12px 20px; color: var(--white); background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 50; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 100px; height: 56px; object-fit: contain; }
.site-header .brand img { filter: invert(1); }
.brand span { max-width: 130px; font-size: 10px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { padding-block: 10px; color: #393c41; font-size: 13px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: var(--accent); }
.header-contact { flex-shrink: 0; padding: 11px 0 11px 24px; border-left: 1px solid var(--rule); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-contact:hover { color: var(--accent); }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; padding: 10px; color: var(--ink); background: #f4f4f4; border: 0; border-radius: 4px; font-size: 13px; }
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; padding-block: 70px 56px; }
.hero-copy { position: relative; z-index: 1; padding-block: 14px; }
.hero .eyebrow { margin-bottom: 30px; }
.hero-title, .hero-title h1, .hero h1 { font-size: clamp(48px, 5.5vw, 80px); line-height: 1.03; font-weight: 500; letter-spacing: -.055em; }
.hero-title em, .hero-title span, .hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 490px; margin-top: 28px; color: #e2e3e3; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 53px; padding: 13px 23px; border: 1px solid transparent; font-size: 14px; line-height: 1.4; font-weight: 600; border-radius: 4px; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button-primary { color: var(--white); background: var(--ink); }
.dark .button-primary { color: var(--ink); background: var(--white); }
.button-primary:hover { color: var(--white); background: #393c41; }
.dark .button-primary:hover { color: var(--ink); background: #e2e3e3; }
.button-ghost { border-color: var(--dark-rule); }
.button-ghost:hover { border-color: var(--white); color: var(--ink); background: var(--white); }
.hero-visual { position: relative; align-self: stretch; min-height: 520px; }
.hero-visual::before { content: ''; position: absolute; z-index: 1; inset: 20px -16px -16px 20px; border: 1px solid rgba(215,45,41,.4); pointer-events: none; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,19,18,.75), transparent 45%); pointer-events: none; }
.hero-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-image-label { position: absolute; z-index: 2; inset: auto 28px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.hero-image-label::before { content: '+'; font-size: 28px; font-weight: 300; color: var(--accent); }
.hero-bottom { border-top: 1px solid var(--dark-rule); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 25px 29px; }
.fact { padding-inline: 30px; border-left: 1px solid var(--dark-rule); }
.fact:first-child { padding-left: 0; border: 0; }
.fact strong { display: block; font-size: 20px; font-weight: 500; line-height: 1.3; }
.fact span { display: block; margin-top: 6px; color: #d0d1d2; font-size: 12px; line-height: 1.5; }
.section { padding-block: 104px; }
.section + .section { border-top: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px 70px; align-items: end; margin-bottom: 52px; }
.section-heading > .eyebrow { grid-column: 1 / -1; margin-bottom: 2px; }
.section-heading h2 { max-width: 690px; }
.section-intro { max-width: 500px; color: var(--muted); line-height: 1.7; }
.services-list { border-top: 1px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 64px 1fr 190px; gap: 28px; padding-block: 33px; border-bottom: 1px solid var(--rule); align-items: start; }
.service-number { padding-top: 4px; color: #5c5e62; font-size: 12px; font-variant-numeric: tabular-nums; }
.service-content h3 { margin-bottom: 13px; font-size: clamp(24px, 2.2vw, 31px); }
.service-content p { max-width: 640px; color: var(--muted); font-size: 15px; }
.service-tag { justify-self: end; margin-top: 5px; padding: 5px 10px; border: 1px solid var(--rule); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 25px; align-items: start; }
.project-card { min-width: 0; }
.project-card figure { overflow: hidden; }
.project-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.project-card:first-child img { aspect-ratio: 1 / 1; }
.project-card figcaption { display: block; margin-top: 16px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.project-card figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.project-card a { text-decoration: none; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { padding-top: 22px; border-top: 1px solid var(--rule); }
.step-number { display: block; margin-bottom: 32px; color: #5c5e62; font-size: 12px; }
.process-step h3 { margin-bottom: 14px; font-size: 21px; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); }
.tool-card { min-width: 0; padding: 36px; }
.tool-card + .tool-card { border-left: 1px solid var(--rule); }
.tool-icon { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--white); background: var(--accent); font-size: 20px; }
.tool-card h3 { margin-bottom: 14px; font-size: 26px; }
.tool-card p { max-width: 470px; margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.tool-card a { display: inline-block; font-size: 14px; font-weight: 700; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.company-copy h2 { margin-bottom: 28px; }
.company-copy p + p { margin-top: 18px; }
.company-copy p { color: var(--muted); }
.company-copy .button { margin-top: 28px; }
.company-image img { width: 100%; max-height: 620px; object-fit: cover; }
.contact-section { padding-block: 88px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; }
.contact-copy h2 { max-width: 620px; font-size: clamp(38px, 4.3vw, 60px); }
.contact-copy p { max-width: 480px; margin-top: 26px; color: #d0d1d2; font-size: 16px; }
.contact-details { padding-top: 6px; }
.contact-details a { display: block; width: fit-content; margin-bottom: 15px; text-decoration: none; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.3; letter-spacing: -.035em; }
.contact-details a:hover { color: #fff; text-decoration: underline; }
.contact-details a[href^='mailto:'] { margin-top: 24px; font-size: 18px; letter-spacing: 0; }
.contact-details span, .contact-details p, .contact-details address { display: block; margin-block: 6px 18px; color: #d0d1d2; font-size: 14px; font-style: normal; }
.contact-details > .eyebrow { margin-block: 0 22px; font-size: 11px; }
.contact-secondary { margin-top: 27px; padding-top: 23px; border-top: 1px solid var(--dark-rule); }
.contact-secondary p { margin-block: 0 12px; }
.contact-secondary p:last-child { margin-bottom: 0; }
.contact-details .contact-secondary a { display: inline; margin: 0; color: #f4f4f4; font-size: 15px; line-height: 1.6; letter-spacing: 0; white-space: nowrap; }
.contact-details .contact-secondary a:hover { color: #fff; text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site-footer { padding-block: 38px 26px; background: #111; color: #d0d1d2; font-size: 12px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; }
.footer-top nav, .footer-top ul { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px 36px; padding-top: 22px; border-top: 1px solid var(--dark-rule); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.page-hero { padding-block: 68px 76px; border-bottom: 1px solid var(--rule); }
.page-title { max-width: 1040px; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; }
.page-hero p { max-width: 760px; margin-top: 24px; color: var(--muted); }
.page-hero.dark p { color: #e2e3e3; }
.content-layout { padding-block: 60px 88px; }
.prose { max-width: 850px; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 48px; font-size: 32px; }
.prose h3 { margin-top: 32px; font-size: 24px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose table { display: block; max-width: 100%; border-collapse: collapse; overflow-x: auto; }
.prose th, .prose td { padding: 12px; border: 1px solid var(--rule); text-align: left; }
.prose blockquote { margin-inline: 0; padding: 6px 24px; border-left: 3px solid var(--accent); }
.document-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.document-card { min-width: 0; padding: 18px; border: 1px solid var(--rule); background: #fff; }
.document-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f4f4f4; }
.document-card h3, .document-card figcaption { margin-top: 16px; font-size: 15px; line-height: 1.5; }
.document-card p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.document-card a { display: block; }
a.document-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 110px; padding: 23px; font-size: 15px; line-height: 1.5; text-decoration: none; transition: background-color .18s, border-color .18s; }
a.document-card:hover { background: #f4f4f4; border-color: #a2a3a5; }
a.document-card > span:last-child { flex-shrink: 0; font-size: 19px; line-height: 1.2; color: #5c5e62; }
.tool-shell { width: 100%; min-width: 0; }
@media (min-width: 1500px) {
  .hero-grid { gap: 86px; padding-block: 84px 68px; }
  .hero-visual { min-height: 555px; }
}
@media (max-width: 1199px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 22px; }
  .brand span { display: none; }
  .site-nav { gap: 17px; }
  .header-contact { padding-left: 18px; font-size: 12px; }
  .hero-grid { gap: 40px; }
  .hero-visual { min-height: 480px; }
  .hero-title, .hero-title h1, .hero h1 { font-size: clamp(46px, 5.7vw, 68px); }
  .service-row { grid-template-columns: 45px 1fr 145px; }
  .company-grid { gap: 42px; }
}
@media (max-width: 959px) {
  .header-inner { flex-wrap: wrap; min-height: 80px; gap: 0 20px; }
  .brand img { width: 98px; height: 55px; }
  .header-contact { order: 3; margin-left: auto; border: 0; padding-left: 0; }
  .menu-toggle { order: 4; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
  .site-nav { order: 5; flex-basis: 100%; flex-wrap: wrap; margin: 0; padding: 14px 0 22px; border-top: 1px solid var(--dark-rule); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .hero-grid { gap: 30px; padding-block: 48px; }
  .hero-title, .hero-title h1, .hero h1 { font-size: 48px; }
  .hero-description { font-size: 16px; }
  .hero-visual { min-height: 470px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 17px; font-size: 13px; }
  .section { padding-block: 76px; }
  .section-heading { gap: 18px 32px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .document-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { gap: 40px; }
  .footer-top { align-items: flex-start; }
}
@media (max-width: 699px) {
  html { scroll-padding-top: 24px; }
  body { font-size: 16px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 0 14px; }
  .brand img { width: 92px; height: 52px; }
  .header-contact { font-size: 11px; }
  .menu-toggle { min-width: 44px; min-height: 44px; padding: 7px; font-size: 12px; }
  .site-nav { gap: 8px 22px; }
  .site-nav a { font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 38px 40px; }
  .hero-copy { padding-block: 0; }
  .hero .eyebrow { margin-bottom: 22px; font-size: 10px; letter-spacing: .1em; }
  .hero-title, .hero-title h1, .hero h1 { max-width: 540px; font-size: clamp(38px, 9.8vw, 58px); line-height: 1.06; }
  .hero-description { max-width: 480px; margin-top: 23px; font-size: 16px; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-actions .button { min-height: 50px; padding-inline: 16px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.3; margin-right: 10px; }
  .hero-visual::before { inset: 12px -10px -10px 12px; }
  .hero-image-label { inset: auto 18px 18px; font-size: 10px; }
  .hero-facts { grid-template-columns: 1fr; padding-block: 6px; }
  .fact, .fact:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 18px 0; border: 0; }
  .fact + .fact { border-top: 1px solid var(--dark-rule); }
  .fact strong { font-size: 17px; }
  .fact span { margin-top: 0; font-size: 11px; }
  .section { padding-block: 56px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .section-heading > .eyebrow { margin-bottom: 0; }
  .eyebrow { margin-bottom: 20px; }
  .section-intro { font-size: 15px; }
  .service-row { grid-template-columns: 28px 1fr; gap: 14px; padding-block: 25px; }
  .service-content h3 { font-size: 25px; }
  .service-content p { font-size: 14px; }
  .service-tag { grid-column: 2; justify-self: start; margin-top: 2px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-card img, .project-card:first-child img { aspect-ratio: 4 / 3; object-position: center 56%; }
  .project-card figcaption { margin-top: 12px; }
  .process-grid { gap: 28px 22px; }
  .step-number { margin-bottom: 22px; }
  .process-step h3 { font-size: 19px; overflow-wrap: anywhere; }
  .process-step p { font-size: 13px; }
  .tools-grid, .company-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 26px; }
  .tool-card + .tool-card { border-left: 0; border-top: 1px solid var(--rule); }
  .tool-card h3 { font-size: 24px; }
  .company-grid { gap: 32px; }
  .company-copy h2 { margin-bottom: 24px; }
  .company-image img { max-height: 440px; }
  .contact-section { padding-block: 58px; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy h2 { font-size: 40px; }
  .contact-copy p { margin-top: 20px; font-size: 15px; }
  .contact-details a { font-size: 29px; }
  .contact-details a[href^='mailto:'] { font-size: 17px; overflow-wrap: anywhere; }
  .site-footer { padding-block: 28px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 20px; }
  .footer-top nav, .footer-top ul { gap: 12px 20px; }
  .page-hero { padding-block: 46px 48px; }
  .page-title { font-size: 39px; overflow-wrap: anywhere; }
  .content-layout { padding-block: 38px 58px; }
  .prose h2 { font-size: 28px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .document-card { padding: 12px; }
  a.document-card { min-height: 102px; padding: 16px; gap: 10px; font-size: 13px; }
  .document-card h3, .document-card figcaption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Shared identity from the approved engineering concept. */
html { scroll-padding-top:24px; }
body { font-size:16px; }
h1,h2,h3 { font-weight:500; }
h1,h2 { letter-spacing:-.055em; }
.shell { width:min(var(--shell),calc(100% - 112px)); }
.eyebrow { font:11px/1.5 'Courier New',monospace; letter-spacing:.09em; font-weight:400; }
.eyebrow::before { display:none; }
.button-primary { color:#fff; background:var(--red); }
.button-primary:hover { color:#fff; background:#b62220; }
.site-header { color:var(--ink); background:var(--paper); border:0; }
.header-inner { min-height:104px; gap:34px; border-bottom:1px solid var(--ink); }
.brand img { width:100px; height:auto; filter:invert(1); }
.site-nav { gap:26px; }
.site-nav a { color:var(--ink); font-size:13px; }
.site-nav a:hover,.site-nav a.is-active { color:var(--red); }
.header-contact { padding-left:26px; border-color:var(--rule); font-size:13px; font-weight:400; }
.header-contact span { margin-left:17px; color:var(--red); }
.menu-toggle { color:var(--ink); border-color:var(--rule); }
.site-header a:focus-visible,.site-header button:focus-visible { outline-color:var(--red); }
.site-footer { padding-block:34px 27px; color:var(--muted); background:var(--paper); }
.site-footer > .shell { border-top:1px solid var(--ink); padding-top:30px; }
.footer-top { gap:35px; }
.footer-top .brand img { width:86px; }
.footer-top p { font-size:12px; }
.footer-top nav { margin-left:auto; display:grid; grid-template-columns:1fr 1fr; gap:10px 32px; font-size:12px; }
.footer-bottom { border-color:var(--rule); flex-wrap:wrap; font-size:11px; }
.footer-bottom nav { gap:12px 22px; }
.site-footer a:hover { color:var(--red); }
.site-footer .cookie-preferences { padding:0; border:0; color:inherit; background:transparent; font:inherit; text-align:left; }
.site-footer .cookie-preferences:hover { color:var(--red); text-decoration:underline; }
.page-hero { text-align:left; }
.page-title { font-weight:500; }
.company-grid { align-items:start; }
.company-image img { filter:brightness(1.22) contrast(.94) saturate(.85); }
.company-archive { display:grid; grid-template-columns:1fr 1fr; gap:40px; max-width:1000px; }
.company-archive figure { margin:0; }
.company-archive img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:contain; }
.company-archive img[src*="substation-"] { filter:brightness(1.08) contrast(1.02) saturate(.85); }
.company-archive img[src*="cabinet-"] { filter:brightness(1.35) contrast(.96) saturate(.9); }
.company-archive figcaption { margin-top:14px; padding-top:12px; border-top:1px solid var(--rule); font-size:12px; }
@media(max-width:699px){.company-archive{grid-template-columns:1fr;gap:32px;}}
.document-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; }
a.document-card { min-height:76px; padding:23px 0; border:0; border-top:1px solid var(--rule); background:transparent; }
a.document-card:hover { background:transparent; color:var(--red); border-color:var(--ink); }
a.document-card > span:last-child { color:var(--red); }
#cbmka-banner,#cbmka-modal { --cbmka-primary:#181818; --cbmka-accent:#bd2925; font-family:inherit; }
#cbmka-banner { border-radius:0; border-top:2px solid var(--red); background:var(--paper); }
#cbmka-modal .cbmka__dialog { border-radius:0; background:var(--paper); border-top:2px solid var(--red); }
#cbmka-modal .cbmka__cat { border-radius:0; background:transparent; border-color:var(--rule); }
#cbmka-modal .cbmka__dialog h2 { font-weight:500; text-transform:none; }
#cbmka-banner .cbmka__btn,#cbmka-modal .cbmka__btn { border-radius:0; text-transform:none; font-weight:500; }
#cbmka-banner .cbmka__btn--ghost,#cbmka-modal .cbmka__btn--ghost { background:transparent; }
#cbmka-modal .cbmka-sw input:focus-visible + .cbmka-sw__slider { outline:2px solid var(--red); outline-offset:3px; }
.tesla-listing { min-height:60vh; padding-block:70px; }
.tesla-search { max-width:720px; margin-block:32px; }
.tesla-search label { display:block; margin-bottom:10px; font-size:13px; }
.tesla-search > div { display:flex; border-bottom:1px solid var(--ink); }
.tesla-search input { min-width:0; flex:1; padding:16px 0; border:0; background:transparent; color:var(--ink); font:inherit; }
.tesla-search button { border:0; padding:12px 20px; background:var(--ink); color:var(--paper); cursor:pointer; font:inherit; }
.tesla-results article { padding-block:20px; border-bottom:1px solid var(--rule); }
.tesla-results h2 { margin:0; font-size:clamp(20px,3vw,32px); font-weight:500; }
.tesla-results h2 a { display:flex; justify-content:space-between; gap:20px; }
.tesla-route-links { display:flex; flex-wrap:wrap; gap:20px 32px; margin-block:40px 0; }
.tesla-route-links a { border-bottom:1px solid currentColor; }
.contact-section { background:var(--paper); color:var(--ink); border-top:1px solid var(--ink); }
.contact-section .eyebrow { color:var(--muted); }
.contact-copy p,.contact-details span,.contact-details p,.contact-details address { color:var(--muted); }
.contact-secondary { border-color:var(--rule); }
.contact-details .contact-secondary a { color:var(--ink); }
.contact-details a:hover,.contact-details .contact-secondary a:hover { color:var(--red); }
@media(max-width:1100px){
  .shell { width:calc(100% - 64px); }
  .header-inner { gap:24px; }
  .site-nav { gap:18px; }
  .site-nav a { font-size:12px; }
  .header-contact { padding-left:18px; font-size:12px; }
}
@media(max-width:959px){
  .header-inner { min-height:90px; }
  .site-nav { border-color:var(--rule); }
  .header-contact { padding-left:0; }
  .brand img { width:94px; }
}
@media(max-width:699px){
  .shell { width:calc(100% - 40px); }
  .header-inner { min-height:82px; gap:0 15px; }
  .brand img { width:86px; }
  .header-contact { font-size:11px; }
  .header-contact span { margin-left:9px; }
  .site-nav { gap:6px 24px; }
  .site-nav a { font-size:14px; padding-block:12px; }
  .footer-top { align-items:flex-start; flex-wrap:wrap; flex-direction:row; gap:24px; }
  .footer-top p { font-size:11px; max-width:190px; }
  .footer-top nav { flex-basis:100%; margin:0; gap:12px 20px; }
  .footer-bottom nav { gap:12px 20px; }
  .document-grid { grid-template-columns:1fr; }
  a.document-card { min-height:66px; padding-block:20px; font-size:14px; }
}
