/* =====================================================
   BIYOGAZ AKADEMISI - Tasarim Token'lari
   Editorial / akademik (Yon 1)
   Palette: lacivert + acik mavi + siyah + paper-ink
   ===================================================== */

:root {
    /* === BRAND === */
    --navy-900: #0a1633;   /* footer bg, dark hero */
    --navy-800: #11214a;   /* primary buton, accent metin */
    --navy-700: #1b3068;
    --navy-600: #2a4685;
    --sky-500:  #4a90c2;   /* accent buton, link, vurgu */
    --sky-400:  #6eaad6;
    --sky-300:  #a8cce5;   /* notification dot */
    --sky-100:  #e3eef5;   /* pill bg */
    --sky-50:   #f3f7fb;

    /* === NEUTRALS === */
    --paper:     #fafaf7;
    --paper-2:   #f3f3ee;
    --paper-3:   #e8e8e2;
    --rule:      #d6d6cf;
    --rule-soft: #e6e6e0;
    --ink-900:   #0d0d0d;
    --ink-700:   #2a2a2a;
    --ink-500:   #5a5a55;
    --ink-400:   #8a8a83;
    --ink-300:   #b3b3ad;

    /* === STATUS (sadece buton/alert/dot) === */
    --status-green:      #b8d8c3;
    --status-green-ink:  #2f5d3f;
    --status-red:        #e6b8b8;
    --status-red-ink:    #7a3a3a;
    --status-orange:     #e8c9a3;
    --status-orange-ink: #7a4f1f;

    /* === TYPOGRAPHY FAMILIES === */
    --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
    --sans:  "Inter Tight", "Inter", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, "Cascadia Code", Menlo, monospace;

    /* === TYPE SCALE === */
    --h1:        clamp(40px, 5vw, 72px);
    --h1-hero:   clamp(56px, 7vw, 104px);
    --h1-page:   clamp(40px, 4.5vw, 64px);
    --h2:        32px;
    --h2-large:  44px;
    --h3:        20px;
    --body:      15px;
    --body-read: 18px;
    --meta:      11px;
    --eyebrow:   11px;
    --pill:      10px;

    /* === SPACING / GRID === */
    --page-pad-x:    48px;
    --page-pad-md:   32px;
    --page-pad-sm:   16px;
    --grid-cols:     12;
    --grid-gap:      24px;
    --section-pad:   56px;
    --section-pad-hero: 80px;
    --section-pad-compact: 40px;

    /* === BORDERS / RULES === */
    --border-width:   1px;
    --border-strong:  2px;
    --radius:         0;     /* dergi estetigi - keskin koseler */

    /* === WIREFRAME PLACEHOLDER === */
    --wire-stroke:        #cfcfc8;
    --wire-stroke-strong: #9a9a92;
    --wire-fill:          #ececea;
    --wire-fill-2:        #f5f5f1;

    /* === Z-INDEX KATMANLARI === */
    --z-nav:       50;
    --z-progress:  45;
    --z-sticky:    40;
    --z-modal:     100;
    --z-toast:     200;
}

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--sans);
    font-size: var(--body);
    line-height: 1.55;
    color: var(--ink-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11";
}

img, video, svg, picture {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button { cursor: pointer; border: none; background: none; padding: 0; }

a {
    color: var(--navy-800);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--sky-500); }

::selection { background: var(--sky-100); color: var(--ink-900); }

/* === FOCUS === */
:focus-visible {
    outline: 2px solid var(--navy-800);
    outline-offset: 2px;
}

/* === SCREEN READER === */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ink-900);
    color: var(--paper);
    padding: 8px 16px;
    font-size: 13px;
    font-family: var(--sans);
    z-index: var(--z-toast);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }
