/* ==========================================================================
   Halil İbrahim Ayar — site stilleri
   Renkler ve yazı tipleri en üstteki değişkenlerden yönetilir.
   ========================================================================== */

/* ---------- Yazı tipleri (sunucuda barındırılır, Google'a istek gitmez) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-ext-opsz-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Renkler ve ölçüler ---------- */
:root {
  --bg: #EEEDF3;          /* sis: sayfa zemini */
  --surface: #F8F7FB;     /* kağıt: yükseltilmiş yüzeyler */
  --surface-2: #E4E2EC;
  --ink: #1B1830;         /* mürekkep: metin */
  --ink-2: #4B4662;
  --ink-3: #625D7B;
  --line: #D5D2E0;
  --line-strong: #B4B0C7;
  --iris: #4E32C2;        /* iris moru: ana vurgu */
  --iris-hover: #3E24A6;
  --on-iris: #FFFFFF;
  --iris-tint: #E1DBFA;
  --pollen: #D29B12;      /* polen sarısı: tek nokta vurgu */
  --pollen-tint: #F6E9C4;
  --ok: #1E7047;
  --ok-tint: #DCEFE4;
  --err: #B3261E;
  --err-tint: #F9E1DF;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16141F; --surface: #1E1B2A; --surface-2: #2A2640;
    --ink: #ECEAF5; --ink-2: #B9B4CC; --ink-3: #9C97B4;
    --line: #322E46; --line-strong: #4A4563;
    --iris: #A99AFF; --iris-hover: #C0B5FF; --on-iris: #16141F; --iris-tint: #2D2754;
    --pollen: #E9BF4C; --pollen-tint: #3A3018;
    --ok: #7AD9A4; --ok-tint: #173426; --err: #FF8E85; --err-tint: #3B1D1D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16141F; --surface: #1E1B2A; --surface-2: #2A2640;
  --ink: #ECEAF5; --ink-2: #B9B4CC; --ink-3: #9C97B4;
  --line: #322E46; --line-strong: #4A4563;
  --iris: #A99AFF; --iris-hover: #C0B5FF; --on-iris: #16141F; --iris-tint: #2D2754;
  --pollen: #E9BF4C; --pollen-tint: #3A3018;
  --ok: #7AD9A4; --ok-tint: #173426; --err: #FF8E85; --err-tint: #3B1D1D;
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--iris-tint); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(41rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: calc(64rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografi ---------- */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--ink); }
.h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -0.022em; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.016em; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.18; letter-spacing: -0.01em; }

.text-link {
  color: var(--iris); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--iris-hover); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1.1 var(--sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--iris); color: var(--on-iris); }
