/* ==========================================================================
   KOZLOW STUDIO — Core Style System (Island Architecture)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-global);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-global);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   1. GLOBAL CANVAS & AMBIENT BACKGROUND
   -------------------------------------------------------------------------- */
.global-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-global);
  contain: strict;
  transform: translateZ(0);
}

.canvas-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--canvas-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.8;
}

.canvas-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--canvas-glow-1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 15%;
  right: -150px;
  filter: blur(80px);
  transition: transform 0.6s ease-out;
}

.canvas-glow-secondary {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--canvas-glow-2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  bottom: 20%;
  left: -100px;
  filter: blur(90px);
}

.canvas-grain {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. ISLAND ARCHITECTURE CORE
   -------------------------------------------------------------------------- */
.island-scene {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
}

/* The Base Island */
.island {
  position: relative;
  /* Genişlik ve yan boşluk dıştaki Bootstrap .container'dan gelir */
  border-radius: var(--radius-island-xl);
  overflow: visible;
  transition:
    transform 0.4s var(--ease-out-smooth),
    box-shadow 0.4s var(--ease-out-smooth),
    background-color 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}

/* Island Spacers (Allows global dark/light canvas to shine through prominently) */
.island-spacer {
  height: var(--island-gap-lg);
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.island-spacer-sm {
  height: var(--island-gap-md);
}

.island-spacer-xs {
  height: var(--island-gap-sm);
}

/* Island Color Themes - Clean, neutral architecture (NOT flooded with turquoise) */
.island--dark {
  background-color: var(--bg-island-dark);
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-island-dark);
}

.island--elevated {
  background-color: var(--bg-island-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-dark-strong);
  box-shadow: var(--shadow-floating);
}

.island--light {
  background-color: var(--bg-island-light);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-island-light);
}

.island--white {
  background-color: var(--bg-island-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light-strong);
  box-shadow: var(--shadow-island-light);
}

/* Island Geometric Variations (Centered and Balanced Architecture) */
.island--wide,
.island--narrow,
.island--asymmetric-left,
.island--asymmetric-right {
  /* max-width: .container'dan gelir */
}

/* Internal island wrapper for clean nested bounds */
.island-inner {
  position: relative;
  padding: 80px 72px;
  border-radius: inherit;
}

.island-inner--hero {
  padding: 84px 64px 64px;
  min-height: calc(88vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.island-inner--compact {
  padding: 56px 48px;
}

/* --------------------------------------------------------------------------
   3. FLOATING TOP NAVIGATION
   -------------------------------------------------------------------------- */
.nexa-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

/* Genişlik ve yan boşluk Bootstrap .container'dan gelir; daralan bar ortalanır */
.nexa-header-container {
  display: flex;
  justify-content: center;
}

.nexa-nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 12px 26px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-island-dark);
  transition:
    max-width 0.7s var(--ease-out-smooth),
    padding 0.7s var(--ease-out-smooth),
    background 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.nexa-header.scrolled .nexa-nav-bar {
  background: var(--nav-bg-scrolled);
  border-color: var(--primary-turquoise-border);
  padding: 10px 22px;
  max-width: var(--nav-compact-width, 100%);
}

/* Zone 1: Wordmark */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--text-heading);
  transition: opacity 0.2s ease;
}

.nav-brand span {
  color: var(--primary-turquoise);
}

.nav-brand:hover {
  opacity: 0.9;
}

/* Logo (SVG): temaya göre açık/koyu sürüm */
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.footer-brand-title .brand-logo {
  height: 50px;
}

.brand-logo--onlight {
  display: none;
}

[data-theme="light"] .brand-logo--onlight {
  display: block;
}

[data-theme="light"] .brand-logo--ondark {
  display: none;
}

/* Zone 2: Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 3rem;
  padding-right: 3rem;
}

.nav-link-item a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-turquoise);
  transition: width 0.3s var(--ease-out-smooth);
}

.nav-link-item a:hover,
.nav-link-item a.active {
  color: var(--text-heading);
}

.nav-link-item a:hover::after,
.nav-link-item a.active::after {
  width: 100%;
}

/* Zone 3: Primary Action CTA & Theme Toggle */
.nav-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nexa-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--primary-turquoise);
  color: #0a1a1d;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-out-smooth);
  white-space: nowrap;
}

[data-theme="light"] .btn-nexa-nav {
  color: #ffffff;
}

.btn-nexa-nav:hover {
  background-color: var(--primary-turquoise-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -3px var(--primary-turquoise-glow);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-out-smooth);
}

.theme-toggle-btn:hover {
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise-border);
  background: var(--primary-turquoise-subtle);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle & Drawer Defaults */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-heading);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-out-smooth);
}

.mobile-nav-toggle:hover {
  background: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise-border);
}

.mobile-nav-toggle.active {
  background: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  box-shadow: 0 0 14px var(--primary-turquoise-glow);
}

.mobile-nav-drawer {
  display: none;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text-light-pure);
}

.display-section {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.display-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.highlight-turq {
  color: var(--primary-turquoise);
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-turquoise);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--primary-turquoise);
}

.eyebrow-tag--dark {
  color: var(--text-dark-muted);
}
.eyebrow-tag--dark::before {
  background-color: var(--text-dark);
}

.body-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
}

.body-lead--dark {
  color: var(--text-dark-muted);
}

/* --------------------------------------------------------------------------
   5. HERO ISLAND & 3-DEPTH LAYERING
   -------------------------------------------------------------------------- */
.island-hero {
  position: relative;
  background-color: var(--bg-island-dark);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-island-dark);
}

/* Depth Layer 1: Background Blueprint / Grid */
.hero-layer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-blueprint-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--canvas-grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--canvas-grid-color) 1px, transparent 1px);
  background-size:
    80px 80px,
    80px 80px;
  opacity: 0.6;
}

