@font-face { font-family: Manrope; src: url('./manrope-latin-v2.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Archivo; src: url('./archivo-latin-v2.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root {
  --forest: #192b25; --paper: #f6f3eb; --orange: #ff7846;
  --muted-light: #cbd4ca; --line-dark: #4c5d54; --line-light: #c7cabe;
  --display: Archivo, 'Arial Black', Arial, sans-serif;
  --gutter: clamp(1.2rem, 5vw, 4.5rem);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--forest); color: var(--paper); font: 1rem/1.58 Manrope, Arial, sans-serif; }
[hidden] { display: none !important; }
a, button, input, select { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, ol { margin: 0; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 77rem); margin-inline: auto; }
.mast, .footer, .wizard-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mast { min-height: clamp(4.2rem, 7vw, 5.6rem); border-bottom: 1px solid var(--line-dark); }
.brand { width: clamp(7.1rem, 12vw, 9.8rem); height: auto; display: block; }
.hero { display: grid; gap: clamp(1.65rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 4rem); }
.offer { align-self: center; min-width: 0; }
.audience { text-wrap: pretty; display: flex; align-items: flex-start; gap: .6rem; font-size: clamp(.92rem, 1.3vw, 1.04rem); line-height: 1.45; font-weight: 700; }
.audience img { flex: none; width: 2rem; height: 1rem; margin-top: .17em; }
h1 { max-width: 17ch; margin: 1rem 0 0; font: 400 clamp(2.15rem, 8.5vw, 3.6rem)/1.04 var(--display); letter-spacing: -.056em; text-wrap: balance; }
.amount { display: block; color: var(--orange); font-size: 1.39em; line-height: 1.01; margin-bottom: .07em; white-space: nowrap; }
.period { white-space: nowrap; }
.summary { max-width: 40ch; margin: 1.15rem 0 1.35rem; color: var(--muted-light); font-size: clamp(1rem, 1.35vw, 1.18rem); }
.summary strong { color: var(--paper); font-weight: 750; }
.cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.3rem; min-height: 3.25rem; padding: .8rem 1.2rem; border: 0; border-radius: 3px; background: var(--orange); color: #14211a; font: 800 1rem/1.35 Manrope, Arial, sans-serif; text-decoration: none; }
.cta:hover { background: #ff9169; }
.cta:focus-visible { outline-color: var(--paper); }
.arrow { flex: none; position: relative; display: inline-block; width: 1.14rem; height: 2px; background: currentColor; }
.arrow::after { position: absolute; content: ''; top: 50%; right: 0; width: .48rem; height: .48rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.photo { position: relative; overflow: hidden; aspect-ratio: 1.95; background: #34473a; border-radius: 3px; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-roofing img { object-position: 50% 45%; }
.how { color: var(--forest); background: var(--paper); }
.how-layout { display: grid; gap: 1.45rem; padding-block: clamp(2.6rem, 6vw, 6rem); }
.how h2 { font: 400 clamp(2rem, 4vw, 3.75rem)/1.08 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.1rem 1fr; gap: .35rem; border-top: 1px solid var(--line-light); padding: 1.1rem 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; padding-top: .25rem; color: #526458; }
.steps h3 { font: 800 clamp(1.04rem, 1.65vw, 1.38rem)/1.36 Manrope, Arial, sans-serif; letter-spacing: -.025em; }
.steps p, .how-intro p { max-width: 52ch; margin-top: .4rem; }
.how-intro p { max-width: 38ch; margin-top: .85rem; }
.steps p, .how-intro p { color: #46554d; }
.footer { border-top: 1px solid var(--line-dark); min-height: 5rem; }
.footer .brand { width: 6.8rem; }
@media (max-width: 37rem) {
  .hero .cta { width: 100%; }
}
@media (min-width: 48rem) {
  .hero { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  h1 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
  .photo { min-height: 23rem; aspect-ratio: auto; }
  .photo img { position: absolute; inset: 0; }
  .how-layout { grid-template-columns: .85fr 1.15fr; gap: 1.3rem 3rem; }
}
html:has(#trade-popup[open]), body:has(#trade-popup[open]) { overflow: hidden; }
#trade-popup {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--paper); color: var(--forest);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
#trade-popup::backdrop { background: var(--paper); }
.wizard { width: min(100%, 77rem); margin: 0 auto; padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); }
.wizard-head { min-height: clamp(4.1rem, 7vw, 5.6rem); border-bottom: 1px solid var(--line-light); }
#popup-close { display: grid; place-items: center; height: 44px; width: 44px; background: transparent; color: var(--forest); border: 1px solid var(--line-light); border-radius: 50%; font: 400 1.6rem/1 Arial, sans-serif; }
.wizard-body { width: min(100%, 31rem); margin: clamp(2.2rem, 9vh, 6rem) auto 0; }
#progress-label { font-weight: 700; color: #526458; font-size: .84rem; }
#progress { appearance: none; display: block; width: 100%; height: 3px; margin: .55rem 0 1.65rem; border: 0; border-radius: 0; overflow: hidden; background: #d6d9cf; color: var(--forest); }
#progress::-webkit-progress-bar { background: #d6d9cf; }
#progress::-webkit-progress-value { background: var(--forest); }
#progress::-moz-progress-bar { background: var(--forest); }
#popup-title { margin-bottom: 1.4rem; font: 400 clamp(1.95rem, 5vw, 3.25rem)/1.08 var(--display); letter-spacing: -.05em; text-wrap: balance; }
#popup-title:focus { outline: none; }
#enquiry-form :is(input:not([type="checkbox"]),select) { width: 100%; min-height: 3.5rem; border: 1px solid #89968b; border-radius: 3px; padding: .8rem; background-color: #fffef9; font-size: 1.06rem; color: var(--forest); }
#enquiry-form ::placeholder { color: #59665e; opacity: 1; }
#enquiry-form [aria-invalid="true"] { border-color: #9b351e; }
#field-error { color: #8d311c; font-weight: 650; font-size: .9rem; margin-top: .5rem; }
#field-error:empty, #popup-status:empty, #time-label:empty { display: none; }
.crew-hint { margin: -.55rem 0 1rem; color: #526458; }
.crew-choices { display: grid; gap: .45rem; }
.crew-choices button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  min-height: 3.05rem; padding: .6rem 1rem; border: 1px solid #89968b; border-radius: 3px;
  background: #fffef9; color: var(--forest); text-align: start; font-weight: 700;
}
.crew-choices button::after { content: ''; width: .48rem; height: .48rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@media (hover: hover) { .crew-choices button:hover { background: #e5eadf; border-color: var(--forest); } }
.crew-choices button[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.crew-choices button:focus-visible { outline-color: var(--forest); }
.wizard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.wizard-actions .cta { flex: 1; }
#trade-popup .cta:focus-visible { outline-color: var(--forest); }
.back, .secondary { min-height: 44px; background: transparent; border: 1px solid var(--line-light); border-radius: 3px; color: var(--forest); font-weight: 700; padding: .55rem .95rem; }
.back { border-color: transparent; text-decoration: underline; text-underline-offset: .18em; }
#trade-popup button:disabled { opacity: .5; cursor: default; }
.call-info { margin: -.75rem 0 1.45rem; color: #54645a; }
.aft-day { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line-light); }
.aft-day h3 { font-size: 1rem; margin-bottom: .55rem; }
.aft-empty { color: #526258; font-size: .92rem; }
.aft-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.1rem, 1fr)); gap: .5rem; }
.aft-slot-pill { min-height: 44px; border: 1px solid #9aa69b; background: #fffef9; border-radius: 3px; font-variant-numeric: tabular-nums; }
.aft-slot-pill[aria-pressed="true"] { color: var(--paper); background: var(--forest); border-color: var(--forest); }
.calendar-tools { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.calendar-confirm { position: sticky; bottom: 0; margin-top: .7rem; border-top: 1px solid var(--line-light); padding: .7rem 0 max(.75rem, env(safe-area-inset-bottom)); background: var(--paper); }
#time-label { margin-bottom: .4rem; font-size: .9rem; font-weight: 750; }
#confirm { width: 100%; }
#popup-status:not(:empty) { margin-block: .75rem; }
@media (max-height: 32rem) { .wizard-body { margin-top: 1.25rem; } }