.btn-primary:hover { background: var(--iris-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink); font: 500 .9rem/1 var(--sans); text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pill {
  display: inline-block; margin: 0; padding: 4px 11px; border-radius: 999px;
  background: var(--iris-tint); color: var(--iris); font-size: .82rem; font-weight: 600;
}
.lang-tag {
  display: inline-block; padding: 2px 7px; border-radius: 5px;
  background: var(--iris-tint); color: var(--iris); font-size: .72rem; font-weight: 700; letter-spacing: .03em;
}

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* Bulanık zemin ayrı katmanda: aksi hâlde mobil menü (position: fixed) başlığın içine hapsolur */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
}
body.nav-open .site-header::before { background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.012em; }
.brand-role { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: .96rem; color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--iris); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-home { display: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none;
  font-weight: 700; font-size: .82rem; letter-spacing: .03em;
}
.lang-switch:hover { border-color: var(--ink); }
.lang-full { display: none; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -6px;
    border: 0; background: transparent; cursor: pointer; border-radius: 50%;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .js .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav { flex-wrap: wrap; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-home { display: block; }
  .nav-links a {
    font-family: var(--serif); font-size: 1.75rem; font-weight: 500; color: var(--ink);
    padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line);
  }
  .nav-links a:hover { background: transparent; }
  .nav-links a[aria-current="page"] { color: var(--iris); text-decoration: none; }
  .nav-tools { flex-wrap: wrap; gap: 10px; }
  .lang-full { display: inline; }
  .lang-short { display: none; }
  .lang-switch { padding: 0 16px; font-weight: 600; letter-spacing: 0; font-size: .95rem; }
  .nav-cta { flex: 1 1 100%; min-height: 52px; font-size: 1.05rem; order: -1; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Ana sayfa: giriş ---------- */
.hero { position: relative; padding-top: clamp(48px, 9vw, 112px); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.motto {
  margin: 0; font-family: var(--serif); font-weight: 440;
  font-size: clamp(2.5rem, 5.25vw, 4.85rem); line-height: 1.06; letter-spacing: -0.028em;
  font-optical-sizing: auto;
}
.motto-line { display: block; }
.jw { display: inline-block; white-space: nowrap; }
.j { display: inline-block; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
.y1 { --y: -0.06em; } .y2 { --y: 0.05em; } .y3 { --y: -0.02em; } .y4 { --y: 0.08em; }
.y5 { --y: -0.09em; } .y6 { --y: 0.02em; } .y0 { --y: 0.04em; }
.r1 { --r: -3.5deg; } .r2 { --r: 2.5deg; } .r3 { --r: -1deg; } .r4 { --r: 4deg; } .r0 { --r: 0deg; }

.hero-foot {
  display: grid; grid-template-columns: minmax(0, 37rem) auto; justify-content: space-between; align-items: end;
  gap: 28px 40px; margin-top: clamp(28px, 4.5vw, 52px);
}
.lead { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); }

.bell { position: relative; height: clamp(110px, 17vw, 220px); margin-top: clamp(8px, 2vw, 24px); }
.bell svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bell-axis { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bell-curve { fill: none; stroke: var(--iris); stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.bell-dot {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--pollen);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--pollen) 22%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .bell svg { animation: bell-draw 1.9s cubic-bezier(.55, .05, .25, 1) .15s both; }
  .bell-dot { animation: bell-dot .6s cubic-bezier(.3, 1.4, .5, 1) 1.75s both; }
}
@keyframes bell-draw { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -1% -10% 0); } }
@keyframes bell-dot { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .actions .btn { flex: 1 1 auto; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 42rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.section-lead { margin: 14px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }

/* Neler yapıyorum */
.areas-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); }
.areas-head .text-link { display: inline-block; margin-top: 20px; }
.area {
  display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 8px 32px;
  padding-block: 26px; border-top: 1px solid var(--line);
}
.area:last-child { border-bottom: 1px solid var(--line); }
.area-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.42rem; line-height: 1.2; }
.area p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
}

/* Atölye */
.lab { background: var(--surface); border-block: 1px solid var(--line); }
.bench {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg);
}
.tool { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(22px, 2.6vw, 34px); }
.tool + .tool { border-left: 1px solid var(--line); }
.tool-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
.tool-lead { margin: -8px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.tool-msg { margin: 0; min-height: 2.9em; font-family: var(--serif); font-style: italic; font-size: 1.06rem; line-height: 1.4; color: var(--ink-2); }
.tool-actions { display: flex; gap: 10px; margin-top: auto; }
.tool-actions .btn:first-child { flex: 1; }
.tool-note { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 1020px) {
  .bench { grid-template-columns: 1fr; }
  .tool + .tool { border-left: 0; border-top: 1px solid var(--line); }
}

.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.segmented button {
  flex: 1; min-height: 36px; padding: 6px 4px; border: 0; border-radius: 999px; background: transparent;
  font-size: .84rem; font-weight: 500; line-height: 1.15; color: var(--ink-2); cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 16, 40, .14); }