.hero-coord-tag {
  position: absolute;
  top: 36px;
  right: 48px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Depth Layer 2: Midground Architecture Art / Interface Geometry */
.hero-layer-mid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero-floating-card {
  position: absolute;
  right: 6%;
  top: 8%;
  width: 380px;
  background: var(--bg-island-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark-highlight);
  border-radius: var(--radius-island-md);
  padding: 24px;
  box-shadow: var(--shadow-floating);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s var(--ease-out-smooth);
}

.hero-floating-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
}

.hero-floating-card-dots {
  display: flex;
  gap: 6px;
}

.hero-floating-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-dark-strong);
}

.hero-floating-card-dot:first-child {
  background-color: var(--primary-turquoise);
}

.hero-floating-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-floating-code .code-kw {
  color: var(--primary-turquoise);
  font-weight: 600;
}

.hero-floating-code .code-fn {
  color: var(--text-heading);
}

.hero-floating-badge {
  position: absolute;
  right: 18%;
  bottom: 25%;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary-turquoise);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-island-dark);
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-turquoise);
  box-shadow: 0 0 10px var(--primary-turquoise);
  animation: pulse-glow 2s infinite;
}

/* Depth Layer 3: Foreground Content */
.hero-layer-fg {
  position: relative;
  z-index: 3;
}

.hero-headline-wrap {
  margin-top: 40px;
  margin-bottom: 48px;
}

.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}

.hero-swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  height: auto;
}

.hero-swiper .hero-action-group {
  margin-bottom: 40px;
}

.hero-pagination.swiper-pagination,
.testimonial-pagination.swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  gap: 8px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--text-light-muted, #8a9a96);
  opacity: 0.4;
  margin: 0 !important;
}

.hero-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-turquoise);
  opacity: 1;
}

.testimonial-pagination.swiper-pagination {
  justify-content: center;
  margin-top: 32px;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--text-dark-muted);
  opacity: 0.35;
  margin: 0 !important;
}

.testimonial-pagination .swiper-pagination-bullet {
  transition: width 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary-turquoise);
  opacity: 1;
}

.hero-floating-badge:not([data-active]) {
  display: none;
}

.hero-action-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-nexa-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 36px;
  background-color: var(--primary-turquoise);
  color: #0a1a1d;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out-smooth);
  box-shadow: 0 10px 30px -5px var(--primary-turquoise-glow);
}

[data-theme="light"] .btn-nexa-primary {
  color: #ffffff;
}

.btn-nexa-primary:hover {
  background-color: var(--primary-turquoise-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -5px var(--primary-turquoise-glow);
}

.btn-nexa-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background-color: transparent;
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.btn-nexa-secondary:hover {
  border-color: var(--primary-turquoise);
  background-color: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
}

.hero-stats-mini {
  display: flex;
  gap: 48px;
}

.hero-stat-col {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   6. MANIFESTO ISLAND (LIGHT CONTRAST SURFACE)
   -------------------------------------------------------------------------- */
.island-manifesto {
  background-color: var(--bg-island-light);
  color: var(--text-dark);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.manifesto-quote em {
  font-style: normal;
  color: var(--primary-turquoise);
  text-decoration: underline;
  text-decoration-color: var(--primary-turquoise-border);
  text-underline-offset: 8px;
}

.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.manifesto-col-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.manifesto-col-item p {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. SERVICES ISLAND (ASYMMETRIC STICKY & HOVER VISUALS)
   -------------------------------------------------------------------------- */
.island-services {
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 72px;
  align-items: start;
}

.services-sticky-col {
  position: sticky;
  top: 140px;
}

.services-sticky-col p {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.services-interactive-list {
  display: flex;
  flex-direction: column;
}

.service-row-item {
  position: relative;
  padding: 36px 0;
  border-top: 1px solid var(--border-dark);
  cursor: pointer;
  transition:
    padding-left 0.3s var(--ease-out-smooth),
    border-color 0.3s ease;
}

.service-row-item:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.service-row-item:hover {
  padding-left: 20px;
  border-color: rgba(90,171,187, 0.4);
}

.service-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.service-row-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 28px;
}

.service-index {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-turquoise);
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  transition: color 0.25s ease;
}

.service-row-item:hover .service-name {
  color: var(--primary-turquoise);
}

.service-arrow {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-smooth);
}

.service-row-item:hover .service-arrow {
  background-color: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  transform: translate(3px, -3px) rotate(-45deg);
}

.service-desc-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s var(--ease-out-smooth),
    opacity 0.3s ease,
    margin-top 0.3s ease;
}

.service-row-item:hover .service-desc-reveal,
.service-row-item.active .service-desc-reveal {
  max-height: 140px;
  opacity: 1;
  margin-top: 18px;
}

.service-desc-reveal p {
  padding-left: 56px;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* Floating Service Preview Thumbnail (Desktop) */
.service-floating-preview {
  position: fixed;
  width: 320px;
  height: 200px;
  border-radius: var(--radius-island-md);
  overflow: hidden;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: scale(0.85) translate(-50%, -50%);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease-out-smooth);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(90,171,187, 0.3);
}

.service-floating-preview.active {
  opacity: 1;
  transform: scale(1) translate(0%, -50%);
}

.service-floating-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   8. PROJECTS ISLAND & OVERLAP ARCHITECTURE
   -------------------------------------------------------------------------- */
.island-projects {
  position: relative;
}

.projects-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project-feature-card {
  position: relative;
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-elevated);
  border: 1px solid var(--border-dark);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  transition:
    transform 0.4s var(--ease-out-smooth),
    border-color 0.3s ease;
  overflow: visible;
}

.project-feature-card:hover {
  border-color: var(--primary-turquoise-border);
}

/* Project Layout: Clean Symmetrical Framing (Zero Breakout Overflow) */
.project-breakout-right .project-media-container {
  margin-right: 0;
  box-shadow: var(--shadow-island-dark);
}

.project-breakout-left {
  grid-template-columns: 1fr 1fr;
}

.project-breakout-left .project-media-container {
  order: -1;
  margin-left: 0;
  box-shadow: var(--shadow-island-dark);
}

