/* =====================================================================
   IVOR — Birou de arhitectură
   Design system · "foaie de atelier"
   Tokens OKLCH · tipografie editorială · fir de păr ca element grafic
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* culori */
  --paper:        oklch(0.962 0.011 84);
  --paper-2:      oklch(0.936 0.014 82);
  --paper-3:      oklch(0.905 0.016 80);
  --ink:          oklch(0.205 0.012 62);
  --ink-2:        oklch(0.285 0.014 62);
  --ink-3:        oklch(0.38 0.014 62);
  --muted:        oklch(0.50 0.014 62);
  --brass:        oklch(0.665 0.086 72);
  --brass-deep:   oklch(0.52 0.082 68);
  --brass-soft:   oklch(0.80 0.052 78);
  --walnut:       oklch(0.30 0.028 55);
  --steel:        oklch(0.78 0.006 240);
  --line:         color-mix(in oklch, var(--ink) 14%, transparent);
  --line-strong:  color-mix(in oklch, var(--ink) 26%, transparent);
  --line-light:   color-mix(in oklch, var(--paper) 18%, transparent);
  --cream:        oklch(0.955 0.014 86);

  /* tipografie */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --t-hero:  clamp(3.1rem, 7.4vw, 7.4rem);
  --t-h1:    clamp(2.5rem, 5.2vw, 5rem);
  --t-h2:    clamp(1.95rem, 3.4vw, 3.15rem);
  --t-h3:    clamp(1.2rem, 1.65vw, 1.55rem);
  --t-lead:  clamp(1.02rem, 1.32vw, 1.28rem);
  --t-ui:    0.9375rem;
  --t-small: 0.8125rem;
  --t-micro: 0.6875rem;

  /* spațiu */
  --pad: clamp(20px, 4.6vw, 72px);
  --max: 1520px;
  --gap: clamp(16px, 1.5vw, 28px);
  --section: clamp(80px, 10.5vw, 160px);
  --header-h: 82px;
  --header-stuck: 68px;

  /* mișcare */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 900ms;

  /* umbre — doar double-bezel, niciodată diffuse */
  --bezel:
    0 1px 0 0 color-mix(in oklch, var(--ink) 6%, transparent),
    0 18px 40px -24px color-mix(in oklch, var(--ink) 30%, transparent);
}

/* ---------- 2. 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) + 24px);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-ui);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--brass); color: var(--ink); }

/* focus */
:focus-visible {
  outline: 1.5px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--ink) 30%, transparent);
  border: 3px solid var(--paper-2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

/* ---------- 3. TEXTURĂ ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* ---------- 4. TIPOGRAFIE ---------- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.t-hero  { font-size: var(--t-hero); line-height: 0.9; letter-spacing: -0.025em; }
.t-h1    { font-size: var(--t-h1); }
.t-h2    { font-size: var(--t-h2); line-height: 1.02; }
.t-h3    { font-size: var(--t-h3); line-height: 1.24; letter-spacing: -0.012em; }
.t-lead  { font-size: var(--t-lead); line-height: 1.62; color: var(--ink-2); }
.t-body  { font-size: var(--t-ui); line-height: 1.68; color: var(--muted); }
.t-small { font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
em, .it { font-style: italic; }
.serif { font-family: var(--font-display); }
.brass { color: var(--brass-deep); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.idx {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 5. LAYOUT ---------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 6.5vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section--ink .eyebrow { color: color-mix(in oklch, var(--cream) 62%, transparent); }
.section--ink .t-lead,
.section--ink .t-body { color: color-mix(in oklch, var(--cream) 72%, transparent); }

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.rule { height: 1px; background: var(--line); border: 0; }
.section--ink .rule { background: var(--line-light); }

/* cap de secțiune */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--gap);
  align-items: end;
  padding-bottom: clamp(28px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(34px, 4.4vw, 68px);
}
.sec-head__title { display: flex; align-items: baseline; gap: clamp(12px, 1.4vw, 24px); }
.sec-head__title .idx { transform: translateY(-0.35em); }
.sec-head h2 { margin-top: 16px; }
.sec-head__aside { justify-self: end; text-align: right; max-width: 38ch; }
.section--ink .sec-head { border-color: var(--line-light); }

