/* ============================================
   ARVEN TEXTILE — Cloud custom layer
   - Tüm font ailesi Cloud'a bırakıldı
     (Theme Options → Style → Typography'den ayarlanır)
   - Accent renk Cloud → Color → Primary'den okunur
   - Default tema: light  ([data-theme="light"] ön ayar)
   - Tüm sınıflar .arven-* prefix'iyle scoped
   ============================================ */

:root {
  /* Renkler — Cloud Theme Options'a bağlı */
  --arven-accent:      var(--fs-color-primary, #3F8AC9);
  --arven-accent-2:    var(--fs-color-secondary, #B9846F);
  --arven-accent-soft: rgba(63,138,201,0.18);
  --arven-accent-glow: rgba(63,138,201,0.50);

  /* Light tema palet (default) */
  --arven-ink:         #F5F2ED;       /* sayfa zemini */
  --arven-ink-2:       #ECE8E0;       /* ikincil zemin */
  --arven-ink-3:       #E0DBD1;
  --arven-paper:       #0A0B0D;       /* yazı */
  --arven-paper-dim:   #16181C;
  --arven-mute:        rgba(10, 11, 13, 0.58);
  --arven-mute-2:      rgba(10, 11, 13, 0.40);
  --arven-line:        rgba(10, 11, 13, 0.10);
  --arven-line-strong: rgba(10, 11, 13, 0.22);
}

/* Dark tema overrides — Cloud theme color sistemiyle çakışmasın diye
   sadece arven yüzeyleri değişiyor. */
html[data-theme="dark"] {
  --arven-ink:         #0A0B0D;
  --arven-ink-2:       #16181C;
  --arven-ink-3:       #1F2228;
  --arven-paper:       #F5F2ED;
  --arven-paper-dim:   #E8E4DC;
  --arven-mute:        rgba(245, 242, 237, 0.55);
  --arven-mute-2:      rgba(245, 242, 237, 0.38);
  --arven-line:        rgba(245, 242, 237, 0.10);
  --arven-line-strong: rgba(245, 242, 237, 0.22);
}

/* ============================================
   Tipografi yardımcı sınıfları
   - .arven-display & .arven-page-hero h1 → Cloud Heading font (h1-h3)
   - .arven-eyebrow & .arven-mono          → Cloud Alt Font (.alt-font)
   - body fontu zaten Cloud Base font'tan geliyor (override etmiyoruz)
   ============================================ */
.arven-eyebrow {
  /* Alt-Font (Cloud): Theme Options → Style → Typography → Alternative font */
  font-family: var(--alt-font, inherit);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arven-mute) !important;
  font-weight: 400;
}
.arven-eyebrow .num { color: var(--arven-accent) !important; margin-right: 8px; }

.arven-mono {
  font-family: var(--alt-font, inherit);
  /* !important: Flatsome'un .dark cascade'ini ezelim, toggle source of truth */
  color: var(--arven-paper) !important;
}

.arven-display {
  /* Heading font (Cloud): h1-h3 yazıları için */
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--arven-paper) !important;
}
.arven-display .it,
.arven-display em { font-style: italic; color: var(--arven-accent) !important; }
.arven-h-xl { font-size: clamp(56px, 7vw, 144px); }
.arven-h-lg { font-size: clamp(44px, 6.5vw, 96px); }
.arven-h-md { font-size: clamp(32px, 4vw, 56px); }

.arven-body-lg {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: -0.005em;
  max-width: 60ch;
}
.arven-italic { font-style: italic; }

/* ============================================
   THEME TOGGLE  ([arven_theme_toggle])
   ============================================ */
.arven-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--arven-line-strong);
  background: transparent;
  color: var(--arven-paper);
  cursor: pointer;
  padding: 0 10px;
  transition: all 0.3s ease;
  font-family: var(--alt-font, inherit);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.arven-theme-toggle.is-pill   { width: auto; padding: 0 14px; height: 38px; }
.arven-theme-toggle.is-small  { width: 32px; height: 32px; }
.arven-theme-toggle.is-large  { width: 44px; height: 44px; }
.arven-theme-toggle:hover {
  background: var(--arven-accent);
  color: #fff;
  border-color: var(--arven-accent);
  transform: rotate(15deg);
}
.arven-theme-toggle.is-pill:hover { transform: none; }
.arven-theme-toggle .t-icon { display: inline-flex; }
.arven-theme-toggle .t-label { display: none; }
.arven-theme-toggle.is-pill .t-label { display: inline; }

/* Light mode = ayı ikonu göster (dark moda geç), Dark mode = güneş */
html[data-theme="light"] .arven-theme-toggle .t-icon-sun  { display: none; }
html[data-theme="dark"]  .arven-theme-toggle .t-icon-moon { display: none; }

