/* ============================================================
   Revista Demersuri Didactice — stylesheet
   Design: editorial / academic, paper & ink, accente albastre
   ============================================================ */

:root {
  --paper: #f6f3ec;
  --paper-deep: #efeadf;
  --card: #fffdf8;
  --ink: #1c2b3a;
  --ink-soft: #45566a;
  --ink-faint: #7c8a9a;
  --line: rgba(28, 43, 58, 0.14);
  --blue: #5d8fb0;
  --blue-deep: #33617f;
  --olive: #8f9434;
  --gold: #b98f2e;
  --shadow-sm: 0 1px 2px rgba(28, 43, 58, 0.08), 0 4px 12px rgba(28, 43, 58, 0.06);
  --shadow-md: 0 2px 4px rgba(28, 43, 58, 0.08), 0 12px 32px rgba(28, 43, 58, 0.14);
  --shadow-lg: 0 4px 8px rgba(28, 43, 58, 0.1), 0 24px 64px rgba(28, 43, 58, 0.22);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* textura discretă de hârtie */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

::selection { background: rgba(93, 143, 176, 0.28); }

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; position: relative; z-index: 2; }

/* ------------------------------------------------------------
   Tipografie
   ------------------------------------------------------------ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -0.015em; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 22px;
}
.kicker .num { font-family: var(--font-display); font-size: 14px; font-style: italic; letter-spacing: 0; color: var(--gold); }
.kicker::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: 0.45; }

.section-title { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; }
.section-title em { font-style: italic; font-weight: 420; color: var(--blue-deep); }

.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 62ch; }

/* ------------------------------------------------------------
   Butoane
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn .arr { transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.btn-primary { z-index: 0; }
.btn-primary:hover::after { transform: scaleX(1); }
.btn-primary:hover { border-color: var(--blue-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28, 43, 58, 0.35); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28, 43, 58, 0.05); }

.btn-small { padding: 10px 18px; font-size: 13px; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s var(--ease-out);
  background: transparent;
}
.site-header.scrolled {
  height: 62px;
  background: rgba(246, 243, 236, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.brand .brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 620; letter-spacing: -0.01em; }
.brand .brand-name em { font-style: italic; font-weight: 420; color: var(--blue-deep); }
.brand .brand-issn { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--ink); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { border-width: 1.5px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .brand .brand-issn { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 105;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 22px; font-family: var(--font-display); }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -18%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 143, 176, 0.16) 0%, rgba(93, 143, 176, 0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(51, 97, 127, 0.3);
  border-radius: 999px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }

.hero h1 {
  font-size: clamp(46px, 7.2vw, 96px);
  font-weight: 600;
  margin-bottom: 8px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--blue-deep); }

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 420;
  color: var(--ink-soft);
  margin: 18px 0 14px;
  max-width: 30ch;
}
.hero-meta { font-size: 14px; color: var(--ink-faint); margin-bottom: 36px; }
.hero-meta strong { color: var(--ink-soft); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* coperta plutitoare */
.hero-cover { position: relative; perspective: 1200px; justify-self: center; }
.cover-stack { position: relative; width: clamp(240px, 24vw, 330px); }
.cover-stack .cover {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out;
}
.cover-stack::before, .cover-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cover-stack::before { transform: rotate(-5deg) translate(-16px, 10px); z-index: 1; background: var(--paper-deep); }
.cover-stack::after { transform: rotate(3.5deg) translate(14px, 6px); z-index: 2; }
.cover-badge {
  position: absolute;
  top: -18px; right: -18px;
  z-index: 4;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: badge-float 5s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-7px) rotate(-1.5deg); }
}
.hero-cover .float { animation: cover-float 7s ease-in-out infinite; }
@keyframes cover-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-hint .wheel {
  width: 1px; height: 38px;
  background: linear-gradient(var(--ink-faint), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint .wheel::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%; height: 40%;
  background: var(--ink);
  animation: scroll-drip 2s ease-in-out infinite;
}
@keyframes scroll-drip { to { top: 110%; } }

@media (max-width: 880px) {
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cover { order: -1; margin-top: 10px; }
  .cover-stack { width: min(58vw, 250px); }
  .scroll-hint { display: none; }
}

/* ------------------------------------------------------------
   Banda rulantă (marquee)
   ------------------------------------------------------------ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: rgba(246, 243, 236, 0.92);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 18px;
}
.marquee-track span i { font-style: normal; color: var(--blue); padding-left: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Secțiuni
   ------------------------------------------------------------ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; z-index: 2; }
.section-alt { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* despre */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.about-body p { color: var(--ink-soft); margin-bottom: 18px; max-width: 60ch; }
.about-body p strong { color: var(--ink); }
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 600;
  float: left;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--blue-deep);
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stat { background: var(--card); padding: 30px 26px; }
.stat .stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 560;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat .stat-value .suffix { font-size: 0.55em; color: var(--blue-deep); font-style: italic; }
.stat .stat-label { margin-top: 10px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }

.issn-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 7px 14px;
  border-radius: 999px;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ultimul număr */
