/* =========================================================
   studio.css — hizmet + portfolyo katmanı
   styles.css'ten SONRA yüklenir; yalnızca ekler ve üzerine yazar.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --studio-bg: #0d1311;
  --studio-panel: #172019;
  --studio-ink: #eceFea;
  --studio-muted: #8f9c96;
  --studio-green: #00c49e;
  --studio-green-ink: #04110d;
  --studio-line: #2a3530;
  --studio-display: "Bricolage Grotesque", "Manrope", sans-serif;
}

.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;
}

/* ---------- Başlık tipografisi ---------- */

.home-title,
.studio-title,
.home-instructor-title,
.home-section-kicker h2,
.home-faq-heading h2,
.page-hero h1,
.page-intro h1,
.reel-dialog-info h2 {
  font-family: var(--studio-display);
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.home-title {
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 4.9rem);
  line-height: 1.02;
  max-width: 13ch;
}

/* ---------- Birincil eylem: marka yeşili (mor kaldırıldı) ---------- */

.btn.btn-primary,
.btn.home-hero-btn,
.btn.home-instructor-btn-primary,
.contact-form-panel .btn.btn-primary,
.cookie-btn-main {
  background: var(--studio-green);
  color: var(--studio-green-ink);
  box-shadow: none;
  font-weight: 700;
}

.btn.btn-primary:hover,
.btn.home-hero-btn:hover,
.btn.home-instructor-btn-primary:hover {
  background: #19d3ae;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: var(--studio-green);
  color: var(--studio-green-ink);
}

:focus-visible {
  outline: 2px solid var(--studio-green);
  outline-offset: 3px;
}

/* ---------- Başlık çubuğu ve menü ---------- */

.nav {
  min-height: 84px;
}

.nav-links a:hover,
.nav-links a.active {
  transform: none;
}

.nav-links .nav-cta,
.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--studio-green);
  color: var(--studio-green-ink) !important;
  font-weight: 700;
}

.nav-links .nav-cta:hover {
  background: #19d3ae;
}

.nav-cta-mobile,
.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .site-header .nav {
    min-height: 68px;
    padding: 10px 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .site-header .brand-text {
    font-size: 1.5rem;
  }

  .site-header .brand-badge {
    min-height: 1.6rem;
    font-size: 0.95rem;
  }

  .nav-cta-mobile {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--studio-line);
    border-radius: 12px;
    background: transparent;
    color: var(--studio-ink);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }

  .site-header .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
    border-top: 1px solid var(--studio-line);
  }

  .site-header.is-nav-open .nav-links {
    display: flex;
  }

  .site-header .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
  }

  .site-header .nav-links .nav-cta {
    display: none;
  }
}

/* ---------- İlk ekran ---------- */

.studio-reply-note {
  margin: -6px 0 0;
  color: var(--studio-muted);
  font-size: 0.95rem;
}

.home-student-card.has-showreel {
  width: 340px;
  height: 425px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--studio-panel);
  border: 1px solid var(--studio-line);
}

.home-student-card.has-showreel video,
.home-student-card.has-showreel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Ortak bölüm düzeni ---------- */

.studio-section {
  padding: 72px 0;
  color: var(--studio-ink);
}

.studio-section + .studio-section {
  border-top: 1px solid var(--studio-line);
}

.studio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.studio-title {
  margin: 0;
  color: #f7fbf9;
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.05;
}

.studio-lead {
  margin: 10px 0 0;
  max-width: 60ch;
  color: var(--studio-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Reels vitrini ---------- */

.reel-stage {
  position: relative;
}

/* Zaman cetveli + playhead: kurgu masası referansı */
.reel-stage::before {
  content: "";
  display: block;
  height: 14px;
  margin-bottom: 12px;
  background:
    repeating-linear-gradient(90deg, var(--studio-line) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--studio-muted) 0 1px, transparent 1px 120px);
  background-size: 100% 6px, 100% 14px;
  background-repeat: repeat-x;
  background-position: bottom left, bottom left;
  opacity: 0.6;
}

.reel-playhead {
  position: absolute;
  top: 0;
  bottom: 44px;
  left: 33%;
  width: 2px;
  background: var(--studio-green);
  z-index: 3;
  pointer-events: none;
}

.reel-playhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--studio-green);
}

