/* ==========================================================================
   Tayfun Taşkın v2 — PREMIUM Modern Editorial Luxury Design System (2026)
   Unified Light (Editorial Sand) & Dark (Obsidian Espresso) Tokens
   Tactile Grain · Cursor Spotlight Bento · ⌘K Command Palette · WCAG AAA
   ========================================================================== */

:root {
  /* Light Theme — Editorial Sand, Deep Espresso & Petrol Teal */
  --bg: #f8f4ed;
  --bg-alt: #f0eae0;
  --surface: #ffffff;
  --surface-muted: #f5f0e7;
  --surface-dark: #1d1612;
  --surface-dark-2: #2a2019;
  --surface-teal: #102630;
  --surface-teal-2: #173644;

  --ink: #1b1410;
  --ink-secondary: #4c3f35;
  --ink-muted: #756559;
  --ink-on-dark: #fbf5ec;
  --ink-on-dark-muted: #d6c5b3;

  --accent: #b36b2f;
  --accent-bright: #e9bf92;
  --accent-soft: rgba(179, 107, 47, 0.11);
  --accent-border: rgba(179, 107, 47, 0.28);

  --success: #156233;
  --success-bg: #ebfbf1;
  --danger: #b42318;
  --danger-bg: #fef2f2;
  --warning: #9a5b13;
  --warning-bg: #fff9e6;
  --info: #155e75;
  --info-bg: #ecfeff;

  --border: rgba(27, 20, 16, 0.095);
  --border-strong: rgba(27, 20, 16, 0.18);
  --border-dark: rgba(251, 245, 236, 0.14);

  --header-bg: rgba(248, 244, 237, 0.82);
  --input-bg: #ffffff;
  --input-ink: #1b1410;
  --input-border: rgba(27, 20, 16, 0.2);

  --shadow-xs: 0 1px 2px rgba(24, 17, 12, 0.04);
  --shadow-sm: 0 6px 20px rgba(24, 17, 12, 0.06);
  --shadow-md: 0 16px 40px rgba(24, 17, 12, 0.095);
  --shadow-lg: 0 32px 74px rgba(16, 11, 8, 0.18);

  --radius-sm: 11px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --font-sans: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 100%;
  --gutter: clamp(20px, 4vw, 68px);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #110e0c;
  --bg-alt: #171310;
  --surface: #1d1814;
  --surface-muted: #261f1a;
  --surface-dark: #18130f;
  --surface-dark-2: #241c16;
  --surface-teal: #0e222b;
  --surface-teal-2: #15313e;

  --ink: #f7f0e6;
  --ink-secondary: #d1c3b4;
  --ink-muted: #a39383;
  --ink-on-dark: #fbf5ec;
  --ink-on-dark-muted: #ccb9a5;

  --accent: #e7bc8f;
  --accent-bright: #f2cca4;
  --accent-soft: rgba(231, 188, 143, 0.13);
  --accent-border: rgba(231, 188, 143, 0.3);

  --success: #6ee7b7;
  --success-bg: rgba(16, 185, 129, 0.14);
  --danger: #fca5a5;
  --danger-bg: rgba(239, 68, 68, 0.16);
  --warning: #fcd34d;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --info: #7dd3fc;
  --info-bg: rgba(14, 165, 233, 0.14);

  --border: rgba(247, 240, 230, 0.1);
  --border-strong: rgba(247, 240, 230, 0.2);
  --border-dark: rgba(247, 240, 230, 0.12);

  --header-bg: rgba(17, 14, 12, 0.84);
  --input-bg: #14100d;
  --input-ink: #f7f0e6;
  --input-border: rgba(247, 240, 230, 0.22);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 46px rgba(0, 0, 0, 0.48);
  --shadow-lg: 0 36px 80px rgba(0, 0, 0, 0.65);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Subtle Editorial Print-Grain & Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%);
  z-index: 250;
  pointer-events: none;
  transition: width 0.08s linear;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 700;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.45rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