.project-media-container {
  position: relative;
  border-radius: var(--radius-island-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-island-dark);
  border: 1px solid var(--border-dark);
}

.project-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-smooth);
}

.project-feature-card:hover .project-media-container img {
  transform: scale(1.05);
}

.project-details {
  display: flex;
  flex-direction: column;
}

.project-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary-turquoise);
  margin-bottom: 16px;
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-light-pure);
  margin-bottom: 16px;
  line-height: 1.1;
}

.project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.project-metrics-grid {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.project-metric-item .metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-turquoise);
  font-variant-numeric: tabular-nums;
}

.project-metric-item .metric-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light-pure);
  text-decoration: none;
  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.project-cta-link:hover {
  color: var(--primary-turquoise);
  gap: 16px;
}

/* --------------------------------------------------------------------------
   9. HORIZONTAL SHOWCASE ISLAND (DESKTOP PINNED TRACK)
   -------------------------------------------------------------------------- */
.island-horizontal-showcase {
  background-color: var(--bg-island-elevated);
  border: 1px solid var(--border-dark);
  max-width: 1400px;
}

.island-horizontal-showcase.island-expanding {
  max-width: 1140px;
  transform: scale(0.96);
  transform-origin: center center;
  transition:
    max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
  will-change: max-width, transform;
}

.island-horizontal-showcase.island-expanding.expanded {
  max-width: 1400px;
  transform: scale(1);
  box-shadow: var(--shadow-floating);
}

.horizontal-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.horizontal-track {
  display: flex;
  gap: 32px;
  will-change: transform;
  padding: 16px 0;
}

.horizontal-slide-card {
  flex: 0 0 420px;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.horizontal-slide-card:hover {
  border-color: var(--primary-turquoise);
  transform: translateY(-4px);
  box-shadow: var(--shadow-island-dark);
}

.horizontal-slide-card h4 {
  color: var(--text-heading) !important;
}

.horizontal-slide-card p {
  color: var(--text-muted) !important;
}

.horizontal-slide-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-island-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.horizontal-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. ABOUT & PHILOSOPHY ISLAND (ASYMMETRIC DUAL SURFACE)
   -------------------------------------------------------------------------- */
.island-about {
  background-color: var(--bg-island-light);
  color: var(--text-dark);
}

.about-asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-island-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.25);
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-floating-quote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(23, 27, 32, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: var(--radius-island-sm);
  border: 1px solid var(--border-dark);
}

.about-floating-quote p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   11. STATS / NUMBERS SURFACE (LARGE BOLD SURFACES)
   -------------------------------------------------------------------------- */
.island-numbers {
  background-color: var(--bg-island-dark);
  border: 1px solid var(--border-dark);
}

.numbers-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.number-editorial-card {
  padding: 36px 28px;
  border-left: 1px solid var(--border-dark);
  transition: border-color 0.3s ease;
}

.number-editorial-card:first-child {
  border-left: none;
}

.number-editorial-card:hover {
  border-color: var(--primary-turquoise);
}

.number-big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 800;
  color: var(--primary-turquoise);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.number-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light-pure);
  margin-bottom: 6px;
}

.number-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. PROCESS STORYTELLING ISLAND (STICKY TIMELINE)
   -------------------------------------------------------------------------- */
.island-process {
  position: relative;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 490px) 1fr;
  gap: 72px;
  align-items: start;
}

.process-sticky-aside {
  position: sticky;
  top: 140px;
}

.process-steps-track {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-timeline-line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 29px;
  width: 2px;
  background: var(--border-dark-strong);
  z-index: 1;
}

.process-timeline-progress {
  position: absolute;
  top: 30px;
  left: 29px;
  width: 2px;
  height: 0%;
  background: var(--primary-turquoise);
  box-shadow: 0 0 12px var(--primary-turquoise-glow);
  z-index: 2;
  transition: height 0.4s var(--ease-out-smooth);
}

.process-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 32px;
  padding: 28px 0;
}

.process-step-bullet {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.process-step-node.active .process-step-bullet {
  background: var(--bg-island-card);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  box-shadow: 0 0 15px var(--primary-turquoise-glow);
}

.process-step-content {
  padding-top: 8px;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* --------------------------------------------------------------------------
   13. TECH STACK & MARQUEE
   -------------------------------------------------------------------------- */
.island-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.marquee-stream {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  gap: 40px;
}

.marquee-word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-dark-strong);
  transition:
    color 0.3s ease,
    -webkit-text-stroke 0.3s ease;
}

.marquee-word:hover {
  color: var(--primary-turquoise);
  -webkit-text-stroke: 1px var(--primary-turquoise);
}

.marquee-dot {
  color: var(--primary-turquoise);
  font-size: 2rem;
  align-self: center;
}

.tech-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.tech-item-card {
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-sm);
  padding: 24px;
  transition: all 0.3s var(--ease-out-smooth);
}

.tech-item-card:hover {
  border-color: var(--primary-turquoise);
  transform: translateY(-3px);
  box-shadow: var(--shadow-island-dark);
}

.tech-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.tech-item-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--primary-turquoise);
}

/* --------------------------------------------------------------------------
   14. TESTIMONIAL ISLAND
   -------------------------------------------------------------------------- */
.island-testimonial {
  background-color: var(--bg-island-white);
  color: var(--text-dark);
}

.testimonial-single-flow {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--primary-turquoise);
  margin-bottom: 24px;
}

.testimonial-body {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.testimonial-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   15. CTA ISLAND (CALL TO ACTION)
   -------------------------------------------------------------------------- */
.island-cta {
  background-color: var(--bg-island-elevated);
  border: 1px solid var(--border-dark-highlight);
  box-shadow: var(--shadow-island-dark);
}

.cta-flex-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.cta-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 520px;
}

.btn-cta-giant {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background-color: var(--primary-turquoise);
  color: #0a1a1d;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out-smooth);
  box-shadow: 0 10px 30px -5px var(--primary-turquoise-glow);
  white-space: nowrap;
}

