/* Diamond Tile LLC, sample homepage. His logo is gold on black, so the brand runs black and gold; the reading
   sections sit on bone. Archivo condensed caps for headlines, Archivo for reading, IBM Plex Mono for labels.
   A gold diamond lattice (his name) behind the hero; square corners, hairlines, no shadows. */

/* Metric-matched fallbacks over Arial (Liberation Sans and Arimo share its metrics), measured in Chromium against
   the Google Fonts files, so nothing jumps while Archivo loads. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
  size-adjust: 98%;
  ascent-override: 90%;
  descent-override: 21%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Condensed Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  font-weight: 600 900;
  size-adjust: 80%;  /* condensed caps at font-stretch 75% */
  ascent-override: 110%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --bone: #F3EFE6;       /* page, never pure white */
  --bone-deep: #E9E3D6;
  --paper: #FAF7F1;      /* form fields */
  --ink: #121212;        /* his black */
  --ink-2: #1B1916;      /* empty photo slots */
  --ink-soft: #4A4642;
  --brand: #B9933F;      /* his gold: fills, marks, gold type on black (6.5:1) */
  --brand-lt: #CDA955;   /* gold button hover */
  --brand-ink: #7A6126;  /* gold type on bone (5.1:1); #B9933F only reads 2.5:1 there */
  --line: #D8D1C3;
  --line-2: #9B927F;     /* field borders, 3:1 on bone */
  --line-ink: rgba(243, 239, 230, 0.14);
  --gold-line: rgba(185, 147, 63, 0.5);
  --on-ink: rgba(243, 239, 230, 0.72);
  --error: #A3261B;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --sans: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --cond: "Archivo", "Archivo Condensed Fallback", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1280px;
  --gutter: 24px;
  --nav-h: 64px;
  --sec-y: 88px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --sec-y: 112px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --nav-h: 76px; --sec-y: 128px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
main:focus, section:focus { outline: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.hero :focus-visible, .nav :focus-visible, .process :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 14px 18px; background: var(--brand); color: var(--ink); border-radius: 2px;
  font-family: var(--mono); font-size: 0.8125rem; text-decoration: none;
}
.skip:focus { top: 12px; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; transition: transform 250ms var(--ease); }
.dia { display: inline-block; flex: none; width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-bottom: 18px;
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); }
.eyebrow > span { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--gold { color: var(--brand); }
.eyebrow--gold:has(> span)::before { display: none; }
.h2 {
  font-family: var(--cond); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.5rem, 1.1rem + 4.6vw, 4.75rem); line-height: 0.92; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--brand-ink); }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head--split { display: grid; gap: 16px; }
.sec-lede { max-width: 26em; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
  .sec-head--split .sec-lede, .sec-head--split .tlink { margin-bottom: 6px; }
}
.cap {
  margin-top: 12px;
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn--lg { min-height: 56px; padding: 0 26px; }
.btn--gold { background: var(--brand); color: var(--ink); }
.btn--gold:hover { background: var(--brand-lt); }
.btn--line { border-color: rgba(243, 239, 230, 0.45); color: var(--bone); }
.btn--line:hover { border-color: var(--bone); background: rgba(243, 239, 230, 0.06); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: #2A2723; }
.btn:hover .icon, .tlink:hover .icon, .hero__wa:hover .icon, .row:hover .row__arrow .icon { transform: translateX(4px); }
.tlink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; justify-self: start;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--brand);
}

