/* =============================================
   ADON STUDIO — Design System (PaperTiger Clone)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700;1,800&family=Playfair+Display:ital,wght@0,400;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg: #ffffff;
  --black: #080808;
  --white: #ffffff;
  --accent: #ff3c31;
  --muted: #5c5c5c;
  --border: #d0d0d0;
  --card-bg: #e8e9e9;
  --overlay: rgba(8, 8, 8, 0.06);

  --font-headline: 'Bebas Neue', 'Barlow Condensed', 'Impact', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --nav-height: 64px;
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.2s ease;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  /* controlled by Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  /* Custom cursor */
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

/* ─── Global Headline: kapat uppercase ─── */
.hero-text-top, .hero-text-bottom,
.section-headline, .cta-title, .page-header-title,
.card-title, .pillar-title, .step-title, .dna-title,
.speed-teaser-title, .stc-title, .hs-service-title,
.solution-title, .work-title, .team-name {
  text-transform: none !important;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: none;
  background: none;
  border: none;
  font: inherit;
}

/* ─── Custom Cursor ─── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.8);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor.expanded {
  width: 36px;
  height: 36px;
  background: rgba(128, 128, 128, 0.5);
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(128, 128, 128, 0.6);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

/* ─── Page Transition Overlay ─── */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  transform: scaleY(0);
  transform-origin: top;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  transition: background var(--fast), box-shadow var(--fast), height var(--fast), top var(--fast);
}

.nav.scrolled {
  top: 0;
  background: rgba(242, 243, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  height: 52px;
}

/* ─── Dark Nav (hero video background pages) ─── */
.nav--dark .nav-logo,
.nav--dark .nav-links a {
  color: var(--white);
}

.nav--dark .nav-links a::after {
  background: var(--white);
}

.nav--dark .nav-menu-toggle span {
  background: var(--white);
}

.nav--dark.scrolled {
  background: rgba(8, 8, 8, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-logo {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
}

/* ─── Logo swap on scroll ─── */
.nav .logo-scrolled { display: none !important; }
.nav.scrolled .logo-default { display: none !important; }
.nav.scrolled .logo-scrolled { display: block !important; }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width var(--fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 8px 20px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: #333333;
  border-color: #333333;
  color: var(--white);
}

/* ─── Language Toggle ─── */
/* Default: white (all navs start dark) */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.lang-active {
  opacity: 0.35;
}

.lang-toggle::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.25;
  margin-right: 2px;
}

.lang-link {
  color: inherit;
  position: relative;
  transition: opacity 0.2s ease;
}

.lang-link:hover {
  opacity: 0.6;
}

/* When nav scrolls to light background, switch to dark */
.nav.scrolled .lang-toggle {
  color: var(--black);
}

/* ─── Mobile hamburger ─── */
.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.nav-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: transform var(--fast), opacity var(--fast);
}

/* ─── Hero Section ─── */
.hero {
  height: 100svh; /* svh: small viewport height — Mac/mobile tarayıcı chrome'unu hesaba katar */
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 120px) 32px 40px;
  position: relative;
  overflow: hidden;
  gap: 20px;
  background: var(--black);
}

.hero-headlines {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 3;
}

.hero-text-top,
.hero-text-bottom {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 100px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 0;
  color: var(--white);
}

.hero-text-top {
  margin-bottom: 16px;
}

.hero-middle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 20px;
  position: relative;
  z-index: 3;
}

/* ─── Hero Video Background ─── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
  pointer-events: none;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 4;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stat {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.hero-stat-num {
  font-weight: 700;
  font-size: 15px;
  min-width: 48px;
  font-variant-numeric: tabular-nums;
}

.hero-desc {
  margin-left: 0;
  max-width: 540px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  z-index: 4;
}

.hero-desc em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--white);
}

/* Hero button */
.hero-middle .btn {
  margin-top: 16px;
  margin-bottom: 24px;
}

/* Vignette overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ─── Marquee Ticker ─── */
.marquee-section {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 14px 0;
  white-space: nowrap;
  visibility: hidden;
}
.marquee-section.marquee-ready {
  visibility: visible;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}



/* ─── Section Base ─── */
.section {
  padding: 120px 32px;
}

.section-sm {
  padding: 80px 32px;
}

/* ─── Logo Ticker ─── */
/* Logo ticker — JS ile kontrol edilir, CSS animasyonu yok */

/* ─── Hız & Ölçek Sayfası ─── */
.hs-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hs-service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.hs-service-item:last-child {
  border-bottom: 1px solid var(--border);
}

