/* RenoAura Bouw — warm editorial. Design tokens follow the Claude Design source. */

:root {
  --paper: #faf7f2;
  --sand: #f3eee4;
  --sand-deep: #e9e1d2;
  --card: #fffdfa;
  --placeholder: #e4dccc;

  --ink: #1c1b19;
  --ink-soft: #3a3833;
  --muted: #6e6a63;
  --muted-light: #a19b90;
  --muted-dark: #8c867b;

  --gold: #c4a053;
  --gold-deep: #8f6a22;
  --gold-bright: #b98f3c;
  --gold-pale: #e4d3ac;
  --gold-glow: #f0e4c8;

  --line: #dcd3c2;
  --line-soft: #e5dfd5;
  --line-mid: #ded6c8;

  --wa: #25d366;
  --wa-dark: #1fbe5b;
  --wa-ink: #08130c;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1320px;
  --gutter: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold-bright); }
button { font: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Grid and flex children default to min-width:auto, so an intrinsically wide
   photo can push a track past the viewport. Every grid here holds photos. */
.hero > *, .hero-collage > *, .services-grid > *, .project-grid > *,
.partner-inner > *, .partner-shots > *, .about-inner > *,
.detail-intro > *, .more-grid > *, .header-bar > *, .card-meta > * {
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: var(--paper); }

@keyframes ra-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ra-in { from { opacity: 0; } to { opacity: 1; } }

/* Scoped to .js (set by site.js) so that if the script is blocked or fails, the
   content is simply visible rather than stuck at opacity 0 forever. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ─────────────────────────── header ─────────────────────────── */

.site-header {
  position: relative;
  background: var(--ink);
  border-bottom: 1px solid rgba(196, 160, 83, .4);
  overflow: hidden;
}

.header-bar {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 30px var(--gutter) 26px;
}

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand:hover { color: inherit; }
.brand-mark { height: 64px; width: auto; flex: none; }
.brand-wordmark { height: 26px; width: auto; flex: none; }

.header-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.header-nav a { color: var(--muted-light); }
.header-nav a:hover { color: var(--gold-pale); }

.pill-phone {
  padding: 11px 20px;
  border: 1px solid rgba(250, 247, 242, .24);
  border-radius: 999px;
  color: var(--paper);
  font-weight: 600;
  transition: border-color .3s ease, color .3s ease;
}
.pill-phone:hover { border-color: var(--gold); color: var(--gold-pale); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(250, 247, 242, .16);
  border-radius: 999px;
}
.lang-switch button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  background: transparent;
  color: var(--muted-dark);
  transition: background .25s ease, color .25s ease;
}
.lang-switch button:hover { color: var(--gold-pale); }
.lang-switch button[aria-pressed='true'] { background: var(--gold); color: var(--ink); }

.menu-toggle {
  display: none;
  gap: 5px;
  width: 46px;
  height: 46px;
  place-content: center;
  background: none;
  border: 1px solid rgba(250, 247, 242, .2);
  border-radius: 10px;
  cursor: pointer;
  flex: none;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--gold-pale); }

.mobile-menu {
  position: relative;
  display: none;
  border-top: 1px solid rgba(250, 247, 242, .12);
  padding: 6px 22px 20px;
}
.mobile-menu.is-open { display: grid; gap: 2px; }
.mobile-menu a {
  padding: 15px 4px;
  font-size: 17px;
  color: var(--sand);
  border-bottom: 1px solid rgba(250, 247, 242, .08);
}
.mobile-menu .pill-phone {
  margin-top: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(250, 247, 242, .24);
  font-size: 16px;
}
.mobile-menu .lang-switch { justify-content: center; margin-top: 14px; }

.strapline { position: relative; border-top: 1px solid rgba(250, 247, 242, .09); }
.strapline ul {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 13px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* Between here and the full nav there is not enough room for brand + links +
   phone + language tabs on one line, so the whole lot moves into the menu. */
@media (max-width: 1099px) {
  .header-bar { padding: 18px 20px 16px; }
  .brand-mark { height: 46px; }
  .brand-wordmark { height: 19px; }
  .header-nav { display: none; }
  .menu-toggle { display: grid; }
}

/* ─────────────────────────── hero ─────────────────────────── */

.page { background: var(--sand); color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 48px;
  align-items: stretch; /* photo block matches the text column, top and bottom */
  padding-top: 40px;
}

.eyebrow {
  margin-top: 0; /* so the text column starts flush with the photo block */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  animation: ra-up .9s var(--ease) both;
}
.hero h1 .accent { color: var(--gold-deep); }

.hero-lead {
  margin: 30px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
  animation: ra-up .9s var(--ease) .12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: ra-up .9s var(--ease) .22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-mid); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--sand); }

