/* ==========================================================================
   Emre Çanacık — Apple Cupertino Design System (style.css)
   SF Pro Display / Plus Jakarta Sans • 28px Squircle Bento Grid •
   Saturated Frosted Glass • Apple System Blue (#0071e3)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  /* Shared scales; existing component token names remain the public API. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-display: clamp(2.5rem, 5.8vw, 4.125rem);
  --text-heading: clamp(1.75rem, 3.4vw, 2.5rem);
  --leading-tight: 1.1;
  --leading-heading: 1.25;
  --leading-body: 1.65;
  --tracking-tight: -0.028em;
  --tracking-body: -0.01em;
  --tracking-label: 0.04em;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-ui: 200ms;
  --duration-surface: 350ms;
  --glass-blur: 26px;
  --glass-saturation: 180%;
  --surface-highlight: rgba(255, 255, 255, 0.12);
  --focus-ring: #8cc8ff;
  --focus-offset: #121216;
  --control-border: #8c8c98;
  --btn-primary-hover: #0062c5;
  --btn-primary-active: #0056ad;
  /* Murmuration Atmosphere Variables (Default: Dawn) */
  --atmo-sky-top: #9fb4c9;
  --atmo-sky-low: #f3d6c2;
  --atmo-sun: #fff3df;
  --atmo-ink: #1d1d1f;

  /* Apple Pro Dark Surfaces (Dusk / Night Mode) */
  --bg: rgba(18, 18, 22, 0.72);
  --bg-elevated: rgba(29, 29, 31, 0.94);
  --bg-subtle: rgba(255, 255, 255, 0.06);
  --bg-hover: rgba(255, 255, 255, 0.1);
  --bg-active: rgba(255, 255, 255, 0.16);
  --bg-glass: rgba(22, 22, 23, 0.94);

  /* Apple Dark Typography Colors */
  --fg: #f5f5f7;
  --fg-secondary: #d2d2d7;
  --fg-muted: #b5b5be;
  --fg-subtle: #aaaab4;

  /* Delicate Apple Borders */
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Apple System Accents */
  --accent: #2997ff;
  --accent-solid: #0071e3;
  --accent-glow: rgba(41, 151, 255, 0.2);
  --terracotta: #ff6961;
  --emerald: #30d158;
  --amber: #ffd60a;
  --danger: #ff453a;

  /* Apple Capsule Primary Button */
  --btn-primary-bg: #0071e3;
  --btn-primary-fg: #ffffff;

  /* Editorial & Studio Typography Stacks (Plus Jakarta Sans + Outfit + Instrument Serif) */
  --font-sans: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-reading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Apple Squircle Layout & Radii */
  --container-max: 1120px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 980px;

  /* Apple Diffused Elevation Shadows */
  --shadow-card: inset 0 1px 0 var(--surface-highlight), 0 16px 44px -10px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
  --shadow-card-hover: inset 0 1px 0 var(--surface-highlight), 0 20px 48px -12px rgba(0, 0, 0, 0.34), 0 3px 10px rgba(0, 0, 0, 0.16);
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.14);
}

html.light {
  color-scheme: light;
  --surface-highlight: rgba(255, 255, 255, 0.9);
  --focus-ring: #005bb5;
  --focus-offset: #ffffff;
  --control-border: #777782;
  /* Apple Cupertino Daylight Surfaces over Dawn Sky */
  --bg: rgba(245, 245, 247, 0.72);
  --bg-elevated: rgba(255, 255, 255, 0.94);
  --bg-subtle: rgba(0, 0, 0, 0.04);
  --bg-hover: rgba(0, 0, 0, 0.065);
  --bg-active: rgba(0, 0, 0, 0.1);
  --bg-glass: rgba(251, 251, 253, 0.94);

  /* Apple Shark & SF Gray Typography */
  --fg: #1d1d1f;
  --fg-secondary: #333336;
  --fg-muted: #55555e;
  --fg-subtle: #60606a;

  /* Subtle Hairline Borders */
  --border: rgba(0, 0, 0, 0.075);
  --border-strong: rgba(0, 0, 0, 0.15);
  --border-subtle: rgba(0, 0, 0, 0.045);

  /* Apple System Blue (#0071e3) */
  --accent: #0066cc;
  --accent-solid: #0071e3;
  --accent-glow: rgba(0, 113, 227, 0.14);
  --emerald: #167438;
  --terracotta: #b43b32;
  --amber: #b25000;
  --danger: #d70015;
  --btn-primary-bg: #0071e3;
  --btn-primary-fg: #ffffff;

  --shadow-card: inset 0 1px 0 var(--surface-highlight), 0 14px 40px -12px rgba(29, 29, 31, 0.1), 0 2px 8px rgba(29, 29, 31, 0.04);
  --shadow-card-hover: inset 0 1px 0 var(--surface-highlight), 0 20px 44px -12px rgba(29, 29, 31, 0.14), 0 3px 10px rgba(29, 29, 31, 0.06);
  --shadow-subtle: 0 4px 14px rgba(29, 29, 31, 0.04);
}

/* ==========================================================================
   Base & Atmospheric Canvas
   ========================================================================== */
body {
  background-color: var(--atmo-sky-top, #9fb4c9);
  background-image: linear-gradient(
    180deg,
    var(--atmo-sky-top, #9fb4c9) 0%,
    var(--atmo-sky-low, #f3d6c2) 78%,
    var(--atmo-sky-low, #f3d6c2) 100%
  );
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
  transition: background-color 0.35s ease, color 0.25s ease;
}

:where(h1, h2, h3, h4) {
  text-wrap: balance;
}

:where(p, li, dd) {
  text-wrap: pretty;
}

:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--focus-offset);
}

:where(button, a, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

:where(section[id], main[id], h2[id]) {
  scroll-margin-top: 96px;
}

.btn:active, .btn-primary-pill:active, .pill-control:active {
  transform: translateY(1px);
}

.btn-primary:active, .btn-primary-pill:active {
  background: var(--btn-primary-active);
}

.btn:disabled, .pill-control:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Apple Smooth Spring Entrance Animations */
@keyframes lp-hero-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes lp-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lp-hero-in {
  animation: lp-hero-in 0.85s var(--ease-out) both;
}

.lp-fade-in {
  animation: lp-fade-in 0.8s var(--ease-out) both;
}

.delay-1 { animation-delay: 0.07s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.23s; }
.delay-4 { animation-delay: 0.31s; }

/* Atmospheric Sky Synchronization */
.ambient-canvas {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--atmo-sky-top, #9fb4c9) 0%,
    var(--atmo-sky-low, #f3d6c2) 78%,
    var(--atmo-sky-low, #f3d6c2) 100%
  );
}

.ambient-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 62% 86%,
    var(--atmo-sun, #fff3df) 0%,
    rgba(255, 243, 223, 0.45) 25%,
    transparent 60%
  );
  opacity: 0.65;
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Subtle Apple Ribbon Bar (CMS / WTT Course Mode Switcher)
   ========================================================================== */
.system-bar {
  position: relative;
  z-index: 60;
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--fg-muted);
}

.system-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.system-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald);
}

.system-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-switch-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.mode-btn {
  padding: 3px 11px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--fg-muted);
  transition: background-color var(--duration-ui) var(--ease-out), color var(--duration-ui) var(--ease-out), border-color var(--duration-ui) var(--ease-out), box-shadow var(--duration-ui) var(--ease-out), transform var(--duration-ui) var(--ease-out);
}

.mode-btn.active {
  background: var(--bg-elevated);
  color: var(--fg);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

body.mode-wtt .cms-only {
  display: none !important;
}

/* ==========================================================================
   Apple Global Navigation Header (48px Frosted Glass Bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.022em;
  color: var(--fg);
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-secondary);
  opacity: 0.84;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  opacity: 1;
  color: var(--fg);
  background: var(--bg-subtle);
}

.nav-link.active {
  opacity: 1;
  color: var(--fg);
  font-weight: 600;
  background: var(--bg-hover);
}

.nav-tag-cms {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pill-control {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--fg);
  gap: 6px;
  transition: background-color var(--duration-ui) var(--ease-out), color var(--duration-ui) var(--ease-out), border-color var(--duration-ui) var(--ease-out), box-shadow var(--duration-ui) var(--ease-out), transform var(--duration-ui) var(--ease-out);
}

.pill-control:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-size: var(--text-xs);
  font-weight: 500;
  gap: 6px;
  transition: background-color 0.2s ease, transform var(--duration-fast) ease;
}

.btn-primary-pill:hover {
  background: var(--btn-primary-hover);
}

.btn-primary-pill:active {
  transform: scale(0.97);
}

.mobile-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

/* ==========================================================================
   Apple Flagship Display Typography & Section Headers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg);
}

h1.display-title {
  font-family: var(--font-sans);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.034em;
  color: var(--fg);
  text-wrap: balance;
}

/* Apple Keynote Tonal / Blue Gradient Accent Text */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  padding-right: 0.02em;
}

.underline-accent {
  color: var(--fg-muted);
  box-shadow: none;
}

.lead-text {
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: -0.016em;
  color: var(--fg-muted);
  max-width: 54ch;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-sans);
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
}

.section-subtitle {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--fg-muted);
  margin-top: 6px;
  letter-spacing: -0.012em;
}

/* ==========================================================================
   Apple 28px Squircle Bento Grid & Frosted Cards
   ========================================================================== */
.ring-frame {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-surface) var(--ease-out), box-shadow 0.35s ease;
}

/* True Apple Bento Grid: Separated Squircle Cards with 20px Gap */
.bento-divide-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.bento-cell {
  padding: var(--space-9);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--duration-surface) var(--ease-out), box-shadow 0.35s ease, border-color 0.25s ease;
}

.bento-cell:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}

.span-12 { grid-column: span 12; }
.span-8  { grid-column: span 8; }
.span-7  { grid-column: span 7; }
.span-6  { grid-column: span 6; }
.span-5  { grid-column: span 5; }
.span-4  { grid-column: span 4; }
.span-3  { grid-column: span 3; }

.no-border-r { border-right: 1px solid var(--border); }
.no-border-b { border-bottom: 1px solid var(--border); }

/* ==========================================================================
   Apple Capsule Buttons & Filter Pills
   ========================================================================== */
.chip-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  background: transparent;
  transition: background-color var(--duration-ui) var(--ease-out), color var(--duration-ui) var(--ease-out), border-color var(--duration-ui) var(--ease-out), box-shadow var(--duration-ui) var(--ease-out), transform var(--duration-ui) var(--ease-out);
}

.chip:hover {
  color: var(--fg);
}

.chip.active {
  color: #ffffff;
  background: var(--accent-solid);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.38);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  backdrop-filter: saturate(180%) blur(20px);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   macOS Window / Code Preview Component
   ========================================================================== */
.code-window {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161618;
  color: #f5f5f7;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-family: var(--font-mono);
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #a1a1a6;
}

.code-window-body {
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
}

.code-line {
  display: flex;
  gap: 14px;
}

.code-ln {
  user-select: none;
  color: rgba(255, 255, 255, 0.25);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}

