/* =========================================================
   D'Renov — main stylesheet
   Palette from the brand guide (black / greys / white + red accent)
   ========================================================= */
:root {
  --black: #000000;
  --charcoal: #333333;
  --grey: #666666;
  --light: #dddddd;
  --white: #ffffff;
  --red: #a30000;          /* accent: CTAs, links, details */
  --red-bright: #c1121f;   /* hover / glow only */

  --ink: var(--black);
  --paper: var(--white);
  --paper-alt: #f2f2f2;    /* tint of light grey for alternate panels */

  --f-head: 'Poppins', 'Century Gothic', 'Avenir', sans-serif;
  --f-label: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-script: 'Kaushan Script', 'Brush Script MT', cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }
.has-stage body { background: transparent; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.reduced .grain { display: none; }
main { position: relative; z-index: 2; }
.gl-images img[data-gl], .gl-images [data-gl-morph] { opacity: 0 !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--black); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; }
.muted { color: var(--grey); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 500; font-size: 13px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--red); }
.eyebrow--light { color: rgba(255,255,255,.7); }

.h2 { font-size: clamp(36px, 5.4vw, 84px); font-weight: 600; max-width: 16ch; }

/* split-text helpers */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-char, .split-word { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px; border-radius: 999px;
  font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--black); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { box-shadow: 0 10px 40px -10px rgba(193,18,31,.6); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 12px; }
.btn--block { width: 100%; }
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(5px); }

