@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-soft: #efeee7;
  --text: #171714;
  --muted: #6f7169;
  --line: #ded9cc;
  --primary: #1d2a26;
  --accent: #8c6f4a;
  --olive: #6d7663;
  --clay: #a45f42;
  --ok: #1e7b4d;
  --danger: #b53838;
  --radius: 8px;
  --container: 1200px;
  --shadow: 0 18px 36px rgba(39, 34, 24, 0.08);
  --shadow-strong: 0 28px 54px rgba(39, 34, 24, 0.13);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 42, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 42, 38, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.32;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), 94vw); margin-inline: auto; }
.section { padding: clamp(28px, 4.2vw, 68px) 0; }
.narrow { max-width: 520px; }

h1, h2, h3, h4 {
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
}

.grid,
.grid-2,
.grid-3,
.slider {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.slide {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid rgba(13, 36, 56, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card {
  padding: 18px;
}

.badge,
.admin-actions .badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(13, 36, 56, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slider {
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 320px);
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slider > * {
  scroll-snap-align: start;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 36, 56, 0.08);
  box-shadow: 0 8px 30px rgba(13, 36, 56, 0.04);
}

.nav-shell {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 74px;
  padding-block: 6px;
}
.brand img {
  height: 64px;
  width: auto;
  max-width: min(520px, 42vw);
  object-fit: contain;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 20px;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(106deg, rgba(14, 23, 31, 0.80) 0%, rgba(14, 23, 31, 0.50) 52%, rgba(14, 23, 31, 0.88) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  min-height: min(94vh, 900px);
  display: grid;
  align-items: center;
}

.studio-hero {
  position: relative;
  min-height: min(84vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  background-color: #1d2a26;
  background:
    linear-gradient(180deg, rgba(23, 23, 20, 0.20) 0%, rgba(23, 23, 20, 0.58) 58%, rgba(23, 23, 20, 0.78) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.studio-hero-inner {
  padding: clamp(110px, 14vw, 180px) 0 clamp(34px, 7vw, 82px);
}

.studio-hero h1 {
  width: min(920px, 100%);
  margin: 10px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
  font-weight: 500;
  color: #fff;
}

.studio-hero .hero-subtitle {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.lead-band {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
}

.lead-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: start;
}

.lead-band h2 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.lead-band p {
  color: var(--muted);
  max-width: 520px;
}

.lead-card-flat {
  box-shadow: none;
  background: rgba(255, 253, 248, 0.92);
  border-color: rgba(29, 42, 38, 0.12);
  padding: clamp(16px, 2vw, 22px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg2);
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: 0.2;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr minmax(320px, 430px);
  gap: clamp(18px, 2.6vw, 36px);
  align-items: center;
  padding: clamp(24px, 4.5vw, 64px) 0;
}

.hero-copy { color: #fff; }
.hero-copy p {
  max-width: 680px;
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
}
.hero .eyebrow,
.studio-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.hero h1 {
  margin: 16px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 0.98;
}
.hero-subtitle {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.8vw, 20px);
}

.lead-card,
.admin-card,
.calculator-card,
.filter-card,
.stat-card,
.service-card,
.quote-card,
.mini-card,
.pro-card,
.listing-card,
.portfolio-card,
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-card { padding: 24px; }
.lead-card h2 { margin: 0 0 12px; font-size: 20px; }
.hero-lead-form { gap: 14px; }
.hero-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-lead-grid label {
  display: grid;
  gap: 6px;
}
.hero-lead-grid span {
  font-size: 13px;
  color: var(--muted);
}
.hero-lead-submit {
  min-height: 48px;
}

.multi-step .step { display: none; }
.multi-step .step.active { display: grid; gap: 12px; }
.step label { font-size: 14px; color: var(--muted); }

input:not([type="checkbox"]):not([type="radio"]), select, textarea, button {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 11px 13px;
  font: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

button, .btn-primary, .btn-muted, .btn-link {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(13, 36, 56, 0.24); }

.btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0f2;
  color: var(--text);
  border: 1px solid #dfe4e9;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(13, 36, 56, 0.3);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.form-message { margin: 10px 0 0; min-height: 20px; font-size: 13px; color: var(--muted); }
.form-message.ok { color: var(--ok); }
.form-message.error { color: var(--danger); }

.section-head h2,
.section h2,
.section h1 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1;
}
.section-head p { margin: 0 0 14px; color: var(--muted); }

.section-head-wide {
  max-width: 860px;
}

.section-head-wide h2 {
  font-size: clamp(36px, 5.3vw, 72px);
  line-height: 0.98;
}

.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 340px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroll > * { scroll-snap-align: start; }

.pro-card img,
.listing-card img,
.portfolio-card img,
.review-card img,
.quote-card img {
  width: 100%;
  height: 214px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background: #e9edf0;
}
.pro-card { overflow: hidden; }
.pro-meta { padding: 14px; display: grid; gap: 8px; }
.pro-meta h3, .pro-meta p { margin: 0; }

.service-grid,
.cards-grid,
.stats-grid {
  display: grid;
  gap: 14px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.listing-list {
  display: grid;
  gap: 16px;
}

.service-card { padding: 0; overflow: hidden; }
.service-copy { padding: 22px; display: grid; gap: 8px; }
.card-image { width: 100%; height: 190px; object-fit: cover; display: block; }
.service-icon { font-size: 26px; display: inline-block; margin-bottom: 10px; }
.service-card h3 { margin: 0 0 8px; }
.service-card p { margin: 0; color: var(--muted); }
.modern-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { background: #fff; }
.media-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 260px;
}
.media-card-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.media-card-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.06), rgba(8, 12, 18, 0.8));
  color: #fff;
}
.media-card-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.8;
}
.media-card-overlay h3 {
  margin: 0;
  font-size: 22px;
}
.quote-card-modern {
  padding: 0;
  overflow: hidden;
}
.quote-visual {
  position: relative;
  overflow: hidden;
}
.quote-cover {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}
.quote-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 22, 28, 0.2), rgba(15, 22, 28, 0.82));
  color: #fff;
}
.quote-overlay h4,
.quote-overlay span {
  margin: 0;
}
.quote-card-modern p {
  padding: 0 16px 16px;
}
.quote-card-modern p:last-child {
  margin-bottom: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.brand-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8 0%, #f1eee5 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.brand-card img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-logo-wrap {
  width: 100%;
  min-height: 84px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(13, 36, 56, 0.06);
}
.brand-logo-wrap img {
  max-width: 82%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-card strong {
  font-size: 14px;
  color: var(--primary);
  text-align: center;
}
.media-collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.media-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.media-block img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 6px;
}
.media-block-copy {
  display: grid;
  gap: 6px;
  align-content: center;
}
.media-block-copy h3,
.media-block-copy p {
  margin: 0;
}
.media-block-copy h3 {
  font-size: 18px;
}
.media-block-copy p {
  color: var(--muted);
  font-size: 14px;
}

.pricing-hero {
  padding-top: clamp(56px, 8vw, 110px);
}
.pricing-plans-first {
  padding-top: clamp(26px, 4vw, 52px);
  padding-bottom: clamp(18px, 3vw, 40px);
}
.pricing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
  align-items: start;
}
.pricing-copy-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}
.pricing-copy {
  padding-right: 14px;
  max-width: 760px;
}
.pricing-intro-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(13, 36, 56, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,245,236,0.92) 100%);
  box-shadow: var(--shadow);
}
.pricing-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pricing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat-mini {
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  min-height: 118px;
  display: grid;
  align-content: space-between;
}
.stat-mini strong {
  font-size: 32px;
  font-family: "Fraunces", Georgia, serif;
  color: var(--primary);
}
.stat-mini span {
  color: var(--muted);
  font-size: 13px;
}
.pricing-story {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(13, 36, 56, 0.08);
}
.pricing-story h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.pricing-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.pricing-form-shell {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf4 100%);
}
.pricing-form-shell label {
  display: grid;
  gap: 6px;
}
.pricing-form-shell span {
  font-size: 13px;
  color: var(--muted);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pricing-card {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.pricing-card.featured {
  border-color: #d7b26f;
  background: linear-gradient(180deg, #fff8ea 0%, #fffdf8 100%);
}
.pricing-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.pricing-card-head h3,
.pricing-card-head strong {
  margin: 0;
}
.pricing-card-head strong {
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-badge {
  display: inline-flex;
  width: fit-content;
  align-self: start;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f4d79d;
  color: #5b3b13;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.benefit-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.benefit-list li { padding-left: 4px; }
.pricing-review-card {
  display: grid;
  gap: 10px;
}
.review-topline {
  display: flex;
  gap: 12px;
  align-items: center;
}
.review-topline h4,
.review-topline span {
  margin: 0;
}
.review-topline span {
  color: var(--muted);
  font-size: 13px;
}

.quote-card { padding: 20px; display: grid; gap: 10px; }
.quote-avatar { width: 68px; height: 68px; border-radius: 8px; object-fit: cover; }
.quote-card p, .quote-card h4, .quote-card span { margin: 0 0 8px; }
.quote-card span { color: var(--muted); font-size: 13px; }

.marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 12px;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
  background: var(--surface-soft);
}
.brand-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.twin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-scroll { grid-auto-columns: minmax(230px, 1fr); }
.mini-card {
  padding: 14px;
  min-height: 96px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.directory-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
}
.filter-card { padding: 14px; position: sticky; top: 96px; align-self: start; display: grid; gap: 8px; box-shadow: none; }
.filter-card h3 { margin: 0; }
.filter-card p { margin: 0 0 6px; color: var(--muted); }
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.listing-card {
  display: grid;
  grid-template-columns: minmax(360px, 48%) 1fr;
  overflow: hidden;
  box-shadow: none;
  border-color: rgba(29, 42, 38, 0.12);
  background: #fffdf8;
}
.listing-carousel { position: relative; min-height: 100%; }
.listing-carousel-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 8px 0 0 8px;
}
.listing-card .listing-carousel-image {
  border-radius: 8px 0 0 8px;
}
.listing-carousel-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 8px;
  background: rgba(15, 23, 31, 0.78);
  color: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  backdrop-filter: blur(8px);
}
.listing-carousel-caption strong { font-size: 17px; }
.listing-carousel-caption span { font-size: 12px; opacity: 0.88; }
.listing-carousel-caption small { font-size: 11px; opacity: 0.76; }
.listing-card > div {
  padding: clamp(18px, 2.5vw, 30px);
  gap: 10px;
  display: grid;
  align-content: center;
}
.listing-card h4, .listing-card p { margin: 0; }
.listing-card h4 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 500;
}
.listing-card.premium {
  border-color: rgba(164, 95, 66, 0.34);
  background: linear-gradient(180deg, #fff8ed 0%, #fffdf8 62%);
}
.listing-card.premium .listing-carousel-caption {
  background: linear-gradient(135deg, rgba(188, 139, 74, 0.92), rgba(109, 73, 26, 0.84));
}
.premium-badge {
  display: inline-flex;
  align-self: start;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 247, 221, 0.16);
  color: #fff7dd;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.listing-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.listing-pill {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing-pill-premium {
  border-color: rgba(164, 95, 66, 0.36);
  color: var(--clay);
  background: #fff3e4;
}
.listing-speciality {
  color: var(--muted);
  font-size: 16px;
}
.listing-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
}
.listing-stats-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  color: var(--text);
}
.listing-price {
  color: var(--primary);
  font-weight: 800;
}
.file-field {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}
.file-field span { font-size: 13px; color: var(--muted); }
.image-preview-shell {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #edf1f4;
}
.image-preview-shell img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}
.image-preview-shell img:not([src]) {
  display: none;
}
.image-preview-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 0;
}
.image-preview-strip img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.empty-state { color: var(--muted); }
.verify-badge {
  display: inline-flex;
  background: linear-gradient(90deg, #f1d49b, #d2a96a);
  color: #583a15;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 8px;
}

.profile-hero {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 24, 31, 0.72), rgba(15, 24, 31, 0.36));
}
.profile-hero-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0;
  color: #fff;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
}
.profile-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.65);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row { gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
}
.portfolio-card, .review-card { overflow: hidden; }
.portfolio-card > div, .review-card { padding: 12px; }
.portfolio-card h3, .portfolio-card p, .review-card p { margin: 0 0 8px; }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-row img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; }
.section-tight { padding-top: 18px; padding-bottom: 18px; }
.profile-top-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  align-items: start;
}
.profile-intro-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}
.profile-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.profile-mini-stats .mini-card {
  display: grid;
  justify-content: start;
  align-content: space-between;
}
.top-lead-form {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.profile-rich-grid,
.profile-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 14px;
  align-items: start;
}
.profile-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.profile-panel h2,
.profile-panel h3,
.profile-panel p {
  margin: 0;
}
.profile-summary {
  color: var(--muted);
}
.profile-panel-side {
  gap: 10px;
}
.profile-stat-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}
.profile-contact-card {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 10px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.contact-list li {
  display: grid;
  gap: 2px;
}
.contact-list span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-list strong {
  font-size: 14px;
  word-break: break-word;
}
.profile-meta-grid-dense {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.profile-chip-block {
  margin-top: 2px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.process-card {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: grid;
  gap: 6px;
}
.process-card strong {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.faq-stack {
  display: grid;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 10px 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-item p {
  margin-top: 8px;
  color: var(--muted);
}
.profile-meta-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.card-lite {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px;
}
.card-lite h3,
.card-lite p {
  margin: 0;
}
.card-lite h3 {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.portfolio-kpis {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.portfolio-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.video-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0f1720;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal.open { display: flex; }
.modal-card {
  width: min(560px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.stack-form { display: grid; gap: 10px; }

.calculator-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 25, 22, 0.2), rgba(20, 25, 22, 0.78)),
    url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?auto=format&fit=crop&w=1800&q=85");
  background-size: cover;
  background-position: center;
}
.calculator-hero-inner {
  padding: clamp(120px, 16vw, 180px) 0 clamp(34px, 6vw, 70px);
}
.calculator-hero h1 {
  width: min(860px, 100%);
  margin: 10px 0 12px;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 500;
}
.calculator-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}
.calculator-experience {
  background: #f7f5ef;
}
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
.calculator-panel,
.calculator-summary {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.calculator-panel {
  padding: clamp(18px, 3vw, 34px);
  min-height: 620px;
  display: grid;
  align-content: start;
}
.calculator-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.calculator-progress span {
  color: var(--muted);
  font-size: 13px;
}
.calculator-progress div {
  height: 7px;
  border-radius: 999px;
  background: #e7e2d6;
  overflow: hidden;
}
.calculator-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--clay);
  transition: width 0.24s ease;
}
.calc-step {
  display: none;
}
.calc-step.active {
  display: block;
  animation: calcFade 0.22s ease;
}
@keyframes calcFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.calc-step h2 {
  margin: 6px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  font-weight: 500;
}
.calc-step > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
}
.calc-option-grid,
.calc-package-grid,
.calc-room-grid,
.calc-contact-grid {
  display: grid;
  gap: 12px;
}
.calc-option-grid,
.calc-image-grid,
.calc-room-grid,
.calc-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.calc-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.calc-option-card,
.calc-package-card,
.calc-room-card {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.calc-option-card:hover,
.calc-package-card:hover,
.calc-room-card:hover {
  transform: translateY(-1px);
  border-color: rgba(164, 95, 66, 0.42);
}
.calc-option-card input,
.calc-package-card input,
.calc-room-card input {
  position: absolute;
  inset: 12px 12px auto auto;
}
.calc-option-card:has(input:checked),
.calc-package-card:has(input:checked),
.calc-room-card:has(input:checked) {
  border-color: var(--clay);
  box-shadow: 0 0 0 2px rgba(164, 95, 66, 0.12) inset;
  background: #fff8ed;
}
.calc-option-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}
.calc-option-card span,
.calc-package-card strong,
.calc-room-card span {
  padding-right: 26px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.calc-option-card small,
.calc-package-card small,
.calc-room-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.calc-text-card {
  min-height: 150px;
  align-content: center;
}
.calc-package-card span {
  color: var(--clay);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.calculator-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(160px, 0.65fr);
  gap: 10px;
}
.calculator-actions #calcSubmit {
  grid-column: 2;
}
.calculator-summary {
  position: sticky;
  top: 112px;
  padding: 22px;
  display: grid;
  gap: 16px;
}
.calculator-summary h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}
.calc-estimate-box {
  padding: 18px;
  border-radius: var(--radius);
  background: #1d2a26;
  color: #fff;
  display: grid;
  gap: 6px;
}
.calc-estimate-box span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.calc-estimate-box strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
}
.calc-estimate-box small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}
.calc-estimate-box.calc-estimate-locked {
  background: #4b463d;
}
.calc-estimate-box.calc-estimate-locked strong {
  font-size: clamp(26px, 3.2vw, 38px);
}
.calculator-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.calculator-summary dl div {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.calculator-summary dt {
  color: var(--muted);
  font-size: 13px;
}
.calculator-summary dd {
  margin: 0;
  font-weight: 700;
}
.calc-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
}

