/* WARMFOLD INSULATION
   Warm white, thermal purple and heat orange. A thermal survey you drag
   across a house, a thermal diagram of where heat goes, a loft ruler, how a
   cavity wall is filled, reviews, FAQ, free thermal survey. */

:root {
  --background: #F4F2EE;
  --card: #FFFFFF;
  --foreground: #16202A;
  --primary-cta: #2A1454;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #16202A;
  --accent: #A8361A;
  --background-accent: #ECE7F3;
  --radius: 0.875rem;
  --content-width: 88vw;
  --section-head-size: var(--text-7xl);
  --nav-ink: var(--foreground);
  --font-body: 'Spline Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Excon', -apple-system, sans-serif;

  --hot: #F68A28;
  --tint: #ECE7F3;
  --line: #E1DDD5;
  --muted: #4F5864;
  --btn-radius: 12px;
  --btn-icon-radius: 8px;
  --card-radius: 18px;
  --nav-radius: 16px;
  --btn-icon-bg: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.94);
  --lead-bg: #2A1454;
  --footer-bg: #1B1233;
  --footer-head: #F6A04A;
  --star: #C2410C;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 88vw, 98rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.hero__title, .section-head h2, .faq__intro h2, .faq__body h2, .contact__panel h2, .footer-brand, .loftx__body h2 { font-weight: 900; letter-spacing: -0.035em; }
