/* ==========================================================================
   WKC Construct — design system
   Dark graphite + champagne gold. No frameworks, no runtime CSS deps.
   ========================================================================== */

/* --- Fonts (self-hosted: no render-blocking request to Google) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/inter-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/inter-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #121316;
  --bg-deep:       #0C0D0F;
  --surface:       #17191D;
  --surface-2:     #1E2126;
  --surface-3:     #25282E;
  --line:          #2B2F36;
  --line-strong:   #3A3F48;

  /* Accent */
  --gold:          #D4A359;
  --gold-bright:   #E6BC77;
  --gold-deep:     #A87C36;
  --gold-wash:     rgba(212, 163, 89, 0.12);
  --gold-edge:     rgba(212, 163, 89, 0.32);

  /* Type */
  --text:          #FFFFFF;
  --text-soft:     #C9CDD5;
  --text-muted:    #8E95A1;
  --text-faint:    #6B7280;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.875rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.34vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.72vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.45vw, 2.85rem);
  --step-4:  clamp(2.30rem, 1.70rem + 2.90vw, 4.30rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.8rem + 1.6vw, 2.5rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.28);
  --shadow:    0 14px 40px rgba(0,0,0,.42);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .45s;

  --header-h: 76px;
  --max: 1240px;
  --max-narrow: 800px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: #101114; }

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--text); }

.lead {
  font-size: var(--step-1);
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 300;
}
.muted { color: var(--text-muted); }
.gold { color: var(--gold); }
.center { text-align: center; }

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.section--alt { background: var(--bg-deep); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); margin-top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 200;
  background: var(--gold);
  color: #101114;
  padding: .7rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .2s var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #17120A;
  box-shadow: 0 10px 28px rgba(212,163,89,.22);
}
.btn--primary:hover {
  box-shadow: 0 16px 40px rgba(212,163,89,.34);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --- Badges ------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--gold-edge);
  background: var(--gold-wash);
  color: var(--gold-bright);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.badge svg { flex: none; }
.badge-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(18,19,22,.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo__mark {
  width: 38px; height: 38px;
  flex: none;
  display: block;
  color: var(--gold);          /* drives the whole mark via currentColor */
  transition: color .3s var(--ease);
}
.logo:hover .logo__mark { color: var(--gold-bright); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.logo__sub {
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.5rem, .2rem + 1vw, 1.6rem); }
.nav__link {
  position: relative;
  padding: .5rem .2rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text-soft);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }

/* Language switcher */
.lang { position: relative; }
.lang__toggle {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lang__toggle:hover { border-color: var(--gold-edge); color: var(--gold); }
.lang__toggle svg { transition: transform .3s var(--ease); }
.lang__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  min-width: 190px;
  padding: .4rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__option {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  color: var(--text-soft);
  text-align: left;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang__option:hover { background: var(--surface-3); color: var(--text); }
.lang__option[aria-selected="true"] { color: var(--gold); background: var(--gold-wash); }
.lang__code {
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  min-width: 2ch;
  color: var(--text-faint);
}
.lang__option[aria-selected="true"] .lang__code { color: var(--gold); }

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  transition: border-color .3s var(--ease);
}
.burger:hover { border-color: var(--gold-edge); }
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 1.5px;
  margin: -.75px 0 0 -10px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(18,19,22,.72) 42%, rgba(18,19,22,.45) 100%),
    linear-gradient(to right, rgba(18,19,22,.9) 0%, rgba(18,19,22,.35) 60%, transparent 100%);
}
/* Same centered column as .header__inner (max-width + margin-inline: auto
   from .wrap) so the hero text's left edge always lines up with the logo,
   at any viewport width. Readable measure is capped on .hero__text instead
   of on this container, so badges/heading aren't artificially narrowed. */
