/* ============================================================
   UNION PROJEKT BAU — design system
   Swiss / technical-editorial · concrete paper · signal orange
   ============================================================ */

:root {
  /* Union Projekt Bau brand palette (unionpb.it) */
  --paper: #F7F5F0;
  --paper-2: #EDEBE6;
  --ink: #16181B;
  --ink-soft: #4A4E54;
  --line: rgba(22, 24, 27, 0.16);
  --line-strong: rgba(22, 24, 27, 0.55);
  --accent: #3D9FD4;
  --accent-deep: #2B7DAB;
  --accent-soft: #E8F3F9;
  --accent-ink: #FFFFFF;
  --dark: #10161B;
  --dark-2: #182027;
  --dark-line: rgba(232, 243, 249, 0.16);
  --dark-text: #EAF0F4;

  --font-display: "Jost", "Futura", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Space Mono", monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(5rem, 12vh, 9rem);
  --radius: 2px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14181C;
    --paper-2: #1A1F25;
    --ink: #EAF0F4;
    --ink-soft: #A9B4BC;
    --line: rgba(234, 240, 244, 0.14);
    --line-strong: rgba(234, 240, 244, 0.5);
    --dark: #0B0F13;
    --dark-2: #11161B;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--dark); color: var(--dark-text);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
}
.preloader__inner { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem; }
.preloader__logo { height: clamp(64px, 14vw, 120px); width: auto; }
.preloader__count { font-family: var(--font-mono); font-size: clamp(1rem, 3vw, 1.6rem); color: var(--accent); }
.preloader__bar { height: 2px; background: var(--dark-line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--gutter);
  color: #fff; /* over hero photo */
  transition: transform 0.5s var(--ease-out), background 0.3s, box-shadow 0.3s, color 0.3s;
}
.nav.is-scrolled { color: var(--ink); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 46px; width: auto; }
.nav__logo-img--pos { display: none; mix-blend-mode: multiply; }
.nav.is-scrolled .nav__logo-img--neg { display: none; }
.nav.is-scrolled .nav__logo-img--pos { display: block; }
.nav__links { display: none; gap: 1.8rem; }
.nav__links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  position: relative; padding: 0.25rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__clock { display: none; color: currentColor; opacity: 0.75; }
.nav__burger {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 7px;
}
.nav__burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease-out), opacity 0.2s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark); color: var(--dark-text);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6rem var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-snap);
}
.menu.is-open { clip-path: inset(0 0 0% 0); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 900; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.18;
  border-bottom: 1px solid var(--dark-line); padding: 0.4rem 0;
  transition: color 0.25s, padding-left 0.35s var(--ease-out);
}
.menu__links a:hover { color: var(--accent); padding-left: 0.6rem; }
.menu__links i { font-style: normal; color: var(--accent); font-size: 0.7rem; }
.menu__foot { display: flex; flex-direction: column; gap: 0.4rem; color: var(--ink-soft); }
.menu__foot a { color: var(--dark-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--ink); color: var(--paper);
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 44px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%); transition: transform 0.4s var(--ease-snap);
  border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--accent-ink); }
