/* Heritage pages: /kurumsal/, /tarihce/, /bisare-ceto/.
   Sections: shared (in-page navs, refs, timeline, sources, notes, callout) · kurumsal · tarihçe · bişarê çeto · motion · print */

/* ======================================================================
   Shared
   ====================================================================== */

/* Sticky in-page navs: pad the scroll port by header + nav (.subnav/.chapters 53px, .toc-mobile 55px, plus
   ~20px air) so keyboard focus and anchor jumps are never hidden underneath them (WCAG 2.4.11).
   Target scroll-margins are reduced accordingly, so anchor jumps land where they did before. */
html:has(.subnav), html:has(.chapters) { scroll-padding-top: calc(var(--header-h) + 76px); }
@media (max-width: 1079px) {
  html:has(.toc-mobile) { scroll-padding-top: calc(var(--header-h) + 74px); }
}
.kr-section, .bc-section { scroll-margin-top: 4px; }

/* ---------- In-page navs: .subnav (light) and .chapters (dark) ---------- */
.subnav, .chapters {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  transition: box-shadow .3s var(--ease);
}
.subnav {
  background: rgba(253, 250, 247, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.chapters {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(216, 191, 149, .22);
}
.subnav.is-stuck { box-shadow: 0 12px 24px -18px rgba(0, 16, 39, .45); }
.chapters.is-stuck { box-shadow: 0 14px 28px -16px rgba(0, 10, 26, .7); }
.subnav > .container, .chapters > .container { position: relative; }
/* Edge fades hint at horizontally scrollable links (toggled by heritage.js). */
.subnav > .container::before, .chapters > .container::before,
.subnav > .container::after, .chapters > .container::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.subnav > .container::before, .chapters > .container::before { left: 0; }
.subnav > .container::after, .chapters > .container::after { right: 0; }
.subnav > .container::before { background: linear-gradient(to right, rgba(253, 250, 247, 1) 20%, rgba(253, 250, 247, 0)); }
.subnav > .container::after { background: linear-gradient(to left, rgba(253, 250, 247, 1) 20%, rgba(253, 250, 247, 0)); }
.chapters > .container::before { background: linear-gradient(to right, var(--navy-950) 20%, rgba(0, 10, 26, 0)); }
.chapters > .container::after { background: linear-gradient(to left, var(--navy-950) 20%, rgba(0, 10, 26, 0)); }
.subnav.can-scroll > .container::after, .chapters.can-scroll > .container::after,
.subnav.can-scroll-back > .container::before, .chapters.can-scroll-back > .container::before { opacity: 1; }

.subnav__list, .chapters__list {
  position: relative;
  display: flex;
  gap: 2px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar, .chapters__list::-webkit-scrollbar { display: none; }
.subnav__list > li, .chapters__list > li { flex: none; }
.subnav__link, .chapters__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.subnav__link::after, .chapters__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.subnav__link { color: var(--ink-700); }
.subnav__link::after { background: var(--red-700); }
.subnav__link:hover, .subnav__link[aria-current="true"] { color: var(--navy-900); }
.chapters__link { color: rgba(248, 241, 235, .72); }
.chapters__link::after { background: linear-gradient(90deg, var(--red-500), var(--brass-300)); }
.chapters__link:hover, .chapters__link[aria-current="true"] { color: var(--cream-50); }
.subnav__link[aria-current="true"]::after, .chapters__link[aria-current="true"]::after { transform: scaleX(1); }
.subnav__link:focus-visible, .chapters__link:focus-visible { outline-offset: -4px; }
@media (min-width: 1100px) {
  .subnav__list, .chapters__list { justify-content: center; }
}

/* ---------- Citation superscripts ---------- */
.ref {
  margin-left: .12em;
  font-family: var(--font-body);
  font-size: .68em;
  font-style: normal;
  font-weight: 600;
  line-height: 0;
  white-space: nowrap;
}
.ref a, .prose .ref a {
  padding: 0 .12em;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
.ref a:hover, .prose .ref a:hover { text-decoration: underline; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--brass-500), var(--red-700) 45%, var(--red-700) 70%, var(--brass-300));
  opacity: .55;
}
.timeline__item {
  position: relative;
  padding: 0 0 1.9rem 2.4rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: .5rem;
  left: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--red-700);
  background: var(--cream-50);
  transform: rotate(45deg);
}
.timeline__item--uncertain::before { border-style: dashed; border-color: var(--brass-700); }
.timeline__item--key::before { background: var(--red-700); box-shadow: 0 0 0 5px rgba(136, 1, 5, .14); }
.timeline__item--now::before { background: var(--navy-900); border-color: var(--navy-900); }
.timeline__date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .6rem;
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--red-700);
}
.timeline__date .badge { font-family: var(--font-body); }
.timeline__title {
  margin: 0 0 .3rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--navy-900);
}
.timeline__body > p { margin: 0; font-size: .975rem; line-height: 1.6; color: var(--ink-700); }
.timeline__body > .timeline__source {
  margin-top: .55rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.timeline__source span { font-weight: 700; letter-spacing: .04em; color: var(--brass-700); }

/* Centered variant: cards alternate around a middle rail on wide screens. */
.timeline--center .timeline__body {
  padding: 1.1rem 1.3rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.timeline--center .timeline__item--key .timeline__body {
  border-color: rgba(136, 1, 5, .35);
  background: linear-gradient(160deg, #FFFFFF 40%, #FBEFEC);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .timeline--center { max-width: 1040px; margin-inline: auto; }
  .timeline--center::before { left: 50%; margin-left: -1px; }
  .timeline--center .timeline__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 4.5rem;
    padding: 0 0 1.6rem;
  }
  .timeline--center .timeline__item::before { top: 1.35rem; left: 50%; margin-left: -7px; }
  .timeline--center .timeline__date { grid-column: 1; grid-row: 1; align-self: start; justify-content: flex-end; margin: 0; padding-top: .95rem; text-align: right; }
  .timeline--center .timeline__body { grid-column: 2; grid-row: 1; }
  .timeline--center .timeline__item:nth-child(even) .timeline__date { grid-column: 2; justify-content: flex-start; text-align: left; }
  .timeline--center .timeline__item:nth-child(even) .timeline__body { grid-column: 1; }
  .timeline--center .timeline__item:nth-child(even) .timeline__date .badge { order: -1; }
}

/* ---------- Sources ---------- */
.sources { margin: 0; padding: 0; list-style: none; }
.source {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .9rem;
  padding: 1.05rem .5rem 1.1rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
  border-radius: var(--radius-sm);
  transition: background-color .6s var(--ease);
}
.source:first-child { border-top: 0; }
/* Under a sticky in-page nav the scroll-padding already clears it (see top of file). */
html:has(.subnav) .source, html:has(.chapters) .source { scroll-margin-top: 24px; }
@media (max-width: 1079px) { html:has(.toc-mobile) .source { scroll-margin-top: 26px; } }
.source:target { background: rgba(216, 191, 149, .22); box-shadow: -10px 0 0 rgba(216, 191, 149, .22); }
.source__num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--cream-200);
  font-size: .8rem;
  font-weight: 700;
  color: var(--red-700);
}
.source__body > p { margin: 0; }
.source__cite { font-size: .95rem; line-height: 1.55; color: var(--ink-900); }
.source__cite cite { font-style: italic; }
.source__body > .source__note { margin-top: .3rem; font-size: .85rem; line-height: 1.5; color: var(--text-muted); }
.source__body > .source__links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .55rem; }
.source__links a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--red-700);
  text-decoration: none;
}
.source__links a::after { content: "↗"; font-size: .9em; transition: transform var(--dur) var(--ease); }
.source__links a:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: .2em; }
.source__links a:hover::after { transform: translate(2px, -2px); }