[data-theme="light"] .btn-cta-giant {
  color: #ffffff;
}

.btn-cta-giant:hover {
  background-color: var(--primary-turquoise-hover);
  transform: translateY(-2px);
  color: #0a1a1d;
}

[data-theme="light"] .btn-cta-giant:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. BLOG, ARTICLE & PAGINATION
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-card);
  transition:
    transform 0.35s var(--ease-out-smooth),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-turquoise-border);
  box-shadow: var(--shadow-floating);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-island-contrast);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-smooth);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.045);
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.blog-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-meta span:first-child {
  color: var(--primary-turquoise);
}

.blog-card h2 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.blog-card h2 a {
  color: var(--text-heading);
  text-decoration: none;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--text-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.blog-read-link span {
  color: var(--primary-turquoise);
  transition: transform 0.2s ease;
}

.blog-read-link:hover span {
  transform: translateX(5px);
}

.nexa-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 52px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: var(--bg-island-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-btn:hover:not(:disabled),
.pagination-btn.active {
  border-color: var(--primary-turquoise);
  background: var(--primary-turquoise);
  color: #0a1a1d;
}

[data-theme="light"] .pagination-btn:hover:not(:disabled),
[data-theme="light"] .pagination-btn.active {
  color: #ffffff;
}

.pagination-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.pagination-arrow {
  margin: 0 8px;
}

.article-header {
  max-width: 970px;
  margin: 0 auto 54px;
  text-align: center;
}

.article-back {
  display: block;
  width: max-content;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-decoration: none;
}

.article-header .eyebrow-tag {
  justify-content: center;
}

.article-header h1 {
  margin: 10px 0 26px;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.article-header > p {
  max-width: 780px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.article-meta {
  justify-content: center;
}

.article-cover {
  aspect-ratio: 21 / 9;
  margin: 0 0 64px;
  overflow: hidden;
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-contrast);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-island .island-inner {
  overflow: clip;
}

.article-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 760px) 300px;
  justify-content: center;
  gap: 40px;
}

.article-share {
  position: sticky;
  top: 120px;
  display: flex;
  align-self: start;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.article-share > span {
  margin-bottom: 5px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.article-share a,
.article-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: var(--bg-island-card);
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.article-share a:hover,
.article-share button:hover {
  border-color: var(--primary-turquoise);
  background: var(--primary-turquoise);
  color: #0a1a1d;
}

.article-body {
  min-width: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.article-body .article-lead {
  color: var(--text-heading);
  font-size: 1.28rem;
  line-height: 1.75;
}

.article-body h2,
.article-body h3 {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.article-body h2 {
  margin: 58px 0 20px;
  font-size: 2rem;
}

.article-body h3 {
  margin: 42px 0 18px;
  font-size: 1.4rem;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body blockquote {
  margin: 44px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--primary-turquoise);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.55;
}

.article-body ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
}

.article-body li::marker {
  color: var(--primary-turquoise);
}

.article-body .article-intro {
  margin-bottom: 28px;
  padding: 6px 0 6px 20px;
  border-left: 3px solid var(--primary-turquoise);
  color: var(--text-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

.article-body strong {
  color: var(--text-heading);
  font-weight: 700;
}

.article-body h2,
.article-body h3 {
  scroll-margin-top: 120px;
}

.article-body h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.article-steps li {
  position: relative;
  padding-left: 34px;
  counter-increment: step;
}

.article-steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  color: var(--primary-turquoise);
  font-weight: 800;
}

.article-table-wrap {
  margin: 0 0 28px;
  overflow-x: auto;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-md);
  background: var(--bg-island-card);
}

.article-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-dark);
  text-align: left;
}

.article-table thead th {
  background: var(--bg-island-contrast);
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-table tbody th {
  color: var(--text-heading);
  font-weight: 700;
}

.article-table tbody tr:last-child th,
.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-callout {
  margin: 0 0 28px;
  padding: 20px 24px;
  border: 1px solid var(--primary-turquoise-border);
  border-radius: var(--radius-island-md);
  background: var(--primary-turquoise-subtle);
}

.article-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-turquoise);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 0;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-card);
}

.article-body .article-cta h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.article-cta p {
  margin: 0;
  line-height: 1.6;
}

.article-cta .btn-nexa-primary {
  flex-shrink: 0;
}

.article-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}

.article-toc-card {
  padding: 22px 8px 22px 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-card);
}

.article-toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.article-toc-list {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 260px);
  padding-right: 14px;
  overflow-y: auto;
  border-left: 1px solid var(--border-dark);
  scrollbar-width: thin;
  scrollbar-color: var(--border-dark-strong) transparent;
}

.toc-link {
  position: relative;
  margin-left: -1px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.toc-link.toc-h3 {
  padding-left: 28px;
  font-size: 0.8rem;
}

.toc-link:hover,
.toc-link.active {
  color: var(--primary-turquoise);
}

.toc-link.active {
  border-left-color: var(--primary-turquoise);
  font-weight: 600;
}

.blog-grid--related .blog-card-content {
  padding: 22px;
}

/* --------------------------------------------------------------------------
   17. INTERACTIVE PROJECT ESTIMATOR
   -------------------------------------------------------------------------- */
.island-estimator {
  color: var(--text-primary);
}

.estimator-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.estimator-intro {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 6px;
  max-width: 520px;
}

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.estimator-builder,
.estimator-summary {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-card);
}

.estimator-builder {
  padding: 34px;
}

.estimator-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 34px;
  min-width: 0;
}

.estimator-fieldset:last-child {
  margin-bottom: 0;
}

.estimator-fieldset legend {
  float: none;
  width: auto;
  margin: 0 0 14px;
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pricing-choice-grid,
.addon-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pricing-choice,
.addon-choice {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-sm);
  background: var(--bg-island-elevated);
  color: var(--text-primary);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s var(--ease-out-smooth);
}

.pricing-choice:hover,
.addon-choice:hover {
  transform: translateY(-2px);
  border-color: var(--primary-turquoise-border);
}

