:root{
  --ink:#14141C;
  --parchment:#F1E9DA;
  --parchment-2:#e9ddc8;
  --gold:#C9A227;
  --wine:#6B1F3B;
  --text-dark:#221F1D;
  --text-cream:#F1E9DA;
  --muted:#4a453f;
  --muted-cream:#cfc9d6;
  --ease:cubic-bezier(.22,.61,.36,1);
  --nav-h:68px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + env(safe-area-inset-top,0px)); -webkit-text-size-adjust:100%; }
body{
  position:relative;
  background:var(--parchment);
  color:var(--text-dark);
  font-family:'Work Sans', system-ui, sans-serif;
  font-weight:300;
  padding-bottom:env(safe-area-inset-bottom,0px);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
h1,h2,h3{ font-family:'Fraunces', Georgia, serif; font-weight:500; letter-spacing:-0.01em; }
.wrap{ max-width:1120px; margin:0 auto; padding:0 32px; }
@media (max-width:520px){ .wrap{ padding:0 20px; } }
.tag{ font-family:'Fraunces', serif; font-style:italic; font-size:1.05rem; color:var(--wine); }
.skip-link{ position:absolute; left:-9999px; top:8px; z-index:100; background:var(--gold); color:var(--ink); padding:10px 16px; }
.skip-link:focus{ left:12px; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

/* Fundal continuu: desenul pictat pe fusta ei, cu un scrim gradual peste el. */
.bg-veil{
  position:fixed; inset:0; z-index:-1;
  background-image:
    linear-gradient(to top,
      rgba(20,20,28,0.92) 0%,
      rgba(58,26,40,0.82) 20%,
      rgba(107,31,59,0.62) 40%,
      rgba(176,138,88,0.42) 62%,
      rgba(241,233,218,0.30) 82%,
      rgba(241,233,218,0.22) 100%),
    url("../img/bg-skirt-pattern.webp");
  background-size:100% 100%, cover;
  background-position:center, center 15%;
  background-repeat:no-repeat;
}

/* ---------- NAV ---------- */
nav.site-nav{
  position:sticky; top:0; z-index:50;
  padding-top:env(safe-area-inset-top,0px);
  transition:box-shadow .3s var(--ease);
}
/* Fundalul cu blur stă pe un pseudo-element: backdrop-filter pe <nav> ar
   închide meniul mobil (position:fixed) în interiorul barei. */
nav.site-nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(20,20,28,0.92);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  transition:background .3s var(--ease);
}
nav.site-nav.scrolled{ box-shadow:0 8px 30px rgba(0,0,0,0.25); }
nav.site-nav.scrolled::before{ background:rgba(20,20,28,0.97); }
nav.site-nav .wrap{ position:relative; display:flex; align-items:center; justify-content:space-between; height:var(--nav-h); transition:height .3s var(--ease); }
nav.site-nav.scrolled .wrap{ height:56px; }
.brand{ color:var(--parchment); font-family:'Fraunces', serif; font-style:italic; font-weight:400; font-size:1.25rem; text-decoration:none; white-space:nowrap; }
.brand span{ color:var(--gold); font-style:normal; }
.nav-right{ display:flex; align-items:center; gap:28px; }
.navlinks{ display:flex; gap:28px; list-style:none; }
.navlinks a{ position:relative; color:var(--text-cream); text-decoration:none; font-size:0.9rem; opacity:0.8; transition:opacity .2s ease; }
.navlinks a::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease); }
.navlinks a:hover, .navlinks a.current{ opacity:1; }
.navlinks a:hover::after, .navlinks a.current::after{ transform:scaleX(1); }

.lang-switch{ display:flex; align-items:center; gap:6px; font-size:0.78rem; letter-spacing:0.08em; }
.lang-switch a{ color:var(--text-cream); text-decoration:none; opacity:0.55; padding:4px 2px; transition:opacity .2s ease, color .2s ease; }
.lang-switch a:hover{ opacity:0.9; }
.lang-switch a[aria-current="true"]{ opacity:1; color:var(--gold); }
.lang-switch .sep{ color:var(--text-cream); opacity:0.3; }

