/* Arizona Floor Kitchen & Bath — "Sonoran Modern"
   One bold element: the sample board in #materials. Everything else stays quiet. */

:root {
  --bone: #F2ECE3;
  --bone-2: #FAF6F0;
  --limestone: #E4D9CA;
  --ink: #2A2420;
  --ink-soft: #5A4F47;
  --mesquite: #321000;
  --adobe: #A4532F;
  --adobe-dark: #87411F;
  --sage: #6F7D63;
  --sage-dark: #5C6A50;
  --monsoon: #2F5D8A;
  --line: #CDBFAD;
  --line-strong: #8C7F73;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 16px;
  --pad-x: max(var(--gutter), calc((100% - var(--max)) / 2));
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(42, 36, 32, .08), 0 14px 30px -18px rgba(42, 36, 32, .45);
}

@media (min-width: 700px) { :root { --gutter: 32px; } }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--monsoon); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Content the owner still needs to supply. Deliberately visible. */
.placeholder {
  background: repeating-linear-gradient(-45deg, rgba(111, 125, 99, .14) 0 6px, rgba(111, 125, 99, .06) 6px 12px);
  outline: 1px dashed var(--sage);
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 .3em;
  font-style: italic;
  color: inherit;
}
p.placeholder { padding: .6em .8em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--sans);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--adobe); color: #fff; }
.btn-primary:hover { background: var(--adobe-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-small { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(42, 36, 32, .6); }

.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
  padding-inline: var(--pad-x);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--mesquite); text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .02em; }
.brand-sub { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }

