/* Candlewood House & Guest Studio — candlewoodhouse.com
   Palette and type lifted from the printed location package. */

:root {
  --paper: #f4f1ea;
  --paper-2: #f7f5f1;
  --ink: #24221f;
  --ink-deep: #141311;
  --muted: #8e887e;
  --muted-2: #a9a29a;
  --rule: #e0dad0;
  --sage: #6e7359;
  --sage-pale: #dce0d4;
  --gold: #eabd00;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 68px);
  --label: 0.66rem;
  --maxw: 1560px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--sage-pale); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink-deep); color: var(--paper);
  padding: 12px 18px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- shared devices ---------- */

.label {
  font-size: var(--label);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

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

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 26px; height: auto; }
.brand span {
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.brand small {
  display: block; font-size: 0.6rem; letter-spacing: 0.19em;
  color: var(--muted); font-weight: 400; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav a.nav-cta {
  border: 1px solid var(--ink); padding: 9px 16px; border-bottom-color: var(--ink);
}
.nav a.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  padding: 9px 14px; font: inherit; font-size: var(--label);
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--gutter) 22px;
  }
  .site-header.open .nav { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a.nav-cta { border: 1px solid var(--ink); padding: 12px 16px; margin-top: 14px; width: auto; }
}

/* ---------- section plates (the deck's divider pages) ---------- */

