/* mbdemirer.com — tokens and page classes. The engine (scrollcraft.css/js) is
   untouched; everything here styles the page's own markup. */

/* One self-hosted Turkish file per family, no third-party request. Both are variable
   fonts pinned to the axes this design never moves; Instrument's 400/500/600 all come
   out of the single file. Rebuild with tools/subset-fonts.sh after a font update. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-tr.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/instrument-sans-tr.woff2) format('woff2'); }


:root {
  --sc-canvas:      #0B0A08;
  --sc-surface:     #17140F;
  --sc-ink:         #E1E0CC;
  --sc-ink-soft:    #A79E8C;
  --sc-accent:      #E1E0CC;
  --sc-accent-ink:  #0B0A08;
  --sc-font-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sc-shadow-color: 35 30% 3%;
  --sc-leading-body: 1.62;

  /* page-only tokens */
  --name-size: clamp(2.9rem, 9.2vw, 10.4rem);
  --tab-h: 2.75rem;
}

/* Any component laid out with `display` outranks the [hidden] attribute in the
   cascade and stays on screen. One rule so no component has to remember. */
[hidden] { display: none !important; }

/* light-on-dark compensation: a touch more tracking and weight in prose */
body { font-weight: 450; letter-spacing: 0.002em; }
.sc-body { line-height: 1.66; }
.sc-grain { opacity: 0.07; }

/* ----------------------------------------------------------- nav tab -- */
.tab {
  position: fixed; top: 0; left: 50%; translate: -50% 0;
  z-index: var(--sc-z-chrome);
  display: flex; align-items: center; gap: clamp(0.9rem, 3vw, 3.2rem);
  padding: 0 clamp(1rem, 2.4vw, 2rem) 0.15rem;
  background: var(--sc-canvas);
  border-radius: 0 0 var(--sc-r-lg) var(--sc-r-lg);
  box-shadow: var(--sc-e2);
  font-size: var(--sc-t-sm);
}
.tab a {
  color: color-mix(in oklab, var(--sc-ink) 78%, transparent);
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.55rem;
  transition: color var(--sc-d-fast) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .tab a:hover { color: var(--sc-ink); } }
.tab a:active { translate: 0 1px; }
.tab a[aria-current="page"] { color: var(--sc-ink); }

/* ----------------------------------------------------------- pill cta -- */
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.3rem 0.3rem 0.3rem 1.25rem;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  border-radius: var(--sc-r-pill);
  font-weight: 500; font-size: var(--sc-t-base); line-height: 1;
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--sc-e2);
  transition: gap var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.pill__disc {
  display: grid; place-items: center;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--sc-accent-ink); color: var(--sc-accent);
  transition: transform var(--sc-d-fast) var(--sc-ease-out);
}
.pill__disc svg { width: 1rem; height: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { gap: 0.9rem; }
  .pill:hover .pill__disc { transform: scale(1.08); }
}
.pill:active { transform: scale(0.97); }

/* --------------------------------------------------------------- hero -- */
.hero {
  position: absolute; inset-inline: var(--sc-gutter); bottom: clamp(1rem, 3.5vh, 2.4rem);
  z-index: var(--sc-z-copy);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--sc-4); align-items: end;
  will-change: opacity, transform;
}
.hero__name { grid-column: 1 / span 8; }
.hero__aside {
  grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sc-5);
  padding-bottom: clamp(0.5rem, 2.5vh, 2rem);
}
.name {
  font-family: var(--sc-font-display);
  font-size: var(--name-size); font-weight: 500;
  line-height: 0.88; letter-spacing: -0.055em;
  margin: 0; color: var(--sc-ink); text-wrap: balance;
}
.name .sc-split--line { padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__lede {
  font-size: var(--sc-t-base); line-height: 1.38; color: color-mix(in oklab, var(--sc-ink) 86%, transparent);
  max-width: 34ch; margin: 0; text-wrap: pretty;
}
.hero__lede b { font-weight: 600; color: var(--sc-ink); }

/* the looping sky */
.sky__loop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 600ms var(--sc-ease-out);
  transform: scale(calc(1 + var(--sc-p, 0) * 0.08));   /* scroll leans in, slightly */
  transform-origin: 50% 60%;
}
.sky--live .sky__loop { opacity: 1; }
.sky--live .sc-stage__poster { opacity: 0; transition: opacity 600ms var(--sc-ease-out); }

