/* ════════════════════════════════════════════════════════════════
   ACLC — aclc.eu · redesign 2026
   Editorial luxury: hârtie caldă, cerneală espresso, un singur
   accent roșcat (culoarea robei Limousine).
   ════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f7f2e9;
  --paper-deep: #efe7d8;
  --ink: #221a12;
  --ink-soft: #55483a;
  --muted: #8a7a66;
  --accent: #9c4f2a;
  --accent-deep: #7c3d20;
  --dark: #1e1710;
  --dark-2: #29201731;
  --cream: #f3ebdc;
  --line: rgba(34, 26, 18, 0.14);
  --line-light: rgba(243, 235, 220, 0.16);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1240px;
  --radius-lg: 1.75rem;
  --radius-md: 1.125rem;

  /* systemic layers */
  --z-nav: 40;
  --z-overlay: 45;
  --z-grain: 50;
  /* preluarea de întâmpinare stă peste tot, inclusiv peste grain și skip-link */
  --z-takeover: 70;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 340;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

/* atributul `hidden` trebuie să învingă orice `display` din foaia noastră
   (regula UA `[hidden]{display:none}` pierde în fața oricărei reguli de autor) */
[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--cream); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-300%);
  transition: transform 250ms var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* film grain — fixed, never on scrolling containers */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── typography ────────────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 420;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow-light { color: var(--cream); opacity: 0.85; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ── buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 460;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }

.btn-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 260ms var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(124, 61, 32, 0.55);
}
.btn-primary .btn-orb { background: rgba(243, 235, 220, 0.18); }

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn-cream .btn-orb { background: rgba(34, 26, 18, 0.08); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost .btn-orb { background: rgba(34, 26, 18, 0.06); }

.btn-nav {
  background: var(--accent);
  color: var(--cream);
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  font-size: 0.85rem;
}
.btn-nav .btn-orb { width: 1.9rem; height: 1.9rem; background: rgba(243, 235, 220, 0.18); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-deep); }
  .btn-cream:hover { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6); }
  .btn-ghost:hover { background: rgba(34, 26, 18, 0.05); }
  .btn:hover .btn-orb { transform: translate(2px, -2px); }
}

.link-quiet {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 440;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 235, 220, 0.4);
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-quiet:hover { border-color: var(--cream); }
}

.link-arrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 61, 32, 0.35);
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--accent); border-color: var(--accent); }
}

/* ── nav ───────────────────────────────────────────────────── */

.nav-sentinel { position: absolute; top: 120px; height: 1px; width: 1px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1rem clamp(1rem, 3vw, 2rem) 0;
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(30, 23, 16, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(243, 235, 220, 0.14);
  color: var(--cream);
  transition: background-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), color 400ms var(--ease-out);
}