.tok-kw { color: #ff7ab2; }
.tok-fn { color: #6bdfff; }
.tok-str { color: #ff8170; }
.tok-cm { color: #7f8c98; }

/* ==========================================================================
   Apple Showcase Cards, Tables & Skill Meters
   ========================================================================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.craft-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s var(--ease-out), box-shadow 0.38s ease, border-color 0.25s ease;
}

.craft-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card-preview {
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.22;
  color: var(--fg);
}

.card-desc {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.58;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.tag-pill {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 10px;
  white-space: nowrap;
  display: inline-block;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg-secondary);
}

/* Semantic Table (Apple Spec Sheet Style) */
.table-wrapper {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.data-table th {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
  background: var(--bg-subtle);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-subtle);
}

/* Apple Progress Bars */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 600;
}

.skill-pct {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.skill-track {
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--bg-active);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #0071e3, #2997ff);
  transition: width 0.9s var(--ease-out);
}

/* Semantic Elements */
abbr[title] {
  text-decoration: underline dotted var(--accent);
  text-underline-offset: 3px;
  cursor: help;
}

blockquote.editorial-quote {
  padding: 22px 26px;
  border-left: 3px solid var(--accent-solid);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--fg);
}

code.inline-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--accent);
}

pre.code-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #161618;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

ul.styled-ul,
ol.styled-ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: 20px;
  color: var(--fg-secondary);
  font-size: 14.5px;
}

ul.styled-ul { list-style-type: disc; }
ol.styled-ol { list-style-type: decimal; }

/* ==========================================================================
   Apple Human Interface Forms
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--control-border);
  background: var(--bg-elevated);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-solid);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ==========================================================================
   macOS / iPadOS Settings Style Admin Dashboard (admin.html)
   ========================================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: var(--container-max);
  margin: 28px auto;
  padding: 0 24px;
  min-height: calc(100vh - 140px);
  position: relative;
  z-index: 1;
}

.admin-sidebar {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-secondary);
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-nav-btn:hover {
  background: var(--bg-hover);
  color: var(--fg);
}

.admin-nav-btn.active {
  background: var(--accent-solid);
  color: #ffffff;
  font-weight: 600;
}

.admin-nav-btn.active .tag-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: transparent;
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================================
   Apple Clean Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 36px 0;
  color: var(--fg-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Apple Sheet Modal / Lightbox
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(30px);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Responsive Design (RWD — Tablet & Mobile)
   ========================================================================== */
@media (max-width: 960px) {
  .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 {
    grid-column: span 12;
  }
  .card-grid-3, .card-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   Spotlight Surface, Command Palette (⌘K) & Apple Newsroom Article Layout
   ========================================================================== */
.spotlight-surface {
  position: relative;
  overflow: hidden;
}

/* Mavi spotlight halesi (::after, #0071e3) kaldırıldı: halka açık kartlar artık
   imleç altında renkli ışık göstermiyor. Kart sistemi: css/cards.css */

.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0071e3, #2997ff);
  z-index: 120;
  transition: width 0.08s linear;
}

.cmdk-dialog {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.cmdk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.cmdk-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 15px;
  font-family: var(--font-sans);
}

.cmdk-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmdk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-secondary);
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cmdk-item:hover,
.cmdk-item.key-focused {
  background: var(--accent-solid);
  color: #ffffff;
}

.cmdk-item:hover .cmdk-shortcut,
.cmdk-item.key-focused .cmdk-shortcut {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.cmdk-shortcut {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}

.spec-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.spec-box {
  padding: 14px 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: center;
}

.spec-digit {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.spec-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-top: 2px;
  display: block;
}

/* Apple Newsroom Editorial Cards */
.editorial-article {
  padding: 36px;
  margin-top: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  transition: transform var(--duration-surface) var(--ease-out);
}

.editorial-article:hover {
  transform: translateY(-3px);
}

@media (max-width: 820px) {
  .editorial-article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px;
  }
}

.editorial-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-muted);
  padding-top: 4px;
}

.editorial-prose {
  font-family: var(--font-reading);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--fg-secondary);
}

.editorial-prose p + p {
  margin-top: 14px;
}

.portrait-card {
  width: 148px;
  height: 176px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   macOS Lock Screen / Apple ID Login Gate (admin.html)
   ========================================================================== */
.admin-login-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 18, 26, 0.35);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
}

.admin-login-gate.unlocked {
  display: none !important;
}

/* ==========================================================================
   Subtle Creative Studio Touches (Live Signal Pill, Marquee, Process & FAQ)
   ========================================================================== */
.studio-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 16px;
}

.studio-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.22);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.studio-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 11px 0;
  user-select: none;
}

.studio-marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  animation: marquee-scroll 34s linear infinite;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.studio-marquee-track u {
  text-decoration: none;
  color: var(--accent);
  font-size: 11px;
}

.studio-step-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.apple-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apple-faq details {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 16px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apple-faq details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-subtle);
}

.apple-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-faq summary::-webkit-details-marker {
  display: none;
}

.apple-faq summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.apple-faq details[open] summary::after {
  transform: rotate(45deg);
}

.apple-faq details p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-secondary);
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px 34px;
  border-radius: 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.admin-login-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.35);
}

@keyframes apple-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-11px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-7px); }
  80% { transform: translateX(6px); }
}

.shake-error {
  animation: apple-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Print / PDF Resume Stylesheet (hakkimda.html) */
@media print {
  .site-header,
  .site-footer,
  .system-bar,
  .mmw-bg-fixed-canvas,
  .mmw-fg-fixed-canvas,
  .ambient-canvas,
  .academic-inspector-fab,
  .xray-grid-overlay,
  .xray-tag-badge,
  #print-cv-btn {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .bento-cell,
  .ring-frame,
  .table-wrapper {
    box-shadow: none !important;
    border: 1px solid #d2d2d7 !important;
    background: #ffffff !important;
    break-inside: avoid;
  }
}

/* ==========================================================================
   Emre Personal Life OS (asistan.html — 8-Module Personal Assistant)
   ========================================================================== */
.lifeos-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.lifeos-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lifeos-preset-btn:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-1px);
}

.water-cups-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.water-cup-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.water-cup-btn.filled {
  background: rgba(0, 113, 227, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.12);
}

.habit-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.habit-item-row:last-child {
  border-bottom: none;
}

.star-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(254, 188, 46, 0.16);
  border: 1px solid rgba(254, 188, 46, 0.4);
  color: #d97706;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

html:not(.light) .star-badge {
  color: #fbbf24;
}

.ai-chat-window {
  display: flex;
  flex-direction: column;
  height: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  max-width: 84%;
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  word-wrap: break-word;
}

.ai-msg-bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--fg);
  border-bottom-left-radius: 6px;
}

.ai-msg-user {
  align-self: flex-end;
  background: var(--accent-solid);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.ai-chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.wishlist-progress-track {
  width: 100%;
  height: 7px;
  border-radius: 99px;
  background: var(--bg-subtle);
  overflow: hidden;
  margin-top: 8px;
}

.wishlist-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0071e3, #34c759);
  transition: width 0.35s ease;
}

/* ==========================================================================
   Life OS v5.0 Ultra-Premium Edge-to-Edge App Shell, Photo Studio & ML.NET Lab
   ========================================================================== */
.lifeos-app-shell {
  display: block;
  min-height: 100vh;
  position: relative;
}

.lifeos-edge-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 292px;
  height: 100vh;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px 18px;
  background: var(--bg-glass);
  backdrop-filter: saturate(190%) blur(30px);
  -webkit-backdrop-filter: saturate(190%) blur(30px);
  border-right: 1px solid var(--border-strong);
  box-shadow: 14px 0 44px rgba(0, 0, 0, 0.09);
  overflow-y: auto;
}

.lifeos-edge-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 14px;
}

.lifeos-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-solid, #0071e3), #5e5ce6);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px var(--accent-glow);
  position: relative;
  flex-shrink: 0;
}

.lifeos-avatar-ring::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34c759;
  border: 2px solid var(--bg-elevated);
}

.lifeos-nav-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 10px 12px 5px;
}

.lifeos-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lifeos-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  text-align: left;
}

.lifeos-nav-item:hover {
  background: var(--bg-subtle);
  color: var(--fg);
  transform: translateX(4px);
}

.lifeos-nav-item.active {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.16), rgba(94, 92, 230, 0.12));
  border-color: rgba(0, 113, 227, 0.35);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.12);
}

.lifeos-main-stage {
  margin-left: 292px;
  padding: 24px 36px 68px;
  min-height: 100vh;
  max-width: calc(100vw - 292px);
}

@media (max-width: 1024px) {
  .lifeos-edge-sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .lifeos-main-stage {
    margin-left: 0;
    max-width: 100%;
    padding: 20px 16px 48px;
  }
}

/* Panel Entrance & Staggered Card Choreography */
@keyframes lifeos-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-life-panel] {
  animation: lifeos-panel-in 0.42s var(--ease-out) both;
}

/* Top Telemetry & Pomodoro Bar */
.lifeos-top-cockpit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 24px;
  background: var(--bg-elevated);
  backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(var(--glass-saturation)) blur(var(--glass-blur));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.pomodoro-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.eq-bar {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  transition: height 0.2s ease;
}

.eq-bars.playing .eq-bar:nth-child(1) { animation: eq-wave 0.7s ease-in-out infinite alternate; }
.eq-bars.playing .eq-bar:nth-child(2) { animation: eq-wave 0.5s ease-in-out 0.15s infinite alternate; }
.eq-bars.playing .eq-bar:nth-child(3) { animation: eq-wave 0.8s ease-in-out 0.3s infinite alternate; }
.eq-bars.playing .eq-bar:nth-child(4) { animation: eq-wave 0.6s ease-in-out 0.1s infinite alternate; }

@keyframes eq-wave {
  0% { height: 3px; opacity: 0.5; }
  100% { height: 14px; opacity: 1; }
}

/* Animated SVG Radial Gauge Cards */
.radial-gauge-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radial-svg {
  width: 68px;
  height: 68px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.radial-bg {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 7;
}

.radial-fg {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.85s var(--ease-out);
}

/* Photo Vault & Visual Memory Studio */
.photo-dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
  background: var(--bg-subtle);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.photo-dropzone:hover,
.photo-dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.photo-vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 18px;
}

.photo-vault-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-surface) var(--ease-out), border-color 0.25s ease;
}

.photo-vault-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--accent);
}

.photo-vault-thumb {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #141416;
  cursor: zoom-in;
}

.palette-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.palette-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.palette-swatch:hover {
  transform: scale(1.22);
}

/* Before / After Fitness Form Comparison Slider */
.before-after-stage {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #121214;
  user-select: none;
}

.before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2.5px solid #ffffff;
}

/* ML.NET Lab Charts & Probability Bars */
.ml-prob-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.ml-prob-track {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.ml-prob-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0071e3, #5e5ce6);
  transition: width 0.5s var(--ease-out);
}

/* ==========================================================================
   v6.0 Architectural Modules: View Transitions, Academic Inspector & Semantic X-Ray
   ========================================================================== */
@view-transition {
  navigation: auto;
}