/* ---------------------------------------------------------- manifesto -- */
/* The light drifts down and across as the act advances, so the ground is never
   a flat rectangle behind the type. --sc-p is the act progress the engine
   publishes on the section; it inherits down to the stage. */
.argument {
  background:
    radial-gradient(58% 46% at calc(20% + var(--sc-p, 0) * 24%) calc(30% + var(--sc-p, 0) * 40%),
      color-mix(in oklab, #7A5A34 26%, transparent), transparent 72%),
    var(--sc-surface);
}
.argument__inner {
  position: absolute; inset-inline: var(--sc-gutter); top: 50%; translate: 0 -50%;
  max-width: min(58rem, 92vw);
}
.argument__kicker {
  margin: 0 0 var(--sc-6); font-family: var(--sc-font-text);
  font-size: var(--sc-t-sm); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}

/* The four beats stay in normal flow in their own rows. Nothing is absolutely
   positioned on top of anything else, so a crossfade cannot print one sentence
   over another however the timing drifts. */
.beats { --spine: 3.4rem; list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--sc-6); }
.beats::before, .beats::after { content: ""; position: absolute; left: var(--spine); top: 0.6em; width: 1px; }
.beats::before { bottom: 0.6em; background: color-mix(in oklab, var(--sc-ink) 16%, transparent); }
.beats::after { height: calc(100% - 1.2em); background: var(--sc-ink); transform-origin: 50% 0; transform: scaleY(var(--sc-p, 0)); }

/* --t is where this beat sits on the act's 0..1 timeline; --lit falls off with
   the distance between the two. Written with nth-child rather than a style
   attribute because the CSP allows no inline styles. */
.beat { --t: 0.5; }
.beat:first-child { --t: 0; }
.beat:last-child { --t: 1; }
.beat:first-child:last-child { --t: 0.5; }
.beat:nth-child(2):nth-last-child(2) { --t: 0.5; }   /* middle of three */
.beat:nth-child(2):nth-last-child(3) { --t: 0.334; } /* second of four */
.beat:nth-child(3):nth-last-child(2) { --t: 0.667; } /* third of four */
.beat {
  --d: max(calc(var(--sc-p, 0) - var(--t)), calc(var(--t) - var(--sc-p, 0)));
  /* Floors, not zeroes: an unlit sentence is still a sentence somebody reads.
     0.48 measures 3.7:1 against the warmest point of the gradient, which clears
     AA for text this size; the small numerals need a higher floor for the same
     ratio, and the dots are decorative so they may go dimmer. */
  --lit: clamp(0.48, calc(1 - var(--d) * 3), 1);
  position: relative; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 2.4rem; align-items: baseline;
}
.beat::before {
  content: ""; position: absolute; left: var(--spine); top: 0.62em;
  width: 7px; height: 7px; margin-left: -3px; border-radius: 50%;
  background: var(--sc-ink); opacity: clamp(0.24, calc(1 - var(--d) * 4), 1);
}
.beat__n {
  grid-column: 1; text-align: right; font-family: var(--sc-font-display);
  font-size: var(--sc-t-sm); font-weight: 600; font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em; color: var(--sc-ink);
  opacity: clamp(0.68, calc(1 - var(--d) * 2.2), 1);
}
.beat__line {
  grid-column: 2; margin: 0; font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(1.2rem, 0.92rem + 0.92vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em;
  color: var(--sc-ink); max-width: 42ch; text-wrap: pretty; opacity: var(--lit);
}
@media (max-width: 860px) {
  .beats { --spine: 2.3rem; gap: var(--sc-5); }
  .beat { grid-template-columns: 1.6rem 1fr; column-gap: 1.5rem; }
}
/* Without the engine there is no --sc-p, and with reduced motion nobody should
   have to scroll two viewports to bring a sentence up to full strength. */
html:not(.sc-ready) .beat { --lit: 1; }
html:not(.sc-ready) .beats::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .beat { --lit: 1; }
  .beats::after { transform: none; }
}

/* ------------------------------------------------------------ projects -- */
.plates { --bed-alpha: 0.16; }
.plates .sc-stage,
.plates [data-sc-stage] { display: grid; align-items: center; }
.bed {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; place-content: center; text-align: center;
  padding-left: 14vw;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(3rem, 12.5vw, 13rem); line-height: 0.86; letter-spacing: -0.05em;
  color: var(--sc-ink); opacity: var(--bed-alpha);
  user-select: none;
}
.bed span { display: inline-block; }
.bed > div { white-space: nowrap; }
/* a letter goes out once the act's progress passes its threshold --t */
.bed [data-letter] { opacity: clamp(0, 1 - (var(--sc-p, 0) - var(--t, 2)) * 14, 1); }
.rail {
  position: relative; z-index: 1;
  display: flex; align-items: stretch; gap: clamp(1rem, 2vw, 1.75rem);
  padding-inline: var(--sc-gutter);
}
.rail__lead {
  flex: 0 0 auto; width: clamp(16rem, 28vw, 26rem); align-self: center;
  padding-right: clamp(1rem, 3vw, 3rem);
}
.rail__lead h2 { font-size: var(--sc-t-2xl); }
.rail__lead p { margin-top: var(--sc-4); }
.rail__note { flex: 0 0 auto; width: clamp(14rem, 22vw, 20rem); align-self: center; padding-left: var(--sc-5); }
.plate {
  --brand: #E1E0CC;
  flex: 0 0 auto; width: clamp(16.5rem, 24vw, 22rem); min-height: clamp(20rem, 52vh, 27rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sc-3);
  padding: var(--sc-6) var(--sc-5) var(--sc-5);
  background: color-mix(in oklab, var(--sc-surface) 84%, var(--brand));
  border: 1px solid color-mix(in oklab, var(--sc-ink) 9%, transparent);
  border-radius: var(--sc-r-lg);
  box-shadow: var(--sc-e2), var(--sc-edge);
  color: var(--sc-ink); text-decoration: none;
  position: relative; overflow: clip;
  /* staggered settle: arrives as the reader pulls the drawer */
  opacity: clamp(0.55, 0.55 + (var(--sc-p, 1) - var(--t, 0) + 0.10) * 5, 1);
  transform: translate3d(0, calc(clamp(0, (var(--t, 0) - var(--sc-p, 1)) , 0.12) * 80px), 0);
  transition: border-color var(--sc-d-fast) var(--sc-ease-out);
}
.plate--wide { width: clamp(19rem, 30vw, 27rem); }
.plate:nth-child(odd) { margin-top: clamp(0rem, 4vh, 2.5rem); }
.plate__seal {
  position: absolute; top: var(--sc-4); right: var(--sc-5);
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--brand);
  opacity: clamp(0, (var(--sc-p, 1) - var(--t, 0)) * 14, 1);
}
.plate--client .plate__go { color: var(--sc-ink-soft); }
.plate h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.plate p { margin: 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.5; max-width: 30ch; }
.plate__go { font-size: var(--sc-t-sm); color: var(--sc-ink); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: color-mix(in oklab, var(--sc-ink) 40%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .plate:hover { border-color: color-mix(in oklab, var(--brand) 55%, transparent); }
}
.plate:active { transform: scale(0.985); }

/* ----------------------------------------------------------- silence -- */
.hush { height: 30vh; background: var(--sc-canvas); }

/* ----------------------------------------------------------- the road -- */
.road .sc-copy--trail { max-width: min(38rem, 76vw); }
.road .sc-copy--trail > * { position: absolute; right: 0; bottom: 0; text-align: right; }
.chapter h2 { font-size: var(--sc-t-3xl); }
.chapter p { margin: var(--sc-4) 0 0; color: var(--sc-ink); font-size: var(--sc-t-lg); line-height: 1.4; max-width: 34ch; margin-left: auto; text-wrap: pretty; }
.road-line {
  position: absolute; left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); top: clamp(3rem, 12vh, 9rem);
  width: 1px; background: color-mix(in oklab, var(--sc-ink) 55%, transparent);
  transform-origin: 50% 100%; transform: scaleY(var(--sc-p, 0));
  z-index: 2; pointer-events: none;
}

