/* tokenlar, fontlar, reset, hero, butonlar, footer */

/* fontlar gömülü, google fonts isteği yok */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/baloo2-600-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: 'Baloo 2'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/baloo2-600-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: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/baloo2-800-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: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/baloo2-800-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: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/nunito-400-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: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/nunito-400-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: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/nunito-700-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: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/nunito-700-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: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/nunito-800-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: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/nunito-800-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: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/patrickhand-400-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: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/patrickhand-400-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; }

/* tokenlar */
:root {
  --paper: #FBF3E4;
  --paper-deep: #F4E7CF;
  --ink: #2B2119;
  --ink-soft: #5C4B3B;
  --trunk: #8C5A3C;
  --trunk-dark: #6E4429;
  --leaf: #7BB661;
  --leaf-deep: #4E9F3D;
  --gold: #E9A820;
  --honey: #F4B942;
  --maroon: #8B1E3F;
  --teal: #12907E;
  --teal-soft: #5eead4;
  --sky: #7EB8D9;
  --white: #FFFDF8;

  --font-display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --font-hand: 'Patrick Hand', 'Comic Sans MS', cursive;
  --font-body: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;

  --outline: 3px solid var(--ink);
  --sticker-shadow: 4px 4px 0 rgba(43, 33, 25, 0.18);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);

  /* çıkartmaların etrafındaki dünya
     bunlar gece değişiyor, çıkartma yüzeyleri değişmiyor */
  --page: var(--paper);
  --page-text: var(--ink);
  --page-text-soft: var(--ink-soft);
  --hand-accent: #0B6E60; /* --teal'den koyu, krem üstünde AA geçiyor */
  --at-accent: var(--maroon);
  --sky-glow-1: rgba(233, 168, 32, 0.07);
  --sky-glow-2: rgba(126, 184, 217, 0.10);
  --hill-1: #B7D9A0;
  --hill-2: #99C97E;
  --cloud: var(--white);
  --rain: #5E93B8;

  /* z-index sırası. eskiden her yere dağılmış sayılardı */
  --z-deco: 1;
  --z-footer: 3;
  --z-node: 5;
  --z-friend: 6;
  --z-leaf: 7;
  --z-bee: 8;
  --z-leaf-hover: 9;
  --z-backdrop: 40;
  --z-panel: 50;
  --z-seed: 55;
  --z-game: 60;

  color-scheme: light;
}

/* gece. sayfa uyuyor çıkartmalar uyanık kalıyor */
[data-theme="night"] {
  --page: #1B2233;
  --page-text: #F3EAD8;
  --page-text-soft: #BFB4A0;
  --hand-accent: var(--teal-soft);
  --at-accent: #E98BA5;
  --sky-glow-1: rgba(126, 184, 217, 0.05);
  --sky-glow-2: rgba(233, 168, 32, 0.05);
  --hill-1: #35503F;
  --hill-2: #2C4436;
  --cloud: #55617C;
  --rain: #8FB4D6;
  color-scheme: dark;
}

/* --sc düğüm ölçeği. hover, press ve leaf-sway kullanıyor
   register etmezsen interpolate olmuyor ve yapraklar zıp diye büyüyor */
@property --sc {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ekranda yok ama ekran okuyucu görüyor, print'te de çıkıyor */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* sadece focus olunca çıkıyor */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: var(--outline);
  border-radius: 14px 16px 15px 17px / 17px 14px 18px 13px;
  box-shadow: var(--sticker-shadow);
  transform: translateY(-160%);
  transition: transform 0.2s var(--pop);
}
.skip-link:focus { transform: none; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  font-family: var(--font-body);
  color: var(--page-text);
  background:
    radial-gradient(circle at 12% 18%, var(--sky-glow-1) 0, transparent 420px),
    radial-gradient(circle at 88% 12%, var(--sky-glow-2) 0, transparent 460px),
    var(--page);
  transition: background-color 0.5s ease, color 0.5s ease;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: var(--ink); }
/* 350ms çift tık beklemesi yok, gri parlama yok. kendimiz çiziyoruz */
button, a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
ul { list-style: none; }
strong { font-weight: 700; } /* 800 fazladan font dosyası indiriyordu */

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--honey); color: var(--ink); }

