@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/ibm-plex-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14243a;
  --ink-deep: #101e30;
  --muted: #4e5c6c;
  --line: #d8dfe5;
  --soft: #f0f4f6;
  --paper: #ffffff;
  --amber: #ffb943;
  --amber-hover: #ffc967;
  --page: min(100% - 5rem, 76rem);
  --system-font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body-font: "IBM Plex Sans", var(--system-font);
  --heading-font: var(--body-font);
  --heading-weight: 700;
  font-family: var(--body-font);
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid #175ca1; outline-offset: 4px; }
.wrap { width: var(--page); margin-inline: auto; }
.section { padding-block: 5.25rem; }
.hero h1, .section h2 { font-family: var(--heading-font); font-weight: var(--heading-weight); }
.section h2 { font-size: clamp(2.125rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; }
.skip { position: fixed; z-index: 5; left: 1rem; top: 1rem; transform: translateY(-200%); background: var(--paper); padding: .75rem 1rem; }
.skip:focus { transform: none; }

.site-header { background: var(--paper); color: var(--ink-deep); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { background: var(--amber); color: var(--ink-deep); display: inline-block; font-family: var(--system-font); font-size: 1.65rem; line-height: 1; font-weight: 900; letter-spacing: -.115em; padding: .47rem .63rem .5rem .48rem; }
.brand-caption { font-size: .75rem; line-height: 1.25; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.25vw, 2.2rem); }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 650; }
.main-nav a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: .28em; }

