:root {
  --paper: #f2eee7;
  --paper-2: #e6dfd4;
  --ink: #1e2622;
  --muted: #687069;
  --olive: #48594d;
  --terracotta: #a8613e;
  --line: rgba(30,38,34,.15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem clamp(1.1rem, 4vw, 4rem); color: white; border-bottom: 1px solid rgba(255,255,255,.28); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand-logo { display: block; width: clamp(7.2rem, 10vw, 9rem); height: auto; }
.site-header .brand-logo { filter: invert(1); }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid currentColor; border-radius: 50%; font: italic 1rem var(--serif); letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { font-size: .78rem; text-decoration: none; }
.nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.65); }
.menu-button { display: none; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; }
.menu-button span { display: block; width: 1.45rem; height: 1px; margin: .35rem auto; background: white; }

.hero { position: relative; min-height: min(940px, 100svh); display: flex; align-items: flex-end; overflow: hidden; color: white; background: #303a34; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: heroIn 1.4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(12,18,15,.68) 0%, rgba(12,18,15,.2) 60%, rgba(12,18,15,.1) 100%), linear-gradient(0deg, rgba(12,18,15,.72) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(780px, calc(100% - 2rem)); margin: 0 0 clamp(9rem, 17vh, 12rem) clamp(1rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.eyebrow.light { color: rgba(255,255,255,.78); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.6vw, 6.9rem); line-height: .91; }
h1 em, h2 em { font-weight: 400; color: #ddbe9b; }
.hero-copy { max-width: 590px; margin: 1.6rem 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.84); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .8rem; padding: .9rem 1.25rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: white; }
.button-dark { color: white; background: var(--ink); }
.text-link { border: 0; padding: 0; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .35rem; background: transparent; cursor: pointer; }
.text-link.light { color: white; }
.hero-facts { position: absolute; z-index: 2; right: clamp(1rem, 4vw, 4rem); bottom: 2rem; display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); border-top: 1px solid rgba(255,255,255,.45); }
.hero-facts div { min-width: 7.5rem; padding: 1rem .8rem 0; border-left: 1px solid rgba(255,255,255,.25); }
.hero-facts strong { display: block; font: 2rem var(--serif); }
.hero-facts span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.render-note { position: absolute; z-index: 2; left: clamp(1rem, 4vw, 4rem); bottom: 2rem; margin: 0; font-size: .68rem; color: rgba(255,255,255,.65); }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; max-width: 1380px; margin: 0 auto 3rem; }
.section-heading h2, .form-intro h2, .sarno-copy h2 { font-size: clamp(2.6rem, 5.5vw, 5.6rem); line-height: .95; }
.section-heading h2 em, .form-intro h2 em { color: var(--terracotta); }
.section-heading > p { max-width: 450px; margin: 0; color: var(--muted); line-height: 1.65; }

