/* ── Entrance animations ─────────────────────────────────────────
   Scoped via .is-animated on the .page wrapper. app.jsx, portfolio.jsx
   and template.jsx all set this flag; rules only apply on those entries. */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Homepage hero stagger on page load */
.is-animated .hero-eyebrow,
.is-animated .hero-title,
.is-animated .hero-bullets,
.is-animated .hero-cta,
.is-animated .hero-meta {
  animation: fade-up 2800ms cubic-bezier(.16, 1, .3, 1) both;
}
.is-animated .hero-eyebrow { animation-delay: 0ms; }
.is-animated .hero-title   { animation-delay: 250ms; }
.is-animated .hero-bullets { animation-delay: 500ms; }
.is-animated .hero-cta     { animation-delay: 750ms; }
.is-animated .hero-meta    { animation-delay: 1000ms; }

/* Homepage section reveal — fires when section's top reaches 75% down
   the viewport (IntersectionObserver in app.jsx adds .is-visible). */
.is-animated .proof,
.is-animated .upscale,
.is-animated .what,
.is-animated .benefits,
.is-animated .featured,
.is-animated .pricing,
.is-animated .contact {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1700ms cubic-bezier(.16, 1, .3, 1),
    transform 1700ms cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.is-animated .proof.is-visible,
.is-animated .upscale.is-visible,
.is-animated .what.is-visible,
.is-animated .benefits.is-visible,
.is-animated .featured.is-visible,
.is-animated .pricing.is-visible,
.is-animated .contact.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .is-animated .hero-eyebrow,
  .is-animated .hero-title,
  .is-animated .hero-bullets,
  .is-animated .hero-cta,
  .is-animated .hero-meta { animation: none; }
  .is-animated .proof,
  .is-animated .upscale,
  .is-animated .what,
  .is-animated .benefits,
  .is-animated .featured,
  .is-animated .pricing,
  .is-animated .contact { opacity: 1; transform: none; transition: none; }
}

/* ── Reset + tokens ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; }

/* Lenis smooth scroll — overrides native scroll-behavior; init script
   in each HTML head adds .lenis classes to <html>. */
html { scroll-behavior: auto !important; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: rgb(249,247,243);
  color: rgb(16,16,16);
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: 0; padding: 0; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --ink: rgb(16,16,16);
  --ink-soft: rgb(115,115,115);
  --hairline: rgba(16,16,16,0.12);
  --cream: rgb(249,247,243);
  --bone: rgb(246,246,244);
  --peach: rgb(243,237,229);
  --taupe: rgb(226,226,219);
  --sage: rgb(214,230,232);
  --line: rgba(16,16,16,0.08);
  --accent-green: rgb(86,109,87);
  --accent-green-soft: rgb(214,222,210);
}