/* hero */
.hero {
  padding: clamp(12px, 2.2vh, 24px) 20px 4px;
  flex: none;
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}
.hero-avatar {
  flex: none;
  position: relative;
  width: clamp(84px, 10vw, 122px);
  animation: avatar-bob 5s ease-in-out infinite;
}
.avatar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 47% 53% 50% 50% / 52% 48% 55% 45%;
  box-shadow: 4px 4px 0 rgba(43, 33, 25, 0.15);
  background: var(--white);
  z-index: 1;
}
.avatar-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0 rgba(43, 33, 25, 0.15));
}
@keyframes avatar-bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}
.hero-hello {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--page-text-soft);
  transform: rotate(-1.2deg);
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  /* eğri büğrü alt çizgi
     preserveAspectRatio=none olmazsa 'z Karak' altında ortalanıp kalıyor */
  width: fit-content;
  max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='12' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M4 8 C 40 2, 75 11, 112 6 S 185 3, 216 7' fill='none' stroke='%23E9A820' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 100% 10px;
  padding-bottom: 12px;
}
/* harfler tek tek düşüyor sonra alt çizgi kendini çiziyor
   main.js ismi .word/.ltr spanlarına bölüyor, js yoksa h1 düz duruyor */
.hero-name .word { display: inline-block; white-space: nowrap; }
.hero-name .ltr {
  display: inline-block;
  animation: ltr-pop 0.45s var(--pop) backwards;
  animation-delay: calc(var(--li, 0) * 0.032s);
}
@keyframes ltr-pop {
  from { opacity: 0; transform: scale(0) rotate(var(--lr, 0deg)); }
}
.hero-name {
  animation: underline-draw 0.55s var(--smooth) 0.85s backwards;
}
@keyframes underline-draw {
  from { background-size: 0 10px; }
}
/* gerisi ismin altından yukarı geliyor
   sadece translate, transform kullanınca tiltleri eziyor
   iki paragraf LCP adayı o yüzden onlarda opacity yok
   chrome opacity-0 boyamayı saymıyor */
.hero-hello { animation: rise-in 0.45s var(--smooth) backwards; }
.hero-tagline { animation: slide-in 0.45s var(--smooth) 0.14s backwards; }
.hero-hand { animation: slide-in 0.45s var(--smooth) 0.22s backwards; }
@keyframes slide-in {
  from { translate: 0 12px; }
}
.hero-stats li { animation: rise-in 0.45s var(--smooth) backwards; }
.hero-stats li:nth-child(1) { animation-delay: 0.3s; }
.hero-stats li:nth-child(2) { animation-delay: 0.36s; }
.hero-stats li:nth-child(3) { animation-delay: 0.42s; }
.hero-actions .btn { animation: rise-in 0.45s var(--smooth) backwards; }
.hero-actions .btn:nth-child(1) { animation-delay: 0.44s; }
.hero-actions .btn:nth-child(2) { animation-delay: 0.5s; }
.hero-actions .btn:nth-child(3) { animation-delay: 0.56s; }
.hero-actions .btn:nth-child(4) { animation-delay: 0.62s; }
@keyframes rise-in {
  from { opacity: 0; translate: 0 12px; }
}

.hero-tagline {
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  margin-top: 6px;
  color: var(--page-text);
}
.hero-tagline .at { color: var(--at-accent); font-weight: 800; }
.hero-hand {
  font-family: var(--font-hand);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--hand-accent);
  margin-top: 3px;
  transform: rotate(-0.6deg);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 11px;
}
.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink); /* sticker yazısı gece gündüz aynı */
  padding: 5px 13px;
  border: var(--outline);
  border-radius: 46% 54% 48% 52% / 60% 46% 54% 40%;
  box-shadow: 3px 3px 0 rgba(43, 33, 25, 0.16);
  background: var(--white);
  transform: rotate(-1deg);
  white-space: nowrap;
}
.chip:nth-child(even),
.hero-stats li:nth-child(even) .chip { transform: rotate(1.2deg); border-radius: 52% 48% 55% 45% / 44% 58% 42% 56%; }
.chip-btn {
  cursor: pointer;
  transition: transform 0.15s var(--pop), box-shadow 0.15s ease;
}
.chip-btn:hover { transform: translate(-1px, -2px) rotate(-1deg); box-shadow: 5px 5px 0 rgba(43, 33, 25, 0.2); }
.chip-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(43, 33, 25, 0.2); }
/* çift sıradaki chipin tilt kuralı .chip-btn:hover'dan spesifik
   o yüzden kendi hoverı lazım. aynı kalkış ters açı */
