/* ==========================================================================
   Page compositions
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--d-ground);
  color: var(--d-ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  /* Weighted to the bottom, where the text sits, but never fully transparent:
     a bright wall behind the eyebrow line was washing the bronze out. */
  background:
    linear-gradient(to top,
      rgb(12 11 8 / 0.90) 0%,
      rgb(12 11 8 / 0.74) 26%,
      rgb(12 11 8 / 0.46) 55%,
      rgb(12 11 8 / 0.34) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-tight);
  color: var(--d-ink);
  text-transform: uppercase;
  max-width: 14ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__foot {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  border-top: 1px solid var(--d-line);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}
.hero__lead { color: var(--d-muted); max-width: 40ch; }
.hero__meta { display: flex; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.hero__meta div { display: grid; gap: 0.2rem; }
.hero__meta dt, .hero__meta .k { color: var(--d-bronze); font-size: var(--fs-meta); font-weight: 700; letter-spacing: var(--track-meta); text-transform: uppercase; }
.hero__meta dd, .hero__meta .v { margin: 0; color: var(--d-ink); font-size: var(--fs-small); }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  color: var(--d-muted);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
}
.scroll-cue__line {
  display: block;
  width: 44px; height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--d-bronze);
  transform-origin: 0 50%;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: scaleX(0); transform-origin: 0 50%; }
  45%  { transform: scaleX(1); transform-origin: 0 50%; }
  55%  { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

/* Page heroes on inner pages: shorter, ivory, with an arch plate. */
.phero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.phero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
}
.phero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-tight);
  text-transform: uppercase;
  max-width: 15ch;
}
.phero__aside { display: grid; gap: 1.25rem; }
/* Cap the aside plate: a full 3:4 image plus its lead made the row so tall that
   the headline was pushed most of a screen down the page. object-fit crops it. */
.phero__aside .frame { max-height: 44svh; }

/* --- Editorial statement ------------------------------------------------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: var(--track-tight);
  text-transform: uppercase;
  color: var(--text-strong);
  max-width: 18ch;
}
.statement--lower { text-transform: none; }

.pull {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.22;
  color: var(--text-strong);
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  max-width: 26ch;
}

/* --- Featured work ------------------------------------------------------- */
/* An editorial grid: alternating column spans and vertical offsets so the
   page never resolves into a plain card grid. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) var(--gap);
}
.work-grid > *:nth-child(6n + 1) { grid-column: 1 / span 7; }
.work-grid > *:nth-child(6n + 2) { grid-column: 9 / span 4; align-self: end; }
.work-grid > *:nth-child(6n + 3) { grid-column: 1 / span 4; }
.work-grid > *:nth-child(6n + 4) { grid-column: 6 / span 7; }
.work-grid > *:nth-child(6n + 5) { grid-column: 1 / span 6; }
.work-grid > *:nth-child(6n + 6) { grid-column: 8 / span 5; align-self: end; }

/* Portfolio grid: a calmer three-up that filtering can reflow predictably. */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem) var(--gap);
}

/* --- Masonry (column flow, so plates of any height slot in) -------------- */
.masonry { column-count: 3; column-gap: var(--gap); }
.masonry > * { break-inside: avoid; margin-bottom: var(--gap); }

/* --- Statistics ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.stat {
  background: var(--ground);
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem);
  display: grid;
  gap: 0.5rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-meta); font-weight: 600; letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--text-muted); }

/* --- Testimonials -------------------------------------------------------- */
.quotes { position: relative; }
.quote {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.quote[hidden] { display: none !important; }
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.16;
  color: var(--text-strong);
  max-width: 22ch;
}
.quote__by { display: grid; gap: 0.25rem; }
.quotes__controls { display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.quotes__dots { display: flex; gap: 0.4rem; margin-left: auto; }
.quotes__dot {
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.quotes__dot::after {
  content: '';
  width: 100%; height: 1px;
  background: var(--rule-strong);
  transition: background-color var(--t-fast) var(--ease), height var(--t-fast) var(--ease);
}
.quotes__dot[aria-selected='true']::after { background: var(--accent); height: 2px; }
.qnav {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.qnav:hover { background: var(--text-strong); color: var(--ground); border-color: var(--text-strong); }

/* --- Process ------------------------------------------------------------- */
.process { border-top: 1px solid var(--rule); }
.pstep {
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  transition: background-color var(--t-mid) var(--ease);
  width: 100%;
  text-align: left;
}
.pstep:hover, .pstep.is-open { background: var(--paper-3); }
.chapter--dark .pstep:hover, .chapter--dark .pstep.is-open { background: var(--d-ground-2); }
.pstep__n {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--accent-text);
}
.pstep__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.1; color: var(--text-strong); }
.pstep__lead { font-size: var(--fs-small); color: var(--text-muted); margin-top: 0.35rem; }
.pstep__body { font-size: var(--fs-small); color: var(--text); }
.pstep__weeks { font-size: var(--fs-meta); letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }

.pstep__panel { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-mid) var(--ease-expo); }
.pstep.is-open .pstep__panel { grid-template-rows: 1fr; }
.pstep__panel > div { overflow: hidden; }