h3 { font-size: clamp(1.16rem, 1.7vw, 1.42rem); letter-spacing: -0.022em; }
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.mono { font-family: var(--font-mono); font-size: 0.85em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.lead {
  font-size: clamp(1.03rem, 1.35vw, 1.19rem);
  color: var(--ink-secondary);
  line-height: 1.72;
}
.muted { color: var(--ink-muted); }

/* Availability Pulse Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(233, 191, 146, 0.12);
  color: var(--accent-bright);
  border: 1px solid rgba(233, 191, 146, 0.28);
  width: fit-content;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .btn-primary {
  background: var(--accent);
  color: #19120d;
}
.btn-primary:hover { box-shadow: var(--shadow-md); opacity: 0.95; }

.btn-accent {
  background: linear-gradient(135deg, #f0c99e 0%, #e1ae7a 100%);
  color: #1c130d;
  box-shadow: 0 8px 24px rgba(233, 191, 146, 0.26);
}
.btn-accent:hover { filter: brightness(1.04); box-shadow: 0 12px 30px rgba(233, 191, 146, 0.36); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-outline-light {
  background: rgba(251, 245, 236, 0.06);
  color: var(--ink-on-dark);
  border-color: rgba(251, 245, 236, 0.26);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(251, 245, 236, 0.14); border-color: var(--accent-bright); }

.btn-danger { background: var(--danger); color: #ffffff; }
.btn-sm { padding: 8px 16px; font-size: 0.84rem; }
.btn-icon {
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.btn-icon:hover { border-color: var(--accent); transform: translateY(-1px); }

.cmd-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink-muted); font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.cmd-trigger:hover { border-color: var(--accent); color: var(--ink); }
.cmd-trigger kbd {
  font-family: var(--font-mono); font-size: 0.72rem;
  padding: 2px 6px; border-radius: 6px;
  background: var(--surface-muted); border: 1px solid var(--border);
  color: var(--ink-secondary);
}

/* Badges & Pills */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-border);
}
.badge-success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.badge-danger { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.badge-warning { background: var(--warning-bg); color: var(--warning); border-color: transparent; }
.badge-info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.badge-neutral { background: var(--surface-muted); color: var(--ink-secondary); border-color: var(--border); }

/* Unified Sticky Header across ALL Public Pages */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-link { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-monogram {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(145deg, #251c16 0%, #140f0c 100%);
  color: var(--ink-on-dark);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; letter-spacing: -0.04em;
  flex-shrink: 0;
  border: 1px solid rgba(233, 191, 146, 0.34);
  box-shadow: 0 6px 16px rgba(18, 12, 8, 0.18);
}
.brand-monogram span { color: var(--accent-bright); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-sub { font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

.desktop-nav { display: flex; align-items: center; gap: 3px; }
.desktop-nav a {
  padding: 8px 13px; border-radius: var(--radius-pill);
  font-size: 0.89rem; font-weight: 500; color: var(--ink-secondary);
  transition: color 0.18s, background-color 0.18s;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--ink); background: var(--accent-soft);
}

.header-actions { display: flex; align-items: center; gap: 9px; }
.mobile-menu-btn { display: none; }

/* Mobile Drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 160; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(12, 9, 7, 0.58); backdrop-filter: blur(5px); }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface); color: var(--ink);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer-links { display: flex; flex-direction: column; gap: 5px; }
.mobile-drawer-links a {
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; color: var(--ink);
}
.mobile-drawer-links a:hover { background: var(--accent-soft); color: var(--accent); }

/* Command Palette Modal (Ctrl+K / ⌘K) */
.cmd-modal {
  position: fixed; inset: 0; z-index: 220;
  display: none; align-items: flex-start; justify-content: center;
  padding: 12vh 18px 24px;
}
.cmd-modal.open { display: flex; }
.cmd-backdrop { position: absolute; inset: 0; background: rgba(12, 9, 7, 0.62); backdrop-filter: blur(6px); }
.cmd-dialog {
  position: relative; z-index: 2;
  width: 100%; max-width: 560px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: fadeUp 0.22s var(--ease);
}
.cmd-input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
}
.cmd-input-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 1rem; color: var(--ink);
}
.cmd-list { max-height: 340px; overflow-y: auto; padding: 10px; display: grid; gap: 4px; }
.cmd-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: background-color 0.15s;
}
.cmd-item:hover { background: var(--accent-soft); color: var(--accent); }
.cmd-item small { color: var(--ink-muted); font-size: 0.78rem; }

/* Sections & Spacing */
.section { padding: clamp(72px, 8.5vw, 118px) 0; }
.section-tight { padding: clamp(46px, 5vw, 76px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark {
  background: radial-gradient(circle at 12% 18%, rgba(233, 191, 146, 0.11), transparent 44%),
              linear-gradient(135deg, var(--surface-dark) 0%, #17120e 54%, var(--surface-teal) 100%);
  color: var(--ink-on-dark);
}
.section-header {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 22px; margin-bottom: 48px;
}
.section-header-copy { max-width: 700px; }

/* PREMIUM FULL-WIDE HERO — Edge-to-Edge Split Editorial Studio */
.hero-wrap { padding: 0; width: 100%; }
.hero-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  width: 100%;
  min-height: clamp(620px, calc(100vh - var(--header-h) - 56px), 860px);
  border-radius: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
  background: var(--surface-dark);
}
.hero-left {
  padding: clamp(44px, 5.5vw, 84px) clamp(24px, 4.5vw, 76px);
  color: var(--ink-on-dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  background: radial-gradient(circle at 0% 0%, rgba(233, 191, 146, 0.16), transparent 52%),
              radial-gradient(circle at 90% 100%, rgba(23, 54, 68, 0.35), transparent 50%),
              var(--surface-dark);
}
.hero-left h1 { color: var(--ink-on-dark); margin: 18px 0 18px; }
.hero-left h1 em {
  color: var(--accent-bright);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.hero-left .lead { color: var(--ink-on-dark-muted); max-width: 58ch; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--border-dark);
}
.hero-metric strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-on-dark);
  letter-spacing: -0.02em;
}
.hero-metric span {
  font-size: 0.78rem;
  color: var(--ink-on-dark-muted);
  letter-spacing: 0.03em;
}

.hero-right {
  position: relative;
  min-height: 540px;
  background:
    radial-gradient(circle at 52% 38%, rgba(233, 191, 146, 0.28) 0%, rgba(23, 54, 68, 0.42) 42%, rgba(12, 27, 35, 0.96) 100%),
    linear-gradient(155deg, var(--surface-teal-2) 0%, var(--surface-teal) 58%, #0c1b22 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 28px 32px 0;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 191, 146, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 191, 146, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-cutout-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-cutout-portrait {
  max-height: clamp(460px, 74vh, 720px);
  width: auto;
  max-width: 92%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.55));
  transition: transform 0.8s var(--ease);
}
.hero-card:hover .hero-cutout-portrait { transform: translateY(-4px) scale(1.015); }
.hero-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}
.hero-vertical-tag {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 12, 9, 0.58);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 245, 236, 0.2);
  color: var(--ink-on-dark);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-floating-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #1b1410;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.72);
}
[data-theme="dark"] .hero-floating-card {
  background: rgba(24, 19, 15, 0.9);
  color: var(--ink-on-dark);
  border-color: rgba(233, 191, 146, 0.26);
}
.hero-floating-card .label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.hero-floating-card p { margin: 0; font-weight: 600; font-size: 0.95rem; color: inherit; }