.hero-stats li:nth-child(even) .chip-btn:hover { transform: translate(-1px, -2px) rotate(1.2deg); }
.hero-stats li:nth-child(even) .chip-btn:active { transform: translate(1px, 1px) rotate(1.2deg); }
.chip-gold { background: #FDE7B8; }
.chip-maroon { background: #F6D5DE; }
.chip-teal { background: #C9F0E5; }
.chip-honey { background: #FCE9C0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 9px 18px;
  background: var(--white);
  border: var(--outline);
  border-radius: 14px 16px 15px 17px / 17px 14px 18px 13px;
  box-shadow: var(--sticker-shadow);
  transition: transform 0.15s var(--pop), box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-1px, -2px) rotate(-0.5deg); box-shadow: 6px 6px 0 rgba(43, 33, 25, 0.18); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(43, 33, 25, 0.18); }
.btn-primary { background: var(--leaf); color: var(--ink); }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn-meta { font-family: var(--font-hand); font-weight: 400; font-size: 0.82rem; opacity: 0.75; margin-left: 2px; }
.ic-inline { width: 1em; height: 1em; vertical-align: -0.15em; }

.hero-hint {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--page-text-soft);
  margin-top: 6px;
  animation: hint-wiggle 4s ease-in-out infinite;
}
@keyframes hint-wiggle {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(0.8deg); }
}
/* bi dal açıldıktan sonra ipucu susuyor */
.hero-hint.retired { animation: none; opacity: 0.55; transition: opacity 0.6s ease; }

/* sahne ve footer kabuğu, detay tree.css'te */
#stage-wrap {
  flex: 1;
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.site-footer {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-hand);
  font-size: 0.92rem;
  color: var(--page-text-soft);
  white-space: nowrap;
  pointer-events: none;
  z-index: var(--z-footer);
}

/* noscript */
.noscript-box {
  max-width: 560px;
  margin: 40px auto;
  padding: 26px 30px;
  color: var(--ink);
  background: var(--white);
  border: var(--outline);
  border-radius: 22px 26px 24px 28px / 26px 22px 28px 24px;
  box-shadow: var(--sticker-shadow);
}
.noscript-box h2 { font-family: var(--font-display); margin-bottom: 8px; }
.noscript-box ul { margin-top: 12px; list-style: disc; padding-left: 22px; }
.noscript-box li { margin: 6px 0; }

/* kısa ekranlar, 13-15 inç laptoplar
   hero'yu toparlıyoruz ki ağacın tamamı sığsın
   yoksa sahne okunmaz hale kadar küçülüyor */
@media (min-width: 768px) and (max-height: 820px) {
  .hero { padding-top: 8px; }
  .hero-inner { gap: 16px; }
  .hero-avatar { width: 64px; }
  .hero-hello { font-size: 1rem; }
  .hero-name { font-size: clamp(1.7rem, 3.2vw, 2.3rem); padding-bottom: 9px; background-size: 100% 8px; }
  .hero-tagline { font-size: 0.98rem; margin-top: 3px; }
  .hero-hand { font-size: 1rem; margin-top: 1px; }
  .hero-stats { margin-top: 7px; }
  .hero-actions { margin-top: 8px; }
  .btn { padding: 7px 14px; font-size: 0.9rem; }
  .hero-hint { margin-top: 3px; font-size: 0.98rem; }
}

