/* =========================================================
   Andover Painting LLC
   Luxury residential portfolio — editorial monograph
   Palette: charcoal / parchment / oxblood
   Type: Cormorant Garamond display + Inter body + JetBrains Mono micro
   ========================================================= */

:root {
  --ink:        #181613;          /* near-black charcoal, warm */
  --ink-soft:   #2b2722;
  --ink-mute:   #5a5147;
  --paper:      #f4ede0;          /* warm off-white / parchment */
  --paper-deep: #ebe2cf;          /* deeper parchment */
  --paper-tint: #ede4d2;
  --rule:       #c8bda4;          /* hairline */
  --rule-soft:  #d9cfb8;
  --accent:     #6b2326;          /* deep oxblood */
  --accent-ink: #4a1719;

  --serif:  'Cormorant Garamond', 'Cormorant', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --measure: 64ch;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: 64px; /* clear mobile sticky CTA */
}

@media (min-width: 780px) {
  body { padding-bottom: 0; }
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Mobile sticky CTA (quiet) ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-top: 1px solid var(--accent-ink);
}
.mobile-cta:hover { background: var(--accent); }

@media (min-width: 780px) {
  .mobile-cta { display: none; }
}

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 30;
}
.masthead__inner {
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 14px;
  padding: 22px 0 18px;
}
@media (min-width: 900px) {
  .masthead__inner {
    grid-template-columns: 1fr auto auto;
    gap: 36px;
    padding: 28px 0 22px;
  }
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.005em;
  line-height: 1;
}
.wordmark__rule {
  display: none;
  width: 28px;
  height: 1px;
  background: var(--ink-mute);
}
.wordmark__est {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 900px) {
  .wordmark__rule { display: inline-block; }
}

.masthead__nav {
  display: none;
}
@media (min-width: 900px) {
  .masthead__nav {
    display: flex;
    gap: 32px;
  }
  .masthead__nav a {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
  }
  .masthead__nav a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
}

.masthead__phone {
  display: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.masthead__phone:hover { color: var(--accent); }
@media (min-width: 900px) {
  .masthead__phone { display: inline-block; }
}

/* ---------- Opening (Hero) ---------- */
.opening {
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 9vw, 110px);
  border-bottom: 1px solid var(--rule);
}
.opening__wrap {
  max-width: 1080px;
}

.opening__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 28px;
}
.opening__kicker span {
  color: var(--accent);
  margin-right: 12px;
}

.opening__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 18ch;
}
.opening__statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.opening__lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 48px;
}

.opening__rule {
  height: 1px;
  background: var(--rule);
  margin: 0 0 28px;
  width: 100%;
}

.opening__ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin: 0;
}
@media (min-width: 720px) {
  .opening__ledger { grid-template-columns: repeat(4, 1fr); }
}
.opening__ledger > div { margin: 0; }
.opening__ledger dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.opening__ledger dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 32px;
  margin: 0 0 48px;
  max-width: 880px;
}
@media (min-width: 820px) {
  .section-head {
    grid-template-columns: 80px 1fr;
    gap: 0 32px;
  }
}
.section-head__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  padding-top: 6px;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 16px;
  grid-column: 1;
}
.section-head__sub {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
  max-width: 56ch;
  grid-column: 1;
}
@media (min-width: 820px) {
  .section-head__num { grid-column: 1; grid-row: 1 / span 2; }
  .section-head__title { grid-column: 2; }
  .section-head__sub { grid-column: 2; }
}
.section-head--light .section-head__title,
.section-head--light .section-head__sub { color: var(--paper); }
.section-head--light .section-head__num { color: var(--accent); }

/* ---------- Folio (portfolio grid) ---------- */
.folio {
  padding: clamp(60px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}

.folio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}
@media (min-width: 720px) {
  .folio__grid { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
}
@media (min-width: 1080px) {
  .folio__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 40px;
  }
}

.plate { margin: 0; }

.plate__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.plate__cap { padding: 18px 2px 0; }
.plate__loc {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: 0.005em;
}
.plate__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.plate__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0;
}
.plate__spec span:first-child {
  font-weight: 500;
}