.seg-min { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timer {
  padding-top: 6px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(3.6rem, 6.6vw, 4.9rem); line-height: 1; letter-spacing: -0.035em;
}
.timer-track { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.timer-track span { display: block; height: 100%; width: 0; background: var(--iris); transition: width .3s linear; }

.iris { position: relative; width: min(210px, 72%); aspect-ratio: 1; margin: 4px auto 0; display: grid; place-items: center; }
.iris-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--line-strong); }
.iris-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--iris-tint); border: 2px solid var(--iris);
  transform: scale(.46); transition-property: transform; transition-duration: 1s;
  transition-timing-function: cubic-bezier(.45, 0, .3, 1);
}
.iris[data-phase="inhale"] .iris-core, .iris[data-phase="hold"] .iris-core { transform: scale(1); }
.iris[data-phase="hold"] .iris-ring { border-style: solid; border-color: var(--iris); }
.iris-label { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.1; }
.iris-phase { font-weight: 600; font-size: .98rem; }
.iris-count { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.iris-count:empty { display: none; }

.moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mood-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0;
  padding: 10px 2px 8px; border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--surface); color: var(--ink-2); font-size: .74rem; font-weight: 500; line-height: 1.1; cursor: pointer;
}
.mood-btn:hover { border-color: var(--iris); color: var(--ink); }
.mood-btn:active { transform: scale(.96); }
.mood-emoji { font-size: 1.55rem; line-height: 1; }
.mood-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mood-chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; height: 70px; align-items: end; }
.mood-chart[hidden] { display: none; }
.mood-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.mood-bar { width: 58%; min-height: 2px; height: 0; border-radius: 4px 4px 1px 1px; background: var(--line-strong); transition: height .3s ease; }
.mood-col.has-data .mood-bar { background: var(--iris); }
.mood-col.is-latest .mood-bar { background: var(--pollen); }
.mood-n { font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mood-log { list-style: none; margin: 0; padding: 0; max-height: 8.6em; overflow-y: auto; font-size: .86rem; color: var(--ink-2); }
.mood-log li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.mood-log li:last-child { border-bottom: 0; }
.mood-log .mood-empty { justify-content: flex-start; color: var(--ink-3); border: 0; }
.mood-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: auto; }
.link-btn {
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-size: .82rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn.is-confirm { color: var(--err); font-weight: 600; }

/* Yazı listesi */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-item {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 8px 32px;
  padding-block: 28px; border-bottom: 1px solid var(--line);
}
.post-item-side time { font-size: .9rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-item-title {
  margin: 0 0 10px; max-width: 34ch; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.16; letter-spacing: -0.01em;
}
.post-item-title a { text-decoration: none; }
.post-item-title a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--iris); }
.post-item-summary { margin: 0 0 12px; max-width: 64ch; color: var(--ink-2); }
.post-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; font-size: .86rem; color: var(--ink-3); }
@media (max-width: 720px) {
  .post-item { grid-template-columns: 1fr; padding-block: 24px; }
}

/* Ana sayfa iletişim */
.reach { padding-top: clamp(32px, 5vw, 64px); }
.reach-inner > .h2 { max-width: 22ch; }
.reach-text { margin: 16px 0 28px; max-width: 38rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.reach .actions { align-items: center; gap: 14px 24px; }
.mail-link { font-family: var(--serif); font-size: 1.22rem; color: var(--iris); text-underline-offset: 4px; overflow-wrap: anywhere; }
.mail-link:hover { color: var(--iris-hover); }

/* ---------- İç sayfa başlığı ---------- */
.page-head { padding-block: clamp(44px, 7.5vw, 96px) clamp(28px, 4.5vw, 56px); }
.page-lead { margin: 16px 0 0; max-width: 40rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); }

/* Hakkımda */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
  gap: clamp(28px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px);
}
.about-photo { position: sticky; top: calc(var(--header-h) + 28px); margin: 0; }
.about-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-l);
  background: var(--surface-2);
}
.about-text p { margin: 0 0 1.05em; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.32rem); line-height: 1.62; }
.about-text strong { font-weight: 600; }
.about-text em { font-style: italic; }
.about-grid + .areas { padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 400px; }
}
.quote-section { background: var(--surface); border-top: 1px solid var(--line); }
.big-quote { margin: 0 0 32px; max-width: 46rem; }
.big-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.32; letter-spacing: -0.01em; }

