/* ==========================================================================
   Estudio Arqué — home
   Palette: travertine whites, warm stone greys, bronze accent.
   Type: Cormorant Garamond (display) + Jost (text, close to the logo).
   ========================================================================== */

:root {
  --bg: #F5F2ED;
  --bg-2: #ECE6DD;
  --bg-3: #E3DCD1;
  --ink: #1E1C1A;
  --ink-2: #5F5850;
  --ink-3: #8F877C;
  --line: rgba(30, 28, 26, .14);
  --accent: #8C6D4F;
  --dark: #1A1917;
  --light: #F5F2ED;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
  --section: clamp(88px, 12vw, 176px);
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --z-grain: 1;
  --z-header: 50;
  --z-menu: 70;
  --z-lightbox: 90;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.band { background: var(--bg-2); }

/* subtle stone grain over everything */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); 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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--light); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.display {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 8vw, 8.4rem);
  line-height: .92; letter-spacing: -.02em; text-wrap: balance;
}
.display--light { color: var(--light); }
.h2 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1; letter-spacing: -.015em; text-wrap: balance;
}
.h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; }
.h2 em, .h3 em, .display em { font-style: italic; color: var(--accent); }
.lead {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.9vw, 2.7rem);
  line-height: 1.22; letter-spacing: -.008em; text-wrap: pretty;
}
.body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }

/* ---------- Buttons & links ---------- */
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
}
.arrow-link svg { font-size: 1.15rem; transition: transform .5s var(--ease-out); }
.arrow-link:hover svg, a:hover > .arrow-link svg { transform: translateX(6px); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 17px 28px;
  border: 1px solid currentColor; font-size: .76rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.btn svg { font-size: 1.1rem; transition: transform .5s var(--ease-out); }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }
.btn--light { color: var(--light); }
.btn--light::before { background: var(--light); }
.btn--light:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--dark::before { background: var(--accent); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1.15rem; transition: background .4s var(--ease-out), color .4s, border-color .4s, transform .4s var(--ease-out);
}
.round-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.round-btn:active { transform: scale(.94); }
.round-btn--light { color: var(--light); border-color: rgba(245, 242, 237, .4); backdrop-filter: blur(6px); background: rgba(20, 19, 17, .12); }
.round-btn--light:hover { background: var(--light); color: var(--ink); border-color: var(--light); }

