/* ==========================================================
   Forbayt — main.css
   Tasarım dili: editorial-tech, light (bone), ölçülü motion
   ========================================================== */

/* ---------- Tokens (theme-aware) ----------
   Light (default) = pure white bg, deep ink text
   Dark            = deep ink bg, cream text
   Semantik:
     --ink       = page background
     --ivory     = primary text
     --accent    = solid buttons / marks (theme mirror)
     --on-accent = accent zemin üstü metin
     --ember     = editorial warm accent (sabit her iki temada)
   -------------------------------------------- */
:root,
[data-theme="light"] {
  --ink:          #FFFFFF;                       /* pure white */
  --ink-2:        #F6F6F3;
  --surface:      #FFFFFF;
  --surface-2:    #F4F4F0;
  --line:         rgba(10, 10, 12, 0.08);
  --line-strong:  rgba(10, 10, 12, 0.18);

  --ivory:        #0A0A0C;
  --ivory-dim:    #2A2A2E;
  --muted:        #6D6D76;
  --muted-2:      #7E7E88;                       /* a11y: AA ~4.6:1 (eski #A8A8B0 = 2.28:1) */

  --accent:       #0A0A0C;                       /* dark on light */
  --accent-soft:  rgba(10, 10, 12, 0.06);
  --ember:        #B83D1F;
  --ember-soft:   rgba(184, 61, 31, 0.10);       /* hover bant / halo / yumuşak vurgu */

  --on-accent:    #FFFFFF;

  --overlay:      rgba(10, 10, 12, 0.60);

  /* Elevation ölçeği — kart/panel gölgeleri tek kaynaktan */
  --shadow-card:    0 24px 48px -20px rgba(10, 10, 12, 0.18);
  --shadow-card-lg: 0 32px 60px -28px rgba(10, 10, 12, 0.28);
}

[data-theme="dark"] {
  --ink:          #0A0A0C;                       /* deep ink bg */
  --ink-2:        #111116;
  --surface:      #141419;
  --surface-2:    #1A1A22;
  --line:         rgba(245, 242, 236, 0.10);
  --line-strong:  rgba(245, 242, 236, 0.22);

  --ivory:        #F5F2EC;
  --ivory-dim:    #D8D4CB;
  --muted:        #9A9AA4;
  --muted-2:      #737380;                       /* a11y: AA ~4.6:1 (eski #646470 = 4.06:1) */

  --accent:       #F5F2EC;                       /* light on dark */
  --accent-soft:  rgba(245, 242, 236, 0.08);
  --ember:        #E66949;                       /* brighter on dark */
  --ember-soft:   rgba(230, 105, 73, 0.14);      /* hover bant / halo / yumuşak vurgu */

  --on-accent:    #0A0A0C;

  --overlay:      rgba(10, 10, 12, 0.70);

  /* Elevation ölçeği (koyu temada daha derin) */
  --shadow-card:    0 24px 48px -20px rgba(0, 0, 0, 0.45);
  --shadow-card-lg: 0 32px 60px -28px rgba(0, 0, 0, 0.55);
}

/* Shared non-color tokens */
:root {
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif:   "Instrument Serif", "Times New Roman", serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container-pad: clamp(20px, 4vw, 64px);
  --section-pad-y: clamp(120px, 14vw, 220px);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --nav-h: 76px;
}

/* Theme transition (yumuşak geçiş) */
html { transition: background-color .35s var(--ease-out), color .35s var(--ease-out); }
html.theme-transitioning,
html.theme-transitioning * { transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out) !important; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--on-accent); }

html, body { margin: 0; padding: 0; }
html {
  background: var(--ink);
  color: var(--ivory);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
}

body.fb-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1vw + 10px, 17px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  background: var(--ink);
  color: var(--ivory);
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }

img, video, canvas { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .3s var(--ease-out);
}
a:hover { color: var(--ember); }

button { font: inherit; cursor: pointer; }

.container-xxl {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.02;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Primitives ---------- */
.fb-label,
.fb-section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fb-section-label::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-strong);
}

.fb-section-head {
  margin-bottom: clamp(48px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fb-section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.fb-section-head--center {
  align-items: center;
  text-align: center;
}

.fb-section-title {
  font-size: clamp(44px, 7.2vw, 118px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.fb-section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ember);
}

.fb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: var(--accent-soft);
}

.fb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.fb-btn {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-br: var(--line-strong);

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-br);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.fb-btn svg { width: 16px; height: 16px; }
.fb-btn > span, .fb-btn > svg { position: relative; z-index: 2; }

.fb-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
  z-index: 1;
}
.fb-btn:hover { color: var(--on-accent); border-color: var(--accent); }
.fb-btn:hover::before { transform: translateY(0); }

.fb-btn--solid {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  --btn-br: var(--accent);
}
.fb-btn--solid::before { background: var(--ember); }
.fb-btn--solid:hover { color: var(--on-accent); border-color: var(--ember); }

.fb-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-br: var(--line-strong);
}

.fb-btn--pill { padding: 12px 18px; }

/* =============================================================
   LOADER
   ============================================================= */