.menu-toggle{ display:none; width:40px; height:40px; background:none; border:0; cursor:pointer; position:relative; margin-right:-8px; }
.menu-toggle span{ position:absolute; left:10px; right:10px; height:1.5px; background:var(--text-cream); transition:transform .35s var(--ease), opacity .2s ease; }
.menu-toggle span:nth-child(1){ top:15px; }
.menu-toggle span:nth-child(2){ top:24px; }
.menu-open .menu-toggle span:nth-child(1){ transform:translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2){ transform:translateY(-4.5px) rotate(-45deg); }

@media (max-width:760px){
  .brand{ font-size:1.08rem; }
  .menu-toggle{ display:block; }
  .nav-right{ gap:14px; }
  .navlinks{
    position:fixed; left:0; right:0; top:calc(var(--nav-h) + env(safe-area-inset-top,0px)); bottom:0;
    flex-direction:column; justify-content:center; align-items:center; gap:34px;
    background:rgba(20,20,28,0.98);
    opacity:0; visibility:hidden; transform:translateY(-12px);
    transition:opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .navlinks a{ font-family:'Fraunces', serif; font-size:1.6rem; opacity:0.9; }
  .menu-open .navlinks{ opacity:1; visibility:visible; transform:none; transition:opacity .35s var(--ease), transform .35s var(--ease); }
  .menu-open{ overflow:hidden; }
}

/* ---------- BUTTONS ---------- */
.btn{ display:inline-block; padding:14px 26px; border-radius:2px; text-decoration:none; font-size:0.92rem; letter-spacing:0.02em; transition:transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.btn:hover{ transform:translateY(-2px); }
.btn-solid{ background:var(--gold); color:var(--ink); }
.btn-solid:hover{ box-shadow:0 10px 24px rgba(201,162,39,0.28); }
.btn-line{ border:1px solid #55536a; color:var(--text-cream); }
.btn-line:hover{ border-color:var(--gold); color:var(--gold); }

/* ---------- HERO ---------- */
.hero{ position:relative; background:rgba(20,20,28,0.90); color:var(--text-cream); padding:80px 0 100px; overflow:hidden; }
.hero .wrap{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:48px; align-items:center; position:relative; z-index:2; }
@media (max-width:860px){
  .hero{ padding:40px 0 72px; }
  .hero .wrap{ grid-template-columns:1fr; gap:36px; }
  .hero-art{ order:-1; }
}
.hero h1{ font-size:clamp(2.4rem, 5.6vw, 3.9rem); line-height:1.06; max-width:12ch; }
.hero .kicker{ font-family:'Fraunces', serif; font-style:italic; color:var(--gold); font-size:1.05rem; margin-bottom:14px; }
.hero p.lede{ margin-top:24px; max-width:42ch; font-size:1.05rem; line-height:1.6; color:var(--muted-cream); }
.hero .cta-row{ margin-top:36px; display:flex; gap:18px; flex-wrap:wrap; }
.hero-art{ position:relative; border-radius:2px; overflow:hidden; aspect-ratio:3/4; max-height:560px; }
.hero-art img{ width:100%; height:100%; object-fit:cover; }
.hero-art::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,20,28,0) 55%, rgba(20,20,28,0.55) 100%); }

/* Intrare animată în hero */
.hero .kicker, .hero h1, .hero .lede, .hero .cta-row{ animation:rise .9s var(--ease) both; }
.hero h1{ animation-delay:.12s; }
.hero .lede{ animation-delay:.26s; }
.hero .cta-row{ animation-delay:.4s; }
.hero-art{ animation:unveil 1.3s var(--ease) both; }
.hero-art img{ animation:settle 2.4s var(--ease) both; }
@keyframes rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
@keyframes unveil{ from{ clip-path:inset(100% 0 0 0); } to{ clip-path:inset(0 0 0 0); } }
@keyframes settle{ from{ transform:scale(1.12); } to{ transform:scale(1); } }