/* ---------- Notes ---------- */
.method-note {
  display: flex;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-700);
}
.method-note > .icon { margin-top: .15rem; color: var(--navy-600); }
.method-note p { margin: 0; }
.method-note__title {
  margin: 0 0 .35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy-900);
}

/* ---------- Share callout (full-width band) ---------- */
.share-callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 2.5rem + 4vw, 96px);
  background:
    radial-gradient(ellipse 50% 120% at 100% 0%, rgba(0, 16, 39, .5), transparent 60%),
    linear-gradient(135deg, var(--red-700) 0%, var(--red-800) 100%);
}
.share-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 80px 80px repeat;
  mask: var(--kilim-tile) 0 0 / 80px 80px repeat;
  opacity: .08;
}
.share-callout::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--kilim-band) left center / auto 100% repeat-x;
}
.share-callout__inner { display: grid; gap: 26px; align-items: center; }
.share-callout__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 10px;
  border: 1.5px solid var(--brass-300);
  border-radius: 10px;
  color: var(--brass-300);
  transform: rotate(45deg);
}
.share-callout__icon .icon { width: 30px; height: 30px; transform: rotate(-45deg); }
.share-callout__title { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.3rem); line-height: 1.2; color: var(--heading); }
.share-callout__text { max-width: 62ch; margin: .85rem 0 0; font-size: var(--fs-base); line-height: 1.65; color: var(--text-2); }
.share-callout__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) {
  .share-callout__actions .btn { flex: 1 1 100%; }
  .share-callout__icon { width: 58px; height: 58px; margin: 8px; }
  .share-callout__icon .icon { width: 24px; height: 24px; }
}
@media (min-width: 1000px) {
  .share-callout__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 44px; }
  .share-callout__actions { flex-direction: column; align-items: stretch; min-width: 250px; }
}

/* ======================================================================
   Kurumsal
   ====================================================================== */

.hero-motto {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  font-style: italic;
  letter-spacing: .03em;
  color: var(--brass-300);
}
.hero-motto::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }

/* Who we are */
.about { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) {
  .about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}
.about__text .prose { max-width: 64ch; }
.name-note {
  max-width: 64ch;
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brass-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream-100);
}
.name-note__title {
  margin: 0 0 .3rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-700);
}
.name-note p { margin: 0; font-size: .95rem; color: var(--ink-700); }

