/* ==========================================================================
   BURAK MENTEŞOĞLU — ULTRA-MINIMALIST CENTRAL COLUMN & BLUE HOUR SAKURA
   Aesthetic: Cozy Blue Hour & Pastel Lo-Fi + Ultra-Minimalist Central Text Column
   ========================================================================== */

:root {
  /* 1. Blue Hour Sky & Horizon Palette */
  --sky-prussian: #1C355E;
  --sky-slate: #3C5A78;
  --sky-deep: #152849;
  --aurora-teal: #38B899;
  --aurora-cyan: #43E8D8;

  /* 2. Sakura Tree Corner Palette */
  --branch-dark: #725344;
  --branch-warm: #9E7662;
  --sakura-light: #FFE3E5;
  --sakura-mid: #F9B4B7;
  --sakura-deep: #F2797B;

  /* 3. Text & UI Pastel Tones */
  --text-cream: #FAF8F5;
  --text-soft: rgba(250, 248, 245, 0.86);
  --text-muted: rgba(250, 248, 245, 0.56);
  --oak-light: #DEB892;
  --sage-green: #B7BFA8;
  --dusty-rose: #DFB1A5;

  /* Polaroid Card Stock Ink */
  --card-cream: #FAF8F5;
  --ink-dark: #252220;
  --ink-body: #524A44;
  --ink-muted: #7D726A;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion */
  --ease-calm: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-flip: cubic-bezier(0.34, 1.3, 0.64, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(165deg, var(--sky-prussian) 0%, #26456B 52%, var(--sky-slate) 100%);
  color: var(--text-cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--sakura-mid);
  color: var(--sky-prussian);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   1. BLUE HOUR BACKDROP & SUBTLE AURORA HORIZON
   ========================================================================== */
.blue-hour-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 92%, rgba(56, 184, 153, 0.16) 0%, rgba(67, 232, 216, 0.06) 35%, transparent 68%),
    linear-gradient(180deg, var(--sky-prussian) 0%, #264469 54%, var(--sky-slate) 100%);
}

.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: auroraBreathe 20s ease-in-out infinite alternate;
}

.aurora-glow--1 {
  width: 52vw;
  height: 200px;
  bottom: 6%;
  left: 14%;
  background: radial-gradient(ellipse at center, rgba(56, 184, 153, 0.34) 0%, rgba(67, 232, 216, 0.12) 60%, transparent 80%);
}

.aurora-glow--2 {
  width: 44vw;
  height: 180px;
  top: 12%;
  right: 12%;
  background: radial-gradient(ellipse at center, rgba(67, 232, 216, 0.22) 0%, rgba(56, 184, 153, 0.08) 60%, transparent 82%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.aurora-glow--3 {
  width: 38vw;
  height: 160px;
  top: 42%;
  left: 28%;
  background: radial-gradient(ellipse at center, rgba(255, 227, 229, 0.1) 0%, transparent 75%);
  animation-duration: 30s;
}

@keyframes auroraBreathe {
  0% { transform: translate3d(-1.5%, 0, 0) scale(0.96); }
  100% { transform: translate3d(1.5%, -10px, 0) scale(1.05); }
}

.starfield-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.star-dot {
  animation: starTwinkle 4.5s ease-in-out infinite alternate;
}
.star-dot--slow {
  animation: starTwinkle 7s ease-in-out infinite alternate-reverse;
}

@keyframes starTwinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.9; }
}

/* ==========================================================================
   2. ATMOSPHERIC CORNER SAKURA TREES (TOP-LEFT & BOTTOM-RIGHT)
   Never overlaps the central 580px column
   ========================================================================== */
.sakura-corner {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.sakura-corner--top-left {
  top: 0;
  left: 0;
  width: min(410px, 34vw);
  height: auto;
  transform-origin: top left;
  animation: swayTopLeft 12s ease-in-out infinite alternate;
}

.sakura-corner--bottom-right {
  bottom: 0;
  right: 0;
  width: min(430px, 35vw);
  height: auto;
  transform-origin: bottom right;
  animation: swayBottomRight 14s ease-in-out infinite alternate;
}

@keyframes swayTopLeft {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(1.1deg) translateY(3px); }
}

@keyframes swayBottomRight {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(-1.1deg) translateY(-3px); }
}

/* ==========================================================================
   3. FLOATING PARTICLES CANVAS
   ========================================================================== */
#sakura-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   4. SMOOTH PAGE REVEAL (TOP-TO-BOTTOM STAGGERED FADE-IN)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.95s var(--ease-calm),
    transform 0.95s var(--ease-calm);
}

