/* ==========================================================================
   Circle C Wallpaper Installation — styles
   Type: Noto Serif Display (display) + Geist (text), self-hosted variable woff2
   Palette: warm ivory / linen / sand over plum-tinted charcoal, muted plum accent
   ========================================================================== */

@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/noto-serif-display-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/noto-serif-display-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/geist-normal.woff2") format("woff2");
}

:root {
  --ivory: #F7F3EC;
  --porcelain: #FDFBF7;
  --linen: #EFE8DC;
  --sand: #E4DACA;
  --taupe: #B8A993;          /* decorative only */
  --charcoal: #232023;
  --onyx: #171517;
  --ink: #1C1A1B;
  --body: #3E3A37;
  --muted: #5E5750;
  --on-dark: #F4EFE8;
  --on-dark-muted: #BDB5AC;
  --plum: #6B3A52;           /* text + button fill on light */
  --plum-hover: #562C41;
  --plum-deco: #8F6278;      /* large / decorative only */
  --plum-light: #D9B3C4;     /* accent on dark */
  --rule: #DDD4C6;           /* decorative hairline */
  --rule-dark: #3B363A;
  --line: #7F766C;           /* functional control border */
  --error: #A32B22;

  --serif: "Noto Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: var(--plum); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-hover); }
p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .footer :focus-visible, .cta :focus-visible, .lightbox :focus-visible { outline-color: var(--plum-light); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--charcoal); color: var(--on-dark); padding: .7rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--linen { background: var(--linen); }
.section--dark { background: var(--charcoal); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3, .section--dark dt { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--plum-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--plum); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 1px; height: 1.15rem; background: currentColor; }   /* plumb line */
.eyebrow--dark { color: var(--plum-light); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem);
  line-height: 1.08; letter-spacing: -.01em; font-weight: 400;
  margin-bottom: 1.25rem; text-wrap: balance;
}
h3 { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .55vw, 1.6rem); line-height: 1.2; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head__lede { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row .h2 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .88rem; }
.btn--wide { width: 100%; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-hover); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--plum-light); color: var(--charcoal); }
.btn--light:hover { background: var(--on-dark); color: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(244, 239, 232, .7); }
.btn--ghost:hover { background: var(--on-dark); color: var(--charcoal); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* ---------- header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* background lives on a pseudo-element so backdrop-filter never traps the fixed drawer */
.masthead::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 243, 236, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
.masthead.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px rgba(35, 32, 35, .06); }
.masthead__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; }
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav__list { display: flex; gap: clamp(1rem, 1.8vw, 1.9rem); }
.nav__list a {
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding-block: .4rem; background: linear-gradient(var(--plum), var(--plum)) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--plum); background-size: 100% 1px; }