.reel-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--studio-line) transparent;
  padding-bottom: 12px;
}

.reel-rail {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reel-item {
  flex: 0 0 clamp(200px, 21vw, 250px);
}

.reel-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.reel-frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--studio-panel);
  border: 1px solid var(--studio-line);
}

.reel-frame img,
.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-frame video {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reel-card.is-previewing .reel-frame video {
  opacity: 1;
}

.reel-timecode {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(4, 10, 9, 0.72);
  color: var(--studio-ink);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.reel-play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--studio-green);
  color: var(--studio-green-ink);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.reel-card:hover .reel-play,
.reel-card:focus-visible .reel-play {
  opacity: 1;
}

@media (hover: none) {
  .reel-play { opacity: 1; }
}

.reel-info {
  display: grid;
  gap: 2px;
  padding: 10px 2px 0;
}

.reel-client {
  color: var(--studio-green);
  font-size: 0.82rem;
  font-weight: 700;
}

.reel-title {
  color: var(--studio-ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.studio-pause {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: transparent;
  color: var(--studio-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.studio-pause[aria-pressed="true"] {
  border-color: var(--studio-green);
  color: var(--studio-green);
}

.studio-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px dashed var(--studio-line);
  border-radius: 16px;
}

.studio-empty p {
  margin: 0;
  color: var(--studio-muted);
  font-size: 1.05rem;
}

@media (max-width: 820px) {
  .reel-viewport {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
  }

  .reel-item {
    flex-basis: 64vw;
    scroll-snap-align: start;
  }

  .reel-playhead {
    display: none;
  }
}

/* ---------- Referanslar ---------- */

.client-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.client {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--studio-line);
}

.client-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--studio-panel);
  margin-bottom: 14px;
}

.client-name {
  margin: 0 0 6px;
  font-family: var(--studio-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.client-services {
  margin: 0;
  color: var(--studio-green);
  font-weight: 600;
}

.client-period,
.client-summary {
  margin: 6px 0 0;
  color: var(--studio-muted);
  line-height: 1.55;
}

.client-quote {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--studio-green);
}

.client-quote p {
  margin: 0 0 6px;
  color: var(--studio-ink);
  line-height: 1.55;
}

.client-quote footer {
  color: var(--studio-muted);
  font-size: 0.9rem;
}

.client-works {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.client-works .reel-item {
  flex: 0 0 150px;
}

@media (max-width: 820px) {
  .client {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .client-works .reel-item {
    flex-basis: 42vw;
  }
}

/* ---------- Hizmetler ---------- */

.service-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--studio-line);
}

.service {
  padding: 28px 28px 28px 0;
}

.service + .service {
  padding-left: 28px;
  border-left: 1px solid var(--studio-line);
}

.service h3 {
  margin: 0 0 12px;
  font-family: var(--studio-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #f7fbf9;
}

.service-main h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.service p {
  margin: 0 0 18px;
  color: var(--studio-muted);
  line-height: 1.65;
  max-width: 46ch;
}

.service-main p {
  color: var(--studio-ink);
  font-size: 1.08rem;
}

.service-link,
.studio-text-link {
  color: var(--studio-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

@media (max-width: 960px) {
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service,
  .service + .service {
    padding: 24px 0;
    border-left: 0;
  }

  .service + .service {
    border-top: 1px solid var(--studio-line);
  }
}

/* ---------- Süreç (gerçekten sıralı: numaralı) ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  padding-top: 16px;
  border-top: 2px solid var(--studio-line);
}

.process-list li:first-child {
  border-top-color: var(--studio-green);
}

.process-list li::before {
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  color: var(--studio-green);
  font-family: var(--studio-display);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.process-list h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #f7fbf9;
}

.process-list p {
  margin: 0;
  color: var(--studio-muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Akademi ---------- */

.studio-academy {
  border-top: 1px solid var(--studio-line);
  padding-top: 64px;
}

.studio-academy-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* ---------- Kapanış ---------- */

.studio-close-inner {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.studio-close .studio-lead {
  margin: 0;
}

/* ---------- Video diyaloğu ---------- */

.reel-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}

.reel-dialog[hidden] {
  display: none;
}

.reel-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 5, 0.86);
}

.reel-dialog-box {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(220px, 300px);
  gap: 24px;
  align-items: end;
  max-width: 100%;
  color: var(--studio-ink);
  outline: none;
}

.reel-dialog-media video {
  display: block;
  height: min(86vh, 860px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border-radius: 14px;
  background: #000;
}

.reel-dialog-info h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.reel-dialog-info p {
  margin: 0 0 16px;
  color: var(--studio-muted);
}

.reel-dialog-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: var(--studio-panel);
  color: var(--studio-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.reel-dialog-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .reel-dialog-box {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .reel-dialog-media video {
    height: auto;
    width: min(92vw, 420px);
    max-height: 74vh;
  }

  .reel-dialog-info {
    width: min(92vw, 420px);
  }

  .reel-dialog-close {
    top: 0;
    right: 0;
  }
}

/* ---------- Proje formu (iletisim.html) ---------- */

.project-fields {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--studio-line);
  border-radius: 16px;
}

.project-fields[hidden] {
  display: none;
}

.project-fields legend {
  padding: 0 6px;
  color: var(--studio-green);
  font-weight: 700;
}

.contact-direct {
  margin: 18px 0 0;
  color: var(--studio-muted);
  font-size: 0.95rem;
}

.contact-direct a {
  color: var(--studio-green);
  font-weight: 700;
}

/* ---------- Çerez bandı: mobilde ilk ekranı kapatmasın ---------- */

@media (max-width: 560px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    padding: 12px;
    border-radius: 14px;
  }

  .cookie-banner-content {
    gap: 10px;
  }

  .cookie-banner p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .cookie-banner-actions [data-cookie-choice="essential"] {
    display: none;
  }

  .cookie-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.78rem;
    border-radius: 10px;
  }
}

/* ---------- Mobil düzen ---------- */

@media (max-width: 820px) {
  .studio-section {
    padding: 52px 0;
  }

  .studio-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-academy-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-frame video {
    transition: none;
  }
}

/* ---------- Düzeltmeler ---------- */

.studio-empty[hidden],
.reel-stage[hidden] {
  display: none;
}

.home-main {
  overflow-x: clip;
}

.studio-academy .home-section-kicker p {
  max-width: 62ch;
}

@media (max-width: 820px) {
  .site-header .nav {
    flex-wrap: wrap;
  }

  .site-header .brand {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .site-header .brand-text {
    font-size: 1.3rem;
  }

  .site-header .brand-badge {
    padding: 0 8px;
    font-size: 0.85rem;
  }

  .nav-cta-mobile {
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr 1fr auto;
  }
}

/* ---------- Referans kartları (kanallar) — mavi neon cam ---------- */

.studio-clients {
  --ref-blue: #3d8bff;
  --ref-blue-2: #6fb3ff;
  --ref-cyan: #7fe3ff;
  --ref-glow: rgba(61, 139, 255, 0.55);
  --ref-line: rgba(140, 180, 255, 0.16);
  --chart-start: #6e7da0;
}

.client-demo-note {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px dashed #e0b84a;
  border-radius: 12px;
  color: #f1d27a;
  font-size: 0.88rem;
}

.client-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-total {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #111724, #0b0f17);
}

.client-total .stat-icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
}

.client-total strong {
  font-family: var(--studio-display);
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--ref-blue-2);
  font-variant-numeric: tabular-nums;
}

.client-total span {
  color: var(--studio-muted);
  font-size: 0.8rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1100px) {
  .client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Kart gövdesi: koyu cam + üst/alt neon kenar + dalga */
.client-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 22px;
  border: 1px solid var(--ref-line);
  border-radius: 26px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 260' preserveAspectRatio='none'%3E%3Cpath d='M0 110 C110 30 230 190 400 80 L400 0 L0 0Z' fill='%233d8bff' fill-opacity='.09'/%3E%3Cpath d='M0 150 C130 70 250 230 400 120' stroke='%236fb3ff' stroke-opacity='.22' fill='none' stroke-width='1.2'/%3E%3Cpath d='M0 175 C150 105 260 250 400 150' stroke='%236fb3ff' stroke-opacity='.10' fill='none' stroke-width='1'/%3E%3C/svg%3E") top right / 100% 62% no-repeat,
    radial-gradient(120% 70% at 100% 0%, rgba(61, 139, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #10151f 0%, #0a0d14 100%);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.client-card::before,
.client-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1.5px;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ref-blue-2), transparent);
  box-shadow: 0 0 14px 2px var(--ref-glow);
  opacity: 0.55;
  transition: opacity 0.4s ease, left 0.5s ease, right 0.5s ease;
}

.client-card::before { top: 0; }
.client-card::after { bottom: 0; opacity: 0.35; }

.client-card:hover,
.client-card:focus-within,
.client-card.is-growth {
  border-color: rgba(111, 179, 255, 0.45);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(61, 139, 255, 0.15),
    0 0 46px rgba(61, 139, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.client-card:hover::before,
.client-card:hover::after,
.client-card.is-growth::before,
.client-card.is-growth::after {
  left: 4%;
  right: 4%;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .client-card:hover {
    transform: translateY(-6px);
  }
}

/* Giriş animasyonu (sırayla) */
.client-grid.is-animated .client-card {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
}

.client-grid.is-animated .client-card.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease calc(var(--i, 0) * 60ms),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 60ms),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .client-grid.is-animated .client-card.is-in:hover {
    transform: translateY(-6px);
    transition-delay: 0s;
  }
}

/* Ön yüz ve büyüme yüzü üst üste */
.client-front,
.client-growth {
  grid-area: 1 / 1;
  min-height: 118px;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.35s;
}

.client-card:not(.has-growth) .client-front {
  min-height: 0;
}

.client-body {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  align-self: end;
}

.client-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 104px;
}

