﻿/* ============================================================
   DOEL DIGITAL — styles (1:1 on reference inthebrandlab.com)
   dark-only · black hero + blue flow · pills · rounded-2xl
   ============================================================ */

/* ---- reset & base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #43506a transparent; /* fallback: oklch desteklemeyen eski mobil */
  scrollbar-color: oklch(98% 0.002 240 / 0.25) transparent;
  overflow-x: hidden; /* fallback: eski mobil tarayıcılar (clip desteklemez) */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-hero);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* fallback: eski mobil tarayıcılar */
  overflow-x: clip;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-2xl);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  top: -100%;
  left: var(--space-md);
  z-index: var(--z-tooltip);
  padding: var(--space-xs) var(--space-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--text-sm);
  border-radius: var(--radius-pill);
}

.skip:focus {
  top: var(--space-md);
}

/* ---- shared primitives ---- */
.min-h-screen {
  min-height: 100vh;
  min-height: 100svh;
}

.wrap {
  width: 100%;
  max-width: 80rem; /* ref max-w-7xl */
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.wrap--narrower {
  max-width: 72rem; /* ref max-w-6xl */
}

.wrap--narrow {
  max-width: 48rem; /* ref max-w-3xl */
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-block;
}

.eyebrow--accent {
  color: var(--accent-bright);
}

.eyebrow--center {
  display: block;
  text-align: center;
}

.wordmark {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.wordmark__img {
  height: 3rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--dur-micro) var(--ease-out);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 30px oklch(0% 0 0 / 0.35);
  transition: transform var(--dur-short) var(--ease-out),
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    opacity var(--dur-short) var(--ease-out);
}

.btn:hover {
  transform: scale(1.05);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 16px 32px -12px rgb(0 0 0 / 0.5);
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}

.btn--primary:hover {
  background: var(--focus);
  transform: scale(1.05);
}

.btn--invert {
  background: var(--ink);
  color: oklch(14.5% 0.04 264);
}

.btn--invert:hover {
  opacity: 0.9;
}

.text-link,
.link-more {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--muted);
  transition: color var(--dur-micro) var(--ease-out);
}

.text-link:hover,
.link-more:hover {
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  white-space: nowrap;
}

/* ---- gradient divider strips (ref: h-16 / h-24 bg-gradient-to-b) ---- */
.grad {
  width: 100%;
}

.grad--navy-to-black {
  height: 4rem; /* ref h-16 */
  background: linear-gradient(to bottom, var(--bg-navy-deep), var(--bg-work));
}

.grad--black-to-navy {
  height: 6rem; /* ref h-24 */
  background: linear-gradient(to bottom, var(--bg-work), var(--bg-navy-deep));
}

.grad--navy-to-blue {
  height: 6rem;
  background: linear-gradient(to bottom, var(--bg-navy-deep), var(--bg-blue));
}

.grad--blue-to-navy {
  height: 6rem;
  background: linear-gradient(to bottom, var(--bg-blue), var(--bg-navy));
}

/* ---- hero ---- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 64rem; /* ref max-w-5xl */
  margin-inline: auto;
  padding: clamp(3.5rem, 10vh, 8rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vh, 4rem);
  text-align: center;
}

.fluid-gradient {
  background:
    radial-gradient(60rem 40rem at 50% -20%, var(--accent-glow-soft), transparent 65%),
    var(--bg-hero);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(10% 0.02 264 / 0.62), oklch(10% 0.02 264 / 0.84));
}

.fluid-blob {
  position: absolute;
  left: 50%;
  top: 33%;
  width: 700px;
  height: 700px;
  max-width: 90vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  filter: blur(70px);
  pointer-events: none;
  animation: blob-drift 14s ease-in-out infinite alternate;
}

@keyframes blob-drift {
  0% {
    border-radius: 42% 58% 60% 40% / 48% 42% 58% 52%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    border-radius: 60% 40% 42% 58% / 52% 60% 40% 48%;
    transform: translate(-50%, -52%) scale(1.12) rotate(8deg);
  }
}

/* calm the blob on phones — full scale/rotation reads as the screen growing;
   also shrink the layer + reduce blur so low-end mobiles don't jank on GPU */
@media (max-width: 767px) {
  .fluid-blob {
    animation: blob-drift-mobile 14s ease-in-out infinite alternate;
    width: 60vw;
    height: 60vw;
    filter: blur(28px);
  }

  @keyframes blob-drift-mobile {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      transform: translate(-50%, -50%) scale(1.04);
    }
  }
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin-inline: auto;
  padding: var(--space-lg) clamp(1.25rem, 5vw, 2rem);
  gap: var(--space-md);
}