.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; font-size: 1.2rem; border-radius: 50%; transition: background .3s, color .3s; }
.icon-btn:hover { background: rgba(30, 28, 26, .07); }
.icon-btn--light:hover { background: rgba(245, 242, 237, .12); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); color: var(--light); padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease-out), color .4s, background .4s, box-shadow .4s;
}
.site-header__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; height: var(--header-h);
  padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: rgba(245, 242, 237, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header::after { /* soft legibility veil over the film */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -2; pointer-events: none;
  background: linear-gradient(rgba(10, 10, 9, .38), transparent); transition: opacity .45s;
}
.site-header.is-solid::after { opacity: 0; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; margin-right: auto; }
.logo__word { font-family: var(--sans); font-weight: 300; font-size: 1.72rem; letter-spacing: -.01em; }
.logo__tag { font-size: .54rem; font-weight: 400; letter-spacing: .34em; margin-top: 5px; text-transform: lowercase; white-space: nowrap; }
.logo__tag i { font-style: normal; opacity: .55; margin-inline: .3em; }
.logo--light { color: var(--light); }

.nav__list { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav__link {
  position: relative; display: block; padding: 10px 0; font-size: .78rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-current::after, .has-sub:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: -22px; min-width: 230px; padding: 14px 0; color: var(--ink);
  background: rgba(245, 242, 237, .97); backdrop-filter: blur(14px); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(60, 45, 30, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .35s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub a { display: block; padding: 7px 22px; font-size: .92rem; transition: padding .35s var(--ease-out), color .3s; }
.sub a:hover { color: var(--accent); padding-left: 28px; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .74rem; letter-spacing: .14em; }
.lang a { opacity: .55; transition: opacity .3s; }
.lang a[aria-current], .lang a:hover { opacity: 1; }
.lang span { opacity: .35; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span:not(.sr) { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu ol { counter-reset: m; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 300; line-height: 1.1;
  transform: translateY(105%); transition: transform .7s var(--ease-out);
}
.mobile-menu li a::before { content: "0" counter(m); font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--ink-3); }
.mobile-menu.is-open li a { transform: none; transition-delay: calc(.15s + var(--i, 0) * .05s); }
.mobile-menu__foot { display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .12em; color: var(--ink-2); }
body.menu-open .site-header { color: var(--ink); z-index: calc(var(--z-menu) + 1); }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header::after { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--light); overflow: hidden; background: #2a2723; }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.8s var(--ease-out), opacity 1.2s; }
.is-loaded .hero__video { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(14, 13, 12, .74) 0%, rgba(14, 13, 12, .34) 42%, rgba(14, 13, 12, .06) 70%),
    radial-gradient(90% 75% at 0% 100%, rgba(14, 13, 12, .5), transparent 65%);
}
.hero__content { position: relative; padding-bottom: clamp(28px, 4vw, 52px); }
.hero__title {
  margin-top: 20px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5.8vw, 6.4rem);
  line-height: .95; letter-spacing: -.022em; max-width: 13ch; text-wrap: balance;
}
.hero__bar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(245, 242, 237, .22);
}
.film-btn { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.film-btn__icon { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.film-btn__icon i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.film-btn[aria-pressed="true"] .film-btn__icon i { animation: eq 1s var(--ease-io) infinite alternate; }
.film-btn[aria-pressed="true"] .film-btn__icon i:nth-child(2) { animation-delay: -.3s; }
.film-btn[aria-pressed="true"] .film-btn__icon i:nth-child(3) { animation-delay: -.6s; }
.film-btn[aria-pressed="true"] .film-btn__icon i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.hero__credit { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.hero__scroll i { position: relative; width: 1px; height: 38px; background: rgba(245, 242, 237, .3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--light); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head__link { padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* ---------- Intro ---------- */
.intro { padding-block: var(--section) calc(var(--section) * 1.05); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; }
.intro__text { display: grid; gap: clamp(28px, 3vw, 44px); }
.intro .lead { max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px clamp(32px, 6vw, 96px); margin: 12px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.facts dt { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1; font-variant-numeric: lining-nums; }
.facts dd em { color: var(--accent); }

/* word reveal */
[data-words] .w { display: inline-block; opacity: .14; transition: opacity .9s var(--ease-out); transition-delay: calc(var(--i) * 18ms); }
[data-words].is-in .w { opacity: 1; }

/* ---------- Reels ---------- */
.reels { padding-block: var(--section); }
.reels .section-head { grid-template-columns: 1fr auto; }
.reels__nav { display: flex; gap: 10px; }
.reels__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 24vw, 340px); gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.reels__track::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; }
.reel__btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-3); text-align: left; }
.reel__btn video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.reel__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 13, 12, .62), transparent 45%); transition: opacity .6s; }
.reel__btn:hover video { transform: scale(1.07); }
.reel__meta { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: baseline; gap: 12px; color: var(--light); }
.reel__n { font-size: .68rem; letter-spacing: .2em; opacity: .7; }
.reel__t { font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.reel__play {
  margin-left: auto; align-self: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(245, 242, 237, .55);
  display: grid; place-items: center; transition: background .4s, transform .5s var(--ease-out);
}
.reel__play::before { content: ""; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 3px; }
.reel__btn:hover .reel__play { background: var(--light); color: var(--ink); transform: scale(1.08); }

/* ---------- Media reveal & parallax ---------- */
.media-reveal { overflow: hidden; clip-path: inset(12% 0 0 0); transition: clip-path 1.5s var(--ease-out); }
.media-reveal img { transform: scale(1.14); transition: transform 1.9s var(--ease-out); }
.media-reveal.is-in { clip-path: inset(0 0 0 0); }
.media-reveal.is-in img { transform: scale(1); }
[data-parallax] { will-change: transform; }
.media-reveal.is-in img[data-parallax] { transform: translate3d(0, var(--py, 0), 0) scale(1.12); transition: none; }

/* ---------- Showroom ---------- */
.showroom { padding-block: var(--section); overflow: hidden; }
.showroom__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: clamp(32px, 5vw, 80px); }
.showroom__text { display: grid; gap: 24px; padding-bottom: 8px; }
.showroom__soon { display: inline-flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--accent); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.showroom__img { aspect-ratio: 16 / 10; }
.showroom__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Slideshow ---------- */
.gallery { padding-block: 0; background: var(--dark); }
.gallery__stage { position: relative; height: min(92svh, 62vw); min-height: 460px; overflow: hidden; outline: none; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease-io), visibility 0s 1.4s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease-io), visibility 0s; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.is-active img { animation: kenburns 9s linear forwards; }
.slide.is-contain::before { /* blurred backdrop for portrait images */
  content: ""; position: absolute; inset: -40px; background: var(--bg-img) center / cover; filter: blur(40px) brightness(.55) saturate(.9);
}
.slide.is-contain img { position: relative; object-fit: contain; padding-block: clamp(24px, 4vw, 56px); }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.gallery__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(14, 13, 12, .55), transparent); }
.gallery__ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(20px, 3vw, 40px); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px); color: var(--light); }
.gallery__count { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.6rem; font-variant-numeric: tabular-nums lining-nums; }
.gallery__count i { width: 26px; height: 1px; background: rgba(245, 242, 237, .5); }
.gallery__count [data-total] { opacity: .6; }
.gallery__progress { height: 1px; background: rgba(245, 242, 237, .25); overflow: hidden; }
.gallery__progress span { display: block; height: 100%; background: var(--light); transform-origin: left; transform: scaleX(0); }
.gallery__arrows { display: flex; gap: 10px; }