/* ------------------------------------------------------------- close -- */
.close {
  display: grid; place-items: center; text-align: center;
  padding-inline: var(--sc-gutter);
}
.close__inner { display: grid; gap: var(--sc-6); justify-items: center; max-width: 60rem; }
.close .name { font-size: clamp(2.4rem, 7.6vw, 8rem); line-height: 0.92; }
/* letters come home, left to right, as the act progresses */
.close .name [data-letter] { display: inline-block; opacity: clamp(0, (var(--sc-p, 1) - var(--t, 0)) * 9, 1); }
.close__lede { font-size: var(--sc-t-lg); color: var(--sc-ink-soft); max-width: 40ch; margin: 0; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--sc-4); margin: 0; padding: 0; list-style: none; font-size: var(--sc-t-sm); }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.35rem; color: var(--sc-ink-soft); text-decoration-color: color-mix(in oklab, var(--sc-ink) 35%, transparent); }
.foot {
  position: absolute; inset-inline: var(--sc-gutter); bottom: var(--sc-5);
  display: flex; justify-content: space-between; gap: var(--sc-4); flex-wrap: wrap;
  font-size: var(--sc-t-xs); color: var(--sc-ink-soft);
}
.foot a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.foot span { display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------------- skip link -- */
.skip { position: fixed; top: 0; left: 0; z-index: calc(var(--sc-z-chrome) + 1); padding: 0.75rem 1rem; background: var(--sc-accent); color: var(--sc-accent-ink); transform: translateY(-120%); transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.skip:focus-visible { transform: none; outline-offset: -3px; }

/* ------------------------------------------------------- consent bar -- */
.consent {
  position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); translate: -50% 0;
  z-index: var(--sc-z-chrome); width: min(40rem, calc(100vw - 2rem));
  display: grid; gap: var(--sc-4); padding: var(--sc-5);
  background: var(--sc-surface); border: 1px solid var(--sc-hairline-strong);
  border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3), var(--sc-edge);
  font-size: var(--sc-t-sm);
}
.consent p { margin: 0; color: var(--sc-ink); text-wrap: pretty; }
.consent a { color: var(--sc-ink-soft); display: inline-block; padding: 0.6rem 0.2rem; margin: -0.6rem 0; }
.consent__actions { display: flex; gap: var(--sc-3); justify-content: flex-end; flex-wrap: wrap; }
.consent__btn { min-height: 44px; padding: 0 1.1rem; border-radius: var(--sc-r-pill); border: 1px solid var(--sc-hairline-strong); background: transparent; color: var(--sc-ink); cursor: pointer; }
.consent__btn--yes { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: transparent; }
.consent__btn:active { transform: scale(0.97); }
.consent__prefs { display: flex; gap: var(--sc-3); flex-wrap: wrap; margin-top: var(--sc-5); }
.consent__state { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- panel -- */
.panel__form { display: grid; gap: var(--sc-6); margin-top: var(--sc-7); max-width: 44rem; }
.panel__field { display: grid; gap: var(--sc-2); }
.panel__field > span { font-weight: 600; }
.panel__field input { width: 100%; min-height: 48px; padding: 0 0.9rem; border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline-strong); background: var(--sc-surface); color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.panel__field small { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.5; }
.panel__field small b { color: var(--sc-ink); font-weight: 600; }
.panel__actions { display: flex; gap: var(--sc-5); align-items: center; flex-wrap: wrap; }
.panel__logout { margin-top: var(--sc-7); }
.panel__ok, .panel__err { margin: 0; padding: var(--sc-4) var(--sc-5); border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline-strong); }
.panel__ok { background: color-mix(in oklab, var(--sc-surface) 80%, #4FA37A); }
.panel__err { background: color-mix(in oklab, var(--sc-surface) 80%, #D9453B); }

/* ------------------------------------------------------ contact form -- */
.form { display: grid; gap: var(--sc-5); max-width: 40rem; margin-top: var(--sc-6); }
.form__field { display: grid; gap: var(--sc-2); }
.form__field > span { font-weight: 600; }
.form__field input, .form__field textarea { width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline-strong); background: var(--sc-surface); color: var(--sc-ink); }
.form__field textarea { resize: vertical; }
.form__check { display: flex; gap: var(--sc-3); align-items: flex-start; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.form__check input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--sc-accent); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .pill { border: 0; cursor: pointer; font-family: inherit; }
.form__ok, .form__err { display: none; margin: 0; padding: var(--sc-4) var(--sc-5); border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline-strong); }
.form__ok:target { display: block; background: color-mix(in oklab, var(--sc-surface) 80%, #4FA37A); }
.form__err:target { display: block; background: color-mix(in oklab, var(--sc-surface) 80%, #D9453B); }
.close__alt { margin: calc(-1 * var(--sc-4)) 0 0; font-size: var(--sc-t-sm); }
.close__alt a { color: var(--sc-ink-soft); display: inline-flex; align-items: center; min-height: 44px; }

/* --------------------------------------------------------- prose (md) -- */
.prose { max-width: var(--sc-measure); color: var(--sc-ink); }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 var(--sc-4); color: var(--sc-ink-soft); text-wrap: pretty; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sc-font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: var(--sc-7) 0 var(--sc-3); color: var(--sc-ink); text-wrap: balance; }
.prose h2 { font-size: var(--sc-t-2xl); } .prose h3 { font-size: var(--sc-t-xl); } .prose h4 { font-size: var(--sc-t-lg); }
.prose a { color: var(--sc-ink); } .prose strong { color: var(--sc-ink); } .prose li { margin: 0.25rem 0; } .prose blockquote { border-left: 1px solid var(--sc-hairline-strong); padding-left: var(--sc-5); font-family: var(--sc-font-display); font-size: var(--sc-t-lg); color: var(--sc-ink); }
.prose img { border-radius: var(--sc-r-lg); border: 1px solid var(--sc-hairline); margin: var(--sc-5) 0; } .prose pre { background: var(--sc-surface); border: 1px solid var(--sc-hairline); border-radius: var(--sc-r-md); padding: var(--sc-4); overflow-x: auto; font-size: var(--sc-t-sm); } .prose code { font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; } .prose hr { border: 0; height: 1px; background: var(--sc-hairline); margin: var(--sc-7) 0; }
.chapter__year { color: var(--sc-ink-soft); font-size: 0.55em; display: block; letter-spacing: 0; margin-bottom: 0.2em; }

/* ------------------------------------------------------------- posts -- */
.postlist { display: grid; gap: var(--sc-7); margin-top: var(--sc-6); max-width: 60rem; }
.postlist__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sc-5); align-items: start; }
.postlist__item:has(.postlist__img) { grid-template-columns: 16rem minmax(0, 1fr); }
.postlist__img img { width: 100%; height: auto; border-radius: var(--sc-r-md); border: 1px solid var(--sc-hairline); }
.postlist__meta { margin: 0 0 var(--sc-2); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.postlist__item h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--sc-3); text-wrap: balance; }
.postlist__item h2 a { color: var(--sc-ink); text-decoration: none; } .postlist__item h2 a:hover { text-decoration: underline; }
.tags { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); } .tags span { margin-right: var(--sc-3); }
.latest__list { display: grid; gap: 0; border-top: 1px solid var(--sc-hairline); max-width: 60rem; }
.latest__item { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--sc-4); padding: var(--sc-5) 0; border-bottom: 1px solid var(--sc-hairline); color: var(--sc-ink); text-decoration: none; }
.latest__item strong { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: -0.015em; display: block; }
.latest__date { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); font-variant-numeric: tabular-nums; } .latest__ex { display: block; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); margin-top: var(--sc-2); grid-column: 2; }
.latest__all { color: var(--sc-ink); display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------------------- proof -- */
.proof { background: var(--sc-surface); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--sc-6); margin-top: var(--sc-5); }
.quote { margin: 0; display: grid; gap: var(--sc-4); } .quote blockquote { margin: 0; } .quote blockquote p { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); line-height: 1.3; letter-spacing: -0.015em; color: var(--sc-ink); text-wrap: pretty; }
.quote figcaption { display: flex; gap: var(--sc-3); align-items: center; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); } .quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; } .quote figcaption b { color: var(--sc-ink); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; gap: var(--sc-6) var(--sc-8); align-items: center; margin-top: var(--sc-8); opacity: 0.85; } .logos img { height: 2rem; width: auto; max-width: 9rem; object-fit: contain; filter: grayscale(1) brightness(1.6); }