.nav.scrolled .nav-inner {
  background: rgba(247, 242, 233, 0.82);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.1), 0 12px 32px -18px rgba(34, 26, 18, 0.35);
  color: var(--ink);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo {
  width: 44px;
  height: auto;
  filter: invert(1) brightness(1.6);
  transition: filter 400ms var(--ease-out);
}
.nav.scrolled .nav-logo { filter: none; }
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 440;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.nav-links a[aria-current="page"] {
  opacity: 1;
  background: rgba(243, 235, 220, 0.14);
}
.nav.scrolled .nav-links a[aria-current="page"] { background: rgba(34, 26, 18, 0.07); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { opacity: 1; background: rgba(243, 235, 220, 0.1); }
  .nav.scrolled .nav-links a:hover { background: rgba(34, 26, 18, 0.05); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-phone {
  font-size: 0.85rem;
  font-weight: 440;
  text-decoration: none;
  opacity: 0.85;
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.lang-switch a {
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 180ms var(--ease-out);
}
.lang-switch a[aria-current="true"] {
  opacity: 1;
  color: var(--accent);
}
.nav .lang-switch a[aria-current="true"] { color: #e8c9a8; }
.nav.scrolled .lang-switch a[aria-current="true"] { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .lang-switch a:hover { opacity: 1; }
}
.lang-switch span { opacity: 0.35; }
.menu-meta .lang-switch { margin-top: 0.8rem; font-size: 1rem; }

.nav-burger {
  display: none;
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 235, 220, 0.12);
  cursor: pointer;
}
.nav.scrolled .nav-burger { background: rgba(34, 26, 18, 0.07); }
.nav-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1rem;
  height: 1.6px;
  background: currentColor;
  color: inherit;
  transition: transform 320ms var(--ease-drawer);
}
.nav-burger span:first-child { transform: translate(-50%, calc(-50% - 3.5px)); }
.nav-burger span:last-child { transform: translate(-50%, calc(-50% + 3.5px)); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 6rem clamp(1.5rem, 6vw, 3rem) 3rem;
  background: rgba(30, 23, 16, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-drawer), visibility 0s 400ms;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms var(--ease-drawer);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.menu-list a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 420;
  line-height: 1.25;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(var(--i) * 45ms);
}
.menu-list a[aria-current="page"] { color: var(--accent); font-style: italic; }
.menu-overlay.open .menu-list a { opacity: 1; transform: translateY(0); }

.menu-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 500ms var(--ease-out) 420ms;
}
.menu-overlay.open .menu-meta { opacity: 0.75; }
.menu-meta a { text-decoration: none; }
.menu-meta p { margin: 0; }

/* ── hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(6rem, 10vh, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vh, 5rem);
  color: var(--cream);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dark);
  overflow: clip;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: hero-drift 16s var(--ease-out) forwards;
}
@keyframes hero-drift {
  to { transform: scale(1.02); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(30, 23, 16, 0.88) 0%, rgba(30, 23, 16, 0.35) 45%, rgba(30, 23, 16, 0.45) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(124, 61, 32, 0.35), transparent 60%);
}

.hero-content {
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
}

.hero-title {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 5.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero-line > span {
  display: block;
  transform: translateY(110%);
  animation: hero-rise 900ms var(--ease-out) forwards;
  animation-delay: calc(120ms + var(--i) * 90ms);
}
.hero-line-em > span {
  font-style: italic;
  font-weight: 340;
  color: #e8c9a8;
}

@keyframes hero-rise {
  to { transform: translateY(0); }
}

.hero-item {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade 800ms var(--ease-out) forwards;
  animation-delay: calc(150ms + var(--i) * 90ms);
}
@keyframes hero-fade {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 340;
  line-height: 1.6;
  opacity: 0.9;
}
.hero-sub.hero-item { animation-name: hero-fade-sub; }
@keyframes hero-fade-sub {
  to { opacity: 0.9; transform: translateY(0); }
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3rem, 7vh, 5rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(to bottom, var(--cream), transparent);
}

/* ── marquee ───────────────────────────────────────────────── */

.marquee {
  overflow: clip;
  border-block: 1px solid var(--line);
  padding: 0.9rem 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── stats ─────────────────────────────────────────────────── */

.stats { padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4rem, 7vw, 6rem); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.stat-major { grid-column: span 7; }
.stat-minor { grid-column: span 5; padding-bottom: 0.4rem; }
.stat-major:nth-of-type(3) { grid-column: 3 / span 6; }
.stat-minor:nth-of-type(4) { grid-column: span 4; }

.stat-num {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
}
.stat-major .stat-num { font-size: clamp(4.4rem, 11vw, 9.5rem); font-weight: 380; }
.stat-minor .stat-num { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 420; color: var(--accent); }

.stat-label {
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── despre ────────────────────────────────────────────────── */

.about {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-copy { position: sticky; top: 7rem; }

.about-text {
  max-width: 36rem;
  margin-top: 2rem;
}
.about-text p { margin: 0 0 1.3rem; color: var(--ink-soft); }
.about-text a {
  color: var(--accent-deep);
  font-weight: 460;
  text-decoration-color: rgba(124, 61, 32, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .about-text a:hover { text-decoration-color: var(--accent-deep); }
}

.about-callout {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink) !important;
  margin-top: 2rem !important;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* double-bezel frame */
.frame {
  margin: 0;
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  background: rgba(34, 26, 18, 0.05);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
}
.frame-core {
  border-radius: calc(var(--radius-lg) - 0.45rem);
  overflow: clip;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.frame-core img {
  width: 100%;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .frame:hover .frame-core img { transform: scale(1.035); }
}
.tilt-l { transform: rotate(-1.2deg); }

.card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.07), 0 24px 48px -32px rgba(34, 26, 18, 0.3);
}
.card-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 460;
}

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hours th,
.hours td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 380;
}
.hours th { text-align: left; color: var(--ink-soft); font-weight: 440; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed td { color: var(--muted); font-style: italic; }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }

/* ── BILC ──────────────────────────────────────────────────── */

.bilc {
  position: relative;
  padding: clamp(6rem, 11vw, 10rem) 0;
  background: var(--dark);
  color: var(--cream);
  overflow: clip;
}
.bilc-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/herd-green-field.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: saturate(0.4) sepia(0.3);
}
.bilc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 90% at 80% 10%, rgba(156, 79, 42, 0.28), transparent 60%);
}
.bilc-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}
.bilc-title { max-width: 18em; }
.bilc-title em { color: #e8c9a8; }

.bilc-acronym {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 235, 220, 0.28);
  user-select: none;
}