/* ── Type ─────────────────────────────────────────────────────── */
h1, h2, h3, .section-title, .hero-title {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
[data-uppercase="1"] .section-title,
[data-uppercase="1"] .hero-title { text-transform: uppercase; letter-spacing: 0.005em; }
em {
  font-family: "Cormorant Garamond", "Lora", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0;
  text-transform: none !important;
  color: rgb(16,16,16);
}
.kicker {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 500;
}
.kicker.light { color: rgba(255,255,255,0.7); }

/* ── Page shell ───────────────────────────────────────────────── */
.page {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: rgb(255,255,255);
  height: 56px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: rgb(40,40,40); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: rgb(255,255,255);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

.ghost-link {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.ghost-link:hover { gap: 14px; }
.ghost-link .arrow { font-size: 16px; }

/* ── Vertical script labels ───────────────────────────────────── */
.script-label {
  position: absolute;
  left: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  z-index: 5;
  pointer-events: none;
}
.script-text {
  font-family: "Pinyon Script", cursive;
  font-size: 32px;
  line-height: 40px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* ── NAV — floating glass pill over hero ──────────────────────── */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 48px);
  max-width: 1480px;
  transition: top 0.35s ease, max-width 0.35s ease;
}
.nav.is-scrolled {
  top: 14px;
  max-width: 1280px;
}
.nav-inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 14px 18px 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 24px 60px -20px rgba(20,20,18,0.35),
    0 8px 24px -10px rgba(20,20,18,0.25);
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled .nav-inner {
  background: rgba(249,247,243,0.78);
  border-color: rgba(20,20,18,0.08);
  padding: 10px 14px 10px 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgb(255,255,255);
  transition: color 0.3s;
}
.nav.is-scrolled .logo { color: var(--ink); }
.logo-glyph { color: inherit; flex-shrink: 0; }
.logo-stack { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.logo-word {
  font-family: "Lora", serif;
  font-size: 22px;
  letter-spacing: 0.005em;
  font-weight: 500;
}
.logo-word em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.06em;
  font-weight: 500;
  margin: 0 0.5px;
}
.logo-word .lw-luxury { font-weight: 600; letter-spacing: 0.005em; }
.logo-word .lw-tld { font-weight: 400; font-size: 0.78em; opacity: 0.65; letter-spacing: 0.04em; }
.logo-tag {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.nav.is-scrolled .logo-tag { color: var(--ink-soft); }

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255,255,255);
  transition: opacity 0.2s, color 0.3s;
  position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.nav.is-scrolled .nav-links a { color: var(--ink); text-shadow: none; }
.nav-links a:hover { opacity: 0.55; }
.nav-sep {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  user-select: none;
  transition: color 0.3s;
}
.nav.is-scrolled .nav-sep { color: rgba(16,16,16,0.3); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav.is-scrolled .nav-status { color: var(--ink-soft); }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(86,109,87,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(86,109,87,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(86,109,87,0.05); }
}
.nav-cta {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgb(255,255,255);
  background: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, gap 0.2s;
}
.nav-cta:hover { background: rgb(40,40,40); gap: 16px; }

/* Hamburger button — desktop hidden, shown on mobile */
.nav-hamburger {
  display: none;
  position: relative;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger span {
  position: absolute;
  width: 16px; height: 1.5px;
  background: rgb(255,255,255);
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), opacity 0.2s;
}
.nav-hamburger span:nth-child(1) { transform: translateY(-5px); }
.nav-hamburger span:nth-child(3) { transform: translateY(5px); }
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); }
.nav.is-scrolled .nav-hamburger { border-color: rgba(20,20,18,0.25); }
.nav.is-scrolled .nav-hamburger span { background: var(--ink); }

/* Mobile dropdown menu — sits below the nav pill, slides open */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: rgba(20,20,18,0.95);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(.16,1,.3,1), opacity 0.25s ease, padding 0.25s ease;
  z-index: 49;
}
.nav-mobile-menu.is-open {
  max-height: 480px;
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-menu a {
  display: block;
  padding: 14px 18px;
  color: rgb(255,255,255);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.nav-mobile-menu a:last-child { border-bottom: 0; }
.nav-mobile-cta {
  margin-top: 8px;
  background: rgb(255,255,255);
  color: var(--ink) !important;
  border-radius: 999px;
  text-align: center;
  border-bottom: 0 !important;
  letter-spacing: 0.16em;
}
.nav.is-scrolled .nav-mobile-menu {
  background: rgba(249,247,243,0.96);
  border-color: rgba(20,20,18,0.08);
}
.nav.is-scrolled .nav-mobile-menu a { color: var(--ink); border-bottom-color: rgba(20,20,18,0.08); }
.nav.is-scrolled .nav-mobile-cta { background: var(--ink); color: rgb(255,255,255) !important; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-frame {
  position: relative;
  height: clamp(672px, 80vh, 920px);
  width: 100%;
  z-index: 2;
}
.hero-blockbg {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 552px;
  height: 100%;
  z-index: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-image: url(assets/hero-kitchen.jpg?v=2);
  background-size: cover;
  background-position: center;
  width: 100%;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  transition: background 0.3s;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgb(255,255,255);
  padding: 0 80px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}
.hero-cta .btn { text-shadow: none; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-title {
  font-size: 56px;
  line-height: 1.04;
  color: rgb(255,255,255);
  max-width: 1100px;
  font-weight: 500;
}
.hero-title em { color: rgba(255,255,255,0.95); font-size: 1.05em; }
[data-uppercase="1"] .hero-title { font-size: 72px; }
.hero-sub {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  margin: 28px 0 36px;
}
.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 48px;
  margin: 10px 0 40px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: rgb(255,255,255);
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-cta .btn { background: rgb(255,255,255); color: var(--ink); }
.hero-cta .btn:hover { background: rgba(255,255,255,0.9); }
.hero-cta .ghost-link { color: rgb(255,255,255); border-color: rgba(255,255,255,0.6); }

.hero-meta {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding: 28px 80px 0;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.hero-meta > div:first-child { border-left: 0; padding-left: 0; }
.meta-num {
  font-family: "Lora", serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.meta-unit { font-size: 18px; color: var(--ink-soft); }
.meta-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Section heads ────────────────────────────────────────────── */
.section-head {
  max-width: 1216px;
  margin: 0 auto 64px;
  padding: 0 80px;
}
.section-head.center { text-align: center; }
.section-head.center .kicker { display: inline-block; }
.section-title {
  font-size: 64px;
  line-height: 1.05;
}
.section-title.light { color: rgb(255,255,255); }
.section-title.light em { color: rgba(255,255,255,0.95); }
.section-title.huge { font-size: 84px; }
.section-sub {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 24px auto 0;
}
.section-head:not(.center) .section-sub { margin-left: 0; }

/* ── PROOF ────────────────────────────────────────────────────── */
.proof {
  position: relative;
  padding: 144px 32px 56px;
  background: var(--cream);
}
.proof .section-head {
  max-width: 1440px;
  margin: 0 auto 80px;
  padding: 0 80px 0 128px;
}
.proof-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  /* fade the card edges into the cream background */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.proof-carousel:active { cursor: grabbing; }
.proof-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
}
.proof-card {
  display: block;
  flex: 0 0 clamp(380px, 32vw, 540px);
  width: clamp(380px, 32vw, 540px);
  cursor: pointer;
}
.proof-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.proof-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(16,16,16,0.6));
  transition: opacity 0.35s;
}
.proof-num {
  position: absolute;
  top: 24px; left: 24px;
  width: 56px; height: 56px;
  background: rgb(255,255,255);
  color: var(--ink);
  font-family: "Lora", serif;
  font-size: 22px;
  display: grid; place-items: center;
  z-index: 2;
}
.proof-cta {
  position: absolute;
  bottom: 28px; left: 28px;
  z-index: 3;
  color: rgb(255,255,255);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.proof-card.is-hover .proof-cta { opacity: 1; transform: translateY(0); }
.proof-card.is-hover .proof-img { transform: scale(1.01); }
.proof-img { transition: transform 0.6s ease; }
/* Touch devices have no hover, so 'View page →' would never appear and
   cards would read as static images. Show it permanently when hover
   isn't available. */
@media (hover: none) {
  .proof-cta { opacity: 1; transform: translateY(0); }
}
.proof-meta {
  margin-top: 20px;
  padding-right: 24px;
}
.proof-name {
  font-family: "Lora", serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.proof-info {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-info .dot { color: rgba(16,16,16,0.4); }

.proof-foot {
  max-width: 1760px;
  margin: 48px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ── WHAT YOU GET ─────────────────────────────────────────────── */
.what {
  position: relative;
  padding: 80px 80px 144px 160px;
}
.what-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.what-picture {
  position: relative;
  height: 760px;
}
.what-pic-bg {
  position: absolute;
  left: 0; top: 56px;
  width: 70%;
  height: calc(100% - 56px);
}
.what-pic-img {
  position: absolute;
  left: 48px;
  top: 0;
  right: 0; bottom: 48px;
  background-size: cover;
  background-position: center;
}
.what-pic-tag {
  position: absolute;
  bottom: 140px;
  right: -40px;
  padding: 24px 32px;
  background: var(--ink);
  color: rgb(255,255,255);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  max-width: 320px;
  z-index: 3;
}
.tag-line { width: 24px; height: 1px; background: rgba(255,255,255,0.6); flex-shrink: 0; }

.what-content { padding: 24px 0; }
.what-lead {
  font-family: "Lora", serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 32px 0 16px;
  font-weight: 400;
}
.what-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 16px 0;
}
.what-list {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.what-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
}
.what-list li:last-child { border-bottom: 1px solid var(--hairline); }
.check {
  font-family: "Inter", sans-serif;
  width: 24px; height: 24px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
}

/* ── BENEFITS ─────────────────────────────────────────────────── */
.benefits {
  position: relative;
  background: var(--ink);
  color: rgb(255,255,255);
  padding: 144px 80px 144px 160px;
}
.benefits .section-head { max-width: 1440px; padding: 0; }
.benefits-list {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.benefit-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s;
}
.benefit-row:hover { background: rgba(255,255,255,0.03); }
.benefit-k {
  font-family: "Lora", serif;
  font-size: 22px;
  color: rgba(255,255,255,0.5);
}
.benefit-t {
  font-family: "Lora", serif;
  font-size: 28px;
  line-height: 1.3;
  color: rgb(255,255,255);
  font-weight: 500;
}
.benefit-d {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
}

/* ── FEATURED ────────────────────────────────────────────────── */
.featured {
  position: relative;
  padding: 160px 80px 160px 160px;
  background: var(--cream);
}
.featured-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}
.featured-content { max-width: 720px; }
.featured .section-title { white-space: nowrap; }
@media (max-width: 760px) {
  .featured .section-title { white-space: normal; }
}
.featured-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  gap: 32px;
}
.featured-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--hairline);
}
.featured-stats > div:first-child { border-left: 0; padding-left: 0; }
.stat-n {
  font-family: "Lora", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}
.stat-l {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.featured-card {
  background: rgb(255,255,255);
  box-shadow: 0 40px 80px -30px rgba(16,16,16,0.25), 0 0 0 1px rgba(16,16,16,0.06);
  /* Clip anything inside the mock card that would otherwise push past
     the viewport edge on narrow screens (long stat values, image grids
     with min-content widths, etc.). */
  overflow: hidden;
  min-width: 0;
}
.featured-grid > * { min-width: 0; }
.featured-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.fg-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
}
.fg-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Mini-portfolio mock — mirrors the dark project-section styling from
   the client portfolio template so the homepage previews what a builder's
   page actually looks like. */
.mini-portfolio {
  background: rgb(20,20,18);
  color: rgb(255,255,255);
  padding: 32px 25px;
}
.mp-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}
.mp-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 56px;
  line-height: 0.85;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.mp-titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mp-kicker {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.mp-title {
  font-family: "Lora", serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: rgb(255,255,255);
  font-weight: 500;
  margin: 0;
}
.mp-title em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-size: 1.05em;
  color: rgba(255,255,255,0.95);
}
.mp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.mp-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}
.mp-feature-wrap {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}
.mp-feature {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 3px;
  overflow: hidden;
}
.mp-feature img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mp-feature-tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 5px 10px;
  background: rgba(20,20,18,0.78);
  color: rgb(255,255,255);
  font-family: "Inter", sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.mp-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}