/* ---------- SCROLL REVEAL ---------- */
.js .reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); transition-delay:var(--d, 0s); }
.js .reveal.in{ opacity:1; transform:none; }
.js .reveal-img{ overflow:hidden; }
.js .reveal-img img{ transform:scale(1.08); transition:transform 1.6s var(--ease); }
.js .reveal-img.in img{ transform:scale(1); }

/* ---------- RHOMB DIVIDER (ritmul modular al Coloanei Infinitului) ---------- */
.rhomb-divider{ padding:36px 0; display:flex; justify-content:center; }
.rhomb-divider svg{ width:100%; max-width:420px; height:auto; opacity:0.8; overflow:visible; }
.js .rhomb-divider path{ stroke-dasharray:120; stroke-dashoffset:120; transition:stroke-dashoffset 1.4s var(--ease); transition-delay:calc(var(--i) * 70ms); }
.js .rhomb-divider.in path{ stroke-dashoffset:0; }

/* ---------- TREI LINII ---------- */
.lines{ background:rgba(20,20,28,0.90); color:var(--text-cream); padding:96px 0 100px; }
.lines-head{ max-width:52ch; margin-bottom:52px; }
.lines-head .tag{ color:var(--gold); }
.lines-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.6rem); margin-top:10px; line-height:1.18; }
.lines-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
@media (max-width:900px){ .lines-grid{ grid-template-columns:1fr; } }
.line-card{ background:rgba(241,233,218,0.06); border:1px solid rgba(241,233,218,0.14); border-radius:2px; overflow:hidden; transition:border-color .4s ease, transform .5s var(--ease), background .4s ease; }
.line-card:hover{ border-color:rgba(201,162,39,0.5); transform:translateY(-4px); background:rgba(241,233,218,0.09); }
.line-card .lc-art{ aspect-ratio:4/3; overflow:hidden; }
.line-card .lc-art img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.line-card:hover .lc-art img{ transform:scale(1.05); }
.line-card .lc-body{ padding:24px 22px 26px; }
.line-card .lc-kicker{ font-size:0.76rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold); }
.line-card h3{ margin-top:10px; font-size:1.28rem; }
.line-card p{ margin-top:10px; font-size:0.92rem; line-height:1.6; color:var(--muted-cream); }

/* ---------- ATELIER / STORY ---------- */
.story{ background:rgba(241,233,218,0.94); padding:96px 0; }
.story .wrap{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:56px; align-items:center; }
@media (max-width:860px){ .story{ padding:72px 0; } .story .wrap{ grid-template-columns:1fr; gap:32px; } }
.atelier-stack{ display:grid; grid-template-columns:1.3fr 1fr; gap:14px; align-items:end; }
.atelier-stack img{ width:100%; height:100%; object-fit:cover; }
.atelier-main{ aspect-ratio:3/4; overflow:hidden; border-radius:2px; }
.atelier-inset{ aspect-ratio:4/5; overflow:hidden; border-radius:2px; }
.story h2{ font-size:clamp(1.8rem, 3.2vw, 2.4rem); margin-top:10px; line-height:1.18; max-width:15ch; }
.story .body p{ font-size:1.02rem; line-height:1.75; color:var(--muted); max-width:52ch; margin-top:18px; }
.story .body p:first-of-type{ margin-top:22px; }

