/* ==========================================================================
   Maldonado & Pineda Services — site styles
   Direction: construction documents. Copper dimension lines, title blocks,
   expanded architectural headings over a reading serif.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-normal-400.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  src: url("../fonts/newsreader-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Palette (copper, graphite and stucco can be overridden from Settings) */
  --graphite: #1F2226;
  --graphite-2: #2A2E33;
  --graphite-3: #17191C;
  --ink: #15171A;
  --slate: #565C64;
  --aluminum: #A9AEB4;
  --silver: #D9DCDF;
  --concrete: #D3D6D9;
  --stucco: #F1F2F2;
  --white: #FFFFFF;
  --copper: #B9824A;
  --copper-text: color-mix(in srgb, var(--copper) 70%, #4a2a10);
  --brass: color-mix(in srgb, var(--copper) 72%, #ffffff);
  --wa: #1E9E55;

  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(21, 23, 26, .14);

  --ff-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ff-text: "Newsreader", Georgia, "Times New Roman", serif;

  --step--2: .75rem;
  --step--1: .8125rem;
  --step-0: 1.125rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.05rem, 1.35rem + 2.7vw, 3.6rem);
  --step-5: clamp(2.5rem, 1.4rem + 4.2vw, 5.4rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --space-section: clamp(4.5rem, 9vw, 9rem);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--ff-text);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--stucco);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 560; font-stretch: 112%; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h3 { font-stretch: 100%; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h4 { font-stretch: 100%; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--copper); color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; 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: -4rem; z-index: 200; background: var(--copper); color: var(--ink); padding: .75rem 1rem; font-family: var(--ff-display); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* Labels: condensed uppercase — the "drawing annotation" voice */
.label {
  font-family: var(--ff-display);
  font-stretch: 82%;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; color: var(--copper-text); margin-bottom: 1.25rem; }
.eyebrow::before {
  content: ""; flex: none; width: 2.25rem; height: 11px;
  background:
    linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right center / 1px 100% no-repeat;
}
.is-dark .eyebrow, .hero .eyebrow { color: var(--brass); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: var(--ink);
  --btn-bd: var(--copper);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: .85rem 1.5rem;
  font-family: var(--ff-display); font-stretch: 100%; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { --btn-bg: var(--brass); --btn-bd: var(--brass); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; color: inherit; }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--copper); --btn-fg: inherit; }
.btn--dark { --btn-bg: var(--graphite); --btn-fg: var(--white); --btn-bd: var(--graphite); }
.btn--dark:hover { --btn-bg: var(--graphite-2); --btn-bd: var(--graphite-2); }
.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #17864A; --btn-bd: #17864A; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .2rem; transition: color .2s, gap .3s var(--ease);
}
.text-link .icon { width: 1rem; height: 1rem; }
.text-link:hover { color: var(--copper-text); gap: .75rem; }
.is-dark .text-link:hover { color: var(--brass); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), height .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--copper) 20%, var(--copper) 80%, transparent); opacity: 0; transition: opacity .35s; }
.site-header.is-solid, body:not(.has-hero) .site-header { background: var(--graphite); }
.site-header.is-solid::after { opacity: .7; }
.site-header.is-solid { --header-h: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex: none; text-decoration: none; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.is-solid .brand img { height: 38px; }
@media (max-width: 480px) { .brand img { height: 36px; } .is-solid .brand img { height: 34px; } }
.nav { margin-left: auto; display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem;
  font-family: var(--ff-display); font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; color: rgba(255,255,255,.88); position: relative; background: none; border: 0; cursor: pointer;
}
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .icon { width: .9rem; height: .9rem; opacity: .7; }
.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + .5rem); left: -1rem; min-width: 300px;
  background: var(--graphite); border-top: 1px solid var(--copper); padding: .75rem 0;
  box-shadow: 0 24px 40px -24px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .55rem 1.25rem; text-decoration: none; font-family: var(--ff-display); font-size: .92rem; color: rgba(255,255,255,.85); }
.dropdown a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.dropdown .is-child { padding-left: 2.25rem; font-size: .86rem; color: var(--aluminum); }
.header-cta { display: none; }
.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(255,255,255,.35);
  color: var(--white); padding: .55rem .9rem; cursor: pointer; border-radius: var(--radius);
}
.menu-toggle .icon { width: 1.2rem; height: 1.2rem; }