.admin-card { padding: 20px; display: grid; gap: 12px; }
.admin-card h1 { margin: 0; }
.muted-line { color: var(--muted); }
.table-shell {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
}
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 11px; font-size: 14px; }
th { background: #f7f7f4; font-weight: 700; }
.pre-cell { max-width: 440px; white-space: pre-wrap; }
.stat-card { padding: 22px; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.stat-card strong { font-size: 32px; line-height: 1; font-family: "Fraunces", Georgia, serif; }
.admin-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.switch-row { display: inline-flex; align-items: center; gap: 8px; }

.site-footer {
  background: #111a23;
  color: #f3f5f7;
  margin-top: 34px;
  padding: 34px 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: stretch;
}

.story-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.story-essay {
  padding: clamp(16px, 2vw, 24px) 0;
  display: grid;
  gap: 12px;
  align-content: center;
}

.story-essay h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  margin: 0;
}

.story-essay p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.story-visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  grid-template-rows: 1fr auto;
  gap: 14px;
  align-items: stretch;
}

.story-visual,
.story-metric {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13, 36, 56, 0.08);
  box-shadow: var(--shadow);
  background: #fff;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.story-visual-large {
  grid-column: 1 / span 2;
  min-height: 360px;
}

.story-visual-small {
  min-height: 220px;
}