/* ---------- Brand mark: his logo, or a gold DT on black until logo.png is in ---------- */
.mark {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--ink); border: 1px solid var(--gold-line);
}
.mark__dt::before { content: "DT"; }
.mark__dt { font-family: var(--cond); font-weight: 800; font-stretch: 80%; font-size: 1rem; letter-spacing: 0.02em; color: var(--brand); }
.mark__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mark--lg { width: 56px; height: 56px; }
.mark--lg .mark__dt { font-size: 1.375rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--ink); color: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-ink); }
.nav__inner { display: flex; align-items: center; gap: 8px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 48px; min-height: 48px; margin-right: auto; text-decoration: none; }
.brand__text { display: none; }
.brand__name { display: block; font-family: var(--cond); font-weight: 800; font-stretch: 75%; font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.brand__tag { display: block; margin-top: 3px; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.nav__links { display: none; }
.nav__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 48px; height: 48px;
  border: 1px solid rgba(243, 239, 230, 0.35); border-radius: 2px;
  text-decoration: none;
  transition: border-color 250ms var(--ease), color 250ms var(--ease);
}
.nav__phone:hover { border-color: var(--bone); }
.nav__num { display: none; }
@media (min-width: 520px) { .brand__text { display: block; } }
@media (min-width: 1100px) {
  .nav__links { display: flex; margin-right: 8px; }
  .nav__links a {
    position: relative; padding: 15px 12px;
    font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; color: var(--on-ink); transition: color 250ms var(--ease);
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px;
    background: var(--brand); clip-path: inset(0 100% 0 0); transition: clip-path 280ms var(--ease);
  }
  .nav__links a:hover { color: var(--bone); }
  .nav__links a:hover::after { clip-path: inset(0); }
  .nav__phone { width: auto; padding: 0 14px; border-color: transparent; margin-right: 6px; }
  .nav__phone:hover { border-color: transparent; color: var(--brand); }
  .nav__num { display: inline; font-family: var(--mono); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.04em; }
}

/* ---------- Photo slots: his photo, or a dark tile with the file name to drop in ---------- */
.slot {
  position: relative; overflow: hidden; border-radius: 2px;
  background-color: var(--ink-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(185, 147, 63, 0.16) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(185, 147, 63, 0.16) 0 1px, transparent 1px 30px);
}
.slot__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.slot__file {
  position: absolute; left: 12px; bottom: 12px; z-index: 0;
  padding: 5px 9px; border: 1px solid var(--gold-line); border-radius: 2px;
  background: rgba(18, 18, 18, 0.92);
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--brand);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--bone); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(185, 147, 63, 0.1) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(-45deg, rgba(185, 147, 63, 0.1) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero__grid { display: grid; gap: 26px; padding-bottom: 40px; }
.hero__media { order: -1; margin-inline: calc(var(--gutter) * -1); }
.hero__frame { position: relative; overflow: hidden; }
.hero__frame::after { content: ""; position: absolute; inset: 12px; z-index: 3; border: 1px solid var(--gold-line); pointer-events: none; }
.slot--hero { aspect-ratio: 4 / 3; border-radius: 0; }
.hero__media .cap { margin: 10px var(--gutter) 0; }
.cap--light { color: rgba(243, 239, 230, 0.6); }
.hero__title { font-weight: 400; }
.hero__a {
  display: block;
  font-family: var(--cond); font-weight: 800; font-stretch: 75%;
  font-size: clamp(3rem, 1.2rem + 6vw, 6rem); line-height: 0.9; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
.hero__b {
  display: block; max-width: 24em; margin-top: 16px;
  font-family: var(--sans); font-weight: 500; font-size: clamp(1.1875rem, 0.95rem + 0.9vw, 1.625rem); line-height: 1.3; letter-spacing: -0.01em;
  color: rgba(243, 239, 230, 0.86); text-wrap: balance;
}
.hero__title .w { display: inline-block; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.hero__lede { max-width: 31em; margin-top: 14px; color: var(--on-ink); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__ctas .btn { flex: 1 1 100%; }
.hero__wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); text-decoration: none;
}
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-ink); }
.facts li { display: grid; gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--line-ink); }
.facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-ink); }
.facts__k { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.facts__v { font-family: var(--cond); font-weight: 800; font-stretch: 75%; font-size: 1.375rem; line-height: 1.05; text-transform: uppercase; }
@media (min-width: 520px) { .hero__ctas .btn { flex: 0 0 auto; } }
@media (min-width: 640px) and (max-width: 1023px) { .slot--hero { aspect-ratio: 16 / 9; } }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 22px 0 24px 22px; border-bottom: 0; border-left: 1px solid var(--line-ink); }
  .facts li:first-child { padding-left: 0; border-left: 0; }
  .facts__v { font-size: 1.625rem; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; padding-block: 64px; }
  .hero__media { order: 0; margin: 0; }
  .hero__frame { border-radius: 2px; }
  .hero__frame::after { inset: 14px; }
  .slot--hero { aspect-ratio: 4 / 5; }
  .hero__media .cap { margin: 12px 0 0; }
  .hero__lede { font-size: 1.0625rem; }
}