@media (min-width: 1100px) {
  .nav, .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--graphite); color: var(--white);
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s var(--ease), visibility 0s .55s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 76px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__top img { height: 36px; width: auto; }
.mobile-menu__close { background: none; border: 1px solid rgba(255,255,255,.35); color: var(--white); padding: .55rem; cursor: pointer; display: inline-flex; border-radius: var(--radius); }
.mobile-menu__list { list-style: none; padding-block: 1.5rem; flex: 1; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
  font-family: var(--ff-display); font-stretch: 118%; font-weight: 500; font-size: clamp(1.6rem, 6vw, 2.3rem); letter-spacing: -.02em; text-decoration: none;
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.mobile-menu__list a .icon { width: 1.5rem; height: 1.5rem; color: var(--copper); }
.mobile-menu__list a:hover { color: var(--brass); }
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) a { transition-delay: .24s; }
.mobile-menu__sub { list-style: none; padding: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.mobile-menu__sub a { font-family: var(--ff-display); font-stretch: 100%; font-size: .95rem; font-weight: 500; padding: .45rem .75rem; border: 1px solid var(--line-dark); opacity: 1; transform: none; color: var(--silver); }
.mobile-menu__foot { padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-dark); display: grid; gap: 1rem; }
.mobile-menu__foot .label { color: var(--aluminum); }
.mobile-menu__foot a { color: var(--white); }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--graphite);
  min-height: clamp(600px, 94svh, 1040px); display: flex; flex-direction: column; justify-content: flex-end;
}
.hero--inner { min-height: clamp(520px, 78svh, 860px); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,25,28,.62) 0%, rgba(23,25,28,0) 22%),
    linear-gradient(12deg, rgba(23,25,28,.92) 8%, rgba(23,25,28,.55) 46%, rgba(23,25,28,.08) 78%);
}
.hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.hero__crumbs { margin-bottom: clamp(2rem, 8vh, 5rem); }
.hero h1 { font-size: var(--step-5); max-width: 15ch; font-stretch: 116%; font-weight: 540; line-height: .98; letter-spacing: -.03em; }
.hero--inner h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.8rem); max-width: 18ch; }
.hero__text { max-width: 46ch; margin-top: 1.5rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.86); }
.hero .actions { margin-top: 2.25rem; }
.hero .btn--ghost { color: var(--white); }

/* Coordinates annotation, set vertically like a survey grid label */
.hero__coords {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 2.5rem); bottom: 9rem;
  display: none; flex-direction: column; align-items: center; gap: .9rem; color: rgba(255,255,255,.72);
}
.hero__coords span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.hero__coords i { flex: 1; width: 1px; background: linear-gradient(var(--copper), transparent); position: relative; }
.hero__coords i::before { content: ""; position: absolute; top: 0; left: -4px; width: 9px; height: 1px; background: var(--copper); }
@media (min-width: 900px) { .hero__coords { display: flex; } }

/* Title-block strip along the hero bottom */
.titlestrip { border-top: 1px solid var(--line-dark); background: rgba(23,25,28,.55); backdrop-filter: blur(2px); }
.titlestrip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.titlestrip__cell { padding: 1.1rem 1.25rem 1.2rem; border-left: 1px solid var(--line-dark); min-width: 0; }
.titlestrip__cell:first-child { border-left: 0; padding-left: 0; }
.titlestrip__cell .label { color: var(--aluminum); display: block; margin-bottom: .35rem; font-size: var(--step--2); }
.titlestrip__cell strong, .titlestrip__cell a { font-family: var(--ff-display); font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--white); }
.titlestrip__cell a:hover { color: var(--brass); }
@media (max-width: 640px) {
  .titlestrip__grid { grid-template-columns: 1fr 1fr; }
  .titlestrip__cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .titlestrip__cell:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line-dark); }
  .titlestrip__cell:nth-child(-n+2) { border-top: 0; }
}

/* Compact hero (legal, 404): no photo */
.hero--plain { min-height: 0; background: var(--graphite); }
.hero--plain .hero__content { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 4rem; }
.hero--plain::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line-dark); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--copper); }
.crumbs a { text-decoration: none; color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--brass); }
.crumbs [aria-current] { color: var(--white); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------------------------------------------------------------- sections */
.section { padding-block: var(--space-section); position: relative; }
.section--white { background: var(--white); }
.section--dark, .is-dark { background: var(--graphite); color: var(--white); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section + .section--stucco-continue { padding-top: 0; }

.section-head { display: grid; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); align-items: end; }
.section-head h2 { font-size: var(--step-4); max-width: 20ch; }
.section-head__aside { max-width: 44ch; color: var(--slate); }
.is-dark .section-head__aside { color: var(--silver); }
.section-head__aside p:last-child { margin-bottom: 0; }
.section-head__aside .text-link { margin-top: 1rem; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .section-head__aside { justify-self: end; }
}

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ split text */
.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__media .img-main { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split__media .img-detail {
  position: absolute; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; right: -1rem; bottom: -3rem;
  border: 8px solid var(--stucco); display: none;
}
.section--white .split__media .img-detail { border-color: var(--white); }
.split__body h2 { font-size: var(--step-4); margin-bottom: 1.75rem; }
.split__body .rich { color: var(--slate); }
.is-dark .split__body .rich { color: var(--silver); }
.split__body .actions { margin-top: 2rem; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--reverse .split__media { order: 2; }
  .split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split__media .img-detail { display: block; }
  .split--reverse .split__media .img-detail { right: auto; left: -2rem; }
}

/* Dimension line (signature) */
.dim { display: flex; align-items: center; gap: .75rem; color: var(--copper); }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.dim__label { color: inherit; flex: none; }
.dim--ends { position: relative; }
.dim--ends::before { box-shadow: none; }
.dim-ticks { position: relative; height: 1px; background: var(--copper); }
.dim-ticks::before, .dim-ticks::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--copper); transform: skewX(-35deg); }
.dim-ticks::before { left: 0; }
.dim-ticks::after { right: 0; }