body.is-loaded .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .reveal-delay-1 { transition-delay: 0.10s; }
body.is-loaded .reveal-delay-2 { transition-delay: 0.24s; }
body.is-loaded .reveal-delay-3 { transition-delay: 0.38s; }
body.is-loaded .reveal-delay-4 { transition-delay: 0.52s; }
body.is-loaded .reveal-delay-5 { transition-delay: 0.66s; }

/* ==========================================================================
   5. CORNER INTERACTIVE WIDGET: FŪRIN WIND CHIME
   ========================================================================== */
/* Top-Left Fūrin Wind Chime Hanging from Sakura Branch */
.furin-corner-dock {
  position: fixed;
  top: 28px;
  left: clamp(22px, 5vw, 76px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.furin-widget {
  position: relative;
  width: 54px;
  height: 132px;
  cursor: pointer;
  outline: none;
  transform-origin: 50% 0%;
  animation: furinIdleSway 6.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(14, 26, 48, 0.45));
}

.furin-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.furin-bell-group {
  transform-origin: 36px 4px;
}

.furin-tanzaku {
  transform-origin: 36px 82px;
  animation: tanzakuFlutter 4.5s ease-in-out infinite alternate;
}

.furin-widget.is-ringing .furin-bell-group {
  animation: furinRingBell 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.furin-widget.is-ringing .furin-tanzaku {
  animation: furinRingSlip 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.furin-ripple {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--sakura-light);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

.furin-widget.is-ringing .furin-ripple {
  animation: chimeRippleWave 1.4s ease-out;
}

@keyframes furinIdleSway {
  0% { transform: rotate(-1.6deg); }
  100% { transform: rotate(1.8deg); }
}

@keyframes tanzakuFlutter {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(3.2deg); }
}

@keyframes furinRingBell {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-14deg); }
  32% { transform: rotate(12deg); }
  50% { transform: rotate(-8deg); }
  68% { transform: rotate(5deg); }
  84% { transform: rotate(-2.5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes furinRingSlip {
  0% { transform: rotate(0deg); }
  18% { transform: rotate(22deg); }
  38% { transform: rotate(-18deg); }
  58% { transform: rotate(12deg); }
  78% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

@keyframes chimeRippleWave {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.7);
    opacity: 0;
  }
}

.corner-micro-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(28, 53, 94, 0.68);
  border: 1px solid rgba(250, 248, 245, 0.18);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.corner-micro-btn:hover {
  border-color: var(--oak-light);
  color: var(--oak-light);
  transform: translateY(-1px);
}

.corner-micro-btn.is-muted {
  color: var(--text-muted);
  border-color: rgba(250, 248, 245, 0.1);
}

/* ==========================================================================
   6. ULTRA-MINIMALIST CENTRAL COLUMN ARCHITECTURE (MAX-WIDTH: 580PX)
   ========================================================================== */
.viewport-stage {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 24px 84px;
}

.central-column {
  width: 100%;
  max-width: 575px;
  margin: 0 auto;
  position: relative;
  padding: 12px 4px;
}

/* Header: Serif Name + Minimal Horizontal Nav + Thin <hr> */
.column-header {
  margin-bottom: 22px;
}

.site-name {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: var(--text-cream);
  margin-bottom: 10px;
  min-height: 2.45rem;
}

.typed-header-link {
  display: inline-block;
  transition: color 0.25s ease;
}

.typed-prefix {
  color: var(--text-soft);
  font-weight: 500;
}

.typed-dynamic {
  color: var(--oak-light);
  font-weight: 600;
}

.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--sakura-light);
  font-weight: 400;
  animation: cursorBlink 0.85s steps(2, start) infinite;
}

.typed-cursor.is-typing {
  animation: none;
  opacity: 1;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.minimal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.nav-tab-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 2px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-tab-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--oak-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-calm);
}

.nav-tab-link:hover {
  color: var(--text-cream);
}

.nav-tab-link.is-active {
  color: var(--oak-light);
  font-weight: 500;
}

.nav-tab-link.is-active::after {
  transform: scaleX(1);
}

.minimal-hr {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(250, 248, 245, 0.26) 0%,
    rgba(222, 184, 146, 0.24) 60%,
    rgba(250, 248, 245, 0.06) 100%
  );
}

/* ==========================================================================
   7. TABBED CONTENT PANELS & ULTRA-MINIMALIST BULLET LISTS
   ========================================================================== */
.tab-panels-stage {
  min-height: 295px;
  position: relative;
}

.tab-panel {
  animation: tabFadeIn 0.42s var(--ease-calm) forwards;
}

@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.minimal-bio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.bio-item {
  line-height: 1.62;
}

.bio-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bullet-dot {
  color: var(--oak-light);
  font-size: 0.88rem;
  flex-shrink: 0;
  user-select: none;
}

