/* AGAPE Rénovation, shared styles
   Design system: editorial architecture studio (warm paper / graphite / gold)
   Type: Cormorant Garamond (display serif) + Golos Text (grotesk, FR/EN/RU) */

:root {
  --ink: #191614;
  --ink-soft: rgba(25, 22, 20, .78);
  --page-bg: #ECE6DF;
  --beige: #E6E0D9;
  --beige-dark: #A79E92;
  --charcoal: #1B1918;
  --taupe: #6E665B;
  --offwhite: #F2F0ED;
  --gold: #b68235;
  --logo-yellow: #FFCB00;
  --hairline: rgba(25, 22, 20, .16);
  --frame: rgba(25, 22, 20, .38);
  --loader-bg: #1a1918;
  --loader-dur: 5.6s;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(24px, 5vw, 88px);
  --content: 1360px;
  --ease-out: cubic-bezier(.22, .61, .21, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--page-bg);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ================= brand cursor (the "A" from the logo) ================= */
@media (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='21' viewBox='13 14 86 71'%3E%3Cg stroke='%23F2F0ED' stroke-width='3' paint-order='stroke' stroke-linejoin='round'%3E%3Cpath d='M46.6 15.8 67.8 16.5 40.2 80.2 38.8 83 15.5 83 41.7 22.9 44.5 17.2Z' fill='%231a1918'/%3E%3Cpath d='M69.2 19.3 89 63.9 49.4 63.9 50.8 61.8 64.9 61.1 59.3 49.7 57.8 43.4Z' fill='%23FFCB00'/%3E%3Cpath d='M67.1 66 89.7 66 97.5 83 74.2 83Z' fill='%231a1918'/%3E%3C/g%3E%3C/svg%3E") 10 1, auto;
  }
  a, button, [role="button"], summary {
    cursor: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='25' viewBox='13 14 86 71'%3E%3Cg stroke='%23F2F0ED' stroke-width='3' paint-order='stroke' stroke-linejoin='round'%3E%3Cpath d='M46.6 15.8 67.8 16.5 40.2 80.2 38.8 83 15.5 83 41.7 22.9 44.5 17.2Z' fill='%231a1918'/%3E%3Cpath d='M69.2 19.3 89 63.9 49.4 63.9 50.8 61.8 64.9 61.1 59.3 49.7 57.8 43.4Z' fill='%23FFCB00'/%3E%3Cpath d='M67.1 66 89.7 66 97.5 83 74.2 83Z' fill='%231a1918'/%3E%3C/g%3E%3C/svg%3E") 12 1, pointer;
  }
  input, textarea, select { cursor: auto; }
}