/* ------------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 3rem 0; }
.stat { padding-right: 2rem; }
.stat__value {
  font-family: var(--ff-display); font-stretch: 125%; font-weight: 300; letter-spacing: -.04em;
  font-size: clamp(3.2rem, 2rem + 4.5vw, 6.2rem); line-height: .9; display: flex; align-items: baseline; gap: .05em;
}
.stat__value small { font-size: .45em; font-weight: 400; color: var(--copper); letter-spacing: 0; }
.stat .dim-ticks { margin: 1.5rem 0 1rem; }
.stat__label { color: var(--silver); max-width: 24ch; font-family: var(--ff-display); font-size: 1rem; line-height: 1.35; }
.section:not(.section--dark) .stat__label { color: var(--slate); }

/* ------------------------------------------------- services index (home) */
.svc-index { list-style: none; border-top: 1px solid var(--line-light); }
.svc-row { border-bottom: 1px solid var(--line-light); position: relative; }
.svc-row > a {
  display: grid; gap: .75rem 2rem; padding: clamp(1.5rem, 3vw, 2.25rem) 0; text-decoration: none;
  grid-template-columns: 1fr auto; align-items: center;
}
.svc-row__name { font-family: var(--ff-display); font-stretch: 118%; font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem); letter-spacing: -.025em; line-height: 1.05; transition: color .3s, transform .45s var(--ease); }
.svc-row__desc { grid-column: 1 / -1; color: var(--slate); max-width: 52ch; font-size: 1.02rem; }
.svc-row__subs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-row__subs span { border: 1px solid var(--line-light); padding: .25rem .6rem; font-family: var(--ff-display); font-size: .8rem; color: var(--slate); }
.svc-row__arrow { width: 3.25rem; height: 3.25rem; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, transform .45s var(--ease); }
.svc-row__arrow .icon { width: 1.25rem; height: 1.25rem; }
.svc-row__thumb { display: none; }
.svc-row > a:hover .svc-row__name { color: var(--copper-text); transform: translateX(.5rem); }
.svc-row > a:hover .svc-row__arrow { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .svc-row > a { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; }
  .svc-row__desc { grid-column: auto; margin: 0; }
  .svc-row__subs { grid-column: 2; }
  .svc-row__thumb {
    display: block; position: absolute; right: 6rem; top: 50%; width: 220px; aspect-ratio: 4/3; object-fit: cover;
    opacity: 0; transform: translateY(-50%) scale(.94) rotate(-2deg); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; z-index: 2;
    box-shadow: 0 28px 50px -30px rgba(0,0,0,.6);
  }
  .svc-row > a:hover .svc-row__thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
  .svc-row > a:hover .svc-row__desc { opacity: .35; }
}

/* Services index page: blocks */
.svc-blocks { display: grid; gap: clamp(3.5rem, 6vw, 6rem); }
.svc-block { display: grid; gap: 2rem; align-items: start; }
.svc-block__media { display: block; overflow: hidden; }
.svc-block__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block__media:hover img { transform: scale(1.04); }
.svc-block__icon { width: 2.75rem; height: 2.75rem; color: var(--copper); margin-bottom: 1.25rem; }
.svc-block h3 { font-size: var(--step-3); font-stretch: 112%; font-weight: 540; margin-bottom: 1rem; }
.svc-block h3 a { text-decoration: none; }
.svc-block p { color: var(--slate); max-width: 54ch; }
.svc-children { list-style: none; margin: 1.5rem 0 2rem; border-top: 1px solid var(--line-light); }
.svc-children li { border-bottom: 1px solid var(--line-light); }
.svc-children a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; text-decoration: none; font-family: var(--ff-display); font-weight: 500; }
.svc-children a:hover { color: var(--copper-text); }
.svc-children .icon { width: 1rem; height: 1rem; color: var(--copper); }
@media (min-width: 960px) {
  .svc-block { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; }
  .svc-block:nth-child(even) .svc-block__media { order: 2; }
}