.filter-row { display: flex; gap: .5rem; max-width: 1380px; margin: 0 auto 1.25rem; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: .65rem .95rem; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: .78rem; cursor: pointer; }
.filter.active { color: white; background: var(--ink); border-color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: .8rem; max-width: 1380px; margin: auto; }
.gallery-card { position: relative; min-height: 0; border: 0; padding: 0; overflow: hidden; background: #ddd4c7; cursor: zoom-in; }
.gallery-card--wide { grid-column: span 2; }
.gallery-card--tall { grid-row: span 2; }
.gallery-card[hidden] { display: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,12,.7), transparent 50%); }
.gallery-label { position: absolute; z-index: 2; left: 1.15rem; bottom: 1rem; color: white; text-align: left; font: 1.25rem var(--serif); }
.gallery-label small { display: block; margin-bottom: .3rem; font: 700 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.plan-card { background: #e9e5df; }
.plan-card::after { background: linear-gradient(0deg, rgba(242,238,231,.96), transparent 60%); }
.gallery-label.dark { color: var(--ink); }
.gallery-label.dark small { color: var(--muted); }

.project-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(3rem, 8vw, 9rem); max-width: 1240px; margin: clamp(5rem, 10vw, 10rem) auto; }
.project-copy h3, .request-builder h3 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.project-copy > p:last-child { max-width: 480px; margin: 1.8rem 0 0; color: var(--muted); line-height: 1.75; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.feature-list li > span { font-size: .68rem; color: var(--muted); }
.feature-list strong { font: 1.35rem var(--serif); }
.feature-list small { color: var(--muted); }

.request-builder { max-width: 1380px; margin: 0 auto; padding: clamp(2rem, 5vw, 5rem); background: var(--paper-2); }
.request-builder > div:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: end; }
.request-builder > div:first-child p:last-child { margin: 0; color: var(--muted); }
.interest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 2.5rem 0 1.25rem; }
.interest { display: grid; grid-template-columns: auto 1fr; gap: .3rem .7rem; min-height: 9rem; padding: 1.1rem; text-align: left; border: 1px solid rgba(30,38,34,.16); background: rgba(255,255,255,.28); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.interest:hover { transform: translateY(-2px); border-color: var(--olive); }
.interest[aria-pressed="true"] { color: white; background: var(--olive); border-color: var(--olive); }
.interest > span { grid-row: span 2; font-size: 1.5rem; }
.interest small { color: var(--muted); line-height: 1.35; }
.interest[aria-pressed="true"] small { color: rgba(255,255,255,.68); }
.builder-cta { margin-left: auto; }
.selection-count { padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.3); font-size: .7rem; color: rgba(255,255,255,.7); }
.disclaimer { max-width: 960px; margin: 1.5rem auto 0; text-align: center; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.contact-section { color: var(--ink); background: #ded7cc; }
.sarno-panel { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 760px; color: white; background: var(--olive); }
.sarno-copy { align-self: center; padding: clamp(3rem, 8vw, 8rem); }
.sarno-copy h2 em { color: #ddbe9b; }
.sarno-copy > p:nth-of-type(2) { max-width: 520px; margin: 2rem 0; color: rgba(255,255,255,.72); line-height: 1.75; }
.sarno-panel img { width: 100%; height: 100%; max-height: 860px; object-fit: cover; }

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 7vw, 7rem); }
.form-intro > p:nth-of-type(2) { max-width: 440px; margin: 1.5rem 0; color: var(--muted); line-height: 1.65; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.contact-links a { text-underline-offset: .3rem; }
#lead-form { max-width: 720px; }
fieldset { margin: 0 0 1.7rem; padding: 0; border: 0; }
legend, .field > span { display: block; margin-bottom: .8rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.form-options label { cursor: pointer; }
.form-options input { position: absolute; opacity: 0; pointer-events: none; }
.form-options span { display: block; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 99px; font-size: .8rem; transition: background .2s, color .2s; }
.form-options input:checked + span { color: white; background: var(--olive); border-color: var(--olive); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1.2rem; }
.field > span { margin-bottom: .5rem; }
.field input, .field textarea { width: 100%; padding: .95rem 0; border: 0; border-bottom: 1px solid rgba(30,38,34,.3); border-radius: 0; outline: 0; background: transparent; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input.invalid { border-color: #9b301f; }
.field textarea { resize: vertical; }
.form-error { min-height: 1.3rem; margin: 0 0 .5rem; font-size: .8rem; color: #8d2d1c; }
.submit-button { width: 100%; }
.privacy-note { margin: .8rem 0 0; font-size: .68rem; line-height: 1.5; color: var(--muted); }
.privacy-note a, .footer-link { color: var(--ink); font-weight: 700; text-underline-offset: .22rem; }

footer { display: grid; grid-template-columns: 1fr auto auto auto; gap: 2rem; align-items: center; padding: 1.5rem clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: .7rem; color: var(--muted); }
.footer-brand { font-size: .68rem; }
.footer-brand .brand-logo { width: 8rem; filter: none; }
.footer-brand .brand-mark { width: 1.8rem; height: 1.8rem; }
.mobile-cta { display: none; }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; color: white; background: rgba(12,17,14,.96); }
.lightbox::backdrop { background: rgba(12,17,14,.9); }
.lightbox[open] { display: grid; grid-template-columns: 4rem 1fr 4rem; place-items: center; }
.lightbox figure { display: grid; align-items: center; max-width: min(1100px, calc(100vw - 9rem)); max-height: calc(100dvh - 5rem); margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; color: rgba(255,255,255,.7); font-size: .75rem; }
.lightbox figcaption strong { color: white; font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.lightbox-close, .lightbox-arrow { border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1rem; width: 3rem; height: 3rem; font-size: 2rem; }
.lightbox-arrow { width: 3rem; height: 3rem; font-size: 1.4rem; }

@keyframes heroIn { from { opacity: .35; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem; background: rgba(25,32,28,.97); }
  .site-header nav.open { display: grid; }
  .menu-button { display: block; }
  .hero { min-height: 820px; }
  .hero-content { margin: 0 1.1rem 13rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,18,15,.8), rgba(12,18,15,.05) 75%); }
  .hero-facts { left: 1rem; right: 1rem; bottom: 3.5rem; grid-template-columns: repeat(4, 1fr); }
  .hero-facts div { min-width: 0; padding-left: .5rem; }
  .render-note { bottom: 1rem; }
  .section-heading, .project-grid, .form-wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .gallery-card--tall { grid-row: span 1; }
  .interest-grid { grid-template-columns: repeat(2, 1fr); }
  .sarno-panel { min-height: auto; grid-template-columns: 1fr; }
  .sarno-panel img { height: 62vh; }
  footer { grid-template-columns: 1fr; gap: .7rem; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
  .site-header { padding-top: calc(.85rem + env(safe-area-inset-top)); }
  .brand { font-size: .64rem; }
  .brand-logo { width: 7rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .hero { min-height: 780px; }
  .hero-image { object-position: 48% center; }
  .hero-content { margin-bottom: 12.5rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-copy { font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-facts strong { font-size: 1.55rem; }
  .hero-facts span { font-size: .55rem; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .section-heading { gap: 1.25rem; }
  .section-heading h2, .form-intro h2, .sarno-copy h2 { font-size: 3rem; }
  .gallery { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1rem; padding: 0 1rem 1rem; scrollbar-width: none; }
  .gallery-card { flex: 0 0 84vw; height: 60vh; max-height: 620px; scroll-snap-align: center; }
  .gallery-card[hidden] { display: none; }
  .gallery-card--wide { grid-column: auto; }
  .project-grid { margin: 5rem auto; gap: 2.5rem; }
  .feature-list li { grid-template-columns: 2rem 1fr; }
  .feature-list small { grid-column: 2; }
  .request-builder { padding: 2rem 1rem; }
  .request-builder > div:first-child { grid-template-columns: 1fr; gap: 1rem; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest { min-height: 6.5rem; }
  .builder-cta { width: 100%; }
  .sarno-copy { padding: 5rem 1rem; }
  .form-wrap { padding: 5rem 1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .mobile-cta { position: fixed; z-index: 15; left: .75rem; right: .75rem; bottom: calc(.65rem + env(safe-area-inset-bottom)); display: flex; min-height: 3.35rem; align-items: center; justify-content: center; color: white; background: var(--terracotta); box-shadow: 0 10px 28px rgba(0,0,0,.24); text-decoration: none; }
  .lightbox[open] { grid-template-columns: 3rem 1fr 3rem; }
  .lightbox figure { max-width: calc(100vw - 6rem); }
  .lightbox figcaption { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
