/* 82 Design Studio — shared stylesheet (mobile-first) */

:root {
  --background: #faf6f2;
  --surface: #f3ebe3;
  --text: #2a2224;
  --muted: #6b5a55;
  --primary: #b3353d;
  --primary-text: #ffffff;
  --accent: #b8874a;
  --dark: #2a1d1f;
  --dark-text: #f6efe9;
  --hero-bg: #7a1e26;
  --hero-text: #ffffff;

  --line: rgba(42, 34, 36, 0.14);
  --line-dark: rgba(246, 239, 233, 0.18);
  --hero-overlay-strong: rgba(122, 30, 38, 0.9);
  --hero-overlay-mid: rgba(122, 30, 38, 0.8);
  --hero-overlay-light: rgba(179, 53, 61, 0.66);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2.2vw, 2.85rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3.6vw, 4.1rem);
  --fs-price: clamp(2rem, 1.5rem + 2.4vw, 3.1rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 60px;
  --shadow: 0 10px 30px rgba(42, 29, 31, 0.10);
  --shadow-lift: 0 18px 40px rgba(42, 29, 31, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-wrap: break-word;
  padding-bottom: 68px;
}

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

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  font-weight: 800;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--hero-bg); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol { padding-inline-start: 1.2em; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--dark);
  color: var(--dark-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 0.75rem; color: var(--dark-text); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--hero { background: var(--hero-bg); color: var(--hero-text); }
.section--primary { background: var(--primary); color: var(--primary-text); }
.section--dark a:not(.btn),
.section--hero a:not(.btn),
.section--primary a:not(.btn) { color: inherit; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}
.section--dark .eyebrow,
.section--hero .eyebrow,
.section--primary .eyebrow { color: inherit; opacity: 0.9; }
.section--dark .eyebrow { color: var(--accent); opacity: 1; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); }
.section--dark .section-head p,
.section--hero .section-head p,
.section--primary .section-head p { color: inherit; opacity: 0.9; }

.lead { font-size: var(--fs-lg); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.btn--primary { background: var(--primary); color: var(--primary-text); }
.btn--primary:hover { background: var(--hero-bg); color: var(--primary-text); }
.btn--light { background: var(--hero-text); color: var(--hero-bg); }
.btn--light:hover { background: var(--surface); color: var(--hero-bg); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--primary-text); }
.btn--dark { background: var(--dark); color: var(--dark-text); }
.btn--dark:hover { background: var(--hero-bg); color: var(--dark-text); }
.btn--lg { min-height: 56px; padding: 0.9rem 1.7rem; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}
.text-link::after { content: "→"; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  min-height: var(--header-h);
  height: var(--header-h);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.logo-link img {
  height: clamp(32px, 9vw, 44px);
  width: auto;
  max-width: min(60vw, 200px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-text);
  border: 0;
}
.icon-btn:hover { background: var(--hero-bg); color: var(--primary-text); }
.icon-btn svg { width: 22px; height: 22px; }

.menu-toggle {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-toggle .bars::before,
.menu-toggle .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav { display: none; }
.header-cta { display: none; }

.mobile-drawer {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--background);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem var(--gutter) 1.25rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}
.mobile-drawer li a[aria-current="page"] {
  color: var(--primary);
  border-inline-start: 4px solid var(--primary);
  padding-inline-start: 0.75rem;
}
.mobile-drawer .btn { width: 100%; margin-top: 1rem; }
.drawer-meta { margin-top: 1rem; font-size: var(--fs-sm); color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: clip;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--hero-overlay-strong), var(--hero-overlay-mid));
}
.hero__inner {
  padding-block: clamp(2.5rem, 7vw, 6.5rem);
  max-width: var(--wrap);
}
.hero__content { max-width: 660px; }
.hero h1 { color: var(--hero-text); margin-bottom: 0.45em; }
.hero__sub { font-size: var(--fs-lg); max-width: 58ch; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1.6rem; }
.hero .btn-row .btn { flex: 1 1 220px; }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.proof-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(42, 29, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.proof-strip a { color: inherit; }
.stars { color: var(--hero-text); letter-spacing: 0.05em; }

.page-hero {
  background: var(--hero-bg);
  background-image:
    repeating-linear-gradient(135deg, rgba(179, 53, 61, 0.22) 0 2px, transparent 2px 22px),
    linear-gradient(120deg, var(--hero-bg), var(--primary));
  color: var(--hero-text);
  padding-block: clamp(2.75rem, 7vw, 5.5rem);
}
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 62ch; font-size: var(--fs-lg); }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .proof-strip { margin-top: 1.5rem; }