/* ================= loader overlay ================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--loader-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  animation: loaderFade var(--loader-dur) linear 1 forwards;
  pointer-events: none;
}
html.loader-skip #loader { display: none; }
html.loader-active body { overflow: hidden; }

#loader .loader-brand {
  margin-top: 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#loader .loader-logo { width: min(340px, 62vw); height: auto; }
#loader .loader-tagline {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  animation: tagWipe var(--loader-dur) linear 1 forwards;
}
#loader .loader-plan {
  width: min(1100px, 94vw);
  height: auto;
  margin-top: 6px;
  flex: 0 1 auto;
  min-height: 0;
}
#loader .loader-status {
  position: absolute;
  bottom: 44px;
  left: 56px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d7972;
}
#loader .loader-percent {
  position: absolute;
  bottom: 44px;
  right: 56px;
  font-family: var(--serif);
  font-size: 15px;
  color: #c9c4ba;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
#loader .loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
  animation: growBar var(--loader-dur) linear 1 forwards;
}

@keyframes markDraw { 0%{stroke-dashoffset:1} 10%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes holeDraw { 0%{stroke-dashoffset:1} 10%{stroke-dashoffset:1} 16%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes fillFade { 0%{opacity:0} 16%{opacity:0} 22%{opacity:1} 66%{opacity:1} 68%{opacity:0} 100%{opacity:0} }
@keyframes tagWipe { 0%{clip-path:inset(0 100% 0 0)} 22%{clip-path:inset(0 100% 0 0)} 27%{clip-path:inset(0 0% 0 0)} 66%{clip-path:inset(0 0% 0 0)} 68%{clip-path:inset(0 100% 0 0)} 100%{clip-path:inset(0 100% 0 0)} }
@keyframes dimDraw { 0%{stroke-dashoffset:1} 27%{stroke-dashoffset:1} 32%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes wallsDraw { 0%{stroke-dashoffset:1} 32%{stroke-dashoffset:1} 44%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes innerDraw { 0%{stroke-dashoffset:1} 44%{stroke-dashoffset:1} 52%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes fixtureDraw { 0%{stroke-dashoffset:1} 52%{stroke-dashoffset:1} 58%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes doorDraw { 0%{stroke-dashoffset:1} 58%{stroke-dashoffset:1} 62%{stroke-dashoffset:0} 66%{stroke-dashoffset:0} 68%{stroke-dashoffset:1} 100%{stroke-dashoffset:1} }
@keyframes loaderFade { 0%{opacity:1} 66%{opacity:1} 99.9%{opacity:0; visibility:visible} 100%{opacity:0; visibility:hidden} }
@keyframes growBar { 0%{transform:scaleX(0)} 66%{transform:scaleX(1)} 100%{transform:scaleX(1)} }

.om-logo-mark { fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; animation: markDraw var(--loader-dur) linear 1 forwards; }
.om-logo-hole { fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; animation: holeDraw var(--loader-dur) linear 1 forwards; }
.om-logo-fill { animation: fillFade var(--loader-dur) linear 1 forwards; }
.om-plan-dim { fill:none; stroke-linecap:butt; stroke-dasharray:1; animation: dimDraw var(--loader-dur) linear 1 forwards; }
.om-plan-wall { fill:none; stroke-linecap:square; stroke-dasharray:1; animation: wallsDraw var(--loader-dur) linear 1 forwards; }
.om-plan-inner { fill:none; stroke-linecap:square; stroke-dasharray:1; animation: innerDraw var(--loader-dur) linear 1 forwards; }
.om-plan-fixture { fill:none; stroke-linecap:round; stroke-dasharray:1; animation: fixtureDraw var(--loader-dur) linear 1 forwards; }
.om-plan-door { fill:none; stroke-linecap:round; stroke-dasharray:1; animation: doorDraw var(--loader-dur) linear 1 forwards; }
.om-plan-label { font-family: var(--serif); fill: #d8d3c9; }
.om-plan-area { font-family: var(--serif); fill: var(--gold); }

/* ================= header ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px var(--pad-x);
  z-index: 20;
  pointer-events: none;
  color: var(--ink);
  transition: color .25s ease;
}
body.light-header .site-header { color: var(--offwhite); }
body.light-header .site-header.scrolled { color: var(--ink); }

.site-header a, .site-header button { pointer-events: auto; color: inherit; }

/* on scroll only the MENU trigger stays visible */
.wordmark, .header-motto { transition: opacity .3s ease, color .25s ease; }
body.scrolled .wordmark,
body.scrolled .header-motto { opacity: 0; pointer-events: none; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark svg { height: 26px; width: auto; display: block; }
.wordmark .wordmark-tag {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 1px solid currentColor;
  padding-left: 12px;
  line-height: 1.4;
}

.header-right { display: flex; align-items: center; gap: 28px; pointer-events: auto; }

/* homepage header: serif motto instead of the logo (brand lives in the vertical mark) */
.header-motto {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1.4;
}
.header-motto:hover { color: var(--gold); }

.menu-trigger {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  background: none;
  border: none;
  padding: 6px 0;
  color: inherit;
}

/* ================= vertical brand mark: rides along the left edge ================= */
.vertical-mark {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .3em;
  color: #fff;
  mix-blend-mode: difference;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  animation: uiFade 1.4s ease .3s forwards;
}

@media (max-width: 1023px) {
  .vertical-mark { display: none; }
}

/* ================= hero: full-bleed ================= */
.hero {
  position: relative;
  height: clamp(560px, 94vh, 960px);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(20, 17, 14, .42) 0%, rgba(20, 17, 14, .22) 40%, rgba(20, 17, 14, .08) 78%),
    linear-gradient(180deg, rgba(20, 17, 14, .26) 0%, rgba(20, 17, 14, .04) 32%, rgba(20, 17, 14, .34) 100%);
  opacity: 0;
  animation: uiFade 1.1s ease .35s forwards;
}

