:root {
  --paper: #f3f2ef;
  --ink: #151515;
  --yellow: #ffcc00;
  --line: #ccc8bf;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #3474a0; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem; background: white; transform: translateY(-150%); z-index: 21; }
.skip:focus { transform: none; }
.site-header, .quick-links, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.site-header img { display: block; width: clamp(5rem, 10vw, 8rem); height: auto; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(.75rem, 2vw, 2rem); }
.site-header nav[hidden] { display: none; }
.site-menu-toggle {
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid #fff8;
  border-radius: .55rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.site-menu-toggle:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.site-header a { text-decoration: none; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 42% 58%; }
.hero-copy { align-self: center; padding: clamp(2rem, 7vw, 7rem) var(--gutter); }
h1, h2 { margin: 0; line-height: 1.04; letter-spacing: -.05em; }
h1 { font-size: clamp(2.5rem, 6vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
p, li { line-height: 1.65; }
.hero p { max-width: 28ch; margin: 1.25rem 0 1.5rem; }
.cta { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; padding: .75rem 1rem; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 750; }
.cta:hover { text-decoration: underline; }
figure { position: relative; margin: 0; min-height: 25rem; }
figure img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.section { padding: clamp(2.5rem, 7vw, 7rem) var(--gutter); border-bottom: 1px solid var(--line); }
.section p { max-width: 55ch; }
.section h2 + .cta { margin-top: 1.25rem; }
.dark, .site-footer { background: var(--ink); color: var(--paper); }
.dark a { color: var(--yellow); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .site-header nav { flex-basis: 100%; order: 1; font-size: .9375rem; }
  .site-header nav:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav a { border-top: 1px solid #fff3; }
  .hero-actions > a { display: inline-flex; align-items: center; min-height: 44px; }
  figure { min-height: clamp(14rem, 72vw, 25rem); }
}

[aria-current="page"] { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
.page-intro h1 { max-width: 15ch; font-size: clamp(2.75rem, 6vw, 6rem); }
.page-intro p { font-size: clamp(1rem, 2vw, 1.25rem); }
.build-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.5rem, 3vw, 2rem);
  max-width: 39rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.build-stages li {
  display: grid;
  justify-items: center;
  gap: .5rem;
  padding: .75rem .25rem;
  border-bottom: 3px solid var(--yellow);
  background: white;
  text-align: center;
}
.build-stages svg {
  display: block;
  width: clamp(2.5rem, 8vw, 4rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(24rem, 39vw, 36rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.about-hero-copy { padding: clamp(2rem, 5vw, 5rem) var(--gutter); }
.about-hero-copy p { max-width: 36ch; margin-bottom: 0; }
.about-hero-photo { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 78%; height: 100%; opacity: .43; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--paper) 18%, transparent 85%); }
@media (max-width: 760px) {
  .about-hero-photo { width: 100%; opacity: .23; }
  .about-hero::before { background: linear-gradient(90deg, var(--paper), transparent); }
}
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2rem; }
.fact-grid h2, .steps h2, .calculator-layout h2 { font-size: clamp(1.35rem, 3vw, 2.25rem); }
.fact-grid h3 { margin: 0; }
.fact-grid > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.dark .cta { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem 2.5rem; margin: 0 0 2rem; padding-inline-start: 1.5rem; }
.steps li { padding: .75rem .5rem; border-top: 1px solid var(--line); }
.questions details { max-width: 48rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { font-weight: 700; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 1rem; }
.calculator-layout label { display: block; margin-block: .75rem; font-weight: 650; }
.calculator-layout :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: .35rem; padding: .5rem; border: 1px solid #777; background: white; font: inherit; color: var(--ink); }
.calculator-layout button { border: 0; margin-top: 1.25rem; font: inherit; font-weight: 750; }
.calculator-result { background: var(--ink); color: var(--paper); padding: 1.5rem; }
.calculator-overview-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.calculator-overview-heading h2 { margin: 0; }
.calculator-project-icon { flex: none; width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.calculator-overview-heading .calculator-project-icon { width: 3rem; height: 3rem; color: var(--yellow); }
.calculator-overview-shortcut { display: none; }
@media (min-width: 761px) {
  .calculator-result {
    position: sticky;
    top: var(--calculator-overview-offset, 1rem);
    max-height: calc(100dvh - var(--calculator-overview-offset, 1rem) - 1rem);
    overflow-y: auto;
  }
}
.calculator-result dd { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.calculator-result dt { font-weight: 750; }
.calculator-amount { margin-block: .5rem; color: var(--yellow); font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; }
#callback-request button:disabled { opacity: .7; cursor: default; }
@media (max-width: 760px) {
  .calculator-layout { grid-template-columns: minmax(0, 1fr); }
  .calculator-layout :is(input, select, textarea) { font-size: max(1rem, 16px); }
  body:has(.calculator-overview-shortcut) { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  body:has(.calculator-overview-shortcut) :is(input, select, button, a) { scroll-margin-bottom: 5rem; }
  .calculator-overview-shortcut {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    z-index: 20;
    max-width: calc(100% - 1.5rem);
    min-height: 48px;
    padding: .5rem .85rem;
    background: var(--yellow);
    color: var(--ink);
    border-radius: .55rem;
    box-shadow: 0 .25rem 1rem #0004;
    text-decoration: none;
  }
  .calculator-overview-shortcut :is(strong, small) { display: block; }
}

.photo-section { padding-block: clamp(1.25rem, 4vw, 3rem); }
.editorial-photo {
  aspect-ratio: 3 / 2;
  max-width: 60rem;
  min-height: 0;
  margin-inline: auto;
}
.editorial-photo img { object-position: center; }

/* Homepage — beeldvullende introductie */
.site-header { background: #080808; color: white; border: 0; }
.site-header img { width: clamp(5rem, 8vw, 7.25rem); }
.site-header .cta, .home .cta { border-radius: .55rem; justify-content: center; }
@media (min-width: 75rem) {
  html { scroll-padding-top: 8rem; }
  .site-top { position: sticky; top: 0; z-index: 20; }
}
@media (max-width: 74.999rem) {
  body:has(.site-header > .cta[href^="calculator.html"]:not([aria-current="page"])) {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }
  .site-header > .cta[href^="calculator.html"]:not([aria-current="page"]) {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 20;
    box-shadow: 0 .25rem 1rem #0004;
  }
  body:has(.site-header > .cta[href^="calculator.html"]:not([aria-current="page"])) .hero-campaign.is-floating {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 3.75rem);
  }
}
.home .hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  grid-template-rows: minmax(clamp(25rem, 44vw, 37rem), auto) auto;
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: white;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-background img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% 12%;
}
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #151515ed 0%, #151515bf 39%, #15151530 57%, transparent 78%);
}
.home .hero-copy { padding: clamp(3rem, 7vw, 7rem) 1.5rem clamp(2rem, 5vw, 5rem) var(--gutter); }
.home .hero .hero-facts { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .home .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .home .hero-copy { grid-row: 1; padding-inline: var(--gutter); }
  .hero-background { position: relative; grid-row: 2; z-index: 0; aspect-ratio: 16 / 9; }
  .hero-background::after { content: none; }
}
.home .hero h1 { font-size: clamp(2.5rem, 6vw, 6rem); }
.home .hero h1 em { color: var(--yellow); font-style: normal; }
.home .hero p { max-width: 42ch; }
.home .eyebrow { display: flex; gap: .65rem; align-items: center; margin: 0 0 .85rem; font-weight: 800; font-size: .8rem; letter-spacing: .065em; text-transform: uppercase; }
.home .eyebrow::before { content: ""; width: 2.25rem; height: .3rem; flex: 0 0 auto; background: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.home .outline { background: #15151566; border: 1px solid white; color: white; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 1.25rem var(--gutter); list-style: none; background: #0b0b0bd9; font-weight: 700; }
.hero-facts li::before, .home-checks li::before { content: "✓"; color: var(--yellow); margin-right: .55rem; font-weight: 900; }
.home-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); background: white; }
.home-checks { padding: 0; list-style: none; }
.home-checks li { margin: .35rem 0; }
.home-checks li::before { color: #735900; }
.intro-media, .home-gallery figure { position: relative; }
.home .intro-media figure, .home-gallery figure { min-height: 0; aspect-ratio: 3 / 2; border-radius: .9rem; }
.calculator-card { position: relative; width: min(100%, 19rem); margin: -4rem -.65rem 0 auto; padding: 1.25rem; background: var(--yellow); border-radius: .9rem; }
.calculator-card h3 { margin: 0; }
.calculator-card p { margin: .45rem 0 .85rem; }
.calculator-card .cta { width: 100%; background: var(--ink); color: white; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.home-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 840px) {
  .home-intro { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .site-header nav { order: 1; width: 100%; }
  .home-gallery { grid-template-columns: 1fr; }
  .calculator-card { margin: .75rem 0 0 auto; }
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  counter-reset: home-step;
  padding: 0;
  margin: 2rem 0;
}
.home-steps li { counter-increment: home-step; border-top: 1px solid #626262; padding-top: 1rem; }
.home-steps li::before { content: counter(home-step, decimal-leading-zero); color: var(--yellow); font-weight: 800; }
.home-steps h3 { margin: .5rem 0 0; line-height: 1.25; }
.home-steps p { margin: .5rem 0 0; }
.home-about, .home-faq, .home-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.home-about { background: white; }
.home-about figure { min-height: 0; aspect-ratio: 4 / 3; }
.home-about figure img { border-radius: .9rem; }
.work-method-intro-photo { display: block; width: 100%; height: auto; border-radius: .9rem; }
.home-about .about-extension { aspect-ratio: 1672 / 941; }
.home-about .about-vision-photo {
  width: min(100%, 25rem);
  justify-self: center;
  aspect-ratio: 2 / 3;
}
.home-faq { align-items: start; }
.home-faq details:first-child { padding-top: 0; }
.home-contact { background: #202020; color: white; }
.home-contact .hero-actions { justify-content: flex-end; }
@media (max-width: 840px) {
  .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about, .home-faq, .home-contact { grid-template-columns: 1fr; }
  .home-contact .hero-actions { justify-content: flex-start; }
}
@media (max-width: 450px) {
  .home-steps { grid-template-columns: 1fr; }
}


.roof-facts { margin-top: 1.5rem; }
.roof-intro { background: var(--ink); color: var(--paper); }
.roof-intro .eyebrow { display: flex; align-items: center; gap: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .065em; }
.roof-intro .eyebrow::before { content: ""; width: 2.25rem; height: .3rem; background: var(--yellow); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.project-tiles {
  grid-template-columns: repeat(auto-fill, minmax(clamp(8rem, 17vw, 14rem), 1fr));
  gap: clamp(.65rem, 2vw, 1.5rem);
}
.project-tiles a { display: block; text-decoration: none; }
.project-tiles a:hover span { text-decoration: underline; }
.project-tiles img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.project-tiles span { display: block; margin-top: .35rem; font-size: .875rem; font-weight: 700; }
.portfolio-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.portfolio-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-video { display: block; width: min(100%, 40rem); max-height: 34rem; background: var(--ink); }
.project-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.project-photos figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.intro-media figure img { object-position: center 34%; }

.site-footer {
  background: #080808;
  border: 0;
  gap: 1rem 2rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.footer-brand img { display: block; width: 4.5rem; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

.calculator-layout fieldset {
  min-inline-size: 0;
  margin: 1rem 0;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
}
.calculator-layout legend { padding-inline: .35rem; font-weight: 700; }
.calculator-chapter { margin-top: 1.65rem; }
.calculator-chapter h3 { margin: 0 0 .65rem; padding-bottom: .45rem; border-bottom: 2px solid var(--yellow); }
.calculator-option-list { display: grid; gap: .45rem; }
.calculator-layout label.calculator-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: .6rem;
  min-height: 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: .45rem;
  cursor: pointer;
}
.calculator-option:has(input:checked) { border-color: var(--ink); background: #fffaf0; }
.calculator-option:has(input:focus-visible) { outline: 2px solid #3474a0; outline-offset: 2px; }
.calculator-layout .calculator-option input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
}
.calculator-option small { display: block; margin-top: .15rem; font-weight: 450; line-height: 1.4; }
.calculator-option-tile {
  display: block;
  width: clamp(2.15rem, 8vw, 3rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: .3rem;
}
.calculator-option-icon {
  background: #f3efe3;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calculator-option-wood {
  background: repeating-linear-gradient(90deg, #aa7041 0 16%, #b97d46 16% 31%, #845532 31% 33%);
}
.calculator-option-panel {
  background: repeating-linear-gradient(90deg, #555a5f 0 24%, #30353a 24% 26%);
}
.calculator-count-label { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }


@media (max-width: 900px) {
}


.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.service-option {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
  padding: clamp(.75rem, 2vw, 1.5rem);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.service-option img { display: block; width: 100%; height: auto; }
.service-option h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.5rem); }
.service-option h3 span { color: var(--yellow); }
.service-option p { margin: .4rem 0 0; }
.service-option:hover h3 { text-decoration: underline; }

.hero-calculator {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  margin: 0 var(--gutter) clamp(2rem, 5vw, 5rem) 1rem;
}
.hero-calculator .cta {
  min-height: 4.25rem;
  padding: 1rem clamp(1.35rem, 3vw, 2.6rem);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
}
@media (max-width: 900px) {
  .hero-calculator {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    margin-bottom: 1rem;
  }
}

.hero-campaign:not([hidden]) {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  gap: .45rem;
  z-index: 1;
  margin: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) 0 1rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--yellow);
  background: var(--ink);
  color: white;
  text-decoration: none;
  transform: rotate(3deg);
  animation: campaign-arrival 580ms cubic-bezier(.2,.7,.25,1) both;
}
.hero-campaign-label {
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-campaign strong { font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.05; }
.hero-campaign-link { font-size: .8rem; text-decoration: underline; }
.hero-campaign:hover .hero-campaign-link { color: var(--yellow); }
@keyframes campaign-arrival {
  0% { opacity: 0; transform: translateY(-1.5rem) rotate(-8deg); }
  75% { opacity: 1; transform: translateY(.2rem) rotate(4deg); }
  100% { opacity: 1; transform: translateY(0) rotate(3deg); }
}
@media (max-width: 900px) {
  .hero-campaign:not([hidden]) {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    justify-items: start;
    margin: 0;
    padding: 1rem var(--gutter);
    border-width: 2px 0 0;
    transform: none;
    animation-name: campaign-arrival-mobile;
  }
  .hero-campaign br { display: none; }
}
@keyframes campaign-arrival-mobile {
  from { opacity: 0; transform: translateY(-.75rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-campaign:not([hidden]) { animation: none; }
}

[data-campaign="sticker"]:not([hidden]) {
  display: contents;
}
.hero-campaign::before {
  content: "";
  position: absolute;
  width: .85rem;
  height: .85rem;
  top: -.45rem;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 30%, #fff4a3, #ffcc00 52%, #a97500 100%);
  box-shadow: 1px 3px 3px #0009;
}
.hero-campaign {
  position: relative;
}
.hero-campaign.is-floating {
  position: fixed;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  z-index: 1000;
  max-width: min(16rem, calc(100vw - 2rem));
  margin: 0;
  padding: .65rem .8rem;
  animation: none;
}
.hero-campaign.is-floating strong { font-size: 1rem; }
.hero-campaign.is-floating .hero-campaign-label { display: none; }
[data-campaign="banner"]:not([hidden]) {
  background: var(--yellow);
  color: var(--ink);
}
.campaign-banner-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .2rem 1rem;
  min-height: 44px;
  padding: .5rem var(--gutter);
  text-decoration: none;
}
.campaign-banner-link .hero-campaign-label { color: var(--ink); }
@media (max-width: 900px) {
  .hero-campaign:not([hidden]):not(.is-floating) {
    justify-self: end;
    margin: .75rem var(--gutter) .75rem 1rem;
    padding: .7rem 1rem;
    border-width: 1px;
    transform: rotate(2deg);
  }
}

#callback-request {
  border-top: 1px solid #626262;
  margin-top: 1.25rem;
  padding-top: 1rem;
}
#callback-request h3 { margin-top: 0; }
#callback-request .cta { margin-top: 0; }

.product-intro:has(.product-photo-crop) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.product-photo-crop {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-photo-crop img {
  position: absolute;
  display: block;
  width: 180%;
  max-width: none;
  height: auto;
  right: 2%;
  bottom: 1%;
}
.landing-project-photo { min-height: 0; border-radius: .9rem; }
.landing-project-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.landing-calculator-start { margin-top: 1rem; }
.landing-calculator-start .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.landing-calculator-start label { min-width: 0; font-weight: 650; }
.landing-calculator-start input { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: .25rem; padding: .5rem; border: 1px solid #777; font: inherit; font-size: max(1rem, 16px); }
.landing-calculator-start button { margin-top: .85rem; border: 0; font: inherit; font-weight: 750; cursor: pointer; }
.landing-calculator-start p { margin: .55rem 0 0; font-size: .9rem; }
.calculator-extra-options summary { min-height: 44px; cursor: pointer; }
.landing-actions { margin-top: 1.25rem; align-items: center; }
.landing-price-teaser { border-left: 4px solid var(--yellow); padding-inline-start: .85rem; }
.landing-price-teaser strong { display: block; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.15; }
.landing-price-teaser small { font-size: .75rem; white-space: nowrap; }
.landing-price-teaser a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.cta.landing-price-action { min-height: 3.25rem; padding-inline: 1.25rem; border-radius: .55rem; }
.site-header > .landing-calculator-button {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 20;
  gap: clamp(.85rem, 3vw, 2rem);
  max-width: calc(100vw - 2rem);
  min-height: 4.25rem;
  padding: .65rem clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 .25rem 1rem #0004;
}
.landing-calculator-button strong,
.landing-calculator-button small { display: block; }
.landing-calculator-button strong { font-size: clamp(1.05rem, 2vw, 1.4rem); }
.landing-calculator-button small { margin-top: .15rem; font-size: .85rem; }
body:has(.site-header > .cta.landing-calculator-button[href^="calculator.html"]:not([aria-current="page"])) {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}
.landing-proof { background: white; }
.landing-proof figure img { object-position: center; }
.landing-steps { margin-top: 1.5rem; }
.landing-steps h3 { margin: 0; }
.landing-steps p { margin-bottom: 0; }
.product-photo-renovation {
  aspect-ratio: 3 / 2;
  min-height: 0;
}
.product-photo-renovation img {
  position: static;
  width: 100%;
  height: auto;
}
.product-photo-roof { margin: 0; }
.product-photo-roof img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.67);
  transform-origin: 54% top;
}
.product-costs { background: white; }
.product-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}
.product-price {
  background: var(--paper);
  border-top: 3px solid var(--yellow);
  padding: clamp(1rem, 3vw, 1.75rem);
}
.product-price h3 { margin: 0; }
.product-price .product-amount {
  margin: .4rem 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}
.product-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  background: var(--ink);
  color: var(--paper);
}
.product-contact p { margin-bottom: 0; }
.product-contact.landing-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .66fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  color: white;
}
.landing-contact-photo {
  display: block;
  justify-self: center;
  width: min(100%, 24rem);
  height: auto;
  background: #f3efe3;
  border-radius: .75rem;
  border-bottom: 4px solid var(--yellow);
}
@media (max-width: 760px) {
  .product-contact.landing-contact { grid-template-columns: minmax(0, 1fr); }
  .landing-contact-photo { justify-self: start; width: min(100%, 19rem); }
}
@media (max-width: 900px) {
  .product-intro:has(.product-photo-crop) { grid-template-columns: minmax(0, 1fr); }
}

.product-intro-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.product-intro-label img { width: clamp(4rem, 8vw, 6rem); height: auto; }
.product-intro-label .eyebrow { margin: 0; }
.product-intro-label .eyebrow::before { content: none; }

.renovation-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}
.renovation-item {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
  background: #f5f2ec;
}
.renovation-item:nth-child(even) {
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
}
.renovation-item:nth-child(even) .renovation-media { order: 1; }
.renovation-media {
  width: min(100%, 29rem);
  justify-self: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.renovation-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.renovation-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.renovation-copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.renovation-copy p:last-child { margin-bottom: 0; }
.renovation-copy strong { font-size: 1.15em; }
@media (max-width: 760px) {
  .renovation-item, .renovation-item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .renovation-item:nth-child(even) .renovation-media { order: 0; }
}

.renovation-price {
  width: 100%;
  margin-top: 1.15rem;
  border-collapse: collapse;
  border-top: 2px solid var(--yellow);
  background: #efefed;
  font-size: .9rem;
  line-height: 1.4;
}
.renovation-price th,
.renovation-price td {
  padding: .6rem .75rem;
  border-bottom: 1px solid #d5b341;
  text-align: left;
  vertical-align: top;
}
.renovation-price th {
  width: 32%;
  border-right: 1px solid #d5b341;
}
.renovation-price tr:last-child { background: #fff3c3; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-form { margin-top: 1.25rem; }
.contact-form label { display: block; min-width: 0; font-weight: 650; }
.contact-form .form-grid { margin-bottom: 1rem; }
.contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: .35rem;
  padding: .6rem;
  border: 1px solid #777;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 16px);
}
.contact-form textarea { resize: vertical; }
.contact-form button { margin-top: 1rem; border: 0; font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-details { background: white; padding: clamp(1rem, 3vw, 2rem); }
.contact-details address { margin-top: 1rem; font-style: normal; line-height: 1.6; }
.contact-direct { display: grid; justify-items: start; margin-top: .5rem; }
.contact-direct a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-details dt { margin-top: .75rem; font-weight: 750; }
.contact-details dd { margin: .25rem 0 0; }
.contact-map { display: block; width: 100%; height: clamp(17rem, 35vw, 26.25rem); border: 0; }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  .renovation-price :is(th, td) { padding-inline: .5rem; overflow-wrap: anywhere; }
  .calculator-result { padding: 1rem; }
}