/* Full-Wide Edge-to-Edge Discipline Ribbon */
.ribbon-strip {
  margin-top: 0;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 0.85rem; color: var(--ink-secondary);
}
.ribbon-steps { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.ribbon-steps span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ribbon-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Bento Grid & Cursor-Spotlight Cards */
.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.26s var(--ease);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.card-spotlight {
  overflow: hidden;
}
.card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(179, 107, 47, 0.11), transparent 60%);
  transition: opacity 0.3s ease;
}
.card-spotlight:hover::before { opacity: 1; }

.service-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.service-card.featured {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  border-color: var(--accent-border);
  border-top: 3px solid var(--accent);
}
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-code {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.service-cat { font-size: 0.69rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.service-highlights {
  font-size: 0.79rem; color: var(--ink-muted); padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* Magazine-Style Blog Cards with 16:9 Cover Media */
.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-dark);
  border-bottom: 1px solid var(--border);
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.045);
}
.blog-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

/* Case Study / Portfolio Cards */
.case-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-muted) 100%);
}
.case-kpi-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.case-kpi {
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 700; color: var(--ink);
}
.case-kpi span { color: var(--accent); }

/* Full-Bleed Manifesto Band */
.manifesto-banner {
  width: 100%;
  border-radius: 0;
  padding: clamp(52px, 6vw, 88px) var(--gutter);
  background: radial-gradient(circle at 85% 20%, rgba(233, 191, 146, 0.2), transparent 45%),
              linear-gradient(125deg, var(--surface-teal) 0%, var(--surface-dark) 100%);
  color: var(--ink-on-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.manifesto-banner blockquote {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--accent-bright);
  max-width: 30ch;
}

/* About Portrait Editorial Grid */
.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.05fr 1.1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}
.about-portrait-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-md);
  background: #3d3229;
  display: flex;
  flex-direction: column;
}
.about-portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}
.about-portrait-caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: rgba(20, 15, 11, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 191, 146, 0.26);
  color: var(--ink-on-dark);
  font-size: 0.82rem;
}
.author-avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(251, 245, 236, 0.08);
  border: 1px solid var(--border-dark);
  margin-bottom: 22px;
}
.author-avatar-chip img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 1.5px solid var(--accent-bright);
}