.client-card:not(.has-growth) .client-top {
  padding-right: 0;
}

.client-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 1.5px solid rgba(111, 179, 255, 0.7);
  background: #142033;
  box-shadow:
    0 0 0 4px rgba(61, 139, 255, 0.08),
    0 0 26px rgba(61, 139, 255, 0.4);
  transition: box-shadow 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.client-card:hover .client-avatar {
  transform: scale(1.04) rotate(-2deg);
  box-shadow:
    0 0 0 4px rgba(61, 139, 255, 0.14),
    0 0 36px rgba(61, 139, 255, 0.6);
}

.client-avatar-empty {
  display: grid;
  place-items: center;
  font-family: var(--studio-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #e8f1ff;
  background: radial-gradient(circle at 30% 25%, #2a5bb0, #12223f 70%);
}

.client-ident {
  min-width: 0;
}

.client-card .client-name {
  margin: 0;
  font-family: var(--studio-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f5f8ff;
  overflow-wrap: anywhere;
}

.client-card .client-services {
  margin: 4px 0 0;
  color: #93a0b8;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* 30 gün butonu */
.client-chip {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(140, 180, 255, 0.18);
  border-radius: 999px;
  background: rgba(20, 28, 44, 0.75);
  color: #dfe8ff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.client-chip-icon {
  width: 16px;
  height: 16px;
  color: var(--ref-blue-2);
  filter: drop-shadow(0 0 4px var(--ref-glow));
}

.client-chip:hover,
.client-chip[aria-pressed="true"] {
  border-color: rgba(111, 179, 255, 0.55);
  background: rgba(61, 139, 255, 0.18);
}

/* Büyüme yüzü */
.client-growth {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
}

.client-card.is-growth .client-front {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
}

.client-card.is-growth .client-growth {
  visibility: visible;
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .client-card.has-growth:hover .client-front {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
  }

  .client-card.has-growth:hover .client-growth {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .client-card.has-growth:hover .client-chip {
    opacity: 0;
    pointer-events: none;
  }
}

.client-growth-kicker {
  margin: 2px 90px 0 0;
  color: #93a0b8;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.client-card:hover .client-growth-kicker {
  margin-right: 0;
}

.client-growth-value {
  margin: 6px 0 0;
  font-family: var(--studio-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f8ff;
  font-variant-numeric: tabular-nums;
}

.client-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  overflow: visible;
}

.client-chart-grid {
  stroke: rgba(160, 190, 255, 0.14);
  stroke-dasharray: 2 4;
}

.client-chart-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(61, 139, 255, 0.6));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.client-chart-halo {
  fill: rgba(111, 179, 255, 0.22);
  transform-box: fill-box;
  transform-origin: center;
}

.client-chart-dot {
  fill: var(--ref-cyan);
  stroke: #0a0d14;
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 0.3s ease 1s;
}

.client-card.is-growth .client-chart-line,
.client-card.has-growth:hover .client-chart-line {
  stroke-dashoffset: 0;
}

.client-card.is-growth .client-chart-dot,
.client-card.has-growth:hover .client-chart-dot {
  opacity: 1;
}

.client-card.is-growth .client-chart-halo,
.client-card.has-growth:hover .client-chart-halo {
  animation: ref-pulse 1.8s ease-out 1s infinite;
}

.client-growth-range {
  margin: 6px 0 0;
  color: #93a0b8;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* Durum */
.client-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(140, 180, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #c9d3e6;
  font-size: 0.84rem;
  font-weight: 600;
}

.client-status strong {
  color: var(--ref-blue-2);
  font-weight: 700;
}

.client-status:not(.is-ongoing) strong {
  color: #e6ecf8;
}

.client-status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6c778c;
}

.client-status.is-ongoing .client-status-dot {
  background: var(--ref-blue-2);
  box-shadow: 0 0 10px var(--ref-glow);
}

.client-status.is-ongoing .client-status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ref-blue-2);
  animation: ref-pulse 2.2s ease-out infinite;
}

/* Referans / İşleri izle butonu */
.client-action {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(111, 179, 255, 0.42);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(61, 139, 255, 0.14), rgba(61, 139, 255, 0.04));
  box-shadow: inset 0 0 18px rgba(61, 139, 255, 0.12);
  color: #f5f8ff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.client-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(160, 205, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.client-action:hover::after,
.client-action:focus-visible::after {
  transform: translateX(120%);
}

.client-action:hover,
.client-action:focus-visible {
  border-color: rgba(127, 227, 255, 0.75);
  background: linear-gradient(90deg, rgba(61, 139, 255, 0.28), rgba(61, 139, 255, 0.08));
  box-shadow:
    inset 0 0 22px rgba(61, 139, 255, 0.22),
    0 0 26px rgba(61, 139, 255, 0.3);
}

.client-action-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(140, 180, 255, 0.2);
  background: #0c1220;
  color: var(--ref-blue-2);
}

.client-action-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px var(--ref-glow));
}