/* Toggle + dış etiket sarmalayıcısı */
.arven-theme-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}
.arven-theme-toggle-wrap.is-left  { flex-direction: row-reverse; }
.arven-theme-toggle-wrap.is-right { flex-direction: row; }
.arven-theme-toggle-label {
  font-family: var(--alt-font, inherit);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

/* ============================================
   HERO  ([arven_hero_canvas])
   - Hero her zaman dark scheme (3D cloth dark zemin üstünde)
   - Yükseklik shortcode'tan inline geliyor (height attr'i)
   ============================================ */
.arven-hero {
  position: relative;
  width: 100%;
  /* min-height + height inline style ile geliyor; default = 100vh */
  overflow: hidden;
  background: linear-gradient(135deg, #0A0B0D 0%, #1F2228 100%);
  color: #F5F2ED;
  /* Hero kendi tam genişlik bandını oluşturur — Flatsome [section] içinde
     kullanmaya gerek yok. */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Hero içi tüm metin beyaz — tema fark etmeksizin */
.arven-hero,
.arven-hero h1,
.arven-hero p,
.arven-hero a,
.arven-hero .arven-eyebrow,
.arven-hero .arven-eyebrow * { color: #F5F2ED; }
.arven-hero .arven-eyebrow { color: rgba(245,242,237,0.65); }

.arven-hero-content {
  position: relative; z-index: 3;
  width: 100%;
  padding: clamp(80px, 14vh, 180px) clamp(24px, 4vw, 56px) clamp(64px, 9vh, 120px);
  margin-top: auto;  /* dikeyde alta yapışsın, height büyüse de küçülse de uyum sağlar */
}
.arven-hero-content > h1 { line-height: 0.9; max-width: 14ch; }
.arven-hero-meta {
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 32px;
  border-top: 1px solid rgba(245,242,237,0.18);
  display: flex; justify-content: space-between; gap: 32px;
  flex-wrap: wrap; align-items: flex-end;
}
.arven-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.arven-hero-canvas { position: absolute; inset: 0; z-index: 0; }
.arven-hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.arven-hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,11,13,0.55) 0%, transparent 22%, transparent 70%, rgba(10,11,13,0.85) 100%);
}
.arven-hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.arven-hero-corner,
.arven-hero-scroll {
  position: absolute; bottom: 32px; z-index: 4;
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--arven-mute);
  display: flex; align-items: center; gap: 12px;
}
.arven-hero-corner { right: clamp(24px, 4vw, 56px); }
.arven-hero-scroll { left: clamp(24px, 4vw, 56px); }
.arven-hero-scroll .line {
  width: 40px; height: 1px; background: var(--arven-mute);
  position: relative; overflow: hidden;
}
.arven-hero-scroll .line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 1px;
  background: var(--arven-paper);
  animation: arven-scroll-hint 2.4s infinite;
}
@keyframes arven-scroll-hint {
  0%   { transform: translateX(-16px); }
  60%  { transform: translateX(40px); }
  100% { transform: translateX(40px); }
}
.arven-gyro-pill {
  position: absolute; right: clamp(24px, 4vw, 56px); top: 96px; z-index: 5;
  background: var(--arven-accent); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--alt-font, inherit); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; border: 0; cursor: pointer; display: none;
}
.arven-hero[data-needs-gyro="1"] .arven-gyro-pill { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  .arven-hero-canvas { background: linear-gradient(135deg, #1A1D23 0%, #2A2D33 100%); }
  .arven-hero-canvas canvas { display: none !important; }
}
.arven-hero-pulse {
  width: 8px; height: 8px; background: var(--arven-accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--arven-accent-glow);
  animation: arven-pulse 2s infinite;
  display: inline-block; margin-right: 10px; vertical-align: middle;
}
@keyframes arven-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================
   TICKER  ([arven_ticker])  — toggle'a uyar
   Light moda --arven-ink-2 (açık), dark moda --arven-ink-2 (koyu).
   Per-instance override için: [arven_ticker bg="..." text="..."]
   ============================================ */
.arven-ticker {
  border-block: 1px solid var(--arven-line);
  padding: 22px 0; overflow: hidden;
  background: var(--arven-ink-2);
  color: var(--arven-paper);
}
.arven-ticker-item { color: var(--arven-mute); }
.arven-ticker-item.serif { color: var(--arven-paper); }
.arven-ticker-track {
  display: flex; gap: 48px; align-items: center; white-space: nowrap;
  animation: arven-ticker-scroll 60s linear infinite;
}
.arven-ticker-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--alt-font, inherit); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--arven-mute);
}
.arven-ticker-item .dot { width: 5px; height: 5px; background: var(--arven-accent); border-radius: 50%; }
.arven-ticker-item.serif {
  font-family: inherit;  /* Heading font'tan kalıtım — Cloud ayarı */
  font-size: 24px;
  letter-spacing: -0.01em; text-transform: none;
  color: var(--arven-paper); font-style: italic;
}
@keyframes arven-ticker-scroll { to { transform: translateX(-50%); } }