/* --------------------------------------------------------------- projects */
.proj-mosaic { display: grid; gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 900px) {
  .proj-mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .proj-mosaic > :nth-child(4n+1) { grid-column: 1 / span 7; }
  .proj-mosaic > :nth-child(4n+2) { grid-column: 9 / span 4; margin-top: 8rem; }
  .proj-mosaic > :nth-child(4n+3) { grid-column: 2 / span 5; }
  .proj-mosaic > :nth-child(4n+4) { grid-column: 8 / span 5; margin-top: 4rem; }
  .proj-mosaic > :nth-child(4n+4) .proj-card__media img { aspect-ratio: 4 / 5; }
}
.proj-card { display: block; text-decoration: none; }
.proj-card__media { overflow: hidden; position: relative; background: var(--graphite-2); }
.proj-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj-mosaic > :nth-child(4n+2) .proj-card__media img { aspect-ratio: 4 / 5; }
.proj-card:hover .proj-card__media img { transform: scale(1.045); }
.proj-card__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.1rem; color: var(--slate); }
.proj-card__meta span + span::before { content: "/"; margin-right: 1rem; color: var(--copper); }
.proj-card h3 { font-size: var(--step-2); margin-top: .5rem; font-stretch: 108%; font-weight: 540; transition: color .25s; }
.proj-card:hover h3 { color: var(--copper-text); }
.is-dark .proj-card__meta { color: var(--aluminum); }
.is-dark .proj-card:hover h3 { color: var(--brass); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip {
  border: 1px solid var(--line-light); background: transparent; padding: .55rem 1rem; cursor: pointer; border-radius: var(--radius);
  font-family: var(--ff-display); font-size: .9rem; font-weight: 500; display: inline-flex; gap: .5rem; align-items: center; text-decoration: none;
}
.chip small { color: var(--slate); font-weight: 400; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.chip[aria-pressed="true"] small, .chip[aria-current="page"] small { color: var(--aluminum); }
.proj-grid { display: grid; gap: 3rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.empty-note { padding: 2rem; border: 1px dashed var(--concrete); color: var(--slate); }

/* ----------------------------------------------------------------- process */
.process-track { list-style: none; display: grid; gap: 2.5rem; counter-reset: step; }
.process-step { position: relative; padding-top: 2rem; }
.process-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-dark); }
.process-step::after { content: ""; position: absolute; top: -6px; left: 0; width: 1px; height: 13px; background: var(--copper); transform: skewX(-35deg); }
.process-step__num { font-family: var(--ff-display); font-stretch: 125%; font-weight: 200; font-size: 3.4rem; line-height: 1; color: var(--copper); letter-spacing: -.04em; }
.process-step h3 { font-size: 1.2rem; margin: 1rem 0 .6rem; }
.process-step p { color: var(--silver); font-size: 1rem; margin: 0; }
.process-step .label { color: var(--aluminum); display: block; margin-top: 1rem; font-size: var(--step--2); }
@media (min-width: 700px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process-track { grid-template-columns: repeat(6, 1fr); gap: 2rem; } .process-step { padding-right: .5rem; } }

/* Process page: zig-zag */
.zz { display: grid; gap: clamp(4rem, 8vw, 8rem); }
.zz-step { display: grid; gap: 2rem; align-items: center; }
.zz-step__media { position: relative; }
.zz-step__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.zz-step__num {
  position: absolute; left: -.06em; bottom: -.32em; font-family: var(--ff-display); font-stretch: 125%; font-weight: 200;
  font-size: clamp(5rem, 3rem + 8vw, 11rem); line-height: 1; color: var(--copper); letter-spacing: -.05em; pointer-events: none;
  text-shadow: 0 2px 30px rgba(0,0,0,.15);
}
.zz-step__body h3 { font-size: var(--step-3); font-stretch: 112%; font-weight: 540; margin: .5rem 0 1rem; }
.zz-step__body .lead { font-size: 1.2rem; color: var(--ink); }
.zz-step__body p { color: var(--slate); }
.zz-step__time { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--copper-text); }
.zz-step__time .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 960px) {
  .zz-step { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; }
  .zz-step:nth-child(even) .zz-step__media { order: 2; }
  .zz-step:nth-child(even) .zz-step__num { left: auto; right: -.04em; }
}