/* Workflow Steps */
.step-card { position: relative; padding-top: 26px; }
.step-num {
  font-family: var(--font-serif); font-size: 2.8rem; font-style: italic;
  color: var(--accent); line-height: 1; margin-bottom: 14px;
}

/* Book Showcase (Kötülük Yok — Real Front & Back 3D Cover on Obsidian Stage) */
.book-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.book-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(233, 191, 146, 0.24);
  box-shadow: var(--shadow-lg);
  background: #000000;
  padding: clamp(18px, 2.5vw, 32px);
}
.book-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}
.book-stage:hover img { transform: scale(1.03); }
.book-cover-3d {
  width: min(320px, 100%);
  border-radius: 10px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.52);
  transition: transform 0.45s var(--ease);
}
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.price-current { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.price-old { font-size: 1.05rem; text-decoration: line-through; opacity: 0.56; }

/* Press Strip inside Book Showcase */
.press-strip {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(251, 245, 236, 0.05);
  border: 1px solid var(--border-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.85rem; color: var(--ink-on-dark-muted);
}

/* Contact Section — Guaranteed High-Contrast Form Card */
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}
.contact-meta-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-meta-item {
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(251, 245, 236, 0.06);
  border: 1px solid var(--border-dark);
}
.contact-meta-item small {
  display: block; font-size: 0.71rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 4px;
}

/* Explicit Surface & Ink Isolation for ALL Forms */
.form-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.form-card h3, .form-card h4, .form-card p { color: var(--ink); }
.form-card .muted { color: var(--ink-muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="number"],
.field input[type="url"],
.field input[type="search"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--input-border);
  background: var(--input-bg);
  color: var(--input-ink);
  font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); opacity: 0.85; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: var(--ink-secondary); cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0;
}
.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important;
}

/* Alerts & Flashes */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(21, 98, 51, 0.25); }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: rgba(180, 35, 24, 0.25); }
.alert-info { background: var(--info-bg); color: var(--info); border-color: rgba(21, 94, 117, 0.25); }

