/* ==========================================================================
   Welmond Steel Design · stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&display=swap');

:root {
  --ink: #0e0d0c;
  --ink-soft: #171614;
  --ink-line: #2a2824;
  --paper: #f7f4ee;
  --paper-dim: #ece7db;
  --paper-line: #ddd6c6;
  --gold: #c9a15a;
  --gold-light: #e3c98d;
  --gold-dim: #8a6f3f;
  --steel: #4a4d52;
  --text-hi: #f5f1e8;
  --text-mid: #cdc6b6;
  --text-dim: #8f8879;
  --ink-text-hi: #1a1815;
  --ink-text-mid: #5a5648;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

html { cursor: default; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  cursor: default;
  user-select: none;
}

/* Subtle film-grain texture, adds a tactile, considered finish */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  user-select: none;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1em;
  user-select: none;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .8s var(--ease) .15s;
}
.eyebrow.is-revealed::before { transform: scaleX(1); }

.section { padding: clamp(72px, 10vw, 152px) 0; }
.section--paper { background: var(--paper); color: var(--ink-text-hi); }
.section--paper .eyebrow { color: var(--gold-dim); }
.section--soft { background: var(--ink-soft); }
.section--dim { background: var(--paper-dim); color: var(--ink-text-hi); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-mid);
  max-width: 640px;
}
.section--paper .lede, .section--dim .lede { color: var(--ink-text-mid); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 1px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .5s var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #171410; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset; }
.btn-gold:hover { background: linear-gradient(180deg, var(--gold-light), var(--gold-light)); box-shadow: 0 10px 30px -12px rgba(201,161,90,.55), 0 1px 0 rgba(255,255,255,.3) inset; }
.btn-line { background: transparent; border-color: rgba(245,241,232,.3); color: var(--text-hi); position: relative; overflow: hidden; }
.btn-line::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn-line:hover { border-color: var(--gold); color: #171410; }
.btn-line:hover::before { transform: translateY(0); }
.section--paper .btn-line, .section--dim .btn-line { border-color: rgba(26,24,21,.28); color: var(--ink-text-hi); }
.section--paper .btn-line:hover, .section--dim .btn-line:hover { border-color: var(--gold-dim); color: #171410; }
.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(14,13,12,.86);
  backdrop-filter: blur(10px);
  border-color: var(--ink-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 28px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  position: relative;
  font-size: .78rem;
  letter-spacing: .06em;
  user-select: none;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--text-hi); }
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--gold-light); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none;
  cursor: pointer;
  position: relative;
  z-index: 210;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute; left: 8px; right: 8px;
  height: 1px; background: var(--text-hi);
  transition: transform .35s var(--ease), opacity .35s var(--ease), background-color .35s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  top: -8%; left: 0; right: 0; height: 116%;
  z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroKen 16s var(--ease) forwards;
}
@keyframes heroKen { to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,.35) 0%, rgba(10,9,8,.35) 40%, rgba(10,9,8,.92) 100%),
    linear-gradient(90deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.05) 55%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 220px 0 96px;
  width: 100%;
}
.hero-title {
  max-width: 900px;
  opacity: 0;
  animation: riseIn 1s var(--ease) .25s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  max-width: 460px;
  opacity: 0;
  animation: riseIn 1s var(--ease) .45s forwards;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1s var(--ease) .6s forwards;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-page {
  min-height: 62svh;
  align-items: flex-end;
}
.hero-page .hero-inner { padding: 190px 0 72px; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  right: 28px; bottom: 28px;
  z-index: 1;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dim);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeIn 1s ease .9s forwards;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueMove 2.2s ease-in-out infinite;
}
@keyframes cueMove { 0%,100% { transform: scaleY(1); opacity: .8; } 50% { transform: scaleY(.5); opacity: .3; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .14s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .23s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .32s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .41s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .5s; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split.is-reverse { grid-template-columns: 1.2fr .8fr; }
.split.is-reverse .split-media { order: 2; }

.split-media { position: relative; }
.split-media img { border-radius: 2px; }
.split-media .frame-tag {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--ink);
  border: 1px solid var(--ink-line);
  padding: 16px 22px;
  display: flex; flex-direction: column; gap: 2px;
}
.section--paper .split-media .frame-tag,
.section--dim .split-media .frame-tag { background: var(--paper); border-color: var(--paper-line); }
.frame-tag .num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.frame-tag .lbl { font-size: .72rem; letter-spacing: .08em; color: var(--text-dim); text-transform: uppercase; }

/* USP list */
.usp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.usp-list li { display: flex; gap: 18px; align-items: flex-start; }
.usp-list .ico {
  flex: none; width: 42px; height: 42px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; color: var(--text-mid); font-size: 1.05rem; line-height: 1.7; }
.legal-list li { padding-left: 24px; position: relative; }
.legal-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold-dim); }
.legal-list strong { color: var(--text-hi); }