/* opening: the photo shows first, then the interface rolls in */
body.light-header .site-header {
  opacity: 0;
  animation: uiDrop 1s ease .7s forwards;
}

@keyframes uiFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes uiDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: clamp(48px, 10vh, 96px);
  width: max-content;
  max-width: calc(100% - 50% - var(--pad-x));
  text-align: left;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #e2b96b;
  margin: 0 0 22px;
  opacity: 0;
  animation: fadeUp .9s ease .2s forwards;
}

.hero-tagline, .hero-paragraph {
  font-family: var(--serif);
  color: var(--offwhite);
  margin: 0;
}
h1.hero-tagline { font-weight: 500; }
.hero-tagline {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.24;
  letter-spacing: .005em;
  text-shadow: 0 1px 24px rgba(20, 17, 14, .35);
}
.hero-tagline span {
  display: block;
  opacity: 0;
  animation: heroFade 1.6s ease forwards;
}
.hero-tagline span:nth-child(1) { animation-delay: 1s; }
.hero-tagline span:nth-child(2) { animation-delay: 1.6s; }
.hero-tagline span:nth-child(3) { animation-delay: 2.2s; }

@keyframes heroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-paragraph {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  max-width: 540px;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(242, 240, 237, .92);
  max-width: 500px;
  margin: 22px 0 0;
  opacity: 0;
  animation: fadeUp .9s ease .7s forwards;
}

.hero-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--offwhite);
  padding: 0;
  opacity: 0;
  animation: fadeUp .9s ease .85s forwards;
  transition: color .25s ease;
}
.hero-link:hover { color: #e2b96b; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================= statement ================= */
.statement {
  padding: clamp(90px, 11vw, 150px) var(--pad-x) clamp(60px, 7vw, 100px);
  text-align: center;
}
.statement p {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.48;
  font-weight: 500;
}
.statement .statement-note {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--taupe);
  max-width: 620px;
  margin: 26px auto 0;
  line-height: 1.7;
}

.section-heading {
  display: block;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 clamp(36px, 5vw, 64px);
  transition: color .25s ease;
}
a.section-heading:hover { color: var(--gold); text-decoration: none; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ================= manifesto (dark block) ================= */
.manifesto { background: var(--charcoal); color: var(--offwhite); padding: clamp(80px, 10vw, 130px) var(--pad-x); }
.manifesto-inner { max-width: 680px; margin: 0 auto; }
.manifesto h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; margin: 0 0 32px; line-height: 1.25; }
.manifesto p { font-size: 16px; line-height: 1.75; margin: 0 0 20px; color: rgba(242, 240, 237, .9); }
.manifesto strong { color: #e2b96b; font-weight: 600; }

/* ================= services: typographic list ================= */
.lots {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
}
.lots > .eyebrow { text-align: left; }

.lots-grid { border-top: 1px solid var(--hairline); }

.lot-card {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 88px) minmax(200px, .9fr) minmax(260px, 1.3fr);
  align-items: baseline;
  column-gap: clamp(20px, 4vw, 72px);
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--hairline);
}
.lot-card .lot-num {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.lot-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  transition: color .3s ease;
}
.lot-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 480px;
}
a.lot-card:hover h3 { color: var(--gold); }

/* services page: detailed sections */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 90px;
}
.service-detail article { border-top: 1px solid var(--hairline); padding: 56px 0 8px; }
.service-detail article:first-child { border-top: none; padding-top: 0; }
.service-detail .lot-num { font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.service-detail h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; margin: 10px 0 18px; }
.service-detail p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); max-width: 640px; }

/* ================= works suite: full-bleed hairline grid (homepage) ================= */
.works-suite {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.55fr;
  border-bottom: 1px solid var(--hairline);
}
.works-suite .suite-intro,
.works-suite .suite-trust,
.works-suite .work {
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  min-width: 0;
}