.site-nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-2xl);
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.8);
}

.site-nav__links a {
  transition: color var(--dur-micro) var(--ease-out);
}

.site-nav__links a:hover {
  color: var(--ink);
}

.site-nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}

.burger {
  position: relative;
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  color: var(--ink);
  transition: background-color var(--dur-micro) var(--ease-out);
}

.burger:hover {
  background: oklch(98% 0.002 240 / 0.1);
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: background-color var(--dur-micro) var(--ease-out);
}

.lang-btn:hover {
  background: oklch(98% 0.002 240 / 0.1);
}

.nav-cta {
  display: none;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: oklch(14.5% 0.04 264);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: opacity var(--dur-micro) var(--ease-out);
}

.nav-cta:hover {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: calc(1.5rem) clamp(1.25rem, 6vw, 2rem);
  background: oklch(0% 0 0 / 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 1.5rem;
  font-weight: 600;
  overflow-y: auto;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.mobile-menu__logo {
  height: 2.25rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  color: var(--ink);
  transition: background-color var(--dur-micro) var(--ease-out);
}

.mobile-menu__close:hover {
  background: oklch(98% 0.002 240 / 0.1);
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu a {
  border-bottom: var(--rule-1) solid var(--line);
  padding-bottom: var(--space-md);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: oklch(98% 0.002 240 / 0.9);
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-bright);
  text-shadow: 0 0 24px var(--accent-glow);
}

.hero-desc {
  max-width: 36rem;
  margin-inline: auto;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: var(--text-lg);
  }
}

.hero-actions {
  margin-top: var(--space-2xl);
}

.work-manifesto {
  max-width: 42rem;
  margin-inline: auto;
  margin-block: var(--space-xl) var(--space-2xl);
  text-align: center;
}

.work-manifesto p {
  color: var(--muted);
  line-height: 1.75;
}

.work-manifesto__attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.work-manifesto__divider {
  width: 2rem;
  height: 1px;
  background: var(--line);
}

.work-manifesto__brand {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ---- logo marquee band (ref: border-t, bg-white/5, backdrop-blur, py-8) ---- */
.marquee-band {
  position: relative;
  z-index: 1;
  border-top: var(--rule-1) solid var(--line);
  background: oklch(98% 0.002 240 / 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding-block: var(--space-2xl);
  overflow: hidden;
}

.marquee {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-4xl);
  animation: marquee-scroll 40s linear infinite;
}

.marquee-band:hover .marquee {
  animation-play-state: paused;
}

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

.marquee__sep {
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--text-base);
  color: var(--accent-bright);
  opacity: 0.65;
}

.marquee__item--brand {
  color: oklch(98% 0.002 240 / 0.85);
  font-weight: 600;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4xl);
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(98% 0.002 240 / 0.5);
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
}

.marquee__item:hover {
  color: var(--accent-bright);
}

.marquee__item i {
  font-style: normal;
  color: var(--accent-bright);
  opacity: 0.6;
}

.marquee__logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  border-radius: var(--radius-2xl);
  transition: opacity var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}

.marquee__logo:hover {
  opacity: 0.95;
  transform: scale(1.04);
}

/* ---- case study cards (ref: aspect-square, full-bleed image, gradient overlay, shadowed type) ---- */
.case-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: oklch(98% 0.002 240 / 0.05);
  border: var(--rule-1) solid var(--line-soft);
  cursor: pointer;
  isolation: isolate;
}

.case-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover > img {
  transform: scale(1.05);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.case-card__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-lg);
}

.case-card__label {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(98% 0.002 240 / 0.85);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.6);
}

.case-card__title {
  font-weight: 200;
  font-size: clamp(1.85rem, 7vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.7);
}

.case-card__sub {
  margin-top: var(--space-sm);
  max-width: 20ch;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: oklch(98% 0.002 240 / 0.85);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.7);
}

.case-card--all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-2xl);
  border: var(--rule-1) solid oklch(98% 0.002 240 / 0.2);
  background: oklch(98% 0.002 240 / 0.02);
  transition: background-color var(--dur-micro) var(--ease-out);
}

.case-card--all:hover {
  background: oklch(98% 0.002 240 / 0.08);
}

.case-card--all .case-card__label {
  color: oklch(98% 0.002 240 / 0.5);
  text-shadow: none;
}

.case-card__all-title {
  font-weight: 200;
  font-size: var(--text-2xl);
  color: var(--ink);
}

.case-card__all-sub {
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.6);
}