/* ---------- 6. BUTOANE / LINKURI ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: color 420ms var(--ease), border-color 420ms var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform 520ms var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--brass); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--ink); --btn-bd: var(--brass); }
.btn--brass::before { background: var(--cream); }
.btn--solid::before { background: var(--brass); }
.btn--solid:hover { color: var(--ink); }
.btn--ghost-light { --btn-fg: var(--cream); --btn-bd: color-mix(in oklch, var(--cream) 34%, transparent); }
.btn--ghost-light:hover { color: var(--ink); }
.btn .arw { transition: transform 480ms var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.link-ul {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-ul::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 520ms var(--ease), background 420ms;
}
.link-ul:hover::after { background: var(--brass); transform-origin: left; }

.arw { display: inline-block; }

/* ---------- 7. HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--cream);
  transition: background 500ms var(--ease), color 500ms var(--ease),
              border-color 500ms var(--ease), height 500ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck,
.site-header.is-solid {
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  border-bottom-color: var(--line);
  height: 68px;
}
.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* brand */
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand__plaque {
  background: var(--ink);
  padding: 9px 13px 8px;
  display: flex;
  align-items: center;
  transition: background 500ms var(--ease);
}
.brand__plaque img { width: 92px; height: auto; }
.brand__tag {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  border-left: 1px solid color-mix(in oklch, currentColor 22%, transparent);
  padding-left: 16px;
}
.brand__tag b {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: currentColor;
}
.brand__tag span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* nav */
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 6px;
  opacity: 0.82;
  transition: opacity 300ms;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { opacity: 1; }

.header__tools { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex;
  align-items: center;
  border: 1px solid color-mix(in oklch, currentColor 24%, transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.lang button {
  padding: 6px 9px;
  color: inherit;
  opacity: 0.5;
  transition: opacity 240ms, background 240ms, color 240ms;
}
.lang button[aria-pressed="true"] {
  opacity: 1;
  background: var(--brass);
  color: var(--ink);
}
.site-header.is-stuck .lang button[aria-pressed="true"],
.site-header.is-solid .lang button[aria-pressed="true"] { color: var(--ink); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid color-mix(in oklch, currentColor 24%, transparent);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 17px; height: 1px;
  background: currentColor;
  transition: transform 400ms var(--ease), opacity 300ms;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* meniu mobil */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--ink);
  color: var(--cream);
  padding: calc(var(--header-h) + 40px) var(--pad) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 700ms var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-nav a.mnav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-light);
  transition: color 300ms, padding 400ms var(--ease);
}
.mobile-nav a.mnav > span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  flex: none;
}
.mobile-nav a.mnav:hover { color: var(--brass-soft); padding-left: 8px; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1600ms var(--ease-io);
}
.hero__shot.is-active { opacity: 1; }
.hero__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.hero__shot.is-active img { transform: scale(1); }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      color-mix(in oklch, oklch(0.10 0.01 62) 70%, transparent) 0%,
      color-mix(in oklch, oklch(0.10 0.01 62) 40%, transparent) 34%,
      color-mix(in oklch, oklch(0.10 0.01 62) 6%, transparent) 62%,
      transparent 78%),
    linear-gradient(180deg,
      color-mix(in oklch, oklch(0.12 0.01 62) 66%, transparent) 0%,
      color-mix(in oklch, oklch(0.12 0.01 62) 10%, transparent) 30%,
      color-mix(in oklch, oklch(0.12 0.01 62) 24%, transparent) 56%,
      color-mix(in oklch, oklch(0.10 0.01 62) 90%, transparent) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(26px, 3vw, 44px);
  padding-top: calc(var(--header-h) + 40px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(30px, 4vw, 60px);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 74%, transparent);
}
.hero__eyebrow::before { display: none; }
.hero__eyebrow .dotsep { color: var(--brass-soft); padding-inline: 2px; }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 40px color-mix(in oklch, oklch(0.1 0 0) 40%, transparent);
}
.hero__title .it { color: var(--brass-soft); font-style: italic; }
.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(20px, 4vw, 60px);
  padding-bottom: clamp(18px, 2.4vw, 32px);
}
.hero__lead {
  max-width: 42ch;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: color-mix(in oklch, var(--cream) 82%, transparent);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* tick rail */
.hero__rail {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid color-mix(in oklch, var(--cream) 20%, transparent);
  padding-top: 18px;
}
.tick {
  flex: 1;
  text-align: left;
  padding: 6px 12px 0 0;
  position: relative;
  color: color-mix(in oklch, var(--cream) 50%, transparent);
  transition: color 500ms;
  min-width: 0;
}
.tick:first-child { padding-left: 0; }
.tick__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 8px;
}
.tick__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tick__bar {
  position: absolute;
  left: 0; right: 12px; top: -19px;
  height: 1px;
  background: color-mix(in oklch, var(--cream) 22%, transparent);
  overflow: hidden;
}
.tick__bar i {
  position: absolute;
  inset: 0;
  background: var(--brass-soft);
  transform: scaleX(0);
  transform-origin: left;
}
.tick.is-active { color: var(--cream); }
.tick.is-active .tick__bar i { animation: tickfill var(--tick-dur, 6500ms) linear forwards; }
@keyframes tickfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tick:hover { color: var(--cream); }