.btn__orb {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex: 0 0 auto; margin-right: -0.45rem; font-style: normal;
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), background 0.3s;
}
.btn__orb svg { width: 11px; height: 11px; }
.btn:hover .btn__orb { transform: translate(2px, -2px) scale(1.08); background: rgba(255, 255, 255, 0.28); }
.btn:active { scale: 0.97; }
.btn--small { font-size: 0.72rem; padding: 0.6rem 1.1rem; }
.btn--big { font-size: 0.9rem; padding: 1.1rem 1.9rem; }
.btn--ghost { background: transparent; color: var(--dark-text); box-shadow: inset 0 0 0 1.5px var(--dark-line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- section heads ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-strong);
  padding-top: 0.8rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head__num { color: var(--accent); }
.section-head__label { color: var(--ink-soft); }
.section-head--light { border-color: var(--dark-line); }
.section-head--light .section-head__label { color: rgba(237, 234, 226, 0.55); }

/* ---------- 01 hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7rem var(--gutter) 0;
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center top; will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 21, 28, 0.42) 0%, rgba(13, 21, 28, 0.28) 38%, rgba(13, 21, 28, 0.82) 100%),
    linear-gradient(75deg, rgba(13, 21, 28, 0.55) 0%, rgba(13, 21, 28, 0) 60%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 90% at 50% 10%, black 0%, transparent 75%);
  opacity: 0.6;
}
.hero__contours {
  position: absolute; inset: -5% -2%; pointer-events: none; color: #fff;
  opacity: 0.14;
}
.hero__contours-img { width: 100%; height: 100%; object-fit: cover; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  color: rgba(255, 255, 255, 0.78); margin-bottom: clamp(1.5rem, 4vh, 3rem);
  position: relative;
}
.reveal-chip { display: inline-block; }
.hero__title {
  position: relative;
  font-weight: 900; font-stretch: 120%;
  font-size: clamp(2.35rem, 9.2vw, 8.6rem);
  line-height: 0.92; letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}
.hero__line { display: block; overflow: hidden; padding-block: 0.04em; }
.hero__line--mid { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.hero__word { display: inline-block; }
.hero__word--outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}
.hero__word--serif {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: 0;
  font-size: 1.04em; line-height: 0.9;
  position: relative; padding-right: 0.06em;
}
.hero__brush {
  position: absolute; left: -1%; bottom: -0.06em;
  width: 102%; height: 0.16em;
  color: var(--accent); overflow: visible;
  pointer-events: none;
}
.hero__word--accent { color: var(--accent); }
.hero__lvl { width: clamp(60px, 8vw, 120px); color: var(--accent); flex: 0 0 auto; }
.hero__bottom {
  position: relative;
  display: flex; flex-direction: column; gap: 1.8rem;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.hero__sub { max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.85); }
.hero__cta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__scrollhint { display: inline-flex; align-items: center; gap: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.hero__scrollline { display: inline-block; width: 56px; height: 1px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; }
.hero__scrollline::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: scrollline 2.2s var(--ease-snap) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* marquee */
.marquee {
  position: relative;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  overflow: hidden; padding: 0.85rem 0;
  margin: 0 calc(var(--gutter) * -1);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content; will-change: transform;
  font-weight: 800; font-stretch: 115%; letter-spacing: 0.06em;
  font-size: 0.95rem; text-transform: uppercase; white-space: nowrap;
}
.marquee__track i, .footer__marqueetrack i { font-style: normal; color: var(--accent); font-size: 0.7em; }

/* ---------- 02 manifesto ---------- */
.manifesto { padding: var(--section-pad) var(--gutter); }
.manifesto__text {
  font-size: clamp(1.6rem, 4.4vw, 3.4rem);
  font-weight: 650; font-stretch: 105%;
  line-height: 1.18; letter-spacing: -0.015em;
  max-width: 22ch + 10ch; max-width: 32ch;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.manifesto__text .w { display: inline-block; opacity: 0.12; transition: opacity 0.3s linear; }
.manifesto__row { display: grid; gap: 3rem; }
.manifesto__fig { position: relative; color: var(--ink); }
.manifesto__fig img { width: min(100%, 560px); }
.manifesto__figcap { display: block; margin-top: 1rem; color: var(--ink-soft); }
.manifesto__aside p { font-size: 1.05rem; color: var(--ink-soft); max-width: 36rem; margin-bottom: 2.2rem; }
.manifesto__facts li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); padding: 0.8rem 0;
}
.manifesto__facts b { color: var(--accent); font-weight: 700; }
.manifesto__facts span { color: var(--ink); }