.pricing-choice:has(input:focus-visible),
.addon-choice:has(input:focus-visible) {
  outline: 2px solid var(--primary-turquoise);
  outline-offset: 3px;
}

.pricing-choice:has(input:checked),
.addon-choice:has(input:checked) {
  color: #0a1a1d;
  border-color: var(--primary-turquoise);
  background: var(--primary-turquoise);
}

[data-theme="light"] .pricing-choice:has(input:checked),
[data-theme="light"] .addon-choice:has(input:checked) {
  color: #ffffff;
}

.pricing-choice input,
.addon-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pricing-choice span,
.addon-choice span {
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-choice strong,
.addon-choice strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.estimator-range-fieldset {
  padding: 4px 2px 0;
}

.estimator-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.estimator-legend-row legend {
  margin-bottom: 0;
}

.range-output {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.nexa-range {
  --range-progress: 13.8%;
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: var(--radius-pill);
  outline: none;
  background: linear-gradient(
    to right,
    var(--primary-turquoise) 0 var(--range-progress),
    var(--border-dark-strong) var(--range-progress) 100%
  );
  cursor: pointer;
}

.nexa-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 4px solid var(--bg-island-card);
  border-radius: 50%;
  background: var(--primary-turquoise);
  box-shadow: 0 0 0 1px var(--primary-turquoise-border);
}

.nexa-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 4px solid var(--bg-island-card);
  border-radius: 50%;
  background: var(--primary-turquoise);
  box-shadow: 0 0 0 1px var(--primary-turquoise-border);
}

