:root {
  --navy: #0e2235;
  --navy-2: #162f46;
  --ink: #142b40;
  --body: #4a5c6b;
  --muted: #849bad;
  --line: #d9e0e4;
  --paper: #fff;
  --soft: #f3f6f7;
  --orange: #ed793e;
  --orange-ink: #a64418;
  --radius: 5px;
  --max: 1280px;
  --pad: clamp(20px, 5.1vw, 74px);
  --ui: "Inter", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box }
html { scroll-padding-top: 94px }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--ui); -webkit-font-smoothing: antialiased }
h1, h2, h3, p, figure, ul, ol { margin: 0 }
h1, h2, h3 { font-weight: 750; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance }
p, address { color: var(--body) }
address { font-style: normal }
a { color: inherit; text-underline-offset: .22em }
button, input, select, textarea { font: inherit }
img { display: block; max-width: 100%; height: auto }
:focus-visible { outline: 3px solid #4f9aff; outline-offset: 4px }
[hidden] { display: none !important }
.wrap { width: min(calc(100% - var(--pad) * 2), var(--max)); margin-inline: auto }
.narrow { max-width: 790px; margin-inline: auto }
.skip-link { position: fixed; z-index: 100; inset: 6px auto auto 8px; transform: translateY(-130%); background: white; color: var(--navy); padding: 9px 16px }
.skip-link:focus { transform: translateY(0) }
.eyebrow { color: var(--orange-ink); font-size: .875rem; line-height: 1.5; font-weight: 750; letter-spacing: .11em }
.lede { font-size: clamp(1.06rem, 1.48vw, 1.25rem); line-height: 1.65; max-width: 48ch }
.header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line) }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 34px }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex: none }
.brand-name { font-size: 2rem; font-weight: 850; line-height: 1; letter-spacing: -.095em; color: var(--navy) }
.brand-name span { color: #bf4b19 }
.brand-line { border-left: 1px solid var(--line); padding-left: 12px; color: var(--body); font-weight: 720; line-height: 1.25; letter-spacing: .09em; font-size: .69rem }
.header nav { display: flex; align-items: center; gap: clamp(16px, 2.35vw, 36px) }
.header nav a { font-weight: 650; font-size: .93rem; color: #3b5062; text-decoration: none; white-space: nowrap; padding: 23px 0 20px; border-bottom: 3px solid transparent }
.header nav a:hover, .header nav a[aria-current="page"] { color: var(--navy); border-color: var(--orange) }
.menu-toggle { display: none }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; border: 1px solid transparent; border-radius: 4px; font-size: .94rem; font-weight: 750; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease }
.button.primary { background: var(--orange); color: #122336; border-color: var(--orange) }
.button.primary:hover { background: #ffa878; border-color: #ffa878 }
.button.outline { color: var(--ink); background: transparent; border-color: #8ea0ae }
.button.outline:hover { background: #e9f0f4; border-color: #4c657a }
.button.header-cta { color: #fff; background: var(--navy); padding-inline: 16px; min-height: 42px }
.button.header-cta:hover { background: #244258 }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.hero, .band, .footer { background: var(--navy); color: #fff }
.hero { border-top: 3px solid #152d43 }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: clamp(30px, 4.6vw, 68px); align-items: center; padding-block: clamp(58px, 7vw, 110px) }
.hero-copy { padding-bottom: 6px }
.hero .eyebrow, .band .eyebrow { color: #ffa779 }
.hero h1 { font-size: clamp(2.7rem, 5.15vw, 5.15rem); margin-block: 20px 25px; line-height: 1.02; letter-spacing: -.072em; text-wrap: initial }
.hero h1 em { color: #ffa779; font-style: normal }
.hero .lede, .band p { color: #cfdae4 }
.hero .actions { margin-top: 32px }
.hero .outline { color: #fff; border-color: #7c93a6 }
.hero .outline:hover { background: #28445d; border-color: #adbfcc }
.hero-figure { border: 1px solid #3c5267; border-radius: var(--radius); background: #112638; overflow: hidden }
.hero-image { display: block; }
.hero-image img { width: 100%; height: auto; }
.hero-figure figcaption { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 13px 17px; min-height: 53px; color: #d7e1e9; font-size: .9rem }
.hero-figure figcaption span { color: #b5c8d7; font-size: .76rem; letter-spacing: .12em }
.collaborators { background: var(--soft); border-bottom: 1px solid var(--line); }
.collaborator-inner { min-height: 126px; padding-block: 26px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center }
.collaborators .eyebrow { color: #354f65 }
.collaborators p + p { margin-top: 3px }
.collaborators ul { list-style: none; padding: 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; width: 100%; }
.collaborators li { font-size: clamp(1.65rem, 2.75vw, 2.7rem); font-weight: 800; letter-spacing: -.08em; color: var(--navy) }
.section { padding-block: clamp(55px, 7.1vw, 105px); }
.section.alt { background: var(--soft) }
.section-intro { margin-bottom: 30px }
.section-intro h2, .band h2 { margin: 11px 0 12px; font-size: clamp(2.2rem, 3.5vw, 3.6rem); letter-spacing: -.06em; text-wrap: initial }
.section-intro > p:last-child:not(.eyebrow) { max-width: 58ch; font-size: 1.08rem }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.service-tile { padding: 26px clamp(12px, 2.3vw, 30px) 26px 0; display: flex; flex-direction: column; align-items: flex-start }
.service-tile + .service-tile { border-left: 1px solid var(--line); padding-left: clamp(12px, 2.3vw, 30px) }
.service-tile h3, .project-body h3 { font-size: clamp(1.38rem, 1.94vw, 1.7rem); margin-bottom: 12px; text-wrap: initial }
.service-tile .tile-output { margin-top: 15px; margin-bottom: 23px; color: var(--ink) }
.service-tile a { margin-top: auto }
.text-link { color: #235375; font-weight: 720; text-decoration-thickness: .07em }
.text-link:hover { color: #9b3810; text-decoration-thickness: .14em }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.featured-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-index-link { margin-top: 26px; }
.project-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden }
.project-visual { display: block; aspect-ratio: 1.85; overflow: hidden; background: #eef1f3; }
.project-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease }
.project-visual:hover img { transform: scale(1.025) }
.electrical-visual { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px clamp(24px, 4.4vw, 61px); color: white; background: var(--navy-2); text-decoration: none; border-left: 7px solid var(--orange) }
.electrical-visual:hover { background: #21425b }
.electrical-visual span, .electrical-visual small { font-size: .88rem; color: #bcd0df }
.electrical-visual strong { font-size: clamp(1.85rem, 3.4vw, 3.7rem); font-weight: 750; line-height: 1; letter-spacing: -.06em; margin-block: 8px 12px }
.project-body { padding: 25px clamp(20px, 2.6vw, 34px) 28px; flex: 1; display: flex; flex-direction: column; align-items: flex-start }
.project-body .eyebrow { margin-bottom: 7px }
.project-body p:not(.eyebrow) { flex: 1; margin-bottom: 16px }
.workflow-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(25px, 6vw, 85px); align-items: start }
.workflow ol { padding-left: 30px; margin-top: 3px }
.workflow li { padding: 0 0 19px 9px; margin: 0 0 19px; border-bottom: 1px solid var(--line) }
.workflow li::marker { color: var(--orange-ink); font-weight: 800 }
.workflow li h3 { font-size: 1.32rem; margin-bottom: 8px }
.workflow li:last-child { margin-bottom: 0 }
.band { border-bottom: 1px solid #40546a; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 51px; }
.band h2 { margin-block: 5px 10px; }
.band .button { flex: none }
.footer { padding-block: 48px 20px }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 25px; padding-bottom: 35px }
.footer .brand-name { color: white }
.footer .brand-name span { color: var(--orange) }
.footer .brand-line, .footer p, .footer-bottom { color: #bccbd7 }
.footer .brand-line { border-color: #688195 }
.footer .brand { margin-bottom: 14px }
.footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px }
.footer a { color: #ecf3f9 }
.footer nav a { text-decoration: none }
.footer nav a:hover { text-decoration: underline }
.footer-bottom { display: flex; gap: 17px; justify-content: space-between; padding-top: 16px; border-top: 1px solid #40546a; font-size: .87rem }
.mast { background: var(--navy); color: #fff; padding: clamp(48px, 7.6vw, 99px) 0 clamp(48px, 7vw, 90px) }
.mast .eyebrow { color: #ffa779 }
.mast h1 { max-width: 24ch; font-size: clamp(2.75rem, 6vw, 5.15rem); margin-block: 14px 20px; line-height: 1.02; letter-spacing: -.065em; text-wrap: initial }
.mast .lede { color: #cfdae4; max-width: 62ch }
.detail-row { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(24px, 4vw, 54px); border-top: 1px solid var(--line); padding-block: 29px }
.detail-row:first-child { border-top: 3px solid #d7652c }
.detail-row h2, .case-details h2, .case-gallery-title, .contact-form h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); margin-bottom: 10px; text-wrap: initial }
.plain-list { padding-left: 20px; color: var(--ink) }
.plain-list li { margin-bottom: 8px }
.plain-list li::marker { color: var(--orange-ink) }
.case-back { margin-bottom: 26px; }
.case-details { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(22px, 4vw, 56px); }
.case-details > div { border-top: 2px solid #d7652c; padding-top: 18px; }
.case-details p { font-size: 1.08rem; }
.case-gallery-title { margin-top: 42px; margin-bottom: 16px; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.case-gallery figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden }
.case-gallery figure > div { aspect-ratio: 1.5; background: #eef1f3; overflow: hidden; }
.case-gallery img { width: 100%; height: 100%; object-fit: contain; }
.case-gallery figcaption { padding: 12px 16px; font-weight: 700; }
.electrical-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-register, .team-roles { margin: 12px 0; }
.project-register > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.project-register dt { font-weight: 750; }
.project-register dd { margin: 2px 0 0; color: var(--body); }
.team-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.team-roles > div { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 8px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 10px 0; }
.team-roles dt { grid-column: 2; grid-row: 1; font-weight: 650; }
.team-roles dd { grid-column: 1; grid-row: 1; margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--orange-ink); }
.branch-locations { margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 76px); align-items: start }
.contact-aside .contact-mail { display: inline-block; margin-block: 8px 34px; font-size: clamp(1.25rem, 2.25vw, 1.85rem); font-weight: 750; overflow-wrap: anywhere }
.contact-aside h2, .prose h2 { font-size: 1.45rem; margin-bottom: 10px }
.prose p + p { margin-top: 12px }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(17px, 3vw, 37px); background: var(--soft) }
.contact-form h2 { margin-bottom: 18px }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px }
.contact-form label { display: block; color: var(--ink); font-weight: 700; font-size: .93rem; margin-bottom: 12px }
.contact-form label span { color: #ad3e13 }
.contact-form label small { color: var(--body); font-size: .8rem; font-weight: 500 }
.contact-form :is(input,select,textarea) { margin-top: 4px; display: block; width: 100%; min-height: 46px; padding: 9px 11px; background: white; color: var(--ink); border: 1px solid #8799a8; border-radius: var(--radius); font-weight: 450; }
.contact-form textarea { resize: vertical }
.form-help { font-size: .92rem }
.form-actions { margin-top: 16px }
.inquiry-draft { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line) }
.inquiry-draft h3 { margin-bottom: 8px; font-size: 1.25rem }
.draft-recipient { margin: 14px 0 12px; overflow-wrap: anywhere }
.draft-recipient strong { margin-right: 8px; color: var(--ink) }
.form-status:not(:empty) { margin-top: 12px; color: var(--ink); font-weight: 650 }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr) }
  .hero-break { display: none }
  .header-inner { gap: 22px }
}
@media (max-width: 800px) {
  .header-inner { flex-flow: row wrap; min-height: 61px; padding-block: 13px; gap: 0 16px; position: relative }
  .header-cta { display: none }
  .menu-toggle { display: inline-flex; min-height: 39px; align-items: center; padding: 4px 13px; border: 1px solid #8799a8; border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 700 }
  .header nav { flex-basis: 100%; display: grid; padding-top: 9px; gap: 0; }
  .js-enabled .header nav { display: none }
  .js-enabled .header nav[data-open] { display: grid; }
  .header nav a { padding: 8px 0; border-bottom-width: 1px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 34px; padding-block: 48px }
  .hero h1 { max-width: 14ch; font-size: clamp(2.65rem, 7.9vw, 4.6rem) }
  .hero-figure { max-width: 680px; }
  .section-intro { margin-bottom: 24px }
  .footer-main { grid-template-columns: 1fr 1fr }
  .contact-grid { grid-template-columns: minmax(0,1fr) }
  .contact-aside .contact-mail { margin-bottom: 14px }
  .featured-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .collaborator-inner { grid-template-columns: 1fr; min-height: auto; gap: 5px }
  .collaborators ul { justify-content: flex-start; gap: 30px }
  .service-grid, .project-grid, .workflow-grid, .detail-row, .case-details, .case-gallery, .team-roles { grid-template-columns: minmax(0,1fr) }
  .service-tile { padding: 20px 0 }
  .service-tile + .service-tile { border-left: 0; border-top: 1px solid var(--line); padding-left: 0 }
  .service-tile .tile-output { margin-block: 10px 14px }
  .project-visual { aspect-ratio: 1.85 }
  .workflow-grid { gap: 12px }
  .workflow .section-intro { margin-bottom: 0 }
  .band-inner { flex-direction: column; align-items: flex-start; gap: 17px }
  .footer-main, .field-grid { grid-template-columns: minmax(0,1fr) }
  .footer-bottom { flex-wrap: wrap; }
  .contact-form .actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important }
}

.contact-form button:disabled { cursor: wait; opacity: .75 }
.form-status[data-state="success"] { color: #0c603a }
.form-status[data-state="error"] { color: #9c3414 }