.fb-loader {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out), visibility 0s linear .8s;
  pointer-events: none; /* loader her zaman tıklamayı engellemesin — sadece görsel efekt */
}
.fb-loader.is-active { pointer-events: auto; }
.fb-loader.is-done {
  opacity: 0;
  pointer-events: none !important;
  visibility: hidden;
}
.fb-loader__inner {
  width: min(500px, 86vw);
  display: grid; gap: 20px;
  text-align: left;
}
.fb-loader__mark {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.fb-loader__mark sup {
  font-size: 0.35em; margin-left: 4px; color: var(--accent);
}
.fb-loader__bar {
  position: relative;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.fb-loader__bar span {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.fb-loader__count {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* =============================================================
   SCROLL PROGRESS BAR (sayfa üstünde ince ember çizgi)
   ============================================================= */
.fb-scroll-progress {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 150;
  pointer-events: none;
  background: transparent;
}
.fb-scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--ember), color-mix(in oklab, var(--ember) 70%, #fff));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
  box-shadow: 0 0 12px color-mix(in oklab, var(--ember) 40%, transparent);
  will-change: transform;
}

/* =============================================================
   LATERAL NAV (sağ kenar — aktif section indikatörü)
   ============================================================= */
.fb-lateral-nav {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 140;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.fb-lateral-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.fb-lateral-nav__list {
  list-style: none;
  padding: 12px 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: color-mix(in oklab, var(--ink) 85%, transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.fb-lateral-nav__item {
  display: block;
}
.fb-lateral-nav__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  text-align: right;
}
.fb-lateral-nav__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  flex: 0 0 auto;
}
.fb-lateral-nav__dot:hover { color: var(--ivory); }
.fb-lateral-nav__dot:hover::before { opacity: 0.7; }
.fb-lateral-nav__item.is-active .fb-lateral-nav__dot { color: var(--ember); }
.fb-lateral-nav__item.is-active .fb-lateral-nav__dot::before {
  opacity: 1;
  transform: scale(1.35);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ember) 22%, transparent);
}
.fb-lateral-nav__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .3s var(--ease-out), opacity .25s var(--ease-out), margin-right .3s var(--ease-out);
  margin-right: 0;
  order: -1;
}
.fb-lateral-nav__dot:hover .fb-lateral-nav__label,
.fb-lateral-nav__item.is-active .fb-lateral-nav__dot .fb-lateral-nav__label {
  max-width: 200px;
  opacity: 1;
  margin-right: 2px;
}

@media (max-width: 767.98px) {
  .fb-lateral-nav { display: none; }
}

/* =============================================================
   HEADER SEARCH BUTTON
   ============================================================= */
.fb-nav__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), width .25s var(--ease-out), border-radius .25s var(--ease-out), padding .25s var(--ease-out);
  margin-right: 6px;
}
.fb-nav__search-btn:hover {
  background: var(--accent-soft);
  border-color: var(--line-strong);
  color: var(--ember);
}
.fb-nav__search-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.fb-nav__search-kbd {
  display: none;
  align-items: center;
  gap: 3px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  color: var(--text-muted, #9ca3af);
  line-height: 1;
}
.fb-nav__search-kbd-mac { display: none; }
.fb-nav__search-kbd-win { display: inline; }
@media (min-width: 992px) {
  .fb-nav__search-btn {
    width: auto;
    padding: 0 10px 0 12px;
    border-radius: 999px;
  }
  .fb-nav__search-kbd { display: inline-flex; }
}
.fb-platform-mac .fb-nav__search-kbd-mac { display: inline; }
.fb-platform-mac .fb-nav__search-kbd-win { display: none; }

/* =============================================================
   SEARCH OVERLAY (Ctrl+K modal)
   ============================================================= */
.fb-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 10vh, 120px) 16px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out);
}
.fb-search.is-open {
  opacity: 1;
  pointer-events: auto;
}
.fb-search__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.fb-search__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform .3s var(--ease-out);
}
.fb-search.is-open .fb-search__panel {
  transform: translateY(0) scale(1);
}

.fb-search__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.fb-search__head-icon {
  font-size: 18px;
  color: var(--muted);
}
.fb-search__input {
  flex: 1;
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -0.01em;
  outline: 0;
  min-width: 0;
}
.fb-search__input::placeholder { color: var(--muted-2); }
.fb-search__hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  font-family: ui-monospace, monospace;
}
.fb-search__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.fb-search__close:hover {
  background: var(--accent-soft);
  color: var(--ivory);
}

.fb-search__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 0;
}

.fb-search__empty {
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
}
.fb-search__empty .bi { font-size: 28px; opacity: 0.55; display: block; margin-bottom: 12px; }
.fb-search__empty p { margin: 0 0 14px; font-size: 14px; }

.fb-search__suggest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.fb-search__suggest button {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.fb-search__suggest button:hover {
  border-color: var(--ember);
  color: var(--ember);
}

.fb-search__group { padding: 12px 0; }
.fb-search__group + .fb-search__group { border-top: 1px solid var(--line); }
.fb-search__group-label {
  display: block;
  padding: 4px 18px 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.fb-search__hit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 18px;
  text-decoration: none;
  color: var(--ivory);
  border-left: 2px solid transparent;
  transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out);
}
.fb-search__hit:hover,
.fb-search__hit.is-active {
  background: var(--accent-soft);
  border-left-color: var(--ember);
  color: var(--ivory);
}
.fb-search__hit-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ember);
  font-size: 14px;
  margin-top: 2px;
}
.fb-search__hit-body { min-width: 0; flex: 1; }
.fb-search__hit-title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-search__hit-title mark {
  background: transparent;
  color: var(--ember);
  font-weight: 600;
}
.fb-search__hit-excerpt {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-search__noresult {
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
}
.fb-search__noresult strong { color: var(--ivory); }

.fb-search__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface-2);
}
.fb-search__foot kbd {
  display: inline-block;
  padding: 1px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ivory);
  margin-right: 4px;
}

@media (max-width: 575.98px) {
  .fb-search__foot { display: none; }
  .fb-search { padding-top: 24px; }
}


/* =============================================================
   CURSOR
   ============================================================= */
.fb-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 120;
  mix-blend-mode: difference;
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .fb-cursor { display: block; }
}
body.is-cursor-ready .fb-cursor { opacity: 1; }
.fb-cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.fb-cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), opacity .3s var(--ease-out);
  opacity: 0.9;
}
body.is-cursor-hover .fb-cursor__ring {
  width: 70px; height: 70px; opacity: 1;
}

/* =============================================================
   NAVBAR
   Üstte  : tek bütün frosted-glass pill (ortalanmış, dar)
   Scroll : klasik bar (tam-genişlik, backdrop-blur, border-bottom)
   ============================================================= */
.fb-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: clamp(14px, 1.6vw, 20px) 0;
  transition:
    padding .4s var(--ease-out),
    background .4s var(--ease-out),
    border-color .4s var(--ease-out),
    backdrop-filter .4s;
  border-bottom: 1px solid transparent;
  pointer-events: auto;
}