/* Door type / product cards */
.product-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  transition: border-color .5s ease, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); box-shadow: 0 30px 60px -30px rgba(0,0,0,.65); }
.product-card .thumb { aspect-ratio: 4/5; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 24px 26px 28px; }
.product-card h3 { margin-bottom: .3em; }
.product-card p { color: var(--text-mid); font-size: .94rem; margin-bottom: 0; }

/* Gallery grid */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink-soft);
  cursor: zoom-in;
}
.gallery.gallery-wide a { aspect-ratio: 3/2; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .5s ease;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,9,8,.55));
  opacity: 0; transition: opacity .4s ease;
}
.gallery a:hover::after { opacity: 1; }
.gallery .zoom-ic {
  position: absolute; right: 14px; bottom: 14px;
  width: 34px; height: 34px;
  border: 1px solid rgba(245,241,232,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hi);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.gallery a:hover .zoom-ic { opacity: 1; transform: translateY(0); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: left; border-top: 1px solid var(--ink-line); padding-top: 18px; }
.section--paper .stat, .section--dim .stat { border-color: var(--paper-line); }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); display: block; }
.stat .lbl { font-size: .84rem; color: var(--text-mid); }
.section--paper .stat .lbl, .section--dim .stat .lbl { color: var(--ink-text-mid); }

/* Quote / testimonial */
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 30px;
  max-width: 760px;
}
.quote-block p { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-style: italic; color: var(--text-hi); }
.section--paper .quote-block p, .section--dim .quote-block p { color: var(--ink-text-hi); }
.quote-block cite { font-style: normal; font-size: .85rem; color: var(--text-dim); letter-spacing: .04em; }

/* Marquee strip */
.marquee-strip {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink-soft);
}
.marquee-track {
  display: flex; gap: 60px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex; align-items: center; gap: 60px;
  user-select: none;
}
.marquee-track span::after { content: '·'; color: var(--gold-dim); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 130px) 0;
  text-align: center;
}
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-soft); border-top: 1px solid var(--ink-line); padding: 74px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--ink-line);
}
.footer-grid img { height: 30px; margin-bottom: 18px; }
.footer-grid p { color: var(--text-mid); font-size: .92rem; max-width: 300px; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col li { color: var(--text-mid); font-size: .92rem; }
.footer-col a { color: inherit; font-size: inherit; transition: color .3s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: .8rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold-light); }

.footer-social {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  margin-top: 18px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--text-mid);
  transition: color .3s ease, border-color .3s ease;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { color: var(--gold-light); border-color: var(--gold-dim); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); }
.info-card { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--paper-line); display: flex; align-items: center; justify-content: center; color: var(--gold-dim); }
.info-item h4 { margin: 0 0 .2em; font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-text-mid); }
.info-item p { margin: 0; color: var(--ink-text-hi); }
.info-item a { color: var(--ink-text-hi); }
.info-item a:hover { color: var(--gold-dim); }