.hero__inner { position: relative; }
.hero__title { margin-block: 1.4rem 1.3rem; }
.hero__title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero__text { max-width: 54ch; margin-bottom: 2.2rem; }
.hero__text-short { display: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero--page {
  min-height: auto;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 7rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero--page .hero__media::after {
  background: linear-gradient(to top, var(--bg) 4%, rgba(18,19,22,.8) 60%, rgba(18,19,22,.6) 100%);
}
.hero--flat {
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(212,163,89,.14), transparent 65%),
    radial-gradient(700px 420px at 92% 8%, rgba(212,163,89,.07), transparent 60%),
    var(--bg);
}

/* --- Trust bar ---------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  background: var(--bg-deep);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 1.4rem;
  text-align: center;
}
.trust__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.trust__label {
  display: block;
  margin-top: .6rem;
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--gold-edge);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
  filter: saturate(.92) brightness(.92);
}
.card:hover .card__media img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.card__body { padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: .7rem; }
.card__text { color: var(--text-muted); font-size: var(--step-0); }
.card__foot { margin-top: auto; padding-top: 1.4rem; }

.card__index {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .1em;
  display: block;
  margin-bottom: .7rem;
}

/* Icon card (no photo) */
.icon-card {
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-card:hover { border-color: var(--gold-edge); transform: translateY(-4px); }
.icon-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold-wash);
  border: 1px solid var(--gold-edge);
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.icon-card h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.icon-card p { color: var(--text-muted); font-size: var(--step--1); }

/* Feature list */
.ticks { display: grid; gap: .85rem; }
.ticks li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: var(--step-0);
}
.ticks svg { flex: none; margin-top: .35em; color: var(--gold); }
.ticks--grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .85rem 2rem; }

/* Split section */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--reverse > :first-child { order: 2; } }

.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.frame--wide img { aspect-ratio: 4/3; }
.frame--tall img { aspect-ratio: 3/4; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(0,0,0,.5);
  pointer-events: none;
}

.stat-strip { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.4rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat__label {
  font-size: var(--step--1);
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .4rem;
  display: block;
}

/* --- Before / After slider ---------------------------------------------- */
.ba {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  user-select: none;
  touch-action: pan-y;
  background: var(--surface-2);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--gold);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(212,163,89,.65);
}
.ba__knob {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(18,19,22,.82);
  border: 1.5px solid var(--gold);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.ba__tag {
  position: absolute;
  top: 1rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(12,13,15,.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  pointer-events: none;
  z-index: 2;
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; border-color: var(--gold-edge); color: var(--gold); }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 3;
}

/* --- Quote calculator --------------------------------------------------- */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  box-shadow: var(--shadow);
}
.calc__steps {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 2.2rem;
}
.calc__step {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  transition: color .3s var(--ease);
}
.calc__step-num {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: .78rem;
  font-weight: 700;
  transition: all .3s var(--ease);
}
.calc__step.is-active { color: var(--text); }
.calc__step.is-active .calc__step-num { border-color: var(--gold); color: var(--gold); background: var(--gold-wash); }
.calc__step.is-done .calc__step-num { background: var(--gold); border-color: var(--gold); color: #17120A; }
.calc__step-line { flex: 1; height: 1px; background: var(--line-strong); min-width: 12px; }
.calc__step-label { display: none; }
@media (min-width: 720px) { .calc__step-label { display: inline; } }

.calc__panel { animation: fade-up .45s var(--ease) both; }
.calc__panel h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.calc__panel > p { color: var(--text-muted); font-size: var(--step--1); margin-bottom: 1.6rem; }
.calc__nav { display: flex; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.calc__nav .btn { flex: 1 1 auto; min-width: 140px; }

.choice-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.choice__box:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.choice input:checked + .choice__box {
  border-color: var(--gold);
  background: var(--gold-wash);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice__name { font-weight: 600; font-size: var(--step-0); }
.choice__hint { font-size: .78rem; color: var(--text-muted); }

/* --- Forms -------------------------------------------------------------- */
.field { display: block; margin-bottom: 1.15rem; }
.field__label {
  display: block;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-soft);
  margin-bottom: .5rem;
}
.field__req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--step-0);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-3);
}
.textarea { resize: vertical; min-height: 140px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E95A1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.select option { background: var(--surface-2); color: var(--text); }
.field-row { display: grid; gap: 0 1.15rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--step--1); color: var(--text-muted); }
.consent input { margin-top: .3em; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }

.form-note { font-size: .78rem; color: var(--text-faint); margin-top: 1rem; }

.form-status {
  margin-top: 1.1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.form-status--ok { border-color: rgba(120,190,140,.4); color: #9BD6AE; background: rgba(120,190,140,.08); }
.form-status--err { border-color: rgba(220,120,120,.4); color: #E8A0A0; background: rgba(220,120,120,.08); }

/* Estimate readout */
.estimate {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--gold-edge);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-wash), transparent);
}
.estimate__label {
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.estimate__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--gold);
  margin-top: .3rem;
  line-height: 1.1;
}
.estimate__note { font-size: .75rem; color: var(--text-faint); margin-top: .6rem; }
.estimate__list { margin-top: 1rem; display: grid; gap: .4rem; font-size: var(--step--1); }
.estimate__list > div { display: flex; justify-content: space-between; gap: 1rem; }
.estimate__list dt { color: var(--text-muted); }
.estimate__list dd { margin: 0; color: var(--text-soft); text-align: right; }