.glance {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(136, 1, 5, .45), transparent 65%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.glance::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 64px 64px repeat;
  mask: var(--kilim-tile) 0 0 / 64px 64px repeat;
  opacity: .05;
}
.glance::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(216, 191, 149, .28);
  border-radius: 14px;
  pointer-events: none;
}
.glance__seal img { width: 120px; height: 120px; margin: 0 auto; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5)); }
.glance__title {
  margin: 1.1rem 0 1rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-300);
}
.glance__list { margin: 0; text-align: left; }
.glance__list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem 1rem;
  padding: .8rem 0;
  border-top: 1px solid rgba(244, 229, 222, .14);
}
.glance__list dt { font-size: .82rem; color: var(--text-muted); }
.glance__list dd { margin: 0 0 0 auto; font-weight: 600; text-align: right; color: var(--cream-50); }
.glance__list a { color: var(--cream-50); text-decoration: underline; text-decoration-color: rgba(216, 191, 149, .55); text-underline-offset: .25em; }
.glance__list a:hover { color: var(--brass-300); }
.glance__slogan {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(244, 229, 222, .14);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brass-300);
}

/* Mission & vision */
.mv-grid { display: grid; gap: clamp(18px, 2vw, 28px); }
@media (min-width: 860px) { .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 2rem + 2vw, 56px) clamp(24px, 1.5rem + 2vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.mv-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 141, 87, .32);
  border-radius: 14px;
  pointer-events: none;
}
.mv-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  z-index: -1;
  width: 280px;
  height: 280px;
  background-color: var(--brass-500);
  -webkit-mask: var(--medallion) center / contain no-repeat;
  mask: var(--medallion) center / contain no-repeat;
  opacity: .14;
}
.mv-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cream-50);
  box-shadow: 0 0 0 6px var(--cream-200);
}
.mv-card--vision .mv-card__icon { background: var(--red-700); }
.mv-card__icon .icon { width: 26px; height: 26px; }
.mv-card__label {
  margin: 1.6rem 0 .8rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-700);
}
.mv-card__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.08rem + .45vw, 1.42rem);
  line-height: 1.55;
  color: var(--navy-900);
  text-wrap: pretty;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value {
  position: relative;
  padding: clamp(26px, 1.5rem + 1.2vw, 40px);
  background: var(--surface);
  transition: background-color .35s var(--ease);
}
.value:hover { background: #FFFCF8; }
.value__num {
  position: absolute;
  top: clamp(22px, 1.3rem + 1vw, 34px);
  right: clamp(22px, 1.3rem + 1vw, 34px);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brass-700);
}
.value__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--red-700);
}
.value__icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(176, 141, 87, .55);
  background: var(--cream-100);
  transform: rotate(45deg);
  transition: transform .5s var(--ease), background-color .35s var(--ease);
}
.value:hover .value__icon::before { transform: rotate(135deg); background: var(--cream-200); }
.value__icon .icon { position: relative; width: 22px; height: 22px; }
.value__title { margin: 1.15rem 0 .45rem; font-size: clamp(1.3rem, 1.2rem + .35vw, 1.5rem); }
.value__text { margin: 0; color: var(--ink-700); font-size: .975rem; line-height: 1.65; }

/* Areas of work. overflow:clip keeps the section's clipping without becoming a sticky scroll container. */
#faaliyet-alanlarimiz { overflow: clip; }
.areas { display: grid; gap: clamp(28px, 3vw, 56px); }
@media (min-width: 1000px) {
  .areas { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: start; }
  .areas__head { position: sticky; top: calc(var(--header-h) + 92px); }
}
.areas__head .section-title { margin-bottom: .4em; }
.areas__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.areas__list { margin: 0; padding: 0; list-style: none; counter-reset: area; }
.area {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.45rem 0;
  border-top: 1px solid rgba(244, 229, 222, .14);
  counter-increment: area;
}
.area:first-child { border-top: 0; padding-top: .25rem; }
.area__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 191, 149, .35);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--brass-300);
}
.area__icon .icon { width: 24px; height: 24px; }
.area__title { margin: .2rem 0 .35rem; font-size: clamp(1.15rem, 1.08rem + .3vw, 1.32rem); line-height: 1.3; }
.area__title::before {
  content: counter(area, decimal-leading-zero);
  margin-right: .6rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  vertical-align: .25em;
  color: var(--brass-300);
}
.area__text { margin: 0; color: var(--text-2); font-size: .975rem; line-height: 1.65; }
.area__text a { color: var(--brass-300); }