.navbar__brand { font-weight: 900; letter-spacing: -0.02em; }
.navbar__brand::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 6px; background: linear-gradient(180deg, #FCD04F 0 30%, #F68A28 30% 55%, #AA2270 55% 78%, #2A1454 78%); }

/* --- Hero: the copy, and the thermal survey you can drag across ------------------- */

.hero { padding-top: 8.25rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__title { max-width: 9ch; font-size: clamp(3.2rem, 6vw, 6.3rem); line-height: 0.95; }
.hero__lede { max-width: 42ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; width: 100%; max-width: 32rem; margin-top: 0.3rem; }
.hero__facts li { padding: 0.75rem 0.85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: var(--text-sm); line-height: 1.35; color: var(--muted); }
.hero__facts b { display: block; font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 900; color: var(--foreground); }

.thermo { --split: 46%; display: grid; gap: 0.85rem; }
.thermo__frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 22px; background: #120A2A; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.thermo__photo, .thermo__heat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thermo__heat { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.thermo__vf { position: absolute; inset: 1rem; pointer-events: none; background:
  linear-gradient(#FFFFFF, #FFFFFF) left top / 1.4rem 2px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) left top / 2px 1.4rem no-repeat,
  linear-gradient(#FFFFFF, #FFFFFF) right top / 1.4rem 2px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) right top / 2px 1.4rem no-repeat,
  linear-gradient(#FFFFFF, #FFFFFF) left bottom / 1.4rem 2px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) left bottom / 2px 1.4rem no-repeat,
  linear-gradient(#FFFFFF, #FFFFFF) right bottom / 1.4rem 2px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) right bottom / 2px 1.4rem no-repeat; opacity: 0.85; }
.thermo__tag { position: absolute; z-index: 2; top: 1.6rem; left: 1.6rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.65rem; border-radius: 8px; background: rgba(18, 10, 42, 0.72); color: #FFFFFF; font-size: var(--text-xs); font-weight: 500; pointer-events: none; }
.thermo__tag i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #F87171; }
.thermo__scale { position: absolute; top: 18%; right: 1.6rem; bottom: 18%; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; color: #FFFFFF; font-size: 0.68rem; font-weight: 600; pointer-events: none; }
.thermo__scale span { padding: 0.1rem 0.3rem; border-radius: 4px; background: rgba(18, 10, 42, 0.72); }
.thermo__scale i { flex: 1; width: 0.55rem; border-radius: 0.3rem; border: 1px solid rgba(255, 255, 255, 0.7); background: linear-gradient(0deg, #080620, #280C5A 18%, #62127F 34%, #AA226E 50%, #DE483A 64%, #F68A28 78%, #FCD050 90%, #FFF6D6); }
.thermo__spot { position: absolute; left: 66%; top: 47%; width: 0; height: 0; pointer-events: none; transition: opacity 0.2s; }
.thermo__spot::before { content: ''; position: absolute; left: -0.8rem; top: -0.8rem; width: 1.6rem; height: 1.6rem; border: 2px solid #FFFFFF; border-radius: 50%; }
.thermo__spot::after { content: ''; position: absolute; left: -1.25rem; top: -1px; width: 2.5rem; height: 2px; background: #FFFFFF; box-shadow: 1.25rem -1.25rem 0 -1px transparent; }
.thermo__spot b { position: absolute; left: 1.2rem; top: -2.2rem; padding: 0.2rem 0.45rem; border-radius: 6px; background: rgba(18, 10, 42, 0.78); color: #FFFFFF; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.thermo__spot.is-hidden { opacity: 0; }
.thermo__range { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; opacity: 0; }
.thermo__handle { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--split); pointer-events: none; }
.thermo__handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #FFFFFF; }
.thermo__handle span { position: absolute; top: 50%; left: -1.4rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-top: -1.4rem; border-radius: 50%; background: #FFFFFF; color: var(--primary-cta); box-shadow: 0 8px 20px rgba(18, 10, 42, 0.35); }
.thermo__handle svg { width: 1.2rem; height: 1.2rem; }
.thermo__range:focus-visible ~ .thermo__handle span { outline: 3px solid var(--hot); outline-offset: 3px; }
.thermo__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; }
.seg { display: inline-flex; gap: 0.25rem; padding: 0.28rem; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.seg button { min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 10px; background: transparent; color: var(--foreground); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--primary-cta); color: #FFFFFF; }
.thermo__note { font-size: var(--text-sm); color: var(--muted); }

/* --- Where your heat goes ------------------------------------------------------------ */

.heat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1rem; }
.heat__pic { display: grid; place-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.hz { display: block; width: 100%; max-width: 34rem; height: auto; }
.hz__z { cursor: pointer; transition: opacity 0.3s; }
.hz.is-picking .hz__z { opacity: 0.3; }
.hz.is-picking .hz__z.is-on { opacity: 1; }
.hz__z.is-on > rect:not(.hz__hit), .hz__z.is-on > polygon { stroke: #16202A; stroke-width: 4; stroke-linejoin: round; }
.hz__air { fill: none; stroke: #DE483A; stroke-width: 3.5; stroke-linecap: round; }
.hz__chip { pointer-events: none; }
.hz__chip rect { fill: #FFFFFF; stroke: #16202A; stroke-width: 2; }
.hz__chip text { font-family: var(--font-heading); font-size: 16px; font-weight: 900; text-anchor: middle; fill: #16202A; }
.heat__side { display: flex; flex-direction: column; gap: 1rem; }
.heat__list { display: grid; gap: 0.45rem; }
.zone { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 0.35rem 0.75rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--foreground); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.zone i { width: 1rem; height: 1rem; border-radius: 4px; background: var(--c); }
.zone span { font-weight: 600; }
.zone b { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 900; }
.zone em { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--primary-cta) calc(var(--w) / 35 * 100%), var(--line) 0); }
.zone[aria-pressed='true'] { border-color: var(--primary-cta); box-shadow: inset 0 0 0 1px var(--primary-cta); }
.heat__detail { display: grid; gap: 0.6rem; padding: 1.4rem; border-radius: 16px; background: var(--primary-cta); color: #FFFFFF; }
.heat__detail h3 { font-size: var(--text-2xl); font-weight: 900; }
.heat__detail p { font-size: var(--text-base); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.heat__detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0.3rem 0 0; }
.heat__detail dl div { padding: 0.65rem 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.1); }
.heat__detail dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #F6C27A; }
.heat__detail dd { margin: 0.15rem 0 0; font-weight: 600; }

/* --- Measure your loft ---------------------------------------------------------------- */

.section--tint { background: var(--tint); }
.loftx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.loftx__card { display: grid; gap: 1rem; padding: 1.4rem; border-radius: var(--card-radius); background: var(--card); }
.loft { display: block; width: 100%; height: auto; }
.loft__joist { fill: #C89B6D; stroke: #8A6440; stroke-width: 1.5; }
.loft__w1, .loft__w2 { transition: y 0.15s, height 0.15s; }
.loft__target { stroke: #B42318; stroke-width: 2.5; stroke-dasharray: 9 7; }
.loft__tlab, .loft__cap { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.loft__tlab { fill: #B42318; }
.loft__cap { fill: #6B6358; }
.loft__ruler { fill: #FBF3D9; stroke: #8A6440; stroke-width: 1.5; }
.loft__ticks path { stroke: #5B4630; stroke-width: 1.5; }
.loft__ticks text { font-family: var(--font-body); font-size: 11px; font-weight: 700; fill: #5B4630; }
.loft__mark { fill: var(--primary-cta); }
.loft__now { font-family: var(--font-heading); font-size: 20px; font-weight: 900; fill: var(--primary-cta); }
.loftx__slider { display: grid; gap: 0.5rem; font-weight: 600; }
.loftx__slider > span { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.loftx__slider output { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 900; color: var(--primary-cta); }
.loftx__slider input { width: 100%; height: 2.75rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.loftx__slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #F2CF63 0 90%, #B42318 90% 90.6%, #E4DED3 90.6%); }
.loftx__slider input::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -11px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); box-shadow: 0 0 0 1px rgba(22, 32, 42, 0.3); -webkit-appearance: none; }
.loftx__slider input::-moz-range-track { height: 8px; border-radius: 8px; background: #E4DED3; }
.loftx__slider input::-moz-range-thumb { width: 22px; height: 22px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); }
.loftx__slider input:focus-visible { outline: 3px solid var(--hot); outline-offset: 4px; border-radius: 8px; }
.loftx__result { display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--background); }
.loftx__result p:first-child { font-size: var(--text-lg); font-weight: 600; line-height: 1.4; }
.loftx__price { font-size: var(--text-base); color: var(--muted); }
.loftx__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.loftx__body h2 { font-size: var(--section-head-size); line-height: 1; max-width: 10ch; }
.loftx__body > p:not(.kicker) { max-width: 44ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.loftx__hatch { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.6rem; border-radius: 14px; background: var(--card); }
.loftx__hatch img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.loftx__hatch figcaption { font-size: var(--text-sm); line-height: 1.45; color: var(--muted); }

/* --- Cavity walls ---------------------------------------------------------------------- */

.cav { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cav__media { position: sticky; top: 7rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem; }
.cav__media img { width: 100%; height: 30rem; object-fit: cover; border-radius: var(--card-radius); }
.cav__media img:last-child { margin-top: 3rem; }
.cav__body { display: flex; flex-direction: column; gap: 2rem; }
.cav__steps { display: grid; gap: 0.8rem; }
.cav__steps li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.cav__steps b { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: 900; line-height: 1; color: #C2410C; }
.cav__steps h3 { font-size: var(--text-xl); font-weight: 700; }
.cav__steps p { margin-top: 0.3rem; font-size: var(--text-base); line-height: 1.55; color: var(--muted); }

/* --- Standard blocks -------------------------------------------------------------------- */

.accordion .badge-num { background: var(--primary-cta); color: #FFFFFF; }

/* --- Laptop and below -------------------------------------------------------------------- */

@media (width <= 1100px) {
  .heat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (width <= 960px) {
  .hero__grid, .heat, .loftx, .cav { grid-template-columns: minmax(0, 1fr); }
  .cav__media { position: static; }
  .cav__media img { height: 18rem; }
  .cav__media img:last-child { margin-top: 0; }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.8rem, 13vw, 3.9rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts { gap: 0.4rem; }
  .hero__facts li { padding: 0.65rem; }
  .hero__facts b { font-size: var(--text-lg); }
  .thermo__frame { border-radius: 16px; }
  .thermo__vf { inset: 0.6rem; }
  .thermo__tag { top: 1rem; left: 1rem; font-size: 0.62rem; }
  .thermo__scale { right: 1rem; top: 22%; bottom: 14%; font-size: 0.58rem; }
  .thermo__spot b { font-size: 0.62rem; top: -1.9rem; }
  .thermo__controls { flex-direction: column; align-items: stretch; }
  .seg button { flex: 1; }
  .heat__pic { padding: 0.9rem; }
  .hz__chip text { font-size: 19px; }
  .loftx__card { padding: 0.9rem; }
  .loft__ticks text { font-size: 19px; }
  .loft__ticks text.minor { display: none; }
  .loft__tlab, .loft__cap { font-size: 19px; }
  .loft__now { font-size: 26px; }
  .loftx__body h2 { font-size: var(--text-6xl); }
  .cav__media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cav__media img { height: 13rem; }
  .cav__steps li { grid-template-columns: 2.4rem minmax(0, 1fr); padding: 1rem; gap: 0.7rem; }
  .cav__steps b { font-size: var(--text-2xl); }
}