/* The church goes in tile by tile: dark tiles with gold grout shrink away from the top-left corner (pure CSS). */
.tiles { display: none; }
.js .tiles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, 1fr); align-content: start;
  overflow: hidden;
}
.js .tiles i {
  aspect-ratio: 1;
  background: #161513;
  border-right: 1px solid rgba(185, 147, 63, 0.3); border-bottom: 1px solid rgba(185, 147, 63, 0.3);
  animation: tile-out 380ms var(--ease) both;
  animation-delay: calc(140ms + var(--k) * 42ms);
}
@keyframes tile-out { from { clip-path: inset(0); } to { clip-path: inset(50%); } }

/* Headline: each word rises out of its own clip, 700 ms, 50 ms apart, once on load. */
.js .hero__title .w { animation: word-in 700ms var(--ease) both; animation-delay: calc(200ms + var(--i) * 50ms); }
@keyframes word-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* ---------- Services ---------- */
.services { padding-block: var(--sec-y); }
.rows { border-top: 1px solid var(--ink); }
.row {
  position: relative;
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 96px;
  grid-template-areas: "num title media" ". body media";
  column-gap: 14px; row-gap: 6px; align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.row__num { grid-area: num; padding-top: 0.35em; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--brand-ink); }
.row__title { grid-area: title; font-weight: 700; font-size: 1.3125rem; line-height: 1.15; letter-spacing: -0.015em; transition: color 220ms var(--ease); }
.row__link { text-decoration: none; }
.row__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.row__body { grid-area: body; color: var(--ink-soft); font-size: 0.9375rem; }
.row__media { grid-area: media; }
.row__thumb { aspect-ratio: 4 / 3; }
.row__thumb .slot__file { left: 5px; bottom: 5px; padding: 2px 4px; font-size: 0.5625rem; letter-spacing: 0; }
.row__arrow { display: none; }
.row:hover .row__title { color: var(--brand-ink); }
.row:hover .slot__img { transform: scale(1.04); }
@media (min-width: 1024px) {
  .row {
    grid-template-columns: 56px minmax(0, 4fr) minmax(0, 5fr) 176px 40px;
    grid-template-areas: "num title body media arrow";
    column-gap: 32px; align-items: center; padding: 22px 0;
  }
  .row__num { padding: 0; }
  .row__title { font-size: 1.75rem; }
  .row__body { font-size: 1rem; }
  .row__arrow { grid-area: arrow; display: block; justify-self: end; }
}

