/* Picture Perfect landing v2 — light, gold, mobile-first */
:root {
  --ivory: #F6F1E8;
  --ivory-2: #EFE8DB;
  --paper: #FFFCF6;
  --ink: #1C1917;
  --ink-soft: #3F3A36;
  --muted: #5E5852;
  --line: #E4D9C8;
  --gold: #C4A056;
  --gold-deep: #A4843A;
  --gold-soft: #E8D5A8;
  --navy: #1E3A5C;
  --navy-2: #16304C;
  --sage: #5F7A66;
  --sage-soft: #DCE6DE;
  --danger: #8B3A32;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --radius: 16px;
  --header: 64px;
  --bar: 72px;
  --font-display: "Plus Jakarta Sans", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--ink);
}
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.5rem 0.8rem; border-radius: 8px;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: var(--paper); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; line-height: 1.15; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--muted); letter-spacing: 0; }
.nav { display: none; gap: 1.15rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.92rem; }
.nav a:hover { color: var(--navy); }
.header-cta, .btn.header-cta { display: none !important; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
@media (min-width: 880px) {
  .nav { display: flex; }
  .header-cta, .btn.header-cta { display: inline-flex !important; }
  .menu-btn { display: none; }
  .brand-name { font-size: 1.02rem; }
}

.mobile-nav {
  display: none; position: absolute; inset: var(--header) 0 auto 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem; box-shadow: var(--shadow);
}
.mobile-nav.open { display: grid; gap: 0.4rem; }
.mobile-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; padding: 0.7rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0.75rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px rgba(196, 160, 86, 0.28); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Hero */
.hero { padding: 1.25rem 0 2.2rem; }
.hero-grid { display: grid; gap: 1.25rem; }
.hero-copy h1 { font-size: clamp(1.85rem, 7.2vw, 3.4rem); max-width: 16ch; }
.hero-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 38em; }
.hero-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--ivory-2);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero-badge {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  background: rgba(255, 252, 246, 0.92); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 0.4rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--navy);
}
@media (min-width: 880px) {
  .hero { padding: 2.2rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3rem; }
  .hero-visual { aspect-ratio: 4 / 3; min-height: 420px; }
}

/* Trust + counters */
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.15rem; }
.pill {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
  border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.78rem; font-weight: 600;
}
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  margin: 1.5rem 0 0;
}
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem;
}
.stat b {
  display: block; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -0.03em; color: var(--navy);
}
.stat span { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 880px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Marquee */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--ivory-2);
  padding: 0.7rem 0;
}
.marquee-track {
  display: flex; gap: 2.2rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--navy);
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::after { content: "·"; margin-left: 2.2rem; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 3rem 0; }
.section-head { max-width: 38rem; margin-bottom: 1.4rem; }
.section-head h2 { font-size: clamp(1.55rem, 4.5vw, 2.4rem); }
.section-head p { color: var(--ink-soft); }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: #F6F1E8; }
.section-navy h2, .section-navy .eyebrow { color: #fff; }
.section-navy .eyebrow { color: var(--gold-soft); }
.section-navy p, .section-navy .muted { color: rgba(246,241,232,0.86); }

/* Viewer */
.viewer-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 0.7rem; box-shadow: var(--shadow);
}
.viewer-stage {
  position: relative; overflow: hidden; border-radius: 14px;
  background: #ddd6c8; aspect-ratio: 4 / 3; touch-action: none; cursor: zoom-in;
}
.viewer-layers, .viewer-zoom {
  position: absolute; inset: 0; transform-origin: center center;
}
.viewer-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.55s var(--ease); pointer-events: none;
}
.viewer-layer.is-on { opacity: 1; }
.viewer-hint, .viewer-reset {
  position: absolute; z-index: 3; border: 0;
}
.viewer-hint {
  left: 0.7rem; bottom: 0.7rem;
  background: rgba(255,252,246,0.92); border-radius: 999px;
  padding: 0.35rem 0.65rem; font-size: 0.72rem; font-weight: 600; color: var(--navy);
  pointer-events: none;
}
.viewer-reset {
  right: 0.7rem; top: 0.7rem; display: none;
  background: rgba(255,252,246,0.95); color: var(--ink); border-radius: 999px;
  min-height: 36px; padding: 0.3rem 0.7rem; font-size: 0.75rem; font-weight: 700; cursor: pointer;
}
.viewer-reset.show { display: inline-flex; align-items: center; }
.viewer-placeholder-note {
  margin: 0.65rem 0.3rem 0.2rem; font-size: 0.8rem; color: var(--muted);
}
.viewer-status {
  margin: 0.15rem 0.3rem 0.8rem; font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem; color: var(--navy);
}
.swatch-block { margin: 0.35rem 0 0.55rem; }
.swatch-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0.3rem 0.45rem;
}
.swatches {
  display: flex; gap: 0.55rem; overflow-x: auto; padding: 0.15rem 0.3rem 0.5rem;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.swatches::-webkit-scrollbar { height: 0; }
.swatch {
  flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  width: 74px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--ink-soft);
  font-size: 0.7rem; font-weight: 600;
}
.swatch-chip {
  width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(28,25,23,0.08);
  background-size: cover; background-position: center;
  position: relative;
}
.swatch[aria-pressed="true"] .swatch-chip {
  box-shadow: 0 0 0 2px var(--gold), 0 4px 10px rgba(28,25,23,0.1);
}
.swatch[aria-pressed="true"] { color: var(--ink); }
.paint-chip {
  background-image:
    linear-gradient(145deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 38%, rgba(0,0,0,0.12) 100%);
  background-blend-mode: soft-light;
}
.paint-chip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.45) 0 18%, transparent 42%);
  pointer-events: none;
}

