@font-face {
  font-family: Outfit;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root { --page-gutter: 60px; --radius-sm: 8px; --radius-xs: 4px; --kak-red: #ed1c24; --ataturk-board: linear-gradient(180deg, #0b0b0b, #000 50%, #0b0b0b); --ataturk-scene-gap: clamp(180px, 28vh, 300px); --ataturk-scene-feather: clamp(150px, 24vh, 240px); /* Eased (not linear) scene edges: softer fade into the black gap between scenes. */ --ataturk-scene-mask: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 5%) calc(var(--ataturk-scene-feather) * .2), rgb(0 0 0 / 22%) calc(var(--ataturk-scene-feather) * .4), rgb(0 0 0 / 55%) calc(var(--ataturk-scene-feather) * .6), rgb(0 0 0 / 86%) calc(var(--ataturk-scene-feather) * .8), #000 var(--ataturk-scene-feather), #000 calc(100% - var(--ataturk-scene-feather)), rgb(0 0 0 / 86%) calc(100% - var(--ataturk-scene-feather) * .8), rgb(0 0 0 / 55%) calc(100% - var(--ataturk-scene-feather) * .6), rgb(0 0 0 / 22%) calc(100% - var(--ataturk-scene-feather) * .4), rgb(0 0 0 / 5%) calc(100% - var(--ataturk-scene-feather) * .2), transparent 100%); color-scheme: dark; background: #000; }
* { box-sizing: border-box; }
body { margin: 0; color: #fff; background: #000; font-family: Outfit, sans-serif; }
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Felipa;
  src: url('../fonts/felipa-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
/* Dancing Script (OFL, Google Fonts): handwritten quotes between timeline scenes; Turkish via latin-ext. */
@font-face {
  font-family: 'Dancing Script';
  src: url('../fonts/dancing-script-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Dancing Script';
  src: url('../fonts/dancing-script-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.ataturk-document { scrollbar-width: none; scrollbar-gutter: auto; }
html.ataturk-document::-webkit-scrollbar,
.ataturk-document body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ataturk-intro {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: var(--header-height) var(--page-gutter) 120px;
  place-items: center;
  background: linear-gradient(rgb(0 0 0 / 28%), rgb(0 0 0 / 28%)), var(--ataturk-board) center / cover;
}
.ataturk-intro__composition { position: relative; z-index: 2; display: grid; place-items: center; gap: 30px; width: 100%; min-width: 0; }
.ataturk-intro__background, .ataturk-outro__background { position: absolute; inset: 0; overflow: hidden; background: #000; pointer-events: none; }
.ataturk-intro__background img, .ataturk-outro__background img { position: absolute; top: -5%; left: 57%; display: block; width: auto; max-width: none; height: 120%; transform: translateX(-50%) scaleX(-1); opacity: .34; mask-image: radial-gradient(ellipse 75% 65% at 50% 43%, #000 25%, transparent 85%); }
.ataturk-intro__background::after, .ataturk-outro__background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgb(0 0 0 / 65%) 74%, #000 100%), radial-gradient(ellipse at 57% 42%, transparent 10%, rgb(0 0 0 / 15%) 55%, #000 95%); }
.ataturk-intro__background, .ataturk-outro__background { isolation: isolate; background: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%)), var(--ataturk-board) center / cover; }
.ataturk-intro__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .8; filter: grayscale(.6) brightness(.9); }
.ataturk-outro__background .ataturk-intro__video { filter: grayscale(1) brightness(.9); }
/* A textured vignette: the perimeter reveals the board, not a flat black fill. */
.ataturk-intro__background::after, .ataturk-outro__background::after { background: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%)), var(--ataturk-board) center / cover; -webkit-mask-image: radial-gradient(ellipse 28% 44% at 54% 45%, rgb(0 0 0 / 42%) 18%, rgb(0 0 0 / 50%) 35%, rgb(0 0 0 / 70%) 58%, rgb(0 0 0 / 90%) 76%, #000 95%); mask-image: radial-gradient(ellipse 28% 44% at 54% 45%, rgb(0 0 0 / 42%) 18%, rgb(0 0 0 / 50%) 35%, rgb(0 0 0 / 70%) 58%, rgb(0 0 0 / 90%) 76%, #000 95%); }
.ataturk-intro__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: max-content;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(32px, 15vw, 600px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.ataturk-intro__prefix { display: block; flex: 0 0 auto; }
.ataturk-intro__portal { position: relative; display: block; flex: 0 0 auto; }
.ataturk-intro__eight { display: block; font-family: 'Open Sans', sans-serif; letter-spacing: 0; font-size: inherit; }
:is(.ataturk-intro__description,.ataturk-outro__description) { max-width: 100%; margin: 0; color: #fff; font-size: 32px; font-weight: 200; line-height: 1; letter-spacing: -.015em; text-align: center; text-transform: uppercase; white-space: nowrap; }
:is(.ataturk-intro__description,.ataturk-outro__description) em { margin-right: 8px; color: inherit; font-family: Felipa, cursive; font-style: normal; font-weight: 600; font-size: 42px; }
.ataturk-outro { position: relative; display: grid; min-height: 100vh; padding: 90px var(--page-gutter); place-items: center; background: #000; }
.ataturk-outro__composition { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; width: 100%; min-width: 0; }
.ataturk-outro__date { --infinity-size: min(calc((100vw - 2 * var(--page-gutter)) / 1.6), 75svh, 1000px); display: flex; align-items: center; justify-content: center; gap: calc(var(--infinity-size) * .035); width: max-content; margin: 0; }
.ataturk-outro__prefix { display: block; font-family: 'Open Sans', sans-serif; font-size: calc(var(--infinity-size) * .5); font-weight: 500; line-height: .72; letter-spacing: -.055em; transform: translateY(-.04em); }
.ataturk-outro__symbol { position: relative; display: block; flex: 0 0 auto; width: .8em; height: .6em; font-family: 'Open Sans', sans-serif; font-size: calc(var(--infinity-size) * .5); font-weight: 500; line-height: 1; letter-spacing: 0; }
/* Center the visible rotated glyph, compensating for its font side bearing. */
.ataturk-outro__symbol span { position: absolute; top: 50%; left: calc(50% + .027em); display: block; transform: translate(-50%, -50%) rotate(90deg); }
/* Keep 1938 on one baseline with natural digit spacing until the final turn. */
.ataturk-chapter__year.ataturk-chapter__year--final { display: flex; align-items: baseline; justify-content: center; gap: 0; font-family: 'Open Sans', sans-serif; font-weight: 500; letter-spacing: -.055em; }
.ataturk-chapter__final-prefix { display: block; line-height: 1; }
.ataturk-chapter__final-eight { position: relative; flex: 0 0 auto; line-height: 1; letter-spacing: 0; }
.ataturk-chapter__final-eight span { display: block; }
.is-animated .ataturk-stage > .ataturk-chapter__year.ataturk-chapter__year--final { z-index: 95; }
.is-animated .ataturk-outro { position: absolute; inset: 0; z-index: 90; height: 100%; min-height: 0; opacity: 0; visibility: hidden; }
.ataturk-intro__scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 30px; display: flex; align-items: center; gap: 10px; min-height: 24px; color: #fff; font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.ataturk-intro__scroll-cue svg { flex: 0 0 22px; width: 22px; height: 22px; }
.ataturk-policies { position: fixed; z-index: 110; left: var(--page-gutter); bottom: 30px; display: flex; flex-wrap: wrap; gap: 0 15px; max-width: calc(100% - 2 * var(--page-gutter)); color: #fff; font-size: 10px; font-weight: 600; line-height: 1; text-transform: uppercase; text-shadow: 0 1px 4px rgb(0 0 0 / 50%); }
.ataturk-story:not(.is-animated) .ataturk-policies { position: absolute; }
.ataturk-policies a { display: inline-flex; align-items: center; min-height: 24px; }
/* A taller roll line keeps the dot of capital İ inside the clipped box. */
.ataturk-policies .link-roll__text { line-height: 1.5; }
.ataturk-policies a:hover { color: var(--kak-red); }
.ataturk-policies a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
html:is(.has-site-menu, .has-site-search) :is(.ataturk-policies, .ataturk-intro__scroll-cue) { visibility: hidden !important; pointer-events: none; }
@media (max-height: 480px) {
  .ataturk-intro { padding-bottom: 60px; }
  .ataturk-intro__composition { gap: 15px; }
  .ataturk-intro__eight { font-size: inherit; }
  .ataturk-intro__scroll-cue { bottom: 15px; }
  .ataturk-policies { bottom: 15px; }
}
.ataturk-stage { position: relative; background-color: #000; background-image: linear-gradient(180deg, #0b0b0b, #000 45%, #000 55%, #0b0b0b); background-size: 100% 100%; }
.ataturk-transition { display: none; }
.ataturk-chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 100vh;
  padding: 90px max(var(--page-gutter), calc((100% - 1280px) / 2));
  isolation: isolate;
  background: #000;
  overflow: hidden;
}
.ataturk-chapter__atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #000;
}
.ataturk-chapter__year {
  z-index: 4;
  align-self: center;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.075em;
  font-variant-numeric: lining-nums tabular-nums;
  pointer-events: none;
}
.ataturk-chapter__media { position: relative; z-index: 1; }
.ataturk-chapter__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #090909;
}
.ataturk-chapter__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ataturk-chapter__copy { position: relative; z-index: 3; max-width: 750px; }
.ataturk-chapter__date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: rgb(255 255 255 / 85%);
}
.ataturk-chapter__date::before { content: ''; width: 2px; height: 24px; flex-shrink: 0; background: var(--kak-red); }
.ataturk-chapter__action { align-self: flex-end; }
.is-animated .ataturk-chapter__action { position: absolute; z-index: 5; right: var(--timeline-edge); bottom: 60px; }

.ataturk-story.is-animated .ataturk-stage { height: 100vh; overflow: hidden; background-size: cover; }
/* Stage rays show only on the black 1881 screen; ataturk-timeline.js drives --stage-rays. */
.ataturk-stage > .section-light-rays { opacity: var(--stage-rays, 0); }
.is-animated .ataturk-intro { position: absolute; inset: 0; height: 100%; min-height: 0; z-index: 99; }
.is-animated .ataturk-transition { display: block; position: absolute; inset: 0; z-index: 100; background: linear-gradient(180deg, #0b0b0b, #000 50%, #0b0b0b); visibility: hidden; opacity: 0; pointer-events: none; }
.is-animated .ataturk-chapter { position: absolute; inset: 0; display: block; height: 100%; min-height: 0; padding: 0; }
.is-animated .ataturk-chapter__year { position: absolute; top: 50%; left: 50%; width: max-content; font-size: clamp(160px, 36vw, 620px); transform: translate(-50%, -50%); transform-origin: center; }
.is-animated .ataturk-chapter__year--range { font-size: clamp(90px, 19vw, 340px); }

@media (max-width: 820px) {
  :root { --page-gutter: 30px; --ataturk-scene-gap: clamp(120px, 22vh, 180px); --ataturk-scene-feather: clamp(90px, 18vh, 150px); }
  .ataturk-intro__background::after, .ataturk-outro__background::after { -webkit-mask-image: radial-gradient(ellipse 42% 44% at 54% 45%, rgb(0 0 0 / 42%) 18%, rgb(0 0 0 / 50%) 35%, rgb(0 0 0 / 70%) 58%, rgb(0 0 0 / 90%) 76%, #000 95%); mask-image: radial-gradient(ellipse 42% 44% at 54% 45%, rgb(0 0 0 / 42%) 18%, rgb(0 0 0 / 50%) 35%, rgb(0 0 0 / 70%) 58%, rgb(0 0 0 / 90%) 76%, #000 95%); }
  .ataturk-intro__background img, .ataturk-outro__background img { top: 0; left: 50%; height: 100%; }
  .ataturk-intro__eight { font-size: inherit; }
  :is(.ataturk-intro__description,.ataturk-outro__description) { font-size: 16px; }
  :is(.ataturk-intro__description,.ataturk-outro__description) em { font-size: 24px; }
  .ataturk-intro__scroll-cue { bottom: 60px; }
  .is-animated .ataturk-chapter__year { font-size: 36vw; }
  .is-animated .ataturk-chapter__year--range { font-size: 18vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ataturk-progress { transition: none; }
}