.hero__scroll {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 46%, transparent);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.hero__scroll::after {
  content: "";
  width: 54px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- 9. STRIP ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip__cell {
  padding: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strip__cell:first-child { border-left: 0; padding-left: 0; }
.strip__cell b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.strip__cell span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- 10. MANIFEST ---------- */
.manifest { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.manifest__label { grid-column: 1 / 3; position: sticky; top: calc(var(--header-h) + 32px); }
.manifest__copy { grid-column: 4 / 10; }
.manifest__copy p + p { margin-top: 1.1em; }
.manifest__quote {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.9vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin-bottom: clamp(26px, 3vw, 40px);
  text-wrap: balance;
}
.manifest__quote .brass { font-style: italic; }
.manifest__fig { grid-column: 10 / 13; position: relative; margin-top: clamp(0px, 4vw, 56px); }
.manifest__fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.manifest__fig figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.manifest__facts {
  margin-top: clamp(30px, 3.6vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.manifest__facts div { display: flex; flex-direction: column; gap: 4px; }
.manifest__facts b {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.manifest__facts span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 11. COLECȚII (bento) ---------- */
.coll {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(180px, 17.5vw, 248px);
  gap: var(--gap);
}
.coll__card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
}
.coll__card--a { grid-column: 1 / 8; grid-row: 1 / 4; }
.coll__card--b { grid-column: 8 / 13; grid-row: 1 / 3; }
.coll__card--c { grid-column: 8 / 13; grid-row: 3 / 5; }
.coll__card--d { grid-column: 1 / 8; grid-row: 4 / 5; }
.coll__media { position: absolute; inset: 0; z-index: -2; }
.coll__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1100ms var(--ease), filter 800ms var(--ease);
  filter: saturate(0.92);
}
.coll__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in oklch, oklch(0.12 0.01 60) 60%, transparent) 0%,
    color-mix(in oklch, oklch(0.12 0.01 60) 6%, transparent) 38%,
    color-mix(in oklch, oklch(0.10 0.01 60) 58%, transparent) 66%,
    color-mix(in oklch, oklch(0.10 0.01 60) 93%, transparent) 100%);
  transition: opacity 700ms var(--ease);
}
.coll__card:hover .coll__media img { transform: scale(1.045); filter: saturate(1); }
.coll__card:hover::after { opacity: 0.9; }

.coll__body {
  position: relative;
  height: 100%;
  padding: clamp(20px, 2.2vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.coll__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coll__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 78%, transparent);
  border: 1px solid color-mix(in oklch, var(--cream) 32%, transparent);
  padding: 5px 9px;
  border-radius: 100px;
}
.coll__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.coll__card--d .coll__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.coll__desc {
  display: block;
  margin-top: 8px;
  font-size: var(--t-small);
  color: color-mix(in oklch, var(--cream) 72%, transparent);
  max-width: 34ch;
}
.coll__go {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 16px;
}
.coll__go .arw {
  width: 30px; height: 30px;
  border: 1px solid color-mix(in oklch, var(--cream) 34%, transparent);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 420ms, color 420ms, transform 520ms var(--ease), border-color 420ms;
}
.coll__card:hover .coll__go .arw {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
  transform: translateX(4px);
}

/* tile editorial (fără imagine) */
.coll__card--d { background: var(--ink); color: var(--cream); }
.coll__card--d::after { display: none; }
.coll__card--d::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in oklch, var(--cream) 14%, transparent);
  pointer-events: none;
  z-index: 0;
}
.coll__card--d .coll__body { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: clamp(16px, 2vw, 34px); }
.coll__quote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.coll__card--d .coll__go { margin-top: 0; flex: none; }