/* ---------- Recent work ---------- */
.gallery { padding-block: var(--sec-y); background: var(--bone-deep); }
.gal { display: grid; gap: 28px 16px; }
.g { display: flex; flex-direction: column; min-width: 0; }
.g__frame { flex: 1 1 auto; display: flex; }
.g__frame .slot { flex: 1 1 auto; }
.g--1 .slot { aspect-ratio: 4 / 3; }
.g--2 .slot, .g--3 .slot, .g--4 .slot, .g--5 .slot { aspect-ratio: 4 / 5; }
.g--6 .slot { aspect-ratio: 2 / 1; }
@media (max-width: 767px) {
  .gal { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .g--1, .g--5, .g--6 { grid-column: 1 / -1; }
  .g--5 .slot { aspect-ratio: 2 / 1; }
}
@media (min-width: 768px) {
  .gal { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 16px; }
  .g--1 { grid-column: 1 / 9; }
  .g--1 .slot { aspect-ratio: 8 / 7; }
  .g--2 { grid-column: 9 / 13; }
  .g--2 .slot { aspect-ratio: auto; }
  .g--3 { grid-column: 1 / 5; }
  .g--4 { grid-column: 5 / 9; }
  .g--5 { grid-column: 9 / 13; }
  .g--6 { grid-column: 1 / 13; }
  .g--6 .slot { aspect-ratio: 3 / 1; }
}
/* Once on scroll, the frame opens from the bottom. The figure is observed, never the clipped frame. */
.js .g__frame { clip-path: inset(100% 0 0 0); transition: clip-path 800ms var(--ease) var(--d, 0ms); }
.js .g.is-in .g__frame { clip-path: inset(0); }

/* ---------- How it goes ---------- */
.process { padding-block: var(--sec-y); background: var(--ink); color: var(--bone); }
.process .h2 em { color: var(--brand); }
.steps {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.steps:focus-visible { outline-offset: -2px; }
.step { position: relative; flex: none; width: 80%; padding-right: 28px; scroll-snap-align: start; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 2.25rem; height: 1px; background: rgba(243, 239, 230, 0.28); }
.step:last-child::before { right: 28px; }
.step__num {
  position: relative; display: inline-block; padding-right: 16px;
  background: var(--ink);
  font-family: var(--mono); font-weight: 500; font-size: 4.5rem; line-height: 1; letter-spacing: -0.04em;
  color: var(--brand);
}
.step__num span { display: inline-block; }
.step__t { margin-top: 24px; font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.step__b { max-width: 24em; margin-top: 10px; color: var(--on-ink); }
@media (min-width: 1024px) {
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .step { width: auto; padding-right: 32px; }
  .step:last-child::before { right: 0; }
}
.js .step__num span { clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--ease) var(--d, 0ms); }
.js .steps.is-in .step__num span { clip-path: inset(0); }

/* ---------- Where we work ---------- */
.area { padding-block: var(--sec-y); }
.area__grid { display: grid; gap: 40px; }
.area__line { max-width: 30em; margin-top: 20px; color: var(--ink-soft); }
.area__cta { margin-top: 24px; }
.map {
  position: relative; width: 100%; max-width: 640px; aspect-ratio: 1;
  border: 1px solid var(--ink); border-radius: 2px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    var(--paper);
}
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__hair { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__river { fill: none; stroke: #5D7A8C; stroke-width: 6; stroke-linecap: round; opacity: 0.34; vector-effect: non-scaling-stroke; }
.map__rlabel { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; fill: #3E5664; }
.map__q { position: absolute; display: flex; flex-direction: column; gap: 4px; width: 50%; height: 50%; padding: 14px; }
.map__q--nw { left: 0; top: 0; }
.map__q--ne { right: 0; top: 0; align-items: flex-end; justify-content: flex-end; text-align: right; padding-bottom: 22px; }
.map__q--sw { left: 0; bottom: 0; padding-top: 22px; }
.map__q--se { right: 0; bottom: 0; align-items: flex-end; justify-content: flex-end; text-align: right; }
.map__st { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--brand-ink); }
.map__q ul { display: grid; gap: 2px; }
.map__q li {
  justify-self: start; padding: 1px 5px; margin-inline: -5px; background: var(--paper);
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1.6; letter-spacing: 0.04em; text-transform: uppercase;
}
.map__q--ne li, .map__q--se li { justify-self: end; }
.map__pin {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  transform: translate(-6px, -50%);
  pointer-events: none;
}
.map__pin .dia { width: 13px; height: 13px; outline: 4px solid var(--paper); }
.map__pin span {
  padding: 5px 8px; border-radius: 2px; background: var(--ink); color: var(--bone);
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
@media (min-width: 480px) { .map__q { padding: 20px; } .map__q li { font-size: 0.8125rem; } }
@media (min-width: 1024px) {
  .area__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .map { margin-left: auto; }
}

/* ---------- Quote ---------- */
.quote { padding-block: var(--sec-y); background: var(--bone-deep); }
.quote__grid { display: grid; gap: 40px; }
.form { display: grid; gap: 18px; }
.form__pair { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field__label { font-weight: 600; font-size: 0.9375rem; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--paper); font-size: 1rem; line-height: 1.4;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 104px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23121212' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--error); }
.field__err:empty { display: none; }
.file__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px;
  border: 1px dashed var(--line-2); border-radius: 2px; background: var(--paper);
  font-weight: 600; cursor: pointer;
  transition: border-color 200ms var(--ease);
}
.file:hover { border-color: var(--ink); }
.file__input:focus-visible + .file { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.file__list { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.file__list:empty { display: none; }
.form__submit { width: 100%; margin-top: 4px; }
.form__fine { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--ink-soft); }
.form__fail { font-family: var(--mono); font-size: 0.75rem; color: var(--error); }
.form__fail:empty { display: none; }
@media (min-width: 640px) {
  .form__pair { grid-template-columns: 1fr 1fr; }
  .form__submit { width: auto; justify-self: start; }
}
.done { padding: 32px 0 8px; border-top: 2px solid var(--brand); }
.done:focus { outline: none; }
.done__t { font-family: var(--cond); font-weight: 800; font-stretch: 75%; font-size: clamp(3rem, 2rem + 4vw, 4.5rem); line-height: 0.95; text-transform: uppercase; }
.done__b { margin-top: 16px; font-size: 1.125rem; }
.done__more { margin-top: 12px; color: var(--ink-soft); }
.done__more a { font-weight: 700; color: var(--ink); text-underline-offset: 4px; }

.contact { align-self: start; padding: 32px 24px 24px; border-radius: 2px; background: var(--ink); color: var(--bone); }
.contact__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
}
.contact__eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); }
.contact__phone {
  display: inline-block; margin-top: 16px; padding: 4px 0 8px;
  font-family: var(--cond); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.75rem, 2rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: 0.01em;
  color: var(--bone); text-decoration: none; border-bottom: 2px solid var(--brand);
}
.contact__phone:hover { color: var(--brand); }
.contact__how { margin-top: 14px; color: var(--on-ink); }
.contact__how a { color: var(--brand); font-weight: 700; text-underline-offset: 4px; }
.contact__list { display: grid; margin-top: 24px; border-top: 1px solid var(--line-ink); }
.contact__list li { display: grid; gap: 2px; padding: 12px 0 10px; border-bottom: 1px solid var(--line-ink); }
.contact__k { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 239, 230, 0.6); }
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; color: var(--bone); text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; }
  .contact { position: sticky; top: calc(var(--nav-h) + 32px); margin-top: 8px; padding: 40px 36px 28px; }
}

/* ---------- Footer ---------- */
.footer { padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bone); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__brand .mark { margin-bottom: 18px; }
.footer__name { font-family: var(--cond); font-weight: 800; font-stretch: 75%; font-size: 2rem; line-height: 1; text-transform: uppercase; margin-bottom: 8px; }
.footer__brand p:not(.footer__name) { color: var(--on-ink); }
.footer__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); text-underline-offset: 5px; text-decoration-color: var(--brand); }
.footer__head { margin-bottom: 8px; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.footer__serve { margin-bottom: 8px; font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink); }
.footer__col a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--bone); text-decoration: none; transition: color 220ms var(--ease); }
.footer__col a:hover { color: var(--brand); }
.footer__mono a { font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer__base {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-ink);
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(243, 239, 230, 0.6);
}

/* ---------- Reduced motion: final states ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .tiles { display: none; }
  .js .hero__title .w { animation: none; }
  .js .g__frame, .js .step__num span { clip-path: none; transition: none; }
  .slot__img, .btn, .icon, .row__title { transition: none; }
  .row:hover .slot__img { transform: none; }
}