.form-grid { display: grid; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-text-mid); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--paper-line);
  padding: 12px 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-text-hi);
  transition: border-color .3s ease;
  user-select: text;
  cursor: text;
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field small { display: block; margin-top: 6px; color: var(--ink-text-mid); font-size: .78rem; }
.form-note { font-size: .84rem; color: var(--ink-text-mid); margin-top: 14px; }

.map-frame {
  border: 1px solid var(--paper-line);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }


/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,7,6,.94);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lightbox figure { margin: 0; max-width: 1100px; max-height: 84vh; position: relative; }
.lightbox img {
  max-width: 100%; max-height: 84vh; object-fit: contain;
  opacity: 0; transform: scale(.96);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.lightbox.is-open img { opacity: 1; transform: scale(1); }
.lightbox figcaption { text-align: center; color: var(--text-dim); font-size: .82rem; margin-top: 14px; letter-spacing: .04em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none; border: 1px solid rgba(245,241,232,.3);
  color: var(--text-hi);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox-close { top: -60px; right: 0; }
.lightbox-prev { left: -66px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -66px; top: 50%; transform: translateY(-50%); }

/* ---------- Case studies (Uitgelicht) ---------- */
.case-index { display: grid; gap: 2px; background: var(--ink-line); }
.case-index-item {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: clamp(24px, 4vw, 60px);
  background: var(--ink);
  padding: clamp(28px, 4vw, 48px) 0;
  align-items: end;
}
.case-index-item .case-num { font-family: var(--serif); font-size: .95rem; color: var(--gold-dim); }
.case-index-item h3 { margin-bottom: .25em; color: var(--text-hi); }
.case-index-item .lede, .case-index-item p:not(.eyebrow) { color: var(--text-mid); }
.case-index-item .case-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.case-tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--ink-line); padding: 6px 12px; border-radius: 20px; }

.case-hero { position: relative; }
.case-hero .case-credits {
  display: flex; flex-wrap: wrap; gap: 32px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--ink-line);
}
.case-credits dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.case-credits dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: var(--text-hi); }
.section--paper .case-hero .case-credits, .section--dim .case-hero .case-credits { border-color: var(--paper-line); }
.section--paper .case-credits dt, .section--dim .case-credits dt { color: var(--ink-text-mid); }
.section--paper .case-credits dd, .section--dim .case-credits dd { color: var(--ink-text-hi); }

.case-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.case-block img, .case-block video { width: 100%; height: 100%; object-fit: cover; }
.case-block.is-single { grid-template-columns: 1fr; }
.case-figure { position: relative; overflow: hidden; background: var(--ink-soft); }
.case-figure img { transition: transform 1.4s var(--ease); }
.case-figure:hover img { transform: scale(1.04); }
.case-caption { margin-top: 14px; font-size: .82rem; color: var(--text-dim); letter-spacing: .02em; }

.video-frame { position: relative; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16/10; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame.is-portrait { aspect-ratio: 9/16; max-width: 380px; cursor: default; }
.video-frame.is-portrait video { object-fit: contain; }
.video-frame .play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(14,13,12,.55);
  border: 1px solid rgba(245,241,232,.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hi);
  transition: background-color .35s ease, transform .35s var(--ease), opacity .4s ease;
}
.video-frame .play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.video-frame:hover .play-btn { background: var(--gold); color: #171410; transform: scale(1.08); }
.video-frame.is-playing .play-btn { opacity: 0; pointer-events: none; transition: opacity .3s ease; }

.case-num-large { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); color: var(--gold-dim); opacity: .5; line-height: 1; }

/* ---------- Magnetic buttons ---------- */
.btn { will-change: transform; }

/* ---------- Stat pop on count finish ---------- */
.stat .num { display: inline-block; transition: transform .4s var(--ease); }
.stat .num.is-done { animation: statPop .5s var(--ease); }
@keyframes statPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ---------- Logo hover ---------- */
.brand img { transition: filter .4s ease, transform .5s var(--ease); }
.brand:hover img { filter: brightness(1.15); transform: scale(1.03); }