/* ---------- Services ---------- */
.services { padding-block: var(--section); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.services__grid > :nth-child(2) { margin-top: clamp(0px, 6vw, 96px); }
.svc { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 18px 16px; }
.svc__img { grid-column: 1 / -1; aspect-ratio: 3 / 4; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.92); }
.svc:hover .svc__img img { transform: scale(1.06); filter: saturate(1.05); }
.svc__n { font-size: .7rem; letter-spacing: .2em; color: var(--ink-3); }
.svc__t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }
.svc .arrow-link { grid-column: 2; color: var(--ink-2); margin-top: -6px; }

/* ---------- Press ---------- */
.press { padding-block: var(--section); }
.press__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.press__cover { aspect-ratio: 16 / 10.5; background: #A8A397; }
.press__cover img { width: 100%; height: 100%; object-fit: cover; }
.press__side { display: grid; grid-template-rows: auto 1fr; gap: 28px; }
.press__text { display: grid; gap: 16px; }
.press__fade { position: relative; overflow: hidden; min-height: 320px; }
.press__fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.2s var(--ease-io), transform 4s var(--ease-out); }
.press__fade img.is-active { opacity: 1; transform: scale(1); }

/* ---------- Projects ---------- */
.projects { padding-block: var(--section); }
.projects__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(14px, 1.8vw, 28px); counter-reset: p; }
.projects__grid > li { counter-increment: p; }
.projects__grid > li:nth-child(4n + 2), .projects__grid > li:nth-child(4n + 4) { transform: translateY(clamp(0px, 4vw, 64px)); }
.proj { display: block; }
.proj figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); margin-bottom: 18px; }
.proj figure::after {
  content: counter(p, decimal-leading-zero); position: absolute; top: 14px; left: 16px; color: var(--light); font-size: .68rem; letter-spacing: .2em;
  opacity: 0; transform: translateY(-6px); transition: opacity .5s, transform .6s var(--ease-out); text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.9); }