/* ---- Plate A — Interior wall + door (Phillips Academy Hill) ---- */
.plate--a .plate__scene { background: #d8cfb9; }
.plate--a .plate__wall {
  position: absolute; inset: 0 0 38% 0;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(255,255,255,0.18), transparent 60%),
    #cfc6ae;
}
.plate--a .plate__chair-rail {
  position: absolute; left: 0; right: 0; top: 62%;
  height: 3px; background: #efe9d8;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.plate--a .plate__wainscot {
  position: absolute; left: 0; right: 0; top: 62.6%; bottom: 14%;
  background:
    repeating-linear-gradient(90deg, #efe9d8 0 80px, #e6dfca 80px 81px),
    #efe9d8;
}
.plate--a .plate__door {
  position: absolute; right: 9%; top: 8%; width: 36%; bottom: 14%;
  background: #f4ede0;
  border: 1px solid #c2b89c;
  box-shadow:
    inset 0 0 0 8px #f4ede0,
    inset 0 0 0 9px #d6cbac,
    inset 0 0 0 38px #f4ede0;
}
.plate--a .plate__door::before,
.plate--a .plate__door::after {
  content: ''; position: absolute;
  left: 14%; right: 14%;
  border: 1px solid #d6cbac;
  background: #ece5d1;
}
.plate--a .plate__door::before { top: 8%; height: 30%; }
.plate--a .plate__door::after  { top: 44%; height: 30%; }
.plate--a .plate__door-frame {
  position: absolute; right: 7%; top: 6%; width: 40%; bottom: 14%;
  border: 2px solid #efe9d8;
  pointer-events: none;
}
.plate--a .plate__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14%;
  background:
    repeating-linear-gradient(90deg, #8b6f4a 0 60px, #7d6240 60px 62px),
    #8b6f4a;
}
.plate--a .plate__shadow {
  position: absolute; left: 0; right: 0; bottom: 14%; height: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), transparent);
}