/* ---- section shells ---- */
.section-bg-work {
  background: var(--bg-work);
  padding-block: 4.5rem 3.5rem;
}

.section-bg-navy-deep {
  background: var(--bg-navy-deep);
  padding-block: 5rem 4rem;
}

.section-bg-blue {
  background: var(--bg-blue);
  padding-block: 5rem;
}

.section-bg-navy {
  background: var(--bg-navy);
  padding-block: 5rem 4.5rem;
}

/* ---- section heading blocks (ref: reveal + centered + squiggle) ---- */
.head-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.head-block--center {
  margin-inline: auto;
}

.head-block__title-wrap {
  position: relative;
  display: inline-block;
}

.head-block__title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.875rem, 3.5vw, 2.25rem); /* ref text-3xl → text-4xl */
  text-wrap: balance;
}

.head-block__title--lg {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem); /* ref text-6xl → md:text-7xl */
}

@media (min-width: 768px) {
  .head-block__title {
    font-size: clamp(2.25rem, 5vw, 3.75rem); /* ref md:text-5xl → md:text-6xl */
  }
}

.squiggle {
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 80%;
  max-width: 26rem;
  height: 1.5rem;
  color: oklch(98% 0.002 240 / 0.25);
  pointer-events: none;
}

@media (min-width: 768px) {
  .squiggle {
    bottom: -2.25rem;
    height: 1.75rem;
  }
}

.head-block__more {
  margin-top: var(--space-3xl);
  text-align: center;
}

/* ---- carousel (ref: overflow-hidden + flex slides + arrows + dots) ---- */
.carousel {
  position: relative;
  width: 100%;
}

.carousel__track {
  display: flex;
  align-items: stretch;
  margin-inline: -0.5rem;
  /* overflow: hidden silindi - diğer kartları görünmez kılan bug buydu */
  transition: transform var(--dur-long) var(--ease-out);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-inline: 0.5rem;
}

@media (min-width: 768px) {
  .carousel__slide {
    flex-basis: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel__slide {
    flex-basis: 33.3333%;
  }
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.06);
  color: var(--ink);
  transition: background-color var(--dur-micro) var(--ease-out);
}

.carousel__nav:hover {
  background: oklch(98% 0.002 240 / 0.14);
}

.carousel__nav--prev {
  left: -3rem;
}

.carousel__nav--next {
  right: -3rem;
}

@media (min-width: 1024px) {
  .carousel__nav {
    display: flex;
  }
}

/* show arrows whenever JS un-hides them (mobile included) */
.carousel__nav:not([hidden]) {
  display: flex;
}

/* on mobile keep arrows inside the carousel (left/right -3rem put them off-screen) */
@media (max-width: 1023px) {
  .carousel__nav--prev {
    left: 0.75rem;
  }
  .carousel__nav--next {
    right: 0.75rem;
  }
}

/* mobile: no carousel — all slides stacked, all visible */
@media (max-width: 767px) {
  .carousel__track {
    flex-wrap: wrap;
    row-gap: var(--space-lg);
  }
  .carousel__slide {
    flex-basis: 100%;
  }
  .carousel__dots,
  .carousel__nav {
    display: none !important;
  }
}

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-2xl);
}

.carousel__dot {
  height: 0.5rem;
  border-radius: var(--radius-pill);
  width: 0.5rem;
  background: oklch(98% 0.002 240 / 0.3);
  transition: width var(--dur-short) var(--ease-out),
    background-color var(--dur-short) var(--ease-out);
}

.carousel__dot.is-active {
  width: 2rem;
  background: var(--accent-bright);
}

/* ---- post cards (work slides) ---- */
.post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  height: 100%;
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: var(--rule-1) solid var(--line);
  background: oklch(98% 0.002 240 / 0.05);
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out),
    background-color var(--dur-short) var(--ease-out);
}

.post-card:hover {
  border-color: var(--line-soft);
  background: oklch(98% 0.002 240 / 0.08);
}

.post-card__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-bright);
}

.post-card__cat {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
}

.post-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.post-card .link-more {
  margin-top: auto;
}

/* ---- about ---- */
.about-grid {
  display: grid;
  align-items: center;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-3xl);
  }
}

.about-media {
  position: relative;
}

@media (min-width: 768px) {
  .about-media {
    grid-column: span 5;
  }
}

.about-media__glow {
  position: absolute;
  inset: -0.75rem;
  border-radius: 1.5rem;
  background: var(--accent-bright);
  opacity: 0.16;
  filter: blur(48px);
}

.about-media__frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: var(--rule-1) solid var(--line-soft);
  box-shadow: 0 24px 48px -12px rgb(0 0 0 / 0.5);
}

