/* Temenos — stiluri comune */

:root {
  --ink: #2a211c;
  --ink-soft: #5b4d44;
  --muted: #8a7a6e;
  --cream: #f7f1ea;
  --sand: #efe4d7;
  --paper: #fffdf9;
  --clay: #5b4d44;
  --clay-dark: #2a211c;
  --gold: #f2b14c;
  --gold-soft: #f7d49a;
  --night: #241c18;
  --line: rgba(42, 33, 28, .12);

  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(42, 33, 28, .35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--clay-dark); text-underline-offset: .2em; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .75rem/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 177, 76, .15);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.brand img { width: 150px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(242, 177, 76, .4); color: var(--gold);
  border-radius: 999px; padding: .5rem .9rem; font: 500 .85rem var(--sans); cursor: pointer;
  align-items: center; gap: .5rem;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .25s;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.site-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: #e9ddd0; text-decoration: none; font-size: .92rem; letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); background: rgba(242, 177, 76, .1); }
.site-nav .nav-cta a { background: var(--gold); color: var(--night); font-weight: 600; margin-left: .5rem; }
.site-nav .nav-cta a:hover { background: var(--gold-soft); color: var(--night); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    background: var(--night);
    border-bottom: 1px solid rgba(242, 177, 76, .15);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; gap: .15rem; }
  .site-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .site-nav .nav-cta a { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); color: var(--night); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { color: var(--gold); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--night); color: #eadfd3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.section-dark .lead { color: #cdbfb2; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 860px);
  display: grid; align-items: center;
  color: #fff;
  padding-block: 6rem;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(36, 28, 24, .9) 0%, rgba(36, 28, 24, .7) 45%, rgba(36, 28, 24, .25) 100%);
}
.hero h1 { color: #fff; }
.hero h1 .eyebrow { display: flex; font-family: var(--sans); }
.hero .h1-main { display: block; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #eadfd3; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero > .seed {
  position: absolute; right: -8vw; top: 50%; translate: 0 -50%;
  width: min(62vw, 720px); color: var(--gold); opacity: .22; z-index: -1;
  animation: spin 160s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .hero > .seed { animation: none; } }

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: #fff;
  padding-block: clamp(4.5rem, 10vw, 7.5rem) clamp(3.5rem, 7vw, 5rem);
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #cdbfb2; max-width: 56ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .seed {
  position: absolute; right: -120px; top: -120px; width: 460px; color: var(--gold); opacity: .14; z-index: -1;
}

/* ---------- Definition / quote ---------- */

.definition {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.definition .seed { width: clamp(120px, 18vw, 200px); color: var(--clay); }
.definition dfn { font: italic 500 clamp(2.4rem, 5vw, 3.6rem)/1 var(--serif); color: var(--ink); }
.definition .gram { color: var(--muted); font-size: .9rem; letter-spacing: .08em; margin: .6rem 0 1rem; }
.definition blockquote {
  margin: 0; font: 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--serif); color: var(--ink-soft);
}
.definition cite { display: block; margin-top: .8rem; font: 500 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-style: normal; }
@media (max-width: 640px) { .definition { grid-template-columns: 1fr; } }

.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 22ch;
  font: italic 400 clamp(2rem, 5vw, 3.6rem)/1.15 var(--serif); color: #fff;
}
.quote-band blockquote::before {
  content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: .4rem;
}
.quote-band cite { display: block; margin-top: 1.6rem; font: 500 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.wide-text { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split.wide-text { grid-template-columns: 1fr; } }

.figure { position: relative; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure.offset::after {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: -1;
  border: 1px solid var(--clay); border-radius: var(--radius); opacity: .5;
}
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.figure.offset:has(figcaption) { margin-bottom: 4rem; }
.figure.offset figcaption {
  position: absolute; left: 0; right: 0; top: 100%;
  margin-top: 2.4rem; text-align: center; font-style: italic;
}

.prose p { color: var(--ink-soft); }
.prose p:first-of-type { font-size: 1.15rem; color: var(--ink); }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { font: 500 3rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(242, 177, 76, .18); }
.section-dark .card p { color: #cdbfb2; }

/* ---------- Info cards ---------- */

.info-card .ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--clay-dark); margin-bottom: 1.2rem;
}
.info-card .ico svg { width: 24px; height: 24px; }
.info-card .q { font: italic 500 1.1rem/1.4 var(--serif); color: var(--ink); margin-bottom: .6rem; }
.info-card p + p { margin-top: 0; }

/* ---------- Motto ---------- */

.motto { text-align: center; font: italic 400 clamp(1.4rem, 3vw, 2.1rem)/1.3 var(--serif); color: var(--clay-dark); margin: 0 auto 3rem; }
.motto small { display: block; font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; font-style: normal; }

/* ---------- Accordion ---------- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font: 500 clamp(1.3rem, 2vw, 1.55rem)/1.2 var(--serif);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  font: 300 1.4rem/1 var(--sans); color: var(--clay); transition: rotate .3s, background-color .2s;
}
.accordion details[open] summary::after { rotate: 45deg; background: var(--sand); }
.accordion summary:hover { color: var(--clay-dark); }
.accordion .body { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Pull quote ---------- */

.pull {
  margin: 0; padding: 2.5rem 0 2.5rem 2rem; border-left: 2px solid var(--gold);
  font: italic 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.5 var(--serif); color: #eadfd3;
}
.pull footer { margin-top: 1.2rem; font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: #fff; border-radius: calc(var(--radius) * 1.5);
  border: 1px solid rgba(242, 177, 76, .22);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #cdbfb2; margin: 0; max-width: 52ch; }
.cta-band .seed { position: absolute; right: -80px; bottom: -120px; width: 360px; color: var(--gold); opacity: .18; z-index: -1; }
.figure.offset.frame-gold::after { border-color: var(--gold); opacity: .7; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Resources (Ce urmăresc) ---------- */

.org {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line);
}
.org:first-child { border-top: 0; padding-top: 0; }
.org-media { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.org-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.org-media .logo { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 1.5rem; max-height: 140px; }
.org .tag { font: 600 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.org h3 { margin-top: .4rem; }
.org p { color: var(--ink-soft); }
.org address { font-style: normal; color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: translate .2s; }
.link-arrow:hover::after { translate: 4px 0; }
@media (max-width: 760px) { .org { grid-template-columns: 1fr; } }

.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.res {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.res:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.res .kind { font: 600 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.res h3 { margin: .5rem 0 .6rem; }
.res p {
  color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.res .go { margin-top: auto; font: 600 .85rem var(--sans); color: var(--clay-dark); }
.res .go::after { content: " ↗"; }
.res .go-in::after { content: " →"; }
.res .kind time { letter-spacing: .08em; }

/* ---------- Noutăți (articol) ---------- */

.news-meta { font: 600 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.news-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2rem; }
.news-body p, .news-body li { color: var(--ink-soft); }
.news-body blockquote { margin: 1.5rem 0; padding-left: 1.4rem; border-left: 2px solid var(--gold); font: italic 400 1.25rem/1.5 var(--serif); color: var(--ink); }
.news-body .motto-quote { border: 0; padding: 0; font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); text-align: center; margin: 0 auto 2.5rem; max-width: 34em; }
.news-body .motto-quote cite { display: block; margin-top: .6rem; font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-style: normal; }
.news-body .tale {
  margin: 1.8rem 0; padding: 1.4rem 1.6rem; border: 0; border-left: 2px solid var(--gold);
  background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
  font: 400 1.14rem/1.65 var(--serif); color: var(--ink);
}
.news-body .tale p { color: inherit; margin: 0 0 .8em; }
.news-body .tale p:last-child { margin-bottom: 0; }
.news-body .verse { font-style: italic; }
.news-body sup a { text-decoration: none; font-size: .75em; padding-left: .1em; }
.news-figure { margin: 2rem 0; }
.news-figure img { width: 100%; border-radius: 10px; background: var(--night); }
.news-figure img + img { margin-top: .6rem; }
.news-figure figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); font-style: italic; }
.news-figure.portrait { max-width: 380px; margin-inline: auto; text-align: center; }
.news-diagram svg { display: block; width: 100%; height: auto; max-width: 640px; margin-inline: auto; }
.news-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.news-triptych img + img { margin-top: 0; }
.news-body h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.news-thesis {
  margin: 1.8rem 0; padding: 1.5rem 1.7rem; border-radius: var(--radius);
  background: var(--night); color: #eadfd3;
}
.news-body .news-thesis p { color: #eadfd3; margin: 0; font: 400 1.2rem/1.6 var(--serif); }
.news-thesis strong { color: var(--gold); }
.news-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.news-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.news-table th, .news-table td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.news-table thead th { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay); border-bottom: 2px solid var(--gold); }
.news-table tbody th { font: 500 1.05rem var(--serif); color: var(--ink); white-space: nowrap; }
.news-notes { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; }
.news-notes h2 { font-size: 1.3rem; margin-top: 0; }
.news-notes li { color: var(--muted); margin-bottom: .4rem; }
.news-author { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.news-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.news-author p { margin: 0; font-size: .92rem; }
.news-source {
  margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: var(--sand); font-size: .92rem; color: var(--ink-soft);
}
.news-source strong { color: var(--ink); }
.crumbs { font-size: .85rem; color: #cdbfb2; margin-bottom: 1.2rem; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.article {
  background: var(--paper); border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
}
.article blockquote { margin: 0 0 1.5rem; font: italic 400 clamp(1.2rem, 2vw, 1.45rem)/1.5 var(--serif); color: var(--ink); }
.article p { color: var(--ink-soft); }
.article .source { font-size: .88rem; color: var(--muted); }

/* ---------- Lexicon (Concepte jungiene) ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lexicon-tools {
  position: sticky; top: 72px; z-index: 10;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding-block: 1rem .6rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.lexicon-tools input {
  width: 100%; padding: .85rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 1rem var(--sans);
}
.lexicon-tools input:focus-visible { outline-offset: 0; border-color: var(--gold); }
.alphabet { display: flex; flex-wrap: wrap; gap: .15rem; margin-top: .7rem; }
.alphabet a {
  display: grid; place-items: center; min-width: 2.1rem; height: 2.1rem; border-radius: 50%;
  font: 500 1.15rem/1 var(--serif); text-decoration: none; color: var(--clay);
}
.alphabet a:hover { background: var(--sand); color: var(--ink); }
.alphabet a.off { opacity: .3; pointer-events: none; }
.lexicon-status { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.lexicon-status:empty { min-height: 0; }

.letter { scroll-margin-top: 220px; }
.letter + .letter { margin-top: clamp(2.5rem, 6vw, 4rem); }
.letter > h2 {
  font-size: clamp(3rem, 7vw, 4.5rem); color: var(--gold); line-height: 1;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem;
}
.term { scroll-margin-top: 220px; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.term:last-child { border-bottom: 0; }
.term h3 { margin-bottom: .6rem; }
.term h3 a { color: inherit; text-decoration: none; }
.term h3 a:hover { color: var(--clay); }
.term:target h3 { color: var(--clay); }
.term p { color: var(--ink-soft); }
.term p a { color: var(--clay-dark); }
.term blockquote {
  margin: 0 0 1.1em; padding: .2rem 0 .2rem 1.4rem; border-left: 2px solid var(--gold);
  font: italic 400 1.2rem/1.55 var(--serif); color: var(--ink);
}
.term blockquote p { color: inherit; margin: 0; }
.term blockquote cite {
  display: block; margin-top: .5rem; font: 500 .75rem var(--sans); letter-spacing: .08em;
  color: var(--muted); font-style: normal;
}
.lexicon-empty { color: var(--muted); font-style: italic; }
.lexicon-section .source { margin-top: 3rem; font-size: .88rem; color: var(--muted); }

/* ---------- Media (video / audio) ---------- */

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--night); box-shadow: var(--shadow);
}
.yt button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .85; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt .play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold); color: var(--night); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s;
}
.yt:hover .play { transform: scale(1.08); }
.yt .play svg { width: 24px; height: 24px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-item figcaption { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
.media-item a { font-weight: 500; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem;
}
.contact-list .ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--clay);
}
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font: 500 1.25rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--clay); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); filter: sepia(.25) saturate(.9); }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: #bfb1a4; padding-block: 4rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { width: 160px; margin-bottom: 1.2rem; }
.site-footer .ft { font: 600 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #e9ddd0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #8f8176;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .8s ease, translate .8s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; transition: none; }
}