/* ağaç yazıcıdan çıkmıyor, düz cv listesi çıkıyor */
@media print {
  .hero-actions, .hero-hint, #stage-wrap, #backdrop, #panel, .lightbox, .skip-link { display: none !important; }
  #cv-text { max-width: 720px; margin: 24px auto; font-size: 11pt; line-height: 1.4; }
  #cv-text h2 { margin: 18px 0 6px; font-family: var(--font-display); }
  #cv-text h3 { margin: 12px 0 2px; font-family: var(--font-display); }
  #cv-text ul { list-style: disc; padding-left: 18px; }
  #cv-text a { color: inherit; }
  body { background: #fff; color: #000; }
}

/* telefonda hero */
@media (max-width: 767px) {
  .hero { padding-top: 12px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 10px; }
  .hero-avatar { width: 82px; }
  .hero-stats, .hero-actions { justify-content: center; }
  .hero-name { background-position: center 100%; }
  #stage-wrap { overflow: visible; min-height: 0; }
  .site-footer { position: static; transform: none; text-align: center; padding: 10px 0 18px; white-space: normal; }
}

/* accent renkleri. düğümler, vine ve kartlar kullanıyor */
.accent-gold { --accent: var(--gold); --accent-soft: #FDE7B8; }
.accent-honey { --accent: #D98E12; --accent-soft: #FCE9C0; }
.accent-maroon { --accent: var(--maroon); --accent-soft: #F6D5DE; }
.accent-plum { --accent: #7A4988; --accent-soft: #EBDCF0; }
.accent-teal { --accent: var(--teal); --accent-soft: #C9F0E5; }
.accent-sky { --accent: #3D7EA6; --accent-soft: #D9EBF6; }

/* reduced motion: süslemeleri kapat */
@media (prefers-reduced-motion: reduce) {
  .hero-avatar, .hero-hint,
  .hero-name, .hero-name .ltr, .hero-hello, .hero-tagline, .hero-hand,
  .hero-stats li, .hero-actions .btn { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* kart açıkken hero da duruyor */
body.panel-open .hero-avatar,
body.panel-open .hero-hint { animation-play-state: paused; }

/* ————— yazılı sürüm —————
   ağacın altına inen düz metin hali. tools/prerender.js gömüyor.
   eskiden sr-only'ydi yani ekranda yoktu, google da öyle metni saymıyor.
   .screen hero+ağacı bi tam ekranda tutuyor, yoksa alta içerik gelince
   stage-wrap kısalıyor ve fitStage ağacı küçültüyor */
.screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

#cv-text {
  border-top: var(--outline);
  background: var(--page);
  padding: 56px 20px 76px;
}
.cv-inner { max-width: 760px; margin: 0 auto; }

#cv-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: var(--page-text);
  line-height: 1.15;
}
.cv-lede {
  font-family: var(--font-hand);
  font-size: 1.12rem;
  color: var(--page-text-soft);
  margin-top: 8px;
  max-width: 60ch;
}

/* kartlar. sticker yüzeyi gece gündüz aynı, panel.css'teki .card gibi */
.cv-about,
.cv-sec {
  margin-top: 20px;
  border: var(--outline);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sticker-shadow);
  overflow: hidden;
}
.cv-about { padding: 20px 22px 22px; }

.cv-sec > summary {
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}
.cv-sec > summary::-webkit-details-marker { display: none; }
.cv-sec > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-soft);
}
.cv-sec[open] > summary::after { content: "–"; }
.cv-sec > summary:hover { background: var(--paper-deep); }
.cv-sec > summary:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.cv-sec > summary h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.cv-count {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.cv-sec-body {
  padding: 0 20px 8px;
  border-top: 2px dashed rgba(43, 33, 25, 0.16);
}

.cv-item { padding: 16px 0; border-bottom: 1px dashed rgba(43, 33, 25, 0.14); }
.cv-item:last-child { border-bottom: 0; }
.cv-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }

#cv-text .cv-sub { font-size: 0.88rem; color: var(--ink-soft); margin-top: 2px; }
#cv-text .cv-sum { margin-top: 7px; line-height: 1.5; }
#cv-text .cv-stats { margin-top: 7px; font-size: 0.9rem; color: var(--ink-soft); }
#cv-text .cv-stats strong { font-family: var(--font-display); color: var(--ink); }
#cv-text ul { list-style: disc; padding-left: 20px; margin-top: 9px; }
#cv-text li { margin: 5px 0; line-height: 1.5; }
#cv-text .cv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
#cv-text .cv-tags span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
}
#cv-text .cv-links { margin-top: 11px; font-size: 0.92rem; }
#cv-text .cv-links a { color: var(--ink); text-underline-offset: 3px; }
#cv-text .cv-note {
  font-family: var(--font-hand);
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-top: 9px;
}
/* türkçe özet. site ingilizce ama aramalar türkiye'den geliyor */
.cv-tr {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 2px dashed rgba(43, 33, 25, 0.16);
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 640px) {
  #cv-text { padding: 40px 14px 56px; }
  .cv-about { padding: 16px 16px 18px; }
  .cv-sec > summary { padding: 13px 15px; }
  .cv-sec-body { padding: 0 15px 6px; }
}

/* print: ağaç yerine bu bölüm çıkıyor, .screen'in tam ekranı da kalkıyor */
@media print {
  .screen { min-height: 0; display: block; }
  #cv-text { border-top: 0; padding: 0; }
  .cv-about, .cv-sec { border: 0; border-radius: 0; box-shadow: none; margin-top: 10px; padding: 0; }
  .cv-sec > summary::after, .cv-lede, .cv-count { display: none; }
  .cv-sec-body { border-top: 0; padding: 0; }
  .cv-item { border-bottom: 0; padding: 8px 0; }
}