/* ---------- Cursor glow on dark CTA bands ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band.has-glow::before {
  content: '';
  position: absolute;
  left: var(--glow-x, 50%); top: var(--glow-y, 50%);
  width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,161,90,.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 0;
}
.cta-band.has-glow:hover::before { opacity: 1; }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink-line); }
.section--paper .faq-item, .section--dim .faq-item { border-color: var(--paper-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-hi);
}
.section--paper .faq-item summary, .section--dim .faq-item summary { color: var(--ink-text-hi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  position: relative;
}
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transition: transform .3s var(--ease);
}
.faq-item .faq-icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq-item .faq-icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-item .faq-answer { padding: 0 0 28px; max-width: 640px; }
.faq-item .faq-answer p { color: var(--text-mid); margin: 0; }
.section--paper .faq-item .faq-answer p, .section--dim .faq-item .faq-answer p { color: var(--ink-text-mid); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 190;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.5);
  transform: scale(0);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s ease;
  margin-bottom: env(safe-area-inset-bottom, 0);
}
.wa-float.is-visible { transform: scale(1); opacity: 1; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
body.has-cookie-banner .wa-float { bottom: calc(20px + var(--cookie-bar-h, 0px)); }

/* ---------- Trust badges ---------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}
.trust-badges.is-centered { justify-content: center; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--text-mid);
}
.section--paper .trust-badge, .section--dim .trust-badge { color: var(--ink-text-mid); }
.trust-badge .tick {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.trust-badge .tick svg { width: 11px; height: 11px; }

/* ---------- Cookie consent ---------- */
.cookie-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  box-shadow: 0 -14px 34px -14px rgba(0,0,0,.5);
}
.cookie-bar.is-ready { display: block; }
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-bar-text { flex: 1 1 380px; }
.cookie-bar p { margin: 0; color: var(--text-mid); font-size: .88rem; line-height: 1.6; }
.cookie-bar p strong { color: var(--text-hi); }
.cookie-bar p a { color: var(--gold-light); text-decoration: underline; cursor: pointer; }
.cookie-bar-categories { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.cookie-bar-categories[hidden] { display: none; }
.cookie-toggle { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; color: var(--text-hi); cursor: pointer; }
.cookie-toggle input { margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.cookie-toggle small { display: block; font-size: .74rem; color: var(--text-dim); font-weight: 400; margin-top: 2px; }
.cookie-toggle.is-locked { opacity: .55; }
.cookie-toggle.is-locked input { cursor: default; }
.cookie-bar-actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.cookie-bar .btn { padding: 12px 22px; font-size: .76rem; }
.cookie-bar-actions .btn[hidden] { display: none; }

@media (max-width: 640px) {
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .btn { flex: 1; }
}

/* ---------- Map placeholder (before cookie consent) ---------- */
.map-frame { position: relative; }
.map-frame .map-consent-notice {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  background: var(--paper-dim);
}
.map-frame .map-consent-notice p { max-width: 380px; color: var(--ink-text-mid); font-size: .9rem; margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .main-nav { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 205; background: var(--ink); flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 0 40px; transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a:not(.btn) { font-size: 1.6rem; font-family: var(--serif); text-transform: none; letter-spacing: 0; }
  .main-nav .nav-cta { margin-top: 20px; }
  .nav-toggle { display: block; }
}

@media (max-width: 900px) {
  .split, .split.is-reverse { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
  .split-media .frame-tag { left: 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox-prev, .lightbox-next { display: none; }

  .case-index-item { grid-template-columns: 1fr; align-items: start; }
  .case-block { grid-template-columns: 1fr; }
  .case-hero .case-credits { gap: 22px 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .gallery, .stats { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 170px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 20px; }
}