.button { min-height: 3.1rem; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.04rem; border: 1px solid transparent; border-radius: 4px; text-decoration: none; text-align: center; font-size: .94rem; line-height: 1.3; font-weight: 750; transition: background-color .15s, border-color .15s; }
.button-header { min-height: 2.55rem; border-color: var(--ink); }
.button-header:hover, .button-secondary:hover { background: var(--soft); }
.button-primary { background: var(--amber); color: var(--ink-deep); }
.button-primary:hover { background: var(--amber-hover); }
.button-outline { color: #fff; border-color: #8c9bad; }
.button-outline:hover { background: #2d3e54; border-color: #c7d1dc; }
.button-secondary { background: var(--paper); color: var(--ink); border-color: #a7b4c1; }
.button-text { color: var(--ink); background: transparent; }
.button-text:hover { background: var(--soft); }

.hero { position: relative; isolation: isolate; background: var(--ink-deep); color: var(--paper); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 56.5fr) minmax(0, 43.5fr); min-height: clamp(32rem, 45vw, 39rem); position: relative; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 4rem clamp(1rem, 3vw, 3rem) 4rem 0; position: relative; z-index: 1; }
.eyebrow { font-size: .875rem; font-weight: 700; }
.hero-region { color: #e0e7ee; display: flex; align-items: center; gap: .65rem; margin-bottom: 1.45rem; }
.region-mark { flex: 0 0 .68rem; height: .68rem; background: var(--amber); transform: skewX(-13deg); }
.hero h1 { font-size: clamp(2.9rem, 4.65vw, 4.4rem); line-height: 1.03; letter-spacing: -.032em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.hero-actions .button { padding-inline: 1.15rem; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.hero-photo { position: relative; background: #384c62; min-width: 0; }
.hero-photo::before { content: ""; width: .4rem; height: 4.5rem; background: var(--amber); position: absolute; z-index: 1; left: 0; top: 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%; }
.hero-photo figcaption { position: absolute; bottom: 1rem; right: 1rem; color: #fff; background: #101e30e8; padding: .28rem .58rem; font-size: .75rem; }

.services-intro { margin-bottom: 2rem; }
.services-intro > p { color: var(--muted); margin-top: .8rem; max-width: 47rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.service { background: var(--paper); padding: 1.24rem; border: 1px solid var(--line); border-radius: 6px; min-width: 0; min-height: 13.3rem; display: flex; flex-direction: column; align-items: start; transition: background-color .18s, border-color .18s; }
.service:hover { border-color: #9cabb8; background: #f8fafb; }
.service h3 { font-size: 1.19rem; line-height: 1.25; letter-spacing: -.025em; }
.service p { color: var(--muted); margin: .55rem 0 1rem; font-size: .95rem; }
.service-types { display: grid; gap: .3rem; margin: .7rem 0 1rem; padding-inline-start: 1.1rem; color: var(--muted); font-size: .925rem; }
.service-types li::marker { color: #95651c; }
.service-link { color: var(--ink); font-size: .875rem; font-weight: 750; text-decoration: none; margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.1rem; }
.service-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.service-link-icon { font-size: 1.05rem; }
.service-link[data-added] { padding-inline: .65rem; border-radius: 4px; background: #e6f2e9; color: #1f593d; }
.service-help { background: #ffedcf; border-color: #f3d698; min-height: 0; margin-top: .85rem; }
.service-help:hover { background: #ffedcf; border-color: #e4bc66; }
.service-help .service-link { text-decoration: underline; text-underline-offset: .25em; }
.service-help p { color: #3b4451; max-width: 54rem; }
.service-mark { width: 2.1rem; height: 2.1rem; position: relative; display: block; margin-bottom: .9rem; color: #273b54; background: #f9d181; border-radius: 3px; }
.service-mark::before, .service-mark::after { position: absolute; }
.mark-paint::before { content: ""; inset: .51rem .4rem .98rem; border: 2px solid currentColor; border-radius: 2px; }
.mark-paint::after { content: ""; width: .6rem; height: .49rem; top: 1.14rem; left: .78rem; border: solid currentColor; border-width: 2px 2px 0 0; }
.mark-floor::before { content: ""; inset: .64rem .44rem; border-block: 2px solid currentColor; transform: skewY(-12deg); }
.mark-floor::after { content: ""; inset: .98rem .44rem; background: currentColor; transform: skewY(-12deg); }
.mark-doors::before { content: ""; inset: .38rem .62rem .42rem; border: 2px solid currentColor; }
.mark-doors::after { content: ""; top: .99rem; right: .84rem; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.mark-roof::before { content: ""; inset: .55rem .54rem .55rem; transform: rotate(45deg); border: solid currentColor; border-width: 2px 0 0 2px; }
.mark-roof::after { content: ""; inset: 1.05rem .67rem .51rem; border: solid currentColor; border-width: 0 2px 2px; }
.mark-ceiling::before { content: ""; inset: .47rem; border: 2px solid currentColor; }
.mark-ceiling::after { content: ""; inset: .47rem .98rem; background: currentColor; }
.mark-water::before { content: ""; inset: .47rem .63rem .51rem; border: 2px solid currentColor; border-radius: 0 68% 68% 68%; transform: rotate(45deg); }
.mark-drain::before { content: ""; width: .87rem; height: .98rem; top: .48rem; left: .58rem; border: solid currentColor; border-width: 0 0 2px 2px; border-radius: 0 0 0 5px; }
.mark-drain::after { content: ""; width: .95rem; height: .49rem; top: .71rem; left: .78rem; border: solid currentColor; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.mark-heat::before { content: ""; inset: .58rem .52rem; border: 2px solid currentColor; border-radius: 2px; }
.mark-heat::after { content: ""; inset: .58rem .98rem; background: currentColor; }
.mark-electric::before { content: ""; inset: .38rem .65rem; background: currentColor; clip-path: polygon(54% 0, 3% 53%, 45% 53%, 34% 100%, 97% 40%, 56% 40%, 69% 0); }
.mark-low-voltage::before { content: ""; inset: .55rem .48rem .67rem; border: 2px solid currentColor; border-radius: 2px; }
.mark-low-voltage::after { content: ""; inset: .86rem .8rem .42rem; border: solid currentColor; border-width: 0 2px 2px; }

.institution-benefits { margin-top: clamp(2rem, 4.5vw, 3.6rem); }
.institution-benefits > h3 { margin-bottom: 1.2rem; font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.work-steps { max-width: 61rem; margin: 0; padding-inline-start: 1.75rem; }
.work-steps > li { border-top: 1px solid var(--line); padding: .95rem 0 1rem .35rem; }
.work-steps > li::marker { color: #805313; font-weight: 750; }
.work-steps h4 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.work-steps p { color: var(--muted); margin-top: .4rem; }
.work-notes { display: grid; gap: .6rem; margin: .85rem 0 0; padding: .8rem 1rem .8rem 2rem; border-inline-start: 3px solid #a97327; background: #fff5e5; color: var(--ink); }
.work-notes li::marker { color: #805313; }

.institutions-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 7.1vw, 6.25rem); align-items: start; }
.institutions-copy > p { color: var(--muted); margin-top: 1.25rem; max-width: 28rem; }
.institutions-copy strong { color: var(--ink); white-space: nowrap; }
.institution-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .7rem; margin: 0; padding: 0; list-style: none; }
.institution-list a { display: flex; align-items: center; min-height: 3rem; height: 100%; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; line-height: 1.35; text-underline-offset: .23em; }
.institution-list a:hover { background: var(--soft); border-color: #9cabb8; }

.supply { background: #ffedcf; padding-block: clamp(2.5rem, 5.8vw, 4.5rem); }
.supply-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr); align-items: center; gap: clamp(1.6rem, 7vw, 6.25rem); }
.supply-inner h2 { max-width: 35rem; }
.supply-inner h2 + p { margin-top: .85rem; max-width: 34rem; }
.supply-request { border-inline-start: 1px solid #ae8246; padding-inline-start: clamp(1rem, 3.5vw, 2.5rem); }
.supply-request .button { margin-top: 1rem; }

.reviews { background: var(--soft); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.reviews-inner > p { color: var(--muted); margin-top: .75rem; }

.request { background: var(--ink); color: var(--paper); }
.request-layout { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.45fr); gap: clamp(1.7rem, 5.2vw, 4.5rem); align-items: start; }
.request-intro { container-type: inline-size; }
.request-intro h2 { max-width: 24rem; font-size: clamp(1.65rem, 10.5cqi, 3.25rem); }
.request-intro > p { margin-top: 1.1rem; max-width: 24rem; color: #d5e0ea; }
.request-guide { border-top: 1px solid #61758c; margin-top: 2rem; padding-top: 1.1rem; max-width: 24rem; }
.request-guide h3 { font-size: 1rem; }
.request-guide ul { margin: .7rem 0 0; padding-left: 1.3rem; color: #d5e0ea; }
.request-guide li { padding-left: .1rem; margin-bottom: .4rem; }
.request-guide li::marker { color: var(--amber); }
.request-guide p { color: #d5e0ea; margin-top: .85rem; }
.request-card { min-width: 0; color: var(--ink); background: white; border-radius: 8px; padding: clamp(1.1rem, 3.5vw, 2.25rem); }
.steps { margin: 0 0 1.3rem; padding: 0 0 .85rem; border-bottom: 1px solid var(--line); list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.35rem; }
.steps li { font-size: .9rem; display: flex; align-items: center; gap: .42rem; color: var(--muted); }
.steps li[aria-current="step"] { font-weight: 750; color: var(--ink); }
.steps li span { width: 1.45rem; height: 1.45rem; display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: .8rem; }
.steps li[aria-current="step"] span { background: var(--amber); text-align: center; }
.form-title { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.14; letter-spacing: -.035em; margin-bottom: 1.15rem; }
.form-title:focus { outline: none; }
.work-field { padding: 0; margin: 0 0 1.15rem; border: 0; min-inline-size: 0; }
.work-field legend { padding: 0; font-weight: 700; }
.required { color: #9d3a15; }
.field-help { font-size: .875rem; color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .55rem; }
.chip { min-height: 2.6rem; display: inline-flex; gap: .42rem; align-items: center; border: 1px solid #b5c2ce; background: var(--paper); border-radius: 4px; padding: .42rem .62rem; cursor: pointer; font-size: .875rem; }
.chip:hover { background: var(--soft); }
.chip:has(input:checked) { background: #fff0d1; border-color: #ab741b; }
.chip:focus-within:has(input:focus-visible) { outline: 3px solid #175ca1; outline-offset: 2px; }
.chip input { width: .95rem; height: .95rem; margin: 0; accent-color: #1e3e62; }
.chip input:focus-visible { outline: none; }
.field-error { color: #9a251a; font-size: .875rem; margin-top: .5rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .8rem; }
.field { min-width: 0; display: grid; align-content: start; gap: .27rem; font-size: .9375rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 2.85rem; border: 1px solid #a7b4c1; border-radius: 4px; padding: .58rem .65rem; color: var(--ink); background: var(--paper); font-size: 1rem; font-weight: 400; line-height: 1.4; }
.field :is(input, textarea)::placeholder { color: #586777; opacity: 1; }
.field select { appearance: none; padding-right: 1.75rem; background-image: linear-gradient(45deg, transparent 50%, #374b62 50%), linear-gradient(135deg, #374b62 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.attachments { margin-top: 1rem; }
.field input[type="file"] { padding: .4rem; font-size: .875rem; }
.field input[type="file"]::file-selector-button { padding: .4rem .6rem; margin-right: .5rem; border: 1px solid #a7b4c1; border-radius: 3px; color: var(--ink); background: var(--soft); font: inherit; font-weight: 650; cursor: pointer; }
.attachment-list { display: grid; gap: .35rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.attachment-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; overflow-wrap: anywhere; }
.attachment-action { min-height: 2rem; padding: .2rem .15rem; background: transparent; color: var(--ink); border: 0; font-size: .9rem; text-align: left; text-decoration: underline; text-underline-offset: .23em; overflow-wrap: anywhere; }
.attachment-status { margin-top: .3rem; }
.attachment-status:empty { margin: 0; }
.contact-fields { min-inline-size: 0; margin: 1.2rem 0 0; padding: 0; border: 0; }
.contact-fields legend { width: 100%; padding: .65rem 0 .55rem; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 750; }
.review-files { margin: 0; padding-inline-start: 1rem; }
.form-actions, .review-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.1rem; }
.review-list { margin: 0; border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.35fr); gap: .65rem; padding: .65rem .15rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.review-row dt { font-weight: 700; }
.review-row dd { margin: 0; white-space: pre-wrap; }
.consent-panel { min-inline-size: 0; margin: 1.25rem 0 0; padding: .7rem .85rem .85rem; border: 1px solid var(--line); border-radius: 6px; }
.consent-panel legend { padding-inline: .25rem; font-weight: 700; }
.consent-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem; align-items: start; cursor: pointer; }
.consent-choice input { width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; accent-color: var(--ink); }
.consent-links { display: flex; flex-wrap: wrap; gap: .25rem .95rem; margin: .55rem 0 0 1.65rem; font-size: .875rem; }
.consent-links a, .footer-privacy { text-underline-offset: .25em; }
.review-actions .button:disabled { border-color: var(--line); background: var(--soft); color: var(--muted); cursor: default; }
.notice { background: #eef3f6; border-inline-start: 3px solid #526b85; padding: .65rem .75rem; margin-top: 1rem; font-size: .9375rem; }
.feedback { margin-top: .65rem; font-size: .9rem; font-weight: 650; }
.feedback:empty { margin: 0; }
.copy-fallback { margin-top: .65rem; }

.site-footer { color: #d5e0ea; background: var(--ink-deep); border-top: 1px solid #424f60; }
.footer-inner { display: flex; align-items: center; gap: .85rem 1.3rem; min-height: 5.2rem; padding-block: .85rem; font-size: .88rem; }
.footer-link { margin-inline-start: auto; text-underline-offset: .25em; }

.legal-page { max-width: 46rem; padding-block: clamp(1.6rem, 5vw, 3.5rem); }
.legal-page h1 { margin-top: 1.25rem; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; }
.legal-page h2 { margin-top: 1.5rem; font-size: 1.3rem; line-height: 1.2; }
.legal-page p, .legal-page ul { margin-top: .7rem; }
.legal-page a { text-underline-offset: .25em; }

@media (max-width: 1120px) {
  .hero h1 { font-size: clamp(2.5rem, 4.85vw, 4.15rem); }
  .service { padding: 1rem; }
}
@media (max-width: 850px) {
  :root { --page: calc(100% - 3rem); }
  .brand-caption { display: none; }
  .hero-inner { min-height: 29rem; }
  .hero-copy { padding-block: 3rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 11.5rem; }
  .request-layout { grid-template-columns: 1fr; }
  .request-intro > p, .request-guide { max-width: 40rem; }
  .request-intro h2 { max-width: 100%; }
  .request-guide { margin-top: 1.15rem; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 0 .6rem; padding-top: .55rem; }
  .main-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 1.25rem; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 2.65rem; }
}
@media (max-width: 660px) {
  :root { --page: calc(100% - 2rem); }
  .section { padding-block: 3.25rem; }
  .brand-mark { font-size: 1.52rem; }
  .button-header { min-height: 2.6rem; font-size: .875rem; }
  .hero-inner { width: 100%; min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { width: var(--page); margin-inline: auto; padding: 2.55rem 0 2.1rem; }
  .hero h1 { font-size: clamp(2.12rem, 8vw, 3.55rem); letter-spacing: -.032em; text-wrap: initial; }
  .hero-region { margin-bottom: 1rem; }
  .hero-actions { gap: .5rem; margin-top: 1.3rem; }
  .hero-actions .button { font-size: .875rem; padding-inline: .8rem; }
  .hero-photo { height: clamp(13rem, 63vw, 19rem); }
  .hero-photo::before { width: 3.5rem; height: .32rem; }
  .hero-photo img { object-position: 50% 57%; }
  .services-intro { margin-bottom: 1.25rem; }
  .institutions-inner { grid-template-columns: 1fr; gap: 1.3rem; }
  .institutions-copy > p { margin-top: .75rem; }
  .supply-inner { grid-template-columns: 1fr; gap: 1rem; }
  .supply-request { border-inline-start: 0; border-top: 1px solid #ae8246; padding: 1rem 0 0; }
  .services-grid { gap: .55rem; }
  .service { padding: .85rem; }
  .service p { font-size: .9375rem; }
  .service h3 { font-size: 1.12rem; overflow-wrap: anywhere; }
  .service-link { font-size: .875rem; }
}
@media (max-width: 475px) {
  .institution-list { grid-template-columns: 1fr; }
  .main-nav { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: .65rem; padding-block: .25rem .45rem; }
  .main-nav a { min-height: 2.45rem; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer-link { margin-inline-start: 0; }
  .review-row { grid-template-columns: 1fr; gap: .1rem; }
}
@media (max-width: 362px) {
  .hero-break { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