/* Trust strip */
.trust-strip { background: var(--surface); padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.trust-strip h2 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.promise-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}
.promise-line li {
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.promise-line strong {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.15rem;
}
.trust-note { margin: 1rem 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* Packages */
.package-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.package {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.package > * { min-width: 0; }
.package__price {
  font-family: var(--font-display);
  font-size: var(--fs-price);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.package__price small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.package h3 { margin-bottom: 0.3rem; }
.package p { color: var(--muted); margin: 0; }
.package--featured {
  background: var(--surface);
  border-radius: var(--radius);
  padding-inline: 1.25rem;
  border-bottom-color: transparent;
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-text);
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.package-note { margin-top: 1.25rem; color: var(--muted); font-size: var(--fs-sm); }

/* Carpentry strip */
.deals-layout { display: grid; gap: 2rem; }
.deals-layout > * { min-width: 0; }
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 62%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--accent) transparent;
}
.scroller:focus-visible { outline-offset: 6px; }
.deal-card {
  scroll-snap-align: start;
  background: rgba(246, 239, 233, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.deal-card .media { aspect-ratio: 4 / 5; }
.deal-card figcaption { padding: 0.9rem 1rem 1.1rem; }
.deal-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark-text);
  line-height: 1.1;
}
.deal-card span { font-size: var(--fs-sm); opacity: 0.88; }
.upgrade-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.upgrade-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 0.7rem;
}
.upgrade-list li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--accent);
}
.offer-box {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.offer-box p:last-child { margin-bottom: 0; }
.offer-box strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--dark-text); }

/* Media wrapper */
.media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bento gallery */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.bento figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
}
.bento figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2rem 0.85rem 0.75rem;
  background: linear-gradient(0deg, rgba(42, 29, 31, 0.85), rgba(42, 29, 31, 0));
  color: var(--dark-text);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.bento figcaption small { display: block; font-weight: 500; opacity: 0.9; }
.bento .wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Signature: meet the IDs */
.ids { display: grid; gap: 2.5rem; }
.ids > * { min-width: 0; }
.id-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.id-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.id-row > * { min-width: 0; }
.id-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}
.id-name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  opacity: 0.85;
}
.id-row blockquote { margin: 0; font-size: var(--fs-lg); line-height: 1.5; }
.id-row blockquote p { margin-bottom: 0.4rem; }
.id-row cite { font-style: normal; font-size: var(--fs-sm); opacity: 0.88; }
.homeowner-strip { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.homeowner-strip figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.homeowner-strip figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.homeowner-strip figcaption.visually-hidden { position: absolute; }
.strip-caption { grid-column: 1 / -1; font-size: var(--fs-sm); opacity: 0.88; margin: 0; }
.id-promise {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(42, 29, 31, 0.35);
  border-inline-start: 6px solid var(--hero-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  line-height: 1.25;
}
.id-promise span { display: block; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; margin-top: 0.6rem; opacity: 0.9; }

/* Reviews */
.rating-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
}
.rating-badge .big { font-family: var(--font-display); font-size: 2rem; color: var(--primary); line-height: 1; }
.rating-badge .stars-ink { color: var(--primary); letter-spacing: 0.08em; }
.reviews-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.review {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.review blockquote { margin: 0; }
.review blockquote p { margin-bottom: 0.75em; white-space: pre-line; }
.review .stars-ink { color: var(--primary); letter-spacing: 0.08em; font-size: 1.1rem; }
.review footer { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.review cite { font-style: normal; font-weight: 700; display: block; }
.review footer span { color: var(--muted); font-size: var(--fs-sm); }
.review details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.review details summary::-webkit-details-marker { display: none; }
.review details summary::after { content: " +"; margin-inline-start: 0.3rem; }
.review details[open] summary::after { content: " −"; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 820px; }
.timeline li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 4rem);
  line-height: 0.9;
  color: var(--primary);
  min-width: 2.2ch;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 1.1ch;
  top: 4.2rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--accent);
  opacity: 0.6;
}
.timeline h3 { margin-bottom: 0.35rem; }
.timeline p { color: var(--muted); margin: 0; }
.price-match {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius);
  border-inline-start: 6px solid var(--primary);
  max-width: 820px;
}
.price-match p { margin: 0; }