.works-suite .suite-intro {
  grid-column: 1 / 4;
  grid-row: 1;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.works-suite .suite-intro p {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.5;
  max-width: 640px;
  color: var(--ink);
}

.works-suite .suite-trust {
  grid-column: 4 / 5;
  grid-row: 1;
  border-right: none;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
}
.works-suite .suite-trust .big {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.works-suite .suite-trust .small {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe);
  line-height: 1.6;
}

.works-suite .work {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 72px) clamp(20px, 2.5vw, 48px);
}
.works-suite .work figure {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.works-suite .work figure::before,
.works-suite .work figure::after { display: none; }
.works-suite .work img {
  height: auto;
  display: block;
}
.works-suite .work figcaption {
  margin-top: clamp(14px, 1.5vw, 20px);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: center;
  line-height: 1.6;
  transition: color .3s ease;
}
.works-suite .work:hover figcaption { color: var(--ink); }
.works-suite .work img { transition: transform .6s var(--ease-out); }
.works-suite .work:hover img { transform: scale(1.015); }

.works-suite .work:nth-of-type(1) { grid-column: 1 / 4; grid-row: 2; }
.works-suite .work:nth-of-type(2) { grid-column: 4 / 5; grid-row: 2; border-right: none; }
.works-suite .work:nth-of-type(3) { grid-column: 1 / 2; grid-row: 3; border-bottom: none; }
.works-suite .work:nth-of-type(4) { grid-column: 2 / 3; grid-row: 3; border-bottom: none; }
.works-suite .work:nth-of-type(5) { grid-column: 3 / 4; grid-row: 3; border-bottom: none; }
.works-suite .work:nth-of-type(6) { grid-column: 4 / 5; grid-row: 3; border-right: none; border-bottom: none; }

.works-suite .work:nth-of-type(1) img { width: min(74%, 860px); }
.works-suite .work:nth-of-type(2) img { width: min(72%, 420px); }
.works-suite .work:nth-of-type(3) img,
.works-suite .work:nth-of-type(4) img,
.works-suite .work:nth-of-type(5) img { width: min(76%, 360px); }
.works-suite .work:nth-of-type(6) img { width: min(80%, 460px); }

/* ================= works: editorial grid ================= */
.works {
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(70px, 9vw, 120px);
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
}
.works-page { padding-top: clamp(30px, 4vw, 56px); }

.works-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 3vw, 56px);
  row-gap: clamp(52px, 6vw, 96px);
  align-items: start;
}

.work {
  position: relative;
  display: block;
}
.work figure {
  position: relative;
  margin: 0;
  padding: clamp(10px, 1.1vw, 15px);
}
.work img {
  width: 100%;
  height: auto;
  display: block;
}
.work figcaption {
  margin-top: clamp(10px, 1vw, 14px);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe);
  line-height: 1.6;
  transition: color .3s ease;
}

/* drawn frame */
.work figure::before,
.work figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.work figure::before {
  border-top: 1px solid var(--frame);
  border-bottom: 1px solid var(--frame);
  transition: border-color .35s ease;
}
.work figure::after {
  border-left: 1px solid var(--frame);
  border-right: 1px solid var(--frame);
  transition: border-color .35s ease;
}
html.js .work figure::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out), border-color .35s ease;
}
html.js .work figure::after {
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 1s var(--ease-out) .18s, border-color .35s ease;
}
html.js .work.in-view figure::before { transform: scaleX(1); }
html.js .work.in-view figure::after { transform: scaleY(1); }

a.work:hover figure::before,
a.work:hover figure::after,
.work:hover figure::before,
.work:hover figure::after { border-color: var(--gold); }
a.work:hover figcaption { color: var(--ink); }

/* asymmetric editorial placement (desktop) */
.works-editorial .work:nth-child(6n+1) { grid-column: 1 / 8; }
.works-editorial .work:nth-child(6n+2) { grid-column: 9 / 13; margin-top: clamp(48px, 6vw, 110px); }
.works-editorial .work:nth-child(6n+3) { grid-column: 1 / 6; }
.works-editorial .work:nth-child(6n+4) { grid-column: 7 / 13; margin-top: clamp(36px, 5vw, 84px); }
.works-editorial .work:nth-child(6n+5) { grid-column: 1 / 7; }
.works-editorial .work:nth-child(6n+6) { grid-column: 8 / 13; margin-top: clamp(48px, 6vw, 110px); }

.works-more {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease;
}
.works-more:hover { color: var(--gold); }

/* ================= estimate calculator ================= */
.estimate {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(24px, 3vw, 64px);
  row-gap: clamp(40px, 5vw, 72px);
  padding: clamp(90px, 11vw, 150px) var(--pad-x);
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
}