.about-media__frame > .system {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* ---- system visual ("Kaos Değil, Sistem Yönetiyoruz") ---- */
.system {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 42%, var(--accent-glow-soft), transparent 70%),
    radial-gradient(120% 100% at 50% 120%, oklch(41% 0.1 255 / 0.28), transparent 60%),
    oklch(0% 0 0 / 0.25);
}

/* blueprint grid, fading at the edges */
.system__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(90% 0.01 240 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, oklch(90% 0.01 240 / 0.07) 1px, transparent 1px);
  background-size: 12cqw 12cqw;
  -webkit-mask-image:
  mask-image: radial-gradient(75% 65% at 50% 45%, black, transparent 78%);
}

.system__ring {
  position: absolute;
  left: 13cqw;
  top: 25.5cqw;
  width: 74cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed oklch(75% 0.14 248 / 0.45);
}

.system__ring::after {
  content: "";
  position: absolute;
  inset: 16cqw;
  border-radius: 50%;
  border: 1px dashed var(--line-soft);
}

/* comet riding the outer ring */
.system__comet {
  position: absolute;
  left: 13cqw;
  top: 25.5cqw;
  width: 74cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: system-orbit-spin 16s linear infinite;
}

.system__comet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 14px 3px var(--accent-glow);
  transform: translate(-50%, -50%);
}

/* radar sweep */
.system__sweep {
  position: absolute;
  inset: 13cqw;
  border-radius: 50%;
  background: conic-gradient(from 0deg, oklch(75% 0.14 248 / 0.16), transparent 16%);
  animation: system-orbit-spin 9s linear infinite;
}

.system__core {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 3;
  width: 24cqw;
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid oklch(75% 0.14 248 / 0.4);
  background: oklch(0% 0 0 / 0.55);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px oklch(75% 0.14 248 / 0.12),
    0 0 42px -6px var(--accent-glow);
}

/* rotating halo around the core */
.system__core::after {
  content: "";
  position: absolute;
  inset: -10cqw;
  border-radius: var(--radius-pill);
  border: 1px dashed oklch(75% 0.14 248 / 0.28);
  animation: system-orbit-spin 30s linear infinite reverse;
}

.system__core img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.system__core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--accent-bright);
  animation: system-core-pulse 3.2s var(--ease-out) infinite;
}

/* spoke: center → node */
.system__link {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--r);
  height: 1px;
  transform-origin: left center;
  transform: rotate(var(--angle));
  background: linear-gradient(90deg, oklch(75% 0.14 248 / 0.65), oklch(75% 0.14 248 / 0.1));
}

.system__link::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1.5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* data pulse travelling along the spoke */
.system__pulse {
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: oklch(98% 0.01 250);
  box-shadow: 0 0 12px 2px var(--accent-glow);
  opacity: 0;
  animation: system-pulse 2.8s linear infinite;
  animation-delay: var(--d, 0s);
}

.system__node {
  position: absolute;
  z-index: 2;
  left: calc(50% + var(--r) * cos(var(--angle)));
  top: calc(50% + var(--r) * sin(var(--angle)));
  transform: translate(-50%, -50%);
}

.system__node-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: oklch(13% 0.04 264 / 0.92);
  border: var(--rule-1) solid oklch(75% 0.14 248 / 0.35);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 10px 24px -10px rgb(0 0 0 / 0.7),
    0 0 20px -8px var(--accent-glow);
}

.system__node-chip--inner {
  font-size: 0.625rem;
}

.system__node-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: node-blink 2.4s ease-in-out infinite;
}

.system__node:nth-child(odd) .system__node-chip i {
  animation-delay: 0.6s;
}

@keyframes system-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes system-core-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.65); opacity: 0; }
}

@keyframes system-pulse {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes node-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .system__core::before,
  .system__core::after,
  .system__comet,
  .system__sweep,
  .system__pulse,
  .system__node-chip i {
    animation: none;
  }
}

@media (max-width: 480px) {
  .system__node-chip,
  .system__node-chip--inner {
    font-size: 0.5625rem;
    padding: 0.35rem 0.6rem;
  }
}

/* iOS Safari <16 / old engines: no container queries (cqw) — static fallback */
@supports not (container-type: inline-size) {
  .system__grid,
  .system__ring,
  .system__comet,
  .system__sweep,
  .system__link,
  .system__node {
    display: none;
  }
  .system {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(60% 50% at 50% 42%, var(--accent-glow-soft), transparent 70%),
      radial-gradient(120% 100% at 50% 120%, var(--bg-blue) 0%, transparent 60%),
      oklch(0% 0 0 / 0.25);
  }
  .system__core {
    position: static;
    margin: 0;
    width: 120px;
    height: 120px;
  }
  .system__core::after {
    display: none;
  }
}

