:root {
  --bg: #070605;
  --bg-2: #100e0c;
  --bg-3: #181410;
  --gold: #c6a46a;
  --gold-2: #e8d5a8;
  --gold-dim: rgba(198, 164, 106, 0.18);
  --ivory: #f3ede4;
  --muted: #a89b8c;
  --line: rgba(198, 164, 106, 0.22);
  --danger: #c45c4a;
  --font-display: "Cormorant Garamond", serif;
  --font-label: "Cinzel", serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ivory);
  font-weight: 500;
}

[data-split] .line {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.container-padouk {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1600px, calc(100% - 40px));
  margin-inline: auto;
}

/* Film grain + vignette */
.grain,
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.grain {
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.7s steps(4) infinite;
}

.vignette {
  z-index: 79;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

@keyframes grain {
  0%,
  100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, 2%); }
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #050403;
  display: grid;
  place-items: center;
  transition: transform 1.1s var(--ease), opacity 0.8s ease;
  animation: preloaderOut 1.05s 2.7s var(--ease) forwards;
}

#preloader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
  animation: none;
}

@keyframes preloaderOut {
  to {
    transform: translateY(-100%);
    pointer-events: none;
  }
}

.preloader-inner {
  text-align: center;
  width: min(320px, 78vw);
}

.preloader-logo {
  width: 168px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 28px rgba(212, 176, 98, 0.4));
  animation: pulseLogo 2.2s ease-in-out infinite;
}

.preloader-brand {
  margin: 0 0 22px;
  font-family: var(--font-label);
  font-size: 18px;
  letter-spacing: 0.42em;
  color: var(--gold);
}

.preloader-bar {
  height: 1px;
  background: rgba(198, 164, 106, 0.18);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  animation: loadBar 1.8s var(--ease) forwards;
}

.preloader-copy {
  margin-top: 18px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulseLogo {
  0%,
  100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* Page transition */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

#page-transition.is-in {
  animation: wipeIn 0.7s var(--ease) forwards;
}

#page-transition.is-out {
  transform-origin: bottom;
  animation: wipeOut 0.7s var(--ease) forwards;
}