.estimate-intro { grid-column: 1 / 7; }
.estimate-form { grid-column: 1 / 7; }
.estimate-result { grid-column: 8 / 13; grid-row: 1 / span 2; }

.estimate-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.estimate h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 24px;
  max-width: 520px;
}
.estimate-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 480px;
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 8px;
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
}
.estimate-field {
  padding: 22px 0 4px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.estimate-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.estimate-input {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.estimate-input input,
.estimate-input select {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.estimate-input input::-webkit-outer-spin-button,
.estimate-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.estimate-input input[type="number"] { -moz-appearance: textfield; }
.estimate-input select {
  padding-right: 18px;
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 400;
  cursor: pointer;
}
/* the JS enhancement hides the native select once the custom one mounts */
.estimate-input select.select-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ================= custom finition dropdown ================= */
.select-custom {
  position: relative;
  width: 100%;
  font-family: var(--sans);
}
.select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.select-trigger:hover,
.select-custom.open .select-trigger { color: var(--gold); }
.select-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-caret {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease-out);
  flex: 0 0 auto;
}
.select-custom.open .select-caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.select-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  margin: 0;
  padding: 8px 0;
  background: var(--offwhite);
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px -20px rgba(25, 22, 20, .28);
  list-style: none;
  z-index: 30;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s var(--ease-out);
}
.select-custom.open .select-list {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.select-option {
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, padding-left .22s ease;
}
.select-option:hover {
  background: rgba(182, 130, 53, .1);
  color: var(--gold);
  padding-left: 26px;
}
.select-option[aria-selected="true"] {
  color: var(--gold);
  font-weight: 500;
}
.select-option[aria-selected="true"]::before {
  content: "· ";
  color: var(--gold);
}

/* ================= estimate why (short cost explanation) ================= */
.estimate-why {
  grid-column: 1 / 7;
  margin-top: 8px;
  padding: 22px 24px;
  background: rgba(230, 224, 217, .4);
  border-left: 2px solid var(--gold);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.estimate-why strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 1023px) {
  .estimate-why { grid-column: 1 / -1; }
}
.estimate-input .unit {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--taupe);
  white-space: nowrap;
  text-transform: lowercase;
}
.estimate-input input:focus,
.estimate-input select:focus { outline: none; color: var(--gold); }

.estimate-result {
  padding: clamp(32px, 3vw, 44px);
  background: rgba(230, 224, 217, .55);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
  align-self: start;
  position: sticky;
  top: clamp(80px, 10vh, 120px);
}

.estimate-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.estimate-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
}
.estimate-value {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.estimate-hint {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--taupe);
  font-variant-numeric: tabular-nums;
}

.estimate-breakdown {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.estimate-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.estimate-breakdown > div:last-child { border-bottom: none; }
.estimate-breakdown dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--taupe);
  text-transform: uppercase;
  margin: 0;
}
.estimate-breakdown dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.estimate-note {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--taupe);
  margin: 0;
}

.estimate-cta {
  align-self: flex-start;
  padding: 14px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: var(--ink);
  transition: background .25s ease;
}
.estimate-cta:hover { background: var(--gold); }

/* ================= projects: architect ruler layout ================= */
.projects-rulers {
  position: relative;
  padding: clamp(50px, 6vw, 90px) var(--pad-x) clamp(50px, 6vw, 90px) calc(var(--pad-x) + 30px);
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
  --tick-x: 0px;
  --tick-y: 0px;
}
.projects-rulers .ruler-top,
.projects-rulers .ruler-left {
  pointer-events: none;
  color: var(--ink);
}
.projects-rulers .ruler-top {
  position: static;
  height: 22px;
  margin-left: -30px;
  margin-bottom: 40px;
  border-top: 1px solid currentColor;
  background:
    repeating-linear-gradient(
      to right,
      currentColor 0 1px,
      transparent 1px 60px
    ) 0 0 / 100% 14px repeat-x;
}
.projects-rulers .ruler-left {
  position: absolute;
  top: clamp(50px, 6vw, 90px);
  bottom: clamp(50px, 6vw, 90px);
  left: var(--pad-x);

  width: 22px;
  border-left: 1px solid currentColor;

  background:
    repeating-linear-gradient(
      to bottom,
      currentColor 0 1px,
      transparent 1px 60px
    ) 0 0 / 14px 100% repeat-y;

  /*
   * Риски больше не смещаются отдельно при scroll.
   * Поэтому они остаются синхронными с длинными отметками.
   */
  background-position-y: 0;

  /*
   * Длинная отметка и год могут выходить
   * за пределы ширины ruler-left.
   */
  overflow: visible;
  z-index: 4;
}