.plate { background: var(--ink-deep); color: var(--paper); display: flex; align-items: flex-end; }
.plate > .wrap {
  width: 100%; min-height: clamp(280px, 34vw, 420px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(56px, 9vw, 130px); padding-bottom: clamp(26px, 3vw, 44px);
}
/* gallery section landings: copy left, photo right, both within one screen.
   These selectors must out-rank `.plate > .wrap` above, which stacks its children. */
.plate.plate-with-hero > .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 64px); align-items: center;
  min-height: 0; justify-content: initial;
  padding-top: clamp(26px, 3.2vw, 48px); padding-bottom: clamp(26px, 3.2vw, 48px);
}
.plate.plate-with-hero > .wrap.flip .plate-hero { order: -1; }
.plate-copy { min-width: 0; }
.plate-hero { margin: 0; min-width: 0; }
.plate-hero img {
  width: 100%; aspect-ratio: 4 / 3; max-height: 54vh;
  object-fit: cover; display: block;
}
@media (max-width: 860px) {
  .plate.plate-with-hero > .wrap { grid-template-columns: 1fr; }
  .plate.plate-with-hero > .wrap.flip .plate-hero { order: 0; }
  .plate-hero img { aspect-ratio: 3 / 2; max-height: none; }
}
.plate-num {
  display: block; font-weight: 700; letter-spacing: -0.04em; line-height: 0.76;
  font-size: clamp(3.4rem, 8.5vw, 7rem); color: rgba(244, 241, 234, 0.11);
}
.plate .label { color: var(--muted-2); margin-top: 14px; }
.plate h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.06; margin: 14px 0 0; max-width: 20ch;
}
.plate .plate-text { margin: 18px 0 0; max-width: 62ch; color: #c3bdb4; font-size: 0.98rem; }
.plate-sage { background: var(--sage); }
.plate-sage .plate-num { color: rgba(244, 241, 234, 0.18); }
.plate-sage .label { color: rgba(244, 241, 234, 0.72); }
.plate-sage .plate-text { color: rgba(244, 241, 234, 0.88); }

.plate-paper { background: var(--paper-2); color: var(--ink); border-bottom: 1px solid var(--rule); }
.plate-paper .plate-num { color: rgba(36, 34, 31, 0.10); }
.plate-paper .label { color: var(--muted); }
.plate-paper .plate-text { color: #4a4740; }

.plate-gold { background: var(--gold); color: #fff; }
.plate-gold .plate-num { color: rgba(255, 255, 255, 0.34); }
.plate-gold .label { color: rgba(255, 255, 255, 0.86); }
.plate-gold .plate-text { color: #fff; }
.section-num {
  display: block; font-weight: 700; letter-spacing: -0.04em; line-height: 0.76;
  font-size: clamp(3rem, 7vw, 6rem); color: rgba(244, 241, 234, 0.18); margin-bottom: 12px;
}

/* ---------- hero photo pair ---------- */

.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink-deep); }
.hero-pair figure { margin: 0; position: relative; overflow: hidden; }
.hero-pair img { width: 100%; height: 100%; object-fit: cover; }
.hero-pair figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
}
@media (max-width: 900px) { .hero-pair { order: -1; height: 40vh; } }

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

.hero {
  background: var(--ink-deep);
  display: grid; grid-template-columns: 42% 58%; grid-template-rows: 100%;
  height: calc(100vh - 62px);
  height: calc(100svh - 62px);
  min-height: 520px; max-height: 668px;
}

.hero-panel {
  min-width: 0;
  background: var(--ink-deep); color: var(--paper);
  padding: clamp(26px, 3.4vw, 48px) clamp(24px, 3.4vw, 56px) clamp(30px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-panel .hero-mark { margin-bottom: auto; margin-top: clamp(14px, 7vh, 74px); }
.hero-panel .label { color: var(--muted-2); }
.hero-mark { width: 32px; opacity: 0.95; display: block; }
.hero-eyebrow {
  font-size: clamp(0.72rem, 0.85vw, 0.82rem); letter-spacing: 0.22em;
  margin-top: 0;
}

.hero-title {
  font-size: clamp(2.05rem, 3.1vw, 3.05rem);
  line-height: 1.03; letter-spacing: -0.028em; font-weight: 700;
  margin: 12px 0 0;
}
.hero-standfirst {
  font-size: clamp(1rem, 1.35vw, 1.4rem);
  line-height: 1.24; letter-spacing: -0.01em; font-weight: 400; white-space: nowrap;
  color: #e6e1d8; margin: clamp(22px, 3.4vh, 40px) 0 0;
}
@media (max-width: 900px) { .hero-standfirst { white-space: normal; } }
.hero-sub {
  margin: clamp(22px, 3.4vh, 40px) 0 0; max-width: 50ch;
  color: #c3bdb4; font-size: clamp(0.86rem, 0.92vw, 0.95rem); line-height: 1.45;
}
.hero-credit {
  margin: 14px 0 0; color: var(--paper); font-size: 0.88rem; letter-spacing: 0.01em;
}

/* the photo fills its column and crops; a definite row height is what stops
   a tall image from stretching the hero and spilling over the page below */
.hero-figure {
  position: relative; background: var(--ink-deep);
  height: 100%; min-height: 0; overflow: hidden;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* short windows: tighten the vertical rhythm so the copy still clears the fold */
@media (max-height: 640px) {
  .hero-panel { padding-top: 22px; padding-bottom: 26px; }
  .hero-panel .hero-mark { margin-top: clamp(10px, 3vh, 34px); }
  .hero-title { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
  .hero-standfirst { margin-top: clamp(16px, 2.4vh, 26px); }
  .hero-sub { margin-top: clamp(16px, 2.4vh, 26px); line-height: 1.4; }
}

.hero-figure figcaption {
  position: absolute; left: 0; bottom: 0; padding: 16px 22px;
  font-size: var(--label); letter-spacing: 0.19em; text-transform: uppercase;
  color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  width: 100%;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; max-height: none; }
  .hero-figure { height: 38vh; order: -1; }
  .hero-panel { padding: 26px var(--gutter) 34px; }
  .hero-panel .hero-mark { margin-top: clamp(10px, 4vh, 40px); margin-bottom: 16px; }
  .hero-standfirst { max-width: none; }
}

/* ---------- masthead (interior pages) ---------- */

.masthead { padding: clamp(38px, 6vw, 84px) 0 clamp(22px, 3vw, 38px); }
.masthead h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04;
  letter-spacing: -0.025em; font-weight: 700; margin: 16px 0 0;
}
.masthead p.lede {
  margin: 18px 0 0; max-width: 62ch; color: #4a4740; font-size: 1.02rem;
}

/* ---------- fact strip ---------- */

.facts {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.facts div { padding: 26px var(--gutter) 28px; border-left: 1px solid var(--rule); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: var(--label); letter-spacing: 0.19em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 10px 0 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { padding: 20px var(--gutter); border-top: 1px solid var(--rule); }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts div:nth-child(-n+2) { border-top: 0; }
}

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

.section { padding: clamp(48px, 7vw, 104px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 12px 0 0; line-height: 1.1;
}
.section-head p { margin: 14px 0 0; max-width: 58ch; color: #4a4740; }

.link-underline {
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  white-space: nowrap;
}
.link-underline:hover { color: var(--sage); border-bottom-color: var(--sage); }

.section-num-ink { color: rgba(36, 34, 31, 0.10); }

.property { padding: clamp(40px, 5.5vw, 76px) 0 clamp(48px, 7vw, 96px); }
.property-split {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4.5vw, 70px); align-items: center;
}
.property-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 12px 0 0; line-height: 1.1;
}
.property-text { margin: 16px 0 0; max-width: 52ch; color: #4a4740; }
.property-shot { margin: 0; }
.property-shot img { width: 100%; height: auto; }
.property-shot figcaption {
  padding: 9px 2px 0; font-size: var(--label); letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted);
}
.property-shot-wide { margin-top: clamp(30px, 4vw, 56px); }
@media (max-width: 860px) {
  .property-split { grid-template-columns: 1fr; }
}

/* preview strip */
.preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; }
.preview a { display: block; overflow: hidden; }
.preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .preview { grid-template-columns: repeat(2, 1fr); } }

/* press & recognition page */
.press-body { padding: clamp(40px, 6vw, 84px) 0 clamp(50px, 7vw, 100px); }
.press-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px);
  align-items: center; padding-bottom: clamp(36px, 5vw, 62px);
  margin-bottom: clamp(36px, 5vw, 62px); border-bottom: 1px solid var(--rule);
}
.press-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.press-item h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.32;
  letter-spacing: -0.015em; margin: 16px 0 0; max-width: 30ch;
}
.press-item .link-underline { display: inline-block; margin-top: 24px; }
.rec-line { display: flex; gap: 14px; margin: 12px 0 0; color: #4a4740; font-size: 0.97rem; }
.rec-key { min-width: 88px; color: var(--muted); }
.press-shot { margin: 0; }
.press-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); }
.press-shot figcaption {
  padding: 9px 2px 0; font-size: var(--label); letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 860px) { .press-item { grid-template-columns: 1fr; } }