.feature-issue {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 64px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.feature-issue::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--olive));
}
.feature-cover { justify-self: center; max-width: 300px; width: 100%; }
.feature-cover img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.feature-cover:hover img { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.feature-info .issue-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.feature-info h3 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 14px; }
.feature-info .issue-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--ink-faint); margin: 18px 0 28px; }
.feature-info .issue-meta b { color: var(--ink-soft); font-weight: 600; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) {
  .feature-issue { grid-template-columns: 1fr; }
  .feature-cover { max-width: 230px; }
}

/* ------------------------------------------------------------
   Grila arhivei
   ------------------------------------------------------------ */
.archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

.year-group { margin-bottom: clamp(48px, 6vw, 80px); }
.year-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.year-label h3 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 560;
  color: var(--ink);
}
.year-label .count { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.year-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.issue-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s ease;
}
.issue-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(51, 97, 127, 0.35); }
.issue-card .cover-wrap { position: relative; overflow: hidden; border-radius: 5px; box-shadow: var(--shadow-sm); }
.issue-card .cover-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.issue-card:hover .cover-wrap img { transform: scale(1.045); }
.issue-card .cover-wrap .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 43, 58, 0.46);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.issue-card:hover .cover-wrap .overlay { opacity: 1; }
.issue-card .cover-wrap .overlay span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 10px 20px;
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}
.issue-card:hover .cover-wrap .overlay span { transform: translateY(0); }

.issue-card .card-info { display: flex; flex-direction: column; gap: 2px; }
.issue-card .card-info .no { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.issue-card .card-info .date { font-size: 13px; color: var(--ink-faint); }
.issue-card .card-info .pages { font-size: 12px; color: var(--ink-faint); }
.issue-card .card-actions { display: flex; gap: 8px; margin-top: 4px; }
.issue-card .card-actions a {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(28, 43, 58, 0.25);
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.issue-card .card-actions a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.issue-card .card-actions a.dl { border-style: dashed; }
.issue-card .card-actions a.dl:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* filtre ani (pe pagina de arhivă) */
.year-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.year-filter button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
.year-filter button:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.year-filter button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------------------------------------
   Cum publici (pași)
   ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 50px; }
.step { background: var(--card); padding: 38px 32px 42px; position: relative; transition: background 0.35s ease; }
.step:hover { background: #fff; }
.step .step-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 54px;
  font-weight: 480;
  color: rgba(51, 97, 127, 0.22);
  line-height: 1;
  margin-bottom: 18px;
  transition: color 0.35s ease;
}
.step:hover .step-no { color: var(--blue); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
.step p a { font-weight: 600; border-bottom: 1px solid rgba(51, 97, 127, 0.4); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* CTA mare */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before { width: 420px; height: 420px; left: -140px; top: -200px; background: radial-gradient(circle, rgba(93, 143, 176, 0.35), transparent 65%); }
.cta-band::after { width: 380px; height: 380px; right: -120px; bottom: -190px; background: radial-gradient(circle, rgba(143, 148, 52, 0.28), transparent 65%); }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 16px; }
.cta-band h2 em { font-style: italic; font-weight: 420; color: var(--blue); }
.cta-band p { color: rgba(246, 243, 236, 0.75); max-width: 56ch; margin: 0 auto 32px; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); position: relative; z-index: 1; }
.cta-band .btn-primary::after { background: var(--blue); }
.cta-band .btn-primary:hover { color: #fff; }

/* ------------------------------------------------------------
   Pagini interioare (redacția, publică, arhivă)
   ------------------------------------------------------------ */
.page-hero {
  padding: calc(var(--header-h) + clamp(50px, 8vw, 110px)) 0 clamp(44px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; font-weight: 420; color: var(--blue-deep); }
.page-hero .lead { margin-top: 6px; }

.board-section { margin-bottom: clamp(44px, 6vw, 70px); }
.board-section h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 8px;
}
.board-section .board-note { font-size: 14px; color: var(--ink-faint); margin-bottom: 24px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 20px 22px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.person .p-name { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; }
.person .p-role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.person .p-inst { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* publica — cerințe */
.req-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.req-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.req-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(143, 148, 52, 0.14);
  color: var(--olive);
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}
.req-list li b { color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.info-card h3 { font-size: 20px; margin-bottom: 14px; }
.info-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.info-card .email-line {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--blue-deep);
  margin: 16px 0 22px;
  word-break: break-all;
}

/* ------------------------------------------------------------
   Cititor PDF
   ------------------------------------------------------------ */
.reader-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(246, 243, 236, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.reader-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reader-bar .reader-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-bar .reader-nav { display: flex; gap: 8px; align-items: center; }
.reader-frame {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: calc(100svh - 64px);
  border: none;
  background: #525659;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.78);
  padding: clamp(56px, 8vw, 90px) 0 36px;
  position: relative;
  z-index: 2;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-bottom: 56px; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 26px; font-weight: 620; color: var(--paper); }
.footer-brand .brand-name em { font-style: italic; font-weight: 420; color: var(--blue); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 38ch; color: rgba(246, 243, 236, 0.6); }
.footer-col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 243, 236, 0.5); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(246, 243, 236, 0.82); font-size: 14.5px; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-col li { font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(246, 243, 236, 0.5);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Animații la scroll
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* reveal pe linii în hero */
.hero h1 .line > span {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
}
body.loaded .hero h1 .line > span { transform: translateY(0); }
.hero .fade-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
body.loaded .hero .fade-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .hero h1 .line > span, .hero .fade-item { opacity: 1; transform: none; }
}