/* ---- Plate B — Exterior shingled cape (South Andover) ---- */
.plate--b .plate__scene { background: #adb5b8; }
.plate--b .plate__sky {
  position: absolute; inset: 0 0 60% 0;
  background: linear-gradient(to bottom, #c8cfd0, #adb5b8);
}
.plate--b .plate__siding {
  position: absolute; left: 0; right: 0; top: 40%; bottom: 0;
  background:
    repeating-linear-gradient(to bottom, #4a4642 0 18px, #3e3a36 18px 19px),
    #4a4642;
}
.plate--b .plate__corner {
  position: absolute; left: 6%; top: 40%; bottom: 0; width: 8px;
  background: #f0e9d6;
}
.plate--b .plate__window {
  position: absolute; left: 22%; top: 50%; width: 26%; height: 32%;
  background: #232b30;
  border: 6px solid #f0e9d6;
  box-shadow: inset 0 0 0 1px #232b30;
}
.plate--b .plate__window::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: #f0e9d6;
}
.plate--b .plate__window::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: #f0e9d6;
}
.plate--b .plate__shutter {
  position: absolute; top: 50%; height: 32%; width: 6%;
  background: #2a2825;
  border: 1px solid #1a1817;
  background-image: repeating-linear-gradient(to bottom, #2a2825 0 4px, #1a1817 4px 5px);
}
.plate--b .plate__shutter--l { left: 14%; }
.plate--b .plate__shutter--r { left: 49%; }
.plate--b .plate__sill {
  position: absolute; left: 19%; top: 82%; width: 32%; height: 8px;
  background: #f0e9d6;
}

/* ---- Plate C — Cabinetry (West Parish) ---- */
.plate--c .plate__scene { background: #ece6d4; }
.plate--c .plate__wall--kit {
  position: absolute; inset: 0;
  background: #ece6d4;
}
.plate--c .plate__cab--upper {
  position: absolute; left: 8%; right: 8%; top: 8%; height: 30%;
  background:
    linear-gradient(90deg,
      #2b3437 0 32%,
      #f4ede0 32% 32.4%,
      #2b3437 32.4% 65%,
      #f4ede0 65% 65.4%,
      #2b3437 65.4% 100%);
}
.plate--c .plate__counter {
  position: absolute; left: 6%; right: 6%; top: 44%; height: 5%;
  background: linear-gradient(to bottom, #f8f3e6, #e9e0c9);
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.plate--c .plate__cab--lower {
  position: absolute; left: 8%; right: 8%; top: 49%; bottom: 8%;
  background:
    linear-gradient(90deg,
      #2b3437 0 32%,
      #f4ede0 32% 32.4%,
      #2b3437 32.4% 65%,
      #f4ede0 65% 65.4%,
      #2b3437 65.4% 100%);
}
.plate--c .plate__cab-pull {
  position: absolute;
  width: 22px; height: 3px;
  background: #c7a86b;
  border-radius: 1px;
}
.plate--c .plate__cab-pull--1 { left: 18%; top: 33%; }
.plate--c .plate__cab-pull--2 { left: 47%; top: 33%; }
.plate--c .plate__cab-pull--3 { left: 76%; top: 33%; }

/* ---- Plate D — Library / study trim (Ballardvale) ---- */
.plate--d .plate__scene { background: #2f3937; }
.plate--d .plate__wall--bath {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 65% 35%, rgba(255,255,255,0.05), transparent 60%),
    #2f3937;
}
.plate--d .plate__panel {
  position: absolute; left: 8%; right: 38%; top: 12%; bottom: 16%;
  border: 2px solid #efe7d3;
}
.plate--d .plate__panel::before {
  content: ''; position: absolute; inset: 8% 8% 8% 8%;
  border: 1px solid #efe7d3;
}
.plate--d .plate__door--int {
  position: absolute; right: 8%; top: 8%; width: 24%; bottom: 12%;
  background: #efe7d3;
  border: 1px solid #c2b89c;
}
.plate--d .plate__door--int::before,
.plate--d .plate__door--int::after {
  content: ''; position: absolute; left: 14%; right: 14%;
  border: 1px solid #c2b89c;
  background: #e6ddc4;
}
.plate--d .plate__door--int::before { top: 8%; height: 36%; }
.plate--d .plate__door--int::after  { top: 50%; height: 36%; }
.plate--d .plate__frame {
  position: absolute; right: 6%; top: 6%; width: 28%; bottom: 12%;
  border: 3px solid #efe7d3;
}
.plate--d .plate__base {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8%;
  background: #efe7d3;
  border-top: 1px solid #c2b89c;
}

/* ---- Plate E — Brick end (Salem Street) ---- */
.plate--e .plate__scene { background: #b8a589; }
.plate--e .plate__sky--dusk {
  position: absolute; inset: 0 0 78% 0;
  background: linear-gradient(to bottom, #d8c8a8, #c4b394);
}
.plate--e .plate__brick {
  position: absolute; left: 0; right: 0; top: 22%; bottom: 0;
  background:
    repeating-linear-gradient(0deg,
      #9b6e54 0 14px,
      #8a5f47 14px 16px),
    #9b6e54;
}
.plate--e .plate__brick-mortar {
  position: absolute; left: 0; right: 0; top: 22%; bottom: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 56px,
      #d4c5a8 56px 58px),
    transparent;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.plate--e .plate__window--brick {
  position: absolute; left: 18%; top: 38%; width: 28%; height: 38%;
  background: #2b2a26;
  border: 5px solid #f0e6cc;
}
.plate--e .plate__window--brick::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: #f0e6cc;
}
.plate--e .plate__window--brick::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: #f0e6cc;
}
.plate--e .plate__lintel {
  position: absolute; left: 14%; top: 36%; width: 36%; height: 8px;
  background: #e8d9b8;
  border: 1px solid #9b6e54;
}

/* ---- Plate F — Foyer staircase (North Andover) ---- */
.plate--f .plate__scene { background: #f0e9d6; }
.plate--f .plate__wall--foyer {
  position: absolute; inset: 0 0 14% 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(255,255,255,0.4), transparent 65%),
    #f0e9d6;
}
.plate--f .plate__stair {
  position: absolute; right: 8%; bottom: 14%; width: 50%; height: 64%;
  background:
    repeating-linear-gradient(to bottom right,
      #c8b48a 0 18px,
      #b8a378 18px 20px),
    #c8b48a;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.plate--f .plate__rail {
  position: absolute; right: 8%; bottom: 14%;
  width: 54%; height: 4px;
  background: #4a342a;
  transform-origin: bottom right;
  transform: rotate(-32deg) translateY(-260%);
}
.plate--f .plate__newel {
  position: absolute; left: 50%; bottom: 14%;
  width: 10px; height: 38%;
  background: #4a342a;
}
.plate--f .plate__floor--foyer {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14%;
  background:
    repeating-linear-gradient(90deg, #2a2723 0 48px, #1f1d1a 48px 50px),
    #2a2723;
}

/* ---------- Practice (services) ---------- */
.practice {
  padding: clamp(60px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--rule);
}

.practice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 820px) {
  .practice__list { grid-template-columns: 1fr 1fr; }
}

.practice__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
@media (min-width: 820px) {
  .practice__list li {
    padding: 40px 32px 40px 0;
  }
  .practice__list li:nth-child(even) {
    padding-left: 32px;
    padding-right: 0;
    border-left: 1px solid var(--rule);
  }
}

.practice__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 6px 0 0;
  padding-top: 4px;
}
.practice__copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.practice__copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Standards ---------- */
.standards {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vw, 130px) 0;
}
.standards .section-head__sub { color: rgba(244,237,224,0.65); }

.standards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 940px) {
  .standards__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
}

.standards__quote {
  margin: 0;
  padding: 0;
}
.standards__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--paper);
  margin: 0 0 24px;
  max-width: 28ch;
}
.standards__quote footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.55);
}

.standards__points {
  margin: 0;
  display: grid;
  gap: 32px;
  padding-top: 8px;
}
.standards__points > div {
  border-top: 1px solid rgba(244,237,224,0.18);
  padding-top: 24px;
}
.standards__points dt {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.standards__points dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244,237,224,0.7);
  max-width: 48ch;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(60px, 9vw, 120px) 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 880px) {
  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
  }
}

.contact__label,
.contact__hours-label,
.contact__form-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
}