/* Split layout */
.split { display: grid; gap: 2rem; align-items: center; }
.split > * { min-width: 0; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.type-list { display: grid; gap: 1.25rem; }
.type-list article { border-top: 2px solid var(--accent); padding-top: 0.9rem; }
.type-list h3 { margin-bottom: 0.3rem; }
.type-list p { margin: 0; opacity: 0.9; }

/* Quote CTA */
.cta-grid { display: grid; gap: 2rem; align-items: start; }
.cta-grid > * { min-width: 0; }
.cta-call { margin-top: 1.5rem; }
.cta-call .btn { width: 100%; }
.promise-small { margin-top: 1rem; font-weight: 600; }

.quote-form {
  background: var(--background);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: 1rem;
}
.quote-form h3 { margin: 0; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(42, 34, 36, 0.35);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); outline: 3px solid rgba(179, 53, 61, 0.25); outline-offset: 0; }
.form-note { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.quote-form .btn { width: 100%; }

/* Showroom */
.showroom-grid { display: grid; gap: 2rem; }
.showroom-grid > * { min-width: 0; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.info-list svg { width: 24px; height: 24px; color: var(--primary); margin-top: 0.15rem; }
.info-list strong { display: block; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.hours-table th,
.hours-table td { text-align: start; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--line);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid > * { min-width: 0; }
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 0 0.4rem;
}
.footer-brand .tagline { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--fs-xs); }
.site-footer h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.socials { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-sm);
  display: grid;
  gap: 0.5rem;
  opacity: 0.92;
}
.footer-bottom p { margin: 0; }

/* Mobile bottom bar */
.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--dark);
  border-top: 1px solid var(--line-dark);
}
.mobile-bar .btn { min-height: 48px; padding-inline: 0.75rem; }

/* Back to top */
.back-to-top {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 80px;
  z-index: 95;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--hero-text);
  background: var(--hero-bg);
  color: var(--hero-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 22px; height: 22px; }

/* Content blocks for inner pages */
.prose { max-width: 70ch; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: pr; }
.principles li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}
.principles li::before {
  counter-increment: pr;
  content: counter(pr);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  min-width: 1.2ch;
}
.principles h3 { margin-bottom: 0.25rem; }
.principles p { margin: 0; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.project-grid figure { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--surface); }
.project-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.estate-grid { display: grid; gap: 1.25rem; }
.estate-card { margin: 0; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.estate-card .media { aspect-ratio: 1 / 1; }
.estate-card figcaption { padding: 1rem 1.15rem 1.25rem; }
.estate-card h3 { margin-bottom: 0.3rem; }
.estate-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.list-columns { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.list-columns li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 0.75rem; justify-content: space-between; flex-wrap: wrap; }
.list-columns li span { color: var(--muted); }
.section--dark .list-columns li { border-bottom-color: var(--line-dark); }
.section--dark .list-columns li span { color: var(--accent); }

.gift-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gift-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #ffffff; border: 1px solid var(--line); }
.gift-grid .media { aspect-ratio: 4 / 5; }
.gift-grid figcaption { padding: 0.8rem 1rem 1rem; font-weight: 700; }

.rebate-row { display: grid; gap: 1rem; }
.rebate {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--primary);
  color: var(--primary-text);
}
.rebate strong { display: block; font-family: var(--font-display); font-size: var(--fs-price); line-height: 1; margin-bottom: 0.4rem; }
.rebate p { margin: 0; }

