:root {
  --canvas: #f4f0e8;
  --charcoal: #1c241f;
  --body: #454e48;
  --hairline: #c7c9bb;
  --terracotta: #9d472b;
  --serif: Georgia, 'Times New Roman', serif;
  --outer: max(var(--gutter), calc((100vw - 1344px) / 2));
}
html { scroll-padding-top: 0; }
body { background: var(--canvas); color: var(--charcoal); }
.wrap { width: min(1344px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; top: -100px; background: var(--canvas); padding: 12px; z-index: 4; }
.skip:focus { top: 0; }
header, footer { background: #17201c; color: var(--paper); }
.top, footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.top { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff8ec; }
.brand-name { line-height: 1; letter-spacing: .085em; font-size: 20px; font-weight: 600; }
.brand-division { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .27em; }
.brand-mark { position: relative; display: block; width: 30px; height: 33px; transform: skewY(-15deg); }
.brand-mark > span { display: block; position: absolute; top: 0; left: 0; width: 16px; height: 27px; border: 1px solid var(--accent); }
.brand-mark > span + span { top: 5px; left: 13px; background: var(--accent); }
.navlink, .under { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; }
.navlink span { color: var(--accent); }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: 46% 54%; border-bottom: 1px solid var(--hairline); }
.intro { align-self: center; padding: clamp(48px,6vw,96px) clamp(26px,3.5vw,60px) clamp(48px,6vw,96px) var(--outer); }
.hero .eyebrow { color: #46584b; font-size: 11px; font-weight: 650; letter-spacing: .14em; }
.hero .eyebrow span { color: var(--terracotta); padding-inline: 5px; }
.hero h1 { font-size: clamp(49px,5.5vw,92px); font-weight: 500; line-height: .98; letter-spacing: -.07em; margin-top: 27px; }
.hero h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--charcoal); letter-spacing: -.055em; }
.lead { max-width: 40ch; margin: 24px 0; font-size: clamp(16px,1.3vw,20px); line-height: 1.52; color: var(--body); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.under { color: var(--body); border-bottom: 1px solid #9caa9e; min-height: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; border: 0; border-radius: 3px; min-height: 50px; background: var(--accent); color: #171c16; padding: 13px 19px; font-size: 15px; font-weight: 650; line-height: 1.35; }
.button:hover { background: #ff8a69; text-decoration: none; }
.button:disabled { opacity: .65; }
.button span { font-size: 19px; line-height: 1; }
.heroimage { position: relative; min-height: clamp(485px,39vw,640px); overflow: hidden; background: #434a3d; }
.heroimage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%; }
.hero[data-topic=solar] img { object-position: 50% 63%; }
.hero[data-topic=privacy] img { object-position: 50% 53%; }
.hero[data-topic=pricing] img { object-position: 50% 67%; }
.portfolio-pair { display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: minmax(0,1fr); height: clamp(485px,39vw,640px); gap: 3px; background: var(--canvas); }
.portfolio-pair img { position: static; min-width: 0; height: 100%; object-position: 50% 62%; }
.portfolio-pair .interior-view { object-position: 50% 65%; }
.heroimage figcaption { position: absolute; inset: auto 0 0; padding: 50px clamp(22px,3vw,48px) 21px; color: white; background: linear-gradient(transparent, rgba(13,20,15,.77)); font-size: 14px; font-weight: 550; }
.heroimage figcaption span { display: inline-block; margin-right: 10px; border-right: 1px solid #ffffff80; padding-right: 10px; text-transform: uppercase; font-size: 9px; letter-spacing: .13em; }
.quiz-zone { background: var(--charcoal); color: var(--canvas); padding-block: clamp(40px,5vw,78px) clamp(25px,3vw,48px); }
#consultation { max-width: 1110px; margin-inline: auto; scroll-margin-top: 18px; }
.quiz-top, .progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-top .eyebrow { color: #e0d9c8; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
#step-count { color: #ced1c8; font-size: 13px; font-variant-numeric: tabular-nums; }
.progress { gap: 6px; margin-block: 12px clamp(23px,2.8vw,38px); }
.progress i { flex: 1; height: 2px; background: #59645a; }
.progress .filled { background: var(--accent); }
#consultation fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
#consultation legend { padding: 0; font-family: var(--serif); font-size: clamp(34px,4.1vw,58px); line-height: 1.05; letter-spacing: -.046em; text-wrap: balance; }
#consultation legend:focus { outline: none; }
.prompt { color: #cccec3; margin: 9px 0 22px; }
.photo-choices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.photo-choices.pair { grid-template-columns: repeat(2, minmax(0,1fr)); }
.photo-choice { display: flex; flex-direction: column; position: relative; min-width: 0; background: #28312b; border: 1px solid #6e796e; border-radius: 4px; overflow: hidden; cursor: pointer; }
.photo-choice:has(:focus-visible) { outline: 2px solid #ffd5b9; outline-offset: 4px; }
.photo-choice:hover, .photo-choice:has(:checked) { border-color: var(--accent); background: #344036; }
.photo-choice > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.photo-choice img { width: 100%; height: clamp(140px,14vw,205px); object-fit: cover; object-position: center 60%; }
.choice-copy { padding: 16px 38px 18px 16px; }
.choice-copy strong, .choice-copy small { display: block; }
.choice-copy strong { font-size: clamp(19px,1.6vw,25px); line-height: 1.12; font-weight: 550; letter-spacing: -.035em; }
.choice-copy small { color: #d1d4ca; font-size: 14px; line-height: 1.4; margin-top: 5px; }
.choice-mark { position: absolute; bottom: 26px; right: 14px; font-size: 17px; color: #ffa887; }
.choice-mark::after { content: '→'; }
.photo-choice:has(:checked) .choice-mark::after { content: '✓'; }
.back, .edit { background: none; border: 0; color: #ffb294; min-height: 44px; padding: 6px 0; font-size: 14px; font-weight: 600; }
.quiz-actions { margin-top: 9px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,100px); margin-top: 24px; }
.result { align-self: start; }
.result > img { width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: 50% 60%; border-radius: 3px; }
.result-copy { padding-top: 18px; }
.result-copy .eyebrow { color: #d1cfc1; font-size: 10px; }
.result-copy h3 { margin: 5px 0 6px; font-size: clamp(20px,2vw,30px); }
.summary { font-size: 13px; color: #d2d5cb; }
.sample-notes { margin-top: 9px; }
.sample-notes summary { cursor: pointer; color: #eee9de; font-size: 14px; }
.sample-notes p { font-size: 14px; color: #d1d4ca; margin-top: 7px; }
.contact-intro { margin: 0 0 16px; color: #e0e2d8; font-size: 16px; line-height: 1.45; max-width: 45ch; }
.field { display: grid; gap: 5px; margin: 12px 0; font-size: 14px; font-weight: 550; }
.field input { min-width: 0; width: 100%; min-height: 48px; border: 1px solid #9da899; border-radius: 3px; color: #17201c; background: #f5f3ed; color-scheme: light; padding: 8px 12px; font-size: 16px; }
.previewnote { color: #c5ccbf; font-size: 12px; line-height: 1.45; margin: 14px 0; }
#message:not(:empty) { margin-top: 16px; }
.quiz-call { max-width: 1110px; margin: 20px auto 0; border-top: 1px solid #536054; padding-top: 13px; color: #cbd0c4; font-size: 14px; }
.quiz-call a { color: #fff5e5; text-underline-offset: 3px; text-decoration: underline; white-space: nowrap; }
.band, .faq { padding-block: clamp(48px,6vw,90px); }
.band h2, .faq h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.punctuation { color: var(--terracotta); }
.options { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,3vw,46px); margin-top: 29px; }
.options article { display: flex; flex-direction: column; align-items: start; }
.options img { width: 100%; aspect-ratio: 1.8; object-fit: cover; object-position: center 60%; }
.options h3 { font-size: clamp(24px,2.2vw,34px); margin: 18px 0 8px; }
.options p, .faq p { color: var(--body); line-height: 1.52; }
.options a, .estimate-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 650; color: #833a23; }
.options a { margin-top: auto; padding-top: 12px; }
.faq { border-top: 1px solid var(--hairline); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,6vw,90px); }
.faq details { border-top: 1px solid var(--hairline); padding: 14px 0; }
.faq summary { cursor: pointer; font-size: 19px; }
.faq p { margin-top: 10px; max-width: 56ch; }
#pricing { scroll-margin-top: 18px; }
footer { padding: 25px 0; color: #d5d8cb; font-size: 13px; }
@media (max-width: 760px) {
  .top { min-height: 60px; }
  .brand-mark { transform: scale(.84) skewY(-15deg); margin-right: -4px; }
  .brand-name { font-size: 17px; }
  .brand-division { font-size: 7px; }
  .hero { display: flex; flex-direction: column; }
  .heroimage { order: -1; min-height: 0; height: clamp(195px,56vw,335px); }
  .portfolio-pair { grid-template-columns: 1.15fr 1fr; height: clamp(205px,60vw,340px); }
  .heroimage figcaption { padding: 33px var(--gutter) 12px; font-size: 12px; }
  .heroimage figcaption span { font-size: 8px; }
  .intro { width: 100%; padding: 25px var(--gutter) 29px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(50px,12.2vw,73px); margin-top: 13px; }
  .lead { margin: 14px 0 18px; font-size: 16px; line-height: 1.45; }
  .hero-actions { gap: 5px 16px; }
  .button { min-height: 46px; padding: 11px 14px; gap: 12px; }
  .under { font-size: 13px; gap: 5px; }
  .quiz-zone { padding-block: 32px 24px; }
  .prompt { font-size: 14px; margin: 7px 0 16px; }
  .photo-choices, .photo-choices.pair { grid-template-columns: 1fr; gap: 9px; }
  .photo-choice { display: grid; grid-template-columns: clamp(82px,26vw,146px) minmax(0,1fr) 24px; align-items: center; }
  .photo-choice img { height: 92px; }
  .choice-copy { padding: 9px 6px 9px 13px; }
  .choice-copy small { font-size: 13px; }
  .choice-mark { position: static; }
  .result-grid { display: block; margin-top: 14px; }
  .result { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 12px; padding-bottom: 12px; margin-bottom: 15px; border-bottom: 1px solid #536054; }
  .result > img { height: 100%; min-height: 104px; max-height: 160px; aspect-ratio: auto; }
  .result-copy { padding: 0; }
  .result-copy .eyebrow { font-size: 9px; }
  .result-copy h3 { margin: 3px 0; }
  .sample-notes { margin: 3px 0 0; }
  .edit { min-height: 32px; font-size: 13px; }
  .contact-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .contact-copy > * { grid-column: 1 / -1; }
  .contact-copy .field:nth-of-type(-n+2) { grid-column: auto; }
  .contact-copy .field, .contact-copy p { margin: 0; }
  .contact-copy .contact-intro { font-size: 14px; margin-bottom: 3px; }
  .quiz-call { margin-top: 16px; }
  .options, .faq { grid-template-columns: 1fr; }
  .options { gap: 28px; }
  .options img { aspect-ratio: 2; }
  .options h3 { margin-top: 12px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: clamp(42px,13.4vw,49px); }
  .intro { padding-block: 20px 22px; }
  .heroimage { height: 180px; }
  .portfolio-pair { height: 198px; }
  .hero-actions { gap: 5px 11px; }
  .photo-choice { grid-template-columns: 78px minmax(0,1fr) 17px; }
  .choice-copy { padding-left: 10px; }
  .button { font-size: 14px; }
  footer .wrap { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
