/* ============================================================
   Brooks Home Improvements. Hand-built, no framework.
   Editorial warmth: cream paper, forest-green ink, cedar accent
   (palette drawn from the Brooks logo: green, cream, cedar wood)
   ============================================================ */

:root {
  --paper:  #f6f2e8;
  --paper-2:#ede7d6;
  --ink:    #1d241c;
  --ink-2:  #48513f;
  --copper: #b3672c;
  --copper-2:#8f5122;
  --dark:   #17211a;
  --dark-2: #212b22;
  --cream-on-dark: #ece6d4;
  --hairline: rgba(29, 36, 28, .16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

em { font-style: italic; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 99;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: .65rem 1.4rem;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--copper); border-color: var(--copper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-copper { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-2); border-color: var(--copper-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .9rem var(--gutter);
  max-width: 1440px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 560;
  line-height: 1;
}
.brand-name em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: .25rem;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-inline: auto;
}
.site-nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.site-nav a:hover { color: var(--copper); }

.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.phone-link {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.phone-link:hover { color: var(--copper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.25rem var(--gutter) 2rem;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu a { text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: 1340px;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  margin-bottom: 1.5rem;
}
.hero h1 .line { display: block; }
.hero h1 em { color: var(--copper); }

.hero-sub {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .7rem;
}
.hero-badges li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .4rem .9rem;
  background: color-mix(in srgb, var(--paper-2) 60%, transparent);
}

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--hairline);
}
.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-on-dark);
  background: rgba(23, 33, 26, .72);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .45rem 1rem;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  background: var(--paper-2);
  padding: .95rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 480;
  white-space: nowrap;
}
.marquee-track i { color: var(--copper); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--gutter);
}
.section > * { max-width: 1240px; margin-inline: auto; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.section-sub { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.1rem; }

.section-cream { background: var(--paper-2); }

.section-dark {
  background: var(--dark);
  color: var(--cream-on-dark);
}
.section-dark .kicker { color: #d98e50; }
.section-dark h2 em { color: #d98e50; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.service {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.9rem 1.7rem 2.1rem;
  position: relative;
  transition: background .35s;
  box-shadow: inset 0 0 0 0 var(--copper);
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service:hover { background: var(--paper-2); }
.service:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--copper);
  display: block;
  margin-bottom: 1.4rem;
}
.service h3 { margin-bottom: .7rem; }
.service p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Work: compare + bento gallery ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}
.compare figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(236, 230, 212, .14);
}
.compare img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}
.compare figcaption {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
}
.compare-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cream-on-dark);
  background: rgba(23, 33, 26, .78);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .45rem 1rem;
}
.compare-tag-after { background: var(--copper); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 1rem;
  max-width: 1240px;
  margin-inline: auto;
}
.gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(236, 230, 212, .14);
}
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }

.work-cta {
  margin-top: 2rem;
  text-align: center;
  color: #c6bfa9;
}

/* ---------- Process ---------- */
.process-list {
  list-style: none;
  max-width: 1240px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.process-list li { display: grid; gap: 1.1rem; align-content: start; }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--copper);
}
.process-list h3 { margin-bottom: .5rem; }
.process-list p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Service area (inline, in CTA) ---------- */
.area-note {
  margin-top: 2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d98e50;
  margin-bottom: .8rem;
}
.area-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.area-inline li {
  font-size: .88rem;
  font-weight: 500;
  color: var(--cream-on-dark);
  border: 1px solid rgba(236, 230, 212, .22);
  border-radius: 999px;
  padding: .4rem .95rem;
}

.text-link { color: var(--copper-2); text-decoration-color: rgba(179, 103, 44, .45); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 52rem;
  border-top: 1px solid var(--hairline);
}
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 440;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--copper); }
.faq-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--copper);
  transition: transform .3s var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
details[open] .faq-icon::after { transform: rotate(90deg); }
.faq-list details p {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--ink-2);
  max-width: 44rem;
}