.contact__phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
}
.contact__phone:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact__hours-label { margin-top: 8px; }
.contact__hours {
  border-collapse: collapse;
  width: 100%;
  max-width: 340px;
  margin: 0 0 32px;
}
.contact__hours th,
.contact__hours td {
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule-soft);
}
.contact__hours th { font-weight: 500; color: var(--ink); }
.contact__hours td { text-align: right; color: var(--ink-mute); }

.contact__addr {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

.contact__form {
  display: grid;
  gap: 18px;
  background: var(--paper-tint);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--rule);
}
.contact__form label {
  display: grid;
  gap: 6px;
}
.contact__form span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__form input,
.contact__form textarea {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 10px;
  outline: none;
  border-radius: 0;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-bottom-color: var(--accent);
}
.contact__form textarea {
  resize: vertical;
  min-height: 96px;
}
.contact__form button {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 24px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.contact__form button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Colophon (footer) ---------- */
.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 72px;
}
.colophon__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 820px) {
  .colophon__wrap {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: end;
  }
}
.colophon__brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: 0.005em;
}
.colophon__towns {
  font-family: var(--serif);
  font-size: 15px;
  color: rgba(244,237,224,0.65);
  margin: 0;
  max-width: 52ch;
  line-height: 1.5;
}

.colophon__mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.5);
  line-height: 1.9;
}
.colophon__mono p { margin: 0; }
.colophon__mono a {
  color: rgba(244,237,224,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,237,224,0.25);
  padding-bottom: 1px;
}
.colophon__mono a:hover {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
