/* ============================================================
   ClinicWalls — main stylesheet
   Warm ivory / charcoal / terracotta. Editorial serif + crisp sans.
   ============================================================ */

:root {
  --ivory: #f4f1ea;
  --ivory-deep: #ece7db;
  --paper: #fbfaf6;
  --charcoal: #211d18;
  --ink: #33302a;
  --ink-soft: #6b655b;
  --rust: #a84e32;
  --rust-deep: #8c3f27;
  --clay: #e6dcc9;
  --wall: #e7ddcb;
  --line: rgba(33, 29, 24, 0.14);
  --line-soft: rgba(33, 29, 24, 0.08);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shell: 1240px;
  --shadow-frame:
    0 1px 2px rgba(30, 25, 18, 0.10),
    0 10px 24px -8px rgba(30, 25, 18, 0.28),
    0 30px 60px -30px rgba(30, 25, 18, 0.35);
  --shadow-frame-lg:
    0 2px 4px rgba(30, 25, 18, 0.12),
    0 18px 40px -10px rgba(30, 25, 18, 0.32),
    0 50px 90px -40px rgba(30, 25, 18, 0.4);
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration-color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--rust); color: var(--ivory); }

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.shell--narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--charcoal);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-solid { background: var(--charcoal); color: var(--ivory); }
.btn-solid:hover { background: var(--rust-deep); border-color: var(--rust-deep); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--charcoal); }
.btn-outline:hover { border-color: var(--rust); color: var(--rust-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--charcoal); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--rust-deep); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--rust); }
.site-nav .nav-cta {
  border: 1px solid var(--charcoal);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.site-nav .nav-cta:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--charcoal);
}
.nav-toggle-bar { display: none; }

@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 16px; height: 2px;
    background: var(--charcoal);
    position: relative;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -5px; }
  .nav-toggle-bar::after { top: 5px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta { border: 1px solid var(--charcoal); margin-top: 0.8rem; text-align: center; padding: 0.8rem 1.1rem; }
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(168, 78, 50, 0.05), transparent 55%),
    var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.4rem;
}
.eyebrow a { text-decoration: none; color: inherit; }
.eyebrow a:hover { text-decoration: underline; }

.hero-copy .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-note {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
}
.hero-note::before {
  content: "";
  display: inline-block;
  width: 2rem; height: 1px;
  background: var(--rust);
  vertical-align: middle;
  margin-right: 0.7rem;
}

/* gallery wall */

.hero-wall { min-width: 0; }