/* Modül 3: Canlı Semantik HTML5 & 12-Sütun Bento Grid X-Ray Modu */
body.semantic-xray-active header,
body.semantic-xray-active nav,
body.semantic-xray-active main,
body.semantic-xray-active section,
body.semantic-xray-active article,
body.semantic-xray-active table,
body.semantic-xray-active footer {
  outline: 1.5px dashed rgba(0, 113, 227, 0.68) !important;
  outline-offset: -2px;
}

body.semantic-xray-active .bento-cell,
body.semantic-xray-active .craft-card {
  outline: 1px dashed rgba(48, 209, 88, 0.65) !important;
}

.xray-tag-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 75;
  pointer-events: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.9);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.xray-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.xray-grid-cols {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.xray-grid-col {
  height: 100%;
  background: rgba(0, 113, 227, 0.045);
  border-left: 1px dashed rgba(0, 113, 227, 0.18);
  border-right: 1px dashed rgba(0, 113, 227, 0.18);
  display: flex;
  justify-content: center;
  padding-top: 68px;
}

.xray-grid-col span {
  height: fit-content;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 113, 227, 0.18);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

/* ==========================================================================
   v7.0 Next-Gen Interface Upgrades:
   1. (Ada çubuğu stilleri css/island.css içinde)
   2. Bento 3D Perspective & Specular Glare
   3. Interactive Studio Code Live Console
   ========================================================================== */

/* Interactive Studio Code Console inside Bento Card */
.studio-live-console {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html.light .studio-live-console {
  background: rgba(18, 18, 22, 0.92);
  color: #f5f5f7;
}

.console-prompt {
  color: #86868b;
  font-size: 10.5px;
}

.console-output {
  color: #30d158;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   v8.0 21st.dev Product Rail Gallery (dhxwhy/product-rail-gallery)
   2.5D / Faux-3D Garment Hanger Rack, Multi-Slice Extrusion & AI Stylist
   ========================================================================== */

.product-rail-stage {
  position: relative;
  width: 100%;
  min-height: 360px;
  padding: 28px 24px 34px;
  border-radius: 26px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 20, 0.65) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  perspective: 1300px;
  user-select: none;
}

html.light .product-rail-stage {
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(228, 232, 240, 0.85) 100%);
}

/* Metallic Boutique Clothing Rail Bar */
.rail-bar-rod {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 11px;
  background: linear-gradient(180deg, #e5e7eb 0%, #9ca3af 45%, #374151 85%, #d1d5db 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.rail-bar-support-left,
.rail-bar-support-right {
  position: absolute;
  top: 0;
  width: 10px;
  height: 56px;
  background: linear-gradient(90deg, #9ca3af, #f3f4f6, #4b5563);
  z-index: 1;
}
.rail-bar-support-left { left: 48px; }
.rail-bar-support-right { right: 48px; }

.rail-track {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 36px 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  transform-style: preserve-3d;
  scrollbar-width: thin;
}

.rail-hanger-unit {
  position: relative;
  flex: 0 0 132px;
  height: 258px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  transform-style: preserve-3d;
  transform-origin: 50% 4px;
  /* Default angled 2.5D side-profile on the rack, just like 21st.dev product-rail-gallery */
  transform: translateX(var(--push-x, 0px)) rotateY(-50deg) rotateZ(var(--swing-deg, 0deg));
  transition: transform 0.52s var(--ease-smooth), flex-basis 0.42s var(--ease-smooth), filter 0.3s ease;
}

.rail-hanger-unit:hover,
.rail-hanger-unit.active-garment {
  flex-basis: 188px;
  z-index: 25;
  transform: translateX(0px) rotateY(0deg) rotateZ(0deg) translateZ(64px) translateY(-6px) scale(1.06);
}

.rail-hanger-unit:active {
  cursor: grabbing;
}

/* Wooden Hanger & Chrome Hook SVG */
.hanger-svg-rig {
  width: 112px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.28));
  z-index: 3;
  pointer-events: none;
}

/* 2.5D Multi-Slice Garment Body (Creates real thickness when viewed from the side at -50deg) */
.garment-3d-body {
  position: relative;
  width: 146px;
  height: 176px;
  margin-top: -14px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.garment-slice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.garment-slice.front-main {
  transform: translateZ(6px);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.32));
}

.garment-slice.depth-layer-1 {
  transform: translateZ(3px);
  filter: brightness(0.84) contrast(1.05);
  opacity: 0.95;
}

.garment-slice.depth-layer-2 {
  transform: translateZ(0px);
  filter: brightness(0.68) contrast(1.1);
  opacity: 0.92;
}

.garment-slice.depth-layer-3 {
  transform: translateZ(-3px);
  filter: brightness(0.54) contrast(1.15);
  opacity: 0.9;
}

.garment-slice.depth-layer-4 {
  transform: translateZ(-6px);
  filter: brightness(0.42);
  opacity: 0.88;
}

/* Side Fabric Seam Strip (visible when garment is angled at -50deg on rail) */
.garment-side-seam {
  position: absolute;
  top: 12%;
  bottom: 10%;
  right: 14px;
  width: 12px;
  border-radius: 6px;
  background: var(--garment-hex, #1e293b);
  transform: rotateY(90deg) translateZ(6px);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.55);
  opacity: 0.9;
}

.rail-hanger-unit:hover .garment-side-seam,
.rail-hanger-unit.active-garment .garment-side-seam {
  opacity: 0;
}

/* Hanger Tag Label */
.rail-garment-tag {
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transform: translateZ(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Cutout Studio Checkerboard Canvas Container */
.wardrobe-cutout-box {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background-color: #18181b;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.06) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.06) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.06) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
}

.wardrobe-cutout-box canvas {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

/* AI Outfit Combination Card */
.outfit-combo-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease-out), border-color 0.25s ease;
}

.outfit-combo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.outfit-mannequin-stage {
  position: relative;
  height: 205px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(41, 151, 255, 0.12), rgba(0, 0, 0, 0.18));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}

.outfit-piece-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.outfit-piece-preview img {
  height: 126px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease;
}

.outfit-combo-card:hover .outfit-piece-preview img {
  transform: scale(1.05);
}

.star-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--fg-muted);
  padding: 2px 3px;
  transition: transform var(--duration-fast) ease, color 0.15s ease;
}

.star-btn:hover,
.star-btn.lit {
  color: #ffd60a;
  transform: scale(1.18);
}

/* ==========================================================================
   v9.0 Ultra-Premium CMS Admin Studio & Multi-Layer Collapsible Architecture
   (Spring Physics Accordions, Collapsible Sidebar Drawer, iOS Toggles,
   Slide-Over Quick Inspector Drawer & Staggered Cascade Transitions)
   ========================================================================== */

.admin-layout {
  grid-template-columns: 276px minmax(0, 1fr);
  transition: grid-template-columns 0.46s var(--ease-smooth), gap 0.46s var(--ease-smooth);
}

.admin-layout.sidebar-collapsed {
  grid-template-columns: 82px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 76px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-subtle) 100%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: padding 0.42s var(--ease-smooth), border-color 0.3s ease;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.admin-sidebar-collapse-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.38s var(--ease-smooth), background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.admin-sidebar-collapse-btn:hover {
  background: var(--accent-solid);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.06);
}

.admin-layout.sidebar-collapsed .admin-sidebar-collapse-btn svg {
  transform: rotate(180deg);
}

.admin-sidebar-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding: 8px 10px 4px;
  white-space: nowrap;
  transition: opacity 0.25s ease, height 0.3s ease;
}

.admin-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  text-align: left;
  border: 1px solid transparent;
  transition: background-color 0.28s var(--ease-smooth), color 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), transform 0.28s var(--ease-smooth);
  overflow: hidden;
}

.admin-nav-btn-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-smooth), background 0.25s ease, border-color 0.25s ease;
}

.admin-nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-nav-btn:hover {
  background: var(--bg-hover);
  color: var(--fg);
  border-color: var(--border);
  transform: translateX(3px);
}

.admin-nav-btn:hover .admin-nav-icon {
  transform: scale(1.08);
  border-color: var(--accent);
}

.admin-nav-btn.active {
  background: linear-gradient(135deg, #0071e3 0%, #3b82f6 55%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.admin-nav-btn.active .admin-nav-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.admin-layout.sidebar-collapsed .admin-sidebar {
  padding: 16px 10px;
}

.admin-layout.sidebar-collapsed .admin-sidebar-group-title,
.admin-layout.sidebar-collapsed .admin-nav-label,
.admin-layout.sidebar-collapsed .admin-nav-btn .tag-pill,
.admin-layout.sidebar-collapsed .admin-sidebar-brand-text {
  opacity: 0;
  width: 0;
  pointer-events: none;
  overflow: hidden;
}

.admin-layout.sidebar-collapsed .admin-nav-btn {
  justify-content: center;
  padding: 9px;
}

/* Ultra-Premium Aurora Command Header */
.admin-hero-banner {
  position: relative;
  padding: 26px 28px;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(85% 120% at 0% 0%, rgba(0, 113, 227, 0.16) 0%, transparent 55%),
    radial-gradient(75% 110% at 100% 0%, rgba(16, 185, 129, 0.13) 0%, transparent 55%),
    var(--bg-elevated);
  backdrop-filter: saturate(190%) blur(28px);
  -webkit-backdrop-filter: saturate(190%) blur(28px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

/* Telemetry Mini Progress & Sparkline Bar */
.admin-telemetry-bar {
  height: 5px;
  width: 100%;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--border-subtle);
}

.admin-telemetry-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0071e3, #30d158);
  transition: width 0.6s var(--ease-smooth);
}

/* ==========================================================================
   1. Spring Physics Collapsible Accordion Cards (Açılır-Kapanır Modül Kartları)
   Uses CSS Grid 0fr -> 1fr + scale/glow transitions
   ========================================================================== */
.admin-spring-accordion {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(185%) blur(26px);
  -webkit-backdrop-filter: saturate(185%) blur(26px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.admin-spring-accordion + .admin-spring-accordion {
  margin-top: 18px;
}

.admin-spring-accordion.is-open {
  border-color: var(--border-strong);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.admin-spring-accordion.is-open > .admin-accordion-trigger {
  border-bottom-color: var(--border);
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.06) 0%, transparent 70%);
}

.admin-accordion-trigger:hover {
  background: var(--bg-hover);
}

.admin-accordion-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-accordion-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.16), rgba(99, 102, 241, 0.14));
  border: 1px solid rgba(0, 113, 227, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.38s var(--ease-smooth), background 0.3s ease;
}

.admin-spring-accordion.is-open > .admin-accordion-trigger .admin-accordion-icon-box {
  transform: scale(1.06) rotate(-4deg);
  background: linear-gradient(135deg, #0071e3, #6366f1);
  color: #ffffff;
  border-color: transparent;
}

.admin-accordion-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.admin-accordion-chevron {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ease-smooth), background 0.25s ease, color 0.25s ease;
}

.admin-spring-accordion.is-open > .admin-accordion-trigger .admin-accordion-chevron {
  transform: rotate(180deg);
  background: var(--accent-solid);
  color: #ffffff;
  border-color: transparent;
}