/* ── testimoniale ──────────────────────────────────────────── */

.voices { padding: clamp(5rem, 9vw, 8.5rem) 0; }

.quote {
  margin: 0;
  max-width: 52rem;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 380;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  text-indent: -0.45em;
}
.quote-mark {
  font-style: italic;
  color: var(--accent);
  margin-right: 0.08em;
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.quote-who img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
  border-radius: 24%;
  box-shadow: 0 8px 20px -10px rgba(34, 26, 18, 0.4);
}
.quote-name {
  margin: 0;
  font-weight: 520;
  font-size: 1.02rem;
}
.quote-role {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.voices-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.voice-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 0 1rem;
  border-radius: 28%;
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-deep);
}
.voice-name { margin: 0; font-weight: 520; }
.voice-role { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--muted); }
.voice-soon {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}

/* ── galerie ───────────────────────────────────────────────── */

.gallery {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 16vw, 220px);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}

.tile {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 23, 16, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.tile-tag {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 480;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.045); }
  .tile:hover::after { opacity: 1; }
  .tile:hover .tile-tag { opacity: 1; transform: translateY(0); }
}
@media (hover: none) {
  .tile::after { opacity: 1; }
  .tile-tag { opacity: 1; transform: none; }
}

.tile-a { grid-column: span 7; grid-row: span 2; }
.tile-b { grid-column: span 5; grid-row: span 2; }
.tile-c { grid-column: span 4; grid-row: span 1; }
.tile-d { grid-column: span 3; grid-row: span 1; }
.tile-e { grid-column: span 5; grid-row: span 1; }

/* ── footer ────────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(4.5rem, 8vw, 7rem) 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-light);
}

.footer-logo {
  width: 132px;
  filter: invert(1) brightness(1.5);
  opacity: 0.92;
}
.footer-tagline {
  max-width: 24rem;
  margin: 1.5rem 0 1.2rem;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.8;
}
.footer-fb {
  font-size: 0.9rem;
  font-weight: 460;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 235, 220, 0.35);
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-fb:hover { border-color: var(--cream); }
}

.footer-col h3 {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 520;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e8c9a8;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { opacity: 1; }
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
}

.footer-h-partners { margin-top: 2rem !important; }
.footer-partners {
  display: flex;
  gap: 0.8rem;
}
.footer-partners img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--cream);
  padding: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.6;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

/* ── scroll reveals ────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.tilt-l.in { transform: rotate(-1.2deg); }

/* no-JS fallback: everything visible */
.no-observer .reveal { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-major,
  .stat-minor,
  .stat-major:nth-of-type(3),
  .stat-minor:nth-of-type(4) { grid-column: span 6; }
}