/* President's message */
.letter { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.letter__portrait {
  position: relative;
  isolation: isolate;
  max-width: 320px;
  margin-inline: auto;
  width: 100%;
}
@media (max-width: 899px) {
  .letter__portrait { max-width: 240px; }
  .letter__portrait:not(:has(.letter__photo)) { max-width: 200px; }
  .letter__portrait:not(:has(.letter__photo)) .letter__seal { aspect-ratio: 1; }
}
@media (min-width: 900px) {
  .letter { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); }
  .letter__portrait { position: sticky; top: calc(var(--header-h) + 92px); }
}
.letter__portrait::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1.5px solid var(--brass-500);
  border-radius: var(--radius-lg);
}
.letter__seal, .letter__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.letter__seal {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(136, 1, 5, .55), transparent 62%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
}
.letter__seal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 56px 56px repeat;
  mask: var(--kilim-tile) 0 0 / 56px 56px repeat;
  opacity: .06;
}
.letter__seal img { position: relative; width: 62%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.letter__photo img { width: 100%; height: 100%; object-fit: cover; }
.letter__paper {
  position: relative;
  padding: clamp(24px, 1rem + 3vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.letter__paper::before {
  content: "\201C";
  position: absolute;
  top: clamp(4px, 1vw, 16px);
  right: clamp(18px, 3vw, 44px);
  font-family: var(--font-display);
  font-size: clamp(7rem, 5rem + 6vw, 11rem);
  line-height: 1;
  color: rgba(136, 1, 5, .08);
  pointer-events: none;
}
.letter__body { max-width: 66ch; }
.letter__body p { margin: 0 0 1.1em; font-size: clamp(1.02rem, 1rem + .15vw, 1.1rem); line-height: 1.8; color: var(--ink-700); }
.letter__body p.is-closing {
  margin: 1.6em 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  font-style: italic;
  color: var(--navy-900);
}
.letter__body p.is-salutation {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  font-style: italic;
  color: var(--navy-900);
}
.letter__signature {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.letter__sign-name { font-family: var(--font-display); font-size: 1.55rem; font-style: italic; color: var(--navy-900); }
.letter__sign-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }

/* Board */
.board { min-height: 120px; }
.board__empty { max-width: 640px; margin-inline: auto; }
/* Centered flex-wrap: incomplete last rows stay centered. kurumsal.js sets --board-cols
   (desktop column count balanced for the member count); narrower screens clamp it. */
.board__grid {
  --board-gap: clamp(16px, 2vw, 28px);
  --cols: min(2, var(--board-cols, 4));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--board-gap);
  max-width: calc(var(--cols) * 280px + (var(--cols) - 1) * var(--board-gap));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .board__grid { --cols: min(3, var(--board-cols, 4)); } }
@media (min-width: 1000px) { .board__grid { --cols: var(--board-cols, 4); } }
.board-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--board-gap)) / var(--cols));
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.board-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.board-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-200); }
.board-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board-card__monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(136, 1, 5, .45), transparent 65%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream-100);
}
.board-card__monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 48px 48px repeat;
  mask: var(--kilim-tile) 0 0 / 48px 48px repeat;
  opacity: .07;
}
.board-card__monogram span { position: relative; }
.board-card__body { padding: 1.1rem 1rem 1.25rem; }
.board-card__name { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.board-card__title { margin: .3rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
@media (max-width: 559px) {
  .board-card__body { padding: .95rem .65rem 1.05rem; }
  .board-card__name { font-size: 1.08rem; }
  .board-card__title { font-size: .7rem; letter-spacing: .08em; }
}
/* Hide config-driven blocks until kurumsal.js has applied settings (fallback after 2.5 s). */
.js [data-board]:not(.is-ready) > *,
.js [data-president-message]:not(.is-ready),
.js [data-president-portrait]:not(.is-ready) {
  visibility: hidden;
  animation: heritage-show 0s 2.5s forwards;
}
@keyframes heritage-show { to { visibility: visible; } }

/* ======================================================================
   Tarihçe
   ====================================================================== */

.page-hero--ridge { padding-bottom: clamp(96px, 4rem + 6vw, 168px); }
.page-hero__ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: -1;
  height: clamp(70px, 9vw, 130px);
  background: url(/assets/img/heritage/garzan-ridge.svg?v=455d3952ff) left bottom / 1200px 100% repeat-x;
  pointer-events: none;
}
@media (min-width: 1200px) { .page-hero__ridge { background-size: 100% 100%; } }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-2);
}
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts .icon { width: 16px; height: 16px; color: var(--brass-300); }

.history-wrap { padding-top: 0; }
.toc-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.toc-aside { display: none; }
@media (min-width: 1080px) {
  .history-wrap { padding-top: var(--section-space); }
  .toc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); align-items: start; }
  .toc-mobile { display: none; }
  .toc-aside { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Desktop TOC */
.toc__title {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-700);
}
.toc__list { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.toc__link {
  display: flex;
  gap: .7rem;
  margin-left: -1px;
  padding: .48rem 0 .48rem 1rem;
  border-left: 2px solid transparent;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--ink-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.toc__num { flex: none; min-width: 1.5em; font-family: var(--font-display); font-size: .85rem; color: var(--brass-700); }
.toc__link:hover { color: var(--navy-900); }
.toc__link[aria-current="true"] { border-left-color: var(--red-700); color: var(--red-700); font-weight: 600; }
.toc__link[aria-current="true"] .toc__num { color: var(--red-700); }
.toc__progress { height: 3px; margin: 1.4rem 0 0; overflow: hidden; border-radius: 3px; background: var(--cream-200); }
.toc__progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red-700), var(--brass-500));
  transform: scaleX(var(--spy-progress, 0));
  transform-origin: left;
}
.toc__feature {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--red-800), var(--navy-900) 75%);
  color: var(--cream-50);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.toc__feature:hover { color: var(--cream-50); transform: translateY(-2px); box-shadow: var(--shadow); }
