/* Spiritus Vitae Painting — editorial design system
   cream #faf7f0 · ink #1f1d16 · gold #e1a42e · deep gold #b9882b · olive #686350 */

:root {
  --cream: #faf7f0;
  --ink: #1f1d16;
  --gold: #e1a42e;
  --gold-deep: #b9882b;
  --gold-dark: #997731;
  --olive: #686350;
  --body: #4a4a4a;
  --hairline: rgba(185, 136, 43, 0.28);
  --hairline-dark: rgba(225, 164, 46, 0.3);
  /* Lora carries everything you read; Cormorant is display-only (large sizes) */
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* nothing gets to drag the page sideways on phones */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
/* grid children default to min-width:auto and blow out narrow viewports */
.hero .wrap > *, .review-row > *, .hf-row > *, .grid2 > *, .grid3 > *,
.gallery > figure, .svc-cards > *, .bgrid > *, .shelf > *, .vows > *,
.contact-grid > *, .foot > * { min-width: 0; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.wrap--wide { max-width: 1300px; }

/* ---------- nav ---------- */
.nav {
  background: var(--cream);
  border-bottom: 0.5px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: auto; animation: mark-breathe 3.8s ease-in-out infinite; }
@keyframes mark-breathe {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(242, 193, 88, 0.3)) drop-shadow(0 0 3px rgba(242, 193, 88, 0.18)); }
  50% { filter: drop-shadow(0 0 2.5px rgba(242, 193, 88, 0.9)) drop-shadow(0 0 9px rgba(242, 193, 88, 0.55)); }
}
@media (prefers-reduced-motion: reduce) { .brand img { animation: none; } }
.brand .bn { font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; line-height: 1.3; }
.brand .bn small { display: block; font-size: 10px; letter-spacing: 0.42em; color: var(--gold-dark); font-weight: 500; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--gold); }
.nav-links a.on { border-bottom-color: var(--gold-deep); color: var(--gold-dark); }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: 10px 18px !important; border: none !important; font-weight: 600; }
.nav-cta:hover { background: var(--gold-deep); }
.nav-burger { display: none; background: none; border: none; font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); cursor: pointer; padding: 8px; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 0.5px solid var(--hairline); flex-direction: column; padding: 18px 24px 26px; gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
}

/* ---------- section furniture ---------- */
.sec-label { text-align: center; margin: 0 0 34px; }
.sec-label .orn { color: var(--gold-deep); font-size: 11px; letter-spacing: 0.3em; margin: 0 14px; vertical-align: middle; }
.sec-label h2, .sec-label h1 { display: inline-block; font-size: 19px; font-weight: 500; color: var(--ink); margin: 0; letter-spacing: 0.28em; text-transform: uppercase; vertical-align: middle; }
.rule { height: 1px; width: 56px; background: var(--gold-deep); margin: 18px auto; border: none; }
.kicker { font-size: 14px; color: var(--gold-dark); letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 12px; }

.display { font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0; }
.display em { font-style: italic; }

.plate { padding: 6px; border: 1px solid var(--gold-deep); background: var(--cream); }
.plate-inner { border: 0.5px solid rgba(185, 136, 43, 0.5); overflow: hidden; position: relative; }
.cap { text-align: center; font-size: 16px; font-style: italic; color: var(--olive); margin: 14px 0 0; letter-spacing: 0.03em; }