/* =========================================================
   PRELOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--black); color: var(--white);
  display: grid; place-items: center;
}
.loader__inner { width: min(420px, 74vw); position: relative; }
.loader__roof { width: 100%; color: var(--white); }
.loader__roof path { stroke-dasharray: 800; stroke-dashoffset: 800; }
.loader__logo { width: 100%; margin-top: -38%; opacity: 0; }
.loader__meta {
  display: flex; justify-content: space-between; margin-top: 28px;
  font-family: var(--f-label); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.loader__count b { color: var(--white); font-weight: 500; }
.no-js .loader { display: none; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 900; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor:not(.is-on) { opacity: 0; }
.cursor { transition: opacity .3s; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--red-bright); }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1px solid rgba(127,127,127,.5); display: grid; place-items: center; color: var(--red-bright);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .35s, background .35s;
}
.cursor__ring svg { width: 22px; opacity: 0; transform: translateY(4px); transition: .35s var(--ease); }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--red-bright); background: rgba(163,0,0,.08); }
.cursor.is-hover .cursor__ring svg { opacity: 1; transform: none; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__label { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); opacity: 0; transform: scale(.6); transition: .35s var(--ease); white-space: nowrap; }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); border-color: var(--red); }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.8); }

/* =========================================================
   HEADER & MENU
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--white);
  transition: transform .6s var(--ease), background .4s, color .4s, height .4s;
}
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0; transition: opacity .4s; }
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 70px; }
.header.is-light { color: var(--black); }
.header.is-light.is-solid { background: rgba(255,255,255,.82); }
.header.is-solid::after { opacity: .1; }
.header__logo { position: relative; width: 132px; flex: none; }
.header__logo img { width: 100%; transition: opacity .4s; }
.header__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.header.is-light .logo-dark { opacity: 1; }
.header.is-light .logo-light { opacity: 0; }
.header__nav { display: flex; gap: clamp(14px, 2vw, 34px); }
.header__nav a {
  position: relative; font-family: var(--f-label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0;
}
.header__nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red-bright);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__tools { display: flex; align-items: center; gap: 22px; }

.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; }
.lang span { opacity: .4; }
.lang button { opacity: .5; padding: 4px 2px; transition: opacity .3s, color .3s; }
.lang button[aria-pressed="true"] { opacity: 1; color: var(--red-bright); }
.lang button:hover { opacity: 1; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 450; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu-open .header { color: var(--white); background: transparent; backdrop-filter: none; }
.menu-open .header .logo-light { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-head); font-size: clamp(30px, 8vw, 54px); font-weight: 500; line-height: 1.2; }
.menu__nav i { font-style: normal; font-family: var(--f-label); font-size: 13px; color: var(--red-bright); letter-spacing: .2em; }
.menu__contact { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; font-family: var(--f-label); letter-spacing: .1em; font-size: 15px; color: rgba(255,255,255,.75); }
.menu__contact a:hover { color: var(--red-bright); }
.install { font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; }
.menu__foot { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.6); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red-bright); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 360vh; background: var(--black); color: var(--white); z-index: 3; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__photo { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%), linear-gradient(to right, rgba(0,0,0,.35), transparent 50%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.hero__intro {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(110px, 16vh, 180px);
  max-width: var(--maxw); margin: 0 auto;
}
.hero__title { font-size: clamp(46px, 9vw, 150px); font-weight: 600; line-height: .98; letter-spacing: -0.035em; }
.hero__line { display: block; }
.hero__line--accent { position: relative; display: inline-block; color: var(--white); }
.hero__swash { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: .22em; color: var(--red-bright); }
.hero__swash path { stroke-dasharray: 700; stroke-dashoffset: 700; }
.hero__sub { margin-top: 32px; max-width: 36ch; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.75); }
.hero__door {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(44px, 8vw, 132px); line-height: 1; letter-spacing: -0.03em;
  pointer-events: none; opacity: 0; text-shadow: 0 6px 50px rgba(0,0,0,.55);
}
.hero__door .script { color: #fff; font-size: .9em; margin-top: .08em; text-shadow: 0 0 50px rgba(255,190,120,.5); }
.hero__intro { text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero__end {
  position: absolute; left: 50%; bottom: 14vh; transform: translateX(-50%); margin: 0; white-space: nowrap;
  font-family: var(--f-label); font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .3em; text-transform: uppercase; opacity: 0;
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__scroll i { width: 1px; height: 56px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red-bright); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.hero__coords {
  position: absolute; left: var(--gutter); bottom: 40px; display: flex; gap: 28px;
  font-family: var(--f-label); font-size: 11px; letter-spacing: .25em; color: rgba(255,255,255,.4);
}
.no-webgl .hero__photo, .reduced .hero__photo { opacity: 1; transform: none; }
.no-webgl .hero__canvas, .reduced .hero__canvas { display: none; }
.reduced .hero, .no-webgl .hero { height: 100vh; height: 100svh; }
.reduced .hero__door, .reduced .hero__end, .no-webgl .hero__door, .no-webgl .hero__end { display: none; }
.no-webgl .hero__photo img, .reduced .hero__photo img { animation: slowzoom 20s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.15); } to { transform: scale(1); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro { padding-bottom: 80px; }
.intro__text {
  font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 3.5vw, 54px); line-height: 1.22; letter-spacing: -0.02em;
  max-width: 30ch; margin: 0 0 clamp(70px, 10vw, 140px);
}
.intro__text .w { color: #c4c4c4; transition: color .2s; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light); }
.stat { padding: 34px 24px 0 0; border-right: 1px solid var(--light); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { display: flex; align-items: flex-start; font-family: var(--f-head); font-size: clamp(44px, 5vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.odo { display: inline-flex; height: 1em; overflow: hidden; line-height: 1; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; }
.odo__col > span { display: block; line-height: 1; }
.stat__num sup { font-size: .45em; color: var(--red); margin-left: 4px; line-height: 1.2; }
.stat__label { display: block; margin-top: 14px; font-family: var(--f-label); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }

.marquee { margin-top: clamp(90px, 12vw, 160px); }
.marquee__label { padding-left: var(--gutter); }
.marquee__row { overflow: hidden; border-top: 1px solid var(--light); padding: 22px 0; }
.marquee__row--rev { border-bottom: 1px solid var(--light); }
.marquee__row--rev span { color: var(--grey) !important; -webkit-text-stroke: 0 !important; font-weight: 300 !important; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 4.6vw, 72px); white-space: nowrap; letter-spacing: -0.03em; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.3px var(--black); }
.marquee__track i { width: 18px; height: 18px; flex: none; border-top: 3px solid var(--red); border-left: 3px solid var(--red); transform: rotate(45deg) translate(4px, 4px); }

/* =========================================================
   UNIQUE
   ========================================================= */