@media (max-width: 700px) {
  .nav-phone { display: none; }
  .nav-inner .lang-switch { display: none; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-major,
  .stat-minor,
  .stat-major:nth-of-type(3),
  .stat-minor:nth-of-type(4) { grid-column: 1; }
  .voices-row { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: 1; grid-row: auto; }
  .tile-a, .tile-b { grid-row: span 2 / auto; }
  .footer-top { grid-template-columns: 1fr; }
  .tilt-l, .tilt-l.in { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   Subpagini
   ════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  padding: clamp(8.5rem, 16vh, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: clip;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(156, 79, 42, 0.22), transparent 55%),
    radial-gradient(60% 100% at 0% 100%, rgba(232, 201, 168, 0.07), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero .display em { color: #e8c9a8; }
.page-lead {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.85;
}

.page-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.page-section-alt {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

/* scrisoare (înscrieri) */
.letter {
  max-width: 44rem;
}
.letter p { margin: 0 0 1.25rem; color: var(--ink-soft); }
.letter strong { font-weight: 520; color: var(--ink); }
.letter-salute {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
}
.letter-rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}
.letter-sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}
.letter a { color: var(--accent-deep); text-underline-offset: 3px; }

/* pași (înscrieri) */
.steps {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.07), 0 24px 48px -36px rgba(34, 26, 18, 0.35);
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 {
  margin: 0.3rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 460;
  line-height: 1.25;
  text-wrap: balance;
}
.step p { margin: 0 0 0.8rem; color: var(--ink-soft); font-size: 0.98rem; }
.step ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.98rem; }
.step ul li { margin-bottom: 0.45rem; }
.step-note {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}
.step-files {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.file-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 460;
  color: var(--ink);
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.file-btn:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .file-btn:hover { background: #e7dcc6; }
  .file-btn:hover .chip { background: var(--accent); color: var(--cream); }
}
.chip {
  flex-shrink: 0;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(156, 79, 42, 0.12);
  color: var(--accent-deep);
  font-size: 0.66rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

/* liste documente (documente + selecție) */
.doc-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.doc-group:last-child { margin-bottom: 0; }
.doc-group-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 460;
}
.doc-group-note { max-width: 44rem; color: var(--ink-soft); margin: 0.5rem 0 1rem; }
.doc-group-note ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.doc-list { border-top: 1px solid var(--line); }
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-row-title { margin: 0; font-weight: 440; font-size: 1.02rem; }
.doc-row-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-deep);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .doc-link:hover { background: var(--accent); color: var(--cream); }
}

/* coloane selecție */
.select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.select-col-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 460;
}
.select-col-title .breed-dot {
  width: 0.65em;
  height: 0.65em;
  border-radius: 999px;
  flex-shrink: 0;
  transform: translateY(-0.05em);
}
.breed-dot-lim { background: var(--accent); }
.breed-dot-cha { background: #d8c9ae; box-shadow: inset 0 0 0 1px rgba(34,26,18,0.2); }

/* echipa */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.team-card { text-align: center; }
.team-photo {
  position: relative;
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(156, 79, 42, 0.14), transparent 70%),
    var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
  overflow: clip;
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.team-photo img {
  width: 86%;
  height: 94%;
  object-fit: contain;
  object-position: bottom;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-photo img { transform: scale(1.04) translateY(-2px); }
}
.team-name {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 480;
}
.team-role {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* galerie — filtru */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
  padding: 0.55rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 480;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .filter-btn:not([aria-pressed="true"]):hover { background: rgba(34, 26, 18, 0.06); }
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.gal-grid .tile { aspect-ratio: 4 / 3; }
.gal-grid .tile.hide { display: none; }

/* anunțuri — embeds */
.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: start;
}
.embed-card {
  border-radius: var(--radius-md);
  overflow: clip;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08), 0 20px 40px -32px rgba(34, 26, 18, 0.35);
  padding: 0.4rem;
}
.embed-card iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: calc(var(--radius-md) - 0.4rem);
  background: #fff;
}
/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-list { display: flex; flex-direction: column; }
.contact-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 520;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 420;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.contact-value a { text-decoration: none; transition: color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .contact-value a:hover { color: var(--accent); }
}
.contact-small { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.map-card {
  display: block;
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  position: relative;
  overflow: clip;
  box-shadow: 0 24px 48px -32px rgba(34, 26, 18, 0.5);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(156, 79, 42, 0.3), transparent 55%);
}
.map-card > * { position: relative; }
.map-card-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 460;
}
.map-card p { margin: 0; font-size: 0.92rem; opacity: 0.8; }
.map-card-cta {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(243, 235, 220, 0.4);
  padding-bottom: 2px;
}