/* --- Gallery ------------------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.8rem;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: .04em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 6px 18px rgba(0, 0, 0, .25);
  transition: all .3s var(--ease);
}
.filter:hover {
  border-color: var(--gold-edge);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 24px rgba(0, 0, 0, .35);
}
.filter:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.filter[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: var(--gold);
  color: #17120A;
  font-weight: 600;
  transform: none;
  box-shadow: 0 8px 24px rgba(212, 163, 89, .3);
}
.filter__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 .45em;
  border-radius: 999px;
  background: var(--gold-wash);
  color: var(--gold);
  font-size: .75em;
  font-weight: 600;
  letter-spacing: 0;
}
.filter__count:empty { display: none; }
.filter[aria-pressed="true"] .filter__count {
  background: rgba(23, 18, 10, .15);
  color: #17120A;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(.7rem, .4rem + 1vw, 1.25rem);
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: zoom-in;
  padding: 0;
  animation: fade-up .5s var(--ease) both;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: saturate(.9) brightness(.88);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); filter: saturate(1) brightness(1); }
.tile__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem .95rem .9rem;
  background: linear-gradient(to top, rgba(12,13,15,.92), transparent);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: translateY(0); }
.tile__cat {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.tile__name { font-size: var(--step--1); color: var(--text); font-weight: 500; }

/* Level 1 — one card per project */
.gallery--projects {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.project-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  animation: fade-up .5s var(--ease) both;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.project-card:hover,
.project-card:focus-visible {
  border-color: var(--gold-edge);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-2);
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92) brightness(.9);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.project-card:hover .project-card__media img,
.project-card:focus-visible .project-card__media img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}
.project-card__count {
  position: absolute;
  top: .85rem; right: .85rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(12,13,15,.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.project-card__body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
  padding: 1.3rem 1.4rem 1.5rem;
}
.project-card__cat {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .9rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-card__cta svg { transition: transform .3s var(--ease); }
.project-card:hover .project-card__cta svg { transform: translateX(5px); }

/* Level 2 — the photos of one project */
.detail-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.2rem 2rem;
  margin-bottom: .8rem;
  animation: fade-up .4s var(--ease) both;
}
.detail-head__text { flex: 1 1 260px; }
.detail-head__cat {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.detail-head h2 { font-size: var(--step-2); margin: .3rem 0 .2rem; }
.detail-head p { font-size: var(--step--1); }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.back-btn:hover { border-color: var(--gold); color: var(--gold); }
.back-btn svg { transition: transform .3s var(--ease); }
.back-btn:hover svg { transform: translateX(-4px); }

.gallery-empty {
  grid-column: 1 / -1;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.gallery-empty h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.gallery-empty p { color: var(--text-muted); max-width: 46ch; margin-inline: auto; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: clamp(1rem, .5rem + 2vw, 3rem);
  /* keep the photo clear of the prev/next buttons on the sides */
  padding-inline: calc(48px + clamp(1rem, 3vw, 3rem));
  background: rgba(8,9,10,.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: min(1180px, 100%);
  min-width: 0;           /* grid items default to min-width:auto and overflow */
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  animation: zoom-in .35s var(--ease) both;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  text-align: center;
  overflow-wrap: anywhere;
  padding-inline: .5rem;
  font-size: var(--step--1);
  color: var(--text-muted);
}
.lightbox__caption b { color: var(--gold); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(24,26,30,.8);
  color: var(--text);
  z-index: 2;             /* always above the (animated) photo */
  backdrop-filter: blur(6px);
  transition: all .3s var(--ease);
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--surface-3); }
.lb-close { top: clamp(1rem,2vw,2rem); right: clamp(1rem,2vw,2rem); }
.lb-prev { left: clamp(.5rem,2vw,2rem); top: 50%; translate: 0 -50%; }
.lb-next { right: clamp(.5rem,2vw,2rem); top: 50%; translate: 0 -50%; }

/* Phones: photo uses the full width, prev/next sit in a row below it */
@media (max-width: 700px) {
  .lightbox {
    padding: 4.5rem .75rem 6.5rem;
  }
  .lightbox__img { max-height: calc(100vh - 14rem); }
  .lb-prev, .lb-next {
    top: auto;
    bottom: 1.5rem;
    translate: none;
  }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* --- Map ---------------------------------------------------------------- */
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.map-card iframe {
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  border: 0;
  display: block;
  filter: grayscale(1) invert(.92) contrast(.86) hue-rotate(180deg);
}
.map-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem clamp(1.2rem, 1rem + 1vw, 1.8rem);
  border-top: 1px solid var(--line);
}
.map-card__place { display: flex; align-items: center; gap: .8rem; }
.map-card__place svg { color: var(--gold); flex: none; }
.map-card__name { font-weight: 600; }
.map-card__addr { font-size: var(--step--1); color: var(--text-muted); }

/* --- Contact ------------------------------------------------------------ */
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--gold-wash);
  border: 1px solid var(--gold-edge);
  color: var(--gold);
}
.contact-row__label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-row__value { font-weight: 500; }
a.contact-row__value:hover { color: var(--gold); }

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.35);
  color: #4FE38A;
  font-size: var(--step--1);
  font-weight: 600;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.wa-link:hover { background: rgba(37,211,102,.18); transform: translateY(-2px); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-edge);
  padding: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(212,163,89,.16), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--text-soft); max-width: 54ch; margin: 0 auto 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* --- Timeline ----------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 2.2rem; padding-left: 2.2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: .5rem; bottom: .5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--line) 70%);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: .55rem;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--bg);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--gold);
  display: block;
  margin-bottom: .3rem;
}
.timeline__item h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.timeline__item p { color: var(--text-muted); }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3rem;
}
.footer__brand { max-width: 34ch; }
.footer__brand p { color: var(--text-muted); font-size: var(--step--1); margin-top: 1.2rem; }
.footer__title {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__list { display: grid; gap: .7rem; }
.footer__list a, .footer__list span { color: var(--text-muted); font-size: var(--step--1); transition: color .25s var(--ease); }
.footer__list a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--text-faint);
}
.footer__credit a { color: var(--text-muted); transition: color .2s var(--ease); }
.footer__credit a:hover { color: var(--gold); }