/* ---------- SCROLLED (bar) ---------- */
.fb-nav.is-scrolled {
  padding: 0;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
[data-theme="light"] .fb-nav.is-scrolled { background: rgba(255, 255, 255, 0.86); }
[data-theme="dark"]  .fb-nav.is-scrolled { background: rgba(10, 10, 12, 0.8); }

/* ---------- SHELL (pill at top / bar at scroll) ---------- */
.fb-nav__shell {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 14px);
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.42) inset,
    0 14px 36px -16px rgba(10, 10, 12, 0.24),
    0 2px 6px -2px rgba(10, 10, 12, 0.10);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;        /* ortalı pill */
  transition: all .5s cubic-bezier(.4, .2, .2, 1);
  min-height: 56px;
}

/* Dark theme pill */
[data-theme="dark"] .fb-nav__shell {
  background: rgba(20, 20, 25, 0.5);
  border-color: rgba(245, 242, 236, 0.14);
  box-shadow:
    0 1px 0 0 rgba(245, 242, 236, 0.08) inset,
    0 14px 36px -16px rgba(0, 0, 0, 0.6);
}

/* Scroll'da shell tamamen çözülür, eski bar'a döner */
.fb-nav.is-scrolled .fb-nav__shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 12px 0;
  width: 100%;
  margin: 0;
  justify-content: space-between;
  min-height: 68px;
}

/* ---------- Brand / logo ---------- */
.fb-nav__brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 4px 6px;
  color: var(--ivory);
  flex: 0 0 auto;
  transition: padding .4s var(--ease-out);
}
.fb-nav__brand:hover { color: var(--ivory); }
.fb-nav.is-scrolled .fb-nav__brand { padding: 0; }

.fb-nav__logo {
  display: block;
  height: 26px;
  width: auto;
  transition: opacity .3s var(--ease-out), height .3s var(--ease-out);
}
:root .fb-nav__logo,
[data-theme="light"] .fb-nav__logo { filter: invert(1); }
[data-theme="dark"] .fb-nav__logo { filter: none; }

.fb-nav.is-scrolled .fb-nav__logo { height: 30px; }

.fb-nav__logo--sm { height: 22px; }
.fb-nav__brand:hover .fb-nav__logo { opacity: 0.75; }

/* ---------- Menu (links) + MEGA MENU ---------- */
.fb-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.fb-nav.is-scrolled .fb-nav__menu {
  flex: 1 1 auto;
  justify-content: center;
}

.fb-nav__item { position: relative; }

.fb-nav__link {
  position: relative;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ivory);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fb-nav__caret {
  width: 10px; height: 10px;
  transition: transform .3s var(--ease-out);
  opacity: 0.6;
}
.fb-nav__item.is-open .fb-nav__caret,
.fb-nav__item:hover .fb-nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* ===== MEGA PANEL ===== */
.fb-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(880px, calc(100vw - 48px));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 10, 12, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.2vw, 32px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.5) inset,
    0 30px 60px -20px rgba(10, 10, 12, 0.22),
    0 4px 12px -2px rgba(10, 10, 12, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s;
  z-index: 50;
}
[data-theme="dark"] .fb-mega {
  background: rgba(20, 20, 25, 0.92);
  border-color: rgba(245, 242, 236, 0.14);
  box-shadow:
    0 1px 0 0 rgba(245, 242, 236, 0.08) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.65);
}
.fb-nav__item.is-open > .fb-mega,
.fb-nav__item:hover > .fb-mega,
.fb-nav__item:focus-within > .fb-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* Bridge — link ve panel arasında görünmez hover area (kaybolmasın) */
.fb-mega::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -14px;
  height: 14px;
}

.fb-mega__grid {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
}
.fb-mega__grid--4 { grid-template-columns: repeat(3, 1fr) 1.2fr; }
.fb-mega__grid--3 { grid-template-columns: 0.9fr 1fr 1fr; }

.fb-mega__col { display: flex; flex-direction: column; gap: 8px; }
.fb-mega__title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  padding-left: 10px;
}
.fb-mega__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 1px;
}
.fb-mega__col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ivory);
  transition: color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
  white-space: nowrap;
}
.fb-mega__col a em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 400;
  margin-left: 4px;
}
.fb-mega__col a:hover {
  background: var(--accent-soft);
  color: var(--ember);
  transform: translateX(2px);
}

/* Hizmetler mega CTA card */
.fb-mega__cta {
  background: var(--ivory);
  color: var(--on-accent);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.fb-mega__cta::before {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--ember) 0%, transparent 70%);
  opacity: 0.35;
  z-index: -1;
}
.fb-mega__cta-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.fb-mega__cta-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 4px 0 2px;
  color: var(--on-accent);
}
.fb-mega__cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
}
.fb-mega__cta p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.72;
}
.fb-mega__cta-links { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.fb-mega__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: var(--ember);
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .25s, transform .25s, color .25s;
}
.fb-mega__cta-btn svg { width: 12px; height: 12px; }
.fb-mega__cta-btn:hover { background: #fff; color: var(--ivory); transform: translateX(2px); }
[data-theme="dark"] .fb-mega__cta-btn:hover { background: #0a0a0c; color: var(--ivory); }
.fb-mega__cta-btn--ghost {
  background: transparent;
  color: var(--on-accent);
  border: 1px solid rgba(255,255,255,0.25);
}
[data-theme="dark"] .fb-mega__cta-btn--ghost {
  border-color: rgba(10,10,12,0.25);
}
.fb-mega__cta-btn--ghost:hover {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}

/* Projeler mega — featured proje kartı */
.fb-mega__featured {
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ivory);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.fb-mega__featured:hover {
  transform: translateY(-3px);
  border-color: var(--ember);
  color: var(--ivory);
}
.fb-mega__featured-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.fb-mega__featured-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.fb-mega__featured-body span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.fb-mega__featured-body strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.fb-mega__featured-body em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ember);
  margin-top: 2px;
}
.fb-nav__link::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 10, 12, 0.08);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  z-index: 0;
  border-radius: 999px;
}
.fb-nav__link:hover::before { opacity: 1; }
[data-theme="dark"] .fb-nav__link::before { background: rgba(245, 242, 236, 0.10); }

