:root {
  --ink: #1d3148;
  --deep: #10263e;
  --paper: #f3f7fb;
  --white: #ffffff;
  --sky: #b8ddff;
  --blue: #3276a8;
  --line: #d4deea;
  --muted: #4b6178;
  --gutter: clamp(1rem, 4vw, 3rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #548fbe; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
.wrap { width: min(100% - 2 * var(--gutter), 1216px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 4; background: white; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.top { background: var(--paper); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header { min-height: 82px; flex-wrap: wrap; }
.brand {
  position: relative;
  display: block;
  flex: none;
  width: clamp(7.75rem, 18vw, 10.5rem);
  aspect-ratio: 696 / 294;
  overflow: hidden;
}
.brand img {
  position: absolute;
  display: block;
  left: calc(-814 / 696 * 100%);
  top: calc(-103 / 294 * 100%);
  width: calc(1536 / 696 * 100%);
  height: auto;
  max-width: none;
  mix-blend-mode: multiply;
}
.header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(.9rem, 2vw, 2rem); margin-inline-start: auto; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a { font-size: .91rem; font-weight: 700; text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.button { text-align: center; max-width: 100%; display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .75rem 1.28rem; border: 1px solid transparent; border-radius: 4px; font: 700 .93rem/1.3 var(--sans); text-decoration: none; cursor: pointer; transition: background .16s, color .16s; }
.small { min-height: 44px; }
.dark { background: var(--deep); color: var(--white); }
.dark:hover { background: #25496c; }
.accent { background: var(--sky); color: var(--deep); }
.button:disabled { opacity: .6; cursor: default; }
.accent:hover { background: #daedff; }
.hero { display: grid; grid-template-columns: minmax(0, .47fr) minmax(0, .53fr); min-height: 580px; background: var(--deep); color: var(--white); }
.hero-copy { align-self: center; padding: 4.25rem clamp(1.6rem, 4vw, 4rem) 4.25rem max(var(--gutter), calc((100vw - 1216px) / 2)); }
.kicker { display: flex; align-items: center; gap: .65rem; font-size: .875rem; font-weight: 700; letter-spacing: .115em; color: #305a80; }
.kicker > span:first-child { width: 1.4rem; height: 1px; background: currentColor; flex: none; }
.hero .kicker, .quote .kicker { color: var(--sky); }
h1 { margin-top: 1.3rem; font-size: clamp(2.85rem, 5vw, 5.2rem); letter-spacing: -.065em; }
h1 em { color: var(--sky); font-weight: 400; }
.hero-copy p { max-width: 27rem; margin-top: 1.55rem; color: #e1edf8; font-size: 1.06rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.3rem; margin-top: 2rem; }
.hero-link { font-size: .93rem; text-underline-offset: 5px; }
.hero-link:hover { color: var(--sky); }
.hero-photo { position: relative; isolation: isolate; background: #405a74; min-height: 100%; }
.hero-photo img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.hero-photo figcaption { position: absolute; right: 1rem; bottom: 1rem; color: white; background: #10263ee8; border-radius: 3px; padding: .2rem .55rem; font-size: .8rem; }
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 2rem; margin-bottom: 2rem; }
h2 { margin-top: .8rem; font-size: clamp(2.25rem, 4.3vw, 4rem); letter-spacing: -.055em; }
.intro p, .card p, .materials p { color: var(--muted); }
.intro p { max-width: 24rem; justify-self: end; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.25rem, 2.55vw, 2.15rem); }
.card h3 { margin-top: 1.2rem; font-size: clamp(1.61rem, 2.25vw, 2rem); letter-spacing: -.04em; }
.card .choose { display: inline-flex; align-items: center; min-height: 44px; }
.card p { margin: .65rem 0 1.3rem; }
.text-link { font-size: .92rem; font-weight: 700; text-underline-offset: 4px; margin-top: auto; }
.text-link:hover { color: #275c8a; }
.symbol { position: relative; display: block; width: 46px; height: 46px; background: #e0eefb; border-radius: 4px; color: #305a80; }
.symbol::before, .symbol::after { content: ""; position: absolute; }
.drop::before { width: 15px; height: 20px; top: 12px; left: 16px; border: 2px solid; border-radius: 2px 75% 75% 75%; transform: rotate(24deg); }
.slope::before { width: 18px; height: 18px; border: solid; border-width: 2px 0 0 2px; top: 16px; left: 14px; transform: rotate(45deg); }
.slope::after { width: 18px; top: 30px; left: 14px; border-bottom: 2px solid; }
.flat::before { width: 24px; height: 12px; top: 17px; left: 11px; border: solid; border-width: 2px 2px 0; }
.flat::after { width: 28px; left: 9px; top: 31px; border-bottom: 2px solid; }
.insulation::before { inset: 13px 11px; border-top: 2px solid; border-bottom: 2px solid; }
.insulation::after { left: 11px; right: 11px; top: 22px; border-top: 2px solid; }
.zinc::before { width: 20px; height: 16px; top: 14px; left: 12px; border: solid; border-width: 0 0 2px 2px; border-radius: 0 0 0 6px; }
.zinc::after { width: 9px; height: 12px; top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.asbestos::before { width: 22px; height: 22px; inset: 12px; border-radius: 50%; border: 2px solid; }
.asbestos::after { inset: 17px 22px 16px; background: linear-gradient(to bottom, currentColor 55%, transparent 55% 77%, currentColor 77%); }
.materials { background: #e8f1fa; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 7.25rem); align-items: start; }
.split > div:first-child > p { margin-top: 1.2rem; max-width: 27rem; }
.material-list { border-top: 1px solid #c3d4e5; }
.material-list article { display: grid; grid-template-columns: minmax(7rem, .7fr) minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid #c3d4e5; }
h1, h2, h3, .contact-details dt { overflow-wrap: anywhere; hyphens: auto; }
.material-list h3 { font-size: 1.5rem; }
.quote { background: var(--deep); color: var(--white); }
.quote .split > div:first-child > p { color: #d8e7f5; }
form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; background: #f4f8fd; color: var(--ink); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
form > p { color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
label { display: grid; gap: .35rem; min-width: 0; font-size: .875rem; font-weight: 700; }
input, select, textarea { min-width: 0; min-height: 44px; width: 100%; padding: .65rem .7rem; background: var(--white); color: var(--ink); border: 1px solid #829cb6; border-radius: 4px; font: 1rem/1.4 var(--sans); }
select { appearance: none; padding-right: 1.8rem; background-image: linear-gradient(45deg, transparent 50%, #305a80 50%), linear-gradient(135deg, #305a80 50%, transparent 50%); background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
form .accent { justify-self: start; border-color: #638bab; }
.status { margin-top: .4rem; }
.status:empty { margin: 0; }
.footer { min-height: 88px; color: var(--muted); font-size: .875rem; }
.footer .brand { width: 8.5rem; }
.footer-contact { margin-top: 0; }
.contact { background: var(--white); }
.contact .button { margin-top: 1.25rem; }
.contact-details { margin: .8rem 0 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(0, 1fr); gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font-weight: 700; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-details address { font-style: normal; }
.relay-note { font-size: .875rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.languages { display: flex; align-items: center; gap: 2px; flex: none; padding: 2px; border: 1px solid var(--line); border-radius: 5px; }
.languages button { min-width: 44px; min-height: 44px; border: 0; background: transparent; border-radius: 3px; font: 700 .875rem var(--sans); color: var(--deep); cursor: pointer; }
.languages button:hover { background: #e0eefb; }
.languages button[aria-pressed="true"] { background: var(--deep); color: var(--white); }
.new-roof::before { width: 18px; height: 18px; border: solid; border-width: 2px 0 0 2px; top: 16px; left: 13px; transform: rotate(45deg); }
.new-roof::after { width: 19px; height: 12px; top: 24px; left: 13px; border: solid; border-width: 0 2px 2px; }
.roof-window::before { inset: 11px 14px; border: 2px solid; border-radius: 2px; }
.roof-window::after { left: 15px; right: 15px; top: 22px; border-top: 2px solid; }
.dormer::before { width: 16px; height: 16px; top: 12px; left: 15px; border: solid; border-width: 2px 0 0 2px; transform: rotate(45deg); }
.dormer::after { width: 16px; height: 13px; top: 21px; left: 15px; border: solid; border-width: 0 2px 2px; }

@media (max-width: 60rem) {
  .header { min-height: 0; padding-block: .6rem; gap: .3rem 1rem; }
  .header nav { flex-basis: 100%; margin-inline-start: 0; padding-top: .3rem; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 52rem) {
  .intro, .split { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .intro p { justify-self: start; }
}

@media (max-width: 48rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: clamp(2.35rem, 7vw, 4rem) var(--gutter); }
  h1 { font-size: clamp(2.65rem, 7.2vw, 4.2rem); }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .footer { flex-wrap: wrap; padding-block: 1.2rem; gap: .45rem 1.2rem; }
}

@media (max-width: 38rem) {
  .cards, .fields { grid-template-columns: minmax(0, 1fr); }
  .actions { margin-top: 1.25rem; gap: .6rem 1rem; }
  .hero-link { display: inline-flex; align-items: center; min-height: 44px; }
  form .accent { width: 100%; }
}

@media (max-width: 26rem) {
  .header { column-gap: .55rem; }
  .languages button { min-width: 33px; }
  .material-list article, .contact-details > div { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
}

.facade::before { inset: 12px 10px; border: 2px solid; border-radius: 2px; }
.facade::after { inset: 20px 12px 12px; border-top: 2px solid; }

.solar::before { inset: 13px 10px; border: 2px solid; border-radius: 2px; transform: skewX(-10deg); }
.solar::after { inset: 20px 12px 14px; border-top: 2px solid; }

.cladding::before { inset: 12px 10px; border: 2px solid; border-radius: 2px; }
.cladding::after { inset: 14px 12px; background: repeating-linear-gradient(to right, transparent 0 4px, currentColor 4px 6px); }