/* ---------- 12. LUCRĂRI (bandă orizontală) ---------- */
.works { overflow: hidden; }
.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(26px, 3vw, 42px);
  flex-wrap: wrap;
}
.works__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 52%, transparent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.works__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.works__track::-webkit-scrollbar { display: none; }
.works__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work {
  flex: 0 0 clamp(240px, 26vw, 360px);
  scroll-snap-align: start;
  display: block;
}
.work__fig { display: block; position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 5; }
.work__fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), opacity 500ms;
  filter: saturate(0.9);
}
.work:hover .work__fig img { transform: scale(1.05); filter: saturate(1); }
.work__num {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cream);
  background: color-mix(in oklch, var(--ink) 62%, transparent);
  backdrop-filter: blur(6px);
  padding: 4px 7px;
}
.work__meta {
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.work__cap {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.2;
  color: var(--cream);
}
.work__cat {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 52%, transparent);
  white-space: nowrap;
}

/* ---------- 13. MATERIALE ---------- */
.mat { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.mat__viewer { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 28px); }
.mat__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3);
}
.mat__frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms var(--ease), transform 1400ms var(--ease);
}
.mat__frame img.is-on { opacity: 1; transform: scale(1); }
.mat__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.mat__list { grid-column: 7 / 13; }
.mat__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding-block: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--line);
  transition: padding 520ms var(--ease), color 400ms;
  cursor: default;
}
.mat__row:last-child { border-bottom: 1px solid var(--line); }
.mat__row:hover { padding-left: 10px; }
.mat__row b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brass-deep);
  padding-top: 8px;
  font-weight: 500;
}
.mat__row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.mat__row p {
  font-size: var(--t-small);
  color: var(--muted);
  margin-top: 6px;
  max-width: 42ch;
  line-height: 1.6;
}
.mat__row .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  transition: background 400ms, border-color 400ms, transform 400ms;
}
.mat__row.is-on .dot { background: var(--brass); border-color: var(--brass); transform: scale(1.15); }
.mat__row.is-on h3 { color: var(--brass-deep); }

/* ---------- 14. PROCES ---------- */
.proc { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.proc__aside { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.proc__list { grid-column: 5 / 13; }
.proc__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(12px, 2vw, 30px);
  padding-block: clamp(20px, 2.6vw, 36px);
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 500ms var(--ease);
}
.proc__step:last-child { border-bottom: 1px solid var(--line); }
.proc__step::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--brass);
  transition: width 500ms var(--ease);
}
.proc__step:hover::before { width: 2px; }
.proc__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brass-deep);
  padding-top: 10px;
}
.proc__step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
}
.proc__step p { margin-top: 8px; font-size: var(--t-small); color: var(--muted); max-width: 48ch; line-height: 1.65; }

/* ---------- 15. CTA / CONTACT BAND ---------- */
.cta { position: relative; overflow: hidden; }
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 15ch;
}
.cta__title .it { color: var(--brass-soft); }
.cta__aside { display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }
.cta__line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 14px;
  border-top: 1px solid var(--line-light);
}
.cta__line:last-of-type { border-bottom: 1px solid var(--line-light); }
.cta__line span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 50%, transparent);
}
.cta__line a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.65vw, 1.42rem);
  letter-spacing: -0.012em;
  line-height: 1.25;
  transition: color 300ms;
  width: fit-content;
}
.cta__line a:hover { color: var(--brass-soft); }

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(40px, 5vw, 68px) 26px;
  border-top: 1px solid var(--line-light);
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(34px, 4vw, 56px);
}
.foot__brand img { width: 190px; }
.foot__brand p {
  margin-top: 18px;
  max-width: 32ch;
  font-size: var(--t-small);
  color: color-mix(in oklch, var(--cream) 60%, transparent);
  line-height: 1.65;
}
.foot__col .foot__h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 54%, transparent);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot__col li + li { margin-top: 9px; }
.foot__col a, .foot__col span {
  font-size: var(--t-small);
  color: color-mix(in oklch, var(--cream) 78%, transparent);
  transition: color 260ms;
}
.foot__col a:hover { color: var(--brass-soft); }
.foot__bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot__legal {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: color-mix(in oklch, var(--cream) 58%, transparent);
  max-width: 74ch;
}
.foot__top-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in oklch, var(--cream) 70%, transparent);
}
.foot__top-link:hover { color: var(--brass-soft); }