.unique { background: var(--paper-alt); }
.has-stage .unique, .has-stage .services, .has-stage .intro, .has-stage .about, .has-stage .gallery, .has-stage .contact { background: transparent; }
.unique__title { font-size: clamp(54px, 9vw, 150px); line-height: 1.05; color: var(--black); margin-bottom: clamp(56px, 8vw, 110px); }
.unique__title .is-last { color: var(--red); }
.depth { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(60px, auto); gap: 20px; min-height: 120vh; }
.depth__item { position: relative; overflow: hidden; background: var(--light); will-change: transform; }
.has-stage .depth__item { background: transparent; }
.depth__item img { width: 100%; height: 100%; object-fit: cover; }
.depth__a { grid-column: 1 / 6; grid-row: 1 / 7; aspect-ratio: 4/5; }
.depth__b { grid-column: 8 / 12; grid-row: 1 / 4; aspect-ratio: 3/2; }
.depth__c { grid-column: 7 / 13; grid-row: 8 / 13; aspect-ratio: 16/11; z-index: 2; }
.depth__d { grid-column: 2 / 5; grid-row: 9 / 13; aspect-ratio: 1; }
.depth__copy { grid-column: 7 / 12; grid-row: 4 / 8; align-self: center; color: var(--charcoal); padding: 30px 0; position: relative; z-index: 3; }