/* Маленький уголок в конце линейки вместо обрыва линии */
.projects-rulers .ruler-left::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.year-marker {
  position: absolute;

  /*
   * Маркер уже находится внутри ruler-left,
   * поэтому left: 0 — это точное положение
   * вертикальной линии.
   */
  left: 0;
  top: 0;

  /*
   * Ширину до правого края фотографии
   * рассчитывает JavaScript.
   */
  width: 0;
  height: 1px;

  color: var(--ink);
  pointer-events: none;
  white-space: nowrap;
  overflow: visible;
  z-index: 5;
}

/* Длинная отметка от линейки до правого края фотографии */
.year-marker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 1px;
  background: currentColor;

  /*
   * Линия выезжает именно из вертикальной линейки.
   */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms var(--ease-out);
  will-change: transform;
}

/* Год располагается после правого края фотографии */
.year-marker span {
  position: absolute;
  left: calc(100% + 35px);
  top: 0;

  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;

  opacity: 0;
  transform: translate(12px, -50%);
  transition:
    opacity 300ms ease 620ms,
    transform 450ms var(--ease-out) 620ms;
}

/*
 * У чётной строки ширина marker заканчивается
 * перед годом, поэтому отступ от линии до года — 12px.
 *
 * Сам год вместе с вычислением JS заканчивается
 * за 35px до начала фотографии.
 */
 .year-marker.is-even span {
  left: calc(100% + 12px);
}

/* Запуск анимации */
.year-marker.is-visible::before {
  transform: scaleX(1);
}

.year-marker.is-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

.project-head .project-year {
  display: none;
}

.projects-list {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 130px);
}

.project-row {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.project-image {
  margin: 0;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s var(--ease-out);
}
.project-row:hover .project-image img { transform: scale(1.02); }

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: clamp(0px, 2vw, 24px);
}
.project-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 10px;
}
.project-num {
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.project-year {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.project-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.18;
  margin: 4px 0 2px;
}
.project-sub {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
}
.project-desc {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 460px;
}

/* alternate: even rows flip so image goes right */
.project-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}
.project-row:nth-child(even) .project-image { order: 2; }
.project-row:nth-child(even) .project-meta { order: 1; padding-left: clamp(0px, 2vw, 24px); padding-right: 0; }

@media (max-width: 767px) {
  .projects-rulers .ruler-top {
    margin-left: 10px;
    margin-bottom: 22px;
  }
  .projects-rulers .ruler-top { top: 68px; margin-left: 10px; margin-bottom: 22px; }
  .projects-rulers .ruler-left { width: 14px; }
  .project-row,
  .project-row:nth-child(even) {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .project-row:nth-child(even) .project-image { order: 0; }
  .project-row:nth-child(even) .project-meta { order: 0; padding-left: 0; }
}

/* ================= journal: editorial list ================= */
.journal {
  padding: clamp(70px, 9vw, 120px) var(--pad-x) clamp(90px, 11vw, 150px);
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
}
.journal .section-heading { margin-bottom: clamp(30px, 4vw, 52px); }

.journal-card {
  max-width: 900px;
  margin: 0;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--hairline);
}
.journal-card:last-of-type { border-bottom: 1px solid var(--hairline); }
.journal-card h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  margin: 0 0 12px;
}
.journal-card .card-excerpt { font-size: 15px; line-height: 1.7; color: var(--taupe); margin: 0 0 16px; max-width: 680px; }
.journal-card .view-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: inline-block;
  color: var(--taupe);
  transition: color .25s ease;
}
.journal-card .view-link:hover { color: var(--gold); }