/* Scroll bar state'te eski pill-fill hover (alttan kayan) */
.fb-nav.is-scrolled .fb-nav__link::before {
  background: var(--accent);
  transform: translateY(101%);
  opacity: 1;
  transition: transform .45s var(--ease-out);
}
.fb-nav.is-scrolled .fb-nav__link:hover::before {
  transform: translateY(0);
}
.fb-nav.is-scrolled .fb-nav__link:hover .fb-roll__a { color: var(--on-accent); }

/* ---------- Actions group ---------- */
.fb-nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.fb-nav.is-scrolled .fb-nav__actions { gap: 12px; }

/* ---------- CTA ---------- */
.fb-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: padding .3s var(--ease-out);
}
.fb-nav__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ember);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
  z-index: 0;
}
.fb-nav__cta > span,
.fb-nav__cta > svg { position: relative; z-index: 1; }
.fb-nav__cta:hover { color: #fff; }
.fb-nav__cta:hover::before { transform: translateY(0); }
.fb-nav__cta svg { width: 14px; height: 14px; }
.fb-nav.is-scrolled .fb-nav__cta { padding: 12px 18px; font-size: 14px; }

/* ---------- Theme toggle (pill içinde kompakt, bar'da standart) ---------- */
.fb-nav__shell .fb-theme-toggle {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--ivory) !important;
}
.fb-nav__shell .fb-theme-toggle:hover {
  background: rgba(10, 10, 12, 0.08) !important;
  color: var(--ivory) !important;
}
[data-theme="dark"] .fb-nav__shell .fb-theme-toggle:hover {
  background: rgba(245, 242, 236, 0.12) !important;
}
.fb-nav.is-scrolled .fb-theme-toggle {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--line-strong) !important;
}

/* ---------- Hamburger (mobile) ---------- */
.fb-nav__toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), width .3s, height .3s;
  flex: 0 0 auto;
}
.fb-nav__toggle span {
  width: 14px; height: 1.5px;
  background: var(--ivory);
  display: block;
  transition: background .3s var(--ease-out);
}
.fb-nav__toggle:hover { background: rgba(10, 10, 12, 0.08); }
[data-theme="dark"] .fb-nav__toggle:hover { background: rgba(245, 242, 236, 0.12); }

.fb-nav.is-scrolled .fb-nav__toggle {
  width: 44px; height: 44px;
  border-color: var(--line-strong);
}
.fb-nav.is-scrolled .fb-nav__toggle span { width: 16px; }

/* Offcanvas (Bootstrap overrides) */
.fb-offcanvas {
  background: var(--ink) !important;
  color: var(--ivory) !important;
  border: none !important;
  width: min(460px, 100vw) !important;
}
.fb-offcanvas .offcanvas-header {
  padding: 24px var(--container-pad);
  border-bottom: 1px solid var(--line);
}
.fb-offcanvas .offcanvas-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.fb-offcanvas__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  position: relative;
}
.fb-offcanvas__close span {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: var(--ivory);
}
.fb-offcanvas__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.fb-offcanvas__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.fb-offcanvas .offcanvas-body {
  padding: 24px var(--container-pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.fb-offcanvas__nav {
  display: grid; gap: 4px;
  padding-top: 16px;
}
.fb-offcanvas__nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
  color: var(--ivory);
}
.fb-offcanvas__nav a em {
  font-family: var(--font-serif);
  font-size: 0.4em;
  color: var(--ember);
  letter-spacing: 0.1em;
  font-style: italic;
}
.fb-offcanvas__nav a:hover { color: var(--ember); }

.fb-off-item { border-bottom: 1px solid var(--line); }
.fb-off-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.fb-off-item summary::-webkit-details-marker { display: none; }
.fb-off-item summary em {
  font-family: var(--font-serif);
  font-size: 0.4em;
  color: var(--ember);
  letter-spacing: 0.1em;
  font-style: italic;
}
.fb-off-item summary span { flex: 1; }
.fb-off-item summary svg {
  width: 14px; height: 14px;
  transition: transform .3s var(--ease-out);
  color: var(--muted);
}
.fb-off-item[open] summary svg { transform: rotate(180deg); }
.fb-off-item[open] summary { color: var(--ember); }

.fb-off-sub {
  list-style: none;
  padding: 0 0 18px 44px;
  margin: -6px 0 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.fb-off-sub a {
  padding: 8px 0;
  font-size: 15px !important;
  color: var(--ivory-dim) !important;
  border-bottom: none !important;
  font-weight: 400 !important;
  letter-spacing: -0.005em;
}
.fb-off-sub a:hover { color: var(--ember) !important; }

.fb-offcanvas__foot {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.fb-offcanvas__foot a { color: var(--ivory); }

/* =============================================================
   HERO
   ============================================================= */
.fb-studio {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.fb-studio__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
}
.fb-studio__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background:
    radial-gradient(55% 70% at 82% 18%, rgba(184,61,31,0.10), transparent 70%),
    radial-gradient(55% 70% at 12% 92%, rgba(10,10,12,0.06), transparent 70%);
  mix-blend-mode: multiply;
}
.fb-studio__container {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 64px);
  min-height: inherit;
}
.fb-studio__cta { margin-bottom: auto; }

.fb-studio__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.fb-studio__eyebrow-year { margin-left: auto; font-variant-numeric: tabular-nums; }

.fb-studio__title {
  font-size: clamp(48px, 9.5vw, 162px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-top: clamp(28px, 4vw, 52px);
  color: var(--ivory);
  max-width: 14ch;
}
.fb-studio__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em; /* descender / clip koruması */
}
.fb-studio__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
  letter-spacing: -0.02em;
  padding-right: 0.04em;
}

.fb-studio__lede {
  max-width: 48ch;
  font-size: clamp(16px, 0.8vw + 8px, 19px);
  color: var(--ivory-dim);
  margin-top: clamp(24px, 3vw, 40px);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.fb-studio__lede em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
}