.admin-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.48s var(--ease-smooth), opacity 0.36s ease;
}

.admin-spring-accordion.is-open > .admin-accordion-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.admin-accordion-inner {
  overflow: hidden;
  padding: 0 24px;
  transition: padding 0.42s var(--ease-smooth);
}

.admin-spring-accordion.is-open > .admin-accordion-body > .admin-accordion-inner {
  padding: 22px 24px 24px;
}

/* ==========================================================================
   2. iOS / macOS System Settings Style Animated Toggle Switch
   ========================================================================== */
.admin-ios-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.admin-ios-switch-track {
  position: relative;
  width: 44px;
  height: 25px;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.32);
  border: 1px solid var(--border);
  transition: background 0.32s var(--ease-smooth), border-color 0.32s ease, box-shadow 0.32s ease;
  flex-shrink: 0;
}

.admin-ios-switch.is-on .admin-ios-switch-track {
  background: linear-gradient(135deg, #30d158 0%, #10b981 100%);
  border-color: rgba(48, 209, 88, 0.6);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.32);
}

.admin-ios-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: transform 0.34s var(--ease-smooth), width 0.2s ease;
}

.admin-ios-switch:active .admin-ios-switch-thumb {
  width: 23px;
}

.admin-ios-switch.is-on .admin-ios-switch-thumb {
  transform: translateX(19px);
}

/* ==========================================================================
   3. Staggered Cascade Tab Transition & Expandable Sub-Drawers
   ========================================================================== */
@keyframes adminTabSpringReveal {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-admin-panel].admin-panel-entering {
  animation: adminTabSpringReveal 0.42s var(--ease-smooth) both;
}

/* Expandable inline detail drawer inside project / folder cards */
.admin-inline-drawer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.38s var(--ease-smooth), opacity 0.28s ease, margin-top 0.3s ease;
}

.admin-inline-drawer.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 10px;
}

.admin-inline-drawer > div {
  overflow: hidden;
}

/* ==========================================================================
   4. Right-Side Slide-Over Quick Inspector Drawer (Açılır Çekmece)
   ========================================================================== */
.admin-slide-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(6, 8, 14, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s var(--ease-smooth);
}

.admin-slide-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-slide-drawer {
  position: fixed;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(460px, calc(100vw - 32px));
  z-index: 135;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  backdrop-filter: saturate(200%) blur(32px);
  -webkit-backdrop-filter: saturate(200%) blur(32px);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 28px)) scale(0.98);
  transition: transform 0.48s var(--ease-smooth);
  overflow: hidden;
}

.admin-slide-drawer.open {
  transform: translateX(0) scale(1);
}

@media (max-width: 960px) {
  .admin-layout,
  .admin-layout.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
}

/* ==========================================================================
   v10.0 Editorial Studio Typography & 21st.dev Frosted Liquid Glass System
   (Tailored Per Page / Tab in asistan.html & Across the Platform)
   ========================================================================== */