/* contact page body */
.contact-body { padding: clamp(24px, 3vw, 40px) 0 clamp(54px, 8vw, 110px); }
.contact-body .contact-rows { border-top-color: var(--rule); }
.contact-body .contact-rows > div { border-bottom-color: var(--rule); }
.contact-body .contact-rows dt { color: var(--muted); }
.contact-body .contact-rows dd, .contact-body .contact-rows a { color: var(--ink); }
.contact-body .btn { margin-top: clamp(48px, 7vw, 88px); }


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

.btn {
  display: inline-block; font-family: var(--font);
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 15px 28px;
  border: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.footer-brand { min-width: 0; }

/* ---------- filters ---------- */

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-bottom: 26px; border-bottom: 1px solid var(--rule);
}
.filters button {
  font: inherit; font-size: var(--label); letter-spacing: 0.15em; text-transform: uppercase;
  background: none; border: 1px solid var(--rule); color: #55514a;
  padding: 10px 15px; cursor: pointer;
}
.filters button:hover { border-color: var(--muted); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.count { font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 20px 0 0; }

/* ---------- gallery grid ---------- */

/* ---------- gallery grid ---------- */
/* Row-ordered grid: reading order left-to-right matches the lightbox arrow order. */

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 26px 0 0;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.tile {
  margin: 0; padding: 0;
  display: block; width: 100%; background: none; border: 0; cursor: zoom-in;
  position: relative; line-height: 0;
}
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rule); }
.tile figcaption {
  line-height: 1.5; padding: 9px 2px 0; text-align: left;
  font-size: var(--label); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.tile:hover img { opacity: 0.9; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(15,14,13,0.97);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain;
  margin: 0 auto;
}
.lb-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: #d8d3cb;
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2rem; line-height: 1; padding: 18px 20px; opacity: 0.75;
}
.lb-btn:hover { opacity: 1; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-close {
  position: absolute; top: 14px; right: 14px; background: none; border: 0;
  color: #fff; font-size: 1.6rem; line-height: 1; padding: 12px 16px; cursor: pointer; opacity: 0.75;
}
.lb-close:hover { opacity: 1; }
@media (max-width: 620px) {
  .lightbox img { max-width: 100vw; max-height: 72vh; }
  .lb-btn { font-size: 1.6rem; padding: 12px 10px; }
}

/* ---------- production details ---------- */

.doc { padding: 34px 0 0; }
.doc-block { margin-bottom: clamp(40px, 6vw, 78px); }
.doc-block h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 12px 0 0;
}
.doc-block > p.note { margin: 14px 0 0; max-width: none; color: #4a4740; }

.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 60px); margin: 30px 0 0; }
.spec dl { margin: 0; border-top: 1px solid var(--rule); }
.spec dl > div {
  display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
}
.spec dt { font-size: var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; font-size: 0.94rem; text-align: left; font-weight: 700; }
.spec h3 { grid-column: 1 / -1; }
@media (max-width: 1000px) { .spec { grid-template-columns: 1fr; } }