/* galeria foto a unui articol (reutilizată de pagina de știre) */
.article-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}
.article-images a {
  display: block;
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
}
.article-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .article-images a:hover img { transform: scale(1.04); }
}

/* pagină în lucru (beef) */
.wip {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}
.wip-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--muted);
}

/* responsive subpagini */
@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; }
  .select-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .doc-row { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
}

/* ── reduced motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .hero-line > span,
  .hero-item {
    animation: hero-appear 400ms ease forwards;
  }
  @keyframes hero-appear {
    to { opacity: 1; transform: none; }
  }
  .hero-line > span { opacity: 1; }
  .marquee-track { animation: none; }
  .reveal {
    transition: opacity 400ms ease;
    transform: none;
  }
  .tile img,
  .frame-core img { transition: none; }
  .menu-list a { transition: opacity 300ms ease; transform: none; }
}


/* ════════════════════════════════════════════════════════════
   Știri
   ════════════════════════════════════════════════════════════ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: start;
}
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.07), 0 24px 48px -36px rgba(34, 26, 18, 0.35);
  overflow: clip;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.news-card-media {
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
  overflow: clip;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.news-card-media-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 50% 120%, rgba(156, 79, 42, 0.12), transparent 70%),
    var(--paper-deep);
}
.news-card-media-empty span {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(34, 26, 18, 0.22);
}
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
}
.news-card-date {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--accent-deep);
}
.news-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 460;
  line-height: 1.25;
  text-wrap: balance;
}
.news-card-title a { text-decoration: none; }
/* stretched link: tot cardul e clicabil, dar numele accesibil al linkului e DOAR titlul */
.news-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.news-card-excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  margin: auto 0 0;
  padding-top: 0.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-deep);
}
@media (hover: hover) and (pointer: fine) {
  .news-card:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.1), 0 30px 56px -34px rgba(34, 26, 18, 0.45);
  }
  .news-card:hover .news-card-media img { transform: scale(1.04); }
}
/* conturul de focus urcă pe tot cardul acolo unde :has() e suportat */
.news-card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── schelete ── */
.news-skeleton {
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.07);
  overflow: clip;
}
.news-skeleton .sk-media { aspect-ratio: 16 / 10; background: var(--paper-deep); }
.news-skeleton .sk-body {
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.sk-line { height: 0.7rem; border-radius: 999px; background: var(--paper-deep); }
.sk-line-title { height: 1.1rem; width: 78%; }
.sk-line-short { width: 45%; }
.sk-shimmer { position: relative; overflow: clip; }
.sk-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: sk-sweep 1.5s var(--ease-out) infinite;
}
@keyframes sk-sweep { to { transform: translateX(100%); } }

/* ── stări ── */
.news-state {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  /* --ink-soft, nu --muted: la 1,15rem (18,4px) negroșat textul nu e „large
     text" pentru WCAG (pragul e 24px, sau 18,66px bold), deci are nevoie de
     4,5:1. --muted pe --paper dă 3,72:1; --ink-soft dă ~7,9:1. Acesta e textul
     pe care îl vede tot publicul cât timp nu există niciun articol. */
  color: var(--ink-soft);
}
.news-state a { color: var(--accent-deep); }
.news-state-error { color: var(--accent-deep); }
/* butonul „Reîncearcă” nu are .btn-orb, deci are nevoie de padding simetric */
.news-state .btn { margin-top: 1rem; padding-right: 1.6rem; font-style: normal; }
.news-more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.news-more button[disabled] { opacity: 0.55; cursor: default; }

/* ── teaser homepage ── */
.news-home { padding: clamp(5rem, 9vw, 8.5rem) 0; }