body {
  font-family: var(--font-sans);
  letter-spacing: -0.011em;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4,
.section-title,
.hero-title,
.card-title {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.09em;
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.88;
}

.editorial-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Per-Tab Frosted Liquid Glass Signatures (Inspired by galeri.html 3D Glass)
   ========================================================================== */
.lifeos-app-shell {
  --tab-glass-tint: rgba(56, 189, 248, 0.08);
  --tab-glass-rim: rgba(125, 211, 252, 0.34);
  --tab-glass-secondary: rgba(99, 102, 241, 0.07);
  --tab-glass-accent: #38bdf8;
  --tab-glass-label: "GLACIER CRYSTAL GLASS";
  transition: background 0.55s var(--ease-smooth);
}

/* 01. Dashboard: Glacier Crystal Glass */
.lifeos-app-shell[data-active-glass="dashboard"],
[data-life-panel="dashboard"] {
  --tab-glass-tint: rgba(56, 189, 248, 0.085);
  --tab-glass-rim: rgba(125, 211, 252, 0.36);
  --tab-glass-secondary: rgba(99, 102, 241, 0.075);
  --tab-glass-accent: #38bdf8;
}

/* 02. Wardrobe: Atelier Smoked Champagne & Boutique Vitrine Glass */
.lifeos-app-shell[data-active-glass="wardrobe"],
[data-life-panel="wardrobe"] {
  --tab-glass-tint: rgba(245, 158, 11, 0.075);
  --tab-glass-rim: rgba(251, 191, 36, 0.34);
  --tab-glass-secondary: rgba(217, 119, 6, 0.065);
  --tab-glass-accent: #f59e0b;
}

/* 03. Photos: Aurora Prism Frosted Glass */
.lifeos-app-shell[data-active-glass="photos"],
[data-life-panel="photos"] {
  --tab-glass-tint: rgba(168, 85, 247, 0.085);
  --tab-glass-rim: rgba(192, 132, 252, 0.36);
  --tab-glass-secondary: rgba(56, 189, 248, 0.075);
  --tab-glass-accent: #c084fc;
}

/* 04. ML.NET: Emerald Cyber Laboratory Glass */
.lifeos-app-shell[data-active-glass="mlnet"],
[data-life-panel="mlnet"] {
  --tab-glass-tint: rgba(16, 185, 129, 0.085);
  --tab-glass-rim: rgba(52, 211, 153, 0.36);
  --tab-glass-secondary: rgba(6, 182, 212, 0.075);
  --tab-glass-accent: #34d399;
}

/* 05. Finance: Obsidian & Warm Gold Glass */
.lifeos-app-shell[data-active-glass="finance"],
[data-life-panel="finance"] {
  --tab-glass-tint: rgba(234, 179, 8, 0.08);
  --tab-glass-rim: rgba(250, 204, 21, 0.35);
  --tab-glass-secondary: rgba(16, 185, 129, 0.065);
  --tab-glass-accent: #facc15;
}

/* 06. Fitness: Verdant Vitality Mint Glass */
.lifeos-app-shell[data-active-glass="fitness"],
[data-life-panel="fitness"] {
  --tab-glass-tint: rgba(45, 212, 191, 0.085);
  --tab-glass-rim: rgba(94, 234, 212, 0.36);
  --tab-glass-secondary: rgba(16, 185, 129, 0.075);
  --tab-glass-accent: #2dd4bf;
}

/* 07. Media & Culture: Velvet Dusk Cinema Glass */
.lifeos-app-shell[data-active-glass="media"],
[data-life-panel="media"] {
  --tab-glass-tint: rgba(244, 114, 182, 0.08);
  --tab-glass-rim: rgba(249, 168, 212, 0.35);
  --tab-glass-secondary: rgba(139, 92, 246, 0.075);
  --tab-glass-accent: #f472b6;
}

/* 08-11. Work, Habits, Wishlist & AI Vision: Pearl & Iris Liquid Glass */
.lifeos-app-shell[data-active-glass="work"],
.lifeos-app-shell[data-active-glass="habits"],
.lifeos-app-shell[data-active-glass="wishlist"],
.lifeos-app-shell[data-active-glass="ai"],
[data-life-panel="work"],
[data-life-panel="habits"],
[data-life-panel="wishlist"],
[data-life-panel="ai"] {
  --tab-glass-tint: rgba(129, 140, 248, 0.085);
  --tab-glass-rim: rgba(165, 180, 252, 0.36);
  --tab-glass-secondary: rgba(56, 189, 248, 0.075);
  --tab-glass-accent: #818cf8;
}

/* Breathable, Non-Overwhelming 21st.dev Gallery Frosted Glass Surfaces */
.lifeos-edge-sidebar {
  background:
    radial-gradient(120% 80% at 0% 0%, var(--tab-glass-tint) 0%, transparent 65%),
    rgba(18, 20, 26, 0.62) !important;
  backdrop-filter: saturate(200%) blur(36px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(36px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.18), inset -1px 0 0 rgba(255, 255, 255, 0.08) !important;
}

html.light .lifeos-edge-sidebar {
  background:
    radial-gradient(120% 80% at 0% 0%, var(--tab-glass-tint) 0%, transparent 65%),
    rgba(255, 255, 255, 0.66) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 14px 0 40px rgba(15, 23, 42, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.9) !important;
}

.lifeos-top-cockpit {
  position: relative;
  overflow: hidden;
  padding: 22px 28px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(90% 140% at 8% 0%, var(--tab-glass-tint) 0%, transparent 60%),
    radial-gradient(80% 120% at 92% 100%, var(--tab-glass-secondary) 0%, transparent 60%),
    rgba(22, 24, 32, 0.56) !important;
  backdrop-filter: saturate(200%) blur(34px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(34px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 22px 54px -14px rgba(0, 0, 0, 0.28),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.32),
    inset 0 0 28px var(--tab-glass-tint) !important;
  transition: background-color 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

html.light .lifeos-top-cockpit {
  background:
    radial-gradient(90% 140% at 8% 0%, var(--tab-glass-tint) 0%, transparent 60%),
    radial-gradient(80% 120% at 92% 100%, var(--tab-glass-secondary) 0%, transparent 60%),
    rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    0 20px 46px -14px rgba(15, 23, 42, 0.08),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 0 24px var(--tab-glass-tint) !important;
}

.lifeos-main-stage .bento-divide-grid {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  gap: 20px !important;
}

.lifeos-main-stage .bento-cell,
.lifeos-main-stage > section > .ring-frame {
  position: relative;
  border-radius: 26px !important;
  background:
    radial-gradient(110% 90% at 0% 0%, var(--tab-glass-tint) 0%, transparent 58%),
    radial-gradient(90% 90% at 100% 100%, var(--tab-glass-secondary) 0%, transparent 62%),
    rgba(22, 24, 31, 0.54) !important;
  backdrop-filter: saturate(195%) blur(32px) !important;
  -webkit-backdrop-filter: saturate(195%) blur(32px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 18px 44px -12px rgba(0, 0, 0, 0.24),
    inset 0 1.2px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 0 22px rgba(255, 255, 255, 0.025) !important;
  transition: transform 0.36s var(--ease-smooth), border-color 0.32s ease, box-shadow 0.36s ease !important;
}

html.light .lifeos-main-stage .bento-cell,
html.light .lifeos-main-stage > section > .ring-frame {
  background:
    radial-gradient(110% 90% at 0% 0%, var(--tab-glass-tint) 0%, transparent 58%),
    radial-gradient(90% 90% at 100% 100%, var(--tab-glass-secondary) 0%, transparent 62%),
    rgba(255, 255, 255, 0.66) !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  box-shadow:
    0 16px 40px -12px rgba(15, 23, 42, 0.07),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.96),
    inset 0 0 20px var(--tab-glass-tint) !important;
}

.lifeos-main-stage .bento-cell:hover,
.lifeos-main-stage > section > .ring-frame:hover {
  border-color: var(--tab-glass-rim) !important;
  box-shadow:
    0 24px 56px -12px rgba(0, 0, 0, 0.3),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.42),
    inset 0 0 30px var(--tab-glass-tint) !important;
}

/* ==========================================================================
   Dual Front & Back (Ön + Arka) Photo Upload & 3D Garment Studio
   ========================================================================== */
.wardrobe-dual-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wardrobe-slot-dropzone {
  position: relative;
  border: 1.5px dashed var(--border-strong);
  border-radius: 18px;
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.wardrobe-slot-dropzone:hover,
.wardrobe-slot-dropzone.dragover,
.wardrobe-slot-dropzone.has-photo {
  border-color: var(--tab-glass-accent, var(--accent));
  background: var(--tab-glass-tint);
  transform: translateY(-2px);
}

.wardrobe-view-switcher {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  gap: 3px;
}

.wardrobe-view-btn {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wardrobe-view-btn.active {
  background: var(--accent-solid);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}









/* Public page composition: shared rhythm, no presentational inline styles. */
.page-intro { padding: var(--space-14) 0 var(--space-8); }
.home-intro { padding: var(--space-16) 0 var(--space-12); }
.section-pad { padding: var(--space-3) 0 var(--space-14); }
.section-end { padding-bottom: var(--space-14); }
.section-end-md { padding-bottom: var(--space-12); }
.section-end-sm { padding-bottom: var(--space-10); }
.section-end-lg { padding-bottom: var(--space-16); }
.space-top-xs { margin-top: var(--space-2); }
.space-top-sm { margin-top: var(--space-3); }
.space-top-md { margin-top: var(--space-4); }
.space-top-lg { margin-top: var(--space-6); }
.space-top-xl { margin-top: var(--space-7); }
.copy-muted { color: var(--fg-muted); }
.caption-muted { font-size: 0.8125rem; color: var(--fg-muted); }
.mono-caption { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-muted); }
.section-heading-lg { font-size: 1.75rem; }
.section-heading-md { font-size: 1.625rem; }
.section-heading-sm { font-size: 1.5rem; }
.content-heading, .content-heading-strong { font-size: 1.375rem; font-weight: 600; margin-bottom: var(--space-5); line-height: var(--leading-heading); }
.content-heading-strong { font-weight: 700; }
.item-heading, .code-section-heading { font-size: var(--text-base); font-weight: 700; }
.list-heading { font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-2); }
.action-row, .action-row-wide, .action-row-tight { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.action-row-wide { gap: var(--space-4); }
.action-row-tight { gap: var(--space-2); }
.action-wrap, .action-wrap-tight { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.action-wrap-tight { gap: var(--space-2); }
.stack-list, .form-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.form-stack { gap: var(--space-4); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-4); font-family: var(--font-mono); font-size: var(--text-xs); }
.modal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--border); padding-bottom: var(--space-3); }
.modal-category { font-size: var(--text-xs); font-weight: 600; color: var(--accent); }
.modal-heading { font-size: 1.375rem; font-weight: 700; margin-top: var(--space-4); line-height: var(--leading-heading); }
.modal-description { margin-top: var(--space-3); line-height: var(--leading-body); }
.modal-card-project { max-width: 640px; }
.surface-panel { padding: var(--space-8); }
.section-header-compact { margin-bottom: var(--space-5); }
.resource-link { padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg); display: block; }
.resource-link:hover { border-color: var(--border-strong); background: var(--bg-hover); }
.resource-heading { font-size: 0.9375rem; font-weight: 600; margin-top: var(--space-2); }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.surface-inset { padding: var(--space-5); background: var(--bg-subtle); box-shadow: none; }
.workflow-description { margin-top: var(--space-2); font-size: var(--text-sm); }
.control-compact, .copy-control { height: 28px; font-size: var(--text-xs); }
.control-mini { height: 24px; font-size: var(--text-xs); }
.card-footer-row { margin-top: var(--space-6); display: flex; justify-content: space-between; align-items: center; }
.row-between, .row-between-center { display: flex; justify-content: space-between; }
.row-between-center { align-items: center; }
.card-footer-row, .row-between, .row-between-center { flex-wrap: wrap; gap: var(--space-2); }
.intro-actions { margin-top: var(--space-8); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.profile-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--space-5); }
.profile-layout { display: flex; gap: var(--space-6); align-items: flex-start; flex-wrap: wrap; }
.profile-copy { flex: 1; min-width: min(240px, 100%); }
.profile-name { font-size: 1.5rem; font-weight: 700; letter-spacing: var(--tracking-tight); }
.profile-role { font-size: var(--text-sm); font-weight: 600; color: var(--accent); margin-top: var(--space-1); }
.profile-lists { margin-top: var(--space-7); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.contact-surface, .contact-channel { padding: var(--space-4); background: var(--bg); }
.contact-channel { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.contact-channel > div { min-width: 0; }
.contact-label { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-muted); }
.contact-value, .contact-value-mono, .contact-value-email { font-size: var(--text-sm); font-weight: 500; margin-top: var(--space-1); overflow-wrap: anywhere; }
.contact-value-mono, .contact-value-email { font-family: var(--font-mono); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.map-frame { margin-top: var(--space-5); overflow: hidden; height: 220px; background: var(--bg-glass); }
.embed-borderless { border: 0; }
.video-frame { aspect-ratio: 16 / 9; max-height: 480px; width: 100%; overflow: hidden; background: #0c0d10; }
.video-embed { border: 0; width: 100%; height: 100%; }
.error-main { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-content { max-width: 620px; padding: var(--space-16) var(--space-5); }
.centered-eyebrow { justify-content: center; }
.error-lead { margin: var(--space-5) auto 0; }
.error-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-7); }
.mmw-stage-border { border-bottom: 1px solid var(--border); }
.mmw-stage { height: min(84svh, 740px); min-height: 500px; }
.mmw-hud-spread { justify-content: space-between; }
.hero-heading { max-width: 19ch; }
.hero-lead { margin-top: var(--space-6); }
.about-copy { margin-top: var(--space-3); max-width: 56ch; }
.db-summary { margin-top: var(--space-6); padding: var(--space-5); background: var(--bg-subtle); box-shadow: none; }
.db-status { font-size: var(--text-sm); color: var(--emerald); }
.db-summary-list { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--text-sm); }
.code-section-heading { margin-bottom: var(--space-2); }
.code-intro { margin-bottom: var(--space-3); }
.specificity-panel { margin-top: var(--space-4); padding: var(--space-5); background: var(--bg-subtle); box-shadow: none; }
.specificity-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.specificity-input { margin-top: var(--space-3); font-family: var(--font-mono); font-size: var(--text-sm); }
.profile-monogram { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-3); }
.profile-initials { font-size: 2.5rem; font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1; color: var(--fg); }
.profile-caption { font-size: var(--text-xs); font-weight: 600; color: var(--fg-muted); margin-top: var(--space-2); }
.row-hidden { display: none; }
.form-feedback { display: none; font-family: var(--font-mono); font-size: var(--text-xs); padding: var(--space-3); border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); }
.mmw-word-input { width: 100px; padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); background: var(--bg-glass); color: var(--fg); font-size: var(--text-xs); }
.mmw-word-input::placeholder { color: var(--fg-muted); opacity: 1; }
.code-run-control { min-height: 24px; font-size: var(--text-xs); padding: 0 10px; border-radius: var(--radius-full); background: var(--accent-solid); color: #fff; font-weight: 600; }
.live-clock { font-style: normal; color: var(--fg); }
.schedule-day { font-weight: 600; color: var(--fg); }
.skip-link { position: fixed; top: var(--space-3); left: var(--space-3); z-index: 1000; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--fg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Keep text and controls readable when content or user text size grows. */
.bento-divide-grid > *, .card-grid-3 > *, .card-grid-2 > * { min-width: 0; }
.btn, .btn-primary-pill { white-space: normal; height: auto; min-height: 44px; padding-block: var(--space-2); text-align: center; }
.btn-primary-pill { min-height: 30px; padding-block: var(--space-1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--fg-muted); opacity: 1; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.btn-primary:active, .btn-primary-pill:active { background: var(--btn-primary-active); transform: translateY(1px); }
.studio-marquee:hover .studio-marquee-track, .studio-marquee:focus-within .studio-marquee-track { animation-play-state: paused; }

@media (hover: none) {
  .bento-cell:hover, .craft-card:hover { transform: none; }
}
@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; height: auto; min-height: 56px; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
  .header-actions { flex-wrap: wrap; gap: var(--space-2); }
  .main-nav { top: 100%; }
  .bento-cell, .surface-panel { padding: var(--space-6); }
  .card-body { padding: var(--space-5); }
  .page-intro, .home-intro { padding-block: var(--space-10) var(--space-7); }
  .section-pad { padding-bottom: var(--space-10); }
  .section-end, .section-end-lg { padding-bottom: var(--space-12); }
  .workflow-grid, .profile-lists, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-copy { min-width: 0; flex-basis: 100%; }
  .chip-group { border-radius: var(--radius-lg); }
  .chip { min-height: 44px; }
  .pill-control, .mobile-menu-btn { min-height: 44px; }
  .mobile-menu-btn { min-width: 44px; }
  .nav-link { min-height: 44px; }
  .modal-card { padding: var(--space-5); max-height: 85svh; overflow-y: auto; }
  .error-content { padding: var(--space-12) 0; }
  .form-input, .form-select, .form-textarea { font-size: var(--text-base); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .bento-cell:hover, .craft-card:hover { transform: none; }
}
@media (forced-colors: active) {
  :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: Highlight; }
  .ring-frame, .bento-cell, .craft-card { border-color: CanvasText; }
}
.map-frame iframe { display: block; width: 100%; height: 100%; }
/* ==========================================================================
   TUR 2 · Open-sky editorial system
   Public scopes deliberately keep the CMS and Life OS component contracts intact.
   ========================================================================== */
.public-page {
  --container-max: 1240px;
  --text-display: clamp(3rem, 6.6vw, 6.1rem);
  --text-heading: clamp(2rem, 3.9vw, 3.5rem);
  --fg: #f1f0eb;
  --fg-secondary: #dedfe1;
  --fg-muted: #bec7d2;
  --fg-subtle: #b2bdca;
  --accent: #c2d4e2;
  --accent-solid: #536b80;
  --accent-glow: rgba(184, 207, 226, .12);
  --bg-elevated: rgba(23, 32, 44, .74);
  --bg-glass: rgba(22, 31, 43, .68);
  --bg-subtle: rgba(193, 210, 226, .06);
  --border: rgba(222, 232, 242, .16);
  --border-strong: rgba(233, 241, 247, .32);
  --btn-primary-bg: #e4e9e9;
  --btn-primary-fg: #1d2b38;
  --btn-primary-hover: #fff6e9;
  --btn-primary-active: #cbd7df;
  --shadow-card: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 14px -10px rgba(4,12,23,.2), 0 30px 65px -38px rgba(4,12,23,.5);
  --shadow-card-hover: inset 0 1px 0 rgba(255,255,255,.2), 0 28px 65px -30px rgba(4,12,23,.45);
  --glass-blur: 20px;
}
html.light .public-page {
  --fg: #253444;
  --fg-secondary: #354657;
  --fg-muted: #45586b;
  --fg-subtle: #4d6072;
  --accent: #36536a;
  --accent-solid: #36536a;
  --accent-glow: rgba(54, 83, 106, .09);
  --bg-elevated: rgba(250, 249, 246, .66);
  --bg-glass: rgba(250, 249, 246, .64);
  --bg-subtle: rgba(54, 76, 96, .045);
  --border: rgba(53, 75, 94, .17);
  --border-strong: rgba(53, 75, 94, .32);
  --btn-primary-bg: #2f485e;
  --btn-primary-fg: #fffaf3;
  --btn-primary-hover: #20394e;
  --btn-primary-active: #182e40;
  --shadow-card: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 14px -10px rgba(47,65,82,.08), 0 30px 65px -38px rgba(47,65,82,.24);
  --shadow-card-hover: inset 0 1px 0 rgba(255,255,255,.95), 0 28px 65px -30px rgba(47,65,82,.25);
}
.public-page .site-header {
  height: 78px;
  background: var(--bg-glass);
  backdrop-filter: saturate(130%) blur(24px);
  -webkit-backdrop-filter: saturate(130%) blur(24px);
  box-shadow: 0 8px 32px -24px rgba(20,35,50,.3);
}
.public-page .header-inner { gap: 18px; }
.public-page .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; background: var(--fg); color: var(--btn-primary-fg); }
.public-page .brand-logo { font-size: 14px; gap: 12px; }
.public-page .nav-link { font-size: 12px; padding: 8px 11px; }
.public-page .nav-link.active { background: transparent; box-shadow: inset 0 -1px 0 var(--fg); border-radius: 0; }
.public-page .pill-control { background: transparent; min-height: 34px; }
.public-page .header-actions .pill-control { padding-inline: 10px; }
.public-page .main-nav { top: 100%; }
@supports (animation-timeline: scroll()) {
  @keyframes studio-header-compact {
    from { height: 78px; background: var(--bg-glass); }
    to { height: 58px; background: var(--bg-elevated); }
  }
  .public-page .site-header {
    animation: studio-header-compact linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 220px;
  }
}
.public-page .eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; line-height: 1.7; font-weight: 400; }
.public-page h1.display-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }
.public-page .section-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.public-page .serif-italic { color: var(--fg); letter-spacing: -.04em; }
.public-page .lead-text { line-height: 1.8; font-size: clamp(16px, 1.35vw, 18px); }
.public-page .section-subtitle { font-size: 14px; line-height: 1.75; max-width: 62ch; margin-top: 14px; }
.public-page .page-intro { padding-top: clamp(70px, 10vw, 136px); padding-bottom: 72px; }
.public-page .section-pad { padding-bottom: clamp(80px, 10vw, 144px); }
.public-page .section-end-lg { padding-bottom: 120px; }
.public-page .section-header { margin-bottom: 36px; }
.public-page .btn { min-height: 50px; padding: 13px 24px; font-size: 13px; font-weight: 600; border-radius: 14px; gap: 12px; }
.public-page .btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: transparent; box-shadow: 0 5px 14px -9px rgba(10,25,40,.4); }
.public-page .btn-primary:hover { background: var(--btn-primary-hover); }
.public-page .btn-primary:active { background: var(--btn-primary-active); }
.public-page .btn-primary-pill { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.public-page .btn-secondary { background: transparent; border: 1px solid var(--border-strong); color: var(--fg); }
.public-page .btn-secondary:hover { background: var(--bg-subtle); }
.public-page .chip-group { border-radius: 18px; background: var(--bg-glass); padding: 6px; gap: 6px; }
.public-page .chip { min-height: 40px; padding: 9px 18px; font-size: 12px; border-radius: 12px; }
.public-page .chip.active { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: var(--shadow-subtle); }
.public-page .ring-frame, .public-page .bento-cell, .public-page .craft-card { background: var(--bg-elevated); border-color: var(--border); }
.public-page .bento-cell { padding: clamp(26px, 3.2vw, 46px); }
.public-page .bento-divide-grid { gap: 24px; }
.public-page .card-meta { font-family: var(--font-mono); font-size: 9px; line-height: 1.8; letter-spacing: .07em; color: var(--fg-muted); }
.public-page .card-title { font-family: var(--font-display); font-size: 25px; font-weight: 500; letter-spacing: -.03em; }
.public-page .card-desc { font-size: 14px; line-height: 1.85; }
.public-page .card-body { padding: 28px; gap: 14px; }
.public-page .card-preview { background: rgba(38,53,68,.16); }
.public-page .card-preview > img, .public-page .card-preview > svg { transition: transform .8s var(--ease-out); }
.public-page .craft-card:hover .card-preview > :is(img, svg) { transform: scale(1.04); }
.public-page .tag-pill { font-size: 10px; letter-spacing: .01em; background: transparent; padding: 4px 9px; }
.public-page .resource-link { background: transparent; border-radius: 14px; padding: 19px; }
.public-page .resource-link:hover { background: var(--bg-subtle); }
.public-page .code-window { box-shadow: none; border-color: var(--border); }
.public-page .code-window-header { background: var(--bg-subtle); }
.public-page .site-footer { margin-top: 40px; padding: 60px 0 32px; background: var(--bg-glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.public-page .footer-inner { gap: 32px; }
.public-page .footer-topline, .public-page .footer-bottomline { width: 100%; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: center; }
.public-page .footer-topline { padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.public-page .footer-signature { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; color: var(--fg); }
.public-page .footer-signature > span { display: block; font: 10px/1.7 var(--font-mono); letter-spacing: .08em; color: var(--fg-muted); margin-top: 14px; }
.public-page .footer-invitation { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 3vw, 38px); color: var(--fg); }
.public-page .footer-invitation:hover { text-decoration: underline; text-underline-offset: 7px; }
.public-page .footer-utilities { display: flex; flex-wrap: wrap; gap: 8px; }
.public-page .footer-bottomline { font-size: 11px; }
/* Home: the sky is a full opening scene; content returns as an editorial spread. */
.home-page .home-sky-stage { position: relative; border-bottom: 0; }
.home-page .mmw-stage { height: min(82svh, 810px); min-height: 570px; }
.home-page .sky-caption { position: absolute; left: max(24px, calc((100vw - 1192px)/2)); top: 34%; z-index: 2; display: flex; flex-direction: column; gap: 10px; pointer-events: none; font: 10px/1.8 var(--font-mono); letter-spacing: .12em; color: var(--fg-muted); }
.home-page .sky-caption strong { font: italic 30px/1.2 var(--font-serif); color: var(--fg); letter-spacing: -.02em; }
.home-page .studio-marquee { padding: 23px 0; background: transparent; border-top: 1px solid var(--border); backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-page .studio-marquee-track { font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 21px); font-weight: 400; letter-spacing: -.015em; text-transform: none; gap: 44px; animation-duration: 48s; }
.home-page .studio-marquee-track u { font-size: 12px; opacity: .6; }
.home-page .home-intro { padding: clamp(80px, 10vw, 140px) 0 96px; }
.home-page .home-intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 8%; margin-top: 36px; }
.home-page .hero-heading { max-width: 14ch; font-size: clamp(3rem, 5.8vw, 5.35rem); }
.home-page .hero-heading .serif-italic { display: block; }
.home-page .hero-heading .underline-accent { color: var(--fg-muted); }
.home-page .home-intro-aside { padding-bottom: 8px; }
.home-page .hero-lead { margin-top: 0; }
.home-page .intro-actions-primary { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-page .intro-utility-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; font-size: 11px; color: var(--fg-muted); }
.home-page .intro-utility-links :is(a,button) { border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; }
.home-page .studio-status-pill { background: transparent; border: 0; box-shadow: none; padding: 0; font-size: 11px; }
.home-page .section-heading-row { display: flex; align-items: start; gap: 22px; }
.home-page .section-index { font: 10px/1.8 var(--font-mono); color: var(--fg-muted); letter-spacing: .08em; padding-top: 5px; }
.home-page .architecture-story { grid-column: span 7; }
.home-page .architecture-console { grid-column: span 5; margin-top: 70px; }
.home-page .architecture-story .section-title { font-size: clamp(28px, 3.3vw, 42px); max-width: 18ch; }
.home-page .architecture-console .section-title { font-size: 28px; }
.home-page .db-summary { background: transparent; border-radius: 14px; padding: 18px 0; border-inline: 0; }
.home-page .db-summary-list { font-size: 11px; gap: 20px; }
.home-page .home-process-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px; }
.home-page .process-story { grid-column: span 7; background: transparent; box-shadow: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-page .process-story:hover { transform: none; }
.home-page .process-faq { grid-column: span 5; align-self: start; }
.home-page .workflow-grid { gap: 0 28px; margin-top: 38px; }
.home-page .workflow-grid .surface-inset { border: 0; border-top: 1px solid var(--border-strong); border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 24px 0; }
.home-page .studio-step-num { font: italic 42px/1 var(--font-serif); color: var(--fg-muted); margin-bottom: 20px; }
.home-page .item-heading { font-size: 15px; }
.home-page .apple-faq { gap: 0; margin-top: 30px; }
.home-page .apple-faq details { padding: 20px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-page .apple-faq summary { font-size: 13px; line-height: 1.7; gap: 18px; }
.home-page .apple-faq details p { font-size: 12px; line-height: 1.9; }
@media (min-width: 961px) {
  .home-page #home-projects-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .home-page #home-projects-grid .craft-card:nth-child(2) { margin-top: 56px; }
  .home-page #home-projects-grid .craft-card:nth-child(3) { margin-top: 112px; }
}
@media (max-width: 1100px) {
  .public-page .brand-logo #site-owner-name { display: none; }
}
@media (max-width: 960px) {
  .public-page .site-header { height: 66px; }
  .home-page .architecture-story, .home-page .architecture-console { grid-column: span 12; }
  .home-page .architecture-console { margin-top: 0; }
  .home-page .home-process-grid { gap: 32px; }
  .home-page .process-story, .home-page .process-faq { grid-column: span 12; }
}
@media (max-width: 760px) {
  .public-page .container { padding-inline: 22px; }
  .public-page .header-inner { padding: 10px 16px; min-height: 62px; gap: 10px; flex-wrap: nowrap; }
  .public-page .site-header { height: auto; animation: none; }
  .public-page .header-actions { gap: 5px; flex-wrap: nowrap; }
  .public-page .header-actions .pill-control { font-size: 10px; padding-inline: 8px; min-height: 38px; }
  .public-page .header-actions .btn-primary-pill { display: none; }
  .public-page .mobile-menu-btn { min-width: 38px; min-height: 38px; }
  .public-page .section-pad { padding-bottom: 80px; }
  .public-page .section-header { gap: 24px; }
  .public-page .bento-cell, .public-page .surface-panel { padding: 26px; }
  .public-page .section-title { font-size: clamp(28px, 8vw, 42px); }
  .public-page .card-body { padding: 24px; }
  .public-page .footer-topline, .public-page .footer-bottomline { align-items: flex-start; flex-direction: column; }
  .public-page .footer-utilities { gap: 10px; }
  .public-page .mode-switch-pill { flex-wrap: wrap; border-radius: 14px; }
  .home-page .home-intro-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .home-page .hero-heading { max-width: 15ch; font-size: clamp(43px, 11vw, 70px); }
  .home-page .home-intro { padding-block: 72px 64px; }
  .home-page .studio-status-pill { flex-wrap: wrap; justify-content: flex-start; line-height: 1.8; }
  .home-page .mmw-stage { min-height: 650px; height: 84svh; }
  .home-page .sky-caption { top: 44%; left: 22px; }
  .home-page .sky-caption strong { font-size: 23px; }
  .home-page .process-story { padding: 0; }
  .home-page .workflow-grid { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .home-page .section-heading-row { gap: 14px; }
}
@media (max-width: 400px) {
  .public-page .header-actions #cmdk-trigger { display: none; }
  .home-page .workflow-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .public-page .site-header { animation: none; }
  .public-page .craft-card:hover .card-preview > :is(img, svg) { transform: none; }
}

/* hakkimda.html · page composition */
/* Editorial profile folio; intentionally scoped away from administration. */
.about-page .about-intro{padding-top:clamp(45px,7vw,94px);padding-bottom:68px;margin-bottom:48px}
.about-page .about-folio,.about-page .about-section-kicker,.about-page .schedule-caption{display:flex;justify-content:space-between;gap:20px;font:10px/1.6 var(--font-mono);letter-spacing:.1em;color:var(--fg-muted)}
.about-page .about-folio{padding-bottom:20px;border-bottom:1px solid var(--border-strong);margin-bottom:56px}
.about-page .profile-header{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:end;gap:36px}
.about-page .display-title{font-size:clamp(58px,7.8vw,104px);line-height:1.02;letter-spacing:-.065em;margin-top:23px;max-width:950px}
.about-page .display-title em{font-weight:400;letter-spacing:-.045em}
.about-page .lead-text{max-width:57ch;font-size:16px;line-height:1.9;margin-top:30px;color:var(--fg-secondary);text-wrap:pretty}
.about-page .profile-header .action-wrap{flex-direction:column-reverse;align-items:stretch;gap:12px;padding-bottom:8px}
.about-page [data-xray-toggle]{background:transparent;box-shadow:none;border-color:transparent;font-size:12px}
.about-page .bento-divide-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px}
.about-page .about-biography .bento-cell{grid-column:auto;padding:0;border:none;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;justify-content:flex-start}
.about-page .about-biography .bento-cell:hover{transform:none;box-shadow:none}
.about-page .about-section-kicker{border-bottom:1px solid var(--border-strong);padding-bottom:18px;margin-bottom:30px}
.about-page .about-section-kicker span:last-child{font-size:9px;letter-spacing:0}
.about-page .profile-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px;align-items:start}
.about-page .portrait-card{width:140px;height:190px;border-radius:70px 70px 12px 12px;border:1px solid var(--border-strong);background:var(--bg-subtle);overflow:hidden;box-shadow:inset 0 1px 0 var(--surface-highlight);position:relative;flex-shrink:0}
.about-page .portrait-card:before{content:'';position:absolute;inset:12px;border:1px solid var(--border);border-radius:60px 60px 6px 6px;pointer-events:none}
.about-page .profile-monogram{width:100%;height:100%}
.about-page .profile-initials{font:italic 58px/1 var(--font-serif);letter-spacing:-.08em}
.about-page .profile-caption{font:8px var(--font-mono);letter-spacing:.12em;margin-top:18px}
.about-page #profile-avatar-img{width:100%;height:100%;object-fit:cover;object-position:50% 80%;transform:scale(1.36);transform-origin:50% 78%}
.portal-concept-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;font:600 11px/1.2 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg);background:color-mix(in srgb,var(--bg-elevated) 72%,transparent);border:1px solid var(--border-strong);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);margin-bottom:16px}
.flight-hud-card{padding:26px;border-radius:22px;background:color-mix(in srgb,var(--bg-elevated) 76%,transparent);border:1px solid var(--border-strong);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);display:grid;gap:16px}
.flight-hud-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font:600 10px/1.2 var(--font-mono);letter-spacing:.12em;color:var(--fg-muted);padding-bottom:12px;border-bottom:1px solid var(--border-subtle)}
.flight-hud-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.flight-hud-stat{padding:14px 12px;border-radius:14px;background:color-mix(in srgb,var(--fg) 5%,transparent);border:1px solid var(--border-subtle);text-align:center}
.flight-hud-stat strong{display:block;font:600 22px/1.2 var(--font-display);color:var(--fg)}
.flight-hud-stat span{display:block;margin-top:4px;font:600 9.5px/1.3 var(--font-mono);letter-spacing:.08em;color:var(--fg-muted)}
.flight-route-list{display:grid;gap:10px;list-style:none;margin:0;padding:0}
.flight-route-list li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:baseline;font-size:13px;line-height:1.5;color:var(--fg-secondary)}
.flight-route-list strong{font:700 11px/1.2 var(--font-mono);color:var(--fg);letter-spacing:.06em}
@media(max-width:600px){.flight-hud-stats{grid-template-columns:1fr}}
.about-page .profile-name{font:500 26px/1.25 var(--font-display);letter-spacing:-.04em}
.about-page .profile-role{font-size:11px;line-height:1.65;margin-top:10px;color:var(--fg-secondary)}
.about-page .profile-copy .card-desc{font-size:13px;line-height:1.9}
.about-page .editorial-quote{font:400 clamp(25px,3vw,37px)/1.3 var(--font-display);letter-spacing:-.035em;border:0;padding:20px 0 0;color:var(--fg);background:none}
.about-page .editorial-quote em{font-family:var(--font-serif);font-weight:400}
.about-page .about-skills{border-top:1px solid var(--border-strong)!important;padding-top:20px!important}
.about-page .about-skills .content-heading-strong{font:500 29px/1.2 var(--font-display);letter-spacing:-.035em;max-width:13ch;margin-top:12px;margin-bottom:32px}
.about-page .skill-list{gap:22px}
.about-page .skill-header{font-size:11px;line-height:1.6;gap:12px;margin-bottom:9px}
.about-page .skill-pct{font:10px var(--font-mono);color:var(--fg-muted)}
.about-page .skill-track{height:3px;border-radius:0;background:var(--border-strong);overflow:visible}
.about-page .skill-fill{height:3px;background:var(--fg-secondary);border-radius:0;box-shadow:none}
.about-page .profile-lists{margin-top:36px;gap:26px}
.about-page .list-heading{font-size:12px}
.about-page .styled-ul,.about-page .styled-ol{font-size:11px;line-height:1.85}
.about-page .about-biography{margin-bottom:130px}
.about-page .about-lab{border-top:1px solid var(--border-strong);padding-top:35px;margin-bottom:140px}
.about-page .about-lab-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:60px;align-items:start}
.about-page .code-section-heading{font:500 clamp(30px,4vw,44px)/1.1 var(--font-display);letter-spacing:-.04em;margin:18px 0}
.about-page .code-section-heading em{font-weight:400}
.about-page .code-intro{font-size:13px;line-height:1.9;max-width:46ch}
.about-page .code-block{margin-top:24px;padding:20px 0 20px 20px;border:0;border-left:1px solid var(--border-strong);background:none;box-shadow:none;border-radius:0;font-size:10px;line-height:1.9;white-space:pre-wrap;color:var(--fg-secondary)}
.about-page .specificity-panel{margin:0;padding:28px;border-radius:22px;background:color-mix(in srgb,var(--bg-elevated) 70%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--shadow-subtle)}
.about-page .specificity-toolbar{align-items:start;gap:20px}
.about-page .specificity-toolbar .modal-category{font:10px var(--font-mono);letter-spacing:.05em;color:var(--fg-muted)}
.about-page .specificity-toolbar .action-wrap-tight{gap:6px}
.about-page .specificity-toolbar .control-mini{min-height:30px;height:auto;padding:5px 10px;font:9px/1.5 var(--font-mono)}
.about-page .spec-input-label{display:block;margin-top:24px;font-size:11px;color:var(--fg-muted)}
.about-page .specificity-input{font-size:12px;margin-top:10px;border-radius:10px;background:var(--bg-subtle)}
.about-page .spec-matrix{gap:0;margin-top:28px;border-top:1px solid var(--border-strong);padding-top:22px}
.about-page .spec-box{padding:0 5px;background:none;border:0;border-right:1px solid var(--border);border-radius:0}
.about-page .spec-box:last-child{border:0}
.about-page .spec-digit{font:400 44px/1.2 var(--font-display);color:var(--fg)}
.about-page .spec-label{font:8px/1.5 var(--font-mono);margin-top:8px;letter-spacing:.02em}
.about-page .about-schedule{margin-bottom:130px}
.about-page .about-schedule .section-header{margin-bottom:35px}
.about-page .about-schedule .section-title{font:500 clamp(32px,4.6vw,51px)/1.15 var(--font-display);letter-spacing:-.045em;margin-top:15px}
.about-page .about-schedule .section-subtitle{font-size:13px;margin-top:18px}
.about-page .schedule-caption{padding:14px 0;border-top:1px solid var(--border-strong)}
.about-page .table-wrapper{border-radius:18px;background:color-mix(in srgb,var(--bg-elevated) 72%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-subtle)}
.about-page .data-table{font-size:11px;min-width:850px}
.about-page .data-table th{font:9px/1.6 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;background:var(--bg-subtle);padding:20px}
.about-page .data-table td{padding:24px 20px;line-height:1.7}
.about-page .data-table td:nth-child(2){white-space:nowrap;font:10px var(--font-mono)}
.about-page .data-table td:nth-child(3){font-weight:500;min-width:220px}
.about-page .data-table td:last-child{color:var(--fg-muted);max-width:280px}
.about-page .data-table .tag-pill{font-size:9px;padding:5px 9px;white-space:nowrap;background:var(--bg-subtle)}
.about-page .about-video .surface-panel{padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible}
.about-page .about-video .section-header{align-items:end;margin-bottom:30px;gap:24px}
.about-page .about-video .section-title{font:500 clamp(27px,3.5vw,38px)/1.2 var(--font-display);letter-spacing:-.035em;margin-top:15px}
.about-page .about-video .section-subtitle{max-width:58ch;font-size:12px;margin-top:15px}
.about-page .video-frame{max-height:none;border-radius:24px;box-shadow:var(--shadow-card)}
.about-page .footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:45px;margin-bottom:24px;border-bottom:1px solid var(--border-strong)}
.about-page .footer-invitation p{font:500 clamp(28px,4vw,45px)/1.2 var(--font-display);letter-spacing:-.04em}
@media(max-width:900px){.about-page .profile-header{grid-template-columns:1fr}.about-page .profile-header .action-wrap{flex-direction:row-reverse;justify-content:flex-end}.about-page .bento-divide-grid{gap:35px}.about-page .profile-layout{grid-template-columns:1fr}.about-page .profile-copy{min-width:0}.about-page .about-lab-grid{gap:30px}}
@media(max-width:760px){.about-page .about-intro{padding-top:34px;padding-bottom:20px;margin-bottom:60px}.about-page .about-folio{font-size:8px;margin-bottom:35px;gap:12px}.about-page .display-title{font-size:clamp(48px,11.5vw,78px)}.about-page .lead-text{font-size:14px}.about-page .bento-divide-grid,.about-page .about-lab-grid{grid-template-columns:1fr;gap:55px}.about-page .about-biography,.about-page .about-lab,.about-page .about-schedule{margin-bottom:85px}.about-page .profile-layout{grid-template-columns:112px minmax(0,1fr);gap:20px}.about-page .portrait-card{width:112px;height:156px}.about-page .profile-name{font-size:23px}.about-page .profile-copy .card-desc{font-size:12px}.about-page .profile-lists{grid-template-columns:1fr 1fr}.about-page .specificity-panel{padding:22px 17px}.about-page .schedule-caption{font-size:8px;gap:10px}.about-page .footer-invitation{flex-direction:column;align-items:start}.about-page .spec-label{font-size:7px}}
@media(max-width:420px){.about-page .profile-layout{grid-template-columns:1fr}.about-page .profile-lists{grid-template-columns:1fr}}
@media print{.about-page .about-folio,.about-page .footer-invitation{display:none}.about-page .about-intro{padding-top:0}.about-page .bento-divide-grid{grid-template-columns:1fr 1fr}.about-page .about-biography,.about-page .about-lab,.about-page .about-schedule{margin-bottom:30px}}


