/* ==========================================================================
   Interior Vale — design system
   Palette: warm ivory + charcoal ink, logo red as a sparing accent,
   walnut tone borrowed from the studio's own joinery.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/manrope-normal-latin.woff2") format("woff2"); }

:root {
  --bg: #f6f1e9;
  --surface: #fbf9f5;
  --stone: #ecdfcc;
  --stone-2: #dccab0;
  --line: rgba(26, 25, 23, .14);
  --line-strong: rgba(26, 25, 23, .28);
  --ink: #1a1917;
  --ink-2: #45413b;
  --muted: #6f6861;
  --red: #c0161c;
  --red-dark: #9a1015;
  --walnut: #8b5a36;
  --dark: #1d1612;
  --dark-2: #2a201a;
  --on-dark: #f2ede5;
  --on-dark-muted: #b4a593;
  --line-dark: rgba(242, 237, 229, .16);
  --wa: #25d366;
  --wa-dark: #128c4b;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, not hidden: hidden would make body a scroll container and break sticky header */
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section + .section--flush, .page-hero + .section--flush { padding-top: 0; }

/* ---------- Typography ---------- */
.display, h1, h2, .h2, h3.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1;
}
h1, .display { font-size: clamp(2.9rem, 1.6rem + 6vw, 7rem); line-height: .96; }
h2, .h2 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); }
h1 em, h2 em, .display em { font-style: italic; color: var(--ink-2); }
.section--dark h2 em, .section--dark h1 em { color: var(--on-dark-muted); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.section--dark .lede { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); max-width: 40em; }
.prose h3 { margin: 2em 0 .6em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .idx { color: var(--red); letter-spacing: .08em; }
.section--dark .eyebrow { color: var(--on-dark-muted); }
.eyebrow--plain::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 26px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { --b-bd: var(--red); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn--light { --b-bg: var(--on-dark); --b-fg: var(--ink); --b-bd: var(--on-dark); }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--on-dark); --b-bd: rgba(242, 237, 229, .4); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .84rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .92rem;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: gap .35s var(--ease), border-color .35s var(--ease), color .35s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover { border-color: var(--red); color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { border-color: var(--line-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 234, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 241, 234, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
@media (min-width: 720px) { .brand img { height: 62px; } }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a {
  position: relative; font-size: .88rem; font-weight: 600; color: var(--ink-2); padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.header-phone small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.header-phone .ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: background .3s, border-color .3s, color .3s;
}
.header-phone:hover .ico { background: var(--red); border-color: var(--red); color: #fff; }
.header-phone svg { width: 16px; height: 16px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.menu-toggle .bars { position: relative; width: 26px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); overflow-y: auto;
  padding: 28px var(--gutter) 120px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.mobile-menu ul { border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0;
  font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.1;
}
.mobile-menu li a span { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; color: var(--muted); }
.mobile-menu li a[aria-current="page"] { color: var(--red); }
.mobile-menu .mm-contact { margin-top: 32px; display: grid; gap: 10px; }
.mobile-menu .mm-contact .btn { width: 100%; }
.mobile-menu .mm-note { margin-top: 24px; font-size: .9rem; color: var(--muted); }

@media (min-width: 720px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-phone { display: flex; }
}
@media (min-width: 1100px) and (max-width: 1260px) {
  .header-phone small { display: none; }
  .header-phone .num { display: none; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr;
  background: var(--dark); color: var(--on-dark);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line-dark);
  transform: translateY(0); transition: transform .4s var(--ease);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; font-size: .84rem; font-weight: 700; letter-spacing: .02em;
}
.action-bar a + a { border-left: 1px solid var(--line-dark); }
.action-bar a.is-primary { background: var(--red); border-left: 0; }
.action-bar svg { width: 18px; height: 18px; }
body { padding-bottom: 58px; }
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; gap: 32px; align-items: end; }
.hero h1 { max-width: 11.5em; }
.hero h1 .line { display: block; }
.hero-side { display: grid; gap: 28px; max-width: 34rem; }
.hero-side .lede { font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.hero-media { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.hero-media .frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero-media .frame img { transform: scale(1); }
.hero-caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); padding: 14px 20px 0 0;
  font-size: .78rem; font-weight: 600; color: var(--ink-2);
}
.hero-caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 4px rgba(192, 22, 28, .14); }
.seal {
  position: absolute; z-index: 3; right: clamp(12px, 3vw, 40px); top: 0; transform: translateY(-50%);
  width: clamp(116px, 14vw, 168px); aspect-ratio: 1; border-radius: 50%;
  background: var(--dark); color: var(--on-dark);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.seal svg.ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 26s linear infinite; }
.seal svg.ring text { fill: var(--on-dark); font: 700 8.2px var(--sans); text-transform: uppercase; }
.seal .core { text-align: center; line-height: 1; }
.seal .core b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); color: #fff; }
.seal .core span { display: block; margin-top: 2px; font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.seal .core i { display: block; width: 18px; height: 2px; background: var(--red); margin: 6px auto 0; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
  .hero-media .frame { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
  .hero-media .frame { aspect-ratio: 21 / 9; }
}

/* Hairline grid behind hero */
.gridlines { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.gridlines span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); opacity: .55; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: 1fr; }
.trust li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust li:last-child { border-bottom: 0; }
.trust .n { font-family: var(--serif); font-size: 1.35rem; color: var(--red); line-height: 1.2; min-width: 1.6em; }
.trust strong { display: block; font-size: .98rem; }
.trust span { font-size: .88rem; color: var(--muted); }
@media (min-width: 640px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 26px 24px 26px 0; }
  .trust li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .trust li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .trust li { border-bottom: 0; padding: 30px 24px; }
  .trust li:first-child { padding-left: 0; }
  .trust li + li { border-left: 1px solid var(--line); }
}

/* ---------- Section head ---------- */
.section-head { display: grid; gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { max-width: 13em; }
.section-head .lede { align-self: end; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
  .section-head--split .head-l { display: grid; gap: 24px; }
}
.head-l { display: grid; gap: 22px; }

/* ---------- Services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: var(--bg); padding: clamp(28px, 3.4vw, 44px);
  min-height: 300px; transition: background .5s var(--ease);
  overflow: hidden;
}
.section--surface .service { background: var(--surface); }
.service .num { font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; }
.service p { color: var(--ink-2); font-size: .97rem; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service .tags li { font-size: .74rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }
.service--img { color: var(--on-dark); background: var(--dark) !important; justify-content: flex-end; min-height: 420px; }
.service--img picture { position: absolute; inset: 0; }
.service--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 20, 18, .1) 0%, rgba(21, 20, 18, .45) 45%, rgba(21, 20, 18, .94) 100%); }
.service--img > *:not(picture) { position: relative; z-index: 2; }
.service--img p, .service--img .num { color: rgba(242, 237, 229, .82); }
.service--img .link-arrow { border-color: rgba(242, 237, 229, .4); margin-top: 6px; }
.service--img:hover img { transform: scale(1.04); }
.service--img .tags li { border-color: rgba(242, 237, 229, .3); color: var(--on-dark); }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .services--home { grid-template-columns: 1.25fr 1.25fr 1fr 1fr; }
  .services--home .service--img { min-height: 560px; }
}

/* ---------- Founder ---------- */
.founder { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
.founder-media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.founder-media figure { overflow: hidden; background: var(--stone); }
.founder-media figure:first-child { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.founder-media figure:nth-child(2) { aspect-ratio: 1; }
.founder-media figure:nth-child(3) { aspect-ratio: 1; }
.founder-media img { width: 100%; height: 100%; object-fit: cover; }
.founder-media .tag {
  position: absolute; left: 0; bottom: 0; background: var(--bg); padding: 14px 18px 0 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.founder-body { display: grid; gap: 28px; }
.founder-body .prose p:first-child { font-size: 1.12rem; color: var(--ink); }
.principles { border-top: 1px solid var(--line); margin-top: 8px; }
.principles li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principles .n { font-family: var(--serif); font-size: 1.3rem; color: var(--red); line-height: 1.25; grid-row: span 2; }
.principles strong { font-size: 1rem; }
.principles p { font-size: .94rem; color: var(--muted); }
.signature { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.signature .mono {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-family: var(--serif); font-size: 1.4rem; flex: none;
}
.signature strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.signature span { font-size: .84rem; color: var(--muted); }
@media (min-width: 1024px) {
  .founder { grid-template-columns: 1fr 1fr; }
  .founder-media { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--serif); font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem); line-height: 1.15; letter-spacing: -.01em;
  max-width: 22em;
}
.pull::before { content: "\201C"; display: block; color: var(--red); font-size: 1.6em; line-height: .6; margin-bottom: .1em; }

/* ---------- Projects ---------- */
.real-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: .78rem; font-weight: 700; color: var(--ink-2);
}
.real-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(192, 22, 28, .14); }
.projects-grid { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: 1fr; }
.project { position: relative; display: block; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.project picture, .project img { width: 100%; height: 100%; }
.project img { object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.project:hover img { transform: scale(1.035); }
.project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 48px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 14, 12, .72));
}
.project figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1rem + .8vw, 1.75rem); line-height: 1.1; }
.project figcaption span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.project figcaption .plus {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; transition: background .3s, border-color .3s;
}
.project:hover figcaption .plus { background: var(--red); border-color: var(--red); }
.project figcaption .plus svg { width: 14px; height: 14px; }
.ar-wide { aspect-ratio: 16 / 9; }
.ar-tall { aspect-ratio: 4 / 5; }
.ar-sq { aspect-ratio: 1; }
@media (min-width: 760px) {
  .projects-grid { grid-template-columns: repeat(12, 1fr); }
  .projects-grid--home .p1 { grid-column: 1 / 9; grid-row: span 2; aspect-ratio: auto; }
  .projects-grid--home .p2 { grid-column: 9 / 13; }
  .projects-grid--home .p3 { grid-column: 9 / 13; }
  .projects-grid--home .p4 { grid-column: 1 / 5; }
  .projects-grid--home .p5 { grid-column: 5 / 13; }
}
.projects-foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.projects-foot p { max-width: 36em; color: var(--muted); font-size: .95rem; }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: .86rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.portfolio { columns: 1; column-gap: 16px; }
.portfolio .project { break-inside: avoid; margin-bottom: 16px; }
.portfolio .project.is-hidden { display: none; }
.portfolio .project--cta {
  cursor: default; background: var(--dark); color: var(--on-dark); padding: 36px 30px; display: grid; gap: 18px;
}
.portfolio .project--cta h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.portfolio .project--cta p { color: var(--on-dark-muted); font-size: .95rem; }
@media (min-width: 640px) { .portfolio { columns: 2; } }
@media (min-width: 1100px) { .portfolio { columns: 3; column-gap: 20px; } .portfolio .project { margin-bottom: 20px; } }

/* Project story (featured project block) */
.story { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
.story + .story { margin-top: clamp(72px, 9vw, 130px); }
.story-media { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.story-media .project:first-child { grid-column: 1 / -1; }
.story-body { display: grid; gap: 20px; align-content: start; }
.story-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.04; }
.story-body dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.story-body dt { color: var(--muted); font-weight: 600; }
@media (min-width: 1024px) {
  .story { grid-template-columns: 1.5fr 1fr; }
  .story--rev { grid-template-columns: 1fr 1.5fr; }
  .story--rev .story-media { order: 2; }
}

/* ---------- Process ---------- */
.process { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--red); grid-row: span 2; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
.section--dark .step, .section--dark .process { border-color: var(--line-dark); }
.section--dark .step p { color: var(--on-dark-muted); }
@media (min-width: 760px) {
  .process { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}
@media (min-width: 1100px) {
  .process--row { grid-template-columns: repeat(6, 1fr); column-gap: 0; border-top: 0; }
  .process--row .step { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line-strong); padding: 28px 24px 0 0; align-content: start; }
  .process--row .step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
  .process--row .step .n { grid-row: auto; margin-bottom: 18px; font-size: 3rem; }
}

/* Detailed process (process page) */
.phase { display: grid; gap: 24px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase .n { font-family: var(--serif); font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: .8; color: var(--red); }
.phase h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 14px; }
.phase .cols { display: grid; gap: 20px; margin-top: 22px; }
.phase .cols h3 { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.phase .cols li { position: relative; padding-left: 20px; margin-bottom: 6px; color: var(--ink-2); font-size: .96rem; }
.phase .cols li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--red); }
@media (min-width: 900px) {
  .phase { grid-template-columns: 220px 1fr; gap: 48px; }
  .phase .cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- Warranty ---------- */
.warranty { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.warranty-mark { position: relative; display: grid; place-items: center; }
.warranty-mark .big {
  font-family: var(--serif); font-size: clamp(14rem, 10rem + 18vw, 30rem); line-height: .75; color: var(--on-dark);
  letter-spacing: -.04em;
}
.warranty-mark .big-label {
  position: absolute; bottom: 4%; right: 6%; text-align: right;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.warranty-mark .big-label b { display: block; color: var(--red); font-size: 1rem; letter-spacing: .14em; }
.warranty-body { display: grid; gap: 26px; }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list--x li::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6861' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--line-strong);
}
.section--dark .check-list li { border-color: var(--line-dark); color: var(--on-dark); }
.fineprint { font-size: .82rem; color: var(--muted); max-width: 44em; }
.section--dark .fineprint { color: var(--on-dark-muted); }
@media (min-width: 1024px) { .warranty { grid-template-columns: 1fr 1.1fr; } }

.cover-grid { display: grid; gap: 24px; }
.cover-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); }
.cover-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 14px; }
@media (min-width: 900px) { .cover-grid { grid-template-columns: 1fr 1fr; } }

.claim-steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.claim-steps li { background: var(--bg); padding: 30px; display: grid; gap: 10px; }
.claim-steps .n { font-family: var(--serif); font-size: 2.2rem; color: var(--red); line-height: 1; }
.claim-steps p { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .claim-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Materials / brands ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li {
  flex: 1 1 50%; display: grid; place-items: center; text-align: center; min-height: 92px; padding: 16px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); color: var(--ink-2);
}
.brands li small { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
@media (min-width: 760px) { .brands li { flex-basis: 33.333%; } }
@media (min-width: 1100px) { .brands li { flex-basis: 16.666%; } }

/* ---------- Comparison (why) ---------- */
.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--bg); padding: clamp(28px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.section--surface .why-item { background: var(--surface); }
.why-item .ico { width: 44px; height: 44px; color: var(--red); }
.why-item h3 { font-size: 1.12rem; }
.why-item p { color: var(--muted); font-size: .95rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; }
.quote { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); line-height: 1.25; }
.quote cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.quote cite strong { display: block; color: var(--ink); font-size: .96rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.reference-note { display: grid; gap: 22px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .reference-note { grid-template-columns: 1.4fr auto; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.cta-band picture { position: absolute; inset: 0; }
.cta-band picture img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 20, 18, .92) 25%, rgba(21, 20, 18, .45)); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner { display: grid; gap: 32px; padding-block: clamp(90px, 12vw, 170px); }
.cta-inner h2 { max-width: 11em; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); }
.cta-inner .lede { color: rgba(242, 237, 229, .8); }
.cta-phone { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; display: inline-flex; align-items: baseline; gap: 14px; transition: color .3s; }
.cta-phone small { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.cta-phone:hover { color: #fff; }
.cta-phone:hover span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(36px, 4.5vw, 64px); position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a:hover { color: var(--red); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero-grid { display: grid; gap: 28px; align-items: end; }
.page-hero h1 { font-size: clamp(2.7rem, 1.6rem + 5vw, 6rem); max-width: 12em; }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.page-hero-media { margin-top: clamp(40px, 5vw, 72px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); position: relative; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .page-hero-media { aspect-ratio: 21 / 9; } }
.media-note {
  position: absolute; right: 0; bottom: 0; background: var(--bg); padding: 10px 0 0 16px;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}

/* ---------- Two-column content ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1.25fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split .sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.list-cols { display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
.list-cols li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; color: var(--ink-2); }
.list-cols li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--red); transform: translateY(-2px) rotate(45deg); }
@media (min-width: 640px) { .list-cols { grid-template-columns: 1fr 1fr; } }

.room-grid { display: grid; gap: 16px; }
.room { display: grid; gap: 14px; }
.room .project { aspect-ratio: 4 / 3; }
.room h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.room p { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .room-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (min-width: 1100px) { .room-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.stat-row { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat-row > div { background: var(--bg); padding: 28px; }
.stat-row b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
.stat-row span { font-size: .9rem; color: var(--muted); }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 1.08rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1917' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--stone); }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease);
}
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card.is-primary .ico { background: var(--red); }
.contact-card small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 1.12rem; word-break: break-word; }
.contact-card .go { width: 18px; height: 18px; color: var(--muted); }

.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); }
.form h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg); font-size: 1rem; transition: border-color .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1917' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; text-transform: none; letter-spacing: 0;
}
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { font-size: .9rem; font-weight: 600; color: var(--walnut); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(64px, 8vw, 110px); }
.footer-top { display: grid; gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 22px; color: var(--on-dark-muted); max-width: 26em; font-size: .95rem; }
.footer-col h2 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--on-dark); font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer-col address { font-style: normal; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.8; }
.footer-col address a { color: var(--on-dark); }
.footer-warranty { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 99px; font-size: .8rem; font-weight: 700; }
.footer-warranty b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--red); line-height: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 26px; font-size: .8rem; color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--on-dark); }
.footer-bottom .credit a { color: var(--on-dark-muted); border-bottom: 1px solid var(--line-dark); }
.footer-word {
  font-family: var(--serif); font-size: clamp(4rem, 2rem + 13vw, 15rem); line-height: .8; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 237, 229, .16); white-space: nowrap; overflow: hidden;
  padding-top: 40px; user-select: none;
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12, 11, 10, .96);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); color: var(--on-dark); font-size: .84rem; }
.lb-stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); color: var(--on-dark); }
.lb-caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.lb-caption span { font-size: .8rem; color: var(--on-dark-muted); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark); display: grid; place-items: center; transition: background .25s, border-color .25s; flex: none; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 18px; height: 18px; }
.lb-nav { display: flex; gap: 10px; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* clip the inner picture, not the observed element (clipped targets never intersect) */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] > picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="img"].is-in > picture { clip-path: inset(0 0 0 0); }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }
.js [data-delay="4"] { transition-delay: .4s; }

.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .hero h1 .line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js.is-loaded .hero h1 .line > span { transform: none; }
.js.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.js.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="img"] > picture, .js .hero h1 .line > span { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(48px, 6vw, 88px); }
.center { text-align: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Image fill helpers ---------- */
.project picture { position: absolute; inset: 0; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame > picture, figure > picture, .page-hero-media > picture { display: block; height: 100%; }
@media (min-width: 760px) {
  .projects-grid--home .p5 { aspect-ratio: auto; }
}
.img-note {
  position: absolute !important; top: 16px; right: 16px; z-index: 3;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px; background: rgba(21, 20, 18, .55); color: rgba(242, 237, 229, .9);
}
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.legend { padding: 0; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.legend .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }

@media (max-width: 520px) {
  .hero .btn-row .btn, .cta-inner .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .story-media .project:not(:first-child) figcaption { padding: 32px 12px 12px; }
  .story-media .project:not(:first-child) figcaption span,
  .story-media .project:not(:first-child) figcaption .plus { display: none; }
  .story-media .project:not(:first-child) figcaption strong { font-size: 1.05rem; }
}

/* ---------- WhatsApp ---------- */
.wa-ico { width: 18px; height: 18px; flex: none; }
.btn--wa { --b-bg: var(--wa); --b-fg: #0b2e1a; --b-bd: var(--wa); }
.btn--wa::before { background: var(--wa-dark); }
.btn--wa:hover, .btn--wa:focus-visible { --b-bd: var(--wa-dark); color: #fff; }
.action-bar a.is-wa .wa-ico { color: var(--wa); }
.contact-card.is-wa .ico { background: var(--wa); color: #fff; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-wa .wa-ico { color: var(--wa); width: 16px; height: 16px; }
.mobile-menu .mm-contact .btn--wa { --b-fg: #0b2e1a; }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  display: none; align-items: center; gap: 12px;
}
.wa-float-btn {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(18, 140, 75, .55);
  transition: transform .35s var(--ease), background .3s;
}
.wa-float-btn .wa-ico { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.6s var(--ease) infinite; pointer-events: none;
}
.wa-float-label {
  background: var(--surface); color: var(--ink); font-size: .84rem; font-weight: 700;
  padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .35s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
.wa-float:hover .wa-float-btn { transform: scale(1.06); background: var(--wa-dark); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@media (min-width: 900px) { .wa-float { display: flex; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); color: var(--on-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1; white-space: nowrap; padding: 0 28px; }
.marquee span:nth-of-type(odd) { font-style: italic; color: var(--on-dark-muted); }
.marquee i { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Commercial space cards ---------- */
.space-grid { display: grid; gap: 32px 20px; }
.space-card { display: grid; gap: 10px; align-content: start; }
.space-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); margin-bottom: 10px; }
.space-media picture, .space-media img { width: 100%; height: 100%; }
.space-media img { object-fit: cover; transition: transform 1.1s var(--ease); }
.space-card:hover .space-media img { transform: scale(1.04); }
.space-card .num { font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--red); }
.space-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.05; }
.space-card p { color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .space-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .space-grid { grid-template-columns: repeat(4, 1fr); } }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.link-wa .wa-ico { color: var(--wa-dark); width: 17px; height: 17px; }

/* ---------- Top trust bar (desktop) ---------- */
.topbar { display: none; background: var(--dark); color: var(--on-dark-muted); font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar strong { color: var(--on-dark); font-weight: 700; }
.topbar a { color: var(--on-dark); transition: color .25s; }
.topbar a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.topbar p:last-child { display: flex; gap: 20px; }
.topbar p:last-child a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar svg { width: 14px; height: 14px; }
.topbar .tb-wa .wa-ico { color: var(--wa); width: 14px; height: 14px; }
@media (min-width: 900px) { .topbar { display: block; } }

/* ---------- Footer column labels ---------- */
.footer-col .footer-h { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }

/* ---------- Project pages ---------- */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .96rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.pgallery { display: grid; gap: 20px; }
.pfig { cursor: zoom-in; }
.pfig-frame { position: relative; overflow: hidden; background: var(--stone); }
.pfig-frame picture, .pfig-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfig-frame img { object-fit: cover; transition: transform 1.1s var(--ease); }
.pfig:hover .pfig-frame img { transform: scale(1.03); }
.pfig figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.pfig figcaption strong { color: var(--ink); font-weight: 700; margin-right: 4px; }
@media (min-width: 760px) {
  .pgallery { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .pgallery .pfig--lead { grid-column: 1 / -1; }
}
.more-projects { display: grid; gap: 14px; justify-items: start; }
.prose a, .lede a, .faq a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