.fb-studio__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}

.fb-studio__meta {
  margin-top: auto;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.fb-studio__meta-item {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.fb-studio__meta-item .fb-label { font-size: 11px; }
.fb-studio__meta-item strong {
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.01em;
  font-size: 15px;
}

.fb-studio__scroll {
  position: absolute;
  right: var(--container-pad);
  bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.fb-studio__scroll-line {
  width: 1px; height: 56px;
  background: var(--line-strong);
  position: relative; overflow: hidden;
}
.fb-studio__scroll-line i {
  position: absolute; inset: 0;
  background: var(--accent);
  animation: fbScrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes fbScrollLine {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(0%); }
  100% { transform: translateY(100%); }
}

/* =============================================================
   MANIFESTO / MARQUEE
   ============================================================= */
.fb-manifesto {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fb-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.fb-marquee__track {
  display: inline-flex; align-items: center;
  gap: clamp(32px, 4vw, 64px);
  white-space: nowrap;
  padding-right: clamp(32px, 4vw, 64px);
  will-change: transform;
}
.fb-marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ivory);
}
.fb-marquee__track span em {
  color: var(--ember);
}
.fb-marquee__dot {
  width: 10px; height: 10px;
  background: var(--ivory);
  border-radius: 50%;
  flex: 0 0 auto;
  transform: translateY(-0.5em);
}

/* =============================================================
   INTRO
   ============================================================= */
.fb-intro {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}
.fb-intro__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ivory);
}
.fb-intro__text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
  letter-spacing: -0.01em;
}

/* =============================================================
   ABOUT / HAKKIMIZDA (anasayfa)
   ============================================================= */
.fb-about-home {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--ivory);
}
.fb-about-home__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}

/* Foto kolajı — bento benzeri 3 görsel */
.fb-about-home__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  position: relative;
}
.fb-about-home__img {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  position: relative;
}
.fb-about-home__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,12,0.35));
  pointer-events: none;
}
.fb-about-home__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.fb-about-home__img:hover img { transform: scale(1.06); }

.fb-about-home__img--lg {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.fb-about-home__img--sm {
  aspect-ratio: 1 / 1;
}

/* Metin kolonu */
.fb-about-home__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fb-about-home__lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw + 6px, 34px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0;
}
.fb-about-home__lede em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
}

/* Stat sayaçlar */
.fb-about-home__stats {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--line);
}
.fb-about-home__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fb-about-home__stats strong {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ember);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fb-about-home__stats span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.fb-about-home__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

@media (max-width: 991.98px) {
  .fb-about-home__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fb-about-home__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575.98px) {
  .fb-about-home__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fb-about-home__stats li {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
}

/* =============================================================
   SERVICES
   ============================================================= */
.fb-services {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}

.fb-services__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fb-services__list {
  border-top: 1px solid var(--line);
}

.fb-service {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .4s var(--ease-out);
  cursor: pointer;
}
.fb-service::before {
  content: "";
  position: absolute; inset: 0 -24px;
  background: linear-gradient(180deg, transparent, var(--ember-soft), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.fb-service:hover::before,
.fb-service.is-active::before { opacity: 1; }
.fb-service:hover .fb-service__title,
.fb-service.is-active .fb-service__title { color: var(--ember); }
.fb-service.is-active .fb-service__num { color: var(--ember); }
.fb-service { transition: color .4s var(--ease-out), background .4s var(--ease-out); }

.fb-service__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 8px;
}
.fb-service__title {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  transition: color .4s var(--ease-out), letter-spacing .4s var(--ease-out);
}
.fb-service__desc {
  grid-column: 2;
  max-width: 52ch;
  color: var(--ivory-dim);
  font-size: 15px;
  margin-top: 10px;
}
.fb-service__tags {
  grid-column: 2;
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 16px 0 0;
}
.fb-service__tags li {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ivory-dim);
  background: var(--accent-soft);
}

.fb-services__preview {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.fb-services__preview-inner {
  position: relative;
  width: 100%; height: 100%;
}
.fb-services__preview-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
}
.fb-services__preview-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.fb-services__preview-inner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,13,0.6));
}

/* =============================================================
   WORK / CASE STUDIES
   ============================================================= */
.fb-work {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}

.fb-work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.fb-case {
  grid-column: span 6;
  display: block;
  color: var(--ivory);
  position: relative;
}
.fb-case--lg { grid-column: span 12; }

.fb-case__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.fb-case--lg .fb-case__media { aspect-ratio: 16 / 8; }

.fb-case__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1s var(--ease-out), filter .6s var(--ease-out);
  filter: saturate(1) brightness(1);
}
.fb-case:hover .fb-case__img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.02);
}

.fb-case__meta {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.fb-case__meta h3 {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color .3s var(--ease-out);
}
.fb-case:hover .fb-case__meta h3 { color: var(--ember); }
.fb-case__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}
.fb-case__meta p strong { color: var(--ivory); font-weight: 500; }

/* =============================================================
   WHY (STATS)
   ============================================================= */
.fb-why {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}
.fb-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.fb-stat {
  background: var(--ink);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  min-height: 260px;
}
.fb-stat__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.fb-stat__suffix {
  position: absolute; top: clamp(28px, 3vw, 44px); right: clamp(28px, 3vw, 44px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 32px);
  color: var(--ember);
}
.fb-stat__title {
  margin-top: auto;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fb-stat p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
  max-width: 30ch;
}

/* =============================================================
   PROCESS
   ============================================================= */
.fb-process {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}
.fb-process__list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.fb-step {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease-out);
  position: relative;
}
.fb-step::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .8s var(--ease-out);
}
.fb-step.is-in::before { width: 100%; }

.fb-step__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fb-step__body h3 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.fb-step__body p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  font-size: 15px;
}
.fb-step__week {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  padding-top: 10px;
}

/* =============================================================
   TECH STACK
   ============================================================= */