/* projeler.html · page composition */
/* Portfolio art direction is scoped to protect shared application surfaces. */
    .projects-page .projects-intro { display:grid; grid-template-columns:minmax(0,1fr) 245px; gap:clamp(40px,8vw,120px); align-items:end; padding-top:clamp(72px,10vw,140px); padding-bottom:82px; }
    .projects-page .projects-intro .eyebrow { max-width:560px; font-size:10px; letter-spacing:.16em; line-height:1.8; color:var(--fg-muted); }
    .projects-page .projects-intro .display-title { max-width:880px; font-size:clamp(48px,6.9vw,94px); line-height:1.04; letter-spacing:-.065em; text-wrap:balance; margin-top:24px; }
    .projects-page .projects-intro .display-title em { font-weight:400; letter-spacing:-.045em; }
    .projects-page .projects-intro .display-title > span:last-child { display:block; font-size:.55em; line-height:1.3; letter-spacing:-.04em; margin-top:15px; color:var(--fg-muted); }
    .projects-page .projects-intro .lead-text { max-width:550px; margin-top:30px; font-size:16px; line-height:1.85; text-wrap:pretty; }
    .projects-page .projects-colophon { position:relative; border-top:1px solid var(--border-strong); padding:20px 0 0; align-self:end; margin-bottom:8px; }
    .projects-page .projects-edition,.projects-page .projects-colophon-meta,.projects-page .projects-collection-heading { font-family:var(--font-mono,monospace); font-size:9px; letter-spacing:.1em; line-height:1.6; color:var(--fg-muted); }
    .projects-page .projects-edition { display:flex; justify-content:space-between; }
    .projects-page .projects-edition > span { font-family:var(--font-sans); font-size:24px; line-height:1; }
    .projects-page .projects-colophon-title { font-size:40px; letter-spacing:-.055em; line-height:1.12; margin:30px 0 50px; }
    .projects-page .projects-colophon-meta { display:flex; justify-content:space-between; font-size:8px; }
    .projects-page .projects-flight-mark { position:absolute; width:118px; height:48px; right:0; bottom:38px; opacity:.42; }
    .projects-page .projects-collection { margin-top:32px; padding-top:25px; border-top:1px solid var(--border-strong); }
    .projects-page .projects-collection-heading { display:flex; justify-content:space-between; gap:20px; }
    .projects-page .projects-filters { gap:9px; margin:22px 0 35px; }
    .projects-page .projects-filters .chip { font-size:11px; padding:11px 18px; border:1px solid var(--border); border-radius:999px; background:var(--bg-elevated); color:var(--fg-muted); box-shadow:none; transition:background .3s,color .3s,border-color .3s; }
    .projects-page .projects-filters .chip:hover { border-color:var(--border-strong); color:var(--fg); }
    .projects-page .projects-filters .chip.active { background:var(--fg); border-color:var(--fg); color:var(--bg); }
    .projects-page #dynamic-projects-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
    .projects-page #dynamic-projects-grid .craft-card { background:var(--bg-elevated); border-radius:23px; border:1px solid var(--border); box-shadow:0 8px 28px rgb(0 0 0 / .035); }
    .projects-page #dynamic-projects-grid .craft-card:hover { transform:translateY(-5px); box-shadow:0 20px 48px rgb(0 0 0 / .10); }
    .projects-page #dynamic-projects-grid .card-preview { aspect-ratio:16/10; padding:clamp(20px,3.2vw,42px); background:rgba(143,157,166,.12); border-bottom:1px solid var(--border); }
    .projects-page #dynamic-projects-grid .craft-card:nth-child(3n + 2) .card-preview { background:rgba(173,144,119,.13); }
    .projects-page #dynamic-projects-grid .craft-card:nth-child(3n) .card-preview { background:rgba(124,148,139,.13); }
    .projects-page #dynamic-projects-grid .card-preview > :is(svg,img) { width:100%; height:100%; object-fit:cover; border-radius:11px; overflow:hidden; box-shadow:0 14px 30px rgb(0 0 0 / .18); transition:transform .7s cubic-bezier(.16,1,.3,1); }
    .projects-page #dynamic-projects-grid .craft-card:hover .card-preview > :is(svg,img) { transform:scale(1.035) rotate(-.4deg); }
    .projects-page #dynamic-projects-grid .card-body { padding:30px; gap:15px; }
    .projects-page #dynamic-projects-grid .card-meta { font-family:var(--font-mono,monospace); font-size:9px; letter-spacing:.06em; color:var(--fg-muted); align-items:start; line-height:1.6; }
    .projects-page #dynamic-projects-grid .card-meta > span:last-child { border:1px solid var(--border); border-radius:5px; padding:2px 6px; font-size:8px; flex-shrink:0; }
    .projects-page #dynamic-projects-grid .card-title { font-size:clamp(23px,2.2vw,31px); line-height:1.22; letter-spacing:-.045em; text-wrap:balance; }
    .projects-page #dynamic-projects-grid .card-desc { font-size:13px; line-height:1.85; text-wrap:pretty; }
    .projects-page #dynamic-projects-grid .tag-list { gap:7px; padding-top:22px; margin-top:auto; border-top:1px solid var(--border); align-items:center; }
    .projects-page #dynamic-projects-grid .tag-pill { background:transparent; border:0; padding:0 8px 0 0; font-size:10px; color:var(--fg-muted); }
    .projects-page #dynamic-projects-grid .tag-list .pill-control { font-size:11px; min-height:36px; padding:8px 12px; }
    .projects-page .projects-gallery { padding-bottom:clamp(90px,13vw,180px); }
    @media (min-width:1000px) {
      .projects-page #dynamic-projects-grid .craft-card:first-child { grid-column:1/-1; display:grid; grid-template-columns:1.15fr 1fr; }
      .projects-page #dynamic-projects-grid .craft-card:first-child .card-preview { aspect-ratio:auto; min-height:365px; border-bottom:0; border-right:1px solid var(--border); }
      .projects-page #dynamic-projects-grid .craft-card:first-child .card-body { justify-content:center; padding:clamp(32px,4vw,60px); }
      .projects-page #dynamic-projects-grid .craft-card:first-child .card-title { font-size:36px; }
      .projects-page #dynamic-projects-grid .craft-card:first-child .tag-list { margin-top:15px; }
    }
    @media (max-width:760px) {
      .projects-page .projects-intro { grid-template-columns:1fr; padding-top:65px; padding-bottom:42px; gap:40px; }
      .projects-page .projects-intro .display-title { font-size:clamp(43px,9.5vw,65px); }
      .projects-page .projects-intro .lead-text { font-size:14px; margin-top:24px; }
      .projects-page .projects-colophon { display:none; }
      .projects-page .projects-collection { margin-top:25px; }
      .projects-page .projects-collection-heading > span:last-child { display:none; }
      .projects-page .projects-filters { flex-wrap:wrap; gap:8px; margin-bottom:25px; }
      .projects-page .projects-filters .chip { font-size:10px; padding:10px 13px; }
      .projects-page #dynamic-projects-grid { grid-template-columns:1fr; gap:25px; }
      .projects-page #dynamic-projects-grid .card-body { padding:24px; }
      .projects-page #dynamic-projects-grid .card-preview { padding:26px; }
    }
    @media (prefers-reduced-motion:reduce) {
      .projects-page #dynamic-projects-grid .craft-card,.projects-page #dynamic-projects-grid .card-preview > :is(svg,img) { transition:none; transform:none; }
    }