.plan-figure { margin: 28px 0 0; }
.plan-figure button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--rule);
  background: var(--paper-2); cursor: zoom-in;
}
.plan-figure img { width: 100%; height: auto; }
.plan-meta {
  display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 16px 0 0;
  font-size: var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.plan-meta strong { color: var(--ink); font-weight: 700; }

/* ---------- enquiry panel ---------- */

.enquiry { padding: clamp(40px, 6vw, 90px) 0 clamp(50px, 7vw, 100px); }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(34px, 6vw, 96px); }
.enquiry-intro h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 0; max-width: 9ch;
}
.enquiry-lede { margin: 24px 0 0; font-size: 1.05rem; max-width: 30ch; color: rgba(244,241,234,0.92); }
.enquiry-contact { margin: 26px 0 0; font-size: 1.02rem; line-height: 1.9; }
.enquiry-contact a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

.bare-form .field { margin-bottom: 26px; }
.bare-form label {
  display: block; font-size: var(--label); letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244,241,234,0.72); margin-bottom: 6px;
}
.bare-form input, .bare-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper);
  background: none; border: 0; border-bottom: 1px solid rgba(244,241,234,0.4);
  border-radius: 0; padding: 10px 2px;
}
.bare-form textarea { min-height: 120px; resize: vertical; }
.bare-form input:focus, .bare-form textarea:focus {
  outline: none; border-bottom-color: var(--paper);
}
.bare-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); }
.bare-form .btn { margin-top: 10px; color: var(--paper); }
.bare-form .btn:hover { background: var(--paper); color: var(--sage); border-color: var(--paper); }
.enquiry .form-status.ok { background: rgba(244,241,234,0.16); color: var(--paper); }
.enquiry .form-status.err { background: rgba(0,0,0,0.25); color: var(--paper); }

@media (max-width: 900px) {
  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-intro h1 { max-width: none; }
}
@media (max-width: 620px) { .bare-form .field-row { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */



.contact > .wrap { padding-bottom: clamp(50px, 8vw, 110px); }
.contact-rows {
  margin: clamp(34px, 5vw, 62px) 0 0; max-width: 620px;
  border-top: 1px solid rgba(244, 241, 234, 0.22);
}
.contact-rows > div {
  display: flex; justify-content: space-between; gap: 24px; padding: 16px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.22);
}
.contact-rows dt {
  font-size: var(--label); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--muted-2);
}
.contact-rows dd { margin: 0; font-size: 1.02rem; text-align: right; }
.contact-rows a { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.contact-btn { margin-top: clamp(30px, 4vw, 48px); }

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

.form-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 90px); padding-bottom: clamp(50px, 7vw, 100px); }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 0;
  padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }

.form-note { font-size: 0.85rem; color: var(--muted); margin: 18px 0 0; max-width: 46ch; }
.form-status { margin: 20px 0 0; padding: 14px 16px; font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--sage-pale); color: #3c422f; }
.form-status.err { background: #f3e2d8; color: #6b3a20; }

.aside-block { border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: 30px; }
.aside-block h3 { font-size: var(--label); letter-spacing: 0.19em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 12px; }
.aside-block p { margin: 0 0 6px; font-size: 0.98rem; }
.aside-block a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.aside-block a:hover { border-bottom-color: var(--ink); }

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

.site-footer { background: var(--ink-deep); color: var(--paper); padding: clamp(60px, 8vw, 112px) 0 clamp(26px, 3vw, 38px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer .label { color: var(--muted-2); }
.site-footer p { margin: 10px 0 0; font-size: 0.95rem; color: #d8d3cb; }
.site-footer a { color: #d8d3cb; text-decoration: none; border-bottom: 1px solid rgba(216,211,203,0.35); }
.site-footer a:hover { color: #fff; border-bottom-color: #fff; }
.footer-mark { width: 34px; margin: 0 0 18px; }
.footer-wordmark {
  margin: 0; font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; color: var(--paper); line-height: 1.4;
}
.footer-wordmark span {
  display: block; font-size: 0.66rem; letter-spacing: 0.19em; font-weight: 400;
  color: var(--muted-2); margin-top: 7px;
}
.footer-blurb { margin-top: 18px; max-width: 42ch; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.footer-links a {
  border: 1px solid rgba(216, 211, 203, 0.45); border-bottom-width: 1px;
  padding: 11px 16px; font-size: var(--label); letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: #d8d3cb;
}
.footer-links a:hover { background: var(--paper); border-color: var(--paper); color: var(--ink-deep); }
.footer-base {
  margin-top: clamp(40px, 5vw, 68px); padding-top: 20px;
  border-top: 1px solid rgba(216, 211, 203, 0.2);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