.fb-tech {
  padding: var(--section-pad-y) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.fb-tech__marquee {
  margin-top: clamp(40px, 4vw, 60px);
  padding: clamp(20px, 2vw, 32px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.fb-tech__marquee + .fb-tech__marquee { margin-top: -1px; }

.fb-tech__marquee .fb-marquee__track span {
  font-size: clamp(32px, 5vw, 72px);
  color: var(--ivory);
}
.fb-tech__marquee .fb-marquee__dot {
  width: 8px; height: 8px;
  background: var(--accent);
}
.fb-tech__marquee--reverse .fb-marquee__track span { color: var(--ivory-dim); }
.fb-tech__marquee--reverse .fb-marquee__dot { background: var(--ember); }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.fb-testimonials {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line);
}
.fb-testi-swiper {
  padding-bottom: 16px;
}
.fb-testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 32px;
  min-height: 360px;
  height: auto;
}
.fb-testi blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.fb-testi blockquote em { color: var(--ember); }

.fb-testi footer {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.fb-testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
}
.fb-testi footer strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
}
.fb-testi footer span {
  font-size: 13px;
  color: var(--muted);
}

.fb-testi-swiper__nav {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px;
}
.fb-testi-swiper__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  display: grid; place-items: center;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), background .3s var(--ease-out);
}
.fb-testi-swiper__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.fb-testi-swiper__btn svg { width: 18px; height: 18px; }

.fb-testi-swiper__pag {
  display: flex; gap: 6px; flex: 1;
  align-items: center;
}
.fb-testi-swiper__pag .fb-bullet {
  flex: 1;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.fb-testi-swiper__pag .fb-bullet.is-active::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: fbBulletFill 5s linear forwards;
}
@keyframes fbBulletFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* =============================================================
   CTA
   ============================================================= */
.fb-cta {
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.fb-cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 120vmin; height: 120vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184,61,31,0.22), transparent 60%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.fb-cta__inner {
  position: relative;
  text-align: center;
  display: flex; flex-direction: column; gap: 40px;
  align-items: center;
}
.fb-cta__title {
  font-size: clamp(52px, 11vw, 180px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.fb-cta__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.fb-cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
  letter-spacing: -0.02em;
}

.fb-cta__form {
  width: min(640px, 100%);
  display: flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  transition: border-color .3s var(--ease-out);
}
.fb-cta__form:focus-within { border-color: var(--accent); }
.fb-cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ivory);
  font: inherit;
  font-size: 16px;
  padding: 12px 8px;
  outline: none;
  min-width: 0;
}
.fb-cta__form input::placeholder { color: var(--muted); }

.fb-cta__note {
  color: var(--muted);
  font-size: 14px;
}
.fb-cta__note a { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }

.fb-cta__feedback {
  min-height: 20px;
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.fb-cta__feedback.is-success,
.fb-cta__feedback.is-error {
  opacity: 1;
  transform: translateY(0);
}
.fb-cta__feedback.is-success { color: var(--ivory); }
.fb-cta__feedback.is-error { color: var(--ember); }

.fb-cta__channels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.fb-cta__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ivory);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
}
.fb-cta__channel svg {
  width: 14px; height: 14px;
  color: var(--muted);
  transition: color .3s var(--ease-out);
}
.fb-cta__channel:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.fb-cta__channel:hover svg { color: var(--on-accent); }

/* ===== CTA tabs (Hızlı e-posta / 15dk görüşme) ===== */
.fb-cta__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-top: 8px;
}
.fb-cta__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.fb-cta__tab svg { width: 16px; height: 16px; }
.fb-cta__tab:hover { color: var(--ivory); }
.fb-cta__tab.is-active {
  background: var(--ivory);
  color: var(--ink);
}
.fb-cta__tab.is-active svg { color: var(--ember); }

.fb-cta__panel {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.fb-cta__panel[hidden] { display: none; }

/* ===== Meeting panel ===== */
.fb-cta__meeting {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
  width: 100%;
  text-align: left;
}
.fb-cta__meeting-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ivory);
}
.fb-cta__meeting-intro p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.fb-cta__meeting-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ivory-dim);
}
.fb-cta__meeting-list li {
  position: relative;
  padding-left: 18px;
}
.fb-cta__meeting-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 1.5px;
  background: var(--ember);
}

/* Calendar placeholder */
.fb-cta__meeting-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 380px;
}
.fb-cta__cal-placeholder {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 14px;
  min-height: 380px;
}
.fb-cta__cal-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.fb-cta__cal-dots span {
  width: 8px; height: 8px;
  background: var(--ember);
  border-radius: 50%;
  opacity: 0.4;
  animation: fbCalDots 1.4s var(--ease-in-out) infinite;
}
.fb-cta__cal-dots span:nth-child(2) { animation-delay: 0.2s; }
.fb-cta__cal-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes fbCalDots {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.fb-cta__cal-placeholder h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  color: var(--ivory);
  letter-spacing: -0.015em;
}
.fb-cta__cal-placeholder p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}
.fb-cta__cal-placeholder code {
  padding: 2px 6px;
  background: var(--surface-2);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ember);
}
.fb-cta__cal-placeholder .fb-btn { margin-top: 8px; }

/* =============================================================
   FOOTER
   ============================================================= */
.fb-footer {
  padding: clamp(64px, 8vw, 120px) 0 40px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.fb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(32px, 3vw, 56px);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(48px, 5vw, 80px);
}
.fb-footer__col { display: flex; flex-direction: column; gap: 12px; }
.fb-footer__col--brand p { margin: 8px 0 16px; color: var(--muted); max-width: 38ch; }
.fb-footer__mail {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--ivory);
  font-weight: 500;
  align-self: flex-start;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.fb-footer__contact {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.fb-footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ivory-dim);
  letter-spacing: -0.005em;
}
.fb-footer__contact svg {
  width: 14px; height: 14px;
  color: var(--ember);
  flex: 0 0 auto;
}
.fb-footer__contact a {
  color: var(--ivory-dim);
  transition: color .3s var(--ease-out);
}
.fb-footer__contact a:hover { color: var(--ember); }
.fb-footer__contact span { color: var(--muted); }
.fb-footer__col-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.fb-footer__col a {
  font-size: 15px;
  color: var(--ivory-dim);
  padding: 4px 0;
  transition: transform .3s var(--ease-out), color .3s var(--ease-out);
  display: inline-block;
}
.fb-footer__col a:hover {
  color: var(--ember);
  transform: translateX(6px);
}