/* Eğitimler */
.trainings { border-top: 1px solid var(--line); }
.training {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 72px);
  padding-block: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line);
}
.training-title { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -0.012em; }
.training-aud { margin: 0 0 14px; color: var(--ink-2); }
.training-body > p { margin: 0; font-size: 1.1rem; }
.topics-label { margin: 22px 0 8px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.topics { margin: 0; padding-left: 1.15em; }
.topics li { margin-bottom: 6px; }
.topics li::marker { color: var(--iris); }
@media (max-width: 820px) { .training { grid-template-columns: 1fr; } }
.cta-panel {
  margin-block: clamp(48px, 7vw, 88px); padding: clamp(26px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
}
.cta-panel p { margin: 12px 0 24px; max-width: 40rem; color: var(--ink-2); }

/* ---------- Blog ---------- */
.blog-wrap { padding-bottom: clamp(64px, 9vw, 112px); }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips-quiet .chip { min-height: 32px; border-color: var(--line); color: var(--ink-2); font-size: .84rem; }
.chips-quiet .chip[aria-current="true"] { color: var(--bg); }
.empty { padding: 40px 0; border-top: 1px solid var(--line); }
.empty p { margin: 0 0 10px; font-family: var(--serif); font-size: 1.3rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.pager-pos { color: var(--ink-3); font-size: .92rem; }

.post-head { padding-block: clamp(36px, 6.5vw, 84px) clamp(24px, 4vw, 40px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.back-link::before { content: "←"; }
.back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.post-title {
  margin: 0 0 20px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.05rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -0.022em;
}
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; color: var(--ink-3); font-size: .95rem; }
.translation-note { margin: 18px 0 0; }
.translation-note a { color: var(--iris); font-weight: 600; text-underline-offset: 4px; }
.preview-banner { margin: 0 0 24px; padding: 10px 14px; border: 1px solid var(--pollen); border-radius: var(--radius-s); background: var(--pollen-tint); font-size: .95rem; }
.post-cover { margin: 0 auto clamp(28px, 4vw, 48px); }
.post-cover img { width: 100%; border-radius: var(--radius-l); }

.prose { font-family: var(--serif); font-size: clamp(1.14rem, 1.6vw, 1.26rem); line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 2em 0 .55em; font-size: 1.72em; line-height: 1.18; font-weight: 600; letter-spacing: -0.012em; }
.prose h3 { margin: 1.9em 0 .5em; font-size: 1.32em; line-height: 1.25; font-weight: 600; letter-spacing: -0.008em; }
.prose h4 { margin: 1.7em 0 .5em; font-family: var(--sans); font-size: .95em; font-weight: 700; }
.prose a { color: var(--iris); text-underline-offset: 3px; }
.prose strong, .prose b { font-weight: 650; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.1em; border-left: 3px solid var(--iris); font-style: italic; color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--iris); }
.prose img { margin: 1.6em auto; border-radius: var(--radius-m); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { margin-top: 8px; font-family: var(--sans); font-size: .82em; color: var(--ink-3); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose code { padding: .1em .35em; border-radius: 4px; background: var(--surface-2); font-size: .85em; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--radius-m); background: var(--surface-2); font-size: .82em; line-height: 1.55; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-family: var(--sans); font-size: .85em; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; }
.prose-ui { font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; padding-bottom: clamp(64px, 9vw, 112px); }
.prose-ui h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; margin-top: 1.8em; }

.post-foot { padding-block: 40px clamp(72px, 10vw, 120px); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.share-title { margin: 0; font-size: .95rem; font-weight: 600; }
.share-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.author {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start;
  margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface);
}
.author-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.author-name { margin: 0 0 4px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.author-bio { margin: 0 0 10px; font-size: .96rem; color: var(--ink-2); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.post-nav-link {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none;
}
.post-nav-link:hover { border-color: var(--line-strong); background: var(--surface); }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav-label { font-size: .84rem; color: var(--ink-3); }
.post-nav-title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: auto; text-align: left; }
  .author { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .author-photo { width: 56px; height: 56px; }
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start;
  gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 120px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.form > .btn { align-self: flex-start; min-width: 200px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } .form > .btn { align-self: stretch; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .95rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface);
  color: var(--ink); font: inherit;
}
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 170px; line-height: 1.55; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--iris); box-shadow: 0 0 0 3px color-mix(in srgb, var(--iris) 24%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--err); }
.field-hint { margin: 0; font-size: .86rem; color: var(--ink-3); }
.field-error { margin: 0; font-size: .88rem; font-weight: 500; color: var(--err); }
.field-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--iris); }
.field-check label { font-size: .93rem; font-weight: 400; color: var(--ink-2); }
.field-check label a { color: var(--iris); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 16px 20px; border: 1px solid; border-radius: var(--radius-m); }
.notice p { margin: 0; }
.notice .h3 { margin-bottom: 6px; }
.notice-ok { background: var(--ok-tint); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.notice-error { background: var(--err-tint); border-color: color-mix(in srgb, var(--err) 45%, transparent); }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.aside-title { margin: 0 0 8px; font-size: 1rem; font-weight: 600; }
.crisis { background: transparent; border-color: var(--line-strong); }
.crisis p { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- 404 ---------- */
.not-found { padding-bottom: clamp(80px, 12vw, 160px); }
.not-found-code { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 15vw, 10rem); line-height: .9; color: var(--iris); letter-spacing: -0.04em; }
.not-found .actions { margin-top: 28px; }

/* ---------- Alt bilgi ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 72px) 32px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-motto { margin: 0 0 40px; max-width: 28ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 17rem)); gap: 28px; }
.footer-h { margin: 0 0 12px; font-size: .88rem; font-weight: 600; color: var(--ink-3); }
.site-footer ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin: 48px 0 0; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Araçlar ---------- */
.lab-more { margin: 24px 0 0; }
.tools-wrap { padding-bottom: clamp(64px, 9vw, 112px); }
.tools-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 28px; }
.tools-search { flex: 0 1 320px; }
.tools-search input {
  width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit;
}
.tools-search input:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 3px color-mix(in srgb, var(--iris) 24%, transparent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-card[hidden] { display: none; }
.tool-card a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; height: 100%; padding: 22px 22px 24px; text-decoration: none; }
.tool-card a:hover { background: var(--surface); }
.tool-card a:hover .tool-card-title { text-decoration: underline; text-decoration-color: var(--iris); text-underline-offset: 4px; }
.tool-card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--iris-tint); font-size: 1.45rem; line-height: 1; }
.tool-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tool-card-title { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.2; }
.tool-card-sum { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.tool-card-cat { margin-top: 4px; font-size: .8rem; color: var(--ink-3); }
.tool-grid-compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tools-empty { padding: 32px 0; font-family: var(--serif); font-size: 1.2rem; }

.tool-page { padding-bottom: clamp(64px, 9vw, 112px); }
.crumbs { padding-top: clamp(24px, 4vw, 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tool-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; padding-block: 20px 28px; }
.tool-head .h1 { grid-column: 2; }
.tool-head .page-lead { grid-column: 1 / -1; margin-top: 14px; }
.tool-head:not(:has(.tool-head-icon)) .h1 { grid-column: 1 / -1; }
.tool-head-icon { display: grid; place-items: center; width: clamp(52px, 6vw, 68px); height: clamp(52px, 6vw, 68px); border-radius: 16px; background: var(--iris-tint); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.tool-stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); overflow: hidden; }
.tool-frame { display: block; width: 100%; border: 0; background: transparent; transition: height .15s ease; }
.tool-loading, .tool-noscript { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-3); pointer-events: none; }
.tool-stage.is-ready .tool-loading { display: none; }
.tool-noscript { position: static; padding: 24px; }
.tool-content { max-width: 46rem; padding-top: clamp(40px, 6vw, 64px); }
.tool-content .prose { font-size: clamp(1.08rem, 1.5vw, 1.18rem); }
.faq { margin-top: 40px; }
.faq h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 16px 36px 16px 0; cursor: pointer; list-style: none; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--iris); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 0 18px; color: var(--ink-2); }
.tool-related { margin-top: clamp(48px, 7vw, 80px); }
.tool-related .section-head-row { margin-bottom: 20px; }