/* ----------------------------------------------------------- services -- */
.svc { display: grid; gap: var(--sc-4); margin-top: var(--sc-6); max-width: 60rem; }
.svc__item { display: grid; gap: var(--sc-2); padding: var(--sc-6) 0; border-top: 1px solid var(--sc-hairline); color: var(--sc-ink); text-decoration: none; }
.svc__item h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); letter-spacing: -0.02em; line-height: 1.05; margin: 0; } .svc__item p { margin: 0; color: var(--sc-ink-soft); max-width: 60ch; }

/* ------------------------------------------------------------- events -- */
.event { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--sc-5); padding: var(--sc-5) 0; border-top: 1px solid var(--sc-hairline); max-width: 60rem; }
.event time { display: grid; line-height: 1; font-variant-numeric: tabular-nums; } .event time b { font-family: var(--sc-font-display); font-size: var(--sc-t-2xl); font-weight: 500; } .event time span { color: var(--sc-ink-soft); font-size: var(--sc-t-xs); margin-top: 0.3rem; }
.event h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: -0.015em; margin: 0 0 var(--sc-2); }

/* ----------------------------------------------------------- timeline -- */
.tl { list-style: none; margin: var(--sc-6) 0 0; padding: 0; max-width: 60rem; }
.tl__item { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--sc-5); padding: var(--sc-5) 0; border-top: 1px solid var(--sc-hairline); }
.tl__year { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
/* A period without a year drops the empty column instead of showing a placeholder dot.
   Two classes deep on purpose: the narrow-screen rule below also sets the columns. */
.tl .tl__item--noyear { grid-template-columns: minmax(0, 1fr); }
.tl__item h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: -0.015em; margin: 0 0 var(--sc-2); }
@media (max-width: 700px) { .postlist__item:has(.postlist__img) { grid-template-columns: 1fr; } .latest__item { grid-template-columns: 1fr; } .latest__ex { grid-column: 1; } .tl__item { grid-template-columns: 4rem 1fr; } }