@keyframes wipeIn {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes wipeOut {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(7, 6, 5, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.site-nav.is-hidden {
  transform: translateY(-110%);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 92;
  line-height: 1;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-word {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.38em;
  color: var(--gold);
  padding-top: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 18px !important;
  color: var(--gold) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 92;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-switch button:hover,
.lang-switch button.is-active {
  color: var(--gold);
}

.lang-switch span {
  color: var(--line);
  font-size: 11px;
}

.menu-toggle {
  display: none;
  min-width: 72px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  background: rgba(7, 6, 5, 0.45);
  position: relative;
  z-index: 92;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.menu-toggle.is-open {
  background: var(--gold);
  color: var(--bg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 91;
  background: rgba(7, 6, 5, 0.96);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.menu-overlay a {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ivory);
}

.menu-overlay a:hover,
.menu-overlay a.is-active {
  color: var(--gold);
}

/* Buttons */
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: 0.4s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Labels & type */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 0;
}

.display-xl {
  font-size: clamp(52px, 9vw, 128px);
}

.hero .display-xl {
  max-width: 12em;
  padding-right: 40px;
}

.display-lg {
  font-size: clamp(40px, 6vw, 84px);
}

.page-hero .display-lg {
  font-size: clamp(28px, 4.4vw, 62px);
  line-height: 1.08;
  white-space: nowrap;
}

.display-md {
  font-size: clamp(32px, 4.4vw, 58px);
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

.gold {
  color: var(--gold);
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease;
  animation: ken 22s linear infinite alternate;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@keyframes ken {
  from { transform: scale(1.12) translateY(0); }
  to { transform: scale(1.22) translateY(-2%); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.35) 0%, rgba(7, 6, 5, 0.2) 35%, rgba(7, 6, 5, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 6, 5, 0.55), transparent 50%);
}

.hero-frame {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(198, 164, 106, 0.28);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 72px;
  width: min(1400px, 100%);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 1.8s ease-in-out infinite;
}

@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.hero-index {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-index button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.16em;
  position: relative;
}

.hero-index button::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.hero-index button.is-active {
  color: var(--gold);
}

.hero-index button.is-active::before {
  width: 8px;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track span {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  margin-left: 28px;
  color: var(--gold);
  opacity: 0.7;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  position: relative;
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-line {
  border-top: 1px solid var(--line);
}

/* Manifesto */
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.manifesto-visual {
  position: relative;
  min-height: 640px;
}

.manifesto-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.manifesto-visual .img-main {
  width: 78%;
  height: 82%;
  top: 0;
  left: 0;
}

.manifesto-visual .img-float {
  width: 48%;
  height: 46%;
  right: 0;
  bottom: 0;
  left: auto;
  top: auto;
  border: 12px solid var(--bg);
  z-index: 2;
}

.stamp {
  position: absolute;
  right: 8%;
  top: 12%;
  z-index: 3;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(7, 6, 5, 0.55);
  backdrop-filter: blur(6px);
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Services hover stage */
.section-services {
  padding: 56px 0 48px;
}

.section-services .display-md {
  font-size: clamp(28px, 3vw, 42px);
}

.service-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  height: min(68vh, 620px);
  min-height: 0;
  align-items: stretch;
}

.service-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.service-list button {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  text-align: left;
  flex: 1;
  min-height: 0;
}

.service-list .num {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.service-list .name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.15;
  flex: 1;
  padding-left: 14px;
  transition: color 0.35s, padding-left 0.45s var(--ease);
}

.service-list button.is-active .name,
.service-list button:hover .name {
  color: var(--gold);
  padding-left: 22px;
}

.service-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.service-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 1.2s var(--ease);
}

.service-visual img.is-active {
  opacity: 1;
  transform: scale(1);
}

.service-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--ivory);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  padding-top: 48px;
  font-size: 14px;
  line-height: 1.45;
}

/* Horizontal projects */
.h-wrap {
  overflow: hidden;
}

.h-slider {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.h-slider img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.h-slider.is-dragging {
  cursor: grabbing;
}

.h-slider.is-dragging a {
  pointer-events: none;
}

.h-track {
  display: flex;
  gap: 28px;
  padding: 20px 48px 40px;
  width: max-content;
  will-change: transform;
}

.project-card {
  position: relative;
  width: min(72vw, 820px);
  height: 68vh;
  overflow: hidden;
  flex: 0 0 auto;
}

.project-card a {
  display: block;
  height: 100%;
  color: inherit;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card figcaption {
  position: absolute;
  inset: auto 28px 28px 28px;
  z-index: 2;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.72));
}

.project-card .num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process article {
  padding: 40px 28px 12px;
  border-right: 1px solid var(--line);
  min-height: 280px;
}

.process article:last-child {
  border-right: 0;
}

.process .step {
  font-family: var(--font-label);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.28em;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  color: var(--gold);
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.cta-band .shade {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 5, 0.62);
}

.cta-band .inner {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
}

/* Footer */
.site-footer {
  background: #050403;
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* Inner pages */
.page-hero {
  min-height: 62vh;
  display: grid;
  place-items: end stretch;
  position: relative;
  overflow: hidden;
  padding-bottom: 64px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 18s linear infinite alternate;
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.25), rgba(7, 6, 5, 0.82));
}

.page-hero .inner {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  width: min(1400px, 100%);
}

/* About extras */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split > img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.about-wood {
  position: relative;
  overflow: hidden;
  height: 620px;
  background: #3a0d0a;
}

.about-wood-media {
  position: absolute;
  inset: -8%;
}

.about-wood-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 22s ease-in-out infinite alternate;
}

.about-wood-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(7, 6, 5, 0.18) 0%, rgba(7, 6, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 6, 5, 0.12), rgba(7, 6, 5, 0.28));
  pointer-events: none;
}

.about-wood-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-wood-logo img {
  width: min(168px, 38%);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 22px rgba(198, 164, 106, 0.35));
  animation: woodLogoPulse 3.4s ease-in-out infinite;
}

.about-wood-logo span {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.46em;
  color: var(--gold-2);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

@keyframes woodLogoPulse {
  0%,
  100% { transform: scale(1); filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(198, 164, 106, 0.28)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(232, 213, 168, 0.5)); }
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  border: 1px solid var(--line);
  padding: 32px 24px;
  min-height: 240px;
  background: linear-gradient(180deg, rgba(198, 164, 106, 0.05), transparent);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.group-logos a {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 12px 18px;
  margin: 0 10px 10px 0;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.group-logos a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.matiere-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.matiere-grid figure {
  margin: 0;
  min-width: 0;
}

.matiere-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  margin-bottom: 18px;
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.group-cards article {
  border: 1px solid var(--line);
  padding: 32px 28px;
  min-height: 280px;
}

/* Services page */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.service-block .display-md {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.12;
}

@media (min-width: 1100px) {
  .service-block .display-md {
    white-space: nowrap;
  }
}

/* Projects page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 28px;
}

.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 16px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.filters button.is-active,
.filters button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scope-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.scope-legend span {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.dossier {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dossier-item {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 400px;
  border: 1px solid var(--line);
  background: #0c0a09;
  overflow: hidden;
}

.dossier-item.is-flip {
  grid-template-columns: 0.8fr 1.2fr;
}

.dossier-item.is-flip .dossier-photo {
  order: 2;
}

.dossier-photo {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  min-height: 440px;
  overflow: hidden;
  background: #161210;
}

.dossier-photo:has(> img:only-child) {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.dossier-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.dossier-photo img:first-child {
  grid-row: 1 / -1;
}

.dossier-photo img:first-child:nth-last-child(2),
.dossier-photo img:first-child:nth-last-child(2) + img {
  grid-row: 1 / -1;
}

.dossier-photo img:hover {
  transform: scale(1.04);
}

.dossier-body {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dossier-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.badge-status {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.work-tags span {
  border: 1px solid var(--gold);
  color: var(--gold-2);
  padding: 7px 11px;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masonry {
  display: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.contact-card {
  border: 1px solid var(--line);
  padding: 40px 36px;
  margin-bottom: 0;
  min-height: 240px;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  color: var(--ivory);
}

.contact-value a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-value a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.form-control,
.form-select,
textarea.form-control {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  color: var(--ivory) !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}

.form-select option {
  background: #100e0c;
  color: #f3ede4;
}

.form-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.map-wrap {
  margin-top: 72px;
  border: 1px solid var(--line);
  min-height: 420px;
  filter: grayscale(1) contrast(1.1) brightness(0.75);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.form-success {
  display: none;
  border: 1px solid var(--gold);
  padding: 18px;
  color: var(--gold-2);
}

.form-success.is-on {
  display: block;
}

/* Reveal helpers */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

/* Utility */
.muted { color: var(--muted); }
.muted a {
  color: var(--gold-2);
  border-bottom: 1px solid var(--line);
}
.muted a:hover { color: var(--gold); }
.mb-0 { margin-bottom: 0; }

@media (max-width: 991px) {
  .nav-links { display: none; }
  .menu-toggle { display: block !important; }
  .hero-frame { display: none; }
  .manifesto-grid,
  .service-stage,
  .about-split,
  .contact-grid,
  .contact-simple,
  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .page-hero .display-lg {
    white-space: normal;
    font-size: clamp(32px, 6.4vw, 52px);
  }
  .service-stage {
    height: auto;
    gap: 24px;
  }
  .service-visual {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
  .about-wood { height: 460px; }
  .process,
  .values,
  .stats,
  .matiere-grid,
  .group-cards,
  .footer-grid,
  .masonry {
    grid-template-columns: 1fr 1fr;
  }
  .process article { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-content,
  .page-hero .inner { padding-left: 24px; padding-right: 24px; }
  .hero-index { display: none; }
  .masonry article.tall,
  .masonry article.tall img { min-height: 420px; grid-row: auto; }
  .manifesto-visual { min-height: 480px; }
  .h-track { padding-left: 20px; }
  .project-card { width: 82vw; height: 58vh; }
  .dossier-item,
  .dossier-item.is-flip {
    grid-template-columns: 1fr;
  }
  .dossier-item.is-flip .dossier-photo { order: 0; }
  .dossier-photo { min-height: 320px; }
  .dossier-body { padding: 28px 22px; }
}

@media (max-width: 640px) {
  .process,
  .values,
  .stats,
  .matiere-grid,
  .group-cards,
  .footer-grid,
  .masonry {
    grid-template-columns: 1fr;
  }
  .site-nav { padding: 0 16px; }
  .brand img { height: 30px; }
  .brand-word { font-size: 8px; letter-spacing: 0.32em; }
  .section { padding: 84px 0; }
  .contact-card { padding: 28px 22px; min-height: 0; }
  .display-xl { font-size: 10.6vw; line-height: 1; }
  .display-lg { font-size: 11.4vw; }
  .page-hero .display-lg { font-size: clamp(28px, 8.2vw, 40px); white-space: normal; }
  .hero .display-xl { max-width: none; padding-right: 0; }
  .hero-content { padding-bottom: 40px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .lede { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .grain { display: none; }
}
