/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-italic-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-italic-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-400-normal-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-500-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-500-normal-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-600-normal-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-700-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-700-normal-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-400-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-400-italic-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-600-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-600-italic-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-400-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Newsreader-400-normal-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Newsreader-500-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Newsreader-500-normal-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-600-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Newsreader-600-normal-latin.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Newsreader-700-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Newsreader-700-normal-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Spectral-400-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Spectral-400-italic-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Spectral-600-italic-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Spectral-600-italic-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Spectral-400-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Spectral-400-normal-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Spectral-500-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Spectral-500-normal-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Spectral-600-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Spectral-600-normal-latin.woff2) format('woff2');
  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: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Spectral-700-normal-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Spectral-700-normal-latin.woff2) format('woff2');
  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;
}

/* ==========================================================================
   MERİDYEN OPTİK ATÖLYESİ — "Atölye Notları" white-paper stylesheet
   Paper-white academic journal: Newsreader display, Spectral body,
   JetBrains Mono for data. One restrained ink-blue accent.
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  interpolate-size: allow-keywords;

  --paper:        #FCFBF8;
  --paper-2:      #F5F2EA;
  --paper-3:      #EFEBE0;
  --ink:          #16150F;
  --ink-2:        #33302A;
  --ink-soft:     #545045;
  --rule:         #D9D3C5;
  --rule-soft:    #E7E2D6;
  --rule-strong:  #A9A192;
  --accent:       #1F3A5F;
  --accent-tint:  #E9EDF3;
  --accent-line:  #9FB0C6;
  --flag:         #7A2E1E;

  --f-display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --f-body:    'Spectral', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --f-mono:    'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', 'Courier New', monospace;

  --header-h: 74px;
  --measure: 68ch;
  --ease: cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 900px) { :root { --header-h: 64px; } }

/* ---------- 2. reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin: 0 0 .4em; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.008em;
  line-height: 1.18;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); line-height: 1.26; }
h4 { font-size: 1.06rem; line-height: 1.32; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
strong, b { font-weight: 600; }
em { font-style: italic; }

::selection { background: #D9E1EC; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(18px, 4vw, 34px);
  padding-right: clamp(18px, 4vw, 34px);
}
.measure { max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: .8rem;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--paper); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 1200;
  pointer-events: none;
}

/* ---------- 3. header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(252, 251, 248, 0.94);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 240ms ease, background 240ms ease;
}
.site-header.scrolled {
  background: rgba(252, 251, 248, 0.99);
  box-shadow: 0 8px 24px -18px rgba(22, 21, 15, .45);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 34px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.25;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.45;
}

.nav-desktop { display: none; }
@media (min-width: 1040px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 22px);
  }
  .nav-desktop a {
    position: relative;
    font-family: var(--f-mono);
    font-size: .715rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 6px 0;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms var(--ease);
  }
  .nav-desktop a:hover { color: var(--accent); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { transform: scaleX(1); }
  .nav-desktop a.is-active { color: var(--accent); }
  .nav-desktop .nav-cta::after { display: none; }
  .nav-desktop .nav-cta {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 7px 13px;
  }
  .nav-desktop .nav-cta:hover { background: var(--accent); color: #FFFDF8; }
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 240ms var(--ease), opacity 160ms linear;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1040px) { .nav-toggle { display: none; } }

/* ---------- 4. drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 15, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms linear, visibility 0s linear 240ms;
  z-index: 1040;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms linear;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(370px, 92vw);
  z-index: 1050;
  background: var(--paper);
  border-left: 1px solid var(--rule-strong);
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  padding: calc(var(--header-h) + 18px) 26px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.drawer a:hover { color: var(--accent); }
.drawer a .n {
  font-family: var(--f-mono);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .06em;
  flex: none;
}
.drawer-foot {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--f-mono);
  font-size: .74rem;
  line-height: 1.9;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}
@media (min-width: 1040px) { .drawer, .drawer-backdrop { display: none; } }

/* ---------- 5. layout rhythm ---------- */
main { padding-top: var(--header-h); }