/* --- Cookie consent ----------------------------------------------------- */
.cookie {
  position: fixed;
  z-index: 200;
  left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 460px;
  margin-left: auto;
  padding: 1.4rem 1.4rem 1.2rem;
  background: rgba(23,25,29,.97);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  font-size: var(--step--1);
  color: var(--text-soft);
  animation: cookie-in .45s var(--ease) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.cookie[hidden] { display: none; }
.cookie__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.cookie__prefs { display: grid; gap: .2rem; margin-top: 1rem; }
.cookie__prefs[hidden] { display: none; }
.cookie__pref {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .65rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.cookie__pref input { margin-top: .2rem; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.cookie__pref strong { display: block; color: var(--text); font-weight: 600; }
.cookie__pref small { display: block; color: var(--text-muted); font-size: .78rem; line-height: 1.45; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.cookie__actions .btn { flex: 1 1 auto; padding: .7rem 1.1rem; font-size: .72rem; }
.cookie__link {
  display: block;
  margin: .9rem auto 0;
  font-size: .78rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie__link:hover { color: var(--gold); }
.footer__cookies { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__cookies:hover { color: var(--gold); }

/* Map placeholder until external media is allowed */
.map-consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  height: clamp(280px, 38vw, 460px);
  padding: 1.5rem;
  text-align: center;
  font-size: var(--step--1);
  color: var(--text-muted);
  background:
    radial-gradient(420px 220px at 50% 40%, var(--gold-wash), transparent 70%),
    var(--surface);
}
.map-consent p { max-width: 34ch; }

/* --- Animation ---------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes zoom-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: rgba(18,19,22,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.8rem;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 1rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step-0);
  }
  .nav__link::after { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: .5rem; }
  .header__actions .btn--primary { display: none; }
  .header.is-menu-open {
    background: rgba(18,19,22,.97);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
  }
}

@media (max-width: 560px) {
  .logo__sub { display: none; }
  .header__inner { gap: .75rem; }
  .lang__toggle { padding: .5rem .7rem; }
  .hero { min-height: 88svh; padding-bottom: 2.5rem; }
  .badge-row { gap: .5rem; }
  .badge { padding: .4rem .8rem; gap: .4rem; font-size: .72rem; letter-spacing: .04em; }
  .badge svg { width: 12px; height: 12px; }
  .hero__title { margin-block: 1.1rem .9rem; }
  .hero__text { margin-bottom: 1.8rem; }
  .hero__text-long { display: none; }
  .hero__text-short { display: inline; }
  .hero__cta { gap: .7rem; }
  .hero__cta .btn { width: 100%; padding-block: .85rem; }
  .footer__bottom { justify-content: flex-start; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .stat-strip { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .lightbox, .filters, .calc { display: none; }
  body { background: #fff; color: #000; }
}