/* ============================================
   SERVICE CARD
   ============================================ */
.arven-service-card {
  border: 1px solid var(--arven-line);
  padding: 32px 28px 28px;
  position: relative; overflow: hidden; cursor: pointer;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--arven-ink);
  color: var(--arven-paper);
  transition: background 0.4s ease;
}
.arven-service-card:hover { background: var(--arven-ink-2); }
.arven-service-card .num {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.18em; color: var(--arven-mute-2) !important
}
.arven-service-card h3 {
  font-size: clamp(34px, 3.5vw, 52px);
  letter-spacing: -0.02em; line-height: 1; margin: 12px 0 14px; font-weight: 400;
  color: var(--arven-paper);
}
.arven-service-card h3 .arrow {
  display: inline-block; opacity: 0; transform: translateX(-6px);
  transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1); color: var(--arven-accent);
}
.arven-service-card:hover h3 .arrow { opacity: 1; transform: translateX(0); }
.arven-service-card .desc { color: var(--arven-mute) !important;font-size: 14px; line-height: 1.55; max-width: 36ch; }
.arven-service-card .meta {
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; color: var(--arven-mute-2);
  text-transform: uppercase; margin-top: 24px;
}
.arven-service-card .meta .tag { color: var(--arven-paper) !important }
.arven-service-card .thread {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--arven-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
.arven-service-card:hover .thread { transform: scaleX(1); }

/* ============================================
   PROCESS  ([arven_process])  — toggle'a uyar
   Light moda açık beyazımsı zemin, dark moda koyu.
   Per-instance override: [arven_process bg="..." text="..."]
   ============================================ */
.arven-process {
  background: var(--arven-ink-2);
  border-block: 1px solid var(--arven-line);
  overflow: clip;
  color: var(--arven-paper);
}
.arven-process .arven-process-head .progress,
.arven-process .arven-proc-step p,
.arven-process .arven-proc-meta,
.arven-process .arven-proc-visual .label,
.arven-process .arven-proc-visual .corner { color: var(--arven-mute); }
.arven-process .arven-proc-visual {
  background: var(--arven-ink-3);
  border-color: var(--arven-line);
  color: var(--arven-paper);
}
.arven-process .arven-proc-meta { border-top-color: var(--arven-line); }
.arven-process .arven-process-head .bar { background: var(--arven-line-strong); }
.arven-process-stage { position: relative; }
.arven-process-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.arven-process-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: start;
  padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 56px) 0;
  pointer-events: none;
}
.arven-process-head h2 {
  font-size: clamp(40px, 5vw, 80px);
  letter-spacing: -0.02em; line-height: 0.95; max-width: 12ch;
  pointer-events: auto; font-weight: 400;
}
.arven-process-head .progress {
  text-align: right;
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--arven-mute);
  pointer-events: auto;
}
.arven-process-head .bar {
  width: 220px; height: 1px; background: var(--arven-line-strong);
  margin-top: 14px; position: relative; overflow: hidden; margin-left: auto;
}
.arven-process-head .bar > span {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--arven-accent); width: 0%;
  transition: width 0.2s linear;
}
.arven-process-track {
  display: flex; height: 100vh; min-height: 720px;
  align-items: center; padding-inline: clamp(24px, 4vw, 56px);
  gap: clamp(48px, 6vw, 96px); will-change: transform;
}
.arven-proc-step {
  flex: 0 0 clamp(380px, 38vw, 560px); position: relative;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: 82px 0 32px;
}
.arven-proc-step .step-no {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.2em; color: var(--arven-accent) !important;text-transform: uppercase;
}
.arven-proc-step h3 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95; letter-spacing: -0.02em; font-weight: 400;
}
.arven-proc-step p { color: var(--arven-mute); font-size: 15px; line-height: 1.6; max-width: 38ch; }
.arven-proc-visual {
  height: clamp(280px, 36vh, 440px);
  background: var(--arven-ink-3);
  border: 1px solid var(--arven-line);
  position: relative; overflow: hidden; border-radius: 2px;
  color: var(--arven-paper);
}
.arven-proc-visual .stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    var(--angle, 12deg),
    transparent 0 14px,
    rgba(245,242,237,0.04) 14px 15px
  );
}
.arven-proc-visual .label,
.arven-proc-visual .corner {
  position: absolute; font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; color: var(--arven-mute); text-transform: uppercase;
}
.arven-proc-visual .label  { left: 16px; bottom: 14px; }
.arven-proc-visual .corner { top: 16px; right: 16px; }
.arven-proc-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arven-proc-visual svg text { font-family: monospace; text-transform: uppercase; }
.arven-proc-meta {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--arven-line);
  padding-top: 14px;
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; color: var(--arven-mute); text-transform: uppercase;
}
.arven-proc-line {
  position: absolute; right: -6vw; top: 50%; width: 6vw; height: 1px;
  background: linear-gradient(to right, var(--arven-accent), transparent);
}
.arven-proc-step:last-child .arven-proc-line { display: none; }