.story-metric {
  display: grid;
  align-content: center;
  padding: 20px;
  background: linear-gradient(180deg, #1d2a26 0%, #34352d 100%);
  color: #fff;
}

.story-metric strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
}

.story-metric span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 220px;
}

.process-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card-large {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.process-card-large strong {
  font-size: 13px;
}

.process-card-large h3 {
  margin: 0;
  font-size: 21px;
}

.process-card-large p {
  margin: 0;
  color: var(--muted);
}

.featured-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 0;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-card > div {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.eyebrow-dark {
  color: var(--accent);
}

.studio-why {
  background: #eeece2;
  border-block: 1px solid var(--line);
}

.why-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
  margin-top: clamp(22px, 4vw, 48px);
}

.why-studio-grid article {
  border-top: 1px solid rgba(29, 42, 38, 0.28);
  padding-top: 18px;
}

.why-studio-grid span,
.process-card-large strong {
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-studio-grid h3 {
  margin: 12px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 28px;
}

.why-studio-grid p {
  margin: 0;
  color: var(--muted);
}

.aggregator-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.aggregator-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  border-top: 1px solid var(--line);
  background: transparent;
}

.aggregator-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.aggregator-card div {
  padding: 14px 0 0;
  display: grid;
  gap: 7px;
}

.aggregator-card h3,
.aggregator-card p {
  margin: 0;
}

.aggregator-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 25px;
}