/* The connecting line that draws itself as the section scrolls. */
.process-line {
  position: relative;
  width: 1px;
  background: var(--rule);
  justify-self: center;
}
.process-line__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--fill, 0%);
  background: var(--accent);
  transition: height 120ms linear;
}

/* --- Timeline ------------------------------------------------------------ */
.timeline { border-top: 1px solid var(--rule); }
.tline {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.35rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.tline__year { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--accent-text); line-height: 1; }
.tline__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.14; color: var(--text-strong); }
.tline__body { font-size: var(--fs-small); color: var(--text-muted); }

/* --- Team ---------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) var(--gap);
}
.person__media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 3 / 4; border-radius: var(--arch); }
.person__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter 600ms var(--ease), transform 900ms var(--ease-expo); }
.person:hover .person__media img,
.person:focus-within .person__media img { filter: grayscale(0); transform: scale(1.03); }
.person__body { padding-top: 1rem; border-top: 1px solid var(--rule); margin-top: 1rem; }
.person__name { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.1; color: var(--text-strong); }
.person__role { font-size: var(--fs-meta); font-weight: 600; letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--accent-text); margin-top: 0.3rem; }
.person__bio {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: 0.7rem;
  /* Revealed on hover on pointer devices; always visible on touch (see
     responsive.css) so no information is hover-locked. */
}

/* --- Feature rows (services, sectors, room types) ------------------------ */
.frow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.frow:nth-child(even) > .frow__media { order: -1; }
.frow__n {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  /* No opacity: at 50% these numerals read at 1.9:1, and they carry content. */
  color: var(--accent);
}
.frow__list { list-style: none; display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.frow__list li {
  display: flex;
  gap: 0.7rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-soft);
}
.frow__list li::before { content: '—'; color: var(--accent-text); flex: none; }

/* --- Selector (styles, kitchens) ---------------------------------------- */
.selector { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.selector__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.selector__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.selector__panel[hidden] { display: none !important; }
.selector__keys { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.selector__keys li {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--rule);
  padding: 0.35rem 0.6rem;
}

/* --- Material palette builder ------------------------------------------- */
.mb { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.mb__group + .mb__group { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.mb__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 0.6rem; margin-top: 0.9rem; }
.mb__opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  background: var(--ground-2);
  text-align: left;
  min-height: 56px;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.mb__opt:hover { border-color: var(--rule-strong); }
/* Theme-aware: a hard-coded light panel here put light text on a light ground
   inside the dark kitchen chapter. */
.mb__opt[aria-pressed='true'] { border-color: var(--text-strong); background: var(--surface-active); }
.mb__chip {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--c);
  position: relative;
  overflow: hidden;
}
.mb__chip::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 32% 26%, rgb(255 255 255 / 0.3), transparent 58%),
                    radial-gradient(circle at 74% 82%, rgb(0 0 0 / 0.2), transparent 62%);
}
.mb__opt-name { font-size: var(--fs-small); font-weight: 600; color: var(--text-strong); display: block; }
.mb__opt-note { font-size: var(--fs-meta); color: var(--text-muted); letter-spacing: 0.03em; }

.mb__board {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border: 1px solid var(--rule);
  background: var(--ground-2);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.mb__strip { display: flex; height: 132px; border: 1px solid var(--rule); overflow: hidden; margin-block: 1.25rem; }
.mb__band { flex: 1 1 0; background: var(--c, var(--stone)); transition: flex-grow var(--t-mid) var(--ease); position: relative; }
.mb__band::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 40% 20%, rgb(255 255 255 / 0.22), transparent 60%),
                    radial-gradient(circle at 70% 90%, rgb(0 0 0 / 0.16), transparent 65%);
}
.mb__empty { display: grid; place-items: center; color: var(--text-muted); font-size: var(--fs-small); flex: 1; }
.mb__list { list-style: none; display: grid; gap: 0.5rem; }
.mb__list li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-small); border-bottom: 1px solid var(--rule-soft); padding-bottom: 0.5rem; }
.mb__list .k { color: var(--text-muted); font-size: var(--fs-meta); letter-spacing: var(--track-meta); text-transform: uppercase; min-width: 5.5rem; }
.mb__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid var(--rule); flex: none; }