.wall-surface {
  background:
    linear-gradient(160deg, #ece3d2 0%, var(--wall) 45%, #dfd3bd 100%);
  border: 1px solid var(--line-soft);
  padding: clamp(1.5rem, 3.2vw, 3rem);
  display: flex;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 60px rgba(120, 96, 64, 0.12);
  position: relative;
}
.wall-surface::after {
  /* subtle baseboard shadow */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: linear-gradient(to top, rgba(90, 70, 45, 0.16), transparent);
  pointer-events: none;
}

.wall-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.wall-frame { margin: 0; display: flex; flex-direction: column; align-items: center; }

.wall-frame .art-frame { width: 100%; }
.wall-frame--tall .art-frame { width: clamp(140px, 17vw, 215px); }
.wall-frame--wide .art-frame { width: clamp(170px, 20vw, 260px); }
.wall-frame--sq .art-frame { width: clamp(120px, 14vw, 175px); }
.wall-frame--feature .art-frame { width: clamp(190px, 22vw, 300px); }

.wall-label {
  margin-top: 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7a6b52;
  text-align: center;
  line-height: 1.5;
}
.wall-label span {
  display: block;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.72rem;
  color: #8d7f68;
}

.wall-note {
  margin: 0.7rem 0 0;
  font-size: 0.74rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: right;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-wall { max-width: 560px; }
}

/* ---------- frames (shared) ---------- */

.art-frame {
  display: block;
  background: var(--paper);
  padding: clamp(8px, 1vw, 13px);
  box-shadow: var(--shadow-frame);
  position: relative;
}
.art-mat {
  display: grid;
  place-items: center;
  background: #fff;
  padding: clamp(8px, 1.4vw, 16px);
  box-shadow: inset 0 0 0 1px rgba(33, 29, 24, 0.07), inset 0 2px 8px rgba(33, 29, 24, 0.05);
}
.art-mat img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.frame-oak { border: 4px solid #c29a67; outline: 1px solid rgba(120, 88, 48, 0.45); }
.frame-black { border: 4px solid #26231e; outline: 1px solid rgba(20, 17, 13, 0.6); }
.frame-white { border: 4px solid #f6f3ec; outline: 1px solid rgba(33, 29, 24, 0.22); }

/* ---------- material strip ---------- */

.strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.strip-item {
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.strip-item:last-child { border-right: 0; }
.strip-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--rust);
}
.strip-body { font-size: 0.86rem; color: var(--ink); line-height: 1.5; }

@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2n) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .strip { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
}

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tint { background: var(--ivory-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--page { padding-top: clamp(3rem, 6vw, 5rem); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start;
  border-top: 1px solid var(--charcoal);
  padding-top: 1.4rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--rust);
  margin: 0;
  line-height: 1;
  padding-top: 0.35rem;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0.6rem 0 0;
  font-size: 0.98rem;
}

/* ---------- niche cards ---------- */

.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.niche-card {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 2vw, 1.7rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.niche-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 24px 48px -24px rgba(30, 25, 18, 0.35);
  color: inherit;
}
.niche-card:nth-child(4), .niche-card:nth-child(5) { grid-column: span 1; }
@media (min-width: 901px) {
  /* last row of two: stretch gracefully */
  .niche-card:nth-child(4) { grid-column: 1 / 2; }
  .niche-card:nth-child(5) { grid-column: 2 / 4; flex-direction: row; align-items: center; }
  .niche-card:nth-child(5) .niche-card-art { width: min(38%, 240px); flex-shrink: 0; }
}

.niche-card-art {
  width: min(62%, 220px);
  margin-inline: auto;
}
.niche-card-art .art-mat { aspect-ratio: 4 / 5; }

.niche-card-body { display: flex; flex-direction: column; gap: 0.45rem; }
.niche-card-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rust);
}
.niche-card-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
}
.niche-card-meta { font-size: 0.82rem; color: var(--ink-soft); }
.niche-card-cta { color: var(--rust-deep); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(168, 78, 50, 0.5); }
.niche-card:hover .niche-card-cta { text-decoration-color: var(--rust); }

@media (max-width: 900px) {
  .niche-grid { grid-template-columns: 1fr 1fr; }
  .niche-card:nth-child(5) { grid-column: auto; flex-direction: column; align-items: stretch; }
  .niche-card:nth-child(5) .niche-card-art { width: min(62%, 220px); }
}
@media (max-width: 560px) {
  .niche-grid { grid-template-columns: 1fr; }
}

/* ---------- collection grid ---------- */

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.filter-btn {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--rust); color: var(--rust-deep); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.collection-count { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }

.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem);
}
@media (max-width: 1020px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }

.art-card { margin: 0; display: flex; flex-direction: column; }
.art-card[hidden] { display: none; }

.art-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
  display: block;
  width: 100%;
}

.art-card .art-frame { width: 100%; }
.art-card .art-mat { aspect-ratio: 4 / 5; }

.art-card:hover .art-frame { box-shadow: var(--shadow-frame-lg); }

.art-caption {
  padding: 0.75rem 0.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.art-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
}
.art-artist {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.collection-more { text-align: center; margin-top: clamp(2rem, 3.5vw, 3rem); }
.collection-more[hidden] { display: none; }

.cross-links {
  margin: clamp(2rem, 3.5vw, 3rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--rust);
  border-radius: 50%;
  color: var(--rust-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--ink); margin: 0; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0.2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--rust);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 2.5rem 1.3rem 0.2rem;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 46em;
}

/* ---------- quote / form ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.quote-copy .section-num { padding-top: 0; }
.quote-copy h2 { margin-bottom: 0.8rem; }
.quote-copy .section-lede { margin-bottom: 1.6rem; }
.quote-alt { font-size: 0.92rem; color: var(--ink-soft); }

.quote-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 60px -40px rgba(30, 25, 18, 0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.4rem;
  margin-bottom: 1.4rem;
}
.form-field { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--wide { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.req { color: var(--rust); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--rust);
  outline-offset: 0;
  border-color: var(--rust);
}

.field-hint { font-size: 0.76rem; color: var(--ink-soft); }

.hp-field { display: none; }

.form-status {
  background: rgba(168, 78, 50, 0.09);
  border: 1px solid rgba(168, 78, 50, 0.35);
  color: var(--rust-deep);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.btn-submit { width: 100%; font-size: 1rem; padding: 1rem 1.7rem; }

.form-alt {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- dialog ---------- */