/* photo placeholder plates (until August's photography lands) */
.ph { background: linear-gradient(160deg, #6d675300, #1f1d1614), var(--ph-tone, #857e68); position: relative; min-height: 260px; }
.ph::before {
  content: "";
  position: absolute; inset: 14px;
  border: 0.5px solid rgba(250, 247, 240, 0.35);
}
.ph .ph-mark { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; opacity: 0.5; }
.ph .ph-cap { position: absolute; bottom: 20px; left: 24px; right: 24px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250, 247, 240, 0.85); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 16px 32px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--gold-deep); font-weight: 500; }
.btn--ghost:hover { background: rgba(225, 164, 46, 0.1); }
.btn--ghost-dark { background: transparent; color: var(--cream); border-color: var(--gold); font-weight: 500; }
.btn--ghost-dark:hover { background: rgba(225, 164, 46, 0.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* ---------- legacy hero band — the old-site opening August loves ---------- */
.legacy-hero { background: var(--ink); text-align: center; padding: 58px 0 76px; }
.legacy-hero .lh-wrap { padding: 0 48px; }
@media (max-width: 700px) { .legacy-hero .lh-wrap { padding: 0; } }
.legacy-hero .lh-tag { font-family: var(--display); font-size: clamp(24px, 3.2vw, 38px); font-weight: 500; color: #d9a13b; margin: 0 0 30px; letter-spacing: 0.01em; text-align: center; }
.legacy-hero .logo-glow { position: relative; display: inline-block; }
.legacy-hero img {
  position: relative; width: min(720px, 94vw); margin: 0 auto; display: block;
}
/* the emblem itself breathes brighter — no aura, light stays on the lines */
.legacy-hero .glow-layer {
  position: absolute; inset: 0; width: 100%;
  clip-path: inset(0 0 41% 0); /* glow on the torch only — the wordmark stays flat */
  filter:
    brightness(1.3) saturate(1.14)
    drop-shadow(0 0 1.5px rgba(255,242,195,0.9))
    drop-shadow(0 0 3px rgba(242,193,88,0.45));
  animation: svp-glow-breathe 3.8s ease-in-out infinite;
}
@keyframes svp-glow-breathe {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .legacy-hero .glow-layer { animation: none; opacity: 0.5; } }
@media (max-width: 700px) {
  .legacy-hero .glow-layer {
    filter:
      brightness(1.5) saturate(1.3)
      drop-shadow(0 0 2px rgba(255, 242, 195, 0.95))
      drop-shadow(0 0 6px rgba(242, 193, 88, 0.6))
      drop-shadow(0 0 14px rgba(242, 193, 88, 0.35));
  }
  @keyframes svp-glow-breathe { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
}
@media (max-width: 700px) { .legacy-hero { padding: 30px 0 22px; } .legacy-hero img { width: 100vw; } }

/* ---------- home hero ---------- */
.hero { background: var(--ink); color: #f5f2ea; padding: 64px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 52px; align-items: start; }
@media (min-width: 1240px) { .hero .wrap { max-width: 1320px; grid-template-columns: minmax(0, 1fr) minmax(0, 700px); gap: 56px; } }
.hero-left { padding-top: 26px; container-type: inline-size; }
.hero-logo { width: 92px; margin-bottom: 34px; }
.hero h1 { font-family: var(--display); font-size: clamp(36px, 3.4vw, 47px); font-weight: 500; color: var(--cream); line-height: 1.1; margin: 0; }
.hero-left h1 { font-size: clamp(30px, 8.6cqw, 47px); }
.hero-rule { height: 1px; width: 56px; background: var(--gold); margin: 26px 0 20px; }
.hero-tag { font-size: 13px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 30px; }
.hero-lede { font-size: 19px; line-height: 1.8; color: rgba(245, 242, 234, 0.78); max-width: 46ch; font-style: italic; }
.hero-points { margin: 34px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 0.5px solid rgba(225, 164, 46, 0.18); font-size: 17px; color: rgba(245, 242, 234, 0.85); }
.hero-points li::before { content: "·"; color: var(--gold); font-size: 26px; line-height: 0; }
.hero-proof { margin-top: 34px; font-size: 17px; color: rgba(245, 242, 234, 0.65); font-style: italic; }
.hero-proof a { color: var(--gold); }
.hero-proof .stars { color: var(--gold); font-style: normal; letter-spacing: 0.12em; }
.hero-review {
  margin-top: 32px; border: 0.5px solid rgba(225, 164, 46, 0.35);
  padding: 24px 26px; min-height: 196px; display: flex; flex-direction: column; justify-content: center;
}
.hero-review .rv-inner { transition: opacity 0.7s ease; }
.hero-review .rv-stars { color: var(--gold); letter-spacing: 0.22em; font-size: 14px; margin-bottom: 10px; }
.hero-review .rv-text { font-size: 17px; line-height: 1.75; font-style: italic; color: rgba(245, 242, 234, 0.9); margin: 0 0 12px; }
.hero-review .rv-by { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.hero-review--light { border-color: var(--hairline); background: #fffdf8; }
.hero-review--light .rv-text { color: var(--body); }
.hero-review--light .rv-by { color: var(--gold-dark); }
@media (max-width: 980px) {
  .hero { padding: 56px 0 64px; }
  .hero-review { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- estimate form (black card, glowing gold ring) ---------- */
.hf {
  position: relative;
  border: 1px solid rgba(225, 164, 46, 0.8);
  background: #16140f;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(225, 164, 46, 0.22), 0 0 55px rgba(225, 164, 46, 0.1), 0 22px 60px rgba(0, 0, 0, 0.55);
  padding: 30px 28px;
}
.hf::before {
  content: ""; position: absolute; inset: -1px; border-radius: 12px;
  border: 1px solid rgba(225, 164, 46, 0.7); filter: blur(3px);
  animation: hf-breathe 3.8s ease-in-out infinite; pointer-events: none;
}
@keyframes hf-breathe { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.hf .lbl { font-size: 15px; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.hf .sub { font-size: 16px; font-style: italic; color: rgba(245, 242, 234, 0.55); margin-bottom: 20px; }
.hf-fields { container-type: inline-size; }
.hf-glabel { font-size: 13px; letter-spacing: 0.22em; color: rgba(225, 164, 46, 0.85); text-transform: uppercase; margin: 20px 0 10px; }
.hf-pair { margin-top: 20px; }
.hf-pair > * { min-width: 0; }
.hf-pair .hf-glabel { margin-top: 0; }
.hf-pair > div + div { margin-top: 20px; }
@container (min-width: 430px) {
  .hf-pair:not(.hf-pair--wide) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hf-pair:not(.hf-pair--wide) > div + div { margin-top: 0; }
}
@container (min-width: 560px) {
  .hf-when.picked { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .hf-when.picked .hf-selected-date { margin-top: 2px; }
}
.hf-glabel:first-of-type { margin-top: 0; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-chip {
  font-family: var(--serif); font-size: 16px; padding: 11px 17px;
  border: 1px solid rgba(225, 164, 46, 0.45); background: none;
  color: rgba(245, 242, 234, 0.88); letter-spacing: 0.04em; cursor: pointer; transition: all 0.12s;
}
.hf-chip:hover { border-color: var(--gold); color: var(--cream); box-shadow: 0 0 10px rgba(225, 164, 46, 0.25); }
.hf-chip.sel { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.hf input, .hf textarea {
  width: 100%; background: rgba(255, 255, 255, 0.045); border: none; border-bottom: 1px solid rgba(225, 164, 46, 0.5);
  padding: 14px 10px; font-size: 17px; color: var(--cream); font-family: var(--serif); border-radius: 0;
}
.hf input::placeholder, .hf textarea::placeholder { color: rgba(245, 242, 234, 0.45); font-style: italic; }
.hf input:focus, .hf textarea:focus { outline: none; border-bottom-color: var(--gold); }
.hf textarea { border: 1px solid rgba(225, 164, 46, 0.4); margin-top: 16px; min-height: 84px; padding: 13px; resize: vertical; }
.hf-cal { border: 1px solid rgba(225, 164, 46, 0.4); padding: 16px; }
.hf-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 0.5px solid rgba(225, 164, 46, 0.25); }
.hf-cal-month { font-size: 17px; color: var(--cream); font-weight: 600; letter-spacing: 0.05em; }
.hf-cal-nav { display: flex; gap: 8px; }
.hf-cal-nav button { background: none; border: none; color: var(--gold); font-size: 20px; cursor: pointer; padding: 0 8px; font-family: var(--serif); }
.hf-cal-nav button:disabled { color: rgba(225, 164, 46, 0.25); cursor: default; }
.hf-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dh { font-size: 11px; color: rgba(225, 164, 46, 0.65); letter-spacing: 0.12em; text-align: center; padding: 5px 0 8px; text-transform: uppercase; }
.d { font-family: var(--serif); font-size: 16px; color: var(--cream); text-align: center; padding: 9px 0; cursor: pointer; background: none; border: none; transition: all 0.12s; }
.d:hover:not(:disabled):not(.sel) { background: rgba(225, 164, 46, 0.15); }
.d:disabled { color: rgba(245, 242, 234, 0.18); cursor: default; }
.d.sel { background: var(--gold); color: var(--ink); font-weight: 600; }
.hf-selected-date { font-size: 16px; color: var(--gold); font-style: italic; margin: 15px 0 10px; }
.hf-send {
  -webkit-appearance: none; appearance: none; display: block; width: 100%;
  background: var(--gold); color: var(--ink); border: none; padding: 18px;
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-top: 26px; cursor: pointer;
}
.hf-send:hover { background: var(--gold-deep); }
.hf-note { font-size: 15px; font-style: italic; color: rgba(245, 242, 234, 0.5); margin-top: 14px; text-align: center; }
.hf-done { text-align: center; padding: 60px 10px; }
.hf-done h3 { font-family: var(--display); font-size: 28px; color: var(--cream); font-weight: 400; margin: 0 0 14px; }
.hf-done p { color: rgba(245, 242, 234, 0.75); font-style: italic; }
.hf-error { color: #e8b4a0; font-size: 16px; font-style: italic; margin-top: 12px; text-align: center; }

/* ---------- generic sections ---------- */
.section { padding: 84px 0; }
.section--dark { background: var(--ink); color: rgba(245, 242, 234, 0.8); }
.section--tight { padding: 64px 0; }
.hairline-top { border-top: 0.5px solid var(--hairline); }

/* services — photo cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.svc-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fffdf8; border: 0.5px solid var(--hairline); border-radius: 16px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--gold-deep); box-shadow: 0 18px 44px rgba(31,29,22,0.12); }
.svc-media { height: 210px; position: relative; border-bottom: 1px solid rgba(185, 136, 43, 0.35); }
.svc-media::after { content: ""; position: absolute; inset: 10px; border: 0.5px solid rgba(250, 247, 240, 0.55); border-radius: 8px; pointer-events: none; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.svc-card:hover .svc-media img { transform: scale(1.045); }
.svc-body { padding: 26px 24px 22px; display: flex; flex-direction: column; flex: 1; position: relative; }
.svc-top { display: contents; }
.svc-top .n {
  position: absolute; top: -17px; left: 22px; background: var(--ink); color: var(--gold);
  font-size: 13px; letter-spacing: 0.24em; padding: 7px 16px 6px 19px; border-radius: 999px;
  border: 1px solid rgba(225, 164, 46, 0.55); box-shadow: 0 6px 16px rgba(31, 29, 22, 0.25);
}
.svc-top .go {
  order: 3; margin-top: auto; padding-top: 16px; align-self: flex-start;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark);
  border-top: 0.5px solid var(--hairline); width: 100%;
}
.svc-card:hover .go { letter-spacing: 0.22em; }
.svc-card h3 { order: 1; font-family: var(--display); font-size: 27px; font-weight: 500; color: var(--ink); margin: 4px 0 8px; line-height: 1.15; }
.svc-card:hover h3 { color: var(--gold-dark); }
.svc-card p { order: 2; font-size: 16px; margin: 0 0 4px; line-height: 1.7; color: var(--body); }
@media (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc-media { height: 120px; }
  .svc-media::after { inset: 7px; }
  .svc-body { padding: 20px 14px 14px; }
  .svc-top .n { top: -14px; left: 12px; font-size: 11px; padding: 5px 12px 4px 15px; }
  .svc-card h3 { font-size: 16px; margin: 2px 0 6px; white-space: nowrap; }
  .svc-card p { font-size: 12.5px; line-height: 1.5; }
  .svc-top .go { font-size: 10.5px; letter-spacing: 0.14em; padding-top: 10px; }
}

/* services (legacy bordered grid — still used on city pages) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 0.5px solid var(--hairline); border-left: 0.5px solid var(--hairline); }
.svc { border-right: 0.5px solid var(--hairline); border-bottom: 0.5px solid var(--hairline); padding: 34px 30px 38px; }
.svc .n { font-size: 14px; color: var(--gold-dark); letter-spacing: 0.22em; }
.svc h3 { font-family: var(--display); font-size: 29px; font-weight: 500; color: var(--ink); margin: 10px 0 10px; line-height: 1.2; }
.svc p { font-size: 17px; margin: 0; line-height: 1.75; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* pull quote / about teaser */
.pull { text-align: center; max-width: 720px; margin: 0 auto; }
.pull blockquote { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 500; font-style: italic; color: var(--ink); line-height: 1.4; margin: 0; }
.pull .who { margin-top: 22px; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); }

/* community shelf */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shelf-card { border: 0.5px solid var(--hairline); padding: 30px 28px; background: #fffdf8; }
.shelf-card .k { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.shelf-card h3 { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--ink); margin: 0 0 8px; line-height: 1.25; }
.shelf-card p { font-size: 16px; margin: 0; line-height: 1.75; }
@media (max-width: 900px) { .shelf { grid-template-columns: 1fr; } }

/* reviews band */
.reviews { text-align: center; }
.reviews .score { font-family: var(--display); font-size: 46px; color: var(--cream); font-weight: 400; }
.reviews .stars { color: var(--gold); font-size: 20px; letter-spacing: 0.3em; margin: 6px 0 4px; }
.reviews .meta { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245, 242, 234, 0.6); }
.reviews .meta a { color: var(--gold); }
.review-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; text-align: left; }
.review { border: 0.5px solid var(--hairline-dark); padding: 30px 30px 26px; }
.review .rv-stars { color: var(--gold); letter-spacing: 0.22em; margin-bottom: 10px; font-size: 15px; }
.review p { font-size: 18px; font-style: italic; color: rgba(245, 242, 234, 0.88); margin: 0 0 14px; line-height: 1.7; }
.review .by { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 800px) { .review-row { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .review-row--wall { grid-template-columns: repeat(3, 1fr); } }

/* one continuous row of drifting reviews */
.rev-marquee { overflow: hidden; margin: 44px calc(50% - 50vw) 0; }
.rev-track { display: flex; width: max-content; animation: rev-scroll 60s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
.rev-set { display: flex; gap: 26px; padding-right: 26px; }
.rev-set .review { flex: 0 0 400px; }
@keyframes rev-scroll { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .rev-set .review { flex: 0 0 300px; } .rev-set { gap: 16px; padding-right: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-marquee { overflow-x: auto; }
}

/* area band */
.areas { text-align: center; }
.areas .list { font-size: clamp(19px, 2.6vw, 26px); color: var(--ink); font-style: italic; line-height: 2; max-width: 800px; margin: 0 auto; }
.areas .list b { font-weight: 600; font-style: normal; }
.areas .list a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold-deep); }
.areas .list a:hover { color: var(--gold-dark); }
.areas .list .sep { color: var(--gold-deep); margin: 0 12px; font-style: normal; }

/* real project photos in plates */
.gallery .plate-inner img { width: 100%; height: 340px; object-fit: cover; display: block; }
.feature-post .plate-inner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.article-hero { margin: 0 0 40px; }
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

/* collages & before/afters show whole, never cropped */
.gallery .plate-inner img.fit-contain,
.feat-media img.fit-contain,
.bcard-media img.fit-contain,
.article-hero img.fit-contain { object-fit: contain; background: #efe9dc; }

/* the estimate form on light pages sits in an ink panel */
.form-panel { background: var(--ink); padding: 26px; }
@media (max-width: 600px) { .form-panel { padding: 14px; } }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(245, 242, 234, 0.65); padding: 34px 0 22px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot img { width: 72px; margin-bottom: 10px; }
.foot .fl { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.foot p, .foot li { font-size: 14px; line-height: 1.7; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: rgba(245, 242, 234, 0.8); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot-bottom { border-top: 0.5px solid rgba(225, 164, 46, 0.18); margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; gap: 18px; font-size: 12px; letter-spacing: 0.08em; color: rgba(245, 242, 234, 0.4); }
.foot-credit { font-size: 14px; color: var(--gold); }
.foot-credit a { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 0.5px solid rgba(225, 164, 46, 0.5); padding-bottom: 1px; }
.foot-credit a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.foot-ruah { font-size: 14px; color: rgba(225, 164, 46, 0.7); margin-top: 6px; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; gap: 34px; } .foot-bottom { flex-direction: column; } }

/* ---------- about page ---------- */
.about-body { font-size: 21px; line-height: 1.9; }
.about-body p { margin: 0 0 22px; }
.about-body em { color: var(--ink); }
.about-sig { font-family: var(--display); font-size: 26px; color: var(--ink); font-style: italic; margin-top: 30px; text-align: right; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 0.5px solid var(--hairline); border-left: 0.5px solid var(--hairline); }
.value { border-right: 0.5px solid var(--hairline); border-bottom: 0.5px solid var(--hairline); padding: 28px 24px; }
.value h3 { font-size: 21px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.value p { font-size: 16px; margin: 0; line-height: 1.7; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* the four vows (About — How we work) */
.vows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
@media (max-width: 900px) { .vows { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .vows { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .vow .vnum { font-size: 30px; }
  .vow .vnum::after { margin: 9px 0 10px; width: 30px; }
  .vow h3 { font-size: 14.5px; white-space: nowrap; letter-spacing: 0; }
  .vow p { font-size: 11.5px; line-height: 1.6; }
}
.vow .vnum { font-family: var(--display); font-size: 52px; font-weight: 500; color: var(--gold-deep); line-height: 1; }
.vow .vnum::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold-deep); margin: 14px 0 16px; }
.vow h3 { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.vow p { font-size: 16px; line-height: 1.75; margin: 0; }

/* ---------- work / gallery ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.filter {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--hairline); background: none; color: var(--olive); cursor: pointer;
}
.filter:hover { border-color: var(--gold-deep); color: var(--ink); }
.filter.on { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery .plate { transition: transform 0.15s; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; font-size: 16px; font-style: italic; color: var(--olive); margin-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery .plate-inner img { height: 150px; }
  .gallery figcaption { font-size: 11.5px; margin-top: 6px; }
}

/* ---------- blog ---------- */
.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; margin-bottom: 70px; }
@media (max-width: 900px) { .feature-post { grid-template-columns: 1fr; } }
.post-cat { font-size: 13px; letter-spacing: 0.3em; color: var(--gold-deep); text-transform: uppercase; margin-bottom: 12px; }
.post-title { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; color: var(--ink); margin: 0 0 12px; font-weight: 400; }
.post-title a { text-decoration: none; }
.post-title a:hover { color: var(--gold-dark); }
.post-by { font-size: 16px; font-style: italic; color: var(--olive); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 0.5px solid var(--hairline); }
.post-excerpt { font-size: 18px; line-height: 1.8; }
.post-excerpt .drop { font-family: var(--display); font-size: 64px; float: left; line-height: 0.8; margin: 8px 10px 0 0; color: var(--gold-deep); font-weight: 500; }
.post-list { border-top: 0.5px solid var(--hairline); }
.post-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: baseline; padding: 26px 4px; border-bottom: 0.5px solid var(--hairline); text-decoration: none; }
.post-row:hover .pr-t { color: var(--gold-dark); }
.post-row .pr-c { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark); }
.post-row .pr-t { font-family: var(--display); font-size: 27px; color: var(--ink); font-weight: 500; line-height: 1.25; }
.post-row .pr-d { font-size: 15px; font-style: italic; color: var(--olive); white-space: nowrap; }
@media (max-width: 700px) { .post-row { grid-template-columns: 1fr; gap: 6px; } }

/* blog masthead — reads like a front page */
.masthead { text-align: center; margin-bottom: 46px; }
.masthead .issue {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark);
  border-top: 2px solid var(--ink); border-bottom: 0.5px solid var(--gold-deep);
  padding: 10px 6px; margin-top: 30px;
}
.masthead .issue span:nth-child(2) { color: var(--olive); }
@media (max-width: 700px) { .masthead .issue { font-size: 11px; } }

/* pills */
.pill { display: inline-block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold-dark); font-weight: 600; }
.pill--solid { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.readtime { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }

/* featured split card */
.feat-card {
  display: grid; grid-template-columns: 1.08fr 1fr;
  background: #fffdf8; border: 0.5px solid var(--hairline); border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 0 rgba(31,29,22,0.03);
}
.feat-body { padding: 52px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.feat-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.feat-title { font-family: var(--display); font-size: clamp(32px, 3.8vw, 46px); font-weight: 500; color: var(--ink); line-height: 1.08; margin: 0 0 18px; }
.feat-title a { text-decoration: none; }
.feat-title a:hover { color: var(--gold-dark); }
.feat-ex { font-size: 18px; line-height: 1.8; color: var(--body); margin: 0 0 28px; }
.feat-link { margin-top: auto; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.feat-link .arr { display: inline-block; transition: transform 0.18s; margin-left: 6px; color: var(--gold-deep); }
.feat-link:hover { color: var(--gold-dark); }
.feat-link:hover .arr { transform: translateX(5px); }
.feat-media { position: relative; min-height: 340px; }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-media .ph { position: absolute; inset: 0; min-height: 0; }
@media (max-width: 900px) {
  .feat-card { grid-template-columns: 1fr; }
  .feat-media { order: -1; min-height: 240px; }
  .feat-body { padding: 32px 26px; }
}

/* numbered story cards */
.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
@media (max-width: 800px) { .bgrid { grid-template-columns: 1fr; } }
.bcard {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fffdf8; border: 0.5px solid var(--hairline); border-radius: 16px; overflow: hidden;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.bcard:hover { transform: translateY(-3px); border-color: var(--gold-deep); box-shadow: 0 10px 30px rgba(31,29,22,0.07); }
.bcard-media { height: 230px; overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard-media .ph { min-height: 230px; height: 100%; }
.bcard-body { padding: 26px 28px 24px; display: flex; flex-direction: column; flex: 1; }
.bcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bcard-top .num { font-family: var(--display); font-size: 18px; color: var(--olive); letter-spacing: 0.1em; }
.bcard h3 { font-family: var(--display); font-size: 29px; font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 10px; }
.bcard:hover h3 { color: var(--gold-dark); }
.bcard .ex { font-size: 16px; line-height: 1.75; color: var(--body); margin: 0 0 22px; }
.bcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 0.5px solid var(--hairline); padding-top: 16px; }
.bcard-foot .arr { color: var(--ink); font-size: 20px; transition: transform 0.18s; }
.bcard:hover .arr { transform: translateX(5px); color: var(--gold-dark); }

/* article page *//* article page */
.article { max-width: 720px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 46px; }
.article-body { font-size: 21px; line-height: 1.9; }
.article-body > p:first-of-type::first-letter { font-family: var(--display); font-size: 74px; float: left; line-height: 0.78; margin: 10px 12px 0 0; color: var(--gold-deep); font-weight: 500; }
.article-body p { margin: 0 0 24px; }
.article-foot { margin-top: 52px; padding-top: 26px; border-top: 0.5px solid var(--hairline); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
@media (min-width: 1240px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 56px; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--ink); border-radius: 18px; padding: 34px 32px 30px; box-shadow: 0 28px 70px rgba(31, 29, 22, 0.22); }
.cc-row { padding: 15px 0 17px; border-bottom: 0.5px solid rgba(225, 164, 46, 0.28); }
.cc-row:first-child { padding-top: 0; }
.cc-row .k { display: block; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.cc-row .v { display: block; font-size: 21px; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.cc-row a.v:hover { color: var(--gold); }
.cc-serving { margin: 20px 0 0; font-style: italic; font-size: 15.5px; line-height: 1.7; color: rgba(245, 242, 234, 0.72); }
.cc-google { display: inline-block; margin-top: 12px; font-style: italic; font-size: 15.5px; color: var(--gold); text-decoration-color: rgba(225, 164, 46, 0.4); }
.contact-card .hero-review { margin-top: 24px; min-height: 0; padding: 20px 20px; }

/* light form (contact page) */
.lf input, .lf textarea {
  width: 100%; background: #fffdf8; border: 0.5px solid var(--hairline);
  padding: 15px; font-size: 18px; color: var(--ink); font-family: var(--serif); border-radius: 0; margin-bottom: 12px;
}
.lf input:focus, .lf textarea:focus { outline: none; border-color: var(--gold-deep); }
.lf textarea { min-height: 130px; resize: vertical; }
.lf ::placeholder { color: #898774; font-style: italic; }

/* misc */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============ mobile scale (Tovah: "it's huge on mobile") ============ */
@media (max-width: 700px) {
  body { font-size: 17px; line-height: 1.7; }
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .sec-label { margin-bottom: 24px; }
  .sec-label h2, .sec-label h1 { font-size: 15px; }
  .kicker { font-size: 12px; }
  .btn { padding: 13px 22px; font-size: 13px; }

  /* legacy hero */
  .legacy-hero { padding: 36px 0 46px; }
  .legacy-hero .lh-tag { font-size: clamp(11px, 3.5vw, 14px); white-space: nowrap; letter-spacing: 0.04em; margin-bottom: 18px; }
  .legacy-hero img { width: min(300px, 82vw); }

  /* ink hero */
  .hero { padding: 42px 0 52px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero-tag { font-size: 11px; letter-spacing: 0.22em; }
  .hero-lede { font-size: 16px; }
  .hero-points li { font-size: 15px; }
  .hero-proof { font-size: 15px; margin-top: 24px; }
  .hero-review { padding: 18px 18px; margin-top: 22px; }
  .hero-review .rv-text { font-size: 15px; }

  /* estimate form */
  .hf { padding: 20px 16px; }
  .hf .lbl { font-size: 13px; }
  .hf .sub { font-size: 14px; }
  .hf-chip { font-size: 13px; padding: 7px 9px; }
  .hf input, .hf textarea { font-size: 16px; }
  .form-panel { padding: 10px; }

  /* cards */
  .svc-media { height: 152px; }
  .gallery .plate-inner img { height: 250px; }
  .cap, .gallery figcaption { font-size: 13px; }

  /* blog */
  .feat-body { padding: 24px 20px; }
  .feat-title { font-size: clamp(26px, 7.4vw, 32px); }
  .feat-ex { font-size: 16px; }
  .bcard h3 { font-size: 24px; }
  .bcard .ex { font-size: 15px; }
  .bcard-media { height: 190px; }
  .article-body, .about-body { font-size: 18px; line-height: 1.85; }

  /* bands */
  .reviews .score { font-size: 36px; }
  .review { padding: 20px 18px 18px; }
  .review p { font-size: 15px; }
  .pull blockquote { font-size: clamp(20px, 6vw, 26px); }
  .shelf-card { padding: 22px 20px; }
  .shelf-card h3 { font-size: 21px; }
  .areas .list { line-height: 1.9; }
  .vow .vnum { font-size: 38px; }
  .vow h3 { font-size: 21px; }
  .contact-card { padding: 26px 20px 24px; border-radius: 14px; }
  .cc-row .v { font-size: 18px; }
  .cc-serving, .cc-google { font-size: 14.5px; }
  .foot p, .foot li { font-size: 15px; }
  footer { padding: 44px 0 30px; }
  .foot { gap: 22px; text-align: center; }
  .foot img { width: 84px; margin: 0 auto 10px; }
  .foot p { line-height: 1.7; }
  .foot .fl { margin-bottom: 8px; }
  .foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .foot ul li { line-height: 1.6; }
  .foot-ruah { margin: 4px 0 0; }
  .foot-bottom { margin-top: 26px; padding-top: 16px; text-align: center; gap: 4px; font-size: 12px; }
}

/* chat with August */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 85; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--gold); border: 1px solid rgba(225,164,46,0.5); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(31,29,22,0.35); }
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab:hover { background: #2b2921; }
.chat-panel { display: none; position: fixed; right: 20px; bottom: 88px; z-index: 86; width: min(360px, calc(100vw - 32px));
  background: var(--cream); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(31,29,22,0.4);
  border: 0.5px solid var(--hairline); flex-direction: column; max-height: min(520px, 70vh); }
.chat-panel.open { display: flex; }
.chat-head { position: relative; background: var(--ink); color: var(--cream); padding: 13px 44px 12px 16px; }
.chat-head b { display: block; font-size: 16px; }
.chat-head span { display: block; font-size: 12px; font-style: italic; color: rgba(245,242,234,0.6); margin-top: 1px; }
.chat-head button { position: absolute; top: 10px; right: 10px; background: none; border: none; color: var(--gold); font-size: 16px; cursor: pointer; padding: 6px 8px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.cm { max-width: 82%; padding: 9px 13px; border-radius: 13px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-a { background: #efe9dc; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.cm-v { background: var(--ink); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-name { padding: 0 12px 8px; }
.chat-name input { width: 100%; border: 0.5px solid var(--hairline); border-radius: 9px; padding: 9px 12px; font-family: var(--serif); font-size: 14px; background: #fffdf8; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 0.5px solid var(--hairline); background: #fffdf8; }
.chat-input textarea { flex: 1; border: 0.5px solid var(--hairline); border-radius: 10px; padding: 10px 12px; font-family: var(--serif); font-size: 15px; resize: none; overflow: hidden; background: #fff; }
.chat-input textarea:focus, .chat-name input:focus { outline: none; border-color: var(--gold-deep); }
.chat-input button { background: var(--gold); border: none; border-radius: 10px; font-family: var(--serif); font-weight: 600; font-size: 14px; padding: 0 18px; cursor: pointer; color: var(--ink); }

/* dark page (contact) */
.page-dark { background: var(--ink); }
.page-dark .nav { background: var(--ink); border-bottom-color: rgba(225, 164, 46, 0.25); }
.page-dark .brand, .page-dark .nav-links a, .page-dark .nav-burger { color: var(--cream); }
.page-dark .nav-links a.on { color: var(--gold); border-bottom-color: var(--gold); }
.page-dark .kicker { color: var(--gold); }
.page-dark .display { color: var(--cream); }
.page-dark .contact-card { background: none; border: none; box-shadow: none; padding: 0; }
.page-dark .form-panel { background: none; padding: 0; }
@media (max-width: 900px) { .page-dark .nav-links { background: var(--ink); border-bottom-color: rgba(225, 164, 46, 0.25); } }

/* mobile: chip groups stay one line when they fit, wrap when they don't (no clipping) */
@media (max-width: 700px) {
  .hf-chips { gap: 6px; }
  .hf-chip { white-space: nowrap; }
}

@media (max-width: 700px) {
  .filter-row { gap: 6px; margin-bottom: 30px; }
  .filter { font-size: 11.5px; padding: 7px 10px; letter-spacing: 0.1em; }
}

/* dark blog page */
.page-dark .masthead > p { color: rgba(245, 242, 234, 0.75); }
.page-dark .masthead .issue { border-top-color: var(--gold); border-bottom-color: rgba(225, 164, 46, 0.5); color: var(--gold); }
.page-dark .masthead .issue span:nth-child(2) { color: rgba(245, 242, 234, 0.5); }
.page-dark .post-cat { color: var(--gold); }
.page-dark .post-title { color: var(--cream); }
.page-dark .post-by { color: rgba(245, 242, 234, 0.6); border-bottom-color: rgba(225, 164, 46, 0.3); }
.page-dark .post-excerpt { color: rgba(245, 242, 234, 0.8); }
.page-dark .post-excerpt .drop { color: var(--gold); }
.page-dark .post-list { border-top-color: rgba(225, 164, 46, 0.3); }
.page-dark .post-row { border-bottom-color: rgba(225, 164, 46, 0.25); }
.page-dark .post-row .pr-t { color: var(--cream); }
.page-dark .post-row .pr-c { color: var(--gold); }
.page-dark .post-row .pr-d { color: rgba(245, 242, 234, 0.55); }
.page-dark .post-row:hover .pr-t, .page-dark .post-title a:hover { color: var(--gold); }

/* photo lightbox */
.gallery figure, #home-strip figure { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 130; background: rgba(18, 16, 11, 0.95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
body.lb-lock { overflow: hidden; }
.lb figure { margin: 0; max-width: 94vw; text-align: center; }
.lb img { max-width: 94vw; max-height: 80vh; object-fit: contain; border: 1px solid rgba(225, 164, 46, 0.5); background: #16140f; }
.lb figcaption { margin-top: 12px; font-style: italic; color: rgba(245, 242, 234, 0.8); font-size: 15px; }
.lb-x { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--gold); font-size: 24px; cursor: pointer; padding: 10px; z-index: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gold); font-size: 46px; cursor: pointer; padding: 6px 14px; font-family: var(--serif); line-height: 1; z-index: 1; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
@media (max-width: 700px) { .lb-nav { font-size: 36px; } .lb img { max-height: 72vh; } }

/* home strip: single row on phones */
@media (max-width: 600px) {
  #home-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  #home-strip .plate-inner img { height: 118px; }
  #home-strip figcaption { font-size: 10px; margin-top: 5px; }
}

/* chat on phones: full-screen takeover (must stay after the base chat rules) */
@media (max-width: 700px) {
  .chat-fab { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .chat-panel {
    inset: 0; width: 100%; max-height: none;
    height: 100vh; height: 100dvh;
    border-radius: 0; border: none;
  }
  .chat-head { padding: 15px 56px 13px 18px; padding-top: max(15px, env(safe-area-inset-top)); }
  .chat-head b { font-size: 17px; }
  .chat-head button { top: 50%; transform: translateY(-50%); font-size: 20px; padding: 10px 14px; }
  .chat-msgs { overscroll-behavior: contain; }
  .chat-name input { font-size: 16px; }
  .chat-input { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .chat-input textarea { font-size: 16px; }
  .chat-input button { padding: 0 20px; font-size: 15px; }
  body.chat-lock { overflow: hidden; }
}

/* mobile: the unified ink opening flows logo -> headline with no dead band */
@media (max-width: 700px) {
  .legacy-hero { padding: 28px 0 8px; }
  .hero { padding-top: 6px; }
  .hero-left { padding-top: 0; }
}