/* Editorial Prose (Blog & Legal Pages) */
.prose { max-width: 74ch; font-size: 1.05rem; line-height: 1.84; color: var(--ink-secondary); }
.prose h2 { margin-top: 2.1rem; font-size: 1.55rem; color: var(--ink); }
.prose h3 { margin-top: 1.6rem; font-size: 1.22rem; color: var(--ink); }
.prose p { margin: 0 0 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose code {
  font-family: var(--font-mono); font-size: 0.87em;
  background: var(--surface-muted); color: var(--accent);
  padding: 2px 7px; border-radius: 6px;
}
.prose pre {
  margin: 1.5rem 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: #17120e;
  color: #f4ebe0;
  border: 1px solid rgba(233, 191, 146, 0.22);
  overflow-x: auto;
  line-height: 1.62;
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
}
.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.prose th, .prose td {
  padding: 11px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.prose th {
  background: var(--surface-muted);
  color: var(--ink);
  font-weight: 700;
}
.prose blockquote {
  margin: 1.6rem 0; padding: 18px 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface-muted); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.32rem; color: var(--ink);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Filter Pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link {
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink-secondary); transition: all 0.18s;
}
.pill-link:hover, .pill-link.active {
  background: var(--surface-dark); color: var(--ink-on-dark); border-color: var(--surface-dark);
}
[data-theme="dark"] .pill-link.active {
  background: var(--accent); color: #19120d; border-color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  padding: 68px 0 34px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 40px;
  padding-bottom: 42px; border-bottom: 1px solid var(--border-dark);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-on-dark-muted); font-size: 0.92rem; transition: color 0.18s; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; font-size: 0.84rem; color: var(--ink-on-dark-muted);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 540px; z-index: 150;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-lg); display: none;
}
.cookie-banner.visible { display: block; animation: fadeUp 0.3s var(--ease); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   INSTALLER & AUTH SHELL
   ========================================================================== */
.install-body {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 15%, rgba(179, 107, 47, 0.17), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(16, 38, 48, 0.22), transparent 50%),
              var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 32px 18px;
}
.install-card {
  width: 100%; max-width: 780px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.install-card-narrow { max-width: 460px; }
.install-head {
  padding: 28px 34px;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-teal) 100%);
  color: var(--ink-on-dark);
}
.install-body-inner { padding: 30px 34px; }
.check-list { display: grid; gap: 10px; margin: 16px 0 24px; }
.check-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-muted); border: 1px solid var(--border); font-size: 0.9rem;
}

/* ==========================================================================
   ADMIN PANEL SHELL (Modern SaaS Workspace)
   ========================================================================== */
.admin-shell {
  min-height: 100vh; display: grid; grid-template-columns: 266px minmax(0, 1fr); background: var(--bg);
}
.admin-sidebar {
  background: linear-gradient(180deg, var(--surface-dark) 0%, #140f0c 100%);
  color: var(--ink-on-dark); padding: 22px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--border-dark);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.admin-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--ink-on-dark-muted);
  transition: background-color 0.18s, color 0.18s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(233, 191, 146, 0.15); color: var(--accent-bright);
}
.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  height: 70px; padding: 0 28px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; z-index: 40;
}
.admin-content { padding: 28px; max-width: 1320px; width: 100%; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px 24px; box-shadow: var(--shadow-xs);
}
.kpi-label { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-muted); }
.kpi-value { font-size: 1.95rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; color: var(--ink); }

.table-wrap {
  width: 100%; overflow-x: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data-table th, table.data-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top;
}
table.data-table th {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted); background: var(--surface-muted); font-weight: 700;
}
table.data-table tr:last-child td { border-bottom: none; }

.code-box {
  font-family: var(--font-mono); font-size: 0.85rem;
  background: var(--surface-muted); border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; word-break: break-all;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .about-editorial-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-card, .book-showcase, .contact-grid, .about-editorial-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: auto; max-height: none; }
  .hero-right { min-height: 440px; }
  .bento-grid, .grid-3, .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
}

@media (max-width: 780px) {
  .desktop-nav, .header-cta-desktop, .cmd-trigger { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .bento-grid, .grid-2, .grid-3, .grid-4, .kpi-grid, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .install-head, .install-body-inner { padding: 22px 20px; }
  .admin-content { padding: 18px; }
}