.project-gallery-section {
  background: #fdfcf7;
}

.renders-section {
  background: #242820;
  color: #f8f4e9;
}

.renders-section .section-head p {
  color: rgba(248, 244, 233, 0.72);
}

.studio-image-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
}

.studio-image-strip img {
  width: 100%;
  height: clamp(260px, 32vw, 460px);
  object-fit: cover;
  border-radius: var(--radius);
}

.studio-image-strip img:nth-child(2) {
  margin-top: clamp(22px, 5vw, 72px);
}

textarea {
  resize: vertical;
}
.footer-shell { text-align: center; }
.footer-logo { height: 56px; width: auto; margin-inline: auto; }
.footer-tagline { margin: 12px 0 6px; opacity: 0.9; }
.footer-copy { margin: 0; font-size: 12px; opacity: 0.66; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .directory-layout,
  .pricing-shell,
  .twin-grid,
  .service-grid,
  .cards-grid,
  .stats-grid,
  .testimonials-grid,
  .brand-grid,
  .story-layout,
  .story-visual-grid,
  .featured-project-grid,
  .process-grid-home,
  .lead-band-grid,
  .why-studio-grid,
  .aggregator-showcase,
  .studio-image-strip,
  .calculator-layout {
    grid-template-columns: 1fr 1fr;
  }
  .profile-top-lead,
  .profile-rich-grid,
  .profile-story-grid,
  .portfolio-kpis,
  .portfolio-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .pricing-shell {
    grid-template-columns: 1fr;
  }
  .pricing-copy {
    padding-right: 0;
  }
  .pricing-form-shell {
    position: static;
  }
  .pricing-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .profile-mini-stats,
  .profile-meta-grid-dense,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-card {
    position: static;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modern-media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-block {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .featured-project-grid,
  .aggregator-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.menu-open {
    overflow: hidden;
  }
  .nav-shell {
    min-height: 86px;
  }
  .brand {
    min-height: 64px;
  }
  .brand img {
    height: 52px;
    max-width: 72vw;
  }
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 88px;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(29, 42, 38, 0.16);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero,
  .profile-hero { min-height: auto; }

  .studio-hero {
    min-height: 560px;
    align-items: end;
  }

  .studio-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.02;
  }

  .studio-hero-inner {
    padding: 104px 0 34px;
  }

  .lead-band {
    padding-top: 26px;
  }

  .lead-card-flat {
    padding: 16px;
    background: #fffdf8;
  }

  .hero h1 { font-size: clamp(30px, 10vw, 42px); }

  .step-actions {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .cards-grid,
  .stats-grid,
  .grid-2,
  .grid-3,
  .directory-layout,
  .pricing-shell,
  .twin-grid,
  .profile-top-lead,
  .profile-rich-grid,
  .profile-story-grid,
  .profile-meta-grid,
  .profile-mini-stats,
  .profile-stat-stack,
  .portfolio-kpis,
  .portfolio-gallery,
  .profile-hero-inner,
  .listing-card,
  .select-grid,
  .testimonials-grid,
  .brand-grid,
  .story-layout,
  .story-visual-grid,
  .featured-project-grid,
  .process-grid-home,
  .lead-band-grid,
  .why-studio-grid,
  .aggregator-showcase,
  .studio-image-strip,
  .calculator-layout,
  .calc-option-grid,
  .calc-image-grid,
  .calc-package-grid,
  .calc-room-grid,
  .calc-contact-grid,
  .modern-media-grid {
    grid-template-columns: 1fr;
  }

  .listing-card img {
    border-radius: 8px 8px 0 0;
    height: 300px;
  }
  .listing-carousel-image {
    min-height: 300px;
    border-radius: 8px 8px 0 0;
  }
  .listing-card .listing-carousel-image {
    border-radius: 8px 8px 0 0;
  }

  .h-scroll {
    grid-auto-columns: minmax(260px, 86vw);
  }

  table { min-width: 720px; }
  .lead-card,
  .admin-card,
  .calculator-card,
  .filter-card,
  .service-card,
  .quote-card,
  .mini-card,
  .pro-card,
  .listing-card,
  .portfolio-card,
  .review-card {
    border-radius: 8px;
  }

  .calculator-hero {
    min-height: 460px;
  }
  .calculator-hero-inner {
    padding: 112px 0 36px;
  }
  .calculator-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }
  .calculator-panel {
    min-height: auto;
    padding: 16px;
  }
  .calculator-summary {
    position: static;
    padding: 16px;
  }
  .calculator-actions,
  .calculator-actions #calcSubmit {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
  .calc-option-card img {
    height: 180px;
  }
  .video-frame iframe {
    height: 250px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-stats {
    grid-template-columns: 1fr;
  }
  .hero-lead-grid {
    grid-template-columns: 1fr;
  }
  .profile-rich-grid,
  .profile-story-grid,
  .profile-top-lead {
    grid-template-columns: 1fr;
  }
  .profile-mini-stats,
  .profile-meta-grid-dense,
  .profile-stat-stack,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .media-card-image-wrap,
  .quote-cover,
  .media-block img {
    min-height: 220px;
  }
  .brand-logo-wrap {
    min-height: 72px;
  }

  .story-visual-large {
    grid-column: auto;
  }

  .aggregator-card {
    grid-template-rows: auto;
    background: #fffdf8;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: visible;
  }

  .aggregator-card img {
    height: 320px;
    border-radius: 8px 8px 0 0;
  }

  .aggregator-card div {
    padding: 16px;
    gap: 9px;
  }

  .aggregator-card h3 {
    font-size: 27px;
    line-height: 1.08;
  }

  .aggregator-card p {
    display: block;
  }

  .aggregator-card .btn-link {
    width: 100%;
    margin-top: 4px;
  }

  .studio-image-strip img:nth-child(2) {
    margin-top: 0;
  }

  .directory-layout > aside {
    order: 2;
  }

  .directory-layout > div {
    order: 1;
  }
}

/* Lead marketplace uses homepage primitives with only layout-specific glue. */
.lead-shop-hero {
  min-height: min(72vh, 680px);
}
.lead-shop-page h1 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 500;
}
.lead-filter-card .btn-primary,
.lead-filter-card .btn-link {
  min-height: 48px;
}
.lead-market-sections,
.lead-cart-list {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
}
.lead-package-section {
  display: grid;
  gap: 14px;
}
.lead-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lead-package-card,
.lead-cart-item,
.lead-checkout-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lead-package-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  min-height: 100%;
}
.lead-package-card h3,
.lead-cart-item h2,
.lead-checkout-summary h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}
.lead-package-card h3 {
  font-size: 28px;
  line-height: 1.05;
}
.lead-package-count {
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: var(--radius);
  background: #eeece2;
  border: 1px solid var(--line);
}
.lead-package-count strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  font-weight: 500;
}
.lead-package-count span,
.lead-slab-lines span {
  color: var(--muted);
  font-size: 13px;
}
.lead-cart-item {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1.3fr auto auto;
  gap: 14px;
  align-items: center;
}
.lead-slab-lines {
  display: grid;
  gap: 4px;
}
.lead-checkout-summary {
  padding: 20px;
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
}
.lead-shop-layout {
  align-items: start;
}