/* ============================================
   WHY
   ============================================ */
.arven-why { display: grid; grid-template-columns: 6fr 6fr; gap: 24px; color: var(--arven-paper); }
@media (max-width: 900px) { .arven-why { grid-template-columns: 1fr; } }
.arven-why-list { display: flex; flex-direction: column; }
.arven-why-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--arven-line);
  cursor: pointer; transition: padding 0.4s ease;
}
.arven-why-item:first-child { border-top: 1px solid var(--arven-line); }
.arven-why-item .num {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.18em; color: var(--arven-mute) !important
}
.arven-why-item h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.015em; line-height: 1.05; font-weight: 400;
}
.arven-why-item .arrow {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--arven-line-strong);
  display: grid; place-items: center; transition: all 0.4s;
}
.arven-why-item:hover { padding-left: 16px; }
.arven-why-item:hover .arrow,
.arven-why-item.is-active .arrow {
  background: var(--arven-accent);
  border-color: var(--arven-accent);
  transform: rotate(-45deg);
}
.arven-why-side { padding-left: clamp(0px, 4vw, 64px); }
.arven-why-side .lead {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15; letter-spacing: -0.015em; font-weight: 400;
}
.arven-why-side .lead em { color: var(--arven-accent); font-style: italic; }
.arven-why-side .meta {
  margin-top: 32px;
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.18em; color: var(--arven-mute); text-transform: uppercase;
}

/* ============================================
   LOGOS
   ============================================ */
.arven-logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--arven-line);
  border-left: 1px solid var(--arven-line);
}
@media (max-width: 900px) { .arven-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .arven-logos { grid-template-columns: repeat(2, 1fr); } }
.arven-logo-cell {
  border-right: 1px solid var(--arven-line);
  border-bottom: 1px solid var(--arven-line);
  height: 110px;
  display: grid; place-items: center;
  font-size: 18px;
  letter-spacing: -0.01em; color: var(--arven-mute);
  transition: all 0.3s; font-style: italic;
  background: transparent;
}
.arven-logo-cell:hover { color: var(--arven-paper); background: var(--arven-ink-2); }

/* Light modda logo metni kontrastını artır (varsayılan rgba(10,11,13,0.58)
   açık zeminde silik kalıyordu) */
html[data-theme="light"] .arven-logo-cell { color: rgba(10,11,13,0.85); }
html[data-theme="light"] .arven-logo-cell:hover { color: #0A0B0D; background: #ECE8E0; }
.arven-logo-cell.mono {
  font-family: var(--alt-font, inherit); font-style: normal; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.arven-logo-cell.bold {
  font-family: inherit; font-weight: 700;
  font-style: normal; font-size: 18px; letter-spacing: -0.02em;
}

/* ============================================
   PILLAR
   ============================================ */
.arven-pillar {
  background: var(--arven-ink);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 380px;
  border: 1px solid var(--arven-line);
  position: relative;
  color: var(--arven-paper);
  transition: background 0.4s ease;
}
.arven-pillar:hover { background: var(--arven-ink-2); }
.arven-pillar .head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 8px;
}
.arven-pillar .num {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.2em; color: var(--arven-mute) !important;text-transform: uppercase;
}
.arven-pillar .icon { width: 60px; height: 60px; color: var(--arven-accent); opacity: 0.85; }
.arven-pillar .icon svg { width: 100%; height: 100%; }
.arven-pillar .title {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.22em; color: var(--arven-accent); text-transform: uppercase;
}
.arven-pillar .headline {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1; letter-spacing: -0.015em; font-weight: 400;
}
.arven-pillar .desc {
  font-size: 14px; line-height: 1.6; color: var(--arven-mute) !important
  margin-top: auto;
}
.arven-pillar .metric {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 18px; margin-top: 14px;
  border-top: 1px solid var(--arven-line);
}
.arven-pillar .metric-v {
  font-size: 36px; line-height: 1;
  color: var(--arven-accent) !important;letter-spacing: -0.02em;
}
.arven-pillar .metric-l {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.16em; color: var(--arven-mute) !important
  text-transform: uppercase; line-height: 1.4;
}

/* ============================================
   ROADMAP
   ============================================ */
.arven-roadmap {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--arven-line);
  padding-left: 32px; position: relative;
  color: var(--arven-paper);
}
.arven-rm-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--arven-line);
  position: relative; align-items: start;
}
.arven-rm-row:last-child { border-bottom: 0; }
.arven-rm-dot {
  position: absolute; left: -38px; top: 24px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--arven-ink);
  border: 1px solid var(--arven-line-strong);
  transition: all 0.3s ease;
}
.arven-rm-row.done .arven-rm-dot {
  background: var(--arven-accent);
  border-color: var(--arven-accent);
  box-shadow: 0 0 0 3px var(--arven-accent-glow);
}
.arven-rm-year {
  font-family: var(--alt-font, inherit); font-size: 13px;
  letter-spacing: 0.12em; color: var(--arven-accent); padding-top: 4px;
}
.arven-rm-row:not(.done) .arven-rm-year { color: var(--arven-mute); }
.arven-rm-title {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.arven-rm-sub {
  margin-top: 4px;
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--arven-mute);
}