/* container queries supported but trig (cos/sin) not — old 2022-era mobiles.
   Node/label positioning would overflow, so hide the decorative spokes/nodes;
   the core + rings stay intact. Modern browsers are unaffected. */
@supports (container-type: inline-size) and not (left: calc(50% + cos(2deg) * 1px)) {
  .system__link,
  .system__node {
    display: none;
  }
}

.about-media__badge {
  position: absolute;
  right: -0.5rem;
  bottom: -1.25rem;
  transform: rotate(3deg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-2xl);
  background: oklch(0% 0 0 / 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: left;
}

.about-media__logo {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.about-media__lbl {
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.8);
}

.about-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .about-body {
    grid-column: span 7;
  }
}

.about-title {
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: var(--space-md) 0 var(--space-lg);
  text-wrap: balance;
}

.about-title em {
  font-style: italic;
  font-weight: 200;
  color: oklch(98% 0.002 240 / 0.8);
}

.about-more {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-bright);
  transition: opacity var(--dur-micro) var(--ease-out);
}

.about-more:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.about-copy {
  max-width: 36rem;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 768px) {
  .about-copy {
    font-size: var(--text-lg);
  }
}

/* ---- stages (process, inside about) ---- */
.stages {
  width: 100%;
  margin-top: var(--space-3xl);
  border-top: var(--rule-1) solid var(--line);
}

.stage {
  display: flex;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  border-bottom: var(--rule-1) solid var(--line);
}

.stage__no {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-bright);
  padding-top: 0.15rem;
  flex: none;
}

.stage__body h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.stage__body p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34rem;
}

.about-cta {
  margin-top: var(--space-2xl);
}

/* ---- services ---- */
.services-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.svc-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

@media (min-width: 768px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-2xl);
  background: oklch(0% 0 0 / 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: var(--rule-1) solid transparent;
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out),
    background-color var(--dur-short) var(--ease-out);
}

.svc-card:hover {
  border-color: var(--line-soft);
  background: oklch(0% 0 0 / 0.5);
}

.svc-card__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--text-xl);
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.svc-card__no {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-bright);
}

.svc-card__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.svc-card .link-more {
  margin-top: auto;
}

.svc-more {
  margin-top: var(--space-3xl);
  text-align: center;
}

/* ---- faq ---- */
.faq-list {
  max-width: 48rem;
  margin: var(--space-4xl) auto 0;
}

.faq-list .eyebrow {
  margin-bottom: var(--space-lg);
}

.faq {
  border-bottom: var(--rule-1) solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.faq__icon {
  font-size: var(--text-xl);
  color: var(--accent-bright);
  transition: transform var(--dur-short) var(--ease-out);
}

.faq[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__body p {
  padding-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

/* ---- testimonials ---- */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: var(--rule-1) solid var(--line);
  background: oklch(0% 0 0 / 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.quote-card blockquote {
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.quote-card__init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.08);
  font-weight: 600;
  font-size: var(--text-lg);
}

.quote-card__id strong {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
}

.quote-card__id span {
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.6);
}

/* ---- insights (DOEL blog content, ref-minimal cards) ---- */
.insights-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- stats ---- */
.stats-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: var(--space-lg);
  border-radius: var(--radius-2xl);
  border: var(--rule-1) solid var(--line);
  background: var(--bg-blue-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: oklch(75% 0.14 248 / 0.45);
}

.stat-card__val {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(98% 0.002 240 / 0.6);
}

/* ---- contact ---- */
.contact-desc {
  max-width: 30rem;
  margin: var(--space-lg) auto 0;
  color: var(--muted);
}

.contact-quote {
  margin-top: var(--space-lg);
  font-style: italic;
  color: oklch(98% 0.002 240 / 0.6);
}

.form {
  margin-top: var(--space-4xl);
  text-align: left;
}

.form__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.85);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  border-radius: 0.75rem;
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-base);
  transition: border-color var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(98% 0.002 240 / 0.3);
}

.field select option {
  background: var(--bg-navy);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field__error {
  display: none;
  font-size: var(--text-xs);
  color: var(--error);
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--error);
}

.field--invalid .field__error {
  display: block;
}

.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.recaptcha-note {
  font-size: var(--text-xs);
  color: var(--faint);
}

.form-note {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--faint);
}

.form-result {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  border-radius: 0.75rem;
  border: var(--rule-1) solid var(--line);
}