/* ------------------------------------------------------- detail pages -- */
.detail { padding-top: calc(var(--tab-h) + var(--sc-8)); }
.detail .sc-wrap { max-width: 64rem; }
.detail h1 { font-size: var(--sc-t-4xl); }
.detail .facts { list-style: none; margin: var(--sc-7) 0 0; padding: 0; display: grid; gap: var(--sc-4); max-width: var(--sc-measure); }
.detail .facts li { padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); color: var(--sc-ink); }
.detail .facts li:first-child { border-top: 0; padding-top: 0; }
.detail__kind { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.detail__shot { margin: var(--sc-8) 0 0; }
.detail__shot img { width: 100%; height: auto; border-radius: var(--sc-r-lg); border: 1px solid var(--sc-hairline); box-shadow: var(--sc-e2); }
.detail__shot figcaption { margin-top: var(--sc-3); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.detail__nav { display: flex; justify-content: space-between; gap: var(--sc-5); margin-top: var(--sc-8); padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-sm); }
.detail__nav a { display: inline-flex; flex-direction: column; gap: 0.15rem; min-height: 44px; justify-content: center; color: var(--sc-ink); text-decoration: none; }
.detail__nav a span { color: var(--sc-ink-soft); font-size: var(--sc-t-xs); }
.detail__nav a:last-child { text-align: right; }
.detail__seal { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(4rem, 12vw, 9rem); line-height: 1; letter-spacing: -0.05em; color: var(--brand, var(--sc-ink)); margin: 0 0 var(--sc-5); }
.detail__links { display: flex; gap: var(--sc-5); flex-wrap: wrap; margin-top: var(--sc-8); align-items: center; }
.detail__back { color: var(--sc-ink-soft); }
.detail__foot { margin-top: var(--sc-10); padding: var(--sc-6) 0; border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- phones -- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; row-gap: var(--sc-5); bottom: clamp(1rem, 4vh, 2rem); }
  .hero__name, .hero__aside { grid-column: 1; }
  .hero__aside { padding-bottom: 0; gap: var(--sc-4); }
  .name { font-size: clamp(2.7rem, 13.5vw, 5rem); letter-spacing: -0.045em; }
  .hero__lede { max-width: 30ch; font-size: var(--sc-t-sm); }
  .tab { gap: 0.9rem; padding: 0 0.8rem 0.15rem; font-size: 0.78rem; max-width: calc(100vw - 1rem); flex-wrap: wrap; justify-content: center; }
  .argument .sc-lede { font-size: var(--sc-t-lg); }
  .argument__inner { top: 44%; }
  .bed { font-size: clamp(2.2rem, 12.5vw, 4rem); padding-left: 0; opacity: 0.12; }
  .rail__lead { width: min(76vw, 20rem); }
  .plate { width: min(74vw, 18rem); min-height: 22rem; }
  .plate--wide { width: min(78vw, 20rem); }
  .plate:nth-child(odd) { margin-top: 0; }
  .road .sc-copy--trail > * { right: auto; left: 0; text-align: left; }
  .chapter p { margin-left: 0; }
  .road-line { display: none; }
  .foot { flex-direction: column; align-items: center; text-align: center; gap: 0; }
}