/* ── pagina de articol ── */
/* modificator pe .page-hero: aceeași scenă întunecată, alt context semantic */
.news-hero .display { text-wrap: balance; }
.news-hero-meta {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.8;
}
.news-article { max-width: 46rem; margin-inline: auto; }
.news-note {
  margin: 0 0 2rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(156, 79, 42, 0.09);
  box-shadow: inset 0 0 0 1px rgba(156, 79, 42, 0.18);
  color: var(--accent-deep);
  font-size: 0.92rem;
}
.news-lead {
  margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  background: rgba(34, 26, 18, 0.05);
  box-shadow: inset 0 0 0 1px rgba(34, 26, 18, 0.08);
}
/* afișele asociației sunt de regulă verticale: contain, nu crop 16/9 */
.news-lead-stage {
  height: min(68vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius-lg) - 0.45rem);
  background: var(--paper-deep);
  overflow: clip;
}
.news-lead-stage img { width: 100%; height: 100%; object-fit: contain; }
.news-prose > p { margin: 0 0 1.25rem; color: var(--ink-soft); }
.news-prose > p:first-child { font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.news-prose h3 {
  margin: clamp(1.8rem, 3vw, 2.4rem) 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 460;
  line-height: 1.3;
}
.news-prose ul { margin: 0 0 1.25rem; padding-left: 1.15rem; color: var(--ink-soft); }
.news-prose li { margin-bottom: 0.45rem; }
.news-photos-title { margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 1100px) { .news-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .news-grid-3 { grid-template-columns: 1fr; }
  .news-lead-stage { height: min(62vh, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  .news-card { transition: none; }
  .news-card:hover { transform: none; }
  .news-card-media img { transition: none; }
  .news-card:hover .news-card-media img { transform: none; }
  .sk-shimmer::after { animation: none; }
}


/* ════════════════════════════════════════════════════════════
   Știri — preluarea de întâmpinare
   Afișul celui mai recent anunț, o singură dată, la prima intrare:
   o planșă întunecată cu afișul „prins în perete" la stânga și o
   filă de hârtie la dreapta. Nodurile sunt construite din script.js.
   ════════════════════════════════════════════════════════════ */

.news-takeover {
  position: fixed;
  inset: 0;
  z-index: var(--z-takeover);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.9rem, 4vw, 2.5rem);
  background: rgba(34, 26, 18, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.news-takeover.open { opacity: 1; }
/* ieșirea e mai scurtă decât intrarea */
.news-takeover.news-takeover-out { transition-duration: 200ms; }

.news-takeover-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  width: min(1040px, 100%);
  /* fără min-width: 0, dimensiunea minimă automată a elementului flex (min-content)
     ar depăși lățimea cerută pe ecrane înguste și cardul ar ieși din fereastră */
  min-width: 0;
  max-width: 100%;
  max-height: min(88vh, 920px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px var(--paper-deep),
    0 50px 96px -44px rgba(0, 0, 0, 0.7);
  overflow: clip;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.news-takeover.open .news-takeover-card { opacity: 1; transform: none; }
.news-takeover.news-takeover-out .news-takeover-card { transition-duration: 200ms; }
/* Cardul primește focusul doar programatic, ca să audă cititorul de ecran titlul;
   nu e un control, iar inelul global de focus desenat în jurul întregii compoziții
   nu ar spune nimic. Butoanele dinăuntru își păstrează inelul. */
.news-takeover-card:focus,
.news-takeover-card:focus-visible { outline: none; }
/* fără afiș rămâne doar fila de hârtie, pe o singură coloană */
.news-takeover-card.news-takeover-solo { grid-template-columns: minmax(0, 1fr); }

/* ── planșa afișului ── */
.news-takeover-plinth {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background:
    radial-gradient(115% 85% at 50% 8%, rgba(156, 79, 42, 0.38), transparent 62%),
    radial-gradient(100% 75% at 50% 112%, var(--accent-deep), transparent 72%),
    var(--ink);
  overflow: clip;
}
/* .grain e fixat sub preluare (z 50 < 70), deci planșa își poartă textura proprie */
.news-takeover-plinth::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* afișele asociației sunt verticale: contain, niciodată tăiate */
.news-takeover-poster {
  position: relative;
  max-width: 100%;
  max-height: min(78vh, 660px);
  width: auto;
  object-fit: contain;
  border-radius: 0.3rem;
  /* umbra îl ridică de pe planșă, firul de lumină îi ține marginea vizibilă și
     când afișul însuși e închis la culoare */
  box-shadow:
    0 0 0 1px rgba(243, 235, 220, 0.16),
    0 28px 64px -24px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 460ms var(--ease-out) 120ms, transform 460ms var(--ease-out) 120ms;
}
.news-takeover.open .news-takeover-poster { opacity: 1; transform: none; }
.news-takeover.news-takeover-out .news-takeover-poster {
  transition: opacity 160ms var(--ease-out);
}

/* ── fila de hârtie ── */
.news-takeover-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
  min-height: 0;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Fila are înălțime impusă de card, iar un `-webkit-box` cu line-clamp acceptă să
   fie strivit sub conținutul lui: fără asta, rezumatul se turtea la o linie tăiată
   pe verticală. Copiii nu se strâng — când nu încap, fila derulează. */
.news-takeover-panel > * { flex: 0 0 auto; }

.news-takeover-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.news-takeover-dot {
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  animation: tk-pulse 2.6s var(--ease-out) infinite;
}
@keyframes tk-pulse {
  0% { box-shadow: 0 0 0 0 rgba(156, 79, 42, 0.5); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgba(156, 79, 42, 0); }
}
.news-takeover-from {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  /* --ink-soft, nu --muted: text mic pe hârtie are nevoie de 4,5:1 (vezi .news-state) */
  color: var(--ink-soft);
}

.news-takeover-date {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.news-takeover-title {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 440;
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.news-takeover-excerpt {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-takeover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.5rem;
  margin-top: auto;
  padding-top: clamp(1.3rem, 2.6vw, 1.8rem);
  /* firul de despărțire face din spațiul liber de deasupra o pauză voită,
     nu un gol (aceeași linie ca .letter-rule / .doc-list) */
  border-top: 1px solid var(--line);
}
.news-takeover-later {
  padding: 0.5rem 0.15rem;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 440;
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: inset 0 -1px 0 var(--line);
  transition: color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.news-takeover-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.75rem;          /* 44 px de suprafață de atins */
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 242, 233, 0.9);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 22px -12px rgba(34, 26, 18, 0.8);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.news-takeover-close:active { transform: scale(0.94); }

@media (hover: hover) and (pointer: fine) {
  .news-takeover-close:hover { background: var(--cream); }
  .news-takeover-later:hover { color: var(--accent-deep); box-shadow: inset 0 -1px 0 var(--accent); }
}

/* ── telefon: afișul sus, fila dedesubt, acțiunile pe toată lățimea ── */
@media (max-width: 760px) {
  .news-takeover { padding: 0.7rem; }
  .news-takeover-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 92vh;
  }
  /* planșa rămâne fixă, fila e cea care derulează — butonul × nu fuge de sub deget */
  .news-takeover-plinth { padding: 1.1rem; }
  /* 34vh, nu 42: pe un telefon de 780 px înălțime, un afiș mai înalt împingea
     „Mai târziu” sub marginea cardului */
  .news-takeover-poster { max-height: 34vh; }
  .news-takeover-panel { padding: 1.35rem 1.2rem 1.5rem; gap: 0.55rem; }
  .news-takeover-title { font-size: clamp(1.55rem, 6.2vw, 2.1rem); }
  .news-takeover-excerpt { font-size: 0.98rem; -webkit-line-clamp: 3; line-clamp: 3; }
  .news-takeover-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding-top: 1.1rem;
  }
  .news-takeover-cta { justify-content: space-between; }
  .news-takeover-later { width: 100%; text-align: center; }
}

/* telefoane scunde (SE și rude): afișul cedează din înălțime ca ambele acțiuni
   să rămână în card, nu sub marginea lui */
@media (max-width: 760px) and (max-height: 700px) {
  .news-takeover-poster { max-height: 26vh; }
  .news-takeover-panel { padding: 1.1rem 1.2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .news-takeover,
  .news-takeover-card { transition: opacity 120ms linear; }
  .news-takeover-card,
  .news-takeover.open .news-takeover-card { transform: none; }
  .news-takeover-poster {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .news-takeover-dot { animation: none; }
  .news-takeover-close,
  .news-takeover-later { transition: none; }
}
