:root {
  --ink: #17191B;
  --graphite: #222528;
  --line-dark: #3A3D40;
  --bone: #F5F2EC;
  --stone: #E8E3DA;
  --line-light: #D6CFC2;
  --text-dark: #191B1D;
  --muted-light: #5E5A53;
  --muted-dark: #A7A29A;
  --bronze: #C9AE85;
  --bronze-soft: #E2CDA8;
  --bronze-deep: #6E5A3B;
  --display: 'Gloock', Georgia, serif;
  --body: 'Albert Sans', system-ui, sans-serif;
  --pad: clamp(20px, 3.4vw, 48px);
  --max: 1360px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.split-mask { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--bronze-soft); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
input, textarea { accent-color: var(--bronze); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--bronze-soft); }
.eyebrow--dark { color: var(--bronze-deep); }
.h-xl { font-size: clamp(44px, 5.4vw, 72px); line-height: 1; }
.h-lg { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.h-hero { font-size: clamp(48px, 7vw, 96px); line-height: 0.98; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px var(--pad);
  transition: background .4s ease, padding .4s ease;
}
/* fundalul stă pe ::before ca blur-ul să nu afecteze meniul fix de pe mobil */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: rgba(23, 25, 27, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .4s ease;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-solid { padding-top: 16px; padding-bottom: 16px; }
.nav__logo, .nav__toggle { position: relative; z-index: 2; }
.nav__logo img { width: 180px; height: auto; transition: width .4s ease; }
.nav.is-solid .nav__logo img { width: 150px; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.nav__links a { text-decoration: none; color: var(--bone); transition: color .2s; }
.nav__links a:hover { color: var(--bronze-soft); }
.nav__links .nav__cta { color: var(--bronze); border-bottom: 1px solid var(--bronze); padding-bottom: 4px; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__logo img { width: 140px; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 1px; background: var(--bone); transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    background: var(--ink); font-size: 14px;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition: opacity .35s ease; }
}

/* SCROLL SEQUENCES */
.seq { position: relative; height: 620vh; background: var(--ink); }
.seq__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq__shade { position: absolute; inset: 0; background: rgba(23, 25, 27, 0.45); pointer-events: none; }
.seq__anchor { position: absolute; top: 100vh; }

.seq__intro { position: absolute; inset: 0; z-index: 2; display: flex; will-change: opacity, transform; }
.seq__intro--hero { flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.seq__intro--hero .seq__intro-text { flex: 1 1 560px; max-width: 920px; padding: 0 var(--pad) clamp(56px, 9vh, 96px); display: flex; flex-direction: column; gap: 26px; }
.seq__intro--hero h1 { font-size: clamp(54px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.02em; }
.seq__intro--center { align-items: center; }
.seq__intro--center .seq__intro-text { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 24px; }
.seq__intro-sub { max-width: 440px; color: #E6E1D8; }

.hero-panel {
  flex: 0 0 340px; background: var(--stone); color: var(--text-dark); text-decoration: none;
  padding: 34px 36px 38px; display: flex; flex-direction: column; gap: 22px;
}
.hero-panel__label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze-deep); }
.hero-panel__title { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.hero-panel__cta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.hero-panel__cta svg { transition: transform .3s; }
.hero-panel:hover .hero-panel__cta svg { transform: translateY(4px); }

.seq__card {
  position: absolute; z-index: 3; left: var(--pad); bottom: var(--pad);
  width: min(420px, calc(100% - 2 * var(--pad)));
  background: var(--bone); color: var(--text-dark);
  padding: 32px 34px; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.seq__card.is-visible { opacity: 1; transform: none; }
.seq__stack { display: grid; }
.stage { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; }
.stage > *, .seq__title .w { will-change: transform, opacity, filter; }
.seq__title .w { display: inline-block; white-space: pre; }
.seq__num { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--bronze-deep); }
.seq__title { font-size: 34px; line-height: 1.05; }
.seq__text { color: var(--muted-light); font-size: 16px; }
.seq__cta {
  display: flex; justify-content: space-between; height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: var(--text-dark);
}
.seq__card.has-cta .seq__cta { height: auto; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-light); pointer-events: auto; }
.seq__canvas { transform-origin: 50% 50%; }

.seq__rail {
  position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
  font-size: 11px; letter-spacing: 0.2em; color: rgba(245, 242, 236, 0.45);
  opacity: 0; transition: opacity .5s;
}
.seq__rail.is-visible { opacity: 1; }
.seq__rail li { transition: color .3s; white-space: nowrap; text-align: right; }
.seq__rail li.is-active { color: var(--bone); }
.seq__rail li .lbl { display: none; }
.seq__rail li.is-active .lbl { display: inline; }

.seq__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(245,242,236,0.12); }
.seq__progress span { display: block; height: 100%; width: 0; background: var(--bronze); }

@media (max-width: 767px) {
  .seq { height: 520vh; }
  .hero-panel { flex: 1 1 100%; padding: 22px var(--pad) 26px; gap: 14px; }
  .hero-panel__title { font-size: 22px; }
  .seq__intro--hero .seq__intro-text { padding-bottom: 28px; gap: 16px; }
  .seq__rail { display: none; }
  /* pe mobil: legendă peste gradient, nu card alb — video-ul rămâne vizibil */
  .seq__card {
    left: 0; right: 0; bottom: 0; width: auto;
    padding: 90px 20px calc(26px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(23,25,27,0) 0%, rgba(23,25,27,0.72) 45%, rgba(23,25,27,0.9) 100%);
    color: var(--bone); gap: 0;
  }
  .stage { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; align-items: baseline; }
  .stage .seq__num { font-size: 15px; letter-spacing: 0.18em; font-family: var(--body); color: var(--bronze-soft); }
  .stage .seq__title { font-size: 26px; line-height: 1.1; }
  .stage .seq__text { grid-column: 1 / -1; font-size: 14px; color: #D9D4CA; }
  .seq__card.has-cta .seq__cta { color: var(--bone); border-top-color: rgba(245,242,236,0.25); margin-top: 14px; padding-top: 14px; }
  .seq__progress { z-index: 4; }
}

/* LIGHT SECTIONS */
.light { background: var(--bone); color: var(--text-dark); }
.stone { background: var(--stone); color: var(--text-dark); }
.light em, .stone em { color: var(--bronze-deep); }

.manifest { padding: clamp(90px, 11vw, 150px) 0; }
.manifest__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.manifest__main { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; padding: 8px 0; }
@media (max-width: 900px) { .manifest__grid { grid-template-columns: 1fr; } }
.manifest__quote { font-family: var(--display); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; }
.facts { margin: 0; }
.facts div { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.facts div:last-child { border-bottom: 1px solid var(--line-light); }
.facts dt { flex: 0 0 200px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-deep); padding-top: 4px; }
.facts dd { margin: 0; flex: 1 1 260px; color: var(--muted-light); }
.manifest__figure { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 520px; justify-self: end; width: 100%; }
.manifest__figure img { width: 100%; aspect-ratio: 4 / 5; max-height: 72vh; object-fit: cover; }
.manifest__figure figcaption { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-deep); }

.collections { padding: clamp(90px, 10vw, 140px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head p { max-width: 400px; color: var(--muted-light); }
.section-head--dark p { color: var(--muted-dark); }
.collections__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; margin-bottom: 56px; }
.collections__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.collections__grid--3 .tile img { height: clamp(260px, 24vw, 400px); }
.collections__grid--3 .tile__name { font-size: 28px; }
@media (max-width: 1000px) { .collections__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .collections__grid, .collections__grid--3 { grid-template-columns: 1fr; } .collections__grid--3 .tile img { height: 72vw; } }
.tile { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--text-dark); min-width: 0; }
.tile img { width: 100%; object-fit: cover; }
.tile__img { transition: opacity .4s; }
.tile:hover .tile__img { opacity: .9; }
.tile img { height: clamp(320px, 38vw, 600px); }
@media (max-width: 767px) { .tile img { height: 72vw; } }
.tile__meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #C9C0B0; padding-top: 16px; }
.tile__name { font-family: var(--display); font-size: 34px; }
.tile__idx { font-size: 12px; letter-spacing: 0.24em; color: var(--bronze-deep); }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-top: 1px solid #C9C0B0; }
.rows li:last-child { border-bottom: 1px solid #C9C0B0; }
.rows a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 0; text-decoration: none; transition: padding .3s; }
.rows a:hover { padding-left: 12px; }
.rows__name { font-family: var(--display); font-size: clamp(26px, 2.6vw, 30px); }
.rows__meta { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-deep); }

.process { padding: clamp(90px, 10vw, 140px) 0; }
.process__grid { display: flex; flex-wrap: wrap; gap: 64px; }
.process__head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.process__head p { color: var(--muted-light); max-width: 340px; }
.steps { flex: 999 1 640px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line-light); }
.steps li:last-child { border-bottom: 1px solid var(--line-light); }
.steps__n { flex: 0 0 64px; font-family: var(--display); font-size: 30px; color: var(--bronze-deep); }
.steps__t { flex: 0 0 220px; font-family: var(--display); font-size: 26px; }
.steps__d { flex: 1 1 240px; color: var(--muted-light); }

.graphite { background: var(--graphite); }
.materials { padding: clamp(80px, 9vw, 110px) 0; }
.origins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid rgba(201,174,133,0.35); }
.origins li { padding-top: 30px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); }
.origins span { font-family: var(--display); font-size: 64px; line-height: 1; letter-spacing: 0; color: var(--bronze); }