.promise {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 52ch;
}
.promise i { width: 3px; align-self: stretch; min-height: 54px; background: var(--gold); flex: none; }
.promise p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Every photo outside the project grid is a link too — to the project it came
   from, or for the partner shots to the partner. `.shot` gives them all the same
   hover: a slow zoom and the name sliding up from the bottom. */
.shot {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: var(--placeholder);
  color: inherit;
}
/* Absolutely positioned so the photo's own 1152x2048 proportions never dictate
   the box height — the layout decides the box, the photo fills it. */
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.shot:hover img { transform: scale(1.045); }
.shot-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(28, 27, 25, .82));
  color: var(--sand);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.shot-label:not(:empty)::after { content: ' ↗'; color: var(--gold-pale); }
.shot:hover .shot-label,
.shot:focus-visible .shot-label { opacity: 1; transform: none; }

/* Touch devices never hover, so the project name would never appear. Show it. */
@media (hover: none) {
  .shot-label { opacity: 1; transform: none; }
}

/* Fractional rows rather than fixed pixel heights, so the collage fills whatever
   height the text column sets and the two columns end on the same line. */
.hero-collage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 440px;
}
.hero-collage .shot:first-child { grid-row: 1 / span 2; }

/* ─────────────────────── section furniture ─────────────────────── */

section[id] { scroll-margin-top: 20px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.02em;
  margin: 0;
}
.section-head span { font-size: 13px; color: var(--muted-light); }

.rule-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

/* ─────────────────────────── services ─────────────────────────── */

.services { margin-top: 96px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 0 40px;
}
.service {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service i { display: block; width: 26px; height: 2px; background: var(--gold); margin-bottom: 16px; transition: width .4s ease; }
.service:hover i { width: 46px; }
.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.service p { font-size: 14.5px; line-height: 1.7; color: var(--muted); max-width: 36ch; margin: 0; }

/* ─────────────────────────── projects ─────────────────────────── */

.projects { margin-top: 100px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 30px 20px;
  margin-top: 28px;
}

.project-card {
  display: block;
  cursor: pointer;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
}
.project-card:hover { color: inherit; }

.frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--placeholder);
}
.frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.project-card:hover .frame img { transform: scale(1.05); }

.badge-video {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(28, 27, 25, .72);
  color: var(--gold-glow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px 0;
}
.card-meta h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -.01em; margin: 0; }
.card-meta p { font-size: 13px; color: var(--muted-light); margin: 3px 0 0; }
.card-meta .arrow { color: var(--gold-deep); font-size: 17px; }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 44px 28px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
.empty-state code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  background: var(--sand-deep);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ─────────────────────────── partner ─────────────────────────── */

.partner { margin-top: 100px; }
.partner-inner {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 44px;
  align-items: center;
}
.partner h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.partner p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0 0 22px; max-width: 52ch; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; list-style: none; padding: 0; }
.chips li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #55524c; }
.partner-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.partner-shots .shot { height: 200px; }

/* ─────────────────────────── about ─────────────────────────── */

.about { background: var(--sand-deep); margin-top: 104px; }
.about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: center;
  padding-block: 84px;
}
.about-shot { height: 460px; }
.about h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.about p { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 16px; max-width: 56ch; text-wrap: pretty; }
.about p:last-child { margin-bottom: 0; }

/* ─────────────────────────── footer ─────────────────────────── */

.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 62px;
}
.footer-brand { display: grid; gap: 14px; }

/* Big enough that the tagline under the wordmark stays legible, and lifted a
   touch so the metallic greys read against the near-black footer. */
.footer-mark {
  height: clamp(170px, 21vw, 250px);
  width: auto;
  filter: brightness(1.12);
}
.footer-contact { display: grid; gap: 10px; font-size: 15px; color: var(--muted-light); }
.footer-contact a { color: var(--paper); }
.footer-contact a:hover { color: var(--gold-pale); }
.footer-contact .label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #77726a;
}
.footer-contact .label a { color: var(--gold); }
.footer-legal {
  border-top: 1px solid rgba(250, 247, 242, .12);
  padding: 18px var(--gutter);
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────── whatsapp float ─────────────────────── */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 21px 13px 16px;
  border-radius: 999px;
  background: var(--wa);
  color: var(--wa-ink);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(28, 27, 25, .22);
  transition: transform .3s ease, background .3s ease;
  animation: ra-up .6s ease .5s both;
}
.wa-float:hover { background: var(--wa-dark); color: var(--wa-ink); transform: translateY(-3px); }

/* ───────────────────────── project detail ───────────────────────── */

.detail { background: var(--sand); color: var(--ink); padding-bottom: 110px; }
.detail-top { padding-top: 30px; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line-mid);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.btn-back:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ── cover slider ─────────────────────────────────────────────── */