.mp-info-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 6px;
  font-weight: 500;
}
.mp-info-section p {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.mp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.mp-stat-l {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.mp-stat-v {
  display: block;
  font-family: "Lora", serif;
  font-size: 14px;
  color: rgb(255,255,255);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgb(244,244,242);
  border-bottom: 1px solid var(--hairline);
}
.bc-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(16,16,16,0.18); }
.bc-url {
  margin-left: 16px;
  flex: 1;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  background: rgb(255,255,255);
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  letter-spacing: 0.04em;
  max-width: 260px;
  margin-right: auto;
}
.browser-screen {}
.screen-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.screen-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,0.1) 0%, rgba(20,20,18,0.6) 100%);
}
.screen-text {
  position: absolute;
  left: 32px; bottom: 32px; right: 32px;
  color: rgb(255,255,255);
  z-index: 2;
}
.screen-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.screen-title {
  font-family: "Lora", serif;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 500;
}
.screen-body { padding: 32px; }
.screen-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.screen-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ml {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mv {
  font-family: "Lora", serif;
  font-size: 16px;
  color: var(--ink);
}
.screen-thumbs {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 120px;
}
.screen-thumbs > div {
  background-size: cover;
  background-position: center;
}

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing {
  position: relative;
  padding: 144px 80px 144px 160px;
}
.pricing .section-head { margin-bottom: 80px; }
.pricing-grid {
  max-width: 1216px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.price-card {
  background: rgb(255,255,255);
  padding: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.primary {
  background: rgb(255,255,255);
  border: 1px solid var(--ink);
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.price-tag .dollar {
  font-family: "Lora", serif;
  font-size: 32px;
  color: var(--ink-soft);
}
.price-tag .amount {
  font-family: "Lora", serif;
  font-size: 96px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.price-tag .period {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-flags {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.price-flags .dot { color: rgba(16,16,16,0.3); }
.price-tag { flex-wrap: wrap; }
.price-add {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-left: 4px;
}
.price-add .add-plus {
  font-family: "Lora", serif;
  font-size: 22px;
  color: var(--ink-soft);
}
.price-add .add-amount {
  font-family: "Lora", serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.price-add .add-period {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-divider {
  height: 1px;
  background: var(--hairline);
  margin: 40px 0 32px;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}
.price-note {
  margin-top: 20px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.price-addons {
  background: var(--ink);
  color: rgb(255,255,255);
  padding: 56px;
  display: flex;
  flex-direction: column;
}
.addons-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.addon {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.addon-t {
  font-family: "Lora", serif;
  font-size: 22px;
  font-weight: 500;
}
.addon-p {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}
.addons-foot {
  margin-top: auto;
  padding-top: 32px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── FINAL CTA ────────────────────────────────────────────────── */
.final {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.final-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.final-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(16,16,16,0.85) 30%, rgba(16,16,16,0.55) 100%);
}
.final-content {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  padding: 144px 80px;
  color: rgb(255,255,255);
}
.section-title.huge { font-size: 96px; line-height: 1.02; }
[data-uppercase="1"] .section-title.huge { font-size: 80px; }
.final-sub {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  margin: 32px 0 48px;
  max-width: 640px;
}
.final-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.final-cta-row .btn { background: rgb(255,255,255); color: var(--ink); }
.final-flags {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ── CONTACT FORM (glass over darkened backdrop) ─────────────── */
.contact {
  position: relative;
  padding: 144px 80px 160px;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,0.62) 0%, rgba(20,20,18,0.78) 100%);
  z-index: 1;
}
.contact-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact-head { margin-bottom: 56px; }
.contact-head .kicker.light { color: rgba(255,255,255,0.7); }
.contact-sub {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 24px auto 0;
  max-width: 760px;
}
.contact-form.glass {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 24px 60px -20px rgba(20,20,18,0.45),
    0 8px 24px -10px rgba(20,20,18,0.3);
  padding: 48px;
  border-radius: 8px;
  text-align: left;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin-bottom: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span-2 { grid-column: span 2; }
.field-l {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.contact-form input,
.contact-form textarea {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgb(255,255,255);
  padding: 14px 16px;
  border-radius: 4px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.42); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.14);
}
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-submit {
  background: rgb(255,255,255);
  color: var(--ink);
  width: 100%;
  height: 56px;
  justify-content: center;
}
.contact-submit:hover { background: rgba(255,255,255,0.92); transform: translateY(-1px); }

.contact-error {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgb(255,200,200);
  text-align: center;
}
.contact-thanks {
  text-align: center;
  padding: 64px 48px;
}
.contact-thanks h3 {
  font-family: "Lora", serif;
  font-size: 36px;
  color: rgb(255,255,255);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.contact-thanks p {
  font-family: "Poppins", sans-serif;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 40px 80px;
}
.footer-bot {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; align-items: center; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-legal a:hover { color: rgb(255,255,255); }

/* ── UPSCALE (compare slider section) ─────────────────────────── */
.upscale {
  position: relative;
  padding: 144px 80px 144px 160px;
  background: var(--cream);
  overflow: hidden;
}
.upscale-inner { max-width: 1440px; margin: 0 auto; }
.upscale .section-head {
  max-width: none;
  margin: 0 0 72px;
  padding: 0;
}
.upscale .section-head .kicker { margin-bottom: 24px; }
.upscale .section-title { font-size: 72px; line-height: 1.04; max-width: 1100px; }
.upscale-lede {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin-top: 24px;
}

/* Compare frame */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  user-select: none;
  background: rgb(20,20,18);
  box-shadow:
    0 60px 120px -40px rgba(20,20,18,0.45),
    0 0 0 1px rgba(16,16,16,0.06);
}
.compare-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.compare-img.before { filter: saturate(0.92) contrast(0.95); }
.compare-img.after-wrap { overflow: hidden; }
.compare-divider {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: rgb(255,255,255);
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
  transform: translateX(-50%);
  z-index: 4;
  cursor: ew-resize;
}
.compare-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgb(255,255,255);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(20,20,18,0.35), 0 0 0 1px rgba(20,20,18,0.06);
  cursor: ew-resize;
}
.compare-handle::before,
.compare-handle::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink);
  border-right: 0; border-top: 0;
}
.compare-handle::before { transform: rotate(45deg) translate(-2px, 2px); margin-right: 16px; }
.compare-handle::after  { transform: rotate(-135deg) translate(-2px, 2px); margin-left: 16px; }
.compare-tag {
  position: absolute;
  top: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(255,255,255);
  background: rgba(20,20,18,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}
.compare-tag .swatch { width: 6px; height: 6px; border-radius: 50%; }
.compare-tag.before { left: 24px; }
.compare-tag.after  { right: 24px; }
.compare-tag.before .swatch { background: rgb(214,222,210); }
.compare-tag.after  .swatch { background: rgb(214,230,232); }
.compare-res {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255,255,255);
  background: rgba(20,20,18,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.compare-res .res-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: rgb(255,255,255);
  white-space: nowrap;
}
.compare-res.before-chip {
  left: 24px;
  right: auto;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border-color: rgba(20,20,18,0.08);
}
.compare-res.before-chip .res-num { color: var(--ink); }

/* Stats strip below compare */
.upscale-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.upscale-stat {
  padding: 32px 32px 32px 0;
  border-left: 1px solid var(--hairline);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upscale-stat:first-child { border-left: 0; padding-left: 0; }
.upscale-stat .num {
  font-family: "Lora", serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.upscale-stat .num em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.05em;
  font-weight: 500;
  color: var(--ink);
}
.upscale-stat .num .unit {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-style: normal;
}
.upscale-stat .label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-title { font-size: 60px; }
  [data-uppercase="1"] .hero-title { font-size: 54px; }
  .section-title { font-size: 48px; }
  .section-title.huge { font-size: 64px; }
  .what-grid, .featured-grid { grid-template-columns: 1fr; gap: 64px; }
  .what-picture { height: 540px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 40px 14px 22px; }
  .what, .benefits, .featured, .pricing, .final-content, .contact, .upscale {
    padding-left: 40px; padding-right: 40px;
  }
  .upscale .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .upscale .section-title { font-size: 56px; }
  .upscale-stats { grid-template-columns: repeat(2, 1fr); }
  .upscale-stat { padding: 24px; }
  .upscale-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .upscale-stat:nth-child(3),
  .upscale-stat:nth-child(4) { border-top: 1px solid var(--hairline); }
  .compare-handle { width: 52px; height: 52px; }
  .hero-content, .hero-meta { padding-left: 40px; padding-right: 40px; }
  .script-label { display: none; }
  .benefit-row { grid-template-columns: 60px 1fr 1fr; gap: 24px; }
}
/* Mini-portfolio mock — stacks below tablet so the brief paragraph
   and stats have room to breathe instead of being squeezed in a
   sidebar next to the feature image. */
@media (max-width: 900px) {
  .mp-feature-wrap { grid-template-columns: 1fr; gap: 18px; }
  .mp-feature { aspect-ratio: 16/10; }
  .mini-portfolio { padding: 28px 21px; }
  .mp-info-section p { font-size: 14px; }
}

/* 761–900px: nav links crowd the CTA — drop them, keep logo + CTA. The
   ≤760px mobile rules below take over with the hamburger.
   With .nav-links display:none, .nav-actions would auto-place into the
   middle 1fr column and look centered — pin it to column 3 instead. */
@media (max-width: 900px) and (min-width: 761px) {
  .nav .nav-links { display: none; }
  .nav-actions { grid-column: 3; }
}

@media (max-width: 760px) {
  .nav .nav-links, .nav .nav-cta { display: none; }
  .nav-hamburger { display: inline-flex; }
  /* Switch nav-inner from grid to flex on mobile — guarantees the
     hamburger sits flush to the right edge regardless of how grid
     auto-flow handles the display:none nav-links. */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    /* Symmetric lateral padding on mobile — the desktop default has
       40px right padding (and the 1280 mq doesn't override here for
       the hero/glass state) which left the hamburger sitting too far
       from the right edge in the unscrolled glass nav. */
    padding: 14px 18px 14px 22px;
  }
  .nav-actions { margin-left: auto; }
  /* Mobile menu lives at display:none on desktop; turn it on for mobile
     so the .is-open class can actually animate it open. */
  .nav-mobile-menu { display: block; }

  .field-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
  .contact-form.glass { padding: 28px 22px; }
  .contact { padding: 96px 40px 120px; }

  /* Hero — make the H1 dominant on mobile */
  .hero-title { font-size: 52px; }
  [data-uppercase="1"] .hero-title { font-size: 46px; }
  .section-title { font-size: 36px; }
  .section-title.huge { font-size: 44px; }
  .hero-bullets { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .hero-meta > div { border-left: 0; padding-left: 0; }
  .benefit-row { grid-template-columns: 1fr; gap: 8px; }
  .price-card, .price-addons { padding: 32px; }
  .price-tag .amount { font-size: 64px; }
  .what-pic-tag { right: 0; bottom: 100px; max-width: 260px; padding: 18px 22px; }

  /* Section vertical padding — 144px feels excessive on phones; pull in. */
  .proof, .upscale, .what, .benefits, .featured, .pricing {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .proof { padding-bottom: 56px; } /* keeps the footer-link tight */
  .upscale .section-title { font-size: 36px; }
  .upscale-stat .num { font-size: 32px; }
  /* Compare slider: 16/9 is too short on phones to read upscale detail.
     Square crop is ~78% taller at typical phone widths; cover+center
     keeps the kitchen framed. */
  .compare { aspect-ratio: 1 / 1; }
  .compare-img { background-position: center center; }
  .compare-tag { font-size: 9px; padding: 8px 10px; top: 12px; gap: 6px; letter-spacing: 0.16em; max-width: calc(50% - 18px); white-space: nowrap; }
  .compare-tag.before { left: 12px; }
  .compare-tag.after { right: 12px; }
  /* Drop the descriptor on narrow phones — the two chips can collide
     otherwise. Just "Original" / "Upscaled" reads fine alongside the
     compare slider. */
  .compare-tag .tag-extra { display: none; }
  .compare-res { font-size: 9px; padding: 6px 10px; bottom: 12px; right: 12px; }
  .compare-res.before-chip { left: 12px; }

  /* Hero rhythm — center the primary button + 'See examples' link */
  .hero-cta {
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;
    align-items: center;
  }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta .ghost-link { margin: 0 auto; }
  .hero-bullets { gap: 10px 32px; }

  /* Proof section heading — drop the left indent and tighten vertical */
  .proof .section-head { padding: 0; margin: 0 auto 32px; }
  .proof .section-head .section-title { font-size: 30px; }
  .proof { padding-top: 64px; }

  /* Proof carousel cards — smaller so the section doesn't dominate the
     phone viewport. ~280px feels right at 375 phone width. */
  .proof-card { flex: 0 0 260px; width: 260px; }
  /* Drop the edge fade-mask on mobile — it ate too much of each card.
     The carousel keeps its auto-drift via JS, but a touch handler
     interrupts to move the track with a finger drag (then releases
     back to the drift on touchend). touch-action: pan-y lets vertical
     page scroll still work; horizontal is captured by our handler. */
  .proof-carousel {
    -webkit-mask-image: none;
    mask-image: none;
    touch-action: pan-y;
  }

  /* Pricing heading — small enough that 'Simple Pricing.' fits on one
     line. */
  .pricing .section-title { font-size: 26px; }

  /* Hide the WhatYouGet image + offset color block + tag on mobile —
     the section title and copy carry the message, the visual block
     just adds vertical bulk on phones. */
  .what-picture { display: none; }
  .what-grid { gap: 0; }

  /* Pricing — stack with the $97 primary card FIRST on mobile */
  .price-card.primary { order: 1; }
  .price-addons { order: 2; }
  .pricing-grid { gap: 20px; }

  /* Section heads were keeping their desktop 80px lateral padding which
     stacked on top of the section's own 40px padding — total 120px
     eaten on each side, forcing copy like the pricing sub-line into
     four lines. Reset section-head padding on mobile and trim sub-line
     font so it fits on two lines. */
  .section-head { padding: 0; }
  .section-sub { font-size: 15px; max-width: 100%; }

  /* Hero eyebrow — hide the decorative line strokes on mobile so the
     'For remodelers & builders' text stays on a single line. */
  .hero-eyebrow .eyebrow-line { display: none; }
  .hero-eyebrow { gap: 0; font-size: 10px; letter-spacing: 0.18em; }

  /* Pricing */
  .price-card, .price-addons { padding: 28px 24px; }
  .price-tag .amount { font-size: 48px; }
  .price-tag .period { font-size: 11px; }
  .price-add { gap: 4px; margin-left: 6px; }
  .price-add .add-amount { font-size: 26px; }
  .price-add .add-plus { font-size: 16px; }
  .price-add .add-period { font-size: 10px; }
  .addon-t { font-size: 18px; }

  /* What — list lighter */
  .what-list li { font-size: 14px; padding: 12px 0; }
  .what-lead { font-size: 20px; }
  .what-body { font-size: 15px; }

  /* Benefits — title sits closer to its kicker number on stacked rows */
  .benefit-t { font-size: 22px; line-height: 1.25; }
  .benefit-d { font-size: 14px; }

  /* Featured h2 + sub */
  /* Stats stack vertically on mobile — 3 columns can't hold words like
     'Hand Picked' or 'Nationwide' at 28px, they overflow off the page
     edge. Each row gets the full content width with a top hairline as
     the divider instead of the desktop left-border treatment. */
  .featured-stats {
    margin-top: 32px;
    padding-top: 24px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .featured-stats > div {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
  .featured-stats > div:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .stat-n { font-size: 28px; }

  /* Footer — tighter padding, stack legal under copyright on phones */
  .footer { padding: 32px; }
  .footer-bot { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }

  /* Mini-portfolio mock at mobile sizes */
  .mp-head { grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
  .mp-tag { display: none; }
  .mp-num { font-size: 42px; }
  .mp-title { font-size: 18px; }
  .mp-stats { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .mp-stat-v { font-size: 13px; }
  .mini-portfolio { padding: 22px 15px; }
}

/* Smallest phones (<=420px) — pull lateral padding in further so content
   has more room to breathe. */
@media (max-width: 420px) {
  .proof, .upscale, .what, .benefits, .featured, .pricing, .contact {
    padding-left: 24px; padding-right: 24px;
  }
  .hero-content, .hero-meta { padding-left: 24px; padding-right: 24px; }
  .footer { padding-left: 24px; padding-right: 24px; }

  .hero-title { font-size: 44px; }
  [data-uppercase="1"] .hero-title { font-size: 40px; }
  .section-title { font-size: 30px; }

  .meta-num { font-size: 32px; }
  .meta-unit { font-size: 14px; }

  .price-tag .amount { font-size: 36px; }
  .price-tag .dollar { font-size: 18px; }
  .price-tag .period { font-size: 10px; }
  .price-add .add-amount { font-size: 20px; }
  .price-add .add-plus { font-size: 14px; }
  .price-add .add-period { font-size: 9px; }
  .addon-t { font-size: 16px; }
}