.hs-service-num {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}

.hs-service-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hs-service-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
}

.hs-stats {
  display: flex;
  gap: 48px;
}

.hs-stat-num {
  font-family: var(--font-headline);
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.hs-stat-num span {
  font-size: 28px;
  color: var(--accent);
}

.hs-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hs-compare-label {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .hs-service-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hs-stats {
    flex-direction: column;
    gap: 32px;
  }
}

/* ─── Speed & Scale Teaser ─── */
.speed-teaser-section {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 120px 64px;
  overflow: hidden;
}

.speed-teaser-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.speed-teaser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  z-index: 1;
}

.speed-teaser-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.speed-teaser-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
}

.speed-teaser-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
}

.speed-teaser-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.speed-teaser-card {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speed-teaser-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stc-num {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 10px;
}

.stc-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.stc-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .speed-teaser-section {
    padding: 80px 24px;
  }
  .speed-teaser-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── Why Adon (video bg) ─── */
.why-adon-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.why-adon-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.why-adon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  z-index: 1;
}

.why-adon-content {
  position: relative;
  z-index: 2;
  padding: 80px 32px;
}

/* ─── Carousel ─── */
.carousel-section {
  padding: 0;
  overflow: hidden;
}

.gallery {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
  cursor: grab;
  user-select: none;
}

.gallery:active { cursor: grabbing; }

.cards {
  position: absolute;
  width: 400px;
  height: 520px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  list-style: none;
  padding: 0;
  margin: 0;
}

.cards li {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  will-change: transform, opacity;
}

.drag-proxy { display: none; }

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  z-index: 300;
}

.carousel-arrow:hover {
  background: #333333;
  border-color: #333333;
  transform: scale(1.08);
}


.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
}

.section-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.section-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 0.75em;
}

.section-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}

/* ─── Split Layout ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse>* {
  direction: ltr;
}

/* ─── Cards / Grid ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}

.card {
  background: var(--card-bg);
  padding: 48px 40px;
  transition: background var(--fast);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
  z-index: 0;
}

.card:hover::before {
  transform: scaleY(1);
}

.card:hover .card-num,
.card:hover .card-title,
.card:hover .card-body {
  color: var(--white);
}

.card-num {
  font-family: var(--font-headline);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.08;
  color: var(--black);
  position: absolute;
  top: 20px;
  right: 28px;
  transition: color var(--transition);
  z-index: 1;
}

.card-title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.card-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

/* ─── Pillars / Steps ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.pillar {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  transition: background var(--fast);
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: var(--card-bg);
}

.pillar-num {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.pillar-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.pillar-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section--particles {
  position: relative;
  background: var(--black);
  border-top: none;
  overflow: hidden;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cta-section-content {
  position: relative;
  z-index: 1;
}

.cta-section--particles .section-label {
  color: rgba(255, 255, 255, 0.4);
}

.cta-section--particles .cta-title {
  color: var(--white);
}

.cta-section--particles p {
  color: rgba(255, 255, 255, 0.5) !important;
}

.cta-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.cta-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  font-size: 0.8em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 14px 32px;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  display: none;
}

.btn:hover {
  background: #333333;
  border-color: #333333;
  color: var(--white);
}

.btn-filled {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-filled:hover {
  background: #333333;
  border-color: #333333;
  color: var(--white);
}

/* ─── Footer ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 32px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 14px !important;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-locations {
  display: flex;
  gap: 24px;
}

/* ─── Page Header ─── */
.page-header {
  padding: calc(var(--nav-height) + 80px) 32px 80px;
  border-bottom: 1px solid var(--border);
}

.page-header-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-header-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 110px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-header-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.page-header-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
  margin-top: 32px;
}

/* ─── Page Header with Photo ─── */
.page-header--photo {
  position: relative;
  padding: 0;
  border-bottom: none;
  overflow: hidden;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.80);
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 100px) 32px 100px;
}

.page-header--photo .page-header-label {
  color: rgba(255, 255, 255, 0.5);
}

.page-header--photo .page-header-title {
  color: var(--white);
}

.page-header--photo .page-header-title em {
  color: rgba(255, 255, 255, 0.5);
}

.page-header--photo .page-header-sub {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Team Grid ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.team-card-spacer {
  background: transparent;
}

.team-card {
  background: var(--card-bg);
  padding: 0;
  overflow: hidden;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.04);
}

.team-name,
.team-role {
  padding-left: 24px;
  padding-right: 24px;
}