/* İlgili yazılar */
.related { margin-top: 36px; }
.related-title { margin: 0 0 8px; font-size: .95rem; font-weight: 600; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.related-list a { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; }
.related-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.related-list span { font-size: .85rem; color: var(--ink-3); }

/* ---------- Reklam alanları ---------- */
.ad-slot { margin: 32px 0; text-align: center; }
.ad-slot[hidden] { display: none; }
.ad-label { margin: 0 0 6px; font-size: .72rem; color: var(--ink-3); }
.ad-li { padding: 8px 0; border-bottom: 1px solid var(--line); list-style: none; }
.ad-li .ad-slot { margin: 16px 0; }
.prose .ad-slot { font-family: var(--sans); }

/* ---------- Çerez tercihi ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto; max-width: 720px; margin: 0 auto; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-l);
  box-shadow: 0 12px 40px rgba(20, 16, 40, .18);
}
.consent-title { margin: 0 0 6px; font-weight: 700; }
.consent-text { margin: 0 0 14px; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.consent-text a { color: var(--iris); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-consent { background: transparent; color: var(--ink); border-color: var(--ink); min-height: 46px; padding: 0 10px; }
.btn-consent:hover { background: var(--ink); color: var(--bg); }
.footer-legal .link-btn { margin-left: 10px; font-size: .85rem; color: var(--ink-3); }

/* ---------- Hareket hassasiyeti ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .site-footer, .share, .post-nav, .author, .back-link, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { font-size: 12pt; }
}