/* -------------------------------------------------------------- properties */
.prop-grid { display: grid; gap: 2.5rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.prop-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; height: 100%; border: 1px solid var(--line-light); transition: border-color .3s, transform .45s var(--ease); }
.prop-card:hover { border-color: var(--copper); transform: translateY(-4px); }
.prop-card__media { position: relative; overflow: hidden; }
.prop-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.prop-card:hover .prop-card__media img { transform: scale(1.04); }
.status {
  position: absolute; left: 1rem; top: 1rem; padding: .35rem .7rem; font-family: var(--ff-display); font-stretch: 82%; font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--copper); color: var(--ink);
}
.status--pending { background: var(--silver); color: var(--ink); }
.status--sold { background: var(--graphite); color: var(--white); }
.status--inline { position: static; display: inline-block; }
.prop-card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.prop-card__price { font-family: var(--ff-display); font-stretch: 112%; font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; }
.prop-card h3 { font-size: 1.1rem; font-weight: 500; font-stretch: 100%; }
.prop-card__city { color: var(--slate); font-size: .98rem; margin: 0; }
.specs { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-light); color: var(--slate); }
.specs span { display: inline-flex; align-items: center; gap: .4rem; }
.specs .icon { width: 1rem; height: 1rem; color: var(--copper); }
.specs strong { color: var(--ink); font-weight: 700; }

.prop-filters { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; padding: 1.5rem; background: var(--white); border: 1px solid var(--line-light); margin-bottom: 2rem; }
.field { display: grid; gap: .4rem; }
.field label, .field .label { color: var(--slate); font-size: var(--step--2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--concrete); background: var(--white); padding: .8rem .9rem; border-radius: var(--radius);
  font-family: var(--ff-display); font-size: 1rem; min-height: 3.1rem;
}
.field textarea { min-height: 9rem; resize: vertical; font-family: var(--ff-text); font-size: 1.05rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 22%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-family: var(--ff-display); font-size: .85rem; }
.field__hint { color: var(--slate); font-size: .9rem; }
.prop-filters .actions { gap: .5rem; }
.results-count { color: var(--slate); margin-bottom: 1.5rem; }

/* ----------------------------------------------------------- testimonials */
.quotes { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.quote { padding: 2rem 0 0; border-top: 1px solid var(--copper); }
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.25rem; line-height: 1.5; font-style: italic; }
.quote figcaption strong { display: block; font-family: var(--ff-display); }
.quote figcaption span { color: var(--slate); font-size: .95rem; }

/* ------------------------------------------------------------------- areas */
.areas { display: grid; gap: 3rem; align-items: center; }
.areas__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1.75rem 0 2rem; }
.areas__list li { font-family: var(--ff-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); display: inline-flex; align-items: center; gap: 1.25rem; }
.areas__list li + li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--copper); transform: rotate(45deg); }
.areas__list li.is-hq { color: var(--copper-text); }
.areas__media { position: relative; }
.areas__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.areas__pin { position: absolute; left: 1.25rem; bottom: 1.25rem; background: var(--graphite); color: var(--white); padding: .9rem 1.1rem; display: flex; gap: .75rem; align-items: center; }
.areas__pin .icon { color: var(--copper); }
.areas__pin small { display: block; color: var(--aluminum); }
@media (min-width: 960px) { .areas { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }

.area-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line-light); }
.area-cards li { border-bottom: 1px solid var(--line-light); }
.area-cards a, .area-cards span { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem .25rem; font-family: var(--ff-display); font-stretch: 110%; font-weight: 500; font-size: 1.25rem; text-decoration: none; }
.area-cards a { color: var(--copper-text); }
.area-cards a:hover { color: var(--ink); }
.area-cards .icon { width: 1.1rem; height: 1.1rem; }