.art-dialog {
  border: 1px solid var(--line);
  padding: 0;
  background: var(--ivory);
  color: var(--charcoal);
  width: min(960px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
}
.art-dialog::backdrop {
  background: rgba(24, 20, 15, 0.55);
  backdrop-filter: blur(2px);
}

.dialog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: auto;
}

.dialog-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  z-index: 2;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--rust); color: var(--rust-deep); }

.dialog-stage {
  background:
    linear-gradient(160deg, #ece3d2 0%, var(--wall) 50%, #dfd3bd 100%);
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  box-shadow: inset 0 0 50px rgba(120, 96, 64, 0.12);
}
.dialog-stage .art-frame {
  width: min(100%, 340px);
  box-shadow: var(--shadow-frame-lg);
}
.dialog-stage .art-mat img { max-height: min(52vh, 480px); }

.dialog-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.dialog-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.2rem; }
.dialog-artist {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.finish-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}
.finish-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 0.5rem;
}
.finish-btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.finish-btn:hover { border-color: var(--rust); color: var(--rust-deep); }
.finish-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.dialog-note { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.2rem; }

.dialog-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.dialog-added {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--rust-deep);
  font-weight: 500;
}

@media (max-width: 760px) {
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-stage .art-frame { width: min(100%, 260px); }
  .dialog-stage .art-mat img { max-height: 38vh; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(244, 241, 234, 0.85);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.wordmark--footer { color: var(--ivory); font-size: 1.6rem; margin-bottom: 0.8rem; }
.footer-line { font-size: 0.9rem; color: rgba(244, 241, 234, 0.65); max-width: 22em; margin: 0; }

.footer-col { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-head {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
  margin: 0 0 0.6rem;
}
.footer-col a {
  color: rgba(244, 241, 234, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  width: fit-content;
}
.footer-col a:hover { color: #d98d6f; }
.footer-note { font-size: 0.82rem; color: rgba(244, 241, 234, 0.5); margin: 0.4rem 0 0; }

.footer-legal {
  border-top: 1px solid rgba(244, 241, 234, 0.14);
  padding-block: 1.3rem;
}
.footer-legal p { margin: 0; font-size: 0.78rem; color: rgba(244, 241, 234, 0.45); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- prose pages (privacy, thank you) ---------- */

.prose h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.6rem;
}
.prose p { color: var(--ink); max-width: 46em; }

.thank-you { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.thank-you .section-num { border-bottom: 0; }
.thank-you .section-lede { margin-inline: auto; }
.thank-you-links { margin-top: 2rem; }

.prose .section-head, .thank-you .section-num {
  border-top: 1px solid var(--charcoal);
  padding-top: 1.4rem;
}
.thank-you .section-num { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--rust); display: block; margin-bottom: 1rem; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- small-screen guards ---------- */

@media (max-width: 480px) {
  .wall-surface { padding: 1rem; gap: 0.7rem; }
  .wall-stack { gap: 0.7rem; }
  .wall-frame--tall .art-frame { width: 106px; }
  .wall-frame--wide .art-frame { width: 126px; }
  .wall-frame--sq .art-frame { width: 90px; }
  .wall-frame--feature .art-frame { width: 168px; }
  .wall-label { font-size: 0.56rem; }
  .wall-label span { font-size: 0.62rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ---------- room concepts and priority journeys ---------- */

.hero-room-visual { min-width: 0; }
.concept-figure {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.concept-figure > img {
  width: 100%;
  height: auto;
}
.concept-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.72rem 0.85rem 0.8rem;
  font-size: 0.7rem;
  line-height: 1.45;
}
.concept-label {
  color: var(--ink-soft);
  font-style: italic;
}
.concept-credit {
  color: var(--ink);
  font-weight: 500;
}
.hero-room-visual .concept-figure {
  box-shadow: 0 28px 65px -42px rgba(30, 25, 18, 0.48);
}
.campaign-hero {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(168, 78, 50, 0.08), transparent 58%),
    var(--ivory);
}
.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.priority-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.priority-card:hover {
  color: inherit;
  border-color: rgba(168, 78, 50, 0.42);
  box-shadow: 0 22px 45px -30px rgba(30, 25, 18, 0.42);
  transform: translateY(-3px);
}
.priority-card .concept-figure {
  border: 0;
  border-bottom: 1px solid var(--line);
}
.priority-card .concept-figure figcaption { padding: 0.62rem 0.8rem; }
.priority-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}
.priority-card-kicker {
  color: var(--rust-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.priority-card-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}
.priority-card-copy {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}
.priority-card-link {
  margin-top: auto;
  padding-top: 0.7rem;
  color: var(--rust-deep);
  font-size: 0.82rem;
  font-weight: 600;
}
.other-spaces {
  margin: 1.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.room-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.room-concept-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.room-concept-copy { padding: clamp(1rem, 1.8vw, 1.45rem); }
.room-concept-copy h3 { margin-bottom: 0.55rem; }
.room-concept-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.availability-note {
  max-width: 74em;
  margin: 1.4rem 0 0;
  padding: 0.95rem 1.1rem;
  background: rgba(168, 78, 50, 0.07);
  border-left: 2px solid var(--rust);
  color: var(--ink);
  font-size: 0.84rem;
}
.designer-art-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}
.brief-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.brief-points li {
  border-top: 1px solid var(--charcoal);
  padding-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.brief-points strong { color: var(--charcoal); }
.form-confirmation {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .priority-grid { grid-template-columns: 1fr 1fr; }
  .priority-card:last-child { grid-column: 1 / -1; }
  .room-concept-grid { grid-template-columns: 1fr 1fr; }
  .brief-points { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .priority-grid,
  .room-concept-grid,
  .designer-art-grid { grid-template-columns: 1fr; }
  .priority-card:last-child { grid-column: auto; }
  .hero-room-visual { margin-top: 0.25rem; }
  .concept-figure figcaption { padding: 0.65rem 0.72rem; }
}

/* ---------- hero framed-art composition (real credited works) ---------- */

.hero-gallery {
  min-width: 0;
  background:
    linear-gradient(165deg, #ece3d2 0%, var(--wall) 48%, #ded2bc 100%);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 0 60px rgba(120, 96, 64, 0.12);
  padding: clamp(1.3rem, 2.8vw, 2.6rem) clamp(1.2rem, 2.4vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-auto-rows: min-content;
  gap: clamp(0.9rem, 1.8vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  position: relative;
}
.hero-gallery::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: linear-gradient(to top, rgba(90, 70, 45, 0.16), transparent);
  pointer-events: none;
}

.hero-art {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero-art .art-frame { width: 100%; }
.hero-art--feature { grid-row: 1 / 3; }
.hero-art--feature .art-mat img { max-height: min(46vh, 430px); }
.hero-art:hover .art-frame { box-shadow: var(--shadow-frame-lg); }

.hero-frame-static { display: block; }

.hero-art-credit {
  padding: 0.6rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero-art .art-title { font-size: 0.98rem; line-height: 1.25; }
.hero-art .art-artist {
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-gallery-note {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: right;
}

@media (max-width: 900px) {
  .hero-gallery { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 0.9rem;
    gap: 0.8rem;
  }
  .hero-art--feature { grid-column: 1 / -1; grid-row: auto; }
  .hero-art--feature .art-mat img { max-height: 42vh; }
  .hero-art .art-title { font-size: 0.9rem; }
  .hero-art-credit { padding-top: 0.45rem; }
  .hero-gallery-note { text-align: left; }
}

/* ---------- /dk/ Danish clinic landing ---------- */

.dk-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem);
}
.dk-gallery .art-mat { aspect-ratio: 4 / 5; }
.dk-gallery .hero-art .art-frame { width: 100%; }

.dk-more {
  margin: clamp(2rem, 3.5vw, 3rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.dk-more a[lang="en"] { font-weight: 500; }

.site-nav a[lang] {
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.35rem 0.7rem;
}
.site-nav a[lang]:hover { color: var(--rust-deep); border-color: var(--rust); }
@media (max-width: 840px) {
  .site-nav a[lang] { border: 0; padding: 0.8rem 0; width: 100%; }
}

@media (max-width: 700px) {
  .dk-gallery { grid-template-columns: 1fr; max-width: 420px; }
}

/* Review refinements: keep caption with artwork; Danish selections use the shared shortlist. */
.hero-art-composition { min-width: 0; }
.dk-pick { margin-top: .8rem; font-size: .78rem; width: 100%; }
.dk-pick[aria-pressed="true"] { background: var(--ink, #292e2b); color: #fff; }
.form-privacy { font-size: .78rem; line-height: 1.65; }