.proj h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.15; display: flex; justify-content: space-between; gap: 12px; }
.proj h3::after { content: "→"; font-family: var(--sans); font-weight: 300; font-size: 1rem; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease-out); }
.proj p { margin-top: 4px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.proj:hover img { transform: scale(1.07); filter: saturate(1.05); }
.proj:hover figure::after { opacity: 1; transform: none; }
.proj:hover h3::after { opacity: 1; transform: none; }

/* ---------- Products ---------- */
.products { padding-block: var(--section); }
.products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.tile figure, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 1.5s var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 13, 12, .55), transparent 42%); transition: opacity .6s; }
.tile__label {
  position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: center;
  color: var(--light); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1;
}
.tile__label svg { font-size: 1.3rem; transform: translateX(-8px); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile__label svg { transform: none; opacity: 1; }

/* ---------- Materials ---------- */
.materials { padding-block: var(--section); }
.materials__grid { display: grid; grid-template-columns: 5fr 4fr 5fr; gap: clamp(14px, 2vw, 32px); align-items: end; }
.mat { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 16px 14px; }
.mat figure { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.materials__grid > li:nth-child(2) .mat figure { aspect-ratio: 1; }
.mat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease-out); }
.mat:hover img { transform: scale(1.06); }
.mat__n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.mat h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }

/* ---------- Quarry ---------- */
.quarry { padding-block: var(--section); overflow: hidden; }
.quarry__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.quarry__img { aspect-ratio: 5 / 4; }
.quarry__img img { width: 100%; height: 100%; object-fit: cover; }
.quarry__text { display: grid; gap: 26px; justify-items: start; }