.team-name {
  padding-top: 24px;
}

.team-name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-bottom: 28px;
}

/* ─── DNA Section ─── */
.dna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.dna-item {
  padding: 60px 48px;
  border-right: 1px solid var(--border);
}

.dna-item:last-child {
  border-right: none;
}

.dna-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1.5px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.dna-title {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dna-subtitle {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.dna-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ─── Synthesis Steps ─── */
.synthesis-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step-num {
  font-family: var(--font-headline);
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.1;
  color: var(--black);
}

.step-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-headline);
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.step-list li::before {
  content: '—';
  color: var(--muted);
  flex-shrink: 0;
}

/* ─── Solutions Grid ─── */
.solutions-by-craft {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

.solution-card {
  padding: 60px 40px;
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background var(--fast);
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.solution-card:hover::before {
  transform: scaleY(1);
}

.solution-card:hover .solution-title,
.solution-card:hover .solution-body {
  color: var(--white);
}

.solution-badge {
  position: absolute;
  top: 32px;
  left: 40px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.solution-title {
  font-family: var(--font-headline);
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.solution-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

/* ─── Contact Section ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-info-value {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-info-value a {
  display: inline-block;
  transition: opacity var(--fast);
}

.contact-info-value a:hover {
  opacity: 0.6;
}

/* ─── Contact Form ─── */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea {
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  outline: none;
  transition: border-color var(--fast);
  width: 100%;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--black);
}

/* ─── Works Grid ─── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.work-item {
  aspect-ratio: 4/3;
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.work-item-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-item:hover .work-item-bg {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.work-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Scroll Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar:nth-child(3) {
    border-right: none;
  }

  .pillar:nth-child(4),
  .pillar:nth-child(5) {
    border-top: 1px solid var(--border);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .gallery {
    height: 340px;
  }

  .cards {
    width: 240px;
    height: 240px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .carousel-section {
    padding: 40px 0 24px;
  }

  :root {
    --nav-height: 56px;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1100;
  }

  .nav-links.open a,
  .nav--dark .nav-links.open a {
    font-size: 32px;
    font-family: var(--font-headline);
    font-weight: 800;
    color: #0a0a0a !important;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu-toggle {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-reverse {
    direction: ltr;
  }

  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .pillar:nth-child(2n) {
    border-right: none;
  }

  .pillar {
    border-bottom: 1px solid var(--border);
  }

  .solutions-by-craft {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .dna-grid {
    grid-template-columns: 1fr;
  }

  .dna-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section,
  .cta-section {
    padding: 80px 20px;
  }

  .page-header {
    padding: calc(var(--nav-height) + 48px) 20px 48px;
  }

  .hero-text-top,
  .hero-text-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-middle {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .gallery {
    height: 300px;
  }

  .cards {
    width: 200px;
    height: 200px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: none;
  }
}}

/* ══════════════════════════════════════════
   MOBİL — kapsamlı düzeltmeler
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Video grid: yan yana → alt alta ── */
  #homepage-video-grid {
    grid-template-columns: 1fr !important;
  }
  #homepage-video-grid > div {
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  /* ── Çözümler: dörtlü kart & video ── */
  #block-craft .solutions-by-craft {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  #block-craft .solution-title {
    font-size: clamp(36px, 8vw, 52px) !important;
    min-height: auto !important;
  }
  #block-craft-video {
    padding: 24px 0 48px !important;
  }
  #block-craft-video > div {
    width: 100% !important;
    padding-bottom: 56.25% !important;
  }

  /* ── İletişim sayfası ── */
  .contact-body {
    padding: 48px 20px 64px !important;
  }
  .contact-body-inner {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .contact-info-col {
    position: static !important;
  }

  /* ── Hero başlık minimum boyutu ── */
  .hero-text-top,
  .hero-text-bottom {
    font-size: clamp(44px, 11vw, 100px) !important;
  }

  /* ── Section headline (tüm sayfalarda) ── */
  .section-headline {
    font-size: clamp(40px, 9vw, 120px) !important;
  }

  /* ── Hız & Ölçek ── */
  .speed-teaser-section {
    padding: 64px 20px !important;
  }

  /* ── Çözümler by-objective kart grid ── */
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Why Adon içerik ── */
  .why-adon-content {
    padding: 64px 20px !important;
  }

  /* ── Calismalar grid ── */
  .works-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Ekip kartları: mobilde auto sıfırla ── */
  #cms-team .team-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