/* --- Quiz ---------------------------------------------------------------- */
.quiz { max-width: 860px; }
.quiz__q { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.14; color: var(--text-strong); max-width: 20ch; }
.quiz__options { display: grid; gap: 0.6rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.quiz__step[hidden] { display: none !important; }
.quiz__result { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.palette { display: flex; gap: 0; border: 1px solid var(--rule); overflow: hidden; height: 60px; }
.palette span { flex: 1; background: var(--c); }

/* --- Project detail ------------------------------------------------------ */
.pdata {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.pdata > div { background: var(--ground); padding: clamp(1rem, 2vw, 1.75rem); display: grid; gap: 0.35rem; }
.pdata dt { font-size: var(--fs-meta); font-weight: 700; letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--accent-text); }
.pdata dd { margin: 0; font-size: var(--fs-body); color: var(--text-strong); }

.chapter-block {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.chapter-block:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.chapter-block:nth-child(even) .chapter-block__text { order: 2; }

/* A simple drawn plan graphic — CSS, not an image, so it scales cleanly. */
.plan {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule-strong);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, var(--rule-soft) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--rule-soft) 23px 24px),
    var(--ground-2);
}
.plan__room {
  position: absolute;
  border: 1px solid var(--text-strong);
  display: grid;
  align-content: end;
  padding: 0.4rem 0.5rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgb(255 255 255 / 0.35);
}
.plan__room--accent { border-color: var(--accent); background: rgb(138 107 69 / 0.1); color: var(--accent-text); }

.nextproj {
  position: relative;
  display: grid;
  min-height: 68svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--d-ground);
}
.nextproj__media { position: absolute; inset: 0; z-index: -2; }
.nextproj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-expo); }
.nextproj:hover .nextproj__media img { transform: scale(1.04); }
.nextproj__scrim { position: absolute; inset: 0; z-index: -1; background: rgb(12 11 8 / 0.6); }
.nextproj__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--d-ink);
}

/* --- Article ------------------------------------------------------------- */
.article__head { max-width: 24ch; }
.article-body { max-width: 66ch; margin-inline: auto; }
.article-body > * + * { margin-top: 1.35em; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  margin-top: 2.2em;
  color: var(--text-strong);
}
.article-body p { color: var(--text); }
.article-body ul { list-style: none; display: grid; gap: 0.75rem; }
.article-body ul li { display: flex; gap: 0.85rem; color: var(--text); }
.article-body ul li::before { content: '—'; color: var(--accent-text); flex: none; }
.article-body figure { margin-block: 2.4em; }
.article-body blockquote {
  margin: 2.4em 0;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.24;
  color: var(--text-strong);
}
/* Full-bleed figures inside a measure-constrained article. */
.article-body .figure--wide { width: min(100vw - 2 * var(--pad-x), 1100px); margin-inline: calc(50% - min(50vw - var(--pad-x), 550px)); }

.share { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

/* The card fills its grid cell and pushes its meta row to the bottom, so the
   footers align across a row even when the excerpts run to different lengths. */
.acard { height: 100%; }
.acard > a { display: flex; flex-direction: column; height: 100%; }
.acard__meta { margin-top: auto; }
.acard__media { overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-expo); }
.acard:hover .acard__media img { transform: scale(1.045); }
.acard__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.14; color: var(--text-strong); margin-top: 0.9rem; }
.acard__excerpt { font-size: var(--fs-small); color: var(--text-muted); margin-top: 0.5rem; }
.acard__meta { display: flex; gap: 0.75rem; align-items: baseline; padding-top: 0.9rem; border-top: 1px solid var(--rule); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) var(--gap);
}

.search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.6rem;
  max-width: 420px;
}
.search input {
  flex: 1;
  min-height: 44px;
  background: none;
  border: 0;
  font-size: var(--fs-body);
  color: var(--text-strong);
}
.search input::placeholder { color: var(--text-muted); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--ink); }
.search__clear { color: var(--text-muted); min-width: 44px; min-height: 44px; }

.empty-state {
  padding: clamp(2rem, 5vw, 4rem) 0;
  text-align: center;
  color: var(--text-muted);
}

/* --- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.contact-list li { border-bottom: 1px solid var(--rule); }
.contact-list a, .contact-list .row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.1rem;
  min-height: 44px;
}
.contact-list a:hover .contact-list__v { color: var(--accent-text); }
.contact-list__k { font-size: var(--fs-meta); font-weight: 700; letter-spacing: var(--track-meta); text-transform: uppercase; color: var(--text-muted); }
.contact-list__v { font-size: var(--fs-lead); color: var(--text-strong); transition: color var(--t-fast) var(--ease); }

/* A drawn location block rather than an embedded third-party map. */
.locmap {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, var(--rule-soft) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--rule-soft) 39px 40px),
    var(--paper-3);
}
.locmap__road { position: absolute; background: var(--stone); }
.locmap__water { position: absolute; background: rgb(120 140 145 / 0.18); }
.locmap__pin {
  position: absolute;
  left: 46%; top: 44%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 0 rgb(138 107 69 / 0.5);
  animation: pin 2.6s var(--ease) infinite;
}
@keyframes pin {
  0%   { box-shadow: 0 0 0 0 rgb(138 107 69 / 0.45); }
  70%  { box-shadow: 0 0 0 26px rgb(138 107 69 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(138 107 69 / 0); }
}
.locmap__label {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: var(--ground);
  border: 1px solid var(--rule);
  padding: 0.75rem 1rem;
  display: grid;
  gap: 0.2rem;
}

/* --- 404 ----------------------------------------------------------------- */
.nf { min-height: 78svh; display: grid; align-content: center; gap: 1.5rem; }