.form-result--ok {
  border-color: oklch(72% 0.12 150 / 0.4);
  color: var(--success);
}

.form-result--err {
  border-color: oklch(68% 0.16 25 / 0.4);
  color: var(--error);
}

/* ---- footer ---- */
.footer {
  background: var(--bg-navy);
  border-top: var(--rule-1) solid var(--line);
  padding-block: var(--space-4xl) var(--space-lg);
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.footer .wordmark__img {
  height: 3.5rem;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: oklch(98% 0.002 240 / 0.5);
}

.footer__cols {
  display: grid;
  gap: var(--space-3xl);
  max-width: 30rem;
  margin-inline: auto;
  padding-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4xl);
  }
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--space-md);
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
  padding-block: 0.25rem;
  transition: color var(--dur-micro) var(--ease-out);
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: var(--rule-1) solid var(--line);
  font-size: var(--text-xs);
  color: var(--faint);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__legal a {
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out);
}

.footer__legal a:hover {
  color: var(--ink);
}

/* ---- dialogs (DOEL content, reference skin) ---- */
.dlg {
  position: fixed;
  inset: 0;
  width: calc(100vw - 2rem);
  max-width: 34rem;
  margin: auto;
  padding: var(--space-2xl);
  border: var(--rule-1) solid var(--line-soft);
  border-radius: var(--radius-2xl);
  background: oklch(16% 0.045 264);
  color: var(--ink);
  max-height: min(85vh, 60rem);
  overflow-y: auto;
}

.dlg--wide {
  max-width: 46rem;
}

.dlg::backdrop {
  background: oklch(0% 0 0 / 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dlg__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  background: oklch(98% 0.002 240 / 0.05);
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: 1;
  transition: background-color var(--dur-micro) var(--ease-out);
}

.dlg__close:hover {
  background: oklch(98% 0.002 240 / 0.12);
}

.dlg__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.dlg__desc {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.dlg__metrics {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.metric {
  flex: 1;
  padding: var(--space-sm);
  border-radius: 0.75rem;
  border: var(--rule-1) solid var(--line);
  background: oklch(98% 0.002 240 / 0.05);
  text-align: center;
}

.metric__val {
  display: block;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.metric__label {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.dlg__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.dlg__list li {
  padding-left: var(--space-lg);
  position: relative;
  font-size: var(--text-sm);
  color: var(--muted);
}

.dlg__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
}

.dlg__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  counter-reset: step;
}

.dlg__steps li {
  padding: var(--space-md);
  border-radius: 0.75rem;
  border: var(--rule-1) solid var(--line);
  background: oklch(98% 0.002 240 / 0.04);
  counter-increment: step;
}

.dlg__steps li::before {
  content: "[" counter(step, decimal-leading-zero) "]";
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-bright);
  margin-bottom: 0.25rem;
}

.dlg__steps strong {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.2rem;
}

.dlg__steps span {
  font-size: var(--text-sm);
  color: var(--muted);
}

.dlg__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.dlg__pills li {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: var(--rule-1) solid var(--line-soft);
  font-size: var(--text-xs);
  color: var(--muted);
}

.dlg__grid {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .dlg__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dlg__grid li {
  padding: var(--space-md);
  border-radius: 0.75rem;
  border: var(--rule-1) solid var(--line);
  background: oklch(98% 0.002 240 / 0.04);
}

.dlg__grid strong {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.2rem;
}

.dlg__grid span {
  font-size: var(--text-sm);
  color: var(--muted);
}

.dlg__hero {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .dlg__hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.dlg__hero-text .chip {
  margin-bottom: var(--space-sm);
}

.dlg__hero-media img {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: var(--rule-1) solid var(--line);
}

.dlg__sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--space-md);
}

.dlg__prose {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--muted);
}

.dlg__prose p + p {
  margin-top: var(--space-md);
}

.dlg__prose strong {
  color: var(--ink);
  font-weight: 600;
}

.dlg__cta {
  margin-top: var(--space-lg);
}

.faq-heading {
  margin: 0 auto var(--space-2xl);
  max-width: 40rem;
  text-align: center;
  font-size: var(--text-section);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* dialogs — keep comfortable on phones */
@media (max-width: 480px) {
  .dlg {
    padding: var(--space-lg);
  }
  .dlg--wide {
    padding: var(--space-lg);
  }
  .dlg__metrics {
    flex-wrap: wrap;
  }
  .metric {
    flex: 1 1 40%;
    min-width: 0;
  }
  .metric__label {
    letter-spacing: 0.08em;
  }
  .dlg__hero .dlg__title {
    font-size: var(--text-xl);
  }
}

/* ---- chatbot ---- */
/* ---- chatbot · DOEL AI v5 temamız — boyut & konum: doeldigital.com ile birebir ---- */
#ai-chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  z-index: calc(var(--z-sticky) + 2);
}

.chatbot__toggle {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 16px oklch(58% 0.19 245 / 0.45);
  transition: transform var(--dur-micro) var(--ease-out),
    box-shadow var(--dur-micro) var(--ease-out);
}

.chatbot__toggle:hover {
  transform: scale(1.05);
}

.chatbot__toggle svg {
  width: 24px;
  height: 24px;
}

.chatbot .close-icon {
  display: none;
}

.chatbot.open .chat-icon {
  display: none;
}

.chatbot.open .close-icon {
  display: block;
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--danger, #ef4444);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 4px 12px oklch(0% 0 0 / 0.4);
}

#ai-chatbot.open .chat-badge {
  display: none;
}