/* ---------- CTA / form ---------- */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  max-width: 1240px;
  margin-inline: auto;
}
.cta h2 { margin-bottom: 1.1rem; }
.cta .cta-inner > div > p { color: #cbbfae; max-width: 32rem; }
.inline-link { color: #d98e50; text-decoration-color: rgba(217, 142, 80, .5); }

.estimate-form {
  display: grid;
  gap: 1.1rem;
  background: var(--dark-2);
  border: 1px solid rgba(239, 230, 214, .14);
  border-radius: 18px;
  padding: 2rem;
}
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.estimate-form label {
  display: grid;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cbbfae;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream-on-dark);
  background: rgba(246, 241, 232, .06);
  border: 1px solid rgba(239, 230, 214, .18);
  border-radius: 10px;
  padding: .75rem .9rem;
  transition: border-color .2s;
}
.estimate-form select option { color: var(--ink); }
.estimate-form :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--copper);
}
.estimate-form textarea { resize: vertical; }
.estimate-form .btn { justify-self: start; margin-top: .3rem; }
.form-note { font-size: .85rem; color: #a99b87; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2rem;
  border-top: 1px solid rgba(239, 230, 214, .1);
}
.footer-inner {
  max-width: 1240px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
}
.footer-logo {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  border: 1px solid rgba(236, 230, 212, .16);
  margin-bottom: 1.4rem;
}
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p { color: #a99b87; max-width: 26rem; font-size: .95rem; }
.footer-col { display: grid; gap: .65rem; align-content: start; }
.footer-col h4 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d98e50;
  margin-bottom: .4rem;
}
.footer-col a {
  text-decoration: none;
  color: #cbbfae;
  font-size: .95rem;
  width: fit-content;
}
.footer-col a:hover { color: var(--cream-on-dark); }
.footer-col p { color: #a99b87; font-size: .9rem; }

.footer-legal {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(239, 230, 214, .12);
  font-size: .85rem;
  color: #a99b87;
}
.footer-legal a { color: #cbbfae; text-decoration: none; }
.footer-legal a:hover { color: var(--cream-on-dark); }

/* ---------- Booking page ---------- */
.booking-hero { padding-bottom: 0; }
.booking-title { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }

.booking-embed {
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: 1240px;
  margin-inline: auto;
}
.booking-embed iframe {
  width: 100%;
  height: min(1400px, 160vh);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #fff;
}
.booking-fallback {
  margin-top: 1rem;
  font-size: .92rem;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- Chat launcher ---------- */
.chat-root {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .8rem;
}
.chat-launcher {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.3rem;
  font: 600 .95rem var(--font-body);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(23, 33, 26, .32);
  transition: transform .3s var(--ease), background .25s;
}
.chat-launcher:hover { background: var(--copper); transform: translateY(-2px); }
.chat-launcher.open { background: var(--copper); }
.chat-bubble { width: 21px; height: 21px; }

.chat-panel {
  width: min(320px, calc(100vw - 2.5rem));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.1rem;
  box-shadow: 0 18px 48px rgba(23, 33, 26, .25);
}
.chat-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 480;
  margin-bottom: .3rem;
}
.chat-sub {
  font-size: .88rem;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.chat-channel {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: .7rem .85rem;
  margin-bottom: .6rem;
  transition: background .2s, border-color .2s;
}
.chat-channel:hover { background: var(--paper-2); border-color: var(--copper); }
.chat-channel strong { display: block; font-size: .95rem; }
.chat-channel small { color: var(--ink-2); font-size: .8rem; }
.chat-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.chat-icon svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .chat-label { display: none; }
  .chat-launcher { padding: .95rem; }
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  gap: .7rem;
  padding: .7rem max(1rem, env(safe-area-inset-left)) calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--dark) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(236, 230, 212, .14);
}
.mobile-cta .btn { flex: 1; text-align: center; }
.btn-ghost-dark {
  background: transparent;
  color: var(--cream-on-dark);
  border-color: rgba(236, 230, 212, .4);
}
.btn-ghost-dark:hover { background: var(--cream-on-dark); color: var(--dark); }

@media (max-width: 820px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .chat-root { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 5rem; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 40% 30%; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 820px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .hero-badges li {
    text-align: center;
    white-space: nowrap;
    padding: .45rem .25rem;
    font-size: .64rem;
    letter-spacing: .04em;
  }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .area-inline { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .area-inline li { text-align: center; white-space: nowrap; padding: .45rem .3rem; }
  .compare { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery .g-wide { grid-column: span 1; }
}