/* ---------- 03 services ---------- */
.services {
  position: relative;
  background: var(--dark); color: var(--dark-text);
  padding: var(--section-pad) var(--gutter);
}
.services .section-head { border-color: var(--dark-line); }
.services .section-head__label { color: rgba(237, 234, 226, 0.55); }
.services__title {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 900; font-stretch: 118%; line-height: 0.95;
  letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
.services__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 1.06em;
  color: var(--dark-text);
}
.services__list { border-top: 1px solid var(--dark-line); }
.service { border-bottom: 1px solid var(--dark-line); }
.service a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 0.4rem 1.2rem; padding: 1.2rem 0.2rem;
  position: relative; isolation: isolate; overflow: hidden;
  transition: padding 0.4s var(--ease-out), color 0.3s;
}
.service a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease-snap);
}
.service a:hover::before, .service a:focus-visible::before { transform: scaleY(1); }
.service a:hover, .service a:focus-visible { color: var(--accent-ink); padding-left: 1rem; padding-right: 1rem; }
.service__num { color: var(--accent); grid-row: span 2; align-self: start; padding-top: 0.35em; }
.service a:hover .service__num { color: var(--accent-ink); }
.service__name {
  font-size: clamp(1.25rem, 3.4vw, 2.4rem);
  font-weight: 800; font-stretch: 112%; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.service__name sup { font-size: 0.45em; color: var(--accent); vertical-align: super; }
.service a:hover .service__name sup { color: var(--accent-ink); }
.service__desc { grid-column: 2; font-size: 0.88rem; color: rgba(237, 234, 226, 0.6); max-width: 44ch; }
.service a:hover .service__desc { color: rgba(255, 255, 255, 0.85); }
.service__arrow {
  grid-row: span 2; font-size: 1.6rem;
  transform: translateX(-8px) rotate(-45deg); opacity: 0.4;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.service a:hover .service__arrow { transform: translateX(0) rotate(0deg); opacity: 1; }
.service__preview {
  position: fixed; z-index: 60; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--paper);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  display: none; align-items: center; justify-content: center;
  overflow: hidden;
  opacity: 0; transform: scale(0.9) rotate(-2deg);
}
.service__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 04 method ---------- */
.method { background: var(--paper-2); }
.method__pin {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem var(--gutter) 3rem; overflow: hidden;
}
.method__track { display: flex; gap: clamp(1.5rem, 4vw, 4rem); width: max-content; align-items: stretch; }
.phase {
  width: min(82vw, 760px); flex: 0 0 auto;
  display: flex; gap: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid var(--line-strong); background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.8rem);
  position: relative;
}
.phase__num {
  font-size: clamp(5rem, 13vw, 11rem); font-weight: 900; font-stretch: 125%;
  line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--accent);
  flex: 0 0 auto;
}
.phase__body { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.phase__tag { color: var(--accent); }
.phase__body h3 {
  font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 850; font-stretch: 110%;
  line-height: 1.02; text-transform: uppercase; letter-spacing: -0.015em;
}
.phase__body p { color: var(--ink-soft); max-width: 42ch; font-size: 0.98rem; }
.phase__fig { width: 100%; aspect-ratio: 16 / 9; margin-top: auto; }
.method__progress { height: 2px; background: var(--line); margin-top: 2.5rem; }
.method__progress span { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ---------- 05 numbers ---------- */
.numbers {
  position: relative; background: var(--dark); color: var(--dark-text);
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}
.numbers__blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(100% 100% at 50% 50%, black 0%, transparent 80%);
}
.numbers__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--dark-line);
}
.numbers__cell {
  border-bottom: 1px solid var(--dark-line);
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.numbers__value {
  font-size: clamp(3.6rem, 10vw, 8rem); font-weight: 900; font-stretch: 122%;
  line-height: 0.9; letter-spacing: -0.03em; display: flex; align-items: baseline;
}
.numbers__value i { font-style: normal; color: var(--accent); font-size: 0.42em; font-weight: 800; margin-left: 0.12em; white-space: nowrap; }
.numbers__label { color: rgba(237, 234, 226, 0.55); }
.numbers__note { position: relative; margin-top: 2rem; color: rgba(237, 234, 226, 0.35); }

/* ---------- 06 values ---------- */
.values { padding: var(--section-pad) var(--gutter); }
.values__list { border-top: 1px solid var(--line-strong); }
.value { border-bottom: 1px solid var(--line-strong); }
.value__head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 0.2rem; text-align: left; gap: 1rem; min-height: 44px;
}
.value__word {
  font-size: clamp(1.7rem, 5.5vw, 4.2rem); font-weight: 850; font-stretch: 115%;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  transition: color 0.3s, transform 0.4s var(--ease-out);
}
.value__idx { color: var(--ink-soft); transition: color 0.3s; flex: 0 0 auto; }
.value:hover .value__word { transform: translateX(0.4rem); }
.value.is-open .value__word { color: var(--accent); }
.value.is-open .value__idx { color: var(--accent); }
.value__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-snap);
}
.value__body p {
  padding: 0 0.2rem 1.6rem; color: var(--ink-soft);
  max-width: 52ch; font-size: 1.02rem;
}