.chatbot__win {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: calc(var(--z-sticky) + 2);
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow: hidden;
  flex-direction: column;
  border: var(--rule-1) solid oklch(100% 0 0 / 0.1);
  border-radius: var(--radius-2xl);
  background: oklch(13% 0.02 245 / 0.94);
  color: var(--ink);
  box-shadow: 0 24px 60px oklch(0% 0 0 / 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#ai-chatbot.open .chatbot__win {
  display: flex;
  animation: chat-pop var(--dur-short) var(--ease-out);
}

@keyframes chat-pop {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chatbot__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: var(--rule-1) solid oklch(100% 0 0 / 0.08);
}

.chatbot__ava {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  object-fit: contain;
  background: oklch(100% 0 0 / 0.08);
  filter: brightness(0) invert(1);
}

.chatbot__id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chatbot__id strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.chatbot__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--success);
}

.chatbot__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px var(--success);
}

.chatbot-minimize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 31px;
  padding: 4px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  transition: color var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out);
}

.chatbot-minimize:hover {
  color: var(--ink);
  background: oklch(98% 0.002 240 / 0.08);
}

.chatbot__msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  max-width: 85%;
  padding: var(--space-sm) var(--space-md);
  font-size: 16px;
  line-height: 1.6;
  border-radius: var(--radius-2xl);
  border-bottom-left-radius: 0.25rem;
  align-self: flex-start;
  background: oklch(98% 0.002 240 / 0.1);
}

.message-content {
  font-size: 14px;
  line-height: 1.5;
}

.message-content strong {
  color: var(--accent-bright);
  font-weight: 600;
}

.message-time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.8;
}

.chat-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 4px 0;
  max-width: 85%;
}

.chat-option-btn {
  width: 100%;
  padding: 10px 16px;
  border: var(--rule-1) solid var(--accent);
  border-radius: var(--radius-pill);
  background: oklch(100% 0 0 / 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: background-color var(--dur-micro) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

.chat-option-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateX(0.15rem);
}

.chat-option-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.chatbot-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  align-self: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-2xl);
  border-bottom-left-radius: 0.25rem;
  background: oklch(98% 0.002 240 / 0.1);
}

.chatbot-typing span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--muted);
  animation: typing 1s infinite ease-in-out;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-0.25rem);
    opacity: 1;
  }
}

#contact-form.highlight-form {
  animation: form-pulse 1.2s ease-out;
}

@keyframes form-pulse {
  0% {
    box-shadow: 0 0 0 0 oklch(88% 0.19 205 / 0.55);
  }
  100% {
    box-shadow: 0 0 0 1.5rem oklch(88% 0.19 205 / 0);
  }
}

@media (max-width: 767px), (max-height: 760px) {
  #ai-chatbot,
  .chatbot__toggle {
    right: 16px;
    bottom: 16px;
  }
  .chatbot__win {
    right: 16px;
    bottom: 80px;
    width: min(calc(100vw - 32px), 380px);
    height: min(calc(100vh - 120px), 600px);
    height: min(calc(100dvh - 120px), 600px);
  }
}

/* ---- reveal ---- */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee,
  .fluid-blob,
  .chatbot-typing span {
    animation: none;
  }
}

/* ============================================================
   MODERN-COLOR FALLBACKS · oklch() desteklemeyen eski / embedded
   mobil tarayıcılar (iOS Safari <15.4, Chrome/Android <111,
   in-app webview'lar) için. Modern tarayıcılarda bu blok uygulanmaz.
   ============================================================ */