.old-reviews { display: grid; gap: 1.25rem; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h2 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.contact-card p { margin-bottom: 0.75rem; }
.contact-card .btn { width: 100%; }
.form-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 640px;
}
.form-frame iframe { width: 100%; height: 760px; border: 0; }
.prefill-note {
  background: var(--surface);
  border-inline-start: 6px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.prefill-note[hidden] { display: none; }
.prefill-note p { margin: 0; }

/* Tablet */
@media (min-width: 600px) {
  .scroller { grid-auto-columns: minmax(220px, 40%); }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento .wide { grid-column: span 2; aspect-ratio: auto; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .estate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rebate-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .old-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homeowner-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .back-to-top { bottom: 1.5rem; }
  .menu-toggle,
  .mobile-drawer,
  .header-call { display: none !important; }
  .logo-link img { height: 48px; max-width: 220px; }
  .primary-nav { display: block; margin-inline-start: auto; }
  .primary-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
  .primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-inline: 0.85rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-pill);
    position: relative;
  }
  .primary-nav a:hover { background: var(--surface); color: var(--text); }
  .primary-nav a[aria-current="page"] { color: var(--primary); }
  .primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline: 0.85rem;
    bottom: 6px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
  }
  .header-actions { margin-inline-start: 0.5rem; }
  .header-cta { display: inline-flex; }

  .hero::before {
    background: linear-gradient(90deg, var(--hero-overlay-strong) 0%, var(--hero-overlay-mid) 55%, var(--hero-overlay-light) 100%);
  }
  .hero .btn-row .btn { flex: 0 0 auto; }

  .package {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: center;
  }
  .package__price { text-align: end; }
  .ids { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .homeowner-strip { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .id-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: start; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-call .btn { width: auto; }
  .showroom-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { grid-template-columns: 1fr auto; }
}

/* Desktop */
@media (min-width: 1024px) {
  .deals-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
  .scroller { grid-auto-columns: minmax(220px, 34%); }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .bento figure { aspect-ratio: auto; }
  .bento .wide { grid-column: span 2; grid-row: span 2; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .estate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gift-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .list-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1600px) {
  :root { --wrap: 1320px; }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn,
  .icon-btn,
  .primary-nav a,
  .socials a,
  .back-to-top,
  .text-link { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, visibility 0.25s ease; }
  .btn:hover,
  .back-to-top:hover { transform: translateY(-2px); }
  .menu-toggle .bars,
  .menu-toggle .bars::before,
  .menu-toggle .bars::after { transition: transform 0.2s ease, top 0.2s ease, background-color 0.2s ease; }
  .bento img,
  .deal-card img,
  .project-grid img,
  .estate-card img { transition: transform 0.5s ease; }
  .bento figure:hover img,
  .deal-card:hover img,
  .project-grid figure:hover img,
  .estate-card:hover img { transform: scale(1.04); }
  .review,
  .estate-card,
  .principles li { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .review:hover,
  .estate-card:hover,
  .principles li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
.site-footer address { font-style: normal; }
.section--dark .hours-table th,
.section--dark .hours-table td { border-bottom-color: var(--line-dark); }
.form-frame + .form-note { margin-top: 1rem; }
.price-match--spaced { margin-top: 1.5rem; }
.section--hero .list-columns li { border-bottom-color: rgba(255, 255, 255, 0.25); }
.section--hero .list-columns li span { color: inherit; font-weight: 700; }
.hero .eyebrow,
.page-hero .eyebrow { color: inherit; opacity: 0.92; }
@media (min-width: 1024px) {
  .bento .wide--flat { grid-row: span 1; }
  .bento .wide--full { grid-column: 1 / -1; grid-row: span 2; }
}
.package .package__price { color: var(--primary); margin: 0; }