.nexa-range:focus-visible {
  outline: 2px solid var(--primary-turquoise);
  outline-offset: 7px;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.estimator-summary {
  position: sticky;
  top: 110px;
  padding: 34px;
  box-shadow: var(--shadow-floating);
}

.summary-kicker {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.summary-price-row {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 8px;
}

.summary-price {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.summary-price-row > span {
  color: var(--primary-turquoise);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-bottom: 5px;
}

.summary-note {
  color: var(--text-subtle);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.summary-delivery {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-sm);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.summary-delivery svg {
  color: var(--primary-turquoise);
}

.summary-delivery strong {
  color: var(--text-heading);
  font-size: 0.82rem;
  white-space: nowrap;
}

.summary-scope {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 26px 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.summary-scope > div {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.scope-check {
  color: var(--primary-turquoise);
  font-weight: 800;
}

.estimator-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-island-sm);
  background: var(--primary-turquoise);
  color: #0a1a1d;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 0.25s var(--ease-out-smooth),
    background-color 0.25s ease;
}

[data-theme="light"] .estimator-cta {
  color: #ffffff;
}

.estimator-cta:hover {
  color: #0a1a1d;
  background: var(--primary-turquoise-hover);
  transform: translateY(-2px);
}

[data-theme="light"] .estimator-cta:hover {
  color: #ffffff;
}

.estimator-summary > small {
  display: block;
  margin-top: 12px;
  color: var(--text-subtle);
  font-size: 0.68rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   17. ARCHITECTURAL FOOTER
   -------------------------------------------------------------------------- */
.nexa-footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  margin: 0 0 40px;
  padding: 72px 56px 40px;
  background-color: var(--bg-island-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-xl);
  overflow: hidden;
  box-shadow: var(--shadow-island-dark);
}

.footer-top-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: auto;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.footer-brand-title span {
  color: var(--primary-turquoise);
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-turquoise);
  padding-left: 4px;
}

.footer-watermark-row {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding: 0 3% 72px;
  border: 0;
}

.footer-watermark-text {
  font-family: var(--font-display);
  width: min(100%, 1000px);
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  opacity: 0.045;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  text-align: center;
}

.footer-bottom-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-right a:hover {
  color: var(--primary-turquoise);
}

/* --------------------------------------------------------------------------
   17. INTERACTIVE FORMS & FILTERS
   -------------------------------------------------------------------------- */
.filter-tabs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab-btn:hover {
  color: var(--text-heading);
  border-color: var(--primary-turquoise-border);
}

.filter-tab-btn.active {
  background-color: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  font-weight: 700;
}

/* Contact Form Input Styles */
.nexa-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.nexa-form-full {
  grid-column: 1 / -1;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label-editorial {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-turquoise);
}

.form-input-editorial,
.form-textarea-editorial,
.form-select-editorial {
  width: 100%;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-sm);
  padding: 16px 20px;
  color: var(--text-light-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.form-input-editorial:focus,
.form-textarea-editorial:focus,
.form-select-editorial:focus {
  border-color: var(--primary-turquoise);
  box-shadow: 0 0 0 3px rgba(90,171,187, 0.15);
}

/* Form Validation States */
.form-input-editorial.is-invalid,
.form-textarea-editorial.is-invalid,
.form-select-editorial.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

.form-input-editorial.is-valid,
.form-textarea-editorial.is-valid {
  border-color: rgba(90,171,187, 0.7);
}

.field-feedback {
  display: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ef4444;
  margin-top: 6px;
  line-height: 1.4;
  animation: feedbackFadeIn 0.25s ease-out;
}

.field-feedback.is-visible {
  display: block;
}

.char-count {
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.char-count.near-limit {
  color: #f59e0b !important;
  font-weight: 600;
}

.char-count.at-limit {
  color: #ef4444 !important;
  font-weight: 700;
}

@keyframes feedbackFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-textarea-editorial {
  min-height: 140px;
  resize: vertical;
}

.budget-chip-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.budget-chip-option {
  position: relative;
}

.budget-chip-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.budget-chip-label {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.budget-chip-option input:checked + .budget-chip-label {
  background-color: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  font-weight: 700;
}

/* Feedback toast */
.form-feedback-toast {
  display: none;
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: var(--radius-island-sm);
  background: var(--primary-turquoise-subtle);
  border: 1px solid var(--primary-turquoise);
  color: var(--text-heading);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: feedbackFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-feedback-toast.toast-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: var(--text-heading);
}

.form-feedback-toast.toast-success {
  background: rgba(90,171,187, 0.12);
  border-color: var(--primary-turquoise);
  color: var(--text-heading);
}

/* ==========================================================================
   18. THEME SAFETY & CARD OVERRIDES (Guaranteed contrast in both themes)
   ========================================================================== */

/* Universal Nexa Card Component */
.nexa-card {
  background-color: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-md);
  color: var(--text-primary);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nexa-card:hover {
  border-color: var(--primary-turquoise-border);
  transform: translateY(-2px);
}

.nexa-card .card-title {
  color: var(--text-heading);
}

.nexa-card p {
  color: var(--text-muted);
}

/* Overriding Bootstrap utilities so they don't break theme contrast */
.text-info {
  color: var(--primary-turquoise) !important;
}

.text-light {
  color: var(--text-heading) !important;
}

.text-dark {
  color: var(--text-heading) !important;
}

.text-secondary,
.text-muted {
  color: var(--text-muted) !important;
}

.bg-dark {
  background-color: var(--bg-island-dark) !important;
}

.bg-white {
  background-color: var(--bg-island-card) !important;
}

.border-dark {
  border-color: var(--border-dark) !important;
}

.border-secondary {
  border-color: var(--border-dark) !important;
}

/* Accordion in both Light & Dark modes */
.accordion-button {
  color: var(--text-heading) !important;
  background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-turquoise) !important;
  background-color: var(--primary-turquoise-subtle) !important;
}

.accordion-button::after {
  filter: invert(1);
}

[data-theme="light"] .accordion-button::after {
  filter: none;
}

.accordion-item {
  border-color: var(--border-dark) !important;
}

.accordion-body {
  color: var(--text-muted) !important;
}

/* Form controls styling */
.form-select-editorial option {
  background-color: var(--bg-island-dark);
  color: var(--text-heading);
}

/* Light Mode specific surface refinements */
[data-theme="light"] body {
  background-color: var(--bg-global);
  color: var(--text-primary);
}

[data-theme="light"] .island--dark,
[data-theme="light"] .island--elevated,
[data-theme="light"] .island-hero,
[data-theme="light"] .island-services,
[data-theme="light"] .island-projects,
[data-theme="light"] .island-numbers,
[data-theme="light"] .island-process,
[data-theme="light"] .island-tech,
[data-theme="light"] .island-cta,
[data-theme="light"] .island-about-hero,
[data-theme="light"] .island-studio-visual,
[data-theme="light"] .nexa-footer {
  background-color: var(--bg-island-dark);
  border-color: var(--border-dark);
}

[data-theme="light"] .project-feature-card,
[data-theme="light"] .horizontal-slide-card,
[data-theme="light"] .tech-item-card,
[data-theme="light"] .number-editorial-card,
[data-theme="light"] .nexa-card {
  background-color: var(--bg-island-card);
  border-color: var(--border-dark);
}

[data-theme="light"] .about-floating-quote {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border-dark);
}

[data-theme="light"] .about-floating-quote p {
  color: var(--text-heading);
}

[data-theme="light"] .form-input-editorial,
[data-theme="light"] .form-textarea-editorial,
[data-theme="light"] .form-select-editorial {
  background: #ffffff;
  border-color: var(--border-dark-strong);
  color: var(--text-heading);
}

[data-theme="light"] .form-select-editorial option {
  background-color: #ffffff;
  color: var(--text-heading);
}

[data-theme="light"] .budget-chip-label {
  background: #ffffff;
  border-color: var(--border-dark);
  color: var(--text-muted);
}

[data-theme="light"] .filter-tab-btn {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-muted);
}

[data-theme="light"] .filter-tab-btn.active {
  background-color: var(--primary-turquoise-subtle) !important;
  color: var(--primary-turquoise) !important;
  border-color: var(--primary-turquoise) !important;
}

[data-theme="light"] .service-row-item:hover .service-name {
  color: var(--primary-turquoise);
}

[data-theme="light"] .service-arrow {
  color: var(--text-muted);
  border-color: var(--border-dark);
}

[data-theme="light"] .service-row-item:hover .service-arrow {
  background-color: var(--primary-turquoise-subtle);
  color: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
}

/* WhatsApp asistanı (içerik: Sayfa İçerikleri > Ortak Alanlar > WhatsApp Asistanı) */
.wa-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--primary-turquoise);
  color: #fff;
  box-shadow: 0 10px 28px var(--primary-turquoise-glow), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary-turquoise);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

.wa-launcher:hover {
  transform: translateY(-3px) scale(1.05);
}

.wa-launcher .bi {
  font-size: 1.6rem;
  line-height: 1;
}

.wa-launcher__close {
  display: none;
}

.wa-launcher .wa-launcher__close {
  font-size: 1.3rem;
}

.wa-panel__avatar .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.wa-panel__close .bi {
  font-size: 0.8rem;
  line-height: 1;
}

.wa-assistant.is-open .wa-launcher__icon {
  display: none;
}

.wa-assistant.is-open .wa-launcher .wa-launcher__close {
  display: block;
}

.wa-assistant.is-open .wa-launcher::after {
  animation: none;
  opacity: 0;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-panel {
  width: 370px;
  max-width: calc(100vw - 28px);
  max-height: min(600px, calc(100vh - 150px));
  max-height: min(600px, calc(100dvh - 150px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark-highlight, var(--border-dark));
  border-radius: var(--radius-island-md);
  box-shadow: var(--shadow-floating, 0 24px 60px rgba(0, 0, 0, 0.4));
  color: var(--text-heading);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-panel[hidden] {
  display: none;
}

.wa-assistant.is-open .wa-panel {
  opacity: 1;
  transform: none;
}

.wa-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-dark);
}

.wa-panel__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-turquoise-subtle);
  border: 1px solid var(--primary-turquoise-border);
  color: var(--primary-turquoise);
}

.wa-panel__title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.wa-panel__title strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.wa-panel__title span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary-turquoise);
  margin-top: 3px;
}