/* ---------- 3D Textures ---------- */
.textures { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; color: var(--light); background: var(--dark); }
.textures__bg { position: absolute; inset: -8% 0; }
.textures__bg img { width: 100%; height: 100%; object-fit: cover; }
.textures__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, .74) 0%, rgba(14, 13, 12, .32) 55%, rgba(14, 13, 12, .12) 100%), linear-gradient(to top, rgba(14, 13, 12, .5), transparent 50%); }
.textures__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; padding-block: var(--section) clamp(48px, 6vw, 96px); }
.textures__text { display: grid; gap: 28px; justify-items: start; }
.textures__film { position: relative; aspect-ratio: 4 / 3; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.textures__film video { width: 100%; height: 100%; object-fit: cover; }
.textures__film figcaption { position: absolute; left: 0; top: -30px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* ---------- Contact ---------- */
.contact { padding-block: var(--section) calc(var(--section) * .8); }
.offices { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; margin-bottom: clamp(72px, 9vw, 140px); }
.offices__list { display: grid; gap: clamp(40px, 5vw, 64px); }
.office { display: grid; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.office__country { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.office h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; }
.office address, .office p:last-child { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.office a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.office a:hover { background-size: 100% 1px; color: var(--ink); }
.offices__img { aspect-ratio: 1.05; }
.offices__img img { width: 100%; height: 100%; object-fit: cover; }

.enquiry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; background: var(--bg-2); padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.enquiry__img { min-height: 100%; }
.enquiry__img img { width: 100%; height: 100%; object-fit: cover; }
.reach { padding: clamp(32px, 5vw, 80px); display: grid; gap: 22px; align-content: center; justify-items: start; }
.reach__mail {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out), color .3s;
}
.reach__mail svg { font-size: .7em; transition: transform .5s var(--ease-out); }
.reach__mail:hover { background-size: 100% 1px; color: var(--accent); }
.reach__mail:hover svg { transform: translateX(6px); }
.reach__list { display: grid; width: 100%; border-top: 1px solid var(--line); }
.reach__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach__list span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.reach__list a { transition: color .3s; }
.reach__list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(245, 242, 237, .78); padding-block: clamp(64px, 8vw, 110px) 32px; position: relative; z-index: 2; }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(245, 242, 237, .14); }
.site-footer__mail { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.2rem); color: var(--light); }
.site-footer__mail a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.site-footer__mail a:hover { background-size: 100% 1px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.to-top { transition: color .3s; }
.to-top:hover { color: var(--light); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 24px var(--gutter); background: rgba(14, 13, 12, .94); backdrop-filter: blur(10px); color: var(--light);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__frame { justify-self: center; display: grid; gap: 14px; transform: translateY(24px) scale(.97); transition: transform .7s var(--ease-out); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox video { height: min(82svh, 860px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; background: #000; }
.lightbox figcaption { font-family: var(--serif); font-size: 1.5rem; text-align: center; }
.lightbox__close { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); right: var(--gutter); display: inline-flex; gap: 10px; align-items: center; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.lightbox__close span { font-size: 1.6rem; line-height: 1; font-weight: 200; }

/* ---------- Reveal ---------- */
.js [data-reveal], .js [data-reveal-group] > * {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js .projects__grid.is-in > li:nth-child(4n + 2), .js .projects__grid.is-in > li:nth-child(4n + 4) { transform: translateY(clamp(0px, 4vw, 64px)); }

[data-split] .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 110ms + 120ms); }
[data-split].is-in .line > span { transform: none; }

/* ==========================================================================
   Inner pages (generated by build.py)
   ========================================================================== */
.inner main { padding-top: var(--header-h); }
.inner .site-header::after { opacity: 0; }

/* page header */
.ph { padding-block: clamp(64px, 9vw, 140px) clamp(40px, 5vw, 72px); display: grid; gap: 22px; justify-items: start; }
.ph__title { font-size: clamp(2.8rem, 6.4vw, 6.6rem); max-width: 16ch; }
.ph__lead { max-width: 60ch; }
.ph--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 88px); }
.ph--split .ph__text { display: grid; gap: 22px; justify-items: start; }
.ph--split .ph__title { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.ph__img { aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph--split > .ps-media { grid-column: 1 / -1; }

/* text */
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose .body { max-width: 62ch; }
.ps-h { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.ps-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; text-wrap: balance; }
.ps-sub { margin-top: -10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.6rem); color: var(--accent); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.prose a:hover { color: var(--accent); border-color: currentColor; }
.ps-list { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; color: var(--ink-2); }
.spec { display: grid; margin: 4px 0 0; border-top: 1px solid var(--line); width: 100%; }
.spec > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); padding-top: .3em; }
.spec dd { margin: 0; color: var(--ink); }

/* sections */
.ps { padding-block: clamp(40px, 5vw, 80px); }
.ps-text .prose { margin-inline: auto; max-width: 70ch; justify-items: start; }
.ps-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ps-split--right { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.ps-split--right .ps-media { order: 2; }
.ps-split--bleed { padding-block: 0; gap: 0; background: var(--bg-2); }
.ps-split--bleed + .ps-split--bleed { margin-top: 0; }
.ps-split--bleed .ps-media { align-self: stretch; }
.ps-split--bleed .ps-media .ps-fig { height: 100%; }
.ps-split--bleed .ps-media img { height: 100%; min-height: 420px; object-fit: cover; }
.ps-split--bleed .prose { padding: clamp(40px, 6vw, 110px) var(--gutter); }

.ps-media { display: grid; gap: clamp(10px, 1.2vw, 18px); grid-template-columns: 1fr; align-items: start; }
.ps-media--2, .ps-media--3 { grid-template-columns: 1fr 1fr; }
.ps-media--3 > :first-child { grid-column: 1 / -1; }
.ps-fig { display: block; overflow: hidden; background: var(--bg-3); }
.ps-fig img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out), filter .8s; }
.ps-fig:hover img { transform: scale(1.04); }
.ps-images .ps-media--3 { grid-template-columns: repeat(3, 1fr); }
.ps-images .ps-media--3 > :first-child { grid-column: auto; }

/* gallery */
.g-grid { columns: 3 260px; column-gap: clamp(10px, 1.2vw, 18px); }
.g-item { display: block; margin-bottom: clamp(10px, 1.2vw, 18px); break-inside: avoid; overflow: hidden; background: var(--bg-3); position: relative; }
.g-item img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.g-item::after { content: "+"; position: absolute; right: 12px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 242, 237, .9); color: var(--ink); font-size: 1.1rem; opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; transform: none; }