@media (max-width: 980px) {
  .lead-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-cart-item {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .lead-package-grid,
  .lead-cart-item,
  .lead-shop-layout {
    grid-template-columns: 1fr;
  }
  .lead-checkout-summary {
    position: static;
  }
  .lead-shop-hero {
    min-height: 540px;
  }
}

.lead-market-firstfold {
  min-height: calc(100vh - 94px);
  padding: clamp(22px, 3vw, 44px) 0;
  display: grid;
  align-items: start;
  background:
    linear-gradient(115deg, rgba(251, 250, 246, 0.96), rgba(239, 238, 231, 0.82)),
    url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1500&q=85');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.lead-market-firstfold-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}
.lead-market-copy {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 14px;
  padding-top: 12px;
}
.lead-market-copy h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 500;
}
.lead-market-copy .hero-subtitle {
  color: var(--muted);
}
.lead-market-panel {
  max-height: calc(100vh - 138px);
  overflow: auto;
}
.lead-market-controls {
  position: sticky;
  top: 0;
  z-index: 4;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.92));
}
.lead-market-first-results {
  margin-top: 14px;
}
.lead-mini-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.lead-mini-head h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}
.lead-package-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lead-package-grid-compact .lead-package-card h3 {
  font-size: 23px;
}
.lead-package-grid-compact .lead-package-count strong {
  font-size: clamp(28px, 3vw, 42px);
}

@media (max-width: 980px) {
  .lead-market-firstfold-grid {
    grid-template-columns: 1fr;
  }
  .lead-market-copy {
    position: static;
  }
  .lead-market-panel {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .lead-market-firstfold {
    min-height: auto;
    padding: 20px 0 28px;
  }
  .lead-market-controls {
    position: static;
  }
  .lead-package-grid-compact {
    grid-template-columns: 1fr;
  }
  .lead-mini-head {
    display: block;
  }
}
