/* ─────────────────────────────────────────────
   ASHOUR STUDIO — Architecture · Interior Design · Engineering
   Visual language taken from the 2026 company profile & portfolio:
   black / white spreads, heavy uppercase DIN headings,
   the three-band logo mark as a watermark, numbered indexes.
   ───────────────────────────────────────────── */

@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN Condensed"; src: url("../fonts/D-DINCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0b0b;
  --ink-2: #111111;
  --ink-3: #171717;
  --paper: #f8f7f5;
  --white: #ffffff;
  --mist: #ececea;
  --grey: #8c8c8a;
  --grey-2: #5c5c5a;
  --line-d: rgba(255, 255, 255, 0.14);
  --line-l: rgba(11, 11, 11, 0.14);

  --din: "D-DIN", "DIN Next LT Pro", "DIN Pro", "Barlow", Arial, sans-serif;
  --din-c: "D-DIN Condensed", "D-DIN", Arial, sans-serif;
  --brand: "Source Sans 3", "Source Sans Pro", "Myriad Pro", Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(96px, 12vw, 180px);
  --strip: clamp(64px, 6.5vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0; background: var(--ink); color: var(--ink);
  font-family: var(--din); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--white); color: var(--ink); padding: 10px 16px; font-weight: 700; transition: top 0.3s var(--ease); }