/* Indented ↳ Sub-Bullets (Exact Reference Image Structure) */
.bio-sublist {
  list-style: none;
  margin-top: 5px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.76);
}

.bio-sublist li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sub-arrow {
  color: var(--sage-green);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-shrink: 0;
  user-select: none;
}

/* Inline Favicons / Micro Badges next to Institutions */
.inline-entity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-cream);
  font-weight: 500;
  border-bottom: 1px dashed rgba(222, 184, 146, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.inline-entity:hover {
  color: var(--oak-light);
  border-bottom-color: var(--oak-light);
}

.inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  font-size: 0.68rem;
  line-height: 1;
  background: rgba(250, 248, 245, 0.12);
  border: 1px solid rgba(250, 248, 245, 0.2);
  transform: translateY(-1px);
}

.inline-badge--boun {
  background: rgba(67, 232, 216, 0.14);
  border-color: rgba(67, 232, 216, 0.35);
  color: var(--aurora-cyan);
}

.inline-badge--itu {
  background: rgba(222, 184, 146, 0.18);
  border-color: rgba(222, 184, 146, 0.4);
}

.inline-badge--quantum {
  background: rgba(249, 180, 183, 0.18);
  border-color: rgba(249, 180, 183, 0.4);
  color: var(--sakura-light);
}

.inline-badge--tubitak {
  background: rgba(183, 191, 168, 0.2);
  border-color: rgba(183, 191, 168, 0.45);
}

.inline-badge--bountenna {
  background: rgba(223, 177, 165, 0.2);
  border-color: rgba(223, 177, 165, 0.45);
}

.inline-badge--harvard {
  background: rgba(242, 121, 123, 0.2);
  border-color: rgba(242, 121, 123, 0.45);
}

/* Pastel Accent Spans */
.accent-oak {
  color: var(--oak-light);
  font-weight: 500;
}

.accent-sage {
  color: var(--sage-green);
  font-weight: 500;
}

.accent-rose {
  color: var(--dusty-rose);
  font-weight: 500;
}

.muted-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.inline-hex {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(250, 248, 245, 0.08);
  color: var(--sakura-light);
}

.inline-tab-jump {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--oak-light);
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(222, 184, 146, 0.36);
  background: rgba(222, 184, 146, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.inline-tab-jump:hover {
  background: rgba(222, 184, 146, 0.2);
  transform: translateX(2px);
}

.accent-link {
  color: var(--oak-light);
  border-bottom: 1px solid rgba(222, 184, 146, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.accent-link:hover {
  color: var(--sakura-light);
  border-bottom-color: var(--sakura-light);
}

.panel-micro-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.dot-sep {
  margin: 0 4px;
  color: var(--oak-light);
}

/* ==========================================================================
   8. 3D FLIPPING POLAROID PROJECT CARDS (PROJECTS TAB)
   Adapted from photocard.zip / parallax-depth-cards.zip
   Pastel frames (#B7BFA8, #DEB892, #DFB1A5), 3D hover tilt & 180° click flip
   ========================================================================== */
.polaroid-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photocard-wrap {
  perspective: 900px;
  height: 238px;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.photocard-tilt {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.photocard-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.78s var(--ease-flip);
}

.photocard-wrap.is-flipped .photocard-flipper {
  transform: rotateY(180deg);
}

.photocard-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  background: var(--card-cream);
  color: var(--ink-dark);
  padding: 9px 9px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 14px 30px -10px rgba(10, 20, 40, 0.55),
    inset 0 0 0 4px var(--oak-light);
  overflow: hidden;
}

/* Pastel Frame Variants (#B7BFA8, #DEB892, #DFB1A5) */
.photocard-wrap[data-frame="sage"] .photocard-face {
  box-shadow:
    0 14px 30px -10px rgba(10, 20, 40, 0.55),
    inset 0 0 0 4.5px var(--sage-green);
}

.photocard-wrap[data-frame="oak"] .photocard-face {
  box-shadow:
    0 14px 30px -10px rgba(10, 20, 40, 0.55),
    inset 0 0 0 4.5px var(--oak-light);
}

.photocard-wrap[data-frame="rose"] .photocard-face {
  box-shadow:
    0 14px 30px -10px rgba(10, 20, 40, 0.55),
    inset 0 0 0 4.5px var(--dusty-rose);
}

.photocard-face--back {
  transform: rotateY(180deg);
  padding: 12px 13px;
  background: linear-gradient(180deg, #FAF8F5 0%, #F3ECE1 100%);
}

/* Specular Glare Overlay */
.photocard-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 65%
  );
}

.photocard-wrap:hover .photocard-glare {
  opacity: 1;
}

/* Polaroid Front Window */
.polaroid-photo-window {
  position: relative;
  width: 100%;
  height: 132px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--sky-prussian);
}

.polaroid-bg-layer {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.polaroid-bg-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.polaroid-chip {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(28, 53, 94, 0.8);
  color: var(--text-cream);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  backdrop-filter: blur(4px);
}

.polaroid-flip-hint {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.9);
  color: var(--sky-prussian);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-caption-area {
  padding: 6px 4px 2px;
}

.polaroid-card-title {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1.2;
  margin-bottom: 3px;
}

.polaroid-card-sub {
  font-size: 0.73rem;
  color: var(--ink-body);
  line-height: 1.35;
}

/* Polaroid Back Face Details */
.back-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #725344;
  background: rgba(222, 184, 146, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
}

.back-flip-return {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
}

.back-card-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-dark);
  margin-top: 4px;
}