.wa-panel__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.wa-panel__close:hover {
  color: var(--text-heading);
  border-color: var(--primary-turquoise-border);
}

.wa-panel__body {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.wa-msg--bot {
  align-self: flex-start;
  background: var(--primary-turquoise-subtle);
  border: 1px solid var(--border-dark);
  border-bottom-left-radius: 4px;
}

.wa-msg--user {
  align-self: flex-end;
  background: var(--primary-turquoise);
  color: #0a1a1d;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.wa-typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px;
}

.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-turquoise);
  opacity: 0.4;
  animation: wa-dot 1s ease-in-out infinite;
}

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

@keyframes wa-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.wa-summary {
  align-self: stretch;
  padding: 12px 14px;
  border: 1px dashed var(--primary-turquoise-border);
  border-radius: 12px;
  font-size: 0.8rem;
}

.wa-summary strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-turquoise);
}

.wa-summary pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  color: var(--text-muted);
}

.wa-panel__actions {
  flex: none;
  padding: 4px 18px 14px;
  max-height: 40%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.wa-panel__body {
  scrollbar-width: thin;
}

.wa-panel__actions:empty {
  display: none;
}

.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-chip {
  padding: 8px 14px;
  border: 1px solid var(--primary-turquoise-border);
  border-radius: var(--radius-pill, 999px);
  background: transparent;
  color: var(--text-heading);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.wa-chip:hover,
.wa-chip:focus-visible {
  background: var(--primary-turquoise);
  color: #0a1a1d;
}

.wa-name {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-name input {
  flex: 1 1 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: transparent;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.wa-name input:focus {
  outline: none;
  border-color: var(--primary-turquoise);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill, 999px);
  background: transparent;
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.wa-btn--primary {
  background: var(--primary-turquoise);
  border-color: var(--primary-turquoise);
  color: #0a1a1d;
}

.wa-btn--primary:hover {
  background: var(--primary-turquoise-hover);
  color: #0a1a1d;
}

.wa-btn--block {
  display: flex;
  width: 100%;
}

.wa-btn--block + .wa-btn--block {
  margin-top: 8px;
}

.wa-panel__foot {
  padding: 12px 18px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  font-size: 0.8rem;
}

.wa-panel__foot a {
  color: var(--primary-turquoise);
  text-decoration: none;
}

.wa-panel__foot a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .wa-assistant {
    right: 14px;
    bottom: 14px;
  }
  .wa-launcher {
    width: 52px;
    height: 52px;
  }
  .wa-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-launcher::after,
  .wa-typing span {
    animation: none;
  }
  .wa-panel {
    transition: none;
  }
}

/* Sayfalama ve filtre sekmeleri artık bağlantı (sunucu taraflı) */
a.filter-tab-btn,
a.pagination-btn {
  text-decoration: none;
}
.pagination-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
span.pagination-btn.active {
  cursor: default;
}
.pagination-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--text-muted);
}
.nexa-pagination {
  flex-wrap: wrap;
}
/* Liste filtresi (blog ve projeler): arama + kategori + sıralama */
.list-filter {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(
      0,
      1fr
    ) auto auto;
  gap: 12px;
  align-items: center;
}
.list-filter .form-input-editorial,
.list-filter .form-select-editorial {
  padding: 13px 18px;
}
.list-filter-submit {
  white-space: nowrap;
}
.list-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  background-color: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.25);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-out-smooth);
}
.list-filter-clear .list-filter-clear-icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--text-subtle);
  transition:
    transform 0.25s var(--ease-out-smooth),
    color 0.25s ease;
}
.list-filter-clear:hover {
  color: var(--primary-turquoise);
  background-color: var(--primary-turquoise-subtle);
  border-color: var(--primary-turquoise-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px var(--primary-turquoise-glow);
}
.list-filter-clear:hover .list-filter-clear-icon {
  color: var(--primary-turquoise);
  transform: rotate(90deg);
}
.list-filter-clear:active {
  transform: translateY(0);
}
.list-filter-clear:focus-visible {
  outline: 2px solid var(--primary-turquoise);
  outline-offset: 3px;
}
/* Açık tema uyumu */
[data-theme="light"] .list-filter-clear {
  background-color: #ffffff;
  border-color: var(--border-dark-strong);
  color: var(--text-muted);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .list-filter-clear .list-filter-clear-icon {
  color: var(--text-subtle);
}
[data-theme="light"] .list-filter-clear:hover {
  background-color: var(--primary-turquoise-subtle);
  border-color: var(--primary-turquoise-border);
  color: var(--primary-turquoise);
  box-shadow: 0 8px 20px -4px rgba(90,170,185, 0.2);
}
[data-theme="light"] .list-filter-clear:hover .list-filter-clear-icon {
  color: var(--primary-turquoise);
}
.list-filter-count {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .list-filter {
    grid-template-columns: 1fr 1fr;
  }
  .list-filter-search {
    grid-column: 1 / -1;
  }
  .list-filter-submit,
  .list-filter-clear {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .list-filter {
    grid-template-columns: 1fr;
  }
  .list-filter-submit,
  .list-filter-clear {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   Özel açılır menü (select) — assets/js/custom-select.js
   ========================================================================== */
.cselect {
  position: relative;
  width: 100%;
}
.cselect-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.cselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-sm);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.cselect-trigger:hover {
  border-color: rgba(90,171,187, 0.55);
}
.cselect-trigger:focus-visible,
.cselect.is-open .cselect-trigger {
  border-color: var(--primary-turquoise);
  box-shadow: 0 0 0 3px rgba(90,171,187, 0.15);
}
.cselect-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cselect.is-placeholder .cselect-value {
  color: var(--text-muted);
}
.cselect-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}
.cselect.is-open .cselect-chevron {
  transform: rotate(180deg);
  color: var(--primary-turquoise);
}

.cselect-list {
  position: fixed;
  z-index: 3000;
  margin: 0;
  padding: 6px;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-island-card);
  border: 1px solid var(--border-dark-strong, var(--border-dark));
  border-radius: 14px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 2px 10px rgba(0, 0, 0, 0.25);
  outline: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0s linear 0.16s;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,171,187, 0.4) transparent;
}
.cselect-list.opens-up {
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom center;
}
.cselect-list.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.cselect-list::-webkit-scrollbar {
  width: 6px;
}
.cselect-list::-webkit-scrollbar-thumb {
  background: rgba(90,171,187, 0.35);
  border-radius: 999px;
}
.cselect-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}
.cselect-option .cselect-check {
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.cselect-option.is-active {
  background: rgba(90,171,187, 0.13);
  color: var(--text-heading);
}
.cselect-option[aria-selected="true"] {
  color: var(--primary-turquoise);
  font-weight: 700;
}
.cselect-option[aria-selected="true"] .cselect-check {
  opacity: 1;
  transform: none;
}
.cselect-option[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}
[data-theme="light"] .cselect-list {
  box-shadow:
    0 24px 60px rgba(15, 30, 28, 0.16),
    0 2px 10px rgba(15, 30, 28, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .cselect-list,
  .cselect-chevron,
  .cselect-option .cselect-check {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Hero: masaüstünde ilk ekrana sığacak şekilde sıkılaştırılmış yükseklik
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .island-inner--hero {
    padding: 56px 56px 28px;
    min-height: calc(100vh - 200px);
    min-height: calc(100svh - 200px);
  }

  .island-inner--hero .display-hero {
    font-size: clamp(2.6rem, min(5.4vw, 9vh), 5rem);
    line-height: 1.02;
  }

  .island-inner--hero .hero-headline-wrap {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .island-inner--hero .body-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-swiper .hero-action-group {
    margin-bottom: 16px;
  }

  .island-inner--hero .hero-bottom-bar {
    padding-top: 20px;
  }

  .island-hero .hero-floating-card {
    top: 11%;
  }

  .island-hero .hero-floating-badge {
    top: calc(11% + 290px);
    bottom: auto;
    right: 10%;
  }

  .island-hero .hero-coord-tag {
    top: 24px;
  }
}

/* Proje detay sayfası */
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-link {
  color: var(--primary-turquoise);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.project-link:hover {
  text-decoration: underline;
}

.project-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-chips li {
  padding: 6px 14px;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-island-card);
}

.project-media-container--detail {
  aspect-ratio: 16 / 10;
  max-width: 1100px;
  margin-inline: auto;
  border-radius: var(--radius-island-lg);
}

.project-visual-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-visual-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--primary-turquoise);
  color: #0a1a1d;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease-out-smooth),
    transform 0.3s var(--ease-out-smooth);
}

.project-visual-link:hover .project-visual-badge,
.project-visual-link:focus-visible .project-visual-badge {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .project-visual-badge {
    opacity: 1;
    transform: none;
  }
}

.project-prose p {
  margin-bottom: 1rem;
}

.project-prose ul,
.project-prose ol {
  padding-left: 1.25rem;
}

/* Tam ekran görüntüleyici */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(4, 9, 11, 0.94);
}

.pg-lightbox[hidden] {
  display: none;
}

.pg-lb-figure {
  margin: 0;
  max-width: 100%;
  text-align: center;
}

.pg-lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
}