.toc__feature img { width: 52px; height: 52px; }
.toc__feature > span { display: flex; flex-direction: column; }
.toc__feature-kicker { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-300); }
.toc__feature-title { font-family: var(--font-display); font-size: 1.15rem; }

/* Mobile TOC: sticky collapsible bar */
.toc-mobile {
  position: sticky;
  top: var(--header-h);
  z-index: 25;
  margin: 0 calc(-1 * var(--gutter)) 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(253, 250, 247, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.toc-mobile::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--red-700), var(--brass-500));
  transform: scaleX(var(--spy-progress, 0));
  transform-origin: left;
}
.toc-mobile__summary {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 54px;
  padding: 0 var(--gutter);
  cursor: pointer;
  list-style: none;
}
.toc-mobile__summary::-webkit-details-marker { display: none; }
.toc-mobile__summary:focus-visible { outline-offset: -4px; }
.toc-mobile__label { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-700); }
.toc-mobile__current {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--navy-900);
}
.toc-mobile__caret { color: var(--ink-500); transition: transform var(--dur) var(--ease); }
.toc-mobile[open] .toc-mobile__caret { transform: rotate(180deg); }
.toc-mobile__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: min(64vh, 460px);
  margin: 0;
  padding: .5rem 0;
  overflow-y: auto;
  list-style: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 40px -20px rgba(0, 16, 39, .45);
}
.toc-mobile__list a {
  display: block;
  padding: .75rem var(--gutter);
  font-size: .95rem;
  color: var(--ink-700);
  text-decoration: none;
}
.toc-mobile__list a:hover { background: var(--cream-100); color: var(--navy-900); }
.toc-mobile__list a[aria-current="true"] { color: var(--red-700); font-weight: 600; box-shadow: inset 3px 0 0 var(--red-700); }

/* Article */
.history { min-width: 0; }
.history__section { scroll-margin-top: 12px; } /* mobile: + the .toc-mobile scroll-padding above */
.history__section + .history__section {
  margin-top: clamp(44px, 2rem + 3vw, 72px);
  padding-top: clamp(44px, 2rem + 3vw, 72px);
  border-top: 1px solid var(--border);
}
.history .history__section > * + * { margin-top: 1.75rem; }
.history .history__section > .history__heading + * { margin-top: 0; }
.history__heading {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  max-width: 30ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.35rem);
  line-height: 1.15;
}
.history__num {
  flex: none;
  padding: .35em .6em;
  border: 1px solid rgba(136, 1, 5, .28);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red-700);
  transform: translateY(-.4em);
}
.history__intro { max-width: 62ch; color: var(--text-muted); }
.history__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.history .prose { max-width: 68ch; }

/* Name variants */
/* Flex-wrap so an incomplete last row stretches instead of leaving an orphan chip. */
.name-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.name-variants li {
  flex: 1 1 128px;
  display: flex;
  flex-direction: column;
  padding: .6rem 1rem .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.name-variants__name { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.25; color: var(--navy-900); }
.name-variants__where { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.name-variants .is-current { border-color: var(--navy-900); background: var(--navy-900); }
.name-variants .is-current .name-variants__name { color: var(--cream-50); }
.name-variants .is-current .name-variants__where { color: var(--brass-300); }

/* Villages */
.place-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.place-list li {
  display: flex;
  flex-direction: column;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-100);
}
.place-list__name { font-weight: 600; line-height: 1.35; color: var(--navy-900); }
.place-list__alt { font-family: var(--font-display); font-size: .88rem; font-style: italic; color: var(--ink-700); }
.place-list .is-key { border-color: rgba(136, 1, 5, .35); background: linear-gradient(135deg, #FFFFFF, #FBEDEA); }
.place-list .is-key .place-list__name::after { content: " ◆"; font-size: .7em; vertical-align: .15em; color: var(--red-700); }

/* Branches */
.kol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .kol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .kol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kol {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.2rem 1.15rem 1.15rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.kol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--kilim-band) left center / auto 100% repeat-x;
  opacity: .9;
}
.kol__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.2; color: var(--navy-900); }
.kol__archive { font-size: .8rem; color: var(--text-muted); }
.kol__note {
  margin-top: .45rem;
  padding-top: .55rem;
  border-top: 1px dashed var(--border);
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-700);
}