.fb-footer__lockup {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(120px, 24vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  text-stroke: 1px var(--line-strong);
  margin: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
  position: relative;
  user-select: none;
}
.fb-footer__lockup sup { font-size: 0.25em; margin-left: 4px; color: var(--accent); -webkit-text-stroke: 0; }

.fb-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* visually-hidden fallback */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Smooth scroll / Lenis hint */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =============================================================
   BLOCK EDITOR — çekirdek block'lar
   ============================================================= */
.fb-block-section              { padding: 80px 0; }
.fb-block-section--pad-tight   { padding: 40px 0; }
.fb-block-section--pad-loose   { padding: 120px 0; }
.fb-block-section--bg-muted    { background: var(--paper, #F4F1EA); }
.fb-block-section--bg-dark     { background: var(--ink, #111); color: var(--paper, #F4F1EA); }

.fb-block-heading              { font-family: var(--font-display, 'Instrument Serif', serif); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.4em; }
.fb-block-heading--1           { font-size: clamp(40px, 6vw, 96px); }
.fb-block-heading--2           { font-size: clamp(30px, 4.2vw, 60px); }
.fb-block-heading--3           { font-size: clamp(24px, 3vw, 40px); }
.fb-block-heading--4           { font-size: clamp(20px, 2.4vw, 30px); }
.fb-block-heading--5           { font-size: 18px; }
.fb-block-heading--6           { font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; }

.fb-block-paragraph            { margin: 0 0 1em; line-height: 1.55; }
.fb-block-paragraph--small     { font-size: 13px; }
.fb-block-paragraph--large     { font-size: 18px; }
.fb-block-paragraph--lede      { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; max-width: 60ch; }

.fb-text-left   { text-align: left; }
.fb-text-center { text-align: center; }
.fb-text-right  { text-align: right; }

.fb-block-figure               { margin: 0 0 1.25rem; position: relative; }
.fb-block-figure__caption      { margin-top: 0.5rem; font-size: 12px; color: #666; }
.fb-block-image                { max-width: 100%; height: auto; display: block; }
.fb-block-image--rounded       { border-radius: 14px; }
/* Editor preview yardımcıları */
.fb-block-image-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; min-height: 180px; padding: 24px;
    background: #f3f4f6; border: 2px dashed #d1d5db; border-radius: 12px;
    color: #9ca3af; font-family: 'Inter', sans-serif; font-size: 12px;
}
.fb-block-image-empty i { font-size: 28px; }
.fb-block-image-warn {
    position: absolute; top: 8px; left: 8px; z-index: 5;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; border-radius: 4px;
    background: #fef3c7; color: #92400e;
    font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

/* ============================================================
   FB form-builder + embed
   ============================================================ */
.fb-form-builder {
    display: grid; gap: 14px;
    padding: 24px; background: var(--surface-2);
    border-radius: 12px; max-width: 640px;
}
.fb-form-builder__head h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.fb-form-builder__head p  { margin: 0; color: #666; font-size: 14px; }
.fb-form-builder__field { display: flex; flex-direction: column; gap: 6px; }
.fb-form-builder__field label { font-size: 12.5px; font-weight: 500; color: #333; }
.fb-form-builder__field input,
.fb-form-builder__field select,
.fb-form-builder__field textarea {
    width: 100%; padding: 9px 12px; border: 1px solid #d4d4d4; border-radius: 6px;
    background: #fff; font: inherit; transition: border-color .15s;
}
.fb-form-builder__field input:focus,
.fb-form-builder__field select:focus,
.fb-form-builder__field textarea:focus { outline: 0; border-color: var(--accent); }
.fb-form-builder__choices { display: flex; flex-wrap: wrap; gap: 12px; }
.fb-form-builder__choices label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: 13px; }
.fb-form-builder__req { color: var(--ember); margin-left: 2px; }
.fb-form-builder__foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.fb-form-builder__feedback { font-size: 13px; color: #0e7c66; }
.fb-form-builder__feedback.is-error { color: #c1272d; }

/* Empty states (editor preview) */
.fb-fb-empty, .fb-embed-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; min-height: 140px; padding: 24px;
    background: #f3f4f6; border: 2px dashed #d1d5db; border-radius: 12px;
    color: #9ca3af; font-family: 'Inter', sans-serif; font-size: 12px;
}
.fb-fb-empty i, .fb-embed-empty i { font-size: 26px; }
.fb-embed-block { margin: 0 0 1.25rem; }

/* ============================================================
   FB block animations — runner: anim-runner.js
   data-fb-anim: fade | slide-up | slide-down | slide-left | slide-right | scale | zoom-in | rotate
   ============================================================ */
[data-fb-anim] {
    --fb-anim-duration: 600ms;
    --fb-anim-delay:    0ms;
    --fb-anim-easing:   cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fb-anim--prep {
    opacity: 0;
    transition:
        opacity var(--fb-anim-duration) var(--fb-anim-easing) var(--fb-anim-delay),
        transform var(--fb-anim-duration) var(--fb-anim-easing) var(--fb-anim-delay);
    will-change: opacity, transform;
}
/* Başlangıç dönüşümleri */
.fb-anim--prep.fb-anim--slide-up    { transform: translate3d(0, 32px, 0); }
.fb-anim--prep.fb-anim--slide-down  { transform: translate3d(0, -32px, 0); }
.fb-anim--prep.fb-anim--slide-left  { transform: translate3d(48px, 0, 0); }
.fb-anim--prep.fb-anim--slide-right { transform: translate3d(-48px, 0, 0); }
.fb-anim--prep.fb-anim--scale       { transform: scale(0.92); }
.fb-anim--prep.fb-anim--zoom-in     { transform: scale(0.7); }
.fb-anim--prep.fb-anim--rotate      { transform: rotate(-6deg) scale(0.95); }
.fb-anim--prep.fb-anim--fade        { transform: none; }

/* Viewport'a girince */
.fb-anim--prep.fb-anim--in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-fb-anim] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   BLOCK — core/form
   ============================================================ */
.fb-block-form                   { max-width: 640px; margin: 0 auto; }
.fb-block-form__fields           { display: grid; gap: 16px; }
.fb-block-form__field label      { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.fb-block-form__field input,
.fb-block-form__field textarea,
.fb-block-form__field select     { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); font: inherit; border-radius: var(--radius-sm); transition: border-color .3s var(--ease-out); }
.fb-block-form__field input:focus,
.fb-block-form__field textarea:focus,
.fb-block-form__field select:focus { outline: none; border-color: var(--accent); }
.fb-block-form__field.has-error input,
.fb-block-form__field.has-error textarea,
.fb-block-form__field.has-error select { border-color: var(--ember); }
.fb-block-form__req              { color: var(--ember); }
.fb-block-form__help             { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.fb-block-form__error            { display: block; font-size: 11px; color: var(--ember); margin-top: 4px; }
.fb-block-form__check            { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 13px; }
.fb-block-form__check input      { width: auto; margin-top: 2px; }
.fb-block-form__submit           { margin-top: 24px; }
.fb-block-form__success          { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: var(--accent-soft); color: var(--accent); border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 13px; }
.fb-block-form__errors           { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ember) 30%, transparent); background: rgba(184,61,31,0.06); color: var(--ember); border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 13px; }
.fb-block-form__errors ul        { margin: 6px 0 0 20px; padding: 0; }

/* ============================================================
   POPUPS
   ============================================================ */
.fb-popup                        { position: fixed; inset: 0; z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out); }
.fb-popup.is-open                { opacity: 1; pointer-events: auto; }
.fb-popup__backdrop              { position: absolute; inset: 0; background: var(--overlay); }
.fb-popup__body                  { position: absolute; background: var(--surface); color: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-md); max-width: min(560px, 92vw); padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.fb-popup--center .fb-popup__body { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.fb-popup--corner-br .fb-popup__body { bottom: 24px; right: 24px; max-width: 400px; }
.fb-popup--corner-bl .fb-popup__body { bottom: 24px; left: 24px;  max-width: 400px; }
.fb-popup--fullscreen .fb-popup__body { inset: 0; max-width: 100%; border-radius: 0; padding: 10vh 20px; overflow: auto; }
.fb-popup--bar-top .fb-popup__body    { top: 0; left: 0; right: 0; max-width: 100%; border-radius: 0; padding: 18px 24px; }
.fb-popup--bar-bottom .fb-popup__body { bottom: 0; left: 0; right: 0; max-width: 100%; border-radius: 0; padding: 18px 24px; }
.fb-popup__close                 { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: none; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; border-radius: 50%; }
.fb-popup__close:hover           { background: var(--accent-soft); color: var(--ivory); }
.fb-popup__content               { font-size: 14px; }

/* =============================================================
   HOTFIX — Header tıklama/hover garantileri
   Bazı tarayıcılarda backdrop-filter + z-index sıralaması hover
   olaylarını yutuyor. Bu blok menünün her zaman tıklanabilir
   olmasını garanti eder. En sonda tanımlı — en yüksek specificity.
   ============================================================= */
.fb-loader:not(.is-active) { pointer-events: none !important; }
.fb-loader.is-done         { display: none !important; }
.fb-cursor                 { pointer-events: none !important; }

/* Nav ve tüm alt elementleri güvence altına al */
.fb-nav,
.fb-nav *,
.fb-nav__shell,
.fb-nav__menu,
.fb-nav__item,
.fb-nav__link,
.fb-nav__actions,
.fb-mega,
.fb-mega *             { pointer-events: auto; }

/* Nav ve mega z-index'i — herhangi bir şeyin üstüne bindirmek için */
.fb-nav                { z-index: 90; isolation: isolate; }
.fb-nav__item          { position: relative; z-index: 1; }
.fb-nav__item:hover,
.fb-nav__item.is-open  { z-index: 3; }
.fb-mega               { z-index: 60; }

/* Mega panel: açıkken kesinlikle tıklanabilir */
.fb-nav__item.is-open > .fb-mega,
.fb-nav__item:hover > .fb-mega,
.fb-nav__item:focus-within > .fb-mega {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* data-mega'yı kapsayan şeffaf alan — link ile panel arası */
.fb-nav__item[data-mega] { padding-bottom: 0; }
.fb-nav__item[data-mega]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 16px;
    pointer-events: auto;
}

/* ============================================================
   CİLA EKLERİ (a11y + tutarlılık) — tasarımı/animasyonu bozmaz
   ============================================================ */

/* Klavye odağı görünürlüğü — sadece klavyeyle gezerken görünür (mouse'ta değil) */
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Form alanlarında outline'ı sıkı tut (zaten border rengi değişiyor) */
.fb-block-form__field input:focus-visible,
.fb-block-form__field textarea:focus-visible,
.fb-block-form__field select:focus-visible,
.fb-brief__field input:focus-visible,
.fb-brief__field textarea:focus-visible,
.fb-brief__field select:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 0;
}

/* "İçeriğe geç" atlama bağlantısı — sadece klavye odağında görünür */
.fb-skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--ember);
  color: #fff;
  font: 600 14px/1 var(--font-display);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .2s var(--ease-out);
}
.fb-skip-link:focus-visible { top: 0; outline-offset: 2px; }

/* Boş durum (empty state) — blog/projeler filtresi sonuç vermeyince */
.fb-projects__empty,
.fb-blog__empty,
.fb-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  padding: clamp(48px, 8vw, 96px) 0;
}
.fb-projects__empty a,
.fb-blog__empty a,
.fb-empty a {
  color: var(--ivory);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.fb-projects__empty a:hover,
.fb-blog__empty a:hover,
.fb-empty a:hover { color: var(--ember); border-bottom-color: var(--ember); }

/* Ekran okuyucu için görünmez ama erişilebilir metin */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