/* ================= page intro ================= */
.page-intro {
  padding: clamp(150px, 22vh, 220px) var(--pad-x) clamp(48px, 6vw, 76px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  flex-wrap: wrap;
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
}
.page-intro h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 500;
  margin: 0;
  line-height: 1.12;
}
.page-intro p { max-width: 480px; font-size: 16px; line-height: 1.7; margin: 0; color: var(--ink-soft); }

.breadcrumbs {
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--taupe);
}
.breadcrumbs ol { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "·"; margin-right: 8px; color: var(--beige-dark); }
.breadcrumbs a:hover { color: var(--ink); }

/* ================= trust strip ================= */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 0;
}
.trust-strip > div { padding: clamp(32px, 4vw, 48px) 0; text-align: left; }
.trust-strip .big { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; display: block; margin-bottom: 8px; }
.trust-strip .small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); line-height: 1.7; }

/* ================= contact / commission form ================= */
.commission-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; color: var(--taupe); text-transform: uppercase; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(25, 22, 20, .3);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.submit-btn {
  align-self: flex-start;
  margin-top: 12px;
  padding: 15px 34px;
  background: var(--ink);
  color: var(--offwhite);
  border: none;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .25s ease;
}
.submit-btn:hover { background: var(--gold); }

.contact-direct {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-direct h2 { grid-column: 1 / -1; font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0; }
.contact-direct .footer-label { margin-bottom: 12px; }
.contact-direct p { margin: 0 0 8px; color: var(--taupe); font-size: 15px; line-height: 1.6; }
.contact-direct a:hover { color: var(--gold); }

/* ================= footer: compact editorial composition ================= */
.site-footer {
  padding: clamp(56px, 6vw, 90px) var(--pad-x) 28px;
  border-top: 1px solid var(--hairline);
  background: #D9D2C7;
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 90px);
  margin: 0 0 clamp(40px, 5vw, 72px);
}

.footer-mark { width: min(240px, 75%); height: auto; margin-bottom: 12px; display: block; }
img.footer-mark { object-fit: contain; }

.footer-top nav { justify-self: end; width: 100%; max-width: 620px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 60px);
}
.footer-nav li { padding: 5px 0; color: var(--ink); }
.footer-nav li a {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  transition: color .25s ease;
}
.footer-nav li a:hover { color: var(--gold); }

.footer-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(32px, 5vw, 90px);
  margin-bottom: clamp(32px, 4vw, 60px);
}