.section {
  padding: clamp(46px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
}
.section--tint { background: var(--paper-2); }
.section--flush { border-top: 0; }

.art-head { margin-bottom: clamp(24px, 3vw, 38px); }
.art-num {
  display: block;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.art-head h2 { max-width: 22ch; }
.art-lede {
  max-width: var(--measure);
  font-size: 1.03rem;
  color: var(--ink-2);
}
.art-lede:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hairline {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0 0 22px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 900ms var(--ease) 120ms;
}
.hairline.is-in,
html.no-js .hairline { transform: scaleX(1); }

/* ---------- 6. cover spread ---------- */
.cover {
  padding: clamp(30px, 4.4vw, 56px) 0 clamp(40px, 5vw, 66px);
  border-bottom: 3px double var(--rule-strong);
}
.cover-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--f-mono);
  font-size: .705rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cover-top b { color: var(--ink); font-weight: 500; letter-spacing: .18em; }
.cover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(26px, 3.4vw, 44px);
}
@media (min-width: 940px) {
  .cover-grid { grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); }
}
.cover-title {
  font-size: clamp(2.25rem, 5.2vw, 3.9rem);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -0.016em;
  margin-bottom: .34em;
  max-width: 16ch;
}
.cover-title em { font-style: italic; color: var(--accent); }
.cover-sub {
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 1.4em;
}
.byline {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  margin: 0 0 24px;
  list-style: none;
  display: grid;
  gap: 7px;
}
.byline li {
  margin: 0;
  font-size: .93rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
}
.byline .who { color: var(--ink); font-weight: 600; }
.byline .role {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
.byline sup { color: var(--accent); font-size: .68em; }

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* abstract box */
.abstract {
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  padding: clamp(20px, 2.4vw, 28px);
}
.abstract h2 {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1.4;
}
.abstract p {
  font-size: .955rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.abstract p:last-of-type { margin-bottom: 0; }
.abstract-stats {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}
.abstract-stats li { margin: 0; min-width: 0; }
.abstract-stats .v {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.18;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.abstract-stats .v i { font-style: normal; font-size: .55em; color: var(--ink-soft); }
.abstract-stats .l {
  display: block;
  font-family: var(--f-mono);
  font-size: .655rem;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
}
.keywords {
  margin: 22px 0 0;
  font-size: .87rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.keywords b {
  font-family: var(--f-mono);
  font-size: .665rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

/* ---------- 7. figures ---------- */
.fig { margin: 0 0 clamp(24px, 3vw, 38px); }
.fig:last-child { margin-bottom: 0; }
.fig-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--rule-strong);
}
.fig-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 720ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .fig-media:hover img { transform: scale(1.028); }
}
.fig--full .fig-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.fig--tall .fig-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.fig--square .fig-media img { aspect-ratio: 1 / 1; object-fit: cover; }

.fig-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 14px;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.fig-no {
  position: relative;
  font-family: var(--f-mono);
  font-size: .715rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding-bottom: 3px;
}
.fig-no::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 760ms var(--ease) 220ms;
}
.reveal.is-in .fig-no::after,
html.no-js .fig-no::after { transform: scaleX(1); }
.fig-cap .txt { color: var(--ink-soft); }
.fig-cap .txt b { color: var(--ink-2); font-weight: 600; }
.fig-cap .src {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: .665rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.fig-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 940px) {
  .fig-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .fig-split--text-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}

/* ---------- 8. prose ---------- */
.prose { max-width: var(--measure); }
.prose > * { max-width: 100%; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .lead { font-size: 1.1rem; color: var(--ink); line-height: 1.6; }

.drop::first-letter {
  font-family: var(--f-display);
  float: left;
  font-size: 3.2em;
  line-height: .86;
  padding: .06em .12em 0 0;
  color: var(--accent);
  font-weight: 400;
}

.two-col { max-width: none; }
@media (min-width: 1040px) {
  .two-col {
    column-count: 2;
    column-gap: clamp(30px, 4vw, 56px);
    column-rule: 1px solid var(--rule);
  }
  .two-col > p:first-child { margin-top: 0; }
  .two-col > h3 { break-after: avoid; }
}

/* pull quote */
.pull {
  margin: 0;
  padding: clamp(30px, 4vw, 54px) 0;
  text-align: center;
}
.pull blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  line-height: 1.22;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.pull blockquote em { font-style: normal; color: var(--accent); }
.pull .attr {
  margin: 22px auto 0;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.7;
}

/* ---------- 9. tables ---------- */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.table-scroll > table {
  margin: 0 !important;
  min-width: 480px;
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--f-mono);
  font-size: .705rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 12px 4px 12px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
thead th {
  font-family: var(--f-mono);
  font-size: .665rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: left;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
  white-space: nowrap;
}
tbody th {
  font-family: var(--f-body);
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}
tbody th, tbody td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  color: var(--ink-2);
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(233, 237, 243, .42); }
th.num, td.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: .84em;
  white-space: nowrap;
  color: var(--ink);
}
thead th.num { color: var(--ink-2); font-size: .665rem; }
td .ok, td .hi, td .flag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .74em;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-2);
  white-space: nowrap;
}
td .hi { border-color: var(--accent-line); color: var(--accent); background: var(--accent-tint); }
td .flag { border-color: #C09A90; color: var(--flag); background: #F7EEEB; }

.tbl-note {
  font-size: .82rem;
  color: var(--ink-soft);
  max-width: 78ch;
  margin: -4px 0 0;
  font-style: italic;
}

/* ---------- 10. spec definition rows ---------- */
.spec-dl {
  margin: 0;
  border-top: 1.5px solid var(--ink);
}
.spec-dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.spec-dl dt { font-size: .9rem; color: var(--ink-2); min-width: 0; }
.spec-dl dd {
  margin: 0;
  font-family: var(--f-mono);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-align: right;
}
.spec-dl dd em { font-style: normal; color: var(--ink-soft); font-size: .92em; margin-left: 4px; }

.tag-row {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-row li {
  margin: 0;
  font-family: var(--f-mono);
  font-size: .665rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-2);
}
.tag-row li.key { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }

.panel {
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  padding: clamp(20px, 2.4vw, 30px);
}
.panel--plain { background: var(--paper); }
.panel h3 { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel-kicker {
  font-family: var(--f-mono);
  font-size: .665rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

/* ---------- 11. annotated list ---------- */
.annot { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.annot li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid var(--rule-soft);
}
.annot .mk {
  grid-row: 1 / span 2;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.annot h4 { margin: 0; font-size: 1rem; }
.annot p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- 12. specimen / pricing ---------- */
.specimens {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 28px);
}
@media (min-width: 860px) { .specimens { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spec-item {
  border: 1px solid var(--rule-strong);
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.spec-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -26px rgba(31, 58, 95, .55);
}
.spec-item.is-key { border-color: var(--accent); border-width: 1.5px; }
.spec-item .code {
  font-family: var(--f-mono);
  font-size: .665rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.spec-item h3 { margin-bottom: 6px; }
.spec-item .price {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.18;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
  display: block;
  margin: 6px 0 2px;
}
.spec-item .price span { font-size: .42em; font-family: var(--f-mono); letter-spacing: .08em; color: var(--ink-soft); }
.spec-item .lead-time {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.grp-title {
  font-family: var(--f-mono);
  font-size: .655rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.spec-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: .88rem;
  color: var(--ink-2);
}
.spec-item ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.5;
}
.spec-item ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.spec-item ul.excl li::before { content: "×"; color: var(--ink-soft); }
.spec-item ul.excl li { color: var(--ink-soft); }
.spec-item .btn { margin-top: auto; align-self: flex-start; }

/* ---------- 13. method steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px clamp(16px, 2.4vw, 30px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.steps li:first-child { border-top: 1.5px solid var(--ink); }
.steps .st-no {
  grid-row: 1 / span 4;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: var(--accent);
  font-variant-numeric: lining-nums;
  width: 2.1em;
}
.steps .st-when {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 5px;
}
.steps h3 { margin: 0 0 .35em; }
.steps p { margin: 0 0 .6em; color: var(--ink-2); font-size: .95rem; max-width: 62ch; }
.steps .out {
  margin: 0;
  font-family: var(--f-mono);
  font-size: .73rem;
  line-height: 1.65;
  color: var(--accent);
  border-left: 2px solid var(--accent-line);
  padding-left: 12px;
}

/* ---------- 14. citations / testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote {
  border-top: 1.5px solid var(--ink);
  padding-top: 16px;
  min-width: 0;
}
.quote p {
  font-size: .97rem;
  line-height: 1.66;
  color: var(--ink-2);
  font-style: italic;
  margin-bottom: 14px;
}
.quote p::before { content: "«"; color: var(--accent); }
.quote p::after { content: "»"; color: var(--accent); }
.quote .cite {
  display: block;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: .715rem;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.75;
}
.quote .cite span { display: block; color: var(--ink-soft); font-size: .95em; }

/* author biographies (same editorial rhythm, no quote marks) */
.bios {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}
@media (min-width: 900px) { .bios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bio {
  border-top: 1.5px solid var(--ink);
  padding-top: 16px;
  min-width: 0;
}
.bio h3 { margin: 0 0 4px; }
.bio .role {
  display: block;
  font-family: var(--f-mono);
  font-size: .69rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.6;
}
.bio p { font-size: .93rem; color: var(--ink-2); margin-bottom: 12px; }
.bio .sig {
  margin: 0;
  font-family: var(--f-mono);
  font-size: .73rem;
  line-height: 1.65;
  color: var(--accent);
  border-left: 2px solid var(--accent-line);
  padding-left: 12px;
}

/* ---------- 15. dated log ---------- */
.log { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.log li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 26px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  margin: 0;
}
@media (min-width: 720px) { .log li { grid-template-columns: 158px minmax(0, 1fr); } }
.log time {
  font-family: var(--f-mono);
  font-size: .715rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  padding-top: 3px;
}
.log h4 { margin: 0 0 4px; }
.log p { margin: 0; font-size: .9rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------- 16. footnotes ---------- */
.footnotes {
  border-top: 1px solid var(--ink);
  padding: 16px 0 0;
  margin: clamp(26px, 3vw, 40px) 0 0;
  list-style: none;
}
.footnotes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: .815rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 9px;
  max-width: 86ch;
}
.footnotes .fn-no { font-family: var(--f-mono); font-size: .7rem; color: var(--accent); }
sup.fnref {
  font-family: var(--f-mono);
  font-size: .62em;
  color: var(--accent);
  vertical-align: super;
  line-height: 0;
}

/* ---------- 17. FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); max-width: 86ch; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--accent); }
.faq-item .q-no { font-family: var(--f-mono); font-size: .7rem; color: var(--accent); padding-top: 5px; }
.faq-item .chev {
  font-family: var(--f-mono);
  font-size: 1rem;
  color: var(--accent);
  transition: transform 300ms var(--ease);
  line-height: 1.45;
}
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  overflow: hidden;
  padding: 0 0 0 clamp(0px, 3vw, 36px);
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer { height: auto; padding-block-end: 20px; }
.faq-item .answer p { font-size: .93rem; color: var(--ink-2); max-width: 70ch; }
.faq-item .answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item > .answer { transition: none; } }

/* ---------- 18. buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  font-family: var(--f-mono);
  font-size: .73rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #FDFCF9;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease), border-color 220ms var(--ease);
  min-height: 44px;
  line-height: 1.3;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #FDFCF9; }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--ink); border-color: var(--ink); color: #FDFCF9; transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--paper-2); color: var(--accent); border-color: var(--accent); transform: translateY(-2px);
}
.link-arrow {
  font-family: var(--f-mono);
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 2px;
  display: inline-block;
}
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 19. inner page head ---------- */
.page-head {
  padding: clamp(34px, 4.6vw, 58px) 0 clamp(28px, 3.4vw, 42px);
  border-bottom: 3px double var(--rule-strong);
}
.page-head h1 { max-width: 20ch; }
.page-head p { max-width: var(--measure); color: var(--ink-2); }
.page-head .lead,
.lead {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.6;
  max-width: var(--measure);
}
.err-code {
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-variant-numeric: lining-nums;
}
.page-head .updated {
  font-family: var(--f-mono);
  font-size: .715rem;
  letter-spacing: .07em;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- 20. contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ccard {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.ccard:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 32px -26px rgba(31, 58, 95, .5);
}
.ccard .ico {
  width: 44px; height: 44px;
  border: 1px solid var(--accent-line);
  background: var(--accent-tint);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.ccard .ico svg { width: 21px; height: 21px; }
.ccard .kanal {
  font-family: var(--f-mono);
  font-size: .655rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.ccard .val {
  font-family: var(--f-display);
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
  margin-bottom: 9px;
}
a.val:hover { color: var(--accent); }
.ccard .alt { margin: auto 0 0; font-size: .845rem; line-height: 1.55; color: var(--ink-soft); }

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.hour {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.hour .d { font-size: .93rem; color: var(--ink-2); }
.hour .t {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.hour.today { background: var(--accent-tint); }
.hour.today .d { color: var(--accent); font-weight: 600; }
.hour.today .t { color: var(--accent); }

/* ---------- 21. form ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 44px);
  align-items: start;
}
@media (min-width: 940px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
}
.order-form {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: clamp(20px, 2.6vw, 30px);
  min-width: 0;
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span {
  font-family: var(--f-mono);
  font-size: .655rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: .96rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 11px 13px;
  width: 100%;
  min-width: 0;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #5C584D; opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.field.kvkk {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}
.field.kvkk > span {
  font-family: var(--f-body);
  font-size: .855rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  line-height: 1.55;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 3px 0 0;
  accent-color: var(--accent);
  background: none;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.form-foot .hint {
  font-family: var(--f-mono);
  font-size: .69rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
@media (max-width: 620px) {
  .form-foot .btn { width: 100%; justify-content: center; }
}

/* ---------- 22. sitemap ---------- */
.sitemap-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.sitemap-list li { margin: 0; border-bottom: 1px solid var(--rule-soft); }
.sitemap-list a {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  color: var(--ink);
}
.sitemap-list a:hover { color: var(--accent); }
.sitemap-list .t { font-family: var(--f-display); font-size: 1.04rem; }
.sitemap-list .u {
  font-family: var(--f-mono);
  font-size: .715rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.sitemap-list a:hover .u { color: var(--accent); }

/* ---------- 23. footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 3px double var(--rule-strong);
  padding: clamp(38px, 4.6vw, 60px) 0 26px;
  margin-top: clamp(30px, 4vw, 56px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 38px);
}
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.45fr 1fr 1fr 1.3fr; } }
.foot-brand p {
  font-size: .88rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-top: 14px;
}
.foot-col h4 {
  font-family: var(--f-mono);
  font-size: .655rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 8px; font-size: .885rem; color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
.foot-col a { color: var(--ink-2); }
.foot-col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: .69rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
}

/* ---------- 24. cookie ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  z-index: 9999;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 48px -28px rgba(22, 21, 15, .6);
  padding: 20px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms var(--ease), opacity 240ms linear;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.4;
}
.cookie-banner h2 svg { width: 17px; height: 17px; flex: none; }
.cookie-banner p { font-size: .875rem; color: var(--ink-2); margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.cookie-actions button:hover { background: var(--paper-2); color: var(--accent); border-color: var(--accent); }
.cookie-actions button[data-consent="accept"] { background: var(--accent); border-color: var(--accent); color: #FDFCF9; }
.cookie-actions button[data-consent="accept"]:hover { background: var(--ink); border-color: var(--ink); color: #FDFCF9; }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; margin: 0; }
}

/* ---------- 25. motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hairline, .fig-no::after { transform: scaleX(1) !important; transition: none !important; }
  .fig-media img, .spec-item, .ccard, .btn { transition: none !important; }
  .fig-media:hover img { transform: none !important; }
}

/* ---------- 26. helpers / responsive ---------- */
.mt-lg { margin-top: clamp(26px, 3.2vw, 44px); }
.mt-md { margin-top: clamp(18px, 2.2vw, 28px); }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .steps li { grid-template-columns: 1fr; }
  .steps .st-no { grid-row: auto; width: auto; }
  .ccard { padding: 18px; }
  .ccard .ico { width: 38px; height: 38px; }
  .ccard .ico svg { width: 18px; height: 18px; }
  .fig-cap { grid-template-columns: 1fr; }
  .cover-title { max-width: none; }
  .foot-bottom { flex-direction: column; }
  .fig--full .fig-media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 400px) {
  .abstract-stats { grid-template-columns: 1fr; }
  .cover-top { font-size: .64rem; letter-spacing: .1em; }
  .btn { font-size: .69rem; padding: 12px 16px; }
}