/* six tabs must stay on one line: the bar may scroll sideways on narrow screens instead of wrapping */
.tab { flex-wrap: nowrap; white-space: nowrap; max-width: 100vw; overflow-x: auto; scrollbar-width: none; }
.tab::-webkit-scrollbar { display: none; }
@media (max-width: 560px) { .tab { gap: 0.75rem; font-size: 0.78rem; padding-inline: 0.9rem; } .tab a { padding: 0 0.1rem; } }
@media (max-width: 420px) { .tab { gap: 0.6rem; font-size: 0.72rem; } .tab a { padding: 0 0.15rem; } }

/* ------------------------------------------------------ reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .bed [data-letter], .plate__seal, .close .name [data-letter] { opacity: 1; }
  .bed { opacity: 0.10; }
  .plate { opacity: 1; transform: none; }
  .road-line { transform: none; }
  .sky__loop { display: none; }
  .pill, .pill__disc, .plate { transition: none; }
}

/* keyboard: a focused plate is never half-lit */
.plate:focus-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------- randevu defteri -- */
.bk { margin-top: var(--sc-7); max-width: 40rem; background: var(--sc-surface); border: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent); border-radius: var(--sc-r-lg); padding: var(--sc-6); display: grid; gap: var(--sc-5); }
.bk__head h2 { margin: 0; } .bk__head p { color: var(--sc-ink-soft); margin: var(--sc-1) 0 0; font-size: var(--sc-t-sm); }
.bk__msg { margin: 0; padding: var(--sc-3) var(--sc-4); border-radius: var(--sc-r-md); background: color-mix(in oklab, var(--sc-ink) 8%, var(--sc-surface)); font-size: var(--sc-t-sm); }
.bk__msg--err { border: 1px solid color-mix(in oklab, #d97757 55%, transparent); }
.bk form { display: grid; gap: var(--sc-5); }
.bk__step { display: grid; gap: var(--sc-3); opacity: .55; transition: opacity .2s; } .bk__step.is-on, .bk__step.is-done { opacity: 1; }
.bk__step h3 { display: flex; align-items: center; gap: var(--sc-3); margin: 0; font-family: var(--sc-font-text); font-size: var(--sc-t-base); font-weight: 600; }
.bk__step h3 span { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--sc-ink-soft); display: inline-grid; place-items: center; font-size: .75rem; color: var(--sc-ink-soft); }
.bk__step.is-on h3 span { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-accent-ink); } .bk__step.is-done h3 span { color: var(--sc-ink); }
.bk__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-3); }
.bk__kind { display: grid; gap: .2rem; text-align: left; padding: var(--sc-3) var(--sc-4); border-radius: var(--sc-r-md); border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); background: transparent; color: var(--sc-ink); cursor: pointer; font: inherit; }
.bk__kind strong { font-weight: 600; } .bk__kind small { color: var(--sc-ink-soft); font-size: .8rem; line-height: 1.35; }
.bk__kind[aria-pressed="true"] { border-color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 10%, var(--sc-surface)); }
.bk__days { display: flex; gap: var(--sc-2); overflow-x: auto; padding-bottom: var(--sc-2); scrollbar-width: thin; }
.bk__day { flex: none; width: 4rem; display: grid; justify-items: center; gap: .1rem; padding: var(--sc-3) 0; border-radius: var(--sc-r-md); border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); background: transparent; color: var(--sc-ink); cursor: pointer; font: inherit; }
.bk__day small { font-size: .7rem; color: var(--sc-ink-soft); letter-spacing: .04em; } .bk__day strong { font-family: var(--sc-font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; }
.bk__day[aria-pressed="true"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-accent-ink); } .bk__day[aria-pressed="true"] small { color: color-mix(in oklab, var(--sc-accent-ink) 70%, var(--sc-ink)); }
.bk__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.8rem, 1fr)); gap: var(--sc-2); }
.bk__slot { min-height: 2.6rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); background: transparent; color: var(--sc-ink); font: inherit; cursor: pointer; }
.bk__slot[aria-pressed="true"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-accent-ink); }
.bk__wait, .bk__empty { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); } .bk__empty a { color: var(--sc-ink); }
.bk__summary { margin: 0; padding: var(--sc-3) var(--sc-4); border-radius: var(--sc-r-md); background: color-mix(in oklab, var(--sc-ink) 8%, var(--sc-surface)); font-size: var(--sc-t-sm); }
.bk__details { display: grid; gap: var(--sc-4); } .bk__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-3); }
.bk__details .detail__links { margin-top: 0; }
.bk.is-done form, .bk.is-done .bk__msg { display: none; } .bk__done { display: grid; gap: var(--sc-2); }
.bk__done-k { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); margin: 0; letter-spacing: .04em; } .bk__done .sc-display { margin: 0; } .bk__note { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.bk__alt { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); margin-top: var(--sc-5); } .bk__alt a { color: var(--sc-ink); }
.pill--ghost { background: transparent; color: var(--sc-ink); border: 1px solid color-mix(in oklab, var(--sc-ink) 30%, transparent) !important; }
@media (max-width: 640px) { .bk { padding: var(--sc-5); } .bk__kinds, .bk__row { grid-template-columns: 1fr; } }