/* -------------------------------------------------------------------- blog */
.post-feature { display: grid; gap: 2rem; text-decoration: none; align-items: center; }
.post-feature__media { overflow: hidden; }
.post-feature__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-feature:hover img { transform: scale(1.04); }
.post-feature h3 { font-size: var(--step-3); font-stretch: 108%; font-weight: 540; margin: .75rem 0 1rem; transition: color .25s; }
.post-feature:hover h3 { color: var(--copper-text); }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--slate); }
.post-meta span + span::before { content: "·"; margin-right: 1rem; color: var(--copper); }
.post-list { list-style: none; border-top: 1px solid var(--line-light); }
.post-list li { border-bottom: 1px solid var(--line-light); }
.post-list a { display: grid; gap: .5rem; padding: 1.5rem 0; text-decoration: none; }
.post-list h3 { font-size: 1.3rem; font-weight: 550; transition: color .25s; }
.post-list a:hover h3 { color: var(--copper-text); }
.blog-home { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .blog-home { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .post-feature--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; }
}
.post-grid { display: grid; gap: 3rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.post-card { display: flex; flex-direction: column; gap: .75rem; text-decoration: none; }
.post-card__media { overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { font-size: 1.35rem; font-weight: 550; transition: color .25s; }
.post-card:hover h3 { color: var(--copper-text); }
.post-card p { color: var(--slate); font-size: 1rem; margin: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 4rem; font-family: var(--ff-display); }
.pagination a, .pagination span { min-width: 3rem; height: 3rem; padding: 0 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--line-light); text-decoration: none; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.pagination .icon { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------- faq */
.faq { display: grid; gap: 2.5rem; }
.faq__head h2 { font-size: var(--step-4); }
.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 550; }
.faq__toggle { width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .3s; }
.faq__toggle .icon { width: 1rem; height: 1rem; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--copper); border-color: var(--copper); }
.faq__answer { padding: 0 3rem 1.75rem 0; color: var(--slate); max-width: 70ch; }
.faq__item summary:hover h3 { color: var(--copper-text); }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ------------------------------------------------------- gallery filmstrip */
.filmstrip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.25rem; scrollbar-width: thin; scrollbar-color: var(--copper) transparent; }
.filmstrip__item { flex: none; scroll-snap-align: start; height: clamp(240px, 38vw, 460px); position: relative; overflow: hidden; border: 0; padding: 0; background: var(--graphite-2); cursor: zoom-in; }
.filmstrip__item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.filmstrip__item:hover img { transform: scale(1.03); }
.filmstrip-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filmstrip-head h2 { font-size: var(--step-3); }
.filmstrip-nav { display: flex; gap: .5rem; }
.round-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid currentColor; background: none; display: grid; place-items: center; cursor: pointer; color: inherit; transition: background .25s, color .25s, border-color .25s; }
.round-btn:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.round-btn .icon { width: 1.15rem; height: 1.15rem; }

.gallery-grid { columns: 3 300px; column-gap: 1rem; }
.gallery-grid button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.gallery-grid img { width: 100%; transition: transform 1s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(15,16,18,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(15,16,18,.9); }
.lightbox__stage { position: absolute; inset: 4.5rem 1rem 5.5rem; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__bar { position: absolute; inset: auto 0 0; padding: 1rem var(--gutter) 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.lightbox__caption { color: var(--silver); font-size: .95rem; max-width: 70ch; }
.lightbox__caption a { color: var(--aluminum); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__count { font-family: var(--ff-display); color: var(--aluminum); }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite) 30%, rgba(31,34,38,.7)); }
.cta-band__grid { display: grid; gap: 2.5rem; align-items: end; }
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; }
.cta-band h2 + .cta-band__text { margin-top: 1.25rem; }
.cta-band__text { color: var(--silver); max-width: 46ch; font-size: 1.15rem; }
.cta-band__facts { display: grid; gap: .25rem; border-left: 1px solid var(--copper); padding-left: 1.5rem; }
.cta-band__facts a { text-decoration: none; font-family: var(--ff-display); font-size: 1.15rem; }
.cta-band__facts a:hover { color: var(--brass); }
.cta-band__facts .label { color: var(--aluminum); margin-top: .75rem; }
.cta-band__facts .label:first-child { margin-top: 0; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; } }

/* -------------------------------------------------------- highlights grid */
.highlights { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.highlights li { padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.highlights .icon { width: 2rem; height: 2rem; color: var(--copper); margin-bottom: 1.5rem; }
.highlights h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.highlights p { color: var(--slate); margin: 0; font-size: 1.02rem; }
.is-dark .highlights, .is-dark .highlights li { border-color: var(--line-dark); }
.is-dark .highlights p { color: var(--silver); }

/* Mission */
.mission { display: grid; gap: 3rem; }
.mission__statement { font-family: var(--ff-display); font-stretch: 112%; font-weight: 450; font-size: var(--step-3); line-height: 1.15; letter-spacing: -.02em; }
.mission__statement p { margin: 0; }
.mission__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.values { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; margin-top: 3rem; }
.values li { border-top: 1px solid var(--copper); padding-top: 1.25rem; }
.values .icon { width: 1.5rem; height: 1.5rem; color: var(--copper); margin-bottom: .75rem; }
.values h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.values p { color: var(--silver); font-size: 1rem; margin: 0; }
@media (min-width: 960px) { .mission { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: center; } }

/* Credentials */
.creds { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cred { background: var(--white); border: 1px solid var(--line-light); padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.cred .icon { width: 1.75rem; height: 1.75rem; color: var(--copper); }
.cred h3 { font-size: 1.15rem; margin-top: .5rem; }
.cred__num { font-family: var(--ff-display); font-weight: 600; letter-spacing: .04em; }
.cred p { color: var(--slate); font-size: 1rem; margin: 0; }
.cred .text-link { margin-top: auto; padding-top: .75rem; align-self: flex-start; border: 0; }

/* Team */
.team { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.2); }
.team h3 { font-size: 1.25rem; margin-top: 1rem; }
.team .label { color: var(--copper-text); display: block; margin-top: .25rem; }
.team p { color: var(--slate); margin-top: .75rem; font-size: 1rem; }

/* ----------------------------------------------------------------- contact */
.contact { display: grid; gap: 3rem; }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { color: var(--slate); font-size: .95rem; display: flex; gap: .6rem; align-items: flex-start; }
.form__note .icon { color: var(--copper); margin-top: .2rem; }
.form__status { padding: 1rem 1.25rem; border-left: 3px solid var(--copper); background: var(--white); font-family: var(--ff-display); font-size: .95rem; }
.form__status.is-error { border-color: #B3261E; }
.form-card { background: var(--white); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line-light); }
.details { display: grid; gap: 0; border-top: 1px solid var(--line-light); align-content: start; }
.details__item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); }
.details__item .icon { width: 1.4rem; height: 1.4rem; color: var(--copper); margin-top: .2rem; }
.details__item .label { color: var(--slate); display: block; margin-bottom: .3rem; }
.details__item a, .details__item strong { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 500; text-decoration: none; }
.details__item a:hover { color: var(--copper-text); }
.hours { list-style: none; display: grid; gap: .2rem; font-family: var(--ff-display); font-size: .98rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 22rem; }
.hours li span:last-child { color: var(--slate); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }

.map { position: relative; border: 1px solid var(--line-light); background: var(--concrete); }
.map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 520px); border: 0; filter: grayscale(.35) contrast(1.05); }