.nav-toggle, .header-call { display: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; }
.site-nav ul a:hover { text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone svg { color: var(--adobe); }

/* Without JS the nav simply wraps under the brand on small screens. */
@media (max-width: 1099px) {
  .no-js .site-header { position: static; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .site-nav { flex-wrap: wrap; gap: 12px 20px; width: 100%; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 6px 18px; }

  .js .header-call {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border-radius: 50%; background: var(--adobe); color: #fff;
  }
  .js .nav-toggle {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; border: 0; border-radius: 10px;
    background: transparent; color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 24px;
    background: var(--bone); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(42, 36, 32, .5);
    /* Short landscape screens: the menu scrolls inside the sticky header. */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .js .nav-open .site-nav { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; }
  .js .header-phone { justify-content: center; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; }
}

section[id], #reviews, #contact-form { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: 32px;
  padding: clamp(24px, 4vw, 56px) var(--pad-x) clamp(48px, 6vw, 88px);
}
.hero-kicker { font-weight: 600; color: var(--sage-dark); margin-bottom: .75em; }
.hero h1 { color: var(--mesquite); max-width: 13ch; }
.hero-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-call { color: var(--ink-soft); margin: 0; }
.hero-call a { font-weight: 600; color: var(--ink); }

/* The arched doorway: walk into the showroom. */
.hero-media { margin: 0; }
.hero-media img {
  width: 100%; height: clamp(300px, 62vw, 460px);
  object-fit: cover; object-position: 55% 60%;
  border-radius: 999px 999px 8px 8px / 220px 220px 8px 8px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
  .hero-media img { height: clamp(480px, 68vh, 660px); border-radius: 999px 999px 10px 10px / 300px 300px 10px 10px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: var(--bone); padding: 28px var(--pad-x); }
.trust-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px 32px; grid-template-columns: 1fr;
}
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; }
.trust-list svg { flex: none; color: #D9A27F; margin-top: 1px; }
.trust-list strong { display: block; font-weight: 600; color: #fff; }
.trust .placeholder { color: var(--bone); outline-color: #A9B59D; }
@media (min-width: 600px) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--pad-x); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 24px; }
.service { background: var(--bone-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-body { padding: 22px 24px 26px; }
.service-body p { color: var(--ink-soft); margin: 0; }
.service-feature .service-body p { margin-bottom: 1em; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 20px; }
.tick-list li { padding-left: 22px; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--sage); transform: rotate(45deg);
}

@media (min-width: 900px) {
  .service-grid { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; }
  .service-feature { grid-row: span 2; }
  .service-feature img { aspect-ratio: auto; flex: 1; min-height: 320px; }
  .service:not(.service-feature) { flex-direction: row; }
  .service:not(.service-feature) img { width: 42%; aspect-ratio: auto; }
  .tick-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Materials: the sample board ---------- */
.materials { background: var(--limestone); }
.sample-rail {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px; row-gap: 40px;
}
@media (min-width: 640px) { .sample-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; } }
@media (min-width: 1100px) { .sample-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.sample { position: relative; padding-top: 34px; }
/* the display rod, continuous across each row */
.sample::before {
  content: ""; position: absolute; top: 0; left: -16px; right: -16px; height: 6px; border-radius: 3px;
  background: linear-gradient(#8C7F73, #4A3F37);
}
.sample h3 { font-size: 1.15rem; margin: 16px 0 .3em; }
.sample p { font-size: .95rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.chip {
  position: relative; display: block;
  aspect-ratio: 3 / 4; border-radius: 6px;
  transform-origin: 50% -28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 2px 3px rgba(42, 36, 32, .2), 0 16px 22px -14px rgba(42, 36, 32, .6);
}
/* hook from the rod */
.chip::before {
  content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 32px; margin-left: -1px;
  background: #4A3F37;
}
/* punched hole */
.chip::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--limestone);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45);
}

.chip-lvp {
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1px), rgba(70, 42, 20, .35) calc(33.333% - 1px) 33.333%),
    repeating-linear-gradient(91deg, rgba(110, 70, 35, .10) 0 1px, transparent 1px 5px, rgba(255, 240, 220, .08) 5px 7px, transparent 7px 11px),
    linear-gradient(180deg, transparent 0 46%, rgba(70, 42, 20, .3) 46% calc(46% + 1px), transparent 0) 0 0 / 33.333% 100%,
    linear-gradient(160deg, #CFAE86, #B48D63);
}
.chip-hardwood {
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(25, 10, 0, .5) calc(25% - 1px) 25%),
    repeating-linear-gradient(89deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 4px, rgba(255, 210, 160, .07) 4px 6px, transparent 6px 9px),
    linear-gradient(170deg, #7B4A2A, #5A3218);
}
.chip-carpet {
  background:
    radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.6px) 0 0 / 4px 4px,
    radial-gradient(rgba(60, 50, 40, .18) 1px, transparent 1.6px) 2px 2px / 4px 4px,
    linear-gradient(160deg, #BDB2A2, #A69A88);
  border-radius: 10px;
}
/* Saltillo terracotta — the Tucson floor tile. */
.chip-tile {
  background:
    linear-gradient(#E3D6C4 3px, transparent 3px) 0 -1px / 50% 33.333%,
    linear-gradient(90deg, #E3D6C4 3px, transparent 3px) -1px 0 / 50% 33.333%,
    radial-gradient(circle at 30% 30%, rgba(255, 220, 180, .25), transparent 45%) 0 0 / 50% 33.333%,
    linear-gradient(150deg, #C57A4E, #A95E36);
}
.chip-cabinet {
  background:
    radial-gradient(circle at 82% 52%, #C9B48A 0 3px, #8F7B55 3.5px, transparent 4.5px),
    #7F8B78;
  box-shadow:
    inset 0 0 0 12px #7F8B78,
    inset 0 0 0 14px rgba(30, 36, 28, .28),
    inset 0 0 0 15px rgba(255, 255, 255, .18),
    0 2px 3px rgba(42, 36, 32, .2), 0 16px 22px -14px rgba(42, 36, 32, .6);
}
.chip-quartz {
  background:
    linear-gradient(118deg, transparent 38%, rgba(120, 118, 125, .4) 39.5%, transparent 41.5%),
    linear-gradient(64deg, transparent 58%, rgba(140, 138, 145, .28) 59%, transparent 60.5%),
    linear-gradient(140deg, transparent 70%, rgba(150, 140, 120, .22) 71%, transparent 73%),
    radial-gradient(rgba(90, 90, 95, .10) .6px, transparent 1px) 0 0 / 5px 6px,
    linear-gradient(160deg, #F7F5F1, #E6E2DB);
}

/* The page's one orchestrated motion: samples settle on their hooks. */
@keyframes settle {
  0% { transform: rotate(7deg); }
  35% { transform: rotate(-4deg); }
  60% { transform: rotate(2deg); }
  80% { transform: rotate(-.8deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal].is-in .chip { animation: settle 1.6s cubic-bezier(.3, .6, .4, 1) both; }
  .js [data-reveal].is-in .sample:nth-child(2) .chip { animation-delay: .08s; }
  .js [data-reveal].is-in .sample:nth-child(3) .chip { animation-delay: .16s; }
  .js [data-reveal].is-in .sample:nth-child(4) .chip { animation-delay: .24s; }
  .js [data-reveal].is-in .sample:nth-child(5) .chip { animation-delay: .32s; }
  .js [data-reveal].is-in .sample:nth-child(6) .chip { animation-delay: .40s; }
}

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.step { counter-increment: step; position: relative; padding-top: 64px; border-top: 2px solid var(--ink); }
.step::before {
  content: counter(step); position: absolute; top: 14px; left: 0;
  font: 400 2.2rem/1 var(--serif); color: var(--adobe);
}
.step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 34vw, 220px);
}
.gallery-grid .g-wide, .gallery-grid .g-wide-sm { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
  .gallery-grid .g-wide { grid-column: 1 / 3; grid-row: 1; }
  .gallery-grid .g-tall { grid-column: 3; grid-row: 1 / 3; }
  .gallery-grid li:nth-child(3) { grid-column: 4; grid-row: 1; }
  .gallery-grid li:nth-child(4) { grid-column: 4; grid-row: 2; }
  .gallery-grid .g-wide-sm { grid-column: 1 / 3; grid-row: 2; }
}

.gallery-item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 8px; overflow: hidden; background: var(--limestone);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } .gallery-item:hover img { transform: none; } }

/* ---------- About + reviews ---------- */
.about { background: var(--limestone); display: grid; gap: 40px; }
.about-copy { max-width: 40rem; }
.about-copy > p { font-size: 1.1rem; }
.facts { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; text-align: right; color: var(--ink-soft); }

.reviews {
  align-self: start;
  background: var(--bone-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.reviews h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.reviews > p { color: var(--ink-soft); }
.review-links { display: grid; gap: 12px; }
.review-link {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.review-link:hover { border-color: var(--ink); background: #fff; }
.review-link svg { color: var(--adobe); flex: none; }

@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
}

/* ---------- Visit + form ---------- */
.visit { display: grid; gap: 40px; }
.visit-info > p { color: var(--ink-soft); max-width: 34rem; }
.contact-list { font-style: normal; display: grid; gap: 14px; margin: 24px 0; }
.contact-list a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover span { text-decoration: underline; }
.contact-list svg { flex: none; color: var(--adobe); margin-top: 3px; }
.hours h3 { font-size: 1.2rem; margin-bottom: .3em; }
.hours p { color: var(--ink-soft); }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--limestone); }
.map iframe { width: 100%; height: 300px; border: 0; }

.contact-form {
  align-self: start;
  background: var(--bone-2); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow);
}
.form-title { font-size: 1.6rem; }
.intent { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.intent legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.intent-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intent-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.intent-options label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 10px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1.25; cursor: pointer; background: #fff;
}
.intent-options input:checked + label { border-color: var(--adobe); background: #F6E6DC; color: var(--adobe-dark); }
.intent-options input:focus-visible + label { outline: 3px solid var(--monsoon); outline-offset: 2px; }

.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--monsoon); outline: 2px solid var(--monsoon); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-error { color: #B3261E; font-size: .9rem; font-weight: 500; margin: 6px 0 0; }
.field-error:empty { display: none; }
.field-hint { font-size: .9rem; color: var(--ink-soft); margin: -4px 0 16px; }
.form-status { margin: 14px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: #2F6B3A; }

@media (min-width: 900px) {
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--mesquite); color: #E9DFD2; padding: 56px var(--pad-x) 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: grid; gap: 32px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { flex: none; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.footer-brand p { margin: 0; line-height: 1.55; }
.footer-brand strong { color: #fff; font-weight: 600; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #CBBBA8; }
.site-footer .placeholder { outline-color: #A9B59D; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 14, 10, .9); }
.lightbox figure { margin: 0; padding: 64px 16px; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lightbox img { max-width: min(1000px, 100%); max-height: calc(100vh - 180px); width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { text-align: center; max-width: 60ch; color: #E9DFD2; font-size: .98rem; }
.lb-btn {
  position: fixed; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