/* ---------- 07 land id ---------- */
.landid {
  background: var(--dark); color: var(--dark-text);
  padding: var(--section-pad) var(--gutter);
  position: relative; overflow: hidden;
}
.landid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 40%, rgba(61, 159, 212, 0.16) 0%, transparent 70%);
}
.landid__inner { position: relative; display: grid; gap: 3.5rem; }
.landid__copy h2 {
  font-size: clamp(3rem, 10vw, 7.5rem); font-weight: 900; font-stretch: 122%;
  line-height: 0.88; letter-spacing: -0.025em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.landid__copy h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 1.06em;
  color: var(--accent);
}
.landid__copy p { color: rgba(237, 234, 226, 0.7); max-width: 38rem; font-size: 1.05rem; margin-bottom: 2.2rem; }
.landid__copy p b { color: var(--dark-text); }
.landid__cardwrap { position: relative; display: grid; place-items: center; perspective: 1200px; }
.idcard {
  position: relative; width: min(100%, 420px);
  background: linear-gradient(155deg, #23231F 0%, #191917 100%);
  border: 1px solid rgba(237, 234, 226, 0.22);
  border-radius: 14px; padding: 1.3rem;
  display: flex; flex-direction: column; gap: 1rem;
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.idcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, transparent 60%);
}
.idcard__top { display: flex; justify-content: space-between; align-items: center; color: rgba(237, 234, 226, 0.7); }
.idcard__chip {
  width: 34px; height: 24px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  position: relative;
}
.idcard__chip::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(0,0,0,0.35); border-radius: 2px; }
.idcard__map {
  background: var(--paper); color: var(--ink); border-radius: 8px;
  padding: 0.8rem; aspect-ratio: 16 / 8.5; overflow: hidden;
}
.idcard__map img { width: 100%; height: 100%; object-fit: cover; }
.idcard__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.2rem; }
.idcard__rows div { display: flex; flex-direction: column; gap: 0.15rem; border-top: 1px solid rgba(237, 234, 226, 0.14); padding-top: 0.5rem; }
.idcard__rows b { color: var(--accent); font-weight: 700; }
.idcard__rows span { color: var(--dark-text); }
.idcard__foot { display: flex; justify-content: space-between; color: rgba(237, 234, 226, 0.5); }
.idcard__pulse { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); }
.idcard__pulse i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 159, 212, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(61, 159, 212, 0); }
}
.landid__shadow {
  position: absolute; bottom: -8%; width: 60%; height: 30px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(6px);
}

/* ---------- 08 contact ---------- */
.contact { padding: var(--section-pad) var(--gutter) clamp(3rem, 6vw, 5rem); }
.contact__giant {
  display: block; text-transform: uppercase;
  font-weight: 900; font-stretch: 122%;
  font-size: clamp(2.2rem, 7.6vw, 7.2rem);
  line-height: 0.93; letter-spacing: -0.03em;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.contact__giantline { display: block; overflow: hidden; }
.contact__giantline--accent { color: var(--accent); }
.contact__giantline em {
  font-style: normal; display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.contact__giant:hover em { transform: translate(0.08em, -0.08em); }
.contact__giant:hover .contact__giantline--accent { text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.08em; }
.contact__grid { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.contact__cell {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0; display: flex; flex-direction: column; gap: 0.5rem;
}
.contact__label { color: var(--accent); }
.contact__link { font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; font-stretch: 108%; width: fit-content; position: relative; }
.contact__link:not(.contact__link--static)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.contact__link:not(.contact__link--static):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--dark-text); overflow: hidden; }
.footer__marquee { border-bottom: 1px solid var(--dark-line); padding: clamp(1rem, 3vw, 2rem) 0; overflow: hidden; }
.footer__marqueetrack {
  display: flex; gap: 3rem; width: max-content; align-items: center;
  font-size: clamp(2.5rem, 8vw, 6.5rem); font-weight: 900; font-stretch: 122%;
  text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(237, 234, 226, 0.4);
  animation: footmarquee 28s linear infinite;
}
@keyframes footmarquee { to { transform: translateX(-50%); } }
.footer__bar {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.4rem var(--gutter); color: rgba(237, 234, 226, 0.55);
}
.footer__bar a { color: var(--dark-text); }
.footer__bar a:hover { color: var(--accent); }

/* ---------- display typography (brand: Futura-like geometric) ---------- */
.hero__title, .services__title, .service__name, .phase__num, .phase__body h3,
.numbers__value, .value__word, .landid__copy h2, .contact__giant,
.menu__links a, .marquee__track, .footer__marqueetrack {
  font-family: var(--font-display);
}

/* ---------- photo frames with inner parallax ---------- */
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img {
  width: 100%; height: 114%; object-fit: cover;
  will-change: transform; display: block;
}
.manifesto__photo { width: min(100%, 560px); aspect-ratio: 4 / 4.7; }
.ph--draw { background: var(--paper); border: 1px solid var(--line); }
.ph--draw img { object-fit: contain; height: 100%; padding: 4%; }

/* ---------- scroll-reveal primitives ---------- */
.js-reveal { opacity: 0; transform: translateY(40px); }

/* ---------- breakpoints ---------- */
@media (min-width: 720px) {
  .manifesto__row { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .numbers__grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .contact__grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .footer__bar { flex-direction: row; justify-content: space-between; }
  .nav__clock { display: inline; }
}

@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .numbers__grid { grid-template-columns: repeat(4, 1fr); }
  .contact__grid { grid-template-columns: repeat(4, 1fr); }
  .landid__inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .service__preview { display: flex; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-reveal { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .preloader { display: none; }
}