@supports not (color: oklch(0% 0 0)) {
  /* hero videos shade */
  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 24, 0.62),
      rgba(8, 12, 24, 0.84)
    );
  }

  /* marquee band */
  .marquee-band {
    background: rgba(248, 250, 252, 0.04);
  }
  .marquee__item--brand {
    color: rgba(248, 250, 252, 0.85);
  }
  .marquee__item {
    color: rgba(248, 250, 252, 0.5);
  }

  /* case cards */
  .case-card {
    background: rgba(248, 250, 252, 0.05);
    border-color: rgba(248, 250, 252, 0.2);
  }
  .case-card__label {
    color: rgba(248, 250, 252, 0.85);
  }
  .case-card__sub {
    color: rgba(248, 250, 252, 0.85);
  }
  .case-card--all {
    border-color: rgba(248, 250, 252, 0.2);
    background: rgba(248, 250, 252, 0.02);
  }
  .case-card--all:hover,
  .case-card--all {
    background-color: rgba(248, 250, 252, 0.04);
  }
  .case-card--all .case-card__label {
    color: rgba(248, 250, 252, 0.5);
  }
  .case-card__all-sub {
    color: rgba(248, 250, 252, 0.6);
  }

  /* section heading squiggle */
  .squiggle {
    color: rgba(248, 250, 252, 0.25);
  }

  /* carousel */
  .carousel__dot {
    background: rgba(248, 250, 252, 0.3);
  }
  .carousel__nav {
    background-color: rgba(248, 250, 252, 0.06);
    border-color: rgba(248, 250, 252, 0.2);
  }
  .carousel__nav:hover {
    background-color: rgba(248, 250, 252, 0.14);
  }

  /* post cards */
  .post-card {
    background: rgba(248, 250, 252, 0.05);
    border-color: rgba(248, 250, 252, 0.12);
  }
  .post-card:hover {
    background: rgba(248, 250, 252, 0.08);
    border-color: rgba(248, 250, 252, 0.2);
  }

  /* about / system visual */
  .system {
    background-color: rgba(4, 6, 12, 0.25);
  }
  .system__ring {
    border-color: rgba(138, 180, 248, 0.45);
  }
  .system__ring::after {
    border-color: rgba(248, 250, 252, 0.2);
  }
  .system__core {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(138, 180, 248, 0.4);
  }
  .system__core::after {
    border-color: rgba(138, 180, 248, 0.28);
  }
  .system__node-chip {
    background: rgba(11, 16, 29, 0.92);
    border-color: rgba(138, 180, 248, 0.35);
  }
  .about-media__badge {
    background: rgba(0, 0, 0, 0.7);
  }
  .about-media__lbl,
  .about-title em,
  .about-copy {
    color: rgba(248, 250, 252, 0.8);
  }

  /* services / stats / testimonials cards */
  .svc-card,
  .quote-card {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .svc-card:hover {
    background-color: rgba(0, 0, 0, 0.4);
  }
  .quote-card__init {
    background: rgba(248, 250, 252, 0.08);
    border-color: rgba(248, 250, 252, 0.2);
  }
  .quote-card__id span,
  .stat-card__label {
    color: rgba(248, 250, 252, 0.6);
  }

  /* form */
  .field input,
  .field select,
  .field textarea {
    background: rgba(248, 250, 252, 0.05);
    border-color: rgba(248, 250, 252, 0.2);
  }
  .field input::placeholder,
  .field textarea::placeholder {
    color: rgba(248, 250, 252, 0.3);
  }
  .form-result--ok {
    border-color: rgba(94, 207, 143, 0.4);
  }
  .form-result--err {
    border-color: rgba(232, 96, 106, 0.4);
  }

  /* footer */
  .footer__tagline {
    color: rgba(248, 250, 252, 0.5);
  }

  /* dialogs */
  .dlg {
    background: #0e1626;
    border-color: rgba(248, 250, 252, 0.2);
  }
  .dlg::backdrop {
    background: rgba(0, 0, 0, 0.7);
  }
  .dlg__close,
  .metric,
  .dlg__steps li,
  .dlg__grid li {
    background-color: rgba(248, 250, 252, 0.05);
  }
  .dlg__close:hover {
    background-color: rgba(248, 250, 252, 0.12);
  }

  /* chatbot */
  .chatbot__win {
    background: rgba(12, 16, 30, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .chatbot__head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  .chatbot__ava {
    background: rgba(255, 255, 255, 0.08);
  }
  .message,
  .chatbot-typing {
    background-color: rgba(248, 250, 252, 0.1);
  }
  .chat-option-btn {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: #3b70e5;
  }
}