/* Services */
.service-stack { display: grid; gap: 1rem; }
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .service-stack { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .service-card { position: sticky; top: calc(var(--header) + 12px); }
}
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card .body { padding: 1rem 1.05rem 1.15rem; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-card ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.9rem; }
.service-card li { padding: 0.2rem 0 0.2rem 1rem; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Before / after */
.ba {
  border-radius: 18px; overflow: hidden; position: relative;
  aspect-ratio: 4 / 3; background: #ddd6c8; box-shadow: var(--shadow); touch-action: none;
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-slider {
  position: absolute; inset: 0; width: 100%; margin: 0; appearance: none; background: transparent; cursor: ew-resize; z-index: 2;
}
.ba-slider::-webkit-slider-thumb { appearance: none; width: 2px; height: 0; background: transparent; border: 0; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff;
  transform: translateX(-50%); z-index: 1; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700;
  box-shadow: var(--shadow);
}
.ba-tag {
  position: absolute; top: 0.7rem; z-index: 1;
  background: rgba(28,25,23,0.7); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.25rem 0.5rem; border-radius: 6px;
}
.ba-tag.before { left: 0.7rem; }
.ba-tag.after { right: 0.7rem; }
.ba-switch { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.ba-switch button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 0.45rem 0.8rem; min-height: 40px; cursor: pointer; font-weight: 600; font-size: 0.85rem;
}
.ba-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Gallery */
.gallery-strip {
  display: flex; gap: 0.75rem; overflow-x: auto; padding: 0.2rem 0 1rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery-strip a {
  flex: 0 0 min(78vw, 280px); scroll-snap-align: start;
  border-radius: 14px; overflow: hidden; position: relative; background: var(--ivory-2);
}
@media (min-width: 800px) { .gallery-strip a { flex-basis: 300px; } }
.gallery-strip img { width: 100%; height: 240px; object-fit: cover; }
.gallery-strip figcaption, .gallery-strip span.cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.7rem 0.6rem;
  background: linear-gradient(transparent, rgba(28,25,23,0.65));
  color: #fff; font-size: 0.82rem; font-weight: 600;
}

/* Process */
.steps { display: grid; gap: 0.9rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.15rem;
}
.step .num {
  font-family: var(--font-display); font-weight: 800; color: var(--gold-deep); font-size: 1.1rem; margin-bottom: 0.4rem;
}

/* Quotes */
.quotes { display: grid; gap: 0.85rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--ivory); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 1.1rem 1.15rem;
}
.section-navy .quote { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.quote p { font-size: 0.98rem; }
.quote footer { font-size: 0.82rem; color: var(--gold-soft); font-weight: 600; }

/* Visit */
.visit-grid { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .visit-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.map-card {
  display: block; border-radius: 16px; overflow: hidden; min-height: 220px;
  background:
    linear-gradient(160deg, rgba(30,58,92,0.15), rgba(246,241,232,0.2)),
    var(--ivory-2);
  border: 1px solid var(--line); text-decoration: none; color: var(--navy);
  padding: 1.4rem; font-weight: 700;
}
.visit-dl { margin: 0; }
.visit-dl div { margin: 0 0 0.75rem; }
.visit-dl dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.visit-dl dd { margin: 0.15rem 0 0; }

/* Form */
.form {
  display: grid; gap: 0.8rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.15rem; box-shadow: var(--shadow);
}
.form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 0.75rem 0.8rem; font-size: 16px; min-height: 48px;
}
.form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.form-todo {
  background: #FBF3D8; border: 1px dashed var(--gold-deep); color: var(--ink-soft);
  border-radius: 10px; padding: 0.6rem 0.75rem; font-size: 0.82rem; font-weight: 600;
}
.form-success { display: none; padding: 0.7rem; border-radius: 10px; background: var(--sage-soft); color: var(--navy); font-weight: 600; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 1rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item button::after { content: "+"; color: var(--gold-deep); font-size: 1.3rem; font-weight: 600; }
.faq-item[open] button::after { content: "–"; }
.faq-item .ans { color: var(--ink-soft); padding: 0 0 1rem; display: none; }
.faq-item[open] .ans { display: block; }

/* Footer */
.site-footer { background: #161411; color: #E8E0D4; padding: 2.4rem 0 7.5rem; font-size: 0.9rem; }
@media (min-width: 880px) { .site-footer { padding-bottom: 2.4rem; } }
.foot-grid { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer a { color: #E8E0D4; }
.site-footer h3 { color: #fff; font-size: 0.95rem; }
.site-footer .tiny { color: #B3A89A; font-size: 0.8rem; }

/* Sticky bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 246, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-bar .btn { width: 100%; min-height: 48px; }
@media (min-width: 880px) { .sticky-bar { display: none; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(22, 20, 17, 0.92);
  display: none; place-items: center; padding: 1rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(100%, 1100px); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute; top: 0.7rem; right: 0.7rem; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.3rem;
}

/* Reveals */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .clip-in { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease); }
  .clip-in.in { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .viewer-layer { transition: none; }
  .hero-visual img { transform: none; }
}

body.has-bar { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
@media (min-width: 880px) { body.has-bar { padding-bottom: 0; } }
