/* Natalia Badan — portofoliu. Acelaşi limbaj vizual ca flyerul A5 (varianta modernă v2). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --paper: #F3F1EC;
  --paper-2: #EAE7DF;
  --ink: #141414;
  --muted: #5B5850;
  --line: rgba(20, 20, 20, .16);
  --accent: #C4472B;
  --accent-ink: #A93A21;
  --blue: #345C8C;
  --gutter: clamp(16px, 4vw, 56px);
  --header: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.caps { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; white-space: nowrap;
       text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600; cursor: pointer;
       transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.hero-cta .btn:not(.btn--dark) { background: var(--paper); }
.hero-cta .btn:not(.btn--dark):hover { background: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- antet ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--header); background: rgba(243, 241, 236, .92);
       backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { font-stretch: 125%; font-weight: 650; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.lang a { text-decoration: none; padding: 6px 4px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); border-bottom: 1.5px solid var(--accent); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper);
         border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .top.is-open .nav { display: flex; }
  .top.is-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .top.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .top.is-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- copertă ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: 100svh; padding-top: var(--header); overflow: hidden; }
.hero-body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 48px var(--gutter) 64px; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 14px; }
.hero-kicker::before { content: ""; width: 36px; height: 1.5px; background: var(--ink); }
.hero-body > :not(.stroke) { position: relative; z-index: 1; }
.hero-name { font-stretch: 125%; font-weight: 600; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(44px, 7.4vw, 124px); }
.hero-text { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; max-width: 640px; font-size: 15.5px; line-height: 1.55; color: #2a2926; }
.dots li { position: relative; padding-left: 18px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; margin: 0; min-height: 100%; }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.tag { position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: var(--paper); padding: 7px 12px; font-size: 11px; font-weight: 600;
       letter-spacing: .16em; text-transform: uppercase; }
.stroke { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.hero .stroke { width: min(40vw, 520px); left: -16%; bottom: -24%; transform: rotate(-4deg) scaleX(-1); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-figure { order: -1; aspect-ratio: 5 / 4; min-height: 0; }
  .hero-body { padding-top: 36px; padding-bottom: 72px; gap: 26px; }
  .hero-name { font-size: clamp(42px, 14.2vw, 96px); }
  .hero .stroke { width: 70vw; left: auto; right: -34vw; bottom: -26vw; transform: rotate(-6deg); }
}
@media (max-width: 560px) {
  .hero-text { grid-template-columns: 1fr; gap: 18px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- secţiuni ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-title { font-stretch: 62%; font-weight: 650; text-transform: uppercase; line-height: 1.06; font-size: clamp(48px, 8vw, 108px); letter-spacing: -.005em; }
.sec-title em { display: block; font-style: normal; color: var(--accent); margin-top: .06em; }
.sec-num { color: var(--muted); }

/* ---------- galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1.5px solid var(--line); background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
          letter-spacing: .04em; transition: border-color .2s, background .2s, color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter .n { color: var(--muted); font-weight: 500; margin-left: 4px; }
.filter[aria-pressed="true"] .n { color: rgba(243, 241, 236, .65); }

/* coloanele sunt construite în site.js (fiecare lucrare merge în coloana cea mai scurtă) */
.gallery { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px); }
.gallery .col { flex: 1 1 0; min-width: 0; }
.work { display: block; width: 100%; margin: 0 0 clamp(22px, 3vw, 40px); padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.work[hidden] { display: none; }
.work .ph { position: relative; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 2px rgba(40, 30, 20, .08), 0 8px 24px -12px rgba(40, 30, 20, .25); }
.work img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .4s; opacity: 0; }
.work img.is-loaded { opacity: 1; }
.work:hover img { transform: scale(1.035); }
.work .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 12px; }
.work .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.work .c { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.gallery-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.more { display: flex; width: 100%; justify-content: center; margin: 4px 0 20px; }
.more[hidden] { display: none; }
.more .n { color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.more:hover .n { color: rgba(243, 241, 236, .65); }
@media (max-width: 560px) {
  .work .meta { flex-direction: column; gap: 2px; margin-top: 8px; }
  .work .t { font-size: 13.5px; } .work .c { font-size: 10px; letter-spacing: .1em; white-space: normal; }
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 50; display: none; background: #12110F; color: var(--paper); }
.lb.is-open { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 64px 72px 16px; min-height: 0; overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.lb-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px var(--gutter) 26px; border-top: 1px solid rgba(243, 241, 236, .14); }
.lb-title { font-stretch: 112%; font-weight: 600; font-size: 22px; line-height: 1.2; }
.lb-sub { color: rgba(243, 241, 236, .62); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.lb-price { color: #F0B7A6; }
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lb .btn { border-color: rgba(243, 241, 236, .5); color: var(--paper); }
.lb .btn:hover { background: var(--paper); color: var(--ink); }
.lb .btn--accent { border-color: var(--accent); color: #fff; }
.lb-x, .lb-nav { position: absolute; background: none; border: 0; color: var(--paper); cursor: pointer; padding: 12px; opacity: .8; }
.lb-x:hover, .lb-nav:hover { opacity: 1; }
.lb-x { top: 10px; right: 12px; font-size: 34px; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 40px; line-height: 1; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-count { position: absolute; top: 22px; left: var(--gutter); font-size: 12px; letter-spacing: .16em; color: rgba(243, 241, 236, .6); }
@media (max-width: 700px) {
  .lb-stage { padding: 56px 8px 8px; }
  .lb-nav { top: auto; bottom: 0; transform: none; font-size: 32px; }
  .lb-info { padding-top: 14px; }
  .lb-actions { width: 100%; } .lb-actions .btn { flex: 1 1 auto; justify-content: center; padding-inline: 14px; }
}

/* ---------- despre ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.about-text p + p { margin-top: 1.1em; }
.about-text { font-size: 18px; line-height: 1.65; max-width: 660px; }
.about-text strong { font-weight: 650; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 8vw, 100px); padding-top: 36px; border-top: 1.5px solid var(--ink); }
.quotes blockquote p { font-style: italic; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; }
.quotes blockquote p::before { content: "“"; display: block; font-style: normal; font-stretch: 62%; font-weight: 700; color: var(--accent); font-size: 64px; line-height: .7; margin-bottom: 8px; }
.quotes cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.quotes cite b { color: var(--ink); font-weight: 700; }
@media (max-width: 820px) { .about, .quotes { grid-template-columns: 1fr; } }

.portrait { margin-top: clamp(32px, 4vw, 48px); max-width: 420px; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.92); }

/* ---------- plein-air ---------- */
.sec-lead { max-width: 560px; font-size: 18px; line-height: 1.6; color: #2a2926; }
.strip { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; padding: 0 var(--gutter) 12px;
         scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.strip figure { flex: none; width: min-content; }  /* legenda se rupe pe lăţimea pozei */
.strip img { height: clamp(300px, 42vw, 520px); width: auto; max-width: none; object-fit: cover; }
.strip figure:first-child img { aspect-ratio: 4 / 3; }
.strip figcaption { margin-top: 10px; font-size: 12px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
@media (min-width: 1440px) { .strip { padding-inline: calc((100vw - 1440px) / 2 + var(--gutter)); } }

/* ---------- expoziţii ---------- */
.vernisaj { width: min(100%, 420px); }
.vernisaj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.posters { display: flex; gap: 14px; overflow-x: auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.posters img { flex: none; height: clamp(220px, 26vw, 320px); width: auto; max-width: none; box-shadow: 0 1px 2px rgba(40, 30, 20, .1), 0 10px 24px -14px rgba(40, 30, 20, .35); }
@media (min-width: 1440px) { .posters { padding-inline: calc((100vw - 1440px) / 2 + var(--gutter)); } }
.cv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cv h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); margin-bottom: 6px; }
.cv li { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.cv .y { font-weight: 650; font-variant-numeric: tabular-nums; }
.cv .p { color: var(--muted); display: block; font-size: 14px; }
.cv .grp + .grp { margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 980px) { .cv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cv { grid-template-columns: 1fr; } .cv li { grid-template-columns: 70px 1fr; } }

/* ---------- contact ---------- */
.contact { overflow: hidden; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.contact-lead { font-size: 18px; max-width: 520px; margin-top: 30px; color: #2a2926; }
.phone { display: inline-block; margin-top: 36px; font-stretch: 62%; font-weight: 650; font-size: clamp(44px, 7.5vw, 104px); line-height: 1; text-decoration: none; letter-spacing: -.005em; }
.phone:hover { color: var(--accent); }
.mail { display: block; margin-top: 12px; font-size: clamp(17px, 2vw, 22px); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.contact-cta { display: flex; flex-direction: column; gap: 12px; min-width: 230px; }
.contact-cta .btn:not(.btn--accent) { background: var(--paper); }
.contact-cta .btn:not(.btn--accent):hover { background: var(--ink); }
.contact .stroke { width: min(52vw, 660px); right: -16%; bottom: -30%; transform: rotate(-3deg); }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cta { min-width: 0; max-width: 420px; }
  .contact-cta .btn { justify-content: center; }
  .contact .stroke { width: 120vw; right: -50vw; bottom: -18vw; }
}

/* ---------- subsol ---------- */
.foot { position: relative; z-index: 1; padding-block: 28px 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work img { transition: none; }
}