.skip-link:focus { top: 16px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.dark { background: var(--ink); color: var(--white); }
.light { background: var(--white); color: var(--ink); }
.mono { font-family: var(--din); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

/* ─── Type ─── */
.display {
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.012em;
  font-size: clamp(56px, 8.6vw, 148px); line-height: 0.86;
}
.title { font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 5.2vw, 88px); line-height: 0.9; letter-spacing: -0.01em; }
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line > span { display: inline-block; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 34em; }
.thin { font-weight: 400; }

.sec-tag {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px);
  font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.sec-tag span { opacity: 0.5; }
.sec-tag::after { content: ""; flex: 0 0 56px; height: 1px; background: currentColor; opacity: 0.35; order: 1; }
.sec-tag span + * { order: 2; }

.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow i { font-style: normal; opacity: 0.5; margin-inline: 8px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; border: 1px solid currentColor; white-space: nowrap;
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ─── Logo ─── */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 38px; height: auto; fill: currentColor; }
.wordmark { font-family: var(--brand); font-weight: 300; font-size: 19px; letter-spacing: 0.02em; line-height: 1; }
.wordmark b { font-weight: 900; }

/* ─── Watermark (logo bands, as in the profile) ─── */
.watermark {
  position: absolute; right: -6vw; bottom: -1px; width: min(62vw, 880px); aspect-ratio: 191 / 100; height: auto;
  pointer-events: none; z-index: 0;
}
.dark .watermark { fill: #161616; }
.light .watermark { fill: var(--mist); }
.watermark ~ * { position: relative; z-index: 1; }

/* ─── Nav ─── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-scrolled[data-theme="dark"] { background: rgba(11, 11, 11, 0.94); border-bottom-color: var(--line-d); }
.nav.is-scrolled[data-theme="light"] { background: rgba(255, 255, 255, 0.86); color: var(--ink); border-bottom-color: var(--line-l); }
.nav__inner { max-width: var(--max); margin-inline: auto; padding: 20px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 34px; margin-inline: auto; }
.nav__links a { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; position: relative; padding-block: 4px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }
.mobile-menu { display: none; }

/* ─── Hero ─── */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: clip; color: var(--white); background: #000; }
.hero__slides, .slide, .band { position: absolute; inset: 0; }
.slide { visibility: hidden; z-index: 1; }
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-next { visibility: visible; z-index: 3; }
.band img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
}
.hero__inner {
  position: absolute; inset: auto 0 clamp(96px, 12vh, 132px); z-index: 5; margin-inline: auto; left: 0; right: 0;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px;
}
.hero__title { font-weight: 700; text-transform: uppercase; font-size: clamp(56px, min(10vw, 17vh), 172px); line-height: 0.84; letter-spacing: -0.015em; }
.hero__side { justify-self: end; max-width: 420px; padding-bottom: 8px; }
.hero__lead { font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5;
  display: flex; align-items: center; gap: 24px; color: rgba(255, 255, 255, 0.8);
}
.hero__count { font-size: 12px; white-space: nowrap; }
.hero__current { color: var(--white); }
.hero__progress { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__caption { white-space: nowrap; }

.js:not(.is-ready) .hero__inner, .js:not(.is-ready) .hero__bar, .js:not(.is-ready) .nav { opacity: 0; }

/* ─── Marquee ─── */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; border-top: 1px solid var(--line-d); padding-block: 24px; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: 0.02em; white-space: nowrap; }
.marquee svg { width: 34px; height: 18px; fill: var(--grey-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── About ─── */
.about { position: relative; overflow: clip; padding-block: var(--section-y); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.about .display { margin-bottom: 36px; }
.values { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 30px; }
.values__row { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1px 1.4fr; gap: 28px; align-items: center; }
.values__row::before { content: ""; grid-column: 2; grid-row: 1; width: 1px; height: 100%; min-height: 64px; background: var(--ink); }
.values dt { grid-column: 1; grid-row: 1; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.01em; }
.values dd { grid-column: 3; grid-row: 1; font-size: 15px; color: #3a3a3a; }

.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.collage figure { overflow: hidden; background: var(--mist); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage__a { grid-column: 1 / -1; aspect-ratio: 16 / 7.5; }
.collage__b { grid-column: 1 / 3; aspect-ratio: 4 / 3.4; }
.collage__c { grid-column: 3 / -1; aspect-ratio: 16 / 8.6; align-self: stretch; height: 100%; }
.collage__d { grid-column: 1 / 3; aspect-ratio: 4 / 3.4; }
.collage__quote {
  grid-column: 3 / -1; background: var(--ink); color: var(--white); padding: clamp(24px, 3vw, 40px);
  display: flex; align-items: flex-end; position: relative; overflow: hidden;
}
.collage__quote p { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; max-width: 22em; position: relative; }
.collage__quote::before {
  content: ""; position: absolute; right: -30px; bottom: -10px; width: 220px; aspect-ratio: 191 / 100;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 191 100' fill='%231c1c1c'%3E%3Cpath d='M1.4 100 57.9 0 73.6 29.4 34 100Z'/%3E%3Cpath d='M43.1 100 95.5 7 147.9 100H115.3L95.5 64.5 75.7 100Z'/%3E%3Cpath d='M133 0 189.6 100H157L117.8 28.6Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line-l); }
.fact { padding: 36px clamp(20px, 3vw, 48px) 0; border-left: 1px solid var(--line-l); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font-weight: 700; font-size: clamp(54px, 5.4vw, 84px); line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact__num--text { font-size: clamp(30px, 2.8vw, 42px); text-transform: uppercase; line-height: 0.95; margin-bottom: 18px; }
.fact h3 { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 14px 0 10px; }
.fact p:last-child { font-size: 15px; color: #444; max-width: 24em; }

.statement {
  margin-top: clamp(80px, 10vw, 150px); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -0.015em;
  font-weight: 700; max-width: 22em;
}
.statement .w { display: inline-block; }

/* ─── Stats ─── */
.stats { position: relative; overflow: clip; padding-block: var(--section-y); }
.stats__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.stats__head .lead { color: rgba(255, 255, 255, 0.75); }
.stats__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); }

.counters { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-d); }
.counter { padding: 28px 0 30px; border-bottom: 1px solid var(--line-d); }
.counter:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line-d); }
.counter:nth-child(even) { padding-left: 28px; }
.counter__num { font-weight: 700; font-size: clamp(56px, 5.4vw, 88px); line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.counter__num small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; }
.counter__label { margin-top: 12px; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

.charts { display: grid; gap: clamp(36px, 4vw, 56px); }
.chart { border: 1px solid var(--line-d); padding: clamp(22px, 2.6vw, 36px); background: #0e0e0e; }
.chart figcaption { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.chart figcaption span { color: rgba(255, 255, 255, 0.5); }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 22px); height: 220px; align-items: end; border-bottom: 1px solid var(--line-d); margin-bottom: 30px; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.bar i { display: block; height: calc(var(--v) / 30 * 100%); background: #5a5a58; transform-origin: bottom; }
.bar:nth-child(1) i { background: #3a3a39; }
.bar:nth-child(2) i { background: #4a4a48; }
.bar:nth-child(3) i { background: #5f5f5d; }
.bar:nth-child(4) i { background: #8c8c8a; }
.bar:nth-child(5) i { background: #a9a9a7; }
.bar.is-current i { background: var(--white); }
.bar span { text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.bar em { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.55); }

.donut { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.donut svg { width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 18; }
.donut__track { stroke: #1d1d1d; }
.donut__seg { stroke: var(--c); stroke-dasharray: var(--len) 100; stroke-dashoffset: calc(var(--off) * -1); }
.legend { display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 12px 52px 1fr; align-items: center; gap: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.legend li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255, 255, 255, 0.2); }
.legend b { font-size: 18px; letter-spacing: 0; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-d); }
.kpis__title { grid-column: 1 / -1; padding: 22px 0 8px; color: rgba(255, 255, 255, 0.55); }
.kpi { padding: 18px 24px 0 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid var(--line-d); }
.kpi p { font-weight: 700; font-size: clamp(40px, 3.6vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi > span { display: block; margin-top: 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.stats__note { margin-top: clamp(56px, 7vw, 96px); color: rgba(255, 255, 255, 0.5); font-size: 15px; }

/* ─── Services ─── */
.pillars { padding-block: clamp(64px, 8vw, 110px); background: var(--paper); border-top: 1px solid var(--line-l); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 0 clamp(20px, 3vw, 48px); border-left: 1px solid var(--line-l); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; margin-bottom: 22px; }
.pillar h3 { font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: #4a4a4a; max-width: 26em; }

.svc { display: grid; grid-template-columns: minmax(380px, 40%) 1fr; }
.svc__panel { position: relative; overflow: clip; }
.svc__sticky { position: sticky; top: 0; height: 100vh; min-height: 600px; padding: clamp(104px, 13vh, 124px) var(--gutter) clamp(20px, 3.5vh, 40px); display: flex; flex-direction: column; }
.svc__sticky .sec-tag { margin-bottom: clamp(14px, 2.6vh, 28px); }
.svc__panel .display { font-size: clamp(44px, min(6.2vw, 10.5vh), 100px); }
.svc__intro { margin-top: clamp(14px, 2.4vh, 28px); color: rgba(255, 255, 255, 0.75); max-width: 30em; font-size: 15px; line-height: 1.5; }
/* All 8 services must fit in the sticky panel: rows shrink with the viewport height */
.svc__index { margin-top: auto; padding-top: clamp(16px, 3vh, 32px); }
.svc__index li:first-child a { border-top: 1px solid var(--line-d); }
.svc__index a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; padding: clamp(5px, 1.15vh, 12px) 0;
  border-bottom: 1px solid var(--line-d); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42); transition: color 0.4s var(--ease);
}
.svc__index a::after { content: ""; width: 0; height: 1px; background: var(--white); transition: width 0.6s var(--ease); }
.svc__index a span { font-size: 18px; letter-spacing: 0; }
.svc__index a:hover, .svc__index a.is-active { color: var(--white); }
.svc__index a.is-active::after { width: 48px; }

.chapter { padding: clamp(80px, 9vw, 140px) var(--gutter); border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 1fr; gap: 0; }
.chapter__num { font-weight: 700; font-size: 18px; color: var(--grey); }
.chapter__title { font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 5vw, 92px); line-height: 0.9; letter-spacing: -0.01em; margin: 14px 0 32px; }
.chapter__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px clamp(28px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.chapter__body > p { grid-column: 1; color: #333; font-size: 17px; }
.chapter__kicker { font-weight: 700; color: var(--ink) !important; }
.ticks { grid-column: 2; grid-row: 1 / span 3; border-left: 1px dashed rgba(11, 11, 11, 0.5); padding-left: 18px; display: grid; gap: 8px; }
.ticks li { font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.partner { grid-column: 1; color: var(--grey); margin-top: 6px; }
.partner b { color: var(--ink); }
.chapter__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chapter__media figure { overflow: hidden; background: var(--mist); }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter__media .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.chapter__media .m2, .chapter__media .m3 { aspect-ratio: 4 / 3; }

/* ─── Featured (horizontal) ─── */
.featured { position: relative; }
.featured__pin { position: relative; height: 100vh; min-height: 640px; display: grid; grid-template-columns: var(--strip) minmax(0, 1fr); grid-template-rows: auto 1fr; overflow: clip; }
.featured__strip {
  grid-column: 1; grid-row: 1 / -1; position: relative; z-index: 3; background: #0a0a08;
  border-right: 1px solid var(--line-d);
}
.strip-word {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-weight: 700; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08;
}
.strip-word .ch { display: block; overflow: hidden; }
.strip-word .ch > span { display: block; }
.strip-word[data-word="exterior"] { visibility: hidden; }
.featured__head { grid-column: 2; padding: 104px var(--gutter) 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; }
.featured__head .sec-tag { grid-column: 1 / -1; }
.featured__head .sec-tag { margin-bottom: 18px; }
.featured__head .display { font-size: clamp(44px, min(6.4vw, 10vh), 112px); }
.featured__progress { width: min(280px, 28vw); height: 1px; background: var(--line-d); margin-bottom: 16px; }
.featured__progress span { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
/* Cards fill whatever height is left under the heading, so image + caption always fit the screen */
.featured__track { grid-column: 2; display: flex; align-items: stretch; gap: clamp(18px, 2vw, 32px); width: max-content; min-height: 0; padding: clamp(20px, 3.5vh, 40px) var(--gutter) clamp(24px, 4.5vh, 56px); align-self: stretch; }
.feat { flex: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.feat__media { display: block; flex: none; height: calc(100% - 60px); max-height: 620px; overflow: hidden; background: var(--ink-3); }
.feat__media img { height: 100%; width: auto; transition: transform 1.2s var(--ease); }
.feat__media:hover img { transform: scale(1.04); }
/* width:0 + min-width:100% keeps the caption from widening the card beyond its image */
.feat__meta { display: flex; flex-direction: column; gap: 4px; width: 0; min-width: 100%; height: 60px; padding-top: 12px; }
.feat__meta .mono { color: rgba(255, 255, 255, 0.5); }
.feat__meta h3 { font-weight: 700; font-size: clamp(14px, 1.15vw, 20px); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── Portfolio ─── */
.portfolio { padding-block: var(--section-y); border-top: 1px solid var(--line-d); }
.portfolio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.portfolio__head .display { font-size: clamp(48px, 6.4vw, 112px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 11px 16px; border: 1px solid var(--line-d); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.filter sup { font-size: 9px; margin-left: 3px; opacity: 0.6; }
.filter:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.filter.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }

.works { columns: 3 300px; column-gap: 20px; }
.work { break-inside: avoid; margin-bottom: 28px; }
.work.is-hidden { display: none; }
.work__btn { display: block; width: 100%; text-align: left; position: relative; }
.work__media { display: block; overflow: hidden; background: var(--ink-3); position: relative; }
.work__media img { width: 100%; height: auto; transition: transform 1.1s var(--ease), opacity 0.6s var(--ease); }
.work__btn:hover .work__media img { transform: scale(1.05); }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 12px; }
.work__title { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.work__cat { color: rgba(255, 255, 255, 0.45); text-align: right; }
.work__count { position: absolute; top: 12px; left: 12px; background: rgba(11, 11, 11, 0.72); color: var(--white); padding: 6px 9px; font-size: 10px; }

/* ─── Presence ─── */
.presence { padding-block: var(--section-y); border-top: 1px solid var(--line-d); overflow: clip; }
.presence__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.presence__text .display { margin-bottom: 32px; }
.presence__text > p:not(.mono) { color: rgba(255, 255, 255, 0.72); margin-top: 14px; max-width: 32em; }
.presence__text .lead { color: var(--white) !important; }
.presence__label { margin: 44px 0 14px; color: rgba(255, 255, 255, 0.55); }
.cities { columns: 2; column-gap: 28px; max-width: 420px; border-top: 1px solid var(--line-d); }
.cities li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line-d); position: relative; cursor: default; transition: color 0.3s var(--ease), padding 0.4s var(--ease); break-inside: avoid; color: rgba(255, 255, 255, 0.8); }
.cities li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; opacity: 0.5; }
.cities li.is-hot { color: var(--white); padding-left: 32px; }
.presence__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 44px; }
.presence__stats > div { padding: 0 28px; border-left: 1px solid var(--line-d); text-align: center; }
.presence__stats > div:first-child { border-left: 0; padding-left: 0; }
.presence__stats p { font-weight: 700; font-size: clamp(38px, 3.4vw, 52px); line-height: 1; }
.presence__stats svg { width: 40px; height: 40px; margin: 6px auto 6px; fill: none; stroke: var(--white); stroke-width: 1.2; }
.presence__stats > div > span { display: block; margin-top: 10px; font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

.map__frame { position: relative; }
.map img { width: 100%; height: auto; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.pin::before, .pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.9); }
.pin::before { animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 0.3s); opacity: 0; }
.pin::after { border: 0; background: transparent; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); transition: box-shadow 0.4s var(--ease); }
.pin.is-hot::after { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.28), 0 0 30px 8px rgba(255, 255, 255, 0.35); }
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.map figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: rgba(255, 255, 255, 0.8); }
.ring { width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px currentColor; }

/* ─── Workshop ─── */
.workshop { padding-block: var(--section-y); background: var(--paper); }
.workshop__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.workshop__sub { margin: 22px 0 18px; color: var(--grey-2); }
.workshop__text > p:last-child { color: #3a3a3a; max-width: 30em; }
.workshop__media { overflow: hidden; background: var(--ink); }
.workshop__media img { width: 100%; height: auto; }

/* ─── Contact ─── */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact__panel { position: relative; overflow: clip; }
.contact__inner { padding: var(--section-y) var(--gutter); max-width: 760px; margin-left: auto; }
.contact__title { font-size: clamp(64px, 9vw, 160px); margin-bottom: 32px; }
.contact__panel .lead { color: rgba(255, 255, 255, 0.78); }
.contact__list { margin-top: 44px; border-top: 1px solid var(--line-d); max-width: 520px; }
.contact__list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-d); font-size: 16px; }
.contact__list svg { width: 36px; height: 36px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; fill: none; stroke: var(--white); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.contact__list a { transition: opacity 0.3s; }
.contact__list a:hover { opacity: 0.7; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.contact__office { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.contact__office figure { overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.contact__office img { width: 100%; height: 100%; object-fit: cover; }
.office { display: grid; gap: 8px; border-top: 1px solid var(--line-l); padding-top: 24px; }
.office h3 { font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.office p { color: #444; }
.link-arrow { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; gap: 10px; margin-top: 8px; border-bottom: 1px solid currentColor; justify-self: start; padding-bottom: 4px; }

/* ─── Footer ─── */
.footer { padding-block: 44px; border-top: 1px solid var(--line-d); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.footer__tag { font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.footer__links { display: flex; gap: 26px; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__links a:hover { opacity: 0.7; }
.footer__copy { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, 0.4); border-top: 1px solid var(--line-d); padding-top: 22px; }

/* ─── Lightbox ─── */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 6, 6, 0.97); color: var(--white); display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: 1fr auto; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__stage { grid-column: 2; grid-row: 1; display: grid; place-items: center; height: 100%; padding-top: 64px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 200px); width: auto; height: auto; object-fit: contain; }
.lightbox__nav { grid-row: 1; width: 52px; height: 52px; border: 1px solid var(--line-d); justify-self: center; font-size: 20px; transition: background-color 0.3s, border-color 0.3s; }
.lightbox__nav:hover { background: var(--white); color: var(--ink); }
.lightbox__prev { grid-column: 1; }
.lightbox__next { grid-column: 3; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; font-size: 30px; line-height: 1; border: 1px solid var(--line-d); z-index: 2; }
.lightbox__close:hover { background: var(--white); color: var(--ink); }
.lightbox__info { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 24px; align-items: baseline; padding: 20px 0 26px; }
.lightbox__cat { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.5); }
.lightbox__title { font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; }
.lightbox__note { color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.lightbox__count { color: rgba(255, 255, 255, 0.7); }
.lb-open { overflow: hidden; }

/* ─── Cursor ─── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: var(--white); color: var(--ink); display: grid; place-items: center; pointer-events: none;
  font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transform: scale(0); opacity: 0; mix-blend-mode: normal;
}

/* ─────────────── Responsive ─────────────── */
@media (min-width: 1101px) and (max-height: 720px) {
  .svc__intro { display: none; }
}

@media (max-width: 1100px) {
  .about__grid, .stats__head, .stats__grid, .presence__grid, .workshop__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__sticky { position: relative; height: auto; min-height: 0; padding-block: var(--section-y) 56px; }
  .svc__index { margin-top: 48px; }
  .contact { grid-template-columns: 1fr; }
  .contact__inner { margin-left: 0; }
}

@media (max-width: 1023px) {
  .featured__pin { height: auto; min-height: 0; display: block; padding-bottom: 56px; }
  .featured__strip { display: none; }
  .featured__head { padding: var(--section-y) var(--gutter) 40px; }
  .featured__progress { display: none; }
  .featured__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 20px; scrollbar-width: none; }
  .featured__track::-webkit-scrollbar { display: none; }
  .feat { scroll-snap-align: start; }
  .feat__media { flex: none; height: min(56vh, 460px); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__inner { justify-content: space-between; padding-block: 14px; }
  .nav__burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 46px; height: 46px; border: 1px solid currentColor; }
  .nav__burger span { width: 18px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
  .menu-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-open .nav { color: var(--white) !important; background: transparent !important; border-color: transparent !important; backdrop-filter: none; }
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: center; gap: 40px; position: fixed; inset: 0; z-index: 90;
    padding: 100px var(--gutter) 48px; background: var(--ink); color: var(--white);
    clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); visibility: hidden;
  }
  .mobile-menu nav { display: grid; }
  .mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; font-weight: 700; font-size: 44px; text-transform: uppercase; line-height: 1.1; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
  .mobile-menu nav i { font-style: normal; font-size: 13px; opacity: 0.5; }
  .menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu-open { overflow: hidden; }
  .logo__mark { width: 32px; }
  .wordmark { font-size: 17px; }

  .hero { min-height: 600px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; bottom: 92px; }
  .hero__side { justify-self: start; }
  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__caption { display: none; }

  .values__row { grid-template-columns: 1fr; gap: 6px; }
  .values__row::before { display: none; }
  .values dt, .values dd { grid-column: 1; grid-row: auto; }
  .values dd { padding-left: 16px; border-left: 1px solid var(--ink); }
  .collage { grid-template-columns: 1fr 1fr; gap: 8px; }
  .collage__a { grid-column: 1 / -1; }
  .collage__b, .collage__d { grid-column: 1; }
  .collage__c, .collage__quote { grid-column: 2; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding: 28px 0; border-bottom: 1px solid var(--line-l); }

  .counter__num { font-size: 52px; }
  .donut { grid-template-columns: 1fr; justify-items: center; }
  .donut svg { max-width: 220px; }
  .legend { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .kpi:nth-child(4) { border-left: 0; padding-left: 0; }

  .pillars__grid { grid-template-columns: 1fr; gap: 36px; }
  .pillar { border-left: 0; padding: 0; }
  .chapter__body { grid-template-columns: 1fr; }
  .ticks { grid-column: 1; grid-row: auto; }
  .chapter__media { gap: 8px; }

  .feat__meta { height: auto; }
  .feat__meta h3 { white-space: normal; }
  .works { columns: 2 150px; column-gap: 12px; }
  .work { margin-bottom: 20px; }
  .work__meta { flex-direction: column; gap: 4px; }
  .work__title { font-size: 13px; }
  .work__cat { text-align: left; font-size: 9px; }

  .cities { columns: 2; }
  .presence__stats > div { padding: 0 16px; }

  .contact__title { font-size: clamp(64px, 20vw, 120px); }
  .contact__ctas .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; }

  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto; }
  .lightbox__stage { grid-column: 1 / -1; padding: 72px 12px 0; }
  .lightbox__stage img { max-height: calc(100vh - 260px); }
  .lightbox__prev { grid-column: 1; grid-row: 3; margin-bottom: 20px; }
  .lightbox__next { grid-column: 2; grid-row: 3; margin-bottom: 20px; }
  .lightbox__info { grid-column: 1 / -1; padding: 16px; grid-template-columns: 1fr auto; }
  .lightbox__note { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .pin::before { display: none; }
}