/* CONTACT */
.contact { padding: clamp(90px, 10vw, 140px) 0; }
.contact__grid { display: flex; flex-wrap: wrap; gap: 80px; }
.contact__info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.contact__info > p { color: var(--muted-dark); max-width: 380px; }
.messengers { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
.messengers a { display: flex; justify-content: space-between; max-width: 320px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: color .2s, border-color .2s; }
.messengers a span { color: var(--bronze); }
.messengers a:hover { color: var(--bronze-soft); border-color: var(--bronze); }
.phone { font-family: var(--display); font-size: 34px; text-decoration: none; margin-top: 10px; }

.form { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; align-content: start; }
.form label, .form legend { display: flex; flex-direction: column; gap: 10px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); }
.form__full { grid-column: 1 / -1; }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend { padding: 0; margin-bottom: 16px; }
.form input[type="text"], .form input[type="tel"], .form input[type="file"], .form textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #4A4D50; border-radius: 0;
  background: transparent; color: var(--bone); font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none;
}
.form input[type="file"] { font-size: 13px; color: var(--muted-dark); }
.form input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 1px solid #4A4D50; background: transparent; color: var(--bone);
  font: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
}
.form input[type="file"]::file-selector-button:hover { border-color: var(--bronze); }
.form input::placeholder, .form textarea::placeholder { color: #6E6A63; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--bronze); }
.form textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.form .chip {
  flex-direction: row; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px;
  border: 1px solid #4A4D50; color: var(--bone); font-size: 14px; letter-spacing: 0; text-transform: none; cursor: pointer;
  transition: border-color .2s;
}
.form .chip:has(input:checked) { border-color: var(--bronze); }
.btn {
  grid-column: 1 / -1; justify-self: start; height: 60px; padding: 0 40px; border: 0;
  background: var(--stone); color: var(--text-dark); font: inherit; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--bronze-soft); }
.form__status { color: var(--bronze-soft); min-height: 1em; }

/* FOOTER */
.footer { border-top: 1px solid #2E3134; }
.footer__row { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.footer__row img { width: 170px; height: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.footer nav a { color: var(--muted-dark); text-decoration: none; }
.footer nav a:hover { color: var(--bone); }
.footer__row > span { font-size: 13px; color: #8E8981; }

/* REVEAL (animat din JS; fără JS rămâne vizibil) */
.reveal { overflow: hidden; }
.tile__img { overflow: hidden; display: block; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: smooth; }
}