.contribute {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brass-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(135deg, #FFFFFF, var(--cream-100));
}
.contribute > .icon { width: 26px; height: 26px; margin-top: .1rem; color: var(--red-700); }
.contribute__title { margin: 0 0 .35rem; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }
.contribute p { margin: 0 0 .7rem; font-size: .95rem; color: var(--ink-700); }

/* Feature link to the Bişarê Çeto page */
.feature-bisare {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(196, 42, 47, .45), transparent 65%),
    linear-gradient(120deg, var(--red-800), var(--navy-900) 70%);
  color: var(--cream-100);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-bisare::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 64px 64px repeat;
  mask: var(--kilim-tile) 0 0 / 64px 64px repeat;
  opacity: .06;
}
.feature-bisare:hover { color: var(--cream-100); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-bisare__art img { width: clamp(84px, 12vw, 128px); height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.feature-bisare__body { display: flex; flex-direction: column; gap: .3rem; }
.feature-bisare__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-300); }
.feature-bisare__title { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.15; color: var(--cream-50); }
.feature-bisare__text { max-width: 54ch; font-size: .95rem; line-height: 1.55; color: rgba(248, 241, 235, .86); }
.feature-bisare__cta { margin-top: .35rem; font-size: .9rem; font-weight: 600; color: var(--brass-300); }
.feature-bisare__cta::after { content: "→"; display: inline-block; margin-left: .4em; transition: transform var(--dur) var(--ease); }
.feature-bisare:hover .feature-bisare__cta::after { transform: translateX(4px); }
.feature-bisare:focus-visible { outline-offset: 4px; }
@media (max-width: 559px) {
  .feature-bisare { grid-template-columns: minmax(0, 1fr); }
  .feature-bisare__art img { width: 76px; }
}

/* Cultural heritage cards */
.legacy-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .legacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legacy {
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.legacy__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream-200);
  color: var(--red-700);
}
.legacy__icon .icon { width: 22px; height: 22px; }
.legacy__title { margin: .9rem 0 .4rem; font-size: 1.22rem; }
.legacy p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ink-700); }

/* ======================================================================
   Bişarê Çeto
   ====================================================================== */

.bc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 1.5rem + 3vw, 72px) 0 clamp(64px, 2.5rem + 4.5vw, 104px);
  background:
    radial-gradient(ellipse 50% 70% at 80% 45%, rgba(196, 42, 47, .32), transparent 62%),
    radial-gradient(ellipse 60% 90% at 0% 0%, rgba(136, 1, 5, .55), transparent 60%),
    linear-gradient(140deg, #3E0006 0%, var(--red-800) 16%, #2B0716 44%, var(--navy-900) 70%, var(--navy-950) 100%);
}
.bc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream-200);
  -webkit-mask: var(--kilim-tile) 0 0 / 76px 76px repeat;
  mask: var(--kilim-tile) 0 0 / 76px 76px repeat;
  opacity: .06;
}
.bc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: var(--kilim-band) left center / auto 100% repeat-x;
}
.bc-hero__inner { display: grid; gap: 24px; align-items: center; }
.bc-hero__inner > .breadcrumb { grid-column: 1 / -1; margin: 0; }
@media (min-width: 960px) {
  .bc-hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 1.4rem clamp(40px, 5vw, 80px); }
}
.bc-hero .eyebrow { margin: 0; }
.bc-hero__title {
  margin: .9rem 0 0;
  font-size: clamp(3rem, 1.4rem + 6.4vw, 6.4rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--cream-50);
  text-wrap: balance;
}
.bc-hero__alias {
  display: block;
  margin-top: .4em;
  font-size: max(.3em, 1.15rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brass-300);
}
.bc-hero__epithet {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 1.3rem 0 0;
  font-size: clamp(.74rem, .7rem + .2vw, .86rem);
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--cream-200);
}
.bc-hero__epithet::before { content: ""; flex: none; width: 36px; height: 1px; background: var(--brass-300); }
.bc-hero__lead { max-width: 58ch; margin: 1.3rem 0 0; font-size: var(--fs-lg); line-height: 1.62; color: var(--text-2); }
.bc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 40px);
  margin: 1.8rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(244, 229, 222, .18);
}
.bc-hero__meta dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-300); }
.bc-hero__meta dd { margin: .25rem 0 0; font-weight: 600; color: var(--cream-50); }
.bc-hero__note { display: block; font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.bc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.bc-hero__emblem { width: 100%; max-width: 470px; margin: 0; justify-self: center; text-align: center; }
.bc-hero__emblem-art { position: relative; }
.bc-hero__emblem-art::before {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 115, 63, .45), rgba(136, 1, 5, .2) 45%, transparent 70%);
  filter: blur(18px);
}
.bc-hero__emblem img { width: 100%; height: auto; filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .5)); }
.bc-hero__emblem figcaption { max-width: 34ch; margin: 1rem auto 0; font-size: .78rem; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 959px) {
  .bc-hero__inner > .breadcrumb { order: -2; }
  .bc-hero__emblem { order: -1; max-width: 220px; }
  .bc-hero__emblem figcaption { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Three pulses, then rest on the full glow (a11y: no endless motion, WCAG 2.2.2). */
  .bc-hero__emblem-art::before { animation: bc-glow 5.5s ease-in-out 3 alternate both; }
  .bc-hero__emblem img { animation: bc-rise .9s var(--ease) both; }
}
@keyframes bc-glow { from { opacity: .65; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes bc-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* Hero portrait: image supplied by the association. */
.bc-hero__portrait { width: 100%; max-width: 440px; margin: 0; justify-self: center; }
.bc-hero__portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 1301;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 191, 149, .45);
  background: var(--navy-900);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(216, 191, 149, .08);
}
.bc-hero__portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 10, 26, .6));
  pointer-events: none;
}
.bc-hero__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) {
  .bc-hero__portrait { order: -1; max-width: 320px; }
  /* Shorter crop on small screens so the title stays near the first screen. */
  .bc-hero__portrait-frame { aspect-ratio: 1 / 1; }
  .bc-hero__portrait img { object-position: 50% 18%; }
}
@media (prefers-reduced-motion: no-preference) {
  .bc-hero__portrait-frame { animation: bc-rise .9s var(--ease) both; }
}

