/* ============================================================
   Junior Pisos de Madeiras — site
   Tipografia: Fraunces (display) + Manrope (texto)
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-300-700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3eb;
  --paper-2: #efe7d9;
  --sand: #e6d9c6;
  --ink: #1c1a16;
  --ink-2: #2b2721;
  --muted: #746b5e;
  --line: #d8ccba;
  --red: #b5122b;
  --red-2: #d8324a;
  --wood: #8a5a34;
  --brass: #b98a4e;
  --forest: #1d3026;
  --forest-2: #16251d;
  --cream: #f5ecdc;
  --white: #fffdf8;
  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1240px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }
em { font-style: italic; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 2px;
}
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfc5b5;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; }
.topbar p { margin: 0; }
.topbar-bona { display: flex; align-items: center; gap: 8px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red-2); display: inline-block; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 243, 235, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 204, 186, .7);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-head.is-scrolled { box-shadow: 0 12px 34px rgba(28, 26, 22, .07); background: rgba(247, 243, 235, .97); }
.head-in { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); height: 84px; transition: height .3s var(--ease); }
.is-scrolled .head-in { height: 72px; }
.brand img { width: 205px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.1vw, 28px); }
.nav a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 15px 24px; border: 1px solid var(--ink); border-radius: 2px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.btn-head { padding: 12px 18px; font-size: 12px; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-cream:hover { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn-full { width: 100%; }
.nav-toggle {
  display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(52px, 6.5vw, 92px) 0 clamp(64px, 7.5vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 32%, rgba(185, 138, 78, .16), transparent 70%),
    radial-gradient(40% 45% at 8% 88%, rgba(181, 18, 43, .05), transparent 70%);
}
.hero-glow {
  position: absolute; width: 42vw; height: 42vw; right: 2vw; top: 4vw; border-radius: 50%;
  background: rgba(230, 217, 198, .55); filter: blur(70px); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(38px, 5.5vw, 86px); align-items: center; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 26px;
}
.eyebrow-line { width: 34px; height: 1px; background: var(--red); }
.hero h1 { font-size: clamp(3.2rem, 6.9vw, 6.7rem); line-height: .92; letter-spacing: -.045em; font-weight: 450; }
.hero h1 em { color: var(--red); font-weight: 400; }
.lead { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); gap: 0 clamp(28px, 4vw, 54px);
  justify-content: start; margin: 52px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; flex-direction: column; gap: 1px; }
.hero-facts dt { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }

.hero-visual { position: relative; }
.hero-frame {
  margin: 0; position: relative; aspect-ratio: 4 / 4.7;
  border-radius: 260px 260px 3px 3px; overflow: hidden; background: var(--sand);
  box-shadow: 0 40px 80px -30px rgba(28, 26, 22, .4);
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 17, 13, .55));
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-frame:hover img { transform: scale(1.035); }
.hero-frame figcaption {
  position: absolute; right: 20px; bottom: 20px; z-index: 2; max-width: 58%;
  color: #f1e9dc; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; text-align: right;
  text-shadow: 0 1px 12px rgba(16, 13, 10, .55);
}
.hero-seal {
  position: absolute; top: -20px; right: -14px;
  width: 136px; height: 136px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  text-align: center; box-shadow: 0 18px 34px -18px rgba(28, 26, 22, .5);
  transform: rotate(7deg); z-index: 3;
}
.seal-brand { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--red); line-height: 1; }
.hero-seal strong { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.hero-seal small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 13px 0; background: rgba(239, 231, 217, .45); }
.marquee-track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.marquee-track i { color: var(--red); font-style: normal; font-size: 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- shared section ---------- */
.section { padding: clamp(76px, 9vw, 132px) 0; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.kicker-light { color: #e0a2a9; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: .98; letter-spacing: -.04em; }
h2 em { color: var(--red); font-weight: 400; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 6vw, 90px); align-items: end; margin-bottom: clamp(38px, 5vw, 62px); }
.section-lead { color: var(--muted); max-width: 47ch; margin: 0 0 6px; font-size: 15.5px; line-height: 1.8; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 5px; transition: color .25s, border-color .25s;
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--red); border-color: var(--red); }
.text-link:hover span { transform: translateX(4px); }
.text-link.light { color: var(--cream); border-color: rgba(245, 236, 220, .45); }
.text-link.light:hover { color: #fff; border-color: #fff; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.manifesto-media { position: relative; }
.manifesto-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass);
  z-index: 0; pointer-events: none;
}
.manifesto-media img { position: relative; z-index: 1; aspect-ratio: 4 / 4.8; object-fit: cover; width: 100%; }
.media-tag {
  position: absolute; z-index: 2; left: 20px; bottom: 20px;
  background: var(--paper); padding: 13px 17px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 12px 30px -16px rgba(28, 26, 22, .4);
}
.media-tag b { font-family: var(--display); font-size: 19px; font-weight: 500; }
.media-tag span { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.manifesto-copy h2 { margin-bottom: 28px; }
.manifesto-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.85; max-width: 53ch; }
.signature { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.sig-name { font-family: var(--display); font-style: italic; font-size: 24px; }
.sig-role { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- case ---------- */
.case { background: var(--paper-2); }
.compare { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.compare-card { margin: 0; }
.compare-media { position: relative; aspect-ratio: 4 / 3.15; overflow: hidden; background: #d6c8b3; }
.compare-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .35s var(--ease), transform .8s var(--ease); }
.compare-media img.is-fading { opacity: .15; }
.compare-card figcaption {
  display: flex; align-items: center; gap: 10px; padding-top: 13px;
  font-size: 11px; letter-spacing: .05em; color: var(--muted); flex-wrap: wrap;
}
.tag {
  font-size: 8.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 8px; color: var(--cream); background: var(--ink); line-height: 1.4;
}
.tag-after { background: var(--red); }
.compare-arrow {
  width: 48px; height: 48px; margin-inline: auto; border-radius: 50%;
  border: 1px solid var(--red); color: var(--red);
  display: grid; place-items: center; background: var(--paper-2); position: relative; z-index: 2;
}
.compare-arrow svg { width: 18px; height: 18px; }
.case-tabs { display: flex; align-items: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.case-tab {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px;
  background: transparent; border: 1px solid transparent; cursor: pointer; text-align: left;
  transition: border-color .25s, background .25s;
}
.case-tab img { width: 46px; height: 46px; object-fit: cover; }
.case-tab span { display: flex; flex-direction: column; line-height: 1.4; }
.case-tab b { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.case-tab small { font-size: 10.5px; color: var(--muted); }
.case-tab:hover { border-color: var(--line); }
.case-tab.is-active { border-color: var(--red); background: rgba(181, 18, 43, .04); }
.case-link { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.case-link span { color: var(--red); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.case-facts span { font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--red); grid-row: span 2; }
.case-facts b { font-family: var(--display); font-size: 20px; font-weight: 500; }
.case-facts small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 296px; gap: 12px; }
.service-card { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); transition: transform 1s var(--ease); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 13, .04) 0%, rgba(20, 17, 13, .38) 46%, rgba(20, 17, 13, .94) 100%);
}
.service-card:hover img { transform: scale(1.05); }
.service-tacos img { object-position: center bottom; }
.service-tacos::after { background: linear-gradient(180deg, rgba(20, 17, 13, .18) 0%, rgba(20, 17, 13, .72) 44%, #14110d 72%); }
.service-large { grid-column: span 2; grid-row: span 2; }
.service-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 26px; }
.service-num { display: block; font-size: 9px; font-weight: 800; letter-spacing: .16em; color: #e6b3b9; margin-bottom: 9px; }
.service-body h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.05; margin-bottom: 8px; }
.service-body p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #d9cfc0; max-width: 40ch; }
.service-large .service-body { padding: 34px; }
.service-large .service-body h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
.service-large .service-body p { font-size: 13.5px; max-width: 46ch; }
.service-dark { background: var(--forest); }
.service-dark::after { display: none; }
.service-dark .service-body { position: relative; inset: auto; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.service-dark .service-body h3 { color: var(--cream); }
.service-dark .text-link { margin-top: 16px; color: var(--cream); border-color: rgba(245, 236, 220, .35); font-size: 10px; }
.service-dark .text-link:hover { color: #fff; border-color: #fff; }

/* ---------- process ---------- */
.process { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 85% 15%, rgba(181, 18, 43, .13), transparent 70%),
    radial-gradient(40% 50% at 5% 90%, rgba(185, 138, 78, .1), transparent 70%);
}
.process-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.process-intro h2 { color: var(--cream); margin-bottom: 24px; }
.process-intro h2 em { color: #dc9aa2; }
.process-intro p { color: #bdb4a6; max-width: 40ch; font-size: 15px; margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(245, 236, 220, .16); }
.steps li:last-child { border-bottom: 1px solid rgba(245, 236, 220, .16); }
.steps span { font-family: var(--display); font-size: 26px; color: var(--red-2); line-height: 1; }
.steps b { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.steps p { margin: 0; color: #b9b0a2; font-size: 13px; max-width: 44ch; }

/* ---------- bona ---------- */
.bona { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.bona-texture {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(55% 55% at 85% 20%, rgba(185, 138, 78, .22), transparent 70%),
    radial-gradient(45% 45% at 10% 90%, rgba(181, 18, 43, .14), transparent 70%);
}
.bona-grid { position: relative; display: grid; grid-template-columns: 1fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.bona-copy h2 { color: var(--cream); margin-bottom: 22px; }
.bona-copy h2 em { color: #e0a2a9; }
.bona-copy > p { color: #c9c0b1; font-size: 15px; line-height: 1.85; max-width: 50ch; }
.bona-list { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.bona-list li { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-left: 18px; position: relative; color: #e7ddcd; }
.bona-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-size: 11px; }
.bona-badge { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(245, 236, 220, .18); }
.bona-mark { font-family: var(--display); font-style: italic; font-size: 34px; color: #fff; line-height: 1; }
.bona-mark sup { font-size: 10px; }
.bona-badge span:last-child { font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: #b8ae9f; line-height: 1.7; }
.bona-badge b { color: var(--cream); font-weight: 700; }

.docs { position: relative; min-height: 560px; }
.doc {
  margin: 0; position: absolute; width: 58%; background: var(--cream); padding: 10px 10px 0;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6);
}
.doc a { display: block; overflow: hidden; background: #fff; }
.doc img { width: 100%; height: auto; }
.doc figcaption { padding: 12px 6px 13px; display: flex; flex-direction: column; gap: 2px; }
.doc figcaption b { font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--ink); }
.doc figcaption span { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: #7d7364; }
.doc-cert { left: 0; top: 0; transform: rotate(-4deg); }
.doc-plaque { right: 0; bottom: 0; transform: rotate(3deg); }
.doc:hover { z-index: 3; }
.doc img { transition: transform .7s var(--ease); }
.doc:hover img { transform: scale(1.025); }
.bona-foot {
  position: relative; margin-top: clamp(48px, 6vw, 80px); padding-top: 30px;
  border-top: 1px solid rgba(245, 236, 220, .18);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.bona-foot p { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.65rem); color: #e6dbca; margin: 0; max-width: 52ch; }

/* ---------- gallery ---------- */
.gallery-head { align-items: end; }
.gallery-controls { display: flex; justify-content: flex-end; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.filter {
  border: 1px solid var(--line); background: transparent; padding: 8px 13px; cursor: pointer;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.gallery-grid { columns: 4; column-gap: 10px; }
.g-item { margin: 0 0 10px; position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; break-inside: avoid; }
.g-item.g-tall { aspect-ratio: 1 / 1; }
.g-item.g-wide { aspect-ratio: 1 / 1; }
.g-item button { position: absolute; inset: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.g-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 17, 13, .65));
  opacity: .85; transition: opacity .3s;
}
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  color: #f2eadc; font-size: 11px; letter-spacing: .03em; transition: transform .35s var(--ease);
}
.g-item figcaption span {
  display: block; font-size: 8.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #e8b8be; margin-bottom: 4px;
}
.g-item:hover figcaption { transform: translateY(-3px); }
.g-item.is-hidden { display: none; }
.g-item.is-filtering { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: .2; transform: scale(.98); } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-intro h2 { margin-bottom: 22px; }
.faq-intro p { color: var(--muted); max-width: 34ch; margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 20px; color: var(--red); line-height: 1; transition: transform .3s; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0 0 20px; max-width: 62ch; }

/* ---------- contact ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); max-width: 38ch; }
.contact-lines { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.contact-lines > * { display: flex; flex-direction: column; gap: 3px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-lines > *:nth-child(odd) { padding-right: 20px; }
.contact-lines span { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-lines b { font-family: var(--display); font-size: 20px; font-weight: 500; }
.quote { background: var(--white); padding: clamp(24px, 3vw, 38px); box-shadow: 0 26px 60px -38px rgba(28, 26, 22, .4); }
.quote-title { font-family: var(--display); font-size: 28px; margin: 0 0 2px; }
.quote-sub { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.quote label { display: flex; flex-direction: column; gap: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; }
.quote input, .quote select, .quote textarea {
  font-family: var(--sans); font-size: 14px; color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; width: 100%;
  outline: none; transition: border-color .2s;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--red); }
.quote textarea { resize: vertical; min-height: 88px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-note { font-size: 9.5px; color: var(--muted); margin: 12px 0 0; text-align: center; letter-spacing: .02em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #bdb3a4; padding: 64px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(245, 236, 220, .14); }
.footer-brand img { width: 210px; height: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; line-height: 1.8; max-width: 30ch; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-col b { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: 4px; }
.footer-col a:hover { color: #fff; }
.footer-seal span { font-size: 10.5px; line-height: 1.6; color: #d2c9ba; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 10px; letter-spacing: .04em; color: #8d8375; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(14, 12, 9, .95);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  padding: 4vh 3vw; opacity: 0; transition: opacity .25s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; text-align: center; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; margin-inline: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #d9cfc0; font-size: 11px; letter-spacing: .06em; margin-top: 14px; }
.lb-close {
  position: absolute; right: 20px; top: 16px; z-index: 2; background: transparent; border: 0;
  color: #f2eadc; font-size: 34px; line-height: 1; cursor: pointer; width: 44px; height: 44px;
}
.lb-prev, .lb-next {
  background: transparent; border: 1px solid rgba(245, 236, 220, .3); color: #f2eadc;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 17px;
  justify-self: center; transition: background .2s, border-color .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(245, 236, 220, .12); border-color: #f2eadc; }
body.no-scroll { overflow: hidden; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.service-card:nth-child(2) { transition-delay: .06s; }
.service-card:nth-child(3) { transition-delay: .12s; }
.service-card:nth-child(4) { transition-delay: .18s; }
.service-card:nth-child(5) { transition-delay: .24s; }
.service-card:nth-child(6) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 11.5px; }
  .head-in { gap: 18px; }
  .brand img { width: 160px; }
  .hero h1 { font-size: clamp(3rem, 6.4vw, 5.2rem); }
  .service-grid { grid-auto-rows: 270px; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 920px) {
  .site-head { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand, .nav-toggle { position: relative; z-index: 70; }
  .topbar-bona { display: none; }
  .head-in { height: 74px; }
  .btn-head { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 55; margin: 0; padding: 110px var(--gutter) 40px;
    background: var(--paper); flex-direction: column; align-items: flex-start; gap: 4px;
    transform: translateY(-101%); transition: transform .4s var(--ease); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -.02em; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.nav-cta {
    display: inline-flex; width: auto; margin-top: 24px; background: var(--ink); color: var(--cream);
    border: 0; padding: 14px 20px; font-family: var(--sans); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
  }
  .brand img { width: 164px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero h1 { font-size: clamp(3.4rem, 9vw, 5.4rem); }
  .hero-visual { max-width: 540px; width: 100%; margin-inline: auto; }
  .hero-seal { width: 112px; height: 112px; right: -6px; top: -14px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-lead { max-width: 60ch; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 46px; }
  .manifesto-media { max-width: 520px; }
  .manifesto-media::before { inset: 12px -12px -12px 12px; }
  .compare { grid-template-columns: 1fr; gap: 18px; }
  .compare-arrow { transform: rotate(90deg); margin: 4px auto; }
  .compare-media { aspect-ratio: 4 / 3.6; }
  .case-link { margin-left: 0; margin-top: 8px; }
  .service-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 270px; }
  .service-large { grid-column: span 2; grid-row: span 1; }
  .service-dark { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .bona-grid { grid-template-columns: 1fr; gap: 40px; }
  .docs { min-height: 0; height: auto; max-width: none; display: grid; gap: 18px; }
  .doc { position: relative; inset: auto; width: 100%; transform: none; }
  .gallery-head .gallery-controls { justify-content: flex-start; }
  .filters { justify-content: flex-start; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-seal { grid-column: span 3; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .topbar { font-size: 8.5px; letter-spacing: .13em; }
  .head-in { height: 66px; }
  .brand img { width: 148px; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .hero-facts { gap: 18px; margin-top: 38px; }
  .hero-facts dd { font-size: 19px; }
  .hero-seal { width: 96px; height: 96px; }
  .seal-brand { font-size: 18px; }
  .hero-seal strong { font-size: 7.5px; }
  .hero-frame { border-radius: 190px 190px 3px 3px; }
  .actions .btn { width: 100%; }
  .section { padding: 68px 0; }
  h2 { font-size: clamp(2.2rem, 9.5vw, 3.2rem); }
  .compare-media { aspect-ratio: 4 / 3.05; }
  .case-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .case-tab { justify-content: center; padding: 10px 4px; border: 1px solid var(--line); }
  .case-tab img { display: none; }
  .case-tab span { align-items: center; }
  .case-tab b { font-size: 9px; text-align: center; }
  .case-link { grid-column: 1 / -1; margin: 10px 0 0; text-align: right; }
  .case-facts { grid-template-columns: 1fr; gap: 14px; }
  .service-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .service-large { grid-column: span 1; }
  .service-dark { grid-column: span 1; }
  .service-body { padding: 22px; }
  .service-large .service-body { padding: 24px; }
  .docs { height: auto; }
  .doc { width: 100%; }
  .bona-foot { flex-direction: column; align-items: flex-start; }
  .gallery-grid { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; aspect-ratio: 1 / 1; }
  .g-item.g-wide { aspect-ratio: 1 / 1; }
  .filter { padding: 7px 10px; font-size: 9px; }
  .contact-lines { grid-template-columns: 1fr; }
  .contact-lines > * { padding: 16px 0 !important; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
  .footer-seal { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .lightbox { grid-template-columns: 40px 1fr 40px; padding: 4vh 8px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; }
  .lightbox img { max-height: 74vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