/* ============================================
   MAP STRIP
   ============================================ */
.arven-map-strip {
  border: 1px solid var(--arven-line);
  background: var(--arven-ink-2);
  height: 360px; position: relative; overflow: hidden;
  border-radius: 2px; color: var(--arven-paper);
}
.arven-map-strip svg {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6;
}
.arven-map-strip .pin {
  position: absolute; width: 14px; height: 14px;
  background: var(--arven-accent); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--arven-accent-soft), 0 0 20px var(--arven-accent-glow);
  animation: arven-pulse 2s infinite;
}
.arven-map-strip .info {
  position: absolute; left: 24px; top: 24px;
  background: var(--arven-ink); border: 1px solid var(--arven-line);
  padding: 20px 24px; max-width: 280px; border-radius: 2px;
}
.arven-map-strip .info h4 {
  font-size: 22px;
  margin-bottom: 8px; letter-spacing: -0.015em; font-weight: 400;
}
.arven-map-strip .info p {
  color: var(--arven-mute); font-size: 13px; line-height: 1.5;
}
.arven-map-strip .corner-mono {
  position: absolute; right: 16px; bottom: 14px;
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; color: var(--arven-mute); text-transform: uppercase;
}

/* ============================================
   SERVICE ROW
   ============================================ */
.arven-svc-row {
  display: grid; grid-template-columns: 1fr 4fr 5fr 1fr;
  gap: 24px; padding: 36px 0;
  border-bottom: 1px solid var(--arven-line) !important;
  align-items: start; cursor: pointer;
  transition: padding 0.4s, background 0.4s;
  color: var(--arven-paper) !important;
  text-decoration: none !important;
  background: transparent;
}
.arven-svc-row:hover { background: var(--arven-ink-2) !important; padding-left: 16px; padding-right: 16px; }
.arven-svc-row .num {
  font-family: var(--alt-font, inherit); font-size: 11px;
  letter-spacing: 0.18em; color: var(--arven-mute) !important; padding-top: 10px;
}
.arven-svc-row h3 {
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.02em; line-height: 1; font-weight: 400;
  color: var(--arven-paper) !important;
}
.arven-svc-row h3 em { color: var(--arven-accent) !important; font-style: italic; }
.arven-svc-row .desc {
  color: var(--arven-mute) !important; font-size: 15px;
  line-height: 1.6; max-width: 56ch; padding-top: 12px;
}
.arven-svc-row .arrow {
  padding-top: 14px; font-size: 22px;
  transition: all 0.3s; color: var(--arven-mute) !important;
}
.arven-svc-row:hover .arrow { color: var(--arven-accent) !important; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .arven-svc-row { grid-template-columns: auto 1fr; }
  .arven-svc-row .desc { grid-column: 1 / -1; }
  .arven-svc-row .arrow { display: none; }
}

/* ============================================
   WEAVE ART
   ============================================ */
.arven-weave-art {
  position: relative; aspect-ratio: 5 / 6; max-width: 420px;
  background: var(--arven-ink-2);
  border: 1px solid var(--arven-line);
  overflow: hidden; color: var(--arven-paper);
}
.arven-weave-art .bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--arven-accent-glow), transparent 55%),
    linear-gradient(135deg, var(--arven-ink-3), var(--arven-ink-2));
}
.arven-weave-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arven-weave-art .overlay {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; justify-content: space-between;
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--arven-mute);
}

/* ============================================
   REVEAL
   ============================================ */
.arven-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.arven-reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   PAGE HERO helper
   ============================================ */
.arven-page-hero h1 {
  font-size: clamp(56px, 8vw, 128px);
  letter-spacing: -0.025em; line-height: 0.92; font-weight: 400;
}
.arven-page-hero h1 em { color: var(--arven-accent); font-style: italic; }

/* ============================================
   FIGURE
   ============================================ */
.arven-figure { color: var(--arven-paper); }
.arven-figure .num {
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.03em; line-height: 1;
}
.arven-figure .num sup {
  font-size: 0.4em; vertical-align: super;
  color: var(--arven-accent); margin-left: 4px;
}
.arven-figure .lbl {
  font-family: var(--alt-font, inherit); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--arven-mute) !important
  margin-top: 12px; max-width: 18ch; line-height: 1.5;
}