/* cards & links */
.ps-cards .products__grid { padding-block: 0; }
.products__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ps-cards .projects__grid { padding-top: 8px; }
.ps-links { display: flex; flex-wrap: wrap; gap: 14px; }
.ps-video video { width: 100%; max-height: 82svh; background: #000; }
.ps-insta { display: grid; gap: 18px; justify-items: start; padding-block: clamp(40px, 6vw, 96px); }

/* pager */
.pager { display: flex; justify-content: space-between; gap: 20px; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); margin-top: clamp(24px, 4vw, 56px); }
.pager a { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); transition: color .3s, transform .5s var(--ease-out); }
.pager__next { margin-left: auto; }
.pager__prev:hover { color: var(--accent); transform: translateX(-6px); }
.pager__next:hover { color: var(--accent); transform: translateX(6px); }

/* image zoom */
.zoom { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); background: rgba(14, 13, 12, .95); color: var(--light); opacity: 0; transition: opacity .35s var(--ease-out); }
.zoom.is-open { opacity: 1; }
.zoom__frame { justify-self: center; display: grid; gap: 12px; justify-items: center; }
.zoom__frame img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; }
.zoom__frame figcaption { font-size: .72rem; letter-spacing: .2em; opacity: .7; font-variant-numeric: tabular-nums; }
.zoom__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: var(--gutter); font-size: 2.2rem; font-weight: 200; line-height: 1; width: 44px; height: 44px; }

.lang--menu { gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-tools .icon-btn { display: none; }
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects__grid > li:nth-child(4n + 2), .projects__grid > li:nth-child(4n + 4),
  .js .projects__grid.is-in > li:nth-child(4n + 2), .js .projects__grid.is-in > li:nth-child(4n + 4) { transform: none; }
  .js .projects__grid.is-in > li:nth-child(2n) { transform: translateY(clamp(0px, 6vw, 56px)); }
  .projects__grid > li:nth-child(2n) { transform: translateY(clamp(0px, 6vw, 56px)); }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .logo__word { font-size: 1.45rem; }
  .intro__grid, .showroom__grid, .quarry__grid, .offices, .enquiry, .textures__grid, .press__grid { grid-template-columns: 1fr; }
  .services__grid, .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid > :nth-child(2) { margin-top: 0; }
  .services__grid > :nth-child(3) { grid-column: 1 / -1; }
  .services__grid > :nth-child(3) .svc__img { aspect-ratio: 16 / 9; }
  .materials__grid { grid-template-columns: 1fr 1fr; }
  .materials__grid > li:first-child { grid-column: 1 / -1; }
  .materials__grid > li:first-child .mat figure { aspect-ratio: 16 / 10; }
  .gallery__stage { height: 78svh; min-height: 420px; }
  .enquiry__img { aspect-ratio: 16 / 10; }
  .press__fade { aspect-ratio: 4 / 5; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox video { height: auto; width: min(100%, 46svh); }
  .site-footer__grid { grid-template-columns: 1fr auto; }
  .site-footer__mail { grid-row: 2; grid-column: 1 / -1; }
  .lang { display: none; }
  .ph--split, .ps-split, .ps-split--right { grid-template-columns: 1fr; }
  .ps-split--right .ps-media { order: 0; }
  .ph__img { aspect-ratio: 4 / 3; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .products__grid--2 { grid-template-columns: 1fr 1fr; }
  .lang--menu { display: flex; }
}
@media (max-width: 560px) {
  .section-head { grid-template-columns: 1fr; }
  .reels .section-head { grid-template-columns: 1fr auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: 1fr; gap: 14px; }
  .tile { aspect-ratio: 5 / 4; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid > :nth-child(3) .svc__img, .svc__img { aspect-ratio: 4 / 3; }
  .gallery__ui { grid-template-columns: auto 1fr; }
  .gallery__arrows { display: none; }
  .site-footer__base { flex-direction: column; }
  .hero__scroll, .hero__credit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > *, [data-words] .w, [data-split] .line > span { opacity: 1; transform: none; }
  .media-reveal { clip-path: none; }
  .media-reveal img, .slide img, .hero__video { transform: none !important; }
}