/* Facts */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.3rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.fact dd { margin: 0; }
.fact__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-700);
}
.fact__label .badge { letter-spacing: .02em; text-transform: none; }
.fact__value { margin-top: .45rem !important; font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; line-height: 1.2; color: var(--navy-900); }
.fact__detail { margin-top: .45rem !important; font-size: .9rem; line-height: 1.55; color: var(--ink-700); }
.fact__source {
  margin-top: auto !important;
  padding-top: .85rem;
  font-size: .76rem;
  font-weight: 500;
  color: var(--text-muted);
}
.fact__detail + .fact__source { border-top: 1px dashed var(--border); margin-top: .9rem !important; }
.fact__source a, .fact__detail a { color: var(--red-700); font-weight: 600; text-decoration: none; }
.fact__source a:hover, .fact__detail a:hover { text-decoration: underline; }

/* Life */
.bc-life { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) {
  .bc-life { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .bc-life__aside { position: sticky; top: calc(var(--header-h) + 84px); }
}
.bc-life__text .section-title { max-width: 22ch; margin: 0 0 1.3rem; }
.bc-life__text .prose { max-width: 68ch; }
.prose .bc-life__stance {
  margin-top: 2em;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--brass-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream-100);
  font-family: var(--font-display);
  font-size: 1.1em;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy-800);
}
.bc-life__aside { display: grid; gap: 16px; }
.doc-quote {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid #E4D2B1;
  border-radius: var(--radius);
  background: radial-gradient(ellipse 90% 70% at 0% 0%, #FFFFFF, transparent 70%), #FBF6EE;
  box-shadow: var(--shadow);
}
.doc-quote::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(136, 1, 5, .35);
  border-radius: 50%;
  background: var(--medallion) center / 80% no-repeat;
  opacity: .5;
  transform: rotate(-12deg);
}
.doc-quote__kicker { margin: 0; padding-right: 54px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-700); }
.doc-quote__text { margin: .9rem 0 0; }
.doc-quote__text p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.3rem + .6vw, 1.75rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--navy-900);
}
.doc-quote__caption { margin-top: .9rem; font-size: .87rem; line-height: 1.55; color: var(--ink-700); }
.doc-quote__source { display: block; margin-top: .6rem; font-size: .74rem; font-weight: 600; color: var(--text-muted); }
.place-card {
  display: flex;
  gap: .85rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream-100);
}
.place-card > .icon { margin-top: .1rem; color: var(--red-700); }
.place-card__title { margin: 0 0 .25rem; font-weight: 650; color: var(--navy-900); }
.place-card__text { margin: 0; font-size: .87rem; line-height: 1.55; color: var(--ink-700); }

/* Leader of the confederation */
.figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figure-item {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid rgba(244, 229, 222, .14);
  border-top: 2px solid var(--brass-500);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 255, 255, .035);
}
.figure-item__value { font-family: var(--font-display); font-size: clamp(2.3rem, 1.9rem + 1.6vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--cream-50); }
.figure-item__value small { margin-left: .2rem; font-family: var(--font-body); font-size: .32em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-300); }
.figure-item__label { color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.figure-item__source { margin-top: auto; font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--text-muted); }
.leader-grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) { .leader-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.leader-grid__text { font-size: var(--fs-lg); }
.story-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(216, 191, 149, .3);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
}
.story-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--brass-300));
  border-radius: 0 0 3px 3px;
}
.story-card__kicker { margin: 0 0 .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-300); }
.story-card__title { margin: 0 0 .9rem; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.story-card p { margin: 0 0 .9em; color: var(--text-2); line-height: 1.7; }
.story-card .story-card__note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 229, 222, .16);
  font-size: .86rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Differing accounts */
.accounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .accounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) {
  .accounts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .account__type { min-height: 2.8em; }
}
.account {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.3rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--brass-300);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.account > p { margin: 0; }
.account--primary { border-top-color: var(--red-700); box-shadow: var(--shadow); }
.account--muted { border-top-color: var(--ink-300); background: #FCFBFA; }
.account__badge { order: -1; align-self: flex-start; margin-bottom: .9rem; }
.account__type { display: flex; align-items: flex-start; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--ink-700); }
.account__type .icon { width: 18px; height: 18px; margin-top: -.05rem; color: var(--red-700); }
.account > .account__when { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.35rem + .5vw, 1.8rem); font-weight: 600; line-height: 1.1; color: var(--navy-900); }
.account--muted .account__when { color: var(--ink-700); }
.account > .account__where { margin-top: .3rem; font-size: .9rem; font-weight: 600; color: var(--brass-700); }
.account > .account__text { margin-top: .8rem; font-size: .92rem; line-height: 1.6; color: var(--ink-700); }
.account > .account__source { margin-top: auto; padding-top: 1rem; font-size: .76rem; font-weight: 500; color: var(--text-muted); }
.account__source span { font-weight: 700; color: var(--brass-700); }

.reasons { margin-top: clamp(36px, 4vw, 56px); }
.reasons__title { margin: 0 0 1.1rem; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.reasons__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .reasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reason {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}
.reason > .icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--cream-200);
  color: var(--red-700);
}
.reason__title { margin: .15rem 0 .3rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--navy-900); }
.reason p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-700); }
.verdict {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 50% 140% at 100% 50%, rgba(136, 1, 5, .55), transparent 65%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.verdict > p { margin: 0; }
.verdict__label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-300); }
.verdict > .verdict__text { margin-top: .5rem; font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + .9vw, 1.9rem); line-height: 1.3; color: var(--cream-50); }
.verdict__text strong { font-weight: 600; color: var(--brass-300); }
.verdict > .verdict__note { margin-top: .7rem; font-size: .9rem; color: var(--text-muted); }

/* Cemilê Çeto */
.cemil .prose { max-width: 66ch; }
.cemil .prose > .eyebrow + h2 { margin-top: .3em; }
.ledger {
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid #E4D2B1;
  border-radius: var(--radius-lg);
  background: #FBF6EE;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .ledger { position: sticky; top: calc(var(--header-h) + 84px); } }
.ledger__title { margin: 0 0 1rem; font-size: 1.3rem; }
.ledger__list { margin: 0; padding: 0; list-style: none; }
.ledger__list li { display: grid; gap: .25rem; padding: .85rem 0; border-top: 1px dashed #DCC7A6; }
.ledger__list li:first-child { border-top: 0; padding-top: 0; }
.ledger__date { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--red-700); }
.ledger__date .badge { font-family: var(--font-body); }
.ledger__text { font-size: .92rem; line-height: 1.55; color: var(--ink-700); }

/* Memory */
.memory { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) { .memory { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.memory__intro .prose { max-width: 62ch; }
.memory__records-title { margin: 0 0 1rem; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-300); }
.kilams { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kilam {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(244, 229, 222, .18);
  border-radius: var(--radius);
  background: rgba(0, 10, 26, .26);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.kilam:hover { border-color: rgba(216, 191, 149, .45); background: rgba(0, 10, 26, .36); }
.kilam__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--brass-300);
}
.kilam__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.kilam__artist { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--cream-50); }
.kilam__title { font-size: .9rem; font-style: italic; color: var(--text-2); }
.kilam__meta { font-style: normal; font-size: .8rem; color: var(--text-muted); }
.kilam__link { align-self: flex-start; margin-top: .25rem; font-size: .84rem; font-weight: 600; color: var(--brass-300); text-decoration: none; }
.kilam__link::after { content: " ↗"; }
.kilam__link:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: .2em; }
.memory__note { margin: 1.1rem 0 0; font-size: .86rem; line-height: 1.6; color: var(--text-muted); }

/* Why we remember */
.remembrance { text-align: center; }
.remembrance .eyebrow { justify-content: center; }
.remembrance__text {
  margin: .4rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.2rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--navy-900);
  text-wrap: balance;
}
.remembrance__sub { max-width: 62ch; margin: 1.5rem auto 0; color: var(--ink-700); }
.remembrance .ornament { margin-bottom: 0; }

/* Sources block */
.source-groups { display: grid; gap: 32px clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) {
  .source-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .source-group:first-child { grid-row: span 2; }
}
.source-group__title {
  margin: 0 0 .4rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--navy-900);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.source-groups + .method-note { margin-top: clamp(28px, 3vw, 44px); }

/* ======================================================================
   Print
   ====================================================================== */
@media print {
  .subnav, .chapters, .toc-aside, .toc-mobile, .share-callout, .bc-hero__actions, .bc-hero__emblem, .bc-hero__portrait, .history__actions { display: none !important; }
  .bc-hero { background: none !important; color: #000000 !important; padding-block: 12pt !important; }
  .bc-hero::before, .bc-hero::after { display: none !important; }
  .bc-hero * { color: #000000 !important; }
  .toc-layout, .bc-life, .memory, .areas, .letter, .about { display: block !important; }
  .js [data-board]:not(.is-ready) > *, .js [data-president-message]:not(.is-ready), .js [data-president-portrait]:not(.is-ready) { visibility: visible !important; }
  .timeline--center .timeline__item { display: block !important; }
}