/* ============================================
   FLATSOME .dark SECTION OVERRIDES
   - [section dark="true"] içinde arven shortcode'ları daima
     koyu palet kullanır (Flatsome'un .dark sınıfı eklediği zaman).
   ============================================ */
.dark .arven-eyebrow,
.dark .arven-figure .lbl,
.dark .arven-rm-sub,
.dark .arven-svc-row .num,
.dark .arven-svc-row .desc,
.dark .arven-pillar .num,
.dark .arven-pillar .desc,
.dark .arven-service-card .desc,
.dark .arven-service-card .num,
.dark .arven-service-card .meta,
.dark .arven-why-item .num,
.dark .arven-why-side .meta { color: rgba(245,242,237,0.55); }

.dark .arven-figure,
.dark .arven-svc-row,
.dark .arven-pillar,
.dark .arven-roadmap,
.dark .arven-rm-title,
.dark .arven-service-card h3,
.dark .arven-service-card .meta .tag,
.dark .arven-svc-row h3,
.dark .arven-why-item h3,
.dark .arven-why-side .lead { color: #F5F2ED; }

.dark .arven-pillar {
  background: #16181C;
  border-color: rgba(245,242,237,0.10);
}
.dark .arven-pillar:hover { background: #1F2228; }
.dark .arven-pillar .metric { border-top-color: rgba(245,242,237,0.10); }

.dark .arven-service-card {
  background: #0A0B0D;
  border-color: rgba(245,242,237,0.10);
}
.dark .arven-service-card:hover { background: #16181C; }

.dark .arven-svc-row,
.dark .arven-why-item,
.dark .arven-rm-row { border-bottom-color: rgba(245,242,237,0.10); }
.dark .arven-why-item:first-child,
.dark .arven-roadmap { border-color: rgba(245,242,237,0.10); }
.dark .arven-rm-dot { background: #0A0B0D; border-color: rgba(245,242,237,0.22); }

.dark .arven-logo-cell {
  border-color: rgba(245,242,237,0.10);
  color: rgba(245,242,237,0.55);
}
.dark .arven-logo-cell:hover { background: #16181C; color: #F5F2ED; }
.dark .arven-logos { border-color: rgba(245,242,237,0.10); }

/* Light mode (default) — kart zeminleri sayfa zemininden hafif farklı */
html[data-theme="light"] .arven-pillar:not(.dark .arven-pillar),
html[data-theme="light"] :not(.dark) > .arven-pillar { background: #ECE8E0; }
html[data-theme="light"] .arven-service-card:not(.dark .arven-service-card),
html[data-theme="light"] :not(.dark) > .arven-service-card { background: #ECE8E0; }

/* Theme-toggle ikonu .dark içindeyken her zaman koyu zemine uygun */
.dark .arven-theme-toggle { color: #F5F2ED; border-color: rgba(245,242,237,0.22); }

/* ============================================
   TOGGLE-AWARE UTILITY · .arven-prefer-dark / .arven-prefer-light
   - Toggle'a uyar (kilitli değil).
   - Light theme  → admin'deki "Utility .arven-light" renkleri
   - Dark theme   → admin'deki "Utility .arven-dark"  renkleri
   - İki sınıf da aynı davranır; isim seçimi semantik tercihtir.
   - Buradaki değerler fallback; admin değerleri inline ezer.
   ============================================ */
.arven-prefer-dark,
.arven-prefer-light {
  --arven-ink:    #F5F2ED;
  --arven-ink-2:  #ECE8E0;
  --arven-paper:  #0A0B0D;
  --arven-mute:   rgba(10,11,13,0.58);
  --arven-line:   rgba(10,11,13,0.10);
  --arven-line-strong: rgba(10,11,13,0.22);
  background: var(--arven-ink);
  color:      var(--arven-paper);
}
html[data-theme="dark"] .arven-prefer-dark,
html[data-theme="dark"] .arven-prefer-light {
  --arven-ink:    #0A0B0D;
  --arven-ink-2:  #16181C;
  --arven-paper:  #F5F2ED;
  --arven-mute:   rgba(245,242,237,0.55);
  --arven-line:   rgba(245,242,237,0.10);
  --arven-line-strong: rgba(245,242,237,0.22);
  background: var(--arven-ink);
  color:      var(--arven-paper);
}
/* Display/mono/eyebrow text'leri paper/mute'a sabitle */
.arven-prefer-dark .arven-display, .arven-prefer-dark .arven-mono,
.arven-prefer-light .arven-display, .arven-prefer-light .arven-mono,
.arven-prefer-dark h1, .arven-prefer-dark h2, .arven-prefer-dark h3, .arven-prefer-dark p, .arven-prefer-dark a:not(.button),
.arven-prefer-light h1, .arven-prefer-light h2, .arven-prefer-light h3, .arven-prefer-light p, .arven-prefer-light a:not(.button) { color: var(--arven-paper); }
.arven-prefer-dark .arven-eyebrow, .arven-prefer-dark .arven-figure .lbl, .arven-prefer-dark .arven-rm-sub,
.arven-prefer-light .arven-eyebrow, .arven-prefer-light .arven-figure .lbl, .arven-prefer-light .arven-rm-sub { color: var(--arven-mute); }

/* ============================================
   FLATSOME .dark / .light SECTION OVERRIDE (FALLBACK)
   - Admin yoksa devreye girer.
   - Toggle = source of truth: Flatsome'un per-section dark/light setting'i
     toggle aktifken iptal edilir, ana paletle render olur.
   ============================================ */
html[data-theme="light"] .dark {
  background-color: var(--arven-ink) !important;
}
html[data-theme="light"] .dark,
html[data-theme="light"] .dark h1,
html[data-theme="light"] .dark h2,
html[data-theme="light"] .dark h3,
html[data-theme="light"] .dark h4,
html[data-theme="light"] .dark h5,
html[data-theme="light"] .dark h6,
html[data-theme="light"] .dark p,
html[data-theme="light"] .dark li,
html[data-theme="light"] .dark span:not([style*="color"]),
html[data-theme="light"] .dark a:not(.button) {
  color: var(--arven-paper) !important;
}
html[data-theme="dark"] .light {
  background-color: var(--arven-ink) !important;
}
html[data-theme="dark"] .light,
html[data-theme="dark"] .light h1,
html[data-theme="dark"] .light h2,
html[data-theme="dark"] .light h3,
html[data-theme="dark"] .light h4,
html[data-theme="dark"] .light h5,
html[data-theme="dark"] .light h6,
html[data-theme="dark"] .light p,
html[data-theme="dark"] .light li,
html[data-theme="dark"] .light span:not([style*="color"]),
html[data-theme="dark"] .light a:not(.button) {
  color: var(--arven-paper) !important;
}
/* Hero hâlâ self-locked; override etmeye çalışan bir cascade'i geri ezsin. */
.arven-hero, .arven-hero h1, .arven-hero p,
.arven-hero a:not(.button) { color: #F5F2ED !important; }

/* ============================================================
   DISCLOSURE: popup (modal) + accordion (inline)
   Used by arven_service_card + arven_service_row when
   display="popup" or display="accordion".
   ============================================================ */

/* Trigger reset when rendered as <button> instead of <a> */
button.arven-disclosure-trigger {
  font-family: inherit;
  text-align: left;
  border: 0;
  cursor: pointer;
  width: 100%;
}
button.arven-service-card { background: transparent; }

/* ----- Accordion ----- */
.arven-disclosure-trigger.is-accordion { position: relative; }
.arven-disclosure-trigger.is-accordion .arrow {
  display: inline-block;
  font-family: var(--arven-mono, ui-monospace, monospace);
  transition: transform .25s ease;
  color: var(--arven-accent);
}
.arven-disclosure-trigger.is-accordion.is-open .arrow { transform: rotate(45deg); }
.arven-disclosure-trigger.is-accordion.is-open { background: var(--arven-ink-2); }

.arven-disclosure-body {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s ease, opacity .25s ease, padding .3s ease;
  border-top: 1px solid transparent;
  margin-top: 0;
}
.arven-disclosure-trigger.is-open .arven-disclosure-body {
  max-height: 1400px;
  opacity: 1;
  border-top: 1px solid var(--arven-line, rgba(245,242,237,0.10));
  margin-top: 18px;
  padding-top: 18px;
}
.is-accordion .arven-disclosure-inner {
  color: var(--arven-mute);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.7;
  max-width: 68ch;
  padding: 0 4px 8px;
}
.is-accordion .arven-disclosure-inner > * + * { margin-top: 12px; }

/* arven-svc-row is a grid row — make the disclosure body span all columns */
.arven-svc-row.arven-disclosure-trigger { flex-wrap: wrap; }
.arven-svc-row .arven-disclosure-body { width: 100%; }

/* ----- Popup (modal) ----- */
.arven-modal-open { overflow: hidden; }
.arven-modal-overlay {
  position: fixed; inset: 0;
  background: var(--arven-popup-overlay, rgba(10, 11, 13, 0.78));
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
  z-index: 10000;
  opacity: 0;
  transition: opacity .25s ease;
}
.arven-modal-overlay.is-open { opacity: 1; }

.arven-modal {
  position: relative;
  background: var(--arven-popup-bg, var(--arven-ink));
  color: var(--arven-popup-text, var(--arven-paper));
  border: 1px solid var(--arven-popup-border, var(--arven-line, rgba(245,242,237,0.10)));
  border-radius: 4px;
  padding: 56px clamp(28px, 4vw, 64px) clamp(36px, 4vw, 56px);
  width: min(900px, 100%);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateY(12px) scale(.98);
  transition: transform .3s ease;
}
.arven-modal-overlay.is-open .arven-modal { transform: translateY(0) scale(1); }

.arven-modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: var(--arven-popup-close-bg, transparent);
  color: var(--arven-popup-close-color, var(--arven-popup-text, var(--arven-paper)));
  border: 1px solid var(--arven-popup-border, var(--arven-line, rgba(245,242,237,0.22)));
  font-size: 0;                        /* hide inline "×" text node */
  line-height: 0;
  text-indent: 0;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform .25s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.arven-modal-x::before {
  content: "\00d7";                    /* × */
  display: inline-block;
  width: 22px;
  height: 22px;
  font: 400 22px/22px "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  text-align: center;
  vertical-align: middle;
}
.arven-modal-x:hover {
  transform: rotate(90deg);
  border-color: var(--arven-accent);
  background: var(--arven-accent);
  color: #fff;
}

.arven-modal-head .eyebrow {
  font-family: var(--arven-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arven-popup-mute, var(--arven-mute));
  margin-bottom: 14px;
}
.arven-modal-head .eyebrow .num { color: var(--arven-popup-accent, var(--arven-accent)); margin-right: 8px; }
.arven-modal-head h2 {
  font-family: var(--arven-serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 0 24px;
  color: var(--arven-popup-text, var(--arven-paper));
}
.arven-modal-head h2 em { color: var(--arven-popup-accent, var(--arven-accent)); font-style: italic; }
.arven-modal-body {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
  color: var(--arven-popup-mute, var(--arven-mute));
  max-width: 68ch;
}
.arven-modal-body > * + * { margin-top: 14px; }

@media (max-width: 640px) {
  .arven-modal { padding: 48px 22px 28px; }
}

/* ============================================================
   PAGE TRANSITION / LOADING OVERLAY
   Active when admin → "Sayfa Geçişi" = Açık.
   ============================================================ */
.arven-pt-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--arven-pt-overlay, #0A0B0D);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
  transition:
    opacity     var(--arven-pt-duration, 500ms) cubic-bezier(.4,0,.2,1),
    transform   var(--arven-pt-duration, 500ms) cubic-bezier(.4,0,.2,1),
    clip-path   var(--arven-pt-duration, 500ms) cubic-bezier(.4,0,.2,1);
}
.arven-pt-overlay.is-entering,
.arven-pt-overlay.is-leaving {
  opacity: 1;
  pointer-events: auto;
}

/* Loader element — thin accent line, centered. */
.arven-pt-loader {
  width: clamp(80px, 12vw, 160px);
  height: 1px;
  background: var(--arven-line, rgba(245,242,237,0.18));
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity calc(var(--arven-pt-duration, 500ms) * 0.6) ease;
}
.arven-pt-overlay.is-entering .arven-pt-loader,
.arven-pt-overlay.is-leaving .arven-pt-loader { opacity: 1; }
.arven-pt-loader span {
  position: absolute;
  inset: 0;
  background: var(--arven-pt-accent, var(--arven-accent, #3F8AC9));
  transform-origin: left center;
  animation: arven-pt-bar 1.1s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes arven-pt-bar {
  0%   { transform: scaleX(0); transform-origin: left center; }
  50%  { transform: scaleX(1); transform-origin: left center; }
  51%  { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

/* ----- Style: fade (default) ----- */
.arven-pt-overlay[data-style="fade"] {
  /* opacity transition handles everything */
}

/* ----- Style: wipe-up (slides up to reveal, slides down on leave) ----- */
.arven-pt-overlay[data-style="wipe-up"] {
  transform: translateY(100%);
  opacity: 1;
}
.arven-pt-overlay[data-style="wipe-up"].is-leaving {
  transform: translateY(0);
}
.arven-pt-overlay[data-style="wipe-up"].is-entering {
  transform: translateY(-100%);
}

/* ----- Style: curtain (splits open vertically on reveal) ----- */
.arven-pt-overlay[data-style="curtain"] {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
.arven-pt-overlay[data-style="curtain"].is-leaving {
  clip-path: inset(0 0 0 0);
}
.arven-pt-overlay[data-style="curtain"]:not(.is-leaving):not(.is-entering) {
  clip-path: inset(50% 0 50% 0);
  pointer-events: none;
}
.arven-pt-overlay[data-style="curtain"].is-entering {
  clip-path: inset(50% 0 50% 0);
}

@media (prefers-reduced-motion: reduce) {
  .arven-pt-overlay { transition-duration: 0ms !important; }
  .arven-pt-loader span { animation: none; }
}