.masthead__actions { display: flex; align-items: center; gap: 1rem; }
.masthead__phone { color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.masthead__phone:hover { color: var(--plum); }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent;
  cursor: pointer; padding: 0; position: relative; z-index: 120;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) { .masthead__phone { display: none; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .masthead__actions .btn { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.25rem; }
}

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(23, 21, 23, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: var(--ivory); padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.drawer__panel ul { border-top: 1px solid var(--rule); }
.drawer__panel li a {
  display: block; padding: .95rem 0; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none;
}
.drawer__panel li a:hover { color: var(--plum); }
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
body.menu-open { overflow: hidden; }
body.menu-open .masthead { z-index: 110; }

/* ---------- hero (split) ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  max-height: 960px;
}
.wrap-left {
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-right: clamp(1.5rem, 4vw, 4.5rem);
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.1rem);
  line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.6rem; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--plum); }
.hero__lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 34rem; color: var(--body); margin-bottom: 2.1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero__notes { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); max-width: 34rem; }
.hero__notes li { font-size: .85rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: .55rem; }
.hero__notes li::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--plum); border-radius: 50%; }

.hero__media { position: relative; overflow: hidden; background: var(--sand); }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 45% 50%; }
/* brand device: a plumb line with bob, hung down the seam between copy and photo */
.plumb {
  position: absolute; left: clamp(1.5rem, 3vw, 2.75rem); top: 0; width: 1px; height: 38%;
  background: rgba(253, 251, 247, .9);
}
.plumb::after {
  content: ""; position: absolute; left: -6px; bottom: -14px; width: 13px; height: 15px;
  background: rgba(253, 251, 247, .95); clip-path: polygon(50% 0, 100% 45%, 50% 100%, 0 45%);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__copy { padding: 2.5rem var(--gutter) 3.5rem; }
}
@media (max-width: 520px) {
  .hero__media { aspect-ratio: 5 / 4; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- intro / about ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro__media { position: relative; }
.intro__media picture { position: relative; }
.intro__media picture::after {           /* offset frame */
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--taupe); z-index: -1;
}
.intro__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.intro__media figcaption { font-size: .85rem; color: var(--muted); margin-top: 2rem; font-style: italic; font-family: var(--serif); }
.intro__copy > p { max-width: 38rem; }
.craft { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; margin-top: 2rem; border-top: 1px solid var(--rule); }
.craft li { display: flex; gap: 1rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; }
.craft span { font-family: var(--serif); font-style: italic; color: var(--plum); font-size: .95rem; min-width: 1.6rem; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 480px; margin-right: 1.1rem; }
}
@media (max-width: 520px) { .craft { grid-template-columns: 1fr; } }

/* ---------- services: sample-book swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.swatch {
  background: var(--porcelain); border: 1px solid var(--rule); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.swatch:hover { border-color: var(--taupe); box-shadow: 0 18px 40px -24px rgba(35, 32, 35, .35); }
@media (prefers-reduced-motion: no-preference) { .swatch:hover { transform: translateY(-3px); } }
.swatch__chip { height: 92px; border-bottom: 1px solid var(--rule); background-color: var(--sand); }
.swatch__chip--willow {
  background-color: #EAE1D3;
  background-image:
    radial-gradient(ellipse 7px 14px at 30% 40%, rgba(107, 58, 82, .28) 60%, transparent 62%),
    radial-gradient(ellipse 7px 14px at 70% 80%, rgba(107, 58, 82, .2) 60%, transparent 62%);
  background-size: 36px 36px;
}
.swatch__chip--stripe { background-image: repeating-linear-gradient(90deg, #E4DACA 0 14px, #D6C9B5 14px 16px, #EEE7DB 16px 30px, #CDBDA6 30px 31px); }
.swatch__chip--lattice {
  background-color: #EFE8DC;
  background-image:
    repeating-linear-gradient(45deg, rgba(107, 58, 82, .22) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(107, 58, 82, .22) 0 1px, transparent 1px 22px);
}
.swatch__chip--plain { background: linear-gradient(90deg, #E4DACA 0 50%, #F4EFE6 50% 100%); }
.swatch__chip--dot {
  background-color: #6B3A52;
  background-image: radial-gradient(circle at 50% 50%, rgba(247, 243, 236, .55) 2px, transparent 2.6px);
  background-size: 18px 18px;
}
.swatch__chip--grid {
  background-color: #2E2A2D;
  background-image:
    linear-gradient(rgba(217, 179, 196, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 179, 196, .35) 1px, transparent 1px);
  background-size: 24px 24px;
}
.swatch__body { padding: 1.6rem 1.6rem 1.9rem; }
.swatch__no { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); margin-bottom: .7rem; }
.swatch h3 { margin-bottom: .7rem; }
.swatch__body p:last-child { margin: 0; color: var(--muted); font-size: .98rem; }
.services__cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline; }
.services__cta p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .swatches { grid-template-columns: 1fr; } .swatch__chip { height: 64px; } }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__head p { max-width: 30rem; margin-bottom: 2rem; }
.why__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.why__list > div { padding: 1.5rem 0 1.6rem; border-top: 1px solid var(--rule-dark); }
.why__list dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; margin-bottom: .5rem; display: flex; gap: .8rem; align-items: baseline; }
.why__list dt::before { content: ""; flex: none; width: 9px; height: 9px; border: 1.5px solid var(--plum-light); border-radius: 50%; transform: translateY(-2px); }
.why__list dd { margin: 0; padding-left: 1.4rem; font-size: .98rem; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
}
@media (max-width: 600px) { .why__list { grid-template-columns: 1fr; } }

/* ---------- process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; position: relative; }
.timeline::before {           /* the rail */
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--taupe);
}
.step { position: relative; padding-top: 2.75rem; }
.step__node {
  position: absolute; top: 0; left: 0; width: 23px; height: 23px; border-radius: 50%;
  background: var(--ivory); border: 1.5px solid var(--plum);
}
.step__node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--plum); }
.step__no { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--plum-deco); margin-bottom: .9rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.step p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding: 0 0 2.4rem 3.4rem; }
  .step:last-child { padding-bottom: 0; }
  .step__no { font-size: 2rem; margin-bottom: .4rem; }
}

/* ---------- gallery masonry ---------- */
.masonry { columns: 3 300px; column-gap: 1.25rem; }
.masonry li { break-inside: avoid; margin-bottom: 1.25rem; }
.tile {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in;
  position: relative; overflow: hidden; text-align: left;
}
.tile img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(23, 21, 23, .78));
  color: #FDFBF7; font-size: .85rem; font-weight: 500; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { .tile:hover img { transform: scale(1.035); } }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }
.tile:focus-visible { outline-offset: 4px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(23, 21, 23, .94);
  display: flex; align-items: center; justify-content: center; padding: 4.5rem 4.5rem 3.5rem;
  opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100svh - 9rem); width: auto; object-fit: contain; transform: scale(.98); transition: transform .35s var(--ease); touch-action: pan-y; }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__cap { color: var(--on-dark-muted); font-size: .9rem; margin-top: 1rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: transparent; border: 1px solid rgba(244, 239, 232, .45); color: var(--on-dark);
  width: 48px; height: 48px; cursor: pointer; font-size: 1.9rem; line-height: 1; display: grid; place-items: center;
  transition: background-color .2s, color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--on-dark); color: var(--charcoal); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox { padding: 4.25rem .75rem 5.5rem; }
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
}

/* ---------- service area ---------- */
.area__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.area__copy > p { max-width: 34rem; }
.card-address { margin-top: 2rem; padding: 1.75rem; background: var(--porcelain); border: 1px solid var(--rule); border-left: 3px solid var(--plum); }
.card-address p { margin-bottom: .8rem; }
.card-address__name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.card-address a { overflow-wrap: anywhere; }
.card-address__row { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .96rem; }
.card-address__row span { min-width: 3.5rem; color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding-top: .15rem; }
.card-address .btn { margin-top: .6rem; }
.map { position: relative; min-height: 420px; border: 1px solid var(--rule); background: var(--linen); overflow: hidden; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.08); }
.map__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .8rem; text-align: center; padding: 1rem;
  background-image: repeating-linear-gradient(90deg, transparent 0 46px, rgba(184, 169, 147, .35) 46px 47px),
                    repeating-linear-gradient(0deg, transparent 0 46px, rgba(184, 169, 147, .35) 46px 47px);
  color: var(--muted); font-size: .92rem;
}
.map__pin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--plum); background: var(--porcelain); }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__info > p { max-width: 30rem; }
.nap { margin-top: 2.2rem; border-top: 1px solid var(--rule-dark); }
.nap li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); }
.nap__k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-muted); padding-top: .2rem; }
.nap a, .nap span:not(.nap__k) { color: var(--on-dark); overflow-wrap: anywhere; }
.section--dark .nap a { color: var(--on-dark); }
.section--dark .nap a:hover { color: var(--plum-light); }

.form-card { background: var(--porcelain); color: var(--body); padding: clamp(1.5rem, 4vw, 2.75rem); border-top: 3px solid var(--plum-light); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.req { color: var(--plum); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; padding: .8rem .9rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6F675F; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(107, 58, 82, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
/* error nodes are created by the form scripts; colour/weight overridden here for AA contrast and a non-colour cue */
.error-message {
  color: var(--error) !important; font-size: .86rem !important; font-weight: 600; margin-top: .45rem !important;
  display: flex; gap: .45rem; align-items: baseline; animation: fadeIn .3s ease;
}
.error-message::before {
  content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--error); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-foot { gap: .9rem; margin-top: .25rem; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--ink); }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 1.2rem; color: var(--plum); }
.form-success h3 { margin-bottom: .75rem; }
.section--dark .form-card h3 { color: var(--ink); }
.section--dark .form-card a:not(.btn) { color: var(--plum); }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto; }
.form-success:focus { outline: none; }
.form-notice { padding: .9rem 1rem; margin-bottom: 1.25rem; border-left: 3px solid var(--plum); background: var(--linen); color: var(--ink); font-size: .95rem; }
.form-notice.is-error { border-left-color: var(--error); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .nap li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- final CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--charcoal); color: var(--on-dark-muted); padding-block: clamp(5rem, 11vw, 9rem); isolation: isolate; }
.cta picture { position: absolute; inset: 0; z-index: -2; }
.cta__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 21, 23, .92) 0%, rgba(23, 21, 23, .8) 45%, rgba(23, 21, 23, .5) 100%); }
.cta__title { color: var(--on-dark); max-width: 17ch; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@media (max-width: 520px) { .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- footer ---------- */
.footer { background: var(--onyx); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .95rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--plum-light); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule-dark); }
.footer__name { font-family: var(--serif); font-size: 1.6rem; color: var(--on-dark); line-height: 1.2; margin-bottom: .6rem; }
.footer__h { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--plum-light); margin-bottom: 1rem; }
.footer__list li { margin-bottom: .55rem; overflow-wrap: anywhere; }
.footer__list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; font-size: .85rem; }
.footer__base p { margin: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- reveal (progressive enhancement) ---------- */
/* visible by default; only hidden once main.js confirms IntersectionObserver + motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .masthead, .drawer, .lightbox, .map, .cta picture { display: none !important; }
}