/* ---------- 17. PAGINI INTERIOARE ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(30px, 4vw, 56px); }
.page-head__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: end;
}
.page-head__title { grid-column: 1 / 9; }
.page-head__title h1 {
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  margin-top: 18px;
}
.page-head__meta { grid-column: 10 / 13; padding-bottom: 10px; }
.page-head__meta p { font-size: var(--t-small); color: var(--muted); line-height: 1.65; }
.page-head__count {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-head__count b { color: var(--ink); font-weight: 500; }

/* sub-nav categorii */
.subnav {
  position: sticky;
  top: var(--header-stuck);
  z-index: 500;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  height: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
  transition: color 300ms;
}
.subnav a[aria-current="page"] { color: var(--ink); }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
}
.subnav__spacer { margin-left: auto; }
.subnav__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 18. GALERIE ---------- */
.gal { padding-block: clamp(28px, 3.4vw, 48px) var(--section); }
.gal__grid {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
}
.gal__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.gal__item {
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
}
.gal__fig {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  display: block;
}
.gal__fig img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1000ms var(--ease), filter 700ms var(--ease);
  filter: saturate(0.94) contrast(1.01);
}
.gal__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--ink) 24%, transparent);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.gal__item:hover .gal__fig img { transform: scale(1.035); filter: saturate(1); }
.gal__item:hover .gal__fig::after { opacity: 1; }
.gal__zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms var(--ease), transform 520ms var(--ease);
  z-index: 2;
}
.gal__item:hover .gal__zoom,
.gal__item:focus-visible .gal__zoom { opacity: 1; transform: translateY(0); }
.gal__cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid transparent;
  transition: border-color 400ms;
}
.gal__item:hover .gal__cap { border-color: var(--line); }
.gal__cap .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex: none;
  padding-top: 2px;
}
.gal__cap .t {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink-2);
}

/* paginare / final de galerie */
.gal-end {
  margin-top: clamp(30px, 4vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.gal-end p { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gal-next { display: flex; align-items: center; gap: 16px; }
.gal-next span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gal-next b { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 400; transition: color 300ms; }
.gal-next:hover b { color: var(--brass-deep); }

/* animație de intrare galerie */
.gal__item {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  animation: galIn 760ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes galIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 19. LIGHTBOX ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: color-mix(in oklch, oklch(0.12 0.01 60) 96%, transparent);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(14px, 2vw, 26px);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 340ms var(--ease), visibility 340ms;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}
.lb__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--cream) 60%, transparent);
}
.lb__cat { color: var(--brass-soft); }
.lb__close, .lb__nav {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--cream) 22%, transparent);
  color: var(--cream);
  transition: background 300ms, color 300ms, border-color 300ms;
}
.lb__close:hover, .lb__nav:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}
.lb__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 400ms var(--ease), transform 600ms var(--ease);
}
.lb__stage img.is-ready { opacity: 1; transform: scale(1); }
.lb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in oklch, var(--cream) 16%, transparent);
  flex-wrap: wrap;
}
.lb__cap { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.lb__controls { display: flex; gap: 8px; }
.lb__prog { flex: 1 1 160px; height: 1px; background: color-mix(in oklch, var(--cream) 20%, transparent); min-width: 120px; }
.lb__prog i { display: block; height: 100%; background: var(--brass); transition: width 340ms var(--ease); }

/* ---------- 20. CONTACT PAGE ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-bottom: var(--section);
}
.c-block { padding-block: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line); }
.c-block:last-child { border-bottom: 1px solid var(--line); }
.c-block h2 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.c-block .big {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  letter-spacing: -0.014em;
  line-height: 1.3;
  display: inline-block;
  transition: color 280ms;
}
a.big:hover { color: var(--brass-deep); }
.c-block p { font-size: var(--t-small); color: var(--muted); line-height: 1.7; margin-top: 6px; }

.form-card {
  background: var(--paper-2);
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  box-shadow: var(--bezel);
}
.form-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 6px; }
.form-card > p { font-size: var(--t-small); color: var(--muted); margin-bottom: clamp(22px, 2.6vw, 30px); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 2px;
  font-size: var(--t-ui);
  color: var(--ink);
  transition: border-color 300ms, background 300ms;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a706a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brass);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklch, var(--muted) 60%, transparent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); }
.form-note { margin-top: 16px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.form-ok {
  margin-top: 16px;
  padding: 13px 15px;
  border-left: 2px solid var(--brass);
  background: color-mix(in oklch, var(--brass) 12%, transparent);
  font-size: var(--t-small);
  display: none;
}
.form-ok.is-on { display: block; }

/* hartă / adresă */
.map-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: clamp(30px, 4vw, 54px);
}
.map-strip__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
}
.map-strip__txt { grid-column: 1 / 7; }
.map-strip__vis { grid-column: 8 / 13; }
.map-strip__vis img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-strip h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