/* ---------- GALLERY ---------- */
.gallery{ background:rgba(233,221,200,0.94); padding:96px 0; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:16px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.8rem, 3.2vw, 2.4rem); max-width:16ch; }
.section-head p{ max-width:36ch; color:var(--muted); font-size:0.98rem; line-height:1.6; }
.piece-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:22px; }
.piece, .show-item{ position:relative; overflow:hidden; aspect-ratio:3/4; border-radius:2px; }
.piece img, .show-item img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.piece:hover img, .show-item:hover img{ transform:scale(1.05); }
.cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:22px 20px 18px;
  background:linear-gradient(180deg, rgba(20,20,28,0) 0%, rgba(20,20,28,0.85) 100%);
  color:var(--text-cream);
}
.piece h3{ font-size:1.12rem; }
.piece .cap p{ margin-top:6px; font-size:0.84rem; color:#d9d4de; line-height:1.5; }

/* ---------- PREZENTĂRI DE MODĂ ---------- */
.shows{ padding:96px 0; background:rgba(241,233,218,0.9); }
.shows-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:700px){ .shows-grid{ grid-template-columns:1fr; } }
.show-item .ev{ font-family:'Fraunces', serif; font-style:italic; color:var(--gold); font-size:0.92rem; }
.show-item .cap p:not(.ev){ margin-top:4px; font-size:0.86rem; color:#d9d4de; }

/* ---------- BANNER ---------- */
.banner{ position:relative; height:64vh; min-height:380px; max-height:560px; overflow:hidden; }
.banner img{ width:100%; height:120%; object-fit:cover; object-position:70% 30%; will-change:transform; }
.banner::after{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(20,20,28,0.88) 0%, rgba(20,20,28,0.55) 40%, rgba(20,20,28,0.05) 75%, rgba(20,20,28,0) 100%); }
.banner-text{ position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:center; }
.banner-text .wrap{ width:100%; }
.banner-text .tag{ color:var(--gold); font-size:1rem; }
.banner-text h3{ color:var(--text-cream); font-size:clamp(1.5rem, 3vw, 2.1rem); max-width:12ch; margin-top:10px; line-height:1.2; }

/* ---------- QUOTE ---------- */
.quote{ padding:120px 0; text-align:center; background:rgba(241,233,218,0.92); }
.quote .wrap{ max-width:760px; }
.quote-mark{ color:var(--gold); font-family:'Fraunces', serif; font-size:3rem; line-height:1; }
.quote blockquote p{ font-family:'Fraunces', serif; font-style:italic; font-weight:400; font-size:clamp(1.3rem, 2.8vw, 2rem); line-height:1.5; color:var(--text-dark); }
.quote .attrib{ margin-top:26px; font-size:0.9rem; color:#7a7468; }

/* ---------- RĂDĂCINI ---------- */
.roots{ padding:110px 0; text-align:center; background:rgba(241,233,218,0.93); }
.roots .wrap{ max-width:640px; display:flex; flex-direction:column; align-items:center; }
.roots h2{ font-size:clamp(1.8rem, 3.2vw, 2.4rem); margin-top:10px; line-height:1.2; }
.roots p{ margin-top:20px; font-size:1.02rem; line-height:1.75; color:var(--muted); }
.roots .column{ margin-top:40px; }
.js .roots .column path{ opacity:0; transform:translateY(10px); transition:opacity .6s ease, transform .6s var(--ease); transition-delay:calc(var(--i) * 110ms); }
.js .roots .column.in path{ opacity:var(--o); transform:none; }

/* ---------- PRESENCE ---------- */
.presence{ background:rgba(20,20,28,0.92); color:var(--text-cream); padding:96px 0; }
.presence .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
@media (max-width:860px){ .presence .wrap{ grid-template-columns:1fr; gap:44px; } }
.presence-col .tag{ color:var(--gold); font-size:1rem; }
.presence-col h3{ margin-top:10px; font-size:1.6rem; max-width:16ch; }
.presence-col p{ margin-top:16px; color:var(--muted-cream); font-size:0.98rem; line-height:1.7; max-width:44ch; }
.presence-col .btn{ margin-top:22px; }

/* ---------- FOOTER ---------- */
footer{ padding:40px 0; background:rgba(233,221,200,0.96); }
footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
footer .brand{ color:var(--text-dark); }
footer .brand span{ color:var(--wine); }
.foot-links{ display:flex; gap:22px; list-style:none; }
.foot-links a{ color:#5c574d; text-decoration:none; font-size:0.88rem; transition:color .2s ease; }
.foot-links a:hover{ color:var(--wine); }
.copy{ width:100%; font-size:0.78rem; color:#8a8274; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .js .reveal, .js .reveal-img img, .js .rhomb-divider path, .js .roots .column path{ opacity:1; transform:none; stroke-dashoffset:0; }
  .js .roots .column path{ opacity:var(--o); }
}