.pg-lb-figure figcaption {
  margin-top: 12px;
  color: #cfd8da;
  font-size: 0.95rem;
}

.pg-lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.pg-lb-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.pg-lb-close {
  top: 16px;
  right: 16px;
}

.pg-lb-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.pg-lb-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

body.pg-lock {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .pg-lightbox {
    padding: 56px 12px;
  }
}

/* Proje detayı: kapak alanı, numaralı bölümler, ekran görüntüleri */
.project-hero {
  position: relative;
}

.project-hero__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px) clamp(150px, 18vw, 240px);
  border-radius: var(--radius-island-xl);
  background: var(--ph-bg, var(--bg-island-card));
  color: var(--ph-fg, var(--text-heading));
}

.project-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.project-hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}

.project-hero__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.92;
}

.project-hero__visual {
  position: relative;
  display: block;
  width: min(92%, 1000px);
  margin: calc(-1 * clamp(110px, 14vw, 200px)) auto 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-island-lg);
  background: var(--bg-island-card);
  box-shadow: var(--shadow-floating);
  cursor: zoom-in;
}

.project-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.project-story .island-inner {
  padding-block: clamp(24px, 4vw, 48px);
}

.project-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(24px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-section--showcase {
  grid-template-columns: minmax(0, 1fr);
}

.project-section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.project-section__no {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: #0b1210;
}

.project-section__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0b1210;
}

.project-section__body > .eyebrow-tag {
  margin-bottom: 14px;
}

@media (max-width: 991.98px) {
  .project-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.project-fonts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.project-font {
  display: grid;
  flex: 1 1 200px;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #f4f7f7;
}

.project-font__aa {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #0b1210;
  opacity: 0.16;
}

.project-font strong {
  font-size: 1.25rem;
  color: #0b1210;
}

.project-font span:last-child {
  font-size: 0.82rem;
  color: #55646a;
}

.project-palette {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.project-fonts + .project-palette {
  margin-top: 28px;
}

.project-swatch {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: #fff;
}

.project-swatch__chip {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.project-swatch__info {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #55646a;
}

.project-swatch__hex {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #0b1210;
}

.project-showcase {
  display: grid;
  gap: 24px;
}

.ps-item {
  margin: 0;
}

.ps-item button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  background: #f3f5f5;
  cursor: zoom-in;
}

.ps-item img {
  display: block;
  width: 100%;
  height: auto;
}

.ps-item figcaption {
  margin-top: 8px;
  color: #55646a;
  font-size: 0.88rem;
  text-align: center;
}

.ps-row {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-inline: auto;
}

.ps-row--1 {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 340px);
}

.ps-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 700px);
}

.ps-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 575.98px) {
  .ps-row {
    gap: 12px;
  }
}