.slider {
  position: relative;
  margin-top: 26px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--placeholder);
}
.slider-viewport { overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  height: 64vh;
  min-height: 340px;
  max-height: 720px;
  background: #14130f;
}
.slide[data-type='image'] { cursor: zoom-in; }

/* A blurred, scaled-up copy of the same photo fills the frame behind it. The
   scale keeps the blur from fading out at the edges. */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  filter: blur(42px) saturate(1.1) brightness(.46);
}

/* The photo itself is never cropped — the whole frame is always visible. */
.slide-img,
.slide video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, .3);
  background: rgba(28, 27, 25, .55);
  color: var(--sand);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.slider-arrow:hover {
  background: rgba(28, 27, 25, .85);
  border-color: var(--gold);
  color: var(--gold-pale);
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-count {
  position: absolute;
  z-index: 2;
  right: 16px;
  top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(28, 27, 25, .72);
  color: var(--gold-glow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.slider-bar {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(28, 27, 25, .82));
  pointer-events: none;
}
.slider-caption { color: var(--sand); font-size: 13.5px; text-wrap: pretty; }
.slider-dots { display: flex; gap: 8px; flex: none; pointer-events: auto; }
.slider-dots .dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 247, 242, .45);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.slider-dots .dot:hover { background: var(--gold-pale); }
.slider-dots .dot.is-active { width: 24px; background: var(--gold); }

.detail-intro {
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 52px;
  align-items: start;
}
.detail-intro .eyebrow { margin-bottom: 16px; }
.detail-intro h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.detail-body { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 58ch; margin: 0; text-wrap: pretty; }
.detail-body p { margin: 0 0 16px; }
.detail-body p:last-child { margin-bottom: 0; }

.fact-card {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
  background: var(--card);
}
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.fact-grid div { padding: 22px; border-bottom: 1px solid var(--line); }
.fact-grid div:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.fact-grid div:last-child,
.fact-grid div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.fact-grid .fact-wide { grid-column: 1 / -1; border-right: 0; }
.fact-grid dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.fact-grid dd { font-size: 15px; margin: 0; }
.fact-cta {
  display: block;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: background .3s ease;
}
.fact-cta:hover { background: var(--gold-deep); color: var(--paper); }

.detail-gallery { padding-top: 66px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 18px;
}
/* Every tile is the same shape; the photo is cropped to fill it rather than
   squashed, so mixed portrait/landscape shots still line up. */
.gallery-item {
  aspect-ratio: 4 / 5;
  margin: 0;
  text-align: left;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--placeholder);
  cursor: zoom-in;
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s var(--ease);
}
.gallery-item video { pointer-events: none; } /* clicks belong to the tile */
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(28, 27, 25, .78));
  color: var(--sand);
  font-size: 12.5px;
  text-align: left;
}

.detail-more { padding-top: 72px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.more-grid a { color: inherit; }
.more-grid a:hover h3 { color: var(--gold-deep); }
.more-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 5px; background: var(--placeholder); }
.more-grid h3 { margin: 12px 0 0; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.more-grid p { font-size: 13px; color: var(--muted-light); margin: 2px 0 0; }

/* ─────────────────────────── lightbox ─────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(20, 19, 17, .95);
  animation: ra-in .25s ease both;
}
.lightbox[hidden] { display: none; }
.lightbox-head { display: flex; justify-content: flex-end; padding: 16px 20px; }
.lightbox-stage {
  display: grid;
  place-items: center;
  padding: 0 clamp(12px, 6vw, 80px);
  min-height: 0;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 4px;
  object-fit: contain;
}
.lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px 26px;
  color: var(--muted-light);
  font-size: 13px;
}
.lightbox-btn {
  background: none;
  border: 1px solid rgba(250, 247, 242, .24);
  color: var(--sand);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: border-color .25s ease, color .25s ease;
}
.lightbox-btn:hover { border-color: var(--gold); color: var(--gold-pale); }
.lightbox-caption { max-width: 46ch; text-align: center; }

@media (max-width: 1199px) {
  .header-nav { gap: 20px; }
}

@media (max-width: 899px) {
  .hero { padding-top: 30px; gap: 34px; }
  .hero-collage { min-height: 340px; }
  .about-inner { padding-block: 58px; gap: 34px; }
  .about-shot { height: 300px; }
  .services, .projects, .partner { margin-top: 68px; }
  .about { margin-top: 72px; }
  .slide { height: 46vh; min-height: 260px; }
  .slider-arrow { width: 42px; height: 42px; font-size: 17px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .slider-bar { padding: 36px 14px 12px; gap: 12px; }
  .slider-caption { font-size: 12.5px; }
  .fact-grid div { padding: 18px; }
}
