:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --sheet: #fdfbf6;
  --ink: #212b36;
  --muted: #505a62;
  --line: #d9d3c6;
  --navy: #22354a;
  --navy-deep: #182a3d;
  --brass: #8e622d;
  --history-text: #e3e9f0;
  --history-brass: #e7c38c;
  --history-link: #f4dbac;
  --history-line: #526578;
  --serif: Baskervville, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; text-wrap: balance; }
p { max-width: 66ch; }
a { color: var(--navy); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
.container { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .5rem 1rem; background: var(--sheet); z-index: 3; transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 1.36rem/1 var(--serif); color: var(--navy); }
.wordmark small { display: block; margin-top: .35rem; font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.seal { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); font-style: italic; font-size: 1.6rem; }
.main-nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.75rem, 2.4vw, 2rem); }
.main-nav a { padding: .35rem 0; color: var(--navy); font-size: .91rem; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(1.5rem, 5vw, 5.5rem); padding-block: clamp(3.25rem, 7vw, 6.65rem) clamp(3rem, 6vw, 5.5rem); }
.hero-copy { padding-bottom: 1rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--brass); font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 1.8rem; border-top: 1px solid currentColor; }
h1 { margin-top: 1.15rem; font-size: clamp(3rem, 6.5vw, 6.55rem); letter-spacing: -.058em; line-height: .99; }
h1 em { color: var(--navy); font-weight: 400; }
.lead { margin-top: 1.65rem; max-width: 37ch; color: var(--muted); font-size: clamp(1.03rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .55rem 1rem; border: 1px solid var(--navy); font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary { color: var(--sheet); background: var(--navy); }
.primary:hover { background: var(--navy-deep); }
.secondary:hover { background: var(--sheet); }
.hero-image { padding: .5rem; border: 1px solid #c9b99c; background: var(--sheet); }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; object-position: 53% 48%; filter: saturate(.83); }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .8rem; margin-top: .55rem; color: var(--muted); font-size: .84rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6.3rem); }
#soy, #kaynaklar { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 2rem; }
.section-heading h2 { margin-block: .65rem .8rem; font-size: clamp(2.2rem, 4.6vw, 4.35rem); letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.section-heading a { display: inline-block; margin-top: 1rem; }
.tree-sheet { padding: clamp(1rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--sheet); }
.tree-note { margin-top: 1rem; color: var(--muted); font-size: .875rem; }
.label { color: var(--brass); font-size: .875rem; font-weight: 700; }
.history { background: var(--navy); color: var(--sheet); }
.editorial { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.5rem, 7vw, 7rem); }
.editorial .section-heading { margin-bottom: 0; }
.history .section-heading p:not(.eyebrow) { color: var(--history-text); }
.history .eyebrow, .history .date { color: var(--history-brass); }
.history a { color: var(--history-link); }
.history :focus-visible { outline-color: var(--history-brass); }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; border-top: 1px solid var(--history-line); padding-block: 1.1rem; }
.timeline li:last-child { border-bottom: 1px solid var(--history-line); }
.timeline h3, .works h3, .record-list h3, .source-list h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.timeline p { margin-top: .35rem; color: var(--history-text); }
.date { font-variant-numeric: tabular-nums; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filters button { padding: .48rem .9rem; min-height: 2.75rem; border: 1px solid #9d9789; border-radius: 100rem; color: var(--navy); background: transparent; font: 600 .91rem var(--sans); cursor: pointer; }
.filters button:hover { border-color: var(--navy); background: var(--sheet); }
.filters button[aria-pressed=true] { border-color: var(--navy); color: var(--sheet); background: var(--navy); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.works article { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: clamp(1.1rem, 3vw, 1.85rem); border: 1px solid var(--line); background: var(--sheet); }
.works article a { margin-top: auto; }
.works p:not(.label), .record-list p:not(.label), .source-list p { color: var(--muted); }
.foundations { background: #f2ede2; }
.record-list article { padding-block: 1.2rem; border-top: 1px solid #c8bdaa; }
.record-list article:last-child { border-bottom: 1px solid #c8bdaa; }
.record-list h3 { margin-block: .35rem .55rem; }
.record-list a { display: inline-block; margin-top: .6rem; }
.source-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.source-list article { border-top: 1px solid var(--line); padding-top: 1rem; }
.source-list h3 { margin-bottom: .5rem; }
.source-list ul { padding-inline-start: 1.1rem; margin-bottom: 0; }
.source-list li + li { margin-top: .3rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.7rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-inner p { font: 1.25rem var(--serif); }
.footer-inner a { font-size: .9rem; }
@media (max-width: 58rem) {
  .hero { gap: 1.5rem; }
  .editorial { gap: 2rem; }
}
@media (max-width: 44rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .6rem; padding-block: .85rem .55rem; }
  .main-nav { gap: .1rem 1rem; }
  .main-nav a { padding-block: .45rem; }
  .hero, .editorial { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-image img { aspect-ratio: 1.5; }
  .source-list { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .works { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 4.35rem 1fr; gap: .45rem; }
}

.main-nav a[aria-current] { color: var(--navy); font-weight: 700; text-decoration: underline; }
.home-index { border-top: 1px solid var(--line); }
.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem; }
.home-links a { display: grid; gap: .35rem; border: 1px solid var(--line); padding: 1.05rem; background: var(--sheet); text-decoration: none; }
.home-links a:hover { border-color: var(--navy); }
.home-links a:hover strong { text-decoration: underline; }
.home-links strong { font: 1.55rem var(--serif); }
.home-links span { color: var(--muted); }
.page h1, .entry h1 { margin-block: .65rem 1.1rem; font-size: clamp(2.65rem, 6.2vw, 5rem); line-height: 1.04; }
#soy.page, #kaynaklar.page { border-top: 0; }
.entry { min-height: 65vh; }
.breadcrumb { margin-bottom: 1.65rem; }
.entry-intro { color: var(--muted); font-size: 1.15rem; }
.entry-body { margin-top: 1.65rem; max-width: 64ch; }
.entry-body :is(p, ul, dl) { margin-block: 1rem; }
.entry-body h2 { font-size: 1.8rem; margin-top: 1.75rem; }
.entry-body dt { font-weight: 700; }
.entry-body dd { margin: 0 0 .6rem; color: var(--muted); }
.works h3 a, .record-list h3 a, .source-list h2 a { color: var(--ink); text-decoration-thickness: 1px; }
.works h3 a:hover, .record-list h3 a:hover, .source-list h2 a:hover { text-decoration-thickness: 2px; }
.record-list h3 a { display: inline; margin: 0; }
.source-list h2 { margin-bottom: .5rem; font-size: clamp(1.4rem, 2vw, 1.85rem); }

.documented-tree { list-style: none; padding-left: 1.3rem; margin: 0; border-left: 2px solid var(--navy); }
.documented-tree li { position: relative; padding: .35rem 0 1.15rem; }
.documented-tree li:last-child { padding-bottom: .45rem; }
.documented-tree li::before { content: ""; position: absolute; top: 1.03rem; left: -1.59rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--navy); }
.documented-tree strong, .documented-tree span { display: block; }
.documented-tree strong { font: 1.45rem var(--serif); }
.documented-tree span { color: var(--muted); }
.family-branch { padding: .9rem 0 .5rem 1.3rem; border-left: 2px dashed var(--brass); }
.family-branch h2 { font-size: 1.75rem; margin-block: .25rem; }
.page-link { margin-top: 1.2rem; }
.history-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.4rem; }
.history-related article { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.history-related h3 { margin-bottom: .55rem; font-size: 1.6rem; }

.contact-card { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line); background: var(--sheet); }
.contact-card h2, .contribution h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.contact-card address { margin-top: .55rem; font-style: normal; overflow-wrap: anywhere; }
.contribution ul { padding-inline-start: 1.25rem; }
.contribution li + li { margin-top: .35rem; }
.contribution p { color: var(--muted); }