/* ---------- 21. REVEAL ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--rd, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }
/* clip-path se aplică pe copii: altfel IntersectionObserver nu mai vede
   elementul (aria vizibilă = 0) și reveal-ul nu se mai declanșează niciodată */
html.js [data-reveal="clip"] { opacity: 1; transform: none; }
html.js [data-reveal="clip"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1200ms var(--ease);
  transition-delay: var(--rd, 0ms);
}
html.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }

/* split text */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.02em 0.05em 0.16em 0.02em;
  margin: -0.02em -0.05em -0.16em -0.02em;
}
.w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1000ms var(--ease);
  transition-delay: var(--wd, 0ms);
}
.is-in .w > span, .w.is-in > span { transform: translateY(0); }

/* skip link */
.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 240ms;
}
.skip:focus { top: 12px; }

/* progres scroll */
.scroll-prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--brass);
  z-index: 950;
  width: 0%;
  pointer-events: none;
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .manifest__label { grid-column: 1 / 13; position: static; margin-bottom: 18px; }
  .manifest__copy { grid-column: 1 / 9; }
  .manifest__fig { grid-column: 9 / 13; }
  .mat__viewer { grid-column: 1 / 6; }
  .proc__aside { grid-column: 1 / 13; position: static; margin-bottom: 24px; }
  .proc__list { grid-column: 1 / 13; }
  .coll__card--a { grid-column: 1 / 8; }
  .coll { grid-auto-rows: clamp(170px, 24vw, 230px); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand__tag { display: none; }
  .nav { display: none; }
  .burger { display: flex; }

  .hero__body { grid-template-columns: 1fr; gap: 22px; }
  .hero__lead { max-width: none; }
  .hero__scroll { display: none; }
  .tick__label { letter-spacing: 0.14em; font-size: 9px; }

  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip__cell:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .manifest__copy, .manifest__fig { grid-column: 1 / 13; }
  .manifest__fig { margin-top: 8px; }
  .manifest__fig img { aspect-ratio: 4 / 3; }
  .manifest__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .manifest__facts b { font-size: 1.6rem; }

  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head__aside { justify-self: start; text-align: left; margin-top: 14px; }

  .coll { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .coll__card--a, .coll__card--b, .coll__card--c, .coll__card--d {
    grid-column: 1 / -1; grid-row: auto; min-height: 300px;
  }
  .coll__card--a { min-height: 420px; }

  .mat { grid-template-columns: 1fr; }
  .mat__viewer { position: relative; top: 0; grid-column: 1 / -1; }
  .mat__frame { aspect-ratio: 16 / 10; }
  .mat__list { grid-column: 1 / -1; margin-top: 26px; }

  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .cta__aside { width: 100%; }

  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__brand img { width: 170px; }

  .page-head__title { grid-column: 1 / 13; }
  .page-head__meta { grid-column: 1 / 13; margin-top: 22px; padding-bottom: 0; }


  .contact-wrap { grid-template-columns: 1fr; }
  .map-strip__txt, .map-strip__vis { grid-column: 1 / -1; }
  .map-strip__vis { margin-top: 20px; }

  .works__track { gap: 14px; }
  .work { flex-basis: 72vw; }
}

@media (max-width: 560px) {
  .hero__title { max-width: 12ch; }
  .hero__rail { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero__rail::-webkit-scrollbar { display: none; }
  .tick { flex: 0 0 auto; min-width: 0; padding-right: 16px; }
  .tick__label { font-size: 9px; letter-spacing: 0.1em; }
  .tick__num { font-size: 9px; margin-bottom: 6px; }
  .coll__card--d { min-height: 240px; }
  .coll__card--d .coll__body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 30px; }
  .page-head__title h1 { font-size: clamp(2.6rem, 15vw, 4rem); }
  .lb__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lb__prog { width: 100%; flex: none; }
  .manifest__facts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---------- 23. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .w > span { transform: none !important; }
  .hero__shot img { transform: none !important; }
  .tick.is-active .tick__bar i { animation: none; transform: scaleX(1); }
}

/* ---------- 24. PRINT ---------- */
@media print {
  .site-header, .hero__rail, .scroll-prog, .mobile-nav, .burger, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .section--ink { background: #fff; color: #000; }
}