/* Final shared refinements. Keep the background flock visible behind open copy. */
html:not(.light) .public-page .mmw-bg-fixed-canvas { filter: brightness(.48) saturate(.8); }
.public-page .footer-colophon { display:flex; flex-direction:column; gap:7px; }
.home-page .sky-caption { top:auto; bottom:110px; left:32px; }
.home-page .sky-caption > span:last-child { font:italic 26px/1.3 var(--font-serif); letter-spacing:0; color:var(--fg); }
.projects-page .projects-filters .chip.active { background:var(--btn-primary-bg); color:var(--btn-primary-fg); border-color:transparent; }
@media(max-width:1100px) { .public-page .brand-logo > span:last-child { display:none; } }
@media(max-width:760px) { .home-page .sky-caption { left:22px; bottom:130px; } }
@media print {
  .public-page { --fg:#17202a; --fg-secondary:#253444; --fg-muted:#45586b; --bg-elevated:#fff; --border:#ccc; --border-strong:#aaa; }
}

/* Hakkımda: kısa profil kod bloğu ve alıntı imzası */
.about-pre { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--bg-subtle, rgba(127,127,127,.08)); border: 1px solid var(--border, rgba(127,127,127,.2)); overflow-x: auto; font: 500 12.5px/1.6 var(--font-mono, ui-monospace, monospace); }
.editorial-quote footer { margin-top: 12px; font: 500 13px var(--font-sans, inherit); letter-spacing: 0; color: var(--fg-muted, inherit); }
.editorial-quote footer cite { font-style: normal; }
.editorial-quote footer cite::before { content: "— "; }

/* Ana sayfa, telefon: kelime ve atmosfer panelleri "✦ Sahne" düğmesinin arkasında */
.mmw-scene-toggle { display: none; }
@media (max-width: 760px) {
  .mmw-scene-toggle { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--glass-edge, rgba(255,255,255,.4)); background: var(--glass-tint, rgba(255,255,255,.28)); color: var(--fg, #1f2329); font: 600 13px/1 var(--font-sans, inherit); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); pointer-events: auto; }
  .mmw-hud-top:not(.is-open) > .mmw-preset-group { display: none; }
  .mmw-hud-top.is-open > .mmw-preset-group { animation: mmw-sheet-in .35s cubic-bezier(.22,1,.36,1) both; }
}
@keyframes mmw-sheet-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .mmw-hud-top.is-open > .mmw-preset-group { animation: none; } }