.client-action-label {
  flex: 1;
}

.client-action-arrow {
  width: 20px;
  height: 20px;
  color: var(--ref-blue-2);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.client-action:hover .client-action-arrow,
.client-action:focus-visible .client-action-arrow {
  transform: translateX(4px);
}

/* İstatistik satırları */
.client-stats {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  color: #f5f8ff;
  transition: border-color 0.25s ease, background 0.25s ease;
}

a.client-stat:hover,
a.client-stat:focus-visible {
  border-color: rgba(111, 179, 255, 0.35);
  background: linear-gradient(180deg, rgba(61, 139, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.client-stat strong {
  font-family: var(--studio-display);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.client-stat span {
  margin-left: auto;
  color: #8c97ad;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-stat-chevron {
  width: 16px;
  height: 16px;
  color: #8c97ad;
  transition: transform 0.25s ease, color 0.25s ease;
}

a.client-stat:hover .client-stat-chevron {
  color: var(--ref-blue-2);
  transform: translateX(3px);
}

.stat-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.stat-icon-youtube { color: #ff4f5e; filter: drop-shadow(0 0 6px rgba(255, 79, 94, 0.55)); }
.stat-icon-instagram { color: #f25bb0; filter: drop-shadow(0 0 6px rgba(242, 91, 176, 0.5)); }
.stat-icon-tiktok { color: #e9f6ff; filter: drop-shadow(0 0 6px rgba(127, 227, 255, 0.5)); }

.client-card .client-quote {
  margin: 4px 0 0;
  border-left-color: var(--ref-blue-2);
}

.client-card .client-quote p {
  font-size: 0.88rem;
}

.client-updated {
  margin: 14px 0 0;
  color: var(--studio-muted);
  font-size: 0.8rem;
}

.client-updated[hidden],
.client-totals[hidden],
.client-card[hidden] {
  display: none;
}

.client-more {
  display: block;
  margin: 24px auto 0;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid rgba(111, 179, 255, 0.35);
  border-radius: 999px;
  background: rgba(61, 139, 255, 0.08);
  color: #e6efff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-more:hover {
  border-color: var(--ref-blue-2);
  box-shadow: 0 0 24px rgba(61, 139, 255, 0.3);
}

@keyframes ref-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 640px) {
  .client-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 14px;
  }

  .client-card {
    scroll-snap-align: start;
  }

  .client-totals {
    width: 100%;
  }

  .client-total {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-card,
  .client-card::before,
  .client-card::after,
  .client-front,
  .client-growth,
  .client-avatar,
  .client-action,
  .client-action::after,
  .client-action-arrow,
  .client-chart-line,
  .client-chart-dot {
    transition: none !important;
  }

  .client-card:hover,
  .client-card:hover .client-avatar {
    transform: none;
  }

  .client-status-dot::after,
  .client-chart-halo {
    animation: none !important;
  }

  .client-chart-line {
    stroke-dashoffset: 0;
  }

  .client-chart-dot {
    opacity: 1;
  }
}

.client-stat strong.is-empty {
  color: #5f6b82;
}

/* Gizlenen bölümler (hidden) hiçbir sınıf kuralıyla görünür olmasın */
[hidden] {
  display: none !important;
}

/* Tek arka plan: bölümler arası renk/çizgi farkı yok */
.home-page .home-main,
.home-page .site-footer,
.inner-page .site-footer {
  background: none;
}

.home-page .studio-section + .studio-section,
.home-page .studio-clients,
.home-page .studio-services,
.home-page .studio-academy {
  border-top: 0;
}

/* ---------- Markalar: 2 satırlık yatay şerit ---------- */
.client-rail {
  --gut: calc((100vw - min(var(--container, 1180px), 100vw - 32px)) / 2);
  position: relative;
  margin-inline: calc(50% - 50vw);
}

.client-rail::before,
.client-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(24px, 6vw, 110px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.client-rail::before {
  left: 0;
  background: linear-gradient(90deg, #060d0d, transparent);
}

.client-rail::after {
  right: 0;
  background: linear-gradient(270deg, #060d0d, transparent);
}

.client-rail.at-start::before,
.client-rail.at-end::after {
  opacity: 0;
}

.client-rail .client-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: none;
  grid-auto-columns: 318px;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gut);
  padding: 10px var(--gut) 18px;
  scrollbar-width: none;
  cursor: grab;
}

.client-rail .client-grid::-webkit-scrollbar {
  display: none;
}

.client-rail .client-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.client-rail .client-card {
  scroll-snap-align: start;
}

.client-rail-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.client-rail-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(111, 179, 255, 0.35);
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.08);
  color: #e6efff;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.client-rail-btn svg {
  width: 20px;
  height: 20px;
}

.client-rail-btn:hover:not(:disabled) {
  background: rgba(61, 139, 255, 0.22);
  box-shadow: 0 0 24px rgba(61, 139, 255, 0.35);
  transform: scale(1.06);
}

.client-rail-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.client-rail-bar {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(111, 179, 255, 0.14);
}

.client-rail-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 0%);
  width: var(--w, 20%);
  border-radius: 4px;
  background: linear-gradient(90deg, #3d8bff, #6fb3ff);
  box-shadow: 0 0 12px rgba(61, 139, 255, 0.6);
  transition: left 0.15s linear;
}

@media (max-width: 640px) {
  .client-rail .client-grid {
    grid-auto-columns: 82vw;
    gap: 12px;
  }
}


/* =========================================================
   Ortak arka plan (tüm sayfalar): koyu zemin, yeşil ışık,
   kayan yeşil perde deseni
   ========================================================= */
body.home-page,
body.inner-page {
  background:
    radial-gradient(55% 75% at 50% 42%, rgba(0, 196, 158, 0.30), rgba(0, 196, 158, 0.10) 55%, transparent 82%) fixed,
    radial-gradient(40% 50% at 0% 100%, rgba(0, 196, 158, 0.10), transparent 70%) fixed,
    radial-gradient(40% 50% at 100% 0%, rgba(0, 196, 158, 0.08), transparent 70%) fixed,
    #060d0d;
}

body.home-page::before,
body.inner-page::before {
  content: "";
  position: fixed;
  inset: -4% -8%;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.42) 0 14px,
      rgba(0, 196, 158, 0.05) 14px 22px,
      rgba(0, 0, 0, 0.25) 22px 38px,
      rgba(62, 224, 184, 0.08) 38px 44px);
  transform-origin: top center;
  animation:
    site-curtain-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
    site-curtain-drift 16s ease-in-out 1.4s infinite alternate;
}

.inner-page .site-header {
  background: rgba(6, 13, 13, 0.72);
  backdrop-filter: blur(14px);
}

@keyframes site-curtain-in {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes site-curtain-drift {
  from { translate: 0 0; }
  to { translate: -44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page::before,
  body.inner-page::before {
    animation: none;
  }
}

/* İç sayfalarda desen üstünde okunurluk: paneller ve alanlar koyu */
.inner-page .card,
.inner-page .form-card,
.inner-page .register-panel,
.inner-page .social-video-showcase,
.inner-page .social-shorts-showcase,
.inner-page .social-accounts-panel,
.inner-page .legal-card,
.inner-page .legal-hero,
.inner-page .legal-wide-card,
.inner-page .page-intro,
.inner-page .social-page-hero {
  background-color: rgba(8, 17, 15, 0.9);
  backdrop-filter: blur(10px);
}

.inner-page .input,
.inner-page select,
.inner-page textarea {
  background-color: #0b1714;
}

/* Şerit v2: kapsayıcı içinde, kenarlar yumuşak kararır, otomatik akar */
.client-rail {
  margin-inline: 0;
}

.client-rail::before,
.client-rail::after {
  display: none;
}

.client-rail .client-grid {
  padding: 10px 0 18px;
  scroll-padding-inline: 0;
  scroll-snap-type: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.client-rail .client-card {
  scroll-snap-align: none;
}

@media (max-width: 640px) {
  .client-rail .client-grid {
    grid-auto-columns: 78vw;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
}


/* Desen yoğunluğu azaltıldı: çizgiler arka planda kalır, içerik öne çıkar */
body.home-page::before,
body.inner-page::before {
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.5) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.5) 100%);
}

/* Sosyal medya: Ali Eren Akademi Shorts kapakları (dikey) */
.shorts-thumb-1 { --thumb: url("assets/work/reels/Xj6JegBFBBw.webp"); }
.shorts-thumb-2 { --thumb: url("assets/work/reels/iIchrqvzQn8.webp"); }
.shorts-thumb-3 { --thumb: url("assets/work/reels/GraOglpN-Nc.webp"); }
.shorts-thumb-4 { --thumb: url("assets/work/reels/lXvSbPp1cNc.webp"); }

/* ---------- Arayüz ikonları (assets/icons/ui, satır içi) ---------- */
.ic {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.ic .ic-move,
.ic .ic-key {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-mail,
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-mail .ic,
.contact-mail .ic {
  width: 18px;
  height: 18px;
  color: #3ee0b8;
}

.reel-dialog-close {
  display: grid;
  place-items: center;
}

.reel-dialog-close .ic {
  width: 22px;
  height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .ic .ic-move,
  .ic .ic-key,
  .ic .ic-draw {
    transition: none !important;
    animation: none !important;
  }
}

/* Alt bilgi sosyal ikonları (resmi tek renk logolar) */
.socials a {
  display: grid;
  place-items: center;
}

.socials .soc-ic {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.socials a:hover .soc-ic {
  opacity: 1;
}

.socials .ic {
  width: 18px;
  height: 18px;
}