/* === generated by panel/lib/publish.php === */
:root { --sc-canvas: #0B0A08; --sc-surface: #17140F; --sc-ink: #E1E0CC; --sc-ink-soft: #A79E8C; --sc-accent: #E1E0CC; --sc-accent-ink: #0B0A08; }
.plate[data-p="optimum-bilgi"], .detail[data-p="optimum-bilgi"] { --brand: #4FA37A; --t: 0.100; }
.bed [data-letter="1"] { --t: 0.100; }
.plate[data-p="innokar"], .detail[data-p="innokar"] { --brand: #3B6FE0; --t: 0.195; }
.bed [data-letter="2"] { --t: 0.195; }
.plate[data-p="royality"], .detail[data-p="royality"] { --brand: #8A5BD6; --t: 0.290; }
.bed [data-letter="3"] { --t: 0.290; }
.plate[data-p="hangisendika"], .detail[data-p="hangisendika"] { --brand: #2E7DD1; --t: 0.385; }
.bed [data-letter="4"] { --t: 0.385; }
.plate[data-p="kidinn"], .detail[data-p="kidinn"] { --brand: #F2A33A; --t: 0.480; }
.bed [data-letter="5"] { --t: 0.480; }
.plate[data-p="teachinn"], .detail[data-p="teachinn"] { --brand: #2BB3A3; --t: 0.575; }
.bed [data-letter="6"] { --t: 0.575; }
.plate[data-p="dogumdan-okula"], .detail[data-p="dogumdan-okula"] { --brand: #7DBB6E; --t: 0.670; }
.bed [data-letter="7"] { --t: 0.670; }
.plate[data-p="gazete70"], .detail[data-p="gazete70"] { --brand: #D9453B; --t: 0.765; }
.bed [data-letter="8"] { --t: 0.765; }
.plate[data-p="tuna-talas"], .detail[data-p="tuna-talas"] { --brand: #C9A24C; --t: 0.860; }
.bed [data-letter="9"] { --t: 0.860; }
.close [data-i="0"] { --t: 0.00; }
.close [data-i="1"] { --t: 0.03; }
.close [data-i="2"] { --t: 0.06; }
.close [data-i="3"] { --t: 0.10; }
.close [data-i="4"] { --t: 0.13; }
.close [data-i="5"] { --t: 0.16; }
.close [data-i="6"] { --t: 0.19; }
.close [data-i="7"] { --t: 0.22; }
.close [data-i="8"] { --t: 0.25; }
.close [data-i="9"] { --t: 0.29; }
.close [data-i="10"] { --t: 0.32; }
.close [data-i="11"] { --t: 0.35; }
.close [data-i="12"] { --t: 0.38; }
.close [data-i="13"] { --t: 0.41; }
.close [data-i="14"] { --t: 0.44; }
.close [data-i="15"] { --t: 0.47; }
.close [data-i="16"] { --t: 0.51; }
.close [data-i="17"] { --t: 0.54; }
.close [data-i="18"] { --t: 0.57; }
/* === end generated === */