/* -------------------------------------------------------- detail pages */
.titleblock { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); border: 1px solid var(--ink); background: var(--white); }
.titleblock > div { padding: 1rem 1.25rem 1.1rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin: 0 -1px -1px 0; }
.titleblock dt { color: var(--slate); margin-bottom: .35rem; }
.titleblock dd { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.titleblock__wide { grid-column: 1 / -1; }
.titleblock-wrap { margin-top: -3.5rem; position: relative; z-index: 2; }

.detail { display: grid; gap: 3rem; }
.detail__aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1024px) {
  .detail { grid-template-columns: minmax(0, 7.5fr) minmax(0, 3.5fr); gap: 5rem; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}
.aside-card { background: var(--graphite); color: var(--white); padding: 2rem; }
.aside-card h2, .aside-card h3 { font-size: 1.45rem; font-stretch: 108%; margin-bottom: .75rem; }
.aside-card p { color: var(--silver); font-size: 1rem; }
.aside-card .btn { width: 100%; margin-top: .5rem; }
.aside-card .btn--ghost { color: var(--white); }

.prose { font-size: 1.15rem; line-height: 1.72; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); margin-top: 2.2em; margin-bottom: -.1em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin-top: 1.8em; margin-bottom: -.2em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--copper); }
.prose ol li::marker { color: var(--copper-text); font-family: var(--ff-display); font-weight: 600; }
.prose a { color: var(--copper-text); text-decoration-color: color-mix(in srgb, var(--copper) 60%, transparent); }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.5rem; border-left: 2px solid var(--copper); font-style: italic; }
.prose img { margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-light); padding: .6rem .8rem; text-align: left; }
.rich p:last-child { margin-bottom: 0; }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 2.5rem 2rem; }
.benefits li { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.benefits .icon { width: 1.9rem; height: 1.9rem; color: var(--copper); margin-bottom: 1.1rem; }
.benefits h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.benefits p { color: var(--silver); font-size: 1rem; margin: 0; }

.steps-list { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--ff-display); font-stretch: 125%; font-weight: 300; font-size: 2rem; color: var(--copper); line-height: 1; }
.steps-list h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps-list p { color: var(--slate); margin: 0; font-size: 1.02rem; }
@media (min-width: 960px) { .steps-list li { grid-template-columns: 6rem minmax(0, 4fr) minmax(0, 6fr); align-items: baseline; } .steps-list h3 { margin: 0; } }

/* Before / after */
.ba { position: relative; overflow: hidden; --pos: 50%; user-select: none; background: var(--graphite); }
.ba img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__after img { height: 100%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 3.25rem; height: 3.25rem; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 1rem; padding: .35rem .7rem; background: rgba(23,25,28,.8); color: var(--white); }
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }

/* Property detail */
.prop-hero { padding-top: calc(var(--header-h) + 2rem); background: var(--graphite); color: var(--white); padding-bottom: 2.5rem; }
.mosaic { display: grid; gap: .5rem; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(120px, 17vw, 280px)); margin-top: 2rem; }
.mosaic button { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--graphite-2); position: relative; }
.mosaic button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic button:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__more { position: absolute; right: .75rem; bottom: .75rem; background: rgba(23,25,28,.85); color: var(--white); padding: .5rem .8rem; display: inline-flex; gap: .5rem; align-items: center; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 220px 110px; }
  .mosaic button:first-child { grid-column: span 2; grid-row: span 1; }
  .mosaic button:nth-child(n+4) { display: none; }
}
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: end; margin-top: 2rem; }
.prop-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 20ch; }
.prop-head__price { font-family: var(--ff-display); font-stretch: 118%; font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); letter-spacing: -.03em; color: var(--brass); }
.prop-head .crumbs { margin-bottom: 1.5rem; }
.features { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .25rem 2rem; }
.features li { display: flex; gap: .65rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--ff-display); font-size: 1rem; }
.features .icon { color: var(--copper); width: 1.1rem; height: 1.1rem; }

/* Post detail */
.post-head { padding-top: calc(var(--header-h) + 3.5rem); background: var(--graphite); color: var(--white); padding-bottom: clamp(9rem, 16vw, 14rem); }
.post-head h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 4.2rem); max-width: 22ch; margin: 1.5rem 0; }
.post-head .post-meta { color: var(--aluminum); }
.post-head .lead { color: var(--silver); font-size: 1.25rem; max-width: 56ch; }
.post-cover { margin-top: clamp(-11rem, -14vw, -7rem); }
.post-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.post-body { display: grid; gap: 3rem; padding-block: clamp(3rem, 6vw, 5rem) var(--space-section); }
.toc { font-family: var(--ff-display); }
.toc .label { color: var(--copper-text); display: block; margin-bottom: 1rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line-light); }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; text-decoration: none; color: var(--slate); font-size: .95rem; line-height: 1.35; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--copper); }
@media (min-width: 1100px) {
  .post-body { grid-template-columns: 250px minmax(0, 720px) 1fr; gap: 4rem; }
  .toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
@media (max-width: 1099px) { .toc { border: 1px solid var(--line-light); padding: 1.25rem; background: var(--white); } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--graphite-3); color: var(--silver); font-size: 1rem; }
.footer-cta { border-bottom: 1px solid var(--line-dark); padding-block: clamp(3.5rem, 7vw, 6rem); }
.footer-cta__grid { display: grid; gap: 2rem; align-items: end; }
.footer-cta h2 { color: var(--white); font-size: var(--step-4); max-width: 18ch; }
.footer-cta p { max-width: 46ch; }
@media (min-width: 960px) { .footer-cta__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; } }
.footer-main { padding-block: 4rem 3rem; display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 1.25rem; max-width: 40ch; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand .license { font-family: var(--ff-display); font-size: .9rem; color: var(--aluminum); }
.footer-brand .license a { color: var(--brass); }
@media (min-width: 1100px) { .footer-main { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); } .footer-brand { grid-column: auto; } }
.footer-col h2 { font-family: var(--ff-display); font-stretch: 82%; font-weight: 600; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: var(--silver); }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; line-height: 1.55; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--silver); }
.socials a:hover { color: var(--ink); background: var(--copper); border-color: var(--copper); }
.socials .icon { width: 1.05rem; height: 1.05rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--aluminum); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom a { color: var(--aluminum); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* --------------------------------------------------------- floating WA */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 90;
  width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.55); transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: #17864A; }
.wa-float .icon { width: 1.8rem; height: 1.8rem; }
.wa-float span { position: absolute; right: calc(100% + .75rem); white-space: nowrap; background: var(--graphite); color: var(--white); padding: .5rem .8rem; font-family: var(--ff-display); font-size: .85rem; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; transform: none; }

/* --------------------------------------------------------- preview bar */
.preview-bar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 120; background: var(--copper); color: var(--ink); padding: .6rem 1rem; font-family: var(--ff-display); font-size: .9rem; display: flex; gap: .5rem; align-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.preview-bar .icon { width: 1rem; height: 1rem; }

/* ---------------------------------------------------------- 404 & legal */
.notfound-links { display: grid; gap: 0; border-top: 1px solid var(--line-light); max-width: 760px; }
.notfound-links a { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); text-decoration: none; font-family: var(--ff-display); font-stretch: 110%; font-weight: 500; font-size: 1.3rem; }
.notfound-links a:hover { color: var(--copper-text); }
.notfound-links .icon { color: var(--copper); }

/* ------------------------------------------------------- small screens */
@media (max-width: 640px) {
  .header-inner { gap: 1rem; }
  .brand img { max-width: 62vw; height: auto; max-height: 36px; }
  .menu-toggle { padding: .5rem .7rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  .stat { padding-right: 0; }
  .stat__value { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
}
@media (max-width: 380px) {
  .menu-toggle .label { display: none; }
}