.footer-label {
  font-size: 11px;
  letter-spacing: .16em;
  margin-bottom: 12px;
  color: var(--taupe);
  text-transform: uppercase;
}
.footer-office p { margin: 0 0 6px; color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.footer-office p:first-of-type a { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.footer-office a { transition: color .25s ease; }
.footer-office a:hover { color: var(--gold); }

.footer-social li { padding: 6px 0; color: var(--ink); }
.footer-social li a { transition: color .25s ease; }
.footer-social li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--taupe);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ================= fullscreen menu overlay ================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(32px, 9vw, 128px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

.menu-close {
  position: absolute;
  top: 44px; right: var(--pad-x);
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--offwhite);
}

.menu-list { margin-bottom: 64px; }
.menu-list li {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .01em;
  color: #8a8478;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, color .2s ease;
  font-family: var(--serif);
}
.menu-overlay.open .menu-list li { opacity: 1; transform: none; }
.menu-list li.active { color: var(--offwhite); }
.menu-list li:hover { color: var(--offwhite); }

.menu-overlay.open .menu-list li:nth-child(1) { transition-delay: .05s; }
.menu-overlay.open .menu-list li:nth-child(2) { transition-delay: .10s; }
.menu-overlay.open .menu-list li:nth-child(3) { transition-delay: .15s; }
.menu-overlay.open .menu-list li:nth-child(4) { transition-delay: .20s; }
.menu-overlay.open .menu-list li:nth-child(5) { transition-delay: .25s; }
.menu-overlay.open .menu-list li:nth-child(6) { transition-delay: .30s; }

.menu-lang { display: flex; gap: 18px; margin-bottom: 48px; font-size: 13px; letter-spacing: .18em; color: #8a8478; }
.menu-lang a:hover, .menu-lang a[aria-current="true"] { color: var(--offwhite); }

.menu-brand {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease .4s, transform .4s ease .4s;
}
.menu-overlay.open .menu-brand { opacity: 1; transform: none; }
.menu-brand svg { width: 200px; height: auto; }
.menu-brand .menu-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }

/* ================= scroll reveal ================= */
html.js .lot-card,
html.js .journal-card,
html.js .work {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s var(--ease-out);
}
html.js .lot-card.in-view,
html.js .journal-card.in-view,
html.js .work.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* frames draw after the tile itself fades in, so keep the tile transition first */

/* ================= responsive ================= */
@media (max-width: 1023px) {
  .estimate { grid-template-columns: 1fr; row-gap: 40px; }
  .estimate-intro, .estimate-form, .estimate-result { grid-column: 1 / -1; grid-row: auto; }
  .estimate-result { position: static; }
  .works-suite { grid-template-columns: 1fr 1fr; }
  .works-suite .suite-intro { grid-column: 1 / -1; grid-row: auto; border-right: none; }
  .works-suite .suite-trust {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }
  .works-suite .work:nth-of-type(n) { grid-column: auto; grid-row: auto; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .works-suite .work:nth-of-type(2n) { border-right: none; }
  .works-suite .work:nth-of-type(5) { border-bottom: none; }
  .works-suite .work:nth-of-type(6) { border-bottom: none; }
  .works-suite .work:nth-of-type(n) img { width: min(80%, 460px); }
  .works-editorial { grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3.5vw, 40px); }
  .works-editorial .work:nth-child(n) { grid-column: auto; margin-top: 0; }
  .works-editorial .work:nth-child(2n) { transform: translateY(0); }
  .lot-card { grid-template-columns: clamp(40px, 6vw, 64px) 1fr; }
  .lot-card p { grid-column: 2; margin-top: 12px; }
  .footer-top, .footer-mid { grid-template-columns: 1fr; gap: 56px; }
  .footer-top nav { justify-self: start; }
}

@media (max-width: 767px) {
  .site-header { padding: 22px 24px; }
  .header-right { gap: 16px; }
  .wordmark .wordmark-tag { display: none; }
  .hero { height: clamp(480px, 88vh, 760px); }
  .hero-content { left: 24px; bottom: 44px; max-width: calc(100% - 48px); }
  .hero-tagline { font-size: 29px; }
  .works-suite { grid-template-columns: 1fr; }
  .works-suite .suite-trust { flex-direction: column; }
  .works-suite .work:nth-of-type(n) { border-right: none; border-bottom: 1px solid var(--hairline); }
  .works-suite .work:nth-of-type(6) { border-bottom: none; }
  .works-suite .work:nth-of-type(n) img { width: min(88%, 480px); }
  .estimate-form { grid-template-columns: 1fr; }
  .estimate-input input, .estimate-input select { font-size: 22px; }
  .header-motto { font-size: 13px; letter-spacing: .22em; }
  .statement p { font-size: 21px; }
  .works-editorial { grid-template-columns: 1fr; row-gap: 44px; }
  .lot-card { grid-template-columns: 1fr; row-gap: 6px; padding: 26px 0; }
  .lot-card p { grid-column: 1; margin-top: 6px; }
  .page-intro { padding-top: 140px; align-items: flex-start; }
  .page-intro h1 { font-size: 32px; }
  .trust-strip { grid-template-columns: 1fr; margin-left: 24px; margin-right: 24px; }
  .trust-strip > div { padding: 24px 0; }
  .trust-strip > div + div { border-top: 1px solid var(--hairline); }
  .contact-direct { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-nav li a { font-size: 24px; }
  .footer-mark { width: min(200px, 70%); }
  .menu-overlay { padding: 0 32px; }
  .menu-list li { font-size: 24px; }
  #loader .loader-status { left: 24px; bottom: 28px; }
  #loader .loader-percent { right: 24px; bottom: 28px; }
}

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #loader { display: none; }
  .hero-eyebrow, .hero-tagline, .hero-paragraph, .hero-sub, .hero-link,
  .hero-tagline span,
  .hero::after,
  body.light-header .site-header,
  .vertical-mark {
    animation: none;
    opacity: 1;
  }
  .vertical-mark { transition: none; }
  html.js .lot-card,
  html.js .journal-card,
  html.js .work {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .work figure::before,
  html.js .work figure::after {
    transform: none;
    transition: none;
  }
  .menu-overlay, .menu-list li, .menu-brand { transition: none; }
}