.back-card-desc {
  font-size: 0.74rem;
  color: var(--ink-body);
  line-height: 1.44;
}

.back-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.back-tech-pills span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #E9E1D4;
  color: var(--ink-dark);
}

/* ==========================================================================
   9. RESUME TAB (KYLIE YING STYLE: EDUCATION & EXPERIENCE ROWS)
   ========================================================================== */
.resume-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.resume-header-row--spaced {
  margin-top: 22px;
}

.resume-section-label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--oak-light);
  letter-spacing: 0.01em;
}

.resume-pdf-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(222, 184, 146, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.resume-pdf-link:hover {
  color: var(--oak-light);
  border-bottom-color: var(--oak-light);
}

.resume-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resume-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(250, 248, 245, 0.04);
  border: 1px solid rgba(250, 248, 245, 0.09);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.resume-row:hover {
  background: rgba(250, 248, 245, 0.07);
  border-color: rgba(222, 184, 146, 0.28);
  transform: translateX(2px);
}

.resume-logo {
  width: 88px;
  height: 58px;
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 245, 0.96);
  box-shadow: 0 4px 12px rgba(10, 20, 40, 0.28);
  overflow: hidden;
}

.resume-photo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.resume-logo--boun {
  border: 2px solid var(--aurora-teal);
}

.resume-logo--itu {
  border: 2px solid var(--oak-light);
}

.resume-logo--bountenna {
  border: 2px solid var(--dusty-rose);
}

.resume-logo--tubitak {
  border: 2px solid var(--sage-green);
}

.resume-item h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-cream);
  line-height: 1.3;
  margin-bottom: 2px;
}

.resume-item p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.resume-date {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. PERSISTENT COLUMN FOOTER
   ========================================================================== */
.column-footer {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 248, 245, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.footer-links-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
}

.minimal-social-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.minimal-social-link:hover {
  color: var(--oak-light);
}

.footer-sep {
  color: rgba(250, 248, 245, 0.22);
  font-size: 0.78rem;
  user-select: none;
}

/* ==========================================================================
   11. "LIL ME" CHARACTER DOCK (BOTTOM EDGE PEEK-UP COMPANION)
   Male Character with Black Hair & Clear-Framed Glasses
   ========================================================================== */
.lil-me-dock {
  position: fixed;
  bottom: 14px;
  left: clamp(16px, 3.5vw, 48px);
  z-index: 25;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
  transform: translateY(125%);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.34, 1.35, 0.64, 1),
    opacity 0.45s ease;
}

.lil-me-dock.is-peeking {
  transform: translateY(0);
  opacity: 1;
}

.lil-me-avatar-btn {
  width: 78px;
  height: 70px;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(10, 20, 40, 0.5));
  transition: transform 0.25s ease;
}

.lil-me-avatar-btn:hover {
  transform: scale(1.05);
}

#lil-me-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lil-me-bubble {
  pointer-events: auto;
  max-width: 210px;
  padding: 6px 11px;
  border-radius: 10px 10px 10px 3px;
  background: rgba(250, 248, 245, 0.94);
  color: var(--ink-dark);
  border: 1.5px solid var(--oak-light);
  font-size: 0.74rem;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.35);
  margin-bottom: 10px;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
  .viewport-stage {
    padding: 88px 18px 96px;
    align-items: flex-start;
  }

  .column-header {
    padding-right: 68px;
  }

  .polaroid-column-grid {
    grid-template-columns: 1fr;
  }

  .sakura-corner--top-left {
    width: 230px;
    opacity: 0.72;
  }

  .sakura-corner--bottom-right {
    width: 240px;
    opacity: 0.72;
  }

  .furin-corner-dock {
    top: 10px;
    left: auto;
    right: 14px;
  }

  .furin-widget {
    width: 42px;
    height: 102px;
  }

  .lil-me-bubble {
    display: none;
  }
}