.stack { position: relative; width: 100%; max-width: 980px; margin: clamp(60px, 10vw, 140px) auto 0; padding: 0 var(--gutter); }
.stack__card {
  position: sticky; top: 18vh; min-height: 46vh; margin-bottom: 8vh; padding: clamp(30px, 5vw, 64px);
  background: var(--black); color: var(--white); border-radius: 10px; overflow: hidden; transform-origin: center top;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); display: flex; flex-direction: column; justify-content: flex-end; will-change: transform;
}
.stack__card:nth-child(2) { top: calc(18vh + 18px); background: #1c1c1c; }
.stack__card:nth-child(3) { top: calc(18vh + 36px); background: var(--charcoal); }
.stack__card:nth-child(4) { top: calc(18vh + 54px); background: var(--red); }
.stack__card i { position: absolute; top: clamp(24px, 4vw, 48px); left: clamp(30px, 5vw, 64px); font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: clamp(80px, 14vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); }
.stack__card h3 { font-size: clamp(36px, 5vw, 76px); margin-bottom: 14px; }
.stack__card p { font-size: clamp(17px, 1.5vw, 22px); color: rgba(255,255,255,.75); max-width: 30ch; margin: 0; }
.stack__roof { position: absolute; right: clamp(24px, 4vw, 48px); top: clamp(24px, 4vw, 48px); width: 90px; color: var(--red-bright); }
.stack__card:nth-child(4) .stack__roof { color: var(--white); }
.unique__closing {
  margin: clamp(90px, 12vw, 150px) auto 0; max-width: 22ch; text-align: center;
  font-family: var(--f-head); font-weight: 500; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.15; letter-spacing: -0.02em;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { position: relative; }
.about__pin { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 60px; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.about__media { position: relative; }
.about__frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--charcoal); border-radius: 6px; max-height: 76vh; margin: 0 auto; }
.has-stage .about__frame { background: transparent; }
.about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); }
.about__img--2 { opacity: 0; }
.about__tag { position: absolute; right: -24px; bottom: 40px; padding: 10px 16px; background: var(--red); color: var(--white); font-family: var(--f-label); letter-spacing: .2em; font-size: 12px; text-transform: uppercase; border-radius: 999px; }
.about__title { font-size: clamp(30px, 3.4vw, 52px); margin-bottom: 36px; max-width: 20ch; }
.about__bio p { color: var(--charcoal); max-width: 58ch; }
.person__role { font-family: var(--f-label); font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.person__name { font-size: clamp(42px, 5vw, 84px); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 26px; }
.person__name span { font-weight: 300; }
.person__quote {
  position: relative; margin: 26px 0 0; padding: 22px 0 0 0; border-top: 1px solid var(--light);
  font-family: var(--f-script); font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; line-height: 1.3; max-width: 26ch; color: var(--black);
}
.person__quote::before { content: '“'; position: absolute; top: -14px; right: 0; font-family: var(--f-script); font-size: 120px; line-height: 1; color: var(--red); opacity: .9; }

/* =========================================================
   SERVICES (horizontal pinned)
   ========================================================= */
.services { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.services__track { perspective: 1400px; }
.services__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(24px, 4vh, 48px); }
.services__head .h2 { max-width: 18ch; font-size: clamp(32px, 4vw, 62px); }
.services__intro { max-width: 40ch; color: rgba(255,255,255,.7); }
.services__hint { font-family: var(--f-label); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.services__hint i { font-style: normal; color: var(--red-bright); display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.services__track { display: flex; gap: 26px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
  position: relative; flex: none; height: clamp(300px, 52vh, 540px); aspect-ratio: 3/4; overflow: hidden;
  background: var(--charcoal); border-radius: 4px; transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.card figure { position: absolute; inset: 0; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.35) brightness(.78); }
.card:hover figure img { transform: scale(1); filter: grayscale(0) brightness(.9); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%); pointer-events: none; }
.card__body { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; transform: translateZ(40px); }
.card__body i { font-style: normal; font-family: var(--f-label); font-size: 14px; letter-spacing: .2em; color: var(--red-bright); }
.card__body h3 { font-size: clamp(22px, 2vw, 30px); margin-top: 10px; font-weight: 600; }
.card__body p { margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: 14px; }
.card::before { content: ''; position: absolute; top: 22px; right: 22px; width: 18px; height: 18px; border-top: 2px solid var(--red-bright); border-right: 2px solid var(--red-bright); z-index: 2; transition: transform .5s var(--ease); }
.card:hover::before { transform: translate(4px, -4px); }
.card figure::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.card:hover figure::after { opacity: 1; }
.card--icon { background: var(--charcoal); }
.card--icon::after { background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.card__icon { position: absolute; inset: 0 0 30% 0; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.card__icon svg { width: 46%; }
.card--icon:hover .card__icon svg { color: var(--red-bright); }
.card--guarantee {
  background: var(--red); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; gap: 4px;
}
.card--guarantee::after, .card--guarantee::before { display: none; }
.card--guarantee h3 { font-size: 30px; margin-bottom: 10px; }
.card--guarantee p { font-size: 15px; color: rgba(255,255,255,.88); margin-bottom: .6em; }
.seal { position: absolute; top: 30px; right: 30px; width: 46%; aspect-ratio: 1; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { font-family: var(--f-label); font-size: 15.5px; letter-spacing: .2em; fill: var(--white); }
.seal b { font-family: var(--f-head); font-size: 54px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { padding-bottom: 0; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; justify-content: flex-end; }
.filters button {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--light);
  font-family: var(--f-label); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal);
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--black); }
.filters button.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.gallery__stage { position: relative; height: 100vh; height: 100svh; }
.gallery__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gallery__hint { position: absolute; left: var(--gutter); bottom: 32px; margin: 0; font-family: var(--f-label); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.gallery__caption {
  position: absolute; right: var(--gutter); bottom: 28px; margin: 0; text-align: right;
  font-family: var(--f-head); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px);
}
.gallery__caption small { display: block; font-family: var(--f-label); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.gallery__grid { display: none; columns: 3; column-gap: 14px; padding-bottom: 40px; }
.gallery__grid button { display: block; width: 100%; margin-bottom: 14px; break-inside: avoid; overflow: hidden; position: relative; }
.gallery__grid img { width: 100%; transition: transform .8s var(--ease); }
.gallery__grid button:hover img { transform: scale(1.05); }
.gallery__grid span { position: absolute; left: 12px; bottom: 10px; color: var(--white); font-family: var(--f-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.gallery__grid button.is-out { display: none; }
.no-webgl .gallery__stage, .gallery--grid .gallery__stage { display: none; }
.no-webgl .gallery__grid, .gallery--grid .gallery__grid { display: block; }
.no-webgl .gallery, .gallery--grid { padding-bottom: clamp(60px, 10vw, 140px); }

.lightbox {
  position: fixed; inset: 0; z-index: 800; background: rgba(0,0,0,.94); color: var(--white);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 88vw; max-height: 82vh; text-align: center; }
.lightbox img { max-width: 88vw; max-height: 76vh; width: auto; margin: 0 auto; object-fit: contain; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { margin-top: 16px; font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.7); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 52px; height: 52px; font-size: 34px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 20px; transition: background .3s, border-color .3s; }
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* =========================================================
   PARTNER
   ========================================================= */
.partner { background: var(--charcoal); color: var(--white); overflow: hidden; }
.partner__bg { position: absolute; inset: -10% 0; opacity: .18; }
.partner__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.partner__inner { position: relative; }
.partner__title { font-size: clamp(56px, 12vw, 210px); line-height: .92; letter-spacing: -0.045em; font-weight: 700; margin-bottom: clamp(50px, 7vw, 100px); }
.partner__row { display: block; white-space: nowrap; }
.partner__row.script { font-weight: 400; color: var(--red-bright); padding-left: 12vw; letter-spacing: 0; }
.partner__copy { max-width: 600px; margin-left: auto; color: rgba(255,255,255,.78); }
.partner__copy .btn { margin-top: 20px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__info .h2 { margin-bottom: 30px; }
.contact__list { margin: 40px 0 30px; border-top: 1px solid var(--light); }
.contact__list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--light); }
.contact__list li > span { font-family: var(--f-label); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.contact__list a { font-family: var(--f-head); font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); transition: color .3s; }
.contact__list a[href]:hover { color: var(--red); }
.is-soon { color: var(--grey); font-style: italic; font-weight: 400 !important; }
.contact__area { display: flex; align-items: center; gap: 10px; font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--charcoal); }
.contact__area svg { color: var(--red); }

.rdv { position: relative; background: var(--black); color: var(--white); padding: clamp(30px, 4vw, 56px); border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.4); }
.rdv::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--red); border-radius: 6px 6px 0 0; }
.rdv__roof { width: 64px; color: var(--red-bright); margin-bottom: 18px; }
.rdv__head h3 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 10px; }
.rdv__head p { color: rgba(255,255,255,.65); margin-bottom: 30px; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--white); border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 26px 0 10px; font: inherit; font-size: 16px; border-radius: 0; outline: none; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { color: var(--black); }
.field--select::after { content: ''; position: absolute; right: 4px; bottom: 18px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: .7; }
.field--date input { color-scheme: dark; }
.field label {
  position: absolute; left: 0; top: 26px; font-size: 16px; color: rgba(255,255,255,.55); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease), color .35s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red-bright); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label, .field--date label { transform: translateY(-22px) scale(.78); color: rgba(255,255,255,.8); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-bright); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.7); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.form__status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form__status.is-ok { color: #ffffff; }
.form__status.is-err { color: #ff8a8a; }

/* =========================================================
   FOOTER
   ========================================================= */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 480; display: none; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn { width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(163,0,0,.6); transform: scale(0); transition: transform .5s var(--ease); }
.fab.is-visible .fab__btn { transform: scale(1); }
.fab.is-visible .fab__btn::after { content: ''; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab__sheet { display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: .35s var(--ease); }
.fab.is-open .fab__sheet { opacity: 1; transform: none; pointer-events: auto; }
.fab__sheet a { display: flex; flex-direction: column; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 14px; min-width: 230px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.fab__sheet small { font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.fab__sheet span { font-family: var(--f-head); font-weight: 500; font-size: 17px; }
.footer { position: relative; z-index: 2; background: var(--charcoal); color: rgba(255,255,255,.75); padding: 40px 0 30px; overflow: hidden; }
.footer__big {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(80px, 21vw, 340px); line-height: .85; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); white-space: nowrap; margin-bottom: 60px; user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { width: 180px; margin-bottom: 20px; }
.footer h4 { font-family: var(--f-label); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer nav a, .footer__grid > div > a { display: block; padding: 4px 0; transition: color .3s; }
.footer a[href]:hover { color: var(--red-bright); }
.footer .is-soon { display: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; font-size: 14px; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header__nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .gallery__grid { columns: 2; }
  body { font-size: 16px; }
  .header__tools .btn { display: none; }
  .header__logo { width: 110px; }
  .header .lang { display: none; }
  .menu .lang { display: inline-flex; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px 26px 0 !important; border-right: 0; border-bottom: 1px solid var(--light); }
  .stat:nth-child(odd) { border-right: 1px solid var(--light); }
  .stat:nth-child(even) { padding-left: 16px !important; }
  .fab { display: flex; }
  .depth { display: flex; flex-direction: column; min-height: 0; gap: 18px; }
  .depth__item { width: 100%; aspect-ratio: 4/3 !important; }
  .depth__b, .depth__d { width: 70%; align-self: flex-end; }
  .depth__copy { order: 2; padding: 10px 0; }
  .stack__card { top: 12vh; min-height: 38vh; }
  .about__pin { min-height: 0; padding: 100px 0 60px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__frame { max-width: 440px; }
  .about__tag { right: 8px; }
  .services__pin { height: auto; padding: 100px 0 60px; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__track { flex-direction: column; width: 100%; }
  .card { width: 100%; height: auto; aspect-ratio: 4/3; }
  .card--guarantee { aspect-ratio: auto; min-height: 420px; }
  .services__hint { display: none; }
  .filters { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .hero__coords span:last-child { display: none; }
  .partner__row.script { padding-left: 6vw; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .gallery__grid { columns: 1; }
  .hero__scroll span { display: none; }
  .hero__end { white-space: normal; text-align: center; width: 90%; }
  .lightbox__nav { top: auto; bottom: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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