/* IES-Europe (ies-europe.ro) - stil public */
:root {
  --ink: #17232a;
  --ink-2: #3a4a52;
  --muted: #5d6c74;
  --rule: #dbe1e4;
  --mist: #f1f4f5;
  --paper: #ffffff;
  --petrol: #123540;
  --petrol-2: #0b262e;
  --accent: #f4922c;
  --accent-ink: #a14f08;
  --accent-soft: #fde7cf;
  --on-dark: #e8eef0;
  --on-dark-muted: #a9bcc2;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Noto Serif", "Source Serif Pro", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.ico { flex: none; vertical-align: -0.2em; }

/* ---------- admin + draft bars */
.adminbar { background: #000; color: #ddd; font-size: .8125rem; display: flex; gap: 1.25rem; padding: .35rem clamp(16px, 4vw, 32px); }
.adminbar a { color: #fff; }
.draftbar { background: #fff4d6; border-bottom: 1px solid #f0d58a; font-size: .9375rem; padding: .6rem 0; color: #5a4300; }

/* ---------- top bar */
.topbar { background: var(--petrol-2); color: var(--on-dark-muted); font-size: .8125rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.25rem; flex-wrap: wrap; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.topbar a:hover { color: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar .social { gap: .75rem; }
.langs { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1rem !important; gap: .6rem !important; }
.langs a { font-weight: 600; letter-spacing: .02em; color: var(--on-dark-muted); }
.langs a.is-current { color: var(--accent); }

/* ---------- masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.brand__logo { width: 56px; height: 56px; object-fit: contain; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; line-height: 1.15; max-width: 17ch; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav ul a { display: block; padding: .55rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; }
.nav ul a:hover { color: var(--accent-ink); }
.nav ul a[aria-current] { border-bottom-color: var(--accent); }
.nav__search { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: 99px; padding: 0 .35rem 0 .9rem; background: var(--mist); }
.nav__search input { border: 0; background: transparent; font: inherit; font-size: .9375rem; width: 9rem; padding: .45rem 0; color: var(--ink); }
.nav__search input:focus { outline: none; }
.nav__search:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.nav__search button { border: 0; background: transparent; padding: .35rem; cursor: pointer; color: var(--ink-2); display: flex; }
.navtoggle { display: none; border: 1px solid var(--rule); background: var(--paper); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; position: relative; }
.navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.navtoggle__bars { top: 21px; }
.navtoggle__bars::before { left: 0; top: -6px; }
.navtoggle__bars::after { left: 0; top: 6px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
.navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: var(--ink); border: 2px solid var(--accent);
  font: 600 .9375rem/1.2 var(--sans); padding: .75rem 1.15rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #e47f15; border-color: #e47f15; color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--petrol); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--small { padding: .5rem .9rem; font-size: .875rem; }
.btn--block { width: 100%; justify-content: flex-start; text-align: left; }
.link-strong { font-weight: 600; }

/* ---------- covers: the report on the desk */
.cover { display: block; width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; background: var(--mist); }
.cover--blank { display: flex; align-items: flex-end; padding: 1rem; background: linear-gradient(160deg, var(--petrol), var(--petrol-2)); color: #fff; font-family: var(--serif); font-weight: 700; line-height: 1.2; font-size: 1rem; }
.cover--blank span { display: block; border-top: 4px solid var(--accent); padding-top: .6rem; }

/* ---------- hero spread */
.spread { background: var(--petrol); color: var(--on-dark); position: relative; overflow: hidden; }
.spread::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--accent); }
.spread__in { position: relative; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 6vw, 4.75rem); }
.slide { display: grid; grid-template-columns: minmax(180px, 330px) 1fr; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.slide[hidden] { display: none; }
.slide.is-active { animation: slidein .45s ease-out; }
@keyframes slidein { from { opacity: 0; } to { opacity: 1; } }
.slide__cover { position: relative; display: block; margin-left: 12px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.25); }
.slide__cover::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; background: var(--accent); }
.slide__meta { color: var(--accent); font-weight: 600; font-size: .9375rem; margin-bottom: .75rem; }
.slide__title { font-size: clamp(1.875rem, 4.2vw, 3.25rem); line-height: 1.08; margin-bottom: .6rem; color: #fff; max-width: 20ch; letter-spacing: -.01em; }
.slide__title a { color: inherit; text-decoration: none; }
.slide__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.slide__sub { font-family: var(--serif); font-size: 1.25rem; color: var(--on-dark); margin-bottom: .75rem; }
.slide__excerpt { color: var(--on-dark-muted); max-width: 60ch; font-size: 1.0625rem; }
.slide__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.spread__nav { position: absolute; right: clamp(16px, 4vw, 32px); bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.spread__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.spread__arrow:hover { border-color: var(--accent); color: var(--accent); }
.spread__dots { list-style: none; display: flex; gap: .4rem; margin: 0 .25rem; padding: 0; }
.spread__dots button { width: 22px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; border-radius: 2px; }
.spread__dots button[aria-current] { background: var(--accent); width: 34px; }

/* ---------- sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section + .section { padding-top: 0; }
.section--quiet { background: var(--mist); padding-top: clamp(2.5rem, 6vw, 4rem) !important; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--rule); padding-bottom: .75rem; }
.section__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.section__more { font-weight: 600; font-size: .9375rem; white-space: nowrap; }

/* shelf of covers */
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 2.25rem 1.75rem; }
.book__link { display: block; text-decoration: none; color: var(--ink); }
.book__cover { display: block; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 12px 24px -14px rgba(0,0,0,.45); margin-bottom: .9rem; border-left: 5px solid var(--accent); transition: transform .18s ease; }
.book__link:hover .book__cover { transform: translateY(-3px); }
.book__title { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.28; }
.book__link:hover .book__title { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.book__meta { font-size: .8125rem; color: var(--muted); margin: .4rem 0 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.book__kind { color: var(--accent-ink); font-weight: 600; }

/* topics */
.section--topics { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.topics { display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.topics__title { font-size: 1.25rem; margin: 0; }
.topics__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.topics__list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.topics__list a span { color: var(--muted); font-weight: 400; font-size: .875rem; margin-left: .15rem; }
.topics__list a:hover { color: var(--accent-ink); text-decoration: underline; }

/* about band */
.about-band { background: var(--mist); padding: clamp(2.5rem, 6vw, 4rem) 0 !important; }
.about-band__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
.about-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.about-band__text { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.65; max-width: 62ch; }
.about-band__text p:last-child { font-family: var(--sans); font-size: 1rem; }

/* projects */
.projects .section__title { margin-bottom: 1.5rem; }
.projects__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem 2rem; }
.project { border-top: 3px solid var(--petrol); padding-top: 1rem; }
.project h3 { font-size: 1.1875rem; margin-bottom: .35rem; }
.project h3 a { color: var(--ink); text-decoration: none; }
.project h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.project p { color: var(--ink-2); font-size: .9375rem; margin: 0; }

/* ---------- page head */
.pagehead { background: var(--mist); border-bottom: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagehead__title { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0; letter-spacing: -.01em; }
.pagehead__lead { color: var(--ink-2); max-width: 65ch; margin: .75rem 0 0; font-size: 1.125rem; }
.crumbs { font-size: .875rem; margin-bottom: .75rem; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs a + a::before { content: "/"; margin-right: .4rem; color: var(--rule); }

/* ---------- archive */
.archive { padding-top: 1.75rem; padding-bottom: 4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.25rem; }
.filters input, .filters select { font: inherit; font-size: .9375rem; padding: .55rem .7rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; color: var(--ink); }
.filters__q { flex: 1 1 16rem; }
.filters__q input { width: 100%; }
.archive__count { color: var(--muted); font-size: .9375rem; border-bottom: 1px solid var(--rule); padding-bottom: .75rem; margin-bottom: 0; }
.archive__count a { margin-left: .75rem; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; grid-template-columns: 120px 1fr; gap: 1.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.entry__cover { display: block; border-left: 4px solid var(--accent); box-shadow: 0 8px 18px -12px rgba(0,0,0,.5); align-self: start; }
.entry__title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: .1rem 0 .4rem; }
.entry__title a { color: var(--ink); text-decoration: none; }
.entry__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.entry__sub { font-family: var(--serif); color: var(--ink-2); margin-bottom: .4rem; }
.entry__excerpt { color: var(--ink-2); max-width: 75ch; margin-bottom: .6rem; }
.entry__meta { font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; }
.cats { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .25rem; font-size: .8125rem; font-weight: 600; }
.cats a { color: var(--accent-ink); text-decoration: none; }
.cats a:hover { text-decoration: underline; }
.tag-draft { color: #8a5a00; font-weight: 600; }
.empty { color: var(--ink-2); padding: 2rem 0; }
.pagehits { list-style: none; padding: 0; margin: 1rem 0; }
.pagehits li { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.pagehits a { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.pager__nums { display: flex; gap: .3rem; }
.pager__num, .pager__step { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; }
.pager__num.is-current { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.pager a:hover { border-color: var(--accent); color: var(--accent-ink); }
.pager__gap { padding: .45rem .3rem; color: var(--muted); }

/* ---------- study */
.study { padding: 1.75rem 0 3.5rem; }
.study__grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: .5rem; }
.study__aside { align-self: start; position: sticky; top: 1.5rem; }
.study__cover { position: relative; margin: 0 0 1.5rem 10px; box-shadow: 0 22px 40px -22px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.18); }
.study__cover::before { content: ""; position: absolute; left: -10px; top: 0; bottom: 0; width: 10px; background: var(--accent); }
.actions { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.facts { margin: 0; font-size: .9375rem; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.isbn { font-variant-numeric: tabular-nums; }
.study__head { margin-bottom: 1.5rem; }
.study__title { font-size: clamp(2rem, 4.2vw, 3.125rem); line-height: 1.1; letter-spacing: -.012em; margin: .25rem 0 .5rem; max-width: 22ch; }
.study__sub { font-family: var(--serif); font-size: 1.375rem; color: var(--ink-2); max-width: 40ch; }
.pullquote { margin: 2.25rem 0; padding: 1.5rem 0 1.5rem 1.75rem; border-left: 5px solid var(--accent); max-width: 68ch; }
.pullquote blockquote { margin: 0; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.5; font-style: italic; }
.pullquote figcaption { margin-top: .75rem; font-weight: 600; font-size: .9375rem; }
.share { display: flex; align-items: center; gap: .35rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.share__label { font-size: .875rem; color: var(--muted); margin-right: .5rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 50%; background: #fff; cursor: pointer; }
.share button { font: inherit; font-size: .8125rem; }
.share a:hover, .share button:hover { color: var(--accent-ink); border-color: var(--accent); }
.share__done { padding-right: .3rem; }
.share button:has(.share__done:not([hidden])) { border-radius: 99px; }
.neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.neighbors a { text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.neighbors a span { display: block; font-family: var(--sans); font-weight: 500; font-size: .8125rem; color: var(--muted); margin-bottom: .25rem; }
.neighbors a:hover { color: var(--accent-ink); }
.neighbors__next { text-align: right; }

/* ---------- prose (study presentation + pages) */
.prose { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.7; max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.625rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3125rem; margin: 1.75em 0 .5em; }
.prose h4 { font-size: 1.125rem; margin: 1.5em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 4px solid var(--accent); color: var(--ink-2); font-style: italic; }
.prose img { height: auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-family: var(--sans); font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .9375rem; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose code { font-size: .9em; background: var(--mist); padding: .1em .3em; border-radius: 2px; }
.prose iframe { max-width: 100%; }
.prose--page { max-width: 72ch; }
.page { padding-top: 2.25rem; padding-bottom: 4rem; }
.page--wide .prose { max-width: none; }
.page__image { display: block; max-height: 340px; width: auto; margin-bottom: 2rem; }

/* WordPress block content kept from the old site */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.5em; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1em; }
.wp-block-button__link { display: inline-flex; align-items: center; background: var(--accent); color: var(--ink) !important; font: 600 .9375rem/1.2 var(--sans); padding: .75rem 1.15rem; border-radius: var(--radius); text-decoration: none; }
.wp-block-button__link:hover { background: #e47f15; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--ink); }
.wp-block-image img { height: auto; }
.aligncenter, .has-text-align-center { text-align: center; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.wp-block-embed iframe, .wp-block-video video { width: 100%; aspect-ratio: 16/9; height: auto; }

/* ---------- team */
.team { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 2.5rem 3rem; font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 1.25rem; align-items: start; scroll-margin-top: 2rem; }
.person__photo { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2.25rem; color: var(--petrol); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--rule); }
.person__name { font-size: 1.375rem; margin: .1rem 0 .1rem; }
.person__role { color: var(--accent-ink); font-weight: 600; margin-bottom: .6rem; }
.person__bio { color: var(--ink-2); }
.person__bio p { margin-bottom: .6rem; }
.person__links { display: flex; gap: 1rem; font-size: .9375rem; }
.prose .team { max-width: none; }

/* ---------- contact */
.addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; margin: 0 0 2.5rem; font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
.address { border-top: 3px solid var(--petrol); padding-top: .9rem; }
.address--main { border-top-color: var(--accent); }
.address h2 { font-size: 1.125rem !important; margin: 0 0 .5rem !important; }
.prose .addresses, .prose .formbox { max-width: none; }

/* ---------- forms */
.formbox { font-family: var(--sans); font-size: 1rem; line-height: 1.5; background: var(--mist); border-top: 4px solid var(--accent); padding: clamp(1.25rem, 3vw, 2rem); max-width: 720px; scroll-margin-top: 1rem; }
.formbox h2 { margin-top: 0 !important; font-size: 1.5rem !important; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9375rem; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid #c9d2d6; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--end { align-items: end; grid-template-columns: auto auto; justify-content: space-between; }
.form__math input { width: 6rem; }
.form__hp { position: absolute; left: -9999px; }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1rem; font-family: var(--sans); font-size: 1rem; }
.notice ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.notice p { margin: 0; }
.notice--ok { background: #e3f4e8; border-left: 4px solid #2e8b57; }
.notice--err { background: #fdeaea; border-left: 4px solid #c0392b; }

/* order */
.order { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; padding-top: 2rem; padding-bottom: 4rem; }
.order__book .cover { border-left: 5px solid var(--accent); box-shadow: 0 16px 30px -18px rgba(0,0,0,.55); }
.order__title { font-family: var(--serif); font-weight: 700; margin-top: 1rem; line-height: 1.3; }
.order__price { font-weight: 600; color: var(--accent-ink); }
.order__form { max-width: 640px; }

/* search */
.searchbig { display: flex; gap: .6rem; margin-top: 1.25rem; max-width: 640px; }
.searchbig input { flex: 1; font: inherit; font-size: 1.125rem; padding: .7rem .9rem; border: 1px solid #c9d2d6; border-radius: var(--radius); }

/* ---------- footer */
.footer { background: var(--petrol-2); color: var(--on-dark-muted); font-size: .9375rem; margin-top: 0; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem 2.5rem; padding-top: 3rem; padding-bottom: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 0; flex: none; }
.footer__brand span { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; color: #fff; line-height: 1.2; max-width: 18ch; }
.footer h2 { font-family: var(--sans); font-size: .9375rem; color: #fff; font-weight: 600; margin-bottom: .75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer .social { display: flex; gap: .9rem; margin-top: 1rem; }
.footer__langs { margin-top: 1.1rem !important; }
.footer__langs a { display: inline-flex; align-items: center; gap: .55rem; }
.footer__langs a[aria-current] span { color: #fff; font-weight: 600; }
.flag { flex: none; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.footer__base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.1rem; padding-bottom: 1.5rem; font-size: .8125rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer__base p { margin: 0; }

/* ---------- responsive */
@media (max-width: 1040px) {
  .nav__search input { width: 6.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .navtoggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: .75rem clamp(16px, 4vw, 32px) 1.25rem; gap: .75rem; box-shadow: 0 12px 20px -14px rgba(0,0,0,.3); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { border-bottom: 1px solid var(--rule); padding: .8rem 0; }
  .nav ul a[aria-current] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--accent); padding-left: .8rem; }
  .nav__search input { width: 100%; }
  .topbar__hours { display: none; }
  .slide { grid-template-columns: 1fr; }
  .slide__cover { max-width: 210px; }
  .study__grid { grid-template-columns: 1fr; }
  .study__aside { position: static; display: grid; grid-template-columns: 170px 1fr; gap: 1.25rem; }
  .study__aside .study__cover { grid-row: span 2; margin-bottom: 0; }
  .study__aside .facts { grid-column: 1 / -1; }
  .about-band__in, .topics { grid-template-columns: 1fr; gap: 1rem; }
  .order { grid-template-columns: 1fr; }
  .order__book { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center; }
  .order__book .order__title { margin: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 1rem; }
  .masthead__in { min-height: 4.25rem; }
  .topbar__contact li:first-child { display: none; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.1rem; }
  .entry { grid-template-columns: 76px 1fr; gap: 1rem; }
  .entry__excerpt { display: none; }
  .study__aside { grid-template-columns: 1fr; }
  .study__aside .study__cover { max-width: 230px; grid-row: auto; }
  .prose { font-size: 1.0625rem; }
  .form__row { grid-template-columns: 1fr; }
  .form__row--end { grid-template-columns: 1fr; }
  .person { grid-template-columns: 76px 1fr; }
  .person__photo { width: 76px; height: 76px; font-size: 1.6rem; }
  .neighbors { grid-template-columns: 1fr; }
  .neighbors__next { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .spread__nav { position: static; margin-top: 1.5rem; justify-content: center; }
  .searchbig { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .masthead, .footer, .share, .neighbors, .actions, .spread__nav, .adminbar, .section--quiet { display: none !important; }
  .study__grid { grid-template-columns: 180px 1fr; }
  .study__aside { position: static; }
  body { font-size: 11pt; }
}

/* spacing after full-bleed bands */
.about-band + .section, .section--topics + .section:not(.about-band) { padding-top: clamp(2.5rem, 6vw, 4rem); }
.page--wide .prose > p, .page--wide .prose > h2, .page--wide .prose > h3, .page--wide .prose > ul:not(.team), .page--wide .prose > ol, .page--wide .prose > blockquote { max-width: 72ch; }
.prose > .team, .prose > .addresses { max-width: none; width: 100%; }
.person__photo, .cover { overflow: hidden; color: transparent; font-size: 0; }
.person__photo--blank { font-size: 2.25rem; color: var(--petrol); }
@media (max-width: 600px) { .person__photo--blank { font-size: 1.6rem; } }

/* Echipa: 3 per row (2 on tablets, 1 on phones), photo above the text */
.team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; }
.person { grid-template-columns: 1fr; gap: 1rem; align-content: start; }
.person__photo { width: 132px; height: 132px; }
.person__name { font-size: 1.3rem; }
.person__bio { font-size: .9688rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr; gap: 2.25rem; }
  .person { grid-template-columns: 96px 1fr; gap: 1.1rem; }
  .person__photo { width: 96px; height: 96px; }
}
.prose .person__name { margin: 0 0 .15rem; }
.prose .person__role { margin: 0 0 .6rem; }
.person__photo { flex: none; }
.prose .team { padding-left: 0; margin-top: 1.5rem; } .prose .team > li { margin-bottom: 0; }

/* Despre noi: intro across the full width, justified bios */
.page-slug--despre-noi .prose > p { max-width: none; }
.person__bio { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* Newsletter band (bottom of the home page) */
.newsletter { background: var(--accent-soft); border-top: 5px solid var(--accent); padding: clamp(2.25rem, 5vw, 3.5rem) 0; scroll-margin-top: 1rem; }
.newsletter__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.newsletter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .5rem; }
.newsletter__text p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.newsletter__row { display: flex; gap: .6rem; }
.newsletter__row input { flex: 1; min-width: 0; font: inherit; padding: .75rem .9rem; border: 1px solid #d9b48a; border-radius: var(--radius); background: #fff; color: var(--ink); }
.newsletter__row .btn { background: var(--petrol); border-color: var(--petrol); color: #fff; white-space: nowrap; }
.newsletter__row .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.newsletter__consent { display: flex; gap: .55rem; align-items: flex-start; margin-top: .8rem; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.newsletter__consent input { margin-top: .2rem; flex: none; width: 1rem; height: 1rem; accent-color: var(--petrol); }
.newsletter__done { margin: 0; font-weight: 600; font-size: 1.0625rem; padding: 1rem 1.1rem; background: #fff; border-left: 4px solid #2e8b57; border-radius: var(--radius); }
.newsletter__err { margin: 0 0 .75rem; font-weight: 600; color: #a12a1e; }
.is-home .footer { margin-top: 0; }
@media (max-width: 880px) { .newsletter__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .newsletter__row { flex-direction: column; } }
