/* ==========================================================================
   GOIN MEDYA — Design System
   Style: Modern Dark Cinematic  ·  Variance 7 · Motion 8 · Density 4
   Fonts: Inter (UI/Display) · Playfair Display Italic (pull-quote) · JetBrains Mono (labels)
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand — derived from the Goin Medya logo gradient */
  --red:          #E11B22;
  --red-bright:   #FF3B41;   /* AA-safe red for small text on dark */
  --red-deep:     #7C0A12;
  --red-ink:      #4A050B;
  --grad-brand:   linear-gradient(135deg, #FF2A31 0%, #E11B22 42%, #7C0A12 100%);
  --grad-brand-r: linear-gradient(135deg, #7C0A12 0%, #E11B22 58%, #FF2A31 100%);

  /* Surfaces */
  --bg:         #08080A;
  --bg-elev:    #0D0D10;
  --surface:    #121216;
  --surface-2:  #1A1A20;
  --surface-3:  #23232B;

  /* Ink */
  --fg:         #F4F4F6;
  --fg-muted:   #A3A3AF;
  --fg-dim:     #868696;   /* AA: 5.2:1 (surface) */

  /* Lines */
  --line:        rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.18);
  --line-field:  #62626C;   /* 3.1:1 — form alanı sınırı */

  /* Feedback */
  --ok:      #22C55E;
  --warn:    #F59E0B;
  --danger:  #EF4444;
  --ring:    var(--red-bright);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-quote: "Playfair Display", Georgia, "Times New Roman", serif;

  --fs-hero:    clamp(2.75rem, 7.6vw, 6.75rem);
  --fs-h1:      clamp(2.25rem, 5.6vw, 4.5rem);
  --fs-h2:      clamp(1.85rem, 4.2vw, 3.5rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4:      clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-lead:    clamp(1.0625rem, 1.5vw, 1.3125rem);
  --fs-body:    1.0625rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .8125rem;
  --fs-label:   .75rem;

  /* Space — density 4/10 (standard) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Shape */
  --r-xs: 4px; --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 10px 30px -12px rgba(0,0,0,.7);
  --shadow-3: 0 30px 70px -20px rgba(0,0,0,.85);
  --glow-red: 0 12px 44px -12px rgba(225,27,34,.55);

  /* Motion */
  --ease-out:   cubic-bezier(.16,1,.3,1);       /* expo.out */
  --ease-inout: cubic-bezier(.76,0,.24,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast: .18s;  --t: .3s;  --t-slow: .6s;

  --container: 1320px;
  --nav-h: 132px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: var(--r-pill); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34343f; }

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -180%);
  z-index: 2000; background: var(--red); color: #fff; padding: 12px 20px;
  border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm);
  transition: transform var(--t) var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container--narrow { max-width: 920px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--line { border-top: 1px solid var(--line); }
.section--elev { background: var(--bg-elev); }
.grid { display: grid; gap: var(--space-5); }
.stack > * + * { margin-top: var(--space-4); }
.flow-lg > * + * { margin-top: var(--space-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* ---------- 4. TYPE HELPERS ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(225,27,34,.18);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.display { font-size: var(--fs-hero); letter-spacing: -.045em; line-height: .95; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); letter-spacing: -.038em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.h4 { font-size: var(--fs-h4); letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-muted); max-width: 62ch; }
.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; }
.accent { color: var(--red-bright); }
.grad-text {
  background: linear-gradient(120deg, #FF6B70 0%, #E11B22 55%, #8E0F16 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-strong);
  paint-order: stroke fill;
}
.quote { font-family: var(--font-quote); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.sec-head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--split { max-width: none; grid-template-columns: minmax(0,1fr); align-items: end; gap: var(--space-5); }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .sec-head--split .sec-head__aside { justify-self: end; text-align: right; }
}
.sec-index { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-dim); letter-spacing: .18em; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--fg);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform var(--t) var(--ease-out), border-color var(--t), background-color var(--t), color var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { flex: none; width: 18px; height: 18px; }

.btn--primary { --btn-fg: #fff; background: var(--grad-brand); border-color: transparent; box-shadow: var(--glow-red); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--grad-brand-r); transition: opacity var(--t) var(--ease-out);
}
.btn--primary:hover { box-shadow: 0 18px 54px -12px rgba(225,27,34,.7); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.05); }
.btn--light { background: var(--fg); color: #0A0A0C; border-color: transparent; }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { min-height: 60px; padding: 18px 34px; font-size: var(--fs-body); }
.btn--block { display: flex; width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: var(--fs-sm); color: var(--fg);
  padding: 6px 0; min-height: 44px;
  transition: color var(--t) var(--ease-out), gap var(--t) var(--ease-out);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.arrow-link:hover { color: var(--red-bright); gap: 14px; }
.arrow-link:hover svg { transform: translateX(3px); }

/* Oynat halkası — tek kullanıcısı, videosu olmayan bir projeye tıklandığında
   açılan kutunun yer tutucusu (footer.php). Tıklanabilir değil, hover yok. */
.play-btn__ring {
  position: relative; flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.play-btn__ring svg { width: 15px; height: 15px; margin-left: 3px; fill: var(--fg); }
.play-btn__ring::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(225,27,34,.6);
  animation: pulse-ring 2.8s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .85; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted);
}
.tag--red { border-color: rgba(225,27,34,.4); color: var(--red-bright); background: rgba(225,27,34,.08); }

/* ---------- 6. GRAIN + AMBIENT ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(100px); opacity: .32; z-index: 0; }
.glow--red { background: radial-gradient(circle, rgba(225,27,34,.55) 0%, rgba(225,27,34,0) 70%); }
.glow--deep { background: radial-gradient(circle, rgba(124,10,18,.65) 0%, rgba(124,10,18,0) 70%); }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1200;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- 7. HEADER / NAV ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background-color var(--t) var(--ease-out), border-color var(--t), height var(--t) var(--ease-out), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  height: 90px;
  background: rgba(8,8,10,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 108px; width: auto; transition: height var(--t) var(--ease-out); }
.site-header.is-stuck .brand img { height: 78px; }

.nav { display: none; margin-inline: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 44px;
  padding: 0 14px; font-size: var(--fs-sm); font-weight: 500; color: var(--fg-muted);
  border-radius: var(--r-sm);
  transition: color var(--t) var(--ease-out), background-color var(--t);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--t) var(--ease-out);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--fg); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.header-actions .btn { display: none; }

.nav-toggle {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  transition: background-color var(--t), border-color var(--t);
}
.nav-toggle:hover { background: rgba(255,255,255,.07); border-color: var(--line-strong); }
.nav-toggle span {
  display: block; position: absolute; left: 13px; width: 20px; height: 1.5px;
  background: var(--fg); border-radius: 2px;
  transition: transform var(--t) var(--ease-out), opacity var(--t-fast) linear;
}
.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 700px) {
  :root { --nav-h: 124px; }
  .brand img { height: 106px; }
  .site-header.is-stuck { height: 96px; }
  .site-header.is-stuck .brand img { height: 78px; }
  .footer-brand img { height: 136px; }
}

@media (min-width: 1040px) {
  .nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1090;
  background: var(--bg-elev);
  display: grid; grid-template-rows: var(--nav-h) 1fr auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t) var(--ease-out), visibility var(--t);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav__body { overflow-y: auto; padding: var(--space-6) clamp(20px,5vw,48px) var(--space-7); }
.mobile-nav__list { display: grid; }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.5rem, 6vw, 2.25rem); font-weight: 800; letter-spacing: -.035em;
  color: var(--fg);
  transition: color var(--t) var(--ease-out), padding-left var(--t) var(--ease-out);
}
.mobile-nav__list a span { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--fg-dim); letter-spacing: .18em; font-weight: 400; }
.mobile-nav__list a:hover, .mobile-nav__list a[aria-current="page"] { color: var(--red-bright); padding-left: 10px; }
.mobile-nav__foot {
  padding: var(--space-6) clamp(20px,5vw,48px) calc(var(--space-7) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); display: grid; gap: var(--space-4);
}
body.is-locked { overflow: hidden; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(52% 52% at 80% 22%, rgba(225,27,34,.26) 0%, rgba(225,27,34,0) 60%),
    radial-gradient(46% 46% at 14% 78%, rgba(124,10,18,.34) 0%, rgba(124,10,18,0) 64%),
    linear-gradient(145deg, #100609 0%, #09090C 46%, #0B0406 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.72) 36%, rgba(8,8,10,.34) 62%, rgba(8,8,10,.08) 86%, rgba(8,8,10,.28) 100%),
    linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,.04) 26%, rgba(8,8,10,.72) 88%, var(--bg) 100%);
}
.hero__media {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;
  filter: contrast(1.04) saturate(1.03);
}
/* Arka plan videosu: hazır olana kadar altındaki görsel görünür, sonra üstüne
   yumuşak geçer. Otomatik oynatma engellenirse (iOS güç tasarrufu vb.) sınıf
   hiç eklenmez ve görsel kalır.
   brightness(): video, yerini aldığı fotoğraftan aydınlık; başlık kontrastını
   korumak için karartılır. Dar ekranda kadraj ortadan kırpıldığı ve metin
   karenin daha büyük bir kısmını örttüğü için biraz daha koyu. */
.hero__video {
  opacity: 0; transition: opacity .8s ease;
  filter: contrast(1.04) saturate(1.03) brightness(.72);
}
.hero__video.is-playing { opacity: 1; }
@media (max-width: 767px) { .hero__video { filter: contrast(1.04) saturate(1.03) brightness(.68); } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

.hero__scanlines {
  position: absolute; inset: 0; z-index: 3; opacity: .18; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__title { margin-block: var(--space-5) var(--space-5); max-width: 15ch; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__lead { max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-7); }

.hero__meta {
  position: relative; z-index: 2; margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0,1fr));
  padding-top: var(--space-5); border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .hero__meta { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.hero__meta dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.hero__meta dd { margin: 6px 0 0; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  display: none; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg-dim);
}
@media (min-width: 1040px) { .scroll-cue { display: inline-flex; } }
.scroll-cue__line { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, var(--line-strong), transparent); overflow: hidden; position: relative; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--red);
  animation: cue 2.2s var(--ease-inout) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ---------- 9. MARQUEE ---------- */
.marquee {
  position: relative; overflow: hidden; padding-block: var(--space-5);
  border-block: 1px solid var(--line); background: var(--bg-elev);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(20px, 4vw, 44px);
  padding-inline: clamp(20px, 4vw, 44px);
  font-size: clamp(1.1rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.03em;
  color: var(--fg-muted); white-space: nowrap;
  transition: color var(--t) var(--ease-out);
}
a.marquee__item:hover, a.marquee__item:focus-visible { color: var(--fg); }
a.marquee__item:hover::after { background: var(--fg); }
.marquee__item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. STATS ---------- */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: var(--space-6) var(--space-5); display: grid; gap: 6px; align-content: start; }
.stat__num { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat__num sup { font-size: .45em; vertical-align: super; color: var(--red-bright); margin-left: 2px; }
.stat__label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }

/* ---------- 11. SERVICE CARDS (bento) ---------- */
.bento { display: grid; gap: var(--space-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 700px)  { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.bento__wide { grid-column: span 1; }
@media (min-width: 700px)  { .bento__wide { grid-column: span 2; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; isolation: isolate;
  transition: transform var(--t) var(--ease-out), border-color var(--t), background-color var(--t);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(80% 110% at 15% 0%, rgba(225,27,34,.18) 0%, rgba(225,27,34,0) 70%);
  transition: opacity var(--t-slow) var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: rgba(225,27,34,.42); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: var(--r); border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease-spring);
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--fg); fill: none; stroke-width: 1.5; }
.card:hover .card__icon { border-color: rgba(225,27,34,.5); transform: translateY(-2px) rotate(-4deg); }
.card:hover .card__icon svg { stroke: var(--red-bright); }
.card__title { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; }
.card__text { font-size: var(--fs-sm); color: var(--fg-muted); }
.card__list { display: grid; gap: 8px; margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.card__list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--fg-dim); }
.card__list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); flex: none; }
.card__num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--fg-dim); letter-spacing: .16em;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- 11b. HİZMET KARTLARI ---------- */
.svc-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.svc-card {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); isolation: isolate;
  transition: transform var(--t) var(--ease-out), border-color var(--t), background-color var(--t);
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(225,27,34,.42); background: var(--surface-2); }
.svc-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.svc-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.svc-card:hover .svc-card__media img { transform: scale(1.045); }
.svc-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.05) 0%, rgba(8,8,10,.45) 100%);
}
.svc-card__num {
  position: absolute; z-index: 2; top: 16px; left: 18px;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.svc-card__body { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 10px; align-content: start; }
.svc-card__title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.025em; }
.svc-card__text { font-size: var(--fs-sm); color: var(--fg-muted); }
.svc-card__go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--red-bright);
  transition: gap var(--t) var(--ease-out);
}
.svc-card__go svg { width: 15px; height: 15px; }
.svc-card:hover .svc-card__go { gap: 14px; }

@media (min-width: 860px) {
  .svc-card--wide { grid-column: span 2; grid-template-columns: 1.15fr 1fr; grid-template-rows: none; }
  .svc-card--wide .svc-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .svc-card--wide .svc-card__body { align-content: center; padding: clamp(28px, 3.4vw, 48px); }
  .svc-card--wide .svc-card__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
}

/* Görseli olduğu gibi göster — renk müdahalesi yok */
.img--raw { filter: none !important; }

/* ---------- 11c. KAPSAM LİSTESİ ---------- */
.spec { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px)  { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .spec { grid-template-columns: repeat(3, 1fr); } }
.spec__item { background: var(--bg); padding: var(--space-5) var(--space-5); display: flex; gap: 14px; align-items: flex-start; }
.spec__item svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--red-bright); stroke-width: 2; fill: none; }
.spec__item span { font-size: var(--fs-sm); color: var(--fg); }

/* ---------- 11d. HİZMET GEZİNME (önceki / sonraki) ---------- */
.pager { display: grid; gap: var(--space-4); grid-template-columns: minmax(0,1fr); }
@media (min-width: 760px) { .pager { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.pager__link {
  position: relative; display: grid; gap: 8px; padding: clamp(22px,2.6vw,30px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: transform var(--t) var(--ease-out), border-color var(--t), background-color var(--t);
}
.pager__link:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.pager__dir { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.pager__name { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; }
.pager__link--next { text-align: right; }

/* ---------- 12. WORK / PORTFOLIO ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filter {
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line-field); background: transparent; color: var(--fg-muted);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  transition: color var(--t), border-color var(--t), background-color var(--t), transform var(--t) var(--ease-out);
}
.filter:hover { color: var(--fg); border-color: var(--line-strong); transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--fg); color: #0A0A0C; border-color: transparent; }

.work-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 700px)  { .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .work-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (min-width: 1080px) {
  .work-item { grid-column: span 2; }
  .work-item--lg { grid-column: span 3; }
  .work-item--xl { grid-column: span 4; }
  .work-item--full { grid-column: span 6; }
}
.work-item {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color var(--t), transform var(--t) var(--ease-out);
}
.work-item:hover { border-color: var(--line-strong); }
.work-item.is-hidden { display: none; }
.work-item__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; flex: 1 1 auto; }
.work-item--lg .work-item__media, .work-item--xl .work-item__media { aspect-ratio: 16 / 10; }
.work-item--full .work-item__media { aspect-ratio: 16 / 9; }
@media (min-width: 1080px) { .work-item--full .work-item__media { aspect-ratio: 24 / 9; } }
.work-item--tall .work-item__media { aspect-ratio: 3 / 4; }
.work-item__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.86);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease-out);
}
.work-item:hover .work-item__img,
.figure:hover .work-item__img { transform: scale(1.05); filter: saturate(1) contrast(1.04) brightness(.98); }
.work-item__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8,8,10,.05) 0%, rgba(8,8,10,.55) 62%, rgba(8,8,10,.92) 100%);
}
.work-item__body { position: absolute; inset: auto 0 0 0; z-index: 3; padding: clamp(20px,2.5vw,28px); display: grid; gap: 8px; }
.work-item__cat { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); }
.work-item__title { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; }
.work-item__meta { display: flex; gap: 14px; font-size: var(--fs-xs); color: var(--fg-muted); }
.work-item__go {
  position: absolute; z-index: 4; top: 18px; right: 18px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(8,8,10,.5); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-6px) scale(.9);
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-spring), background-color var(--t);
}
.work-item__go svg { width: 16px; height: 16px; stroke: var(--fg); stroke-width: 2; fill: none; }
.work-item:hover .work-item__go, .work-item:focus-within .work-item__go { opacity: 1; transform: translateY(0) scale(1); }
.work-item:hover .work-item__go { background: var(--red); border-color: transparent; }

/* Poster fallbacks (no photography yet) */
.poster { position: absolute; inset: 0; }
.poster::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .16; mix-blend-mode: overlay;
}
.poster--1 { background: linear-gradient(140deg, #2A0A10 0%, #7C0A12 48%, #14060A 100%); }
.poster--2 { background: linear-gradient(140deg, #0E1220 0%, #24304A 50%, #08080A 100%); }
.poster--3 { background: linear-gradient(140deg, #1A0F06 0%, #6B3410 52%, #0B0906 100%); }
.poster--4 { background: linear-gradient(140deg, #0A1614 0%, #123833 50%, #07100F 100%); }
.poster--5 { background: linear-gradient(140deg, #16101F 0%, #3A2359 50%, #0A0810 100%); }
.poster--6 { background: linear-gradient(140deg, #1C1C1F 0%, #45454C 50%, #0A0A0C 100%); }
.poster__frame {
  position: absolute; inset: 0; z-index: 1; opacity: .45;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.09) 0 10px, transparent 10px 26px);
  width: 22px; left: 0;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

/* Video rozeti — oynatılabilir projeler */
.work-item__play {
  position: absolute; z-index: 4; left: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: var(--r-pill);
  background: rgba(8,8,10,.55); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  transition: background-color var(--t), border-color var(--t), transform var(--t) var(--ease-out);
}
.work-item__play svg { width: 13px; height: 13px; fill: #fff; }
.work-item:hover .work-item__play { background: var(--red); border-color: transparent; transform: translateY(-2px); }

/* Kart tıklama alanı buton olduğunda */
button.card-link {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
button.card-link:focus-visible { outline: 2px solid var(--ring); outline-offset: -4px; border-radius: var(--r-lg); }

/* ---------- 13. PROCESS ---------- */
.process { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative; display: grid; gap: var(--space-4);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  transition: background-color var(--t) var(--ease-out);
}
@media (min-width: 900px) {
  .step { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-6); align-items: start; }
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .2em;
  color: var(--fg-dim); transition: color var(--t);
}
.step__title { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.step__text { color: var(--fg-muted); font-size: var(--fs-sm); max-width: 58ch; }
.step:hover .step__num { color: var(--red-bright); }
.step__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad-brand); transition: width var(--t-slow) var(--ease-out); }
.step:hover .step__bar { width: 100%; }

/* ---------- 14. TESTIMONIALS ---------- */
.tst { position: relative; }
.tst__viewport { overflow: hidden; }
.tst__track { display: flex; transition: transform .65s var(--ease-out); }
.tst__slide { flex: 0 0 100%; padding-right: 2px; }
.tst__card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: clamp(28px, 4vw, 56px); display: grid; gap: var(--space-6);
}
.tst__quote { font-family: var(--font-quote); font-style: italic; font-size: clamp(1.3rem, 3vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em; }
.tst__foot { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.tst__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem;
}
.tst__name { font-weight: 700; letter-spacing: -.015em; }
.tst__role { font-size: var(--fs-xs); color: var(--fg-dim); }
.tst__nav { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.tst__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  transition: background-color var(--t), border-color var(--t), transform var(--t) var(--ease-out);
}
.tst__btn svg { width: 18px; height: 18px; stroke: var(--fg); stroke-width: 1.8; fill: none; }
.tst__btn:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-2px); }
.tst__dots { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.tst__dot { width: 28px; height: 3px; border-radius: 2px; background: var(--surface-3); transition: background-color var(--t); }
.tst__dot[aria-current="true"] { background: var(--red); }

/* ---------- 15a. REFERANS ŞERİDİ (tek sıra, kayan) ---------- */
.ref-marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--bg-elev);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ref-marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ref-marquee:hover .ref-marquee__track,
.ref-marquee:focus-within .ref-marquee__track { animation-play-state: paused; }
.ref-marquee__group { display: flex; align-items: center; flex: none; }
.ref-marquee__item {
  display: grid; place-items: center; flex: none;
  padding: clamp(26px, 3vw, 38px) clamp(26px, 4vw, 56px);
}
.ref-marquee__item img {
  width: auto; height: auto; max-height: 58px; max-width: 180px; opacity: .68;
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.ref-marquee__item:hover img { opacity: 1; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .ref-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .ref-marquee__track { animation: none; }
}

/* ---------- 15. REFERANS DUVARI ---------- */
.ref-wall {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px)  { .ref-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .ref-wall { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .ref-wall { grid-template-columns: repeat(7, 1fr); } }
.ref-wall__cell {
  background: var(--bg); min-height: 168px; display: grid; place-items: center;
  padding: 28px 22px; transition: background-color var(--t);
}
.ref-wall__cell img {
  width: auto; height: auto; max-width: 100%; max-height: 84px; opacity: .72;
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.ref-wall__cell:hover { background: var(--surface); }
.ref-wall__cell:hover img { opacity: 1; transform: scale(1.05); }

/* Referans şeridi — tek sıra, sürekli kayan */
.ref-marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--bg-elev);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ref-marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ref-marquee:hover .ref-marquee__track,
.ref-marquee:focus-within .ref-marquee__track { animation-play-state: paused; }
.ref-marquee__group { display: flex; align-items: center; flex: none; }
.ref-marquee__item {
  display: grid; place-items: center; flex: none;
  width: clamp(150px, 16vw, 210px); height: clamp(96px, 11vw, 132px);
  padding: 0 clamp(14px, 2vw, 26px);
}
.ref-marquee__item img {
  width: auto; height: auto; max-width: 100%; max-height: clamp(46px, 5vw, 64px);
  opacity: .62; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.ref-marquee__item:hover img { opacity: 1; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .ref-marquee__track { animation: none; } }

/* ---------- 15b. CLIENT LOGOS (metin) ---------- */
.logo-wall { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
.logo-wall__cell {
  background: var(--bg); min-height: 108px; display: grid; place-items: center; padding: var(--space-4);
  font-weight: 700; letter-spacing: .02em; color: var(--fg-dim); font-size: var(--fs-sm);
  transition: color var(--t), background-color var(--t);
}
.logo-wall__cell:hover { color: var(--fg); background: var(--surface); }

/* ---------- 16. POSTS ---------- */
.posts { display: grid; gap: var(--space-5); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 700px)  { .posts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.post {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  transition: transform var(--t) var(--ease-out), border-color var(--t);
}
.post:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.86);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease-out);
}
.post:hover .post__img { transform: scale(1.05); filter: saturate(1) contrast(1.04) brightness(.98); }
.post__body { padding: clamp(20px,2.4vw,28px); display: grid; gap: 12px; flex: 1; align-content: start; }
.post__meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); }
.post__meta .accent { color: var(--red-bright); }
.post__title { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.post__excerpt { font-size: var(--fs-sm); color: var(--fg-muted); }

/* ---------- 17. CTA BAND ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid rgba(225,27,34,.28);
  background:
    radial-gradient(90% 140% at 12% 8%, rgba(225,27,34,.30) 0%, rgba(225,27,34,0) 60%),
    linear-gradient(150deg, #150609 0%, #0B0B0E 55%, #100407 100%);
  padding: clamp(36px, 6vw, 88px);
}
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: var(--space-6); max-width: 860px; }
.cta-band__title { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.045em; line-height: 1.02; }

/* ---------- 18. FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-elev); padding-block: clamp(3.5rem, 7vw, 6rem) 0; }
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: minmax(0,1fr); }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand img { height: 176px; width: auto; }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: var(--space-4); }
.footer-col li a, .footer-contact a {
  display: inline-flex; align-items: center; min-height: 40px; font-size: var(--fs-sm); color: var(--fg-muted);
  transition: color var(--t) var(--ease-out);
}
.footer-col li a:hover, .footer-contact a:hover { color: var(--red-bright); }
.footer-contact { display: grid; gap: 4px; }
.newsletter { display: flex; gap: 8px; margin-top: var(--space-4); }
.newsletter input {
  flex: 1; min-width: 0; min-height: 48px; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--line-field); border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: border-color var(--t), background-color var(--t);
}
.newsletter input::placeholder { color: var(--fg-dim); }
.newsletter input:focus { border-color: var(--line-strong); background: var(--surface-2); outline: none; }
.newsletter input:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.socials { display: flex; gap: 8px; margin-top: var(--space-5); }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); color: var(--fg-muted);
  transition: color var(--t), border-color var(--t), background-color var(--t), transform var(--t) var(--ease-out);
}
.socials a svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { color: var(--fg); border-color: var(--line-strong); background: var(--surface); transform: translateY(-2px); }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 5rem); padding-block: var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--fg-dim);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer-bottom a { transition: color var(--t); }
.footer-bottom a:hover { color: var(--fg); }

/* ---------- 19. PAGE HEADER (inner pages) ---------- */
.page-head { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 100% at 15% 0%, rgba(225,27,34,.16) 0%, rgba(8,8,10,0) 62%);
}
.page-head__inner { position: relative; z-index: 2; display: grid; gap: var(--space-5); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); }
.breadcrumb a { transition: color var(--t); }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--surface-3); }

/* ---------- 20. FORMS ---------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: 8px; }
.field > label { font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.01em; }
.field .req { color: var(--red-bright); }
.field__hint { font-size: var(--fs-xs); color: var(--fg-dim); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--line-field); border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--fg);
  transition: border-color var(--t), background-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-dim); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #7E7E8A; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(225,27,34,.55); background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(225,27,34,.14);
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.14); }
.field__error { display: none; align-items: center; gap: 6px; font-size: var(--fs-xs); color: #FF8A8A; }
.field__error svg { width: 14px; height: 14px; flex: none; stroke: currentColor; stroke-width: 2; fill: none; }
.field.has-error .field__error { display: flex; }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 720px) { .form-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-field); background: var(--surface); cursor: pointer;
  font-size: var(--fs-xs); color: var(--fg-muted);
  transition: border-color var(--t), color var(--t), background-color var(--t), transform var(--t) var(--ease-out);
}
.check span:hover { border-color: var(--line-strong); color: var(--fg); transform: translateY(-1px); }
.check input:checked + span { border-color: rgba(225,27,34,.6); background: rgba(225,27,34,.10); color: var(--fg); }
.check input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-xs); color: var(--fg-muted); }
.consent input[type="checkbox"] {
  width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 2px;
  accent-color: var(--red); flex: none; border-radius: var(--r-xs);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-size: var(--fs-sm); }
.form-status.is-visible { display: flex; }
.form-status--ok { background: rgba(34,197,94,.10); border: 1px solid rgba(34,197,94,.35); color: #86EFAC; }
.form-status--err { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.35); color: #FCA5A5; }
.form-status svg { width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: 2; fill: none; margin-top: 2px; }

/* ---------- 21. ACCORDION (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: clamp(20px,2.6vw,28px) 0; text-align: left;
  font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; color: var(--fg);
  transition: color var(--t) var(--ease-out);
}
.acc__btn:hover { color: var(--red-bright); }
.acc__icon { position: relative; flex: none; width: 20px; height: 20px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor;
  transition: transform var(--t) var(--ease-out);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__panel { overflow: hidden; height: 0; transition: height var(--t) var(--ease-out); }
.acc__panel-inner { padding-bottom: clamp(20px,2.6vw,28px); color: var(--fg-muted); font-size: var(--fs-sm); max-width: 78ch; }

/* ---------- 22. LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px); background: rgba(4,4,6,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease-out), visibility var(--t);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__box {
  position: relative; width: auto; max-width: min(1200px, 100%);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background: #000; transform: scale(.96); transition: transform .45s var(--ease-out);
  display: grid; place-items: center;
}
.lightbox.is-open .lightbox__box { transform: scale(1); }
.lightbox__box iframe { width: min(1100px, 90vw); aspect-ratio: 16 / 9; border: 0; display: block; }
.lightbox__box video {
  display: block; width: auto; height: auto;
  max-width: min(1200px, 92vw); max-height: 82svh; background: #000;
}
.lightbox__video[hidden], .lightbox__placeholder[hidden], .lightbox__caption[hidden] { display: none !important; }
.lightbox__placeholder {
  display: grid; gap: 14px; place-items: center; text-align: center; padding: 24px;
  width: min(1100px, 90vw); aspect-ratio: 16 / 9; align-content: center;
}
.lightbox__caption {
  position: absolute; inset: 0 130px auto 0; z-index: 3; padding: 16px 18px 30px;
  background: linear-gradient(180deg, rgba(8,8,10,.85) 0%, rgba(8,8,10,0) 100%);
  font-size: var(--fs-sm); font-weight: 600; color: #fff; pointer-events: none;
  opacity: 0; transition: opacity var(--t);
}
.lightbox.is-open .lightbox__caption { opacity: 1; }
.lightbox__close {
  position: absolute; z-index: 6; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: #fff;
  font-size: var(--fs-xs); background: rgba(8,8,10,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--t), border-color var(--t);
}
.lightbox__close:hover { background: var(--red); border-color: transparent; }
.lightbox__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ---------- 23. MISC ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
  z-index: 1150; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(18,18,22,.85); border: 1px solid var(--line-strong); color: var(--fg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility var(--t), background-color var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); border-color: transparent; }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.divider { height: 1px; background: var(--line); border: 0; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0,1fr); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.split--sticky > *:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 959px) { .split--sticky > *:first-child { position: static; } }

.figure { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); position: relative; }
.figure__media { position: relative; aspect-ratio: 4 / 3; }
.figure figcaption { padding: 14px 18px; font-size: var(--fs-xs); color: var(--fg-dim); border-top: 1px solid var(--line); background: var(--surface); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article body */
.prose { max-width: 74ch; font-size: 1.09375rem; line-height: 1.75; color: #D8D8DF; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-top: 2.2em; color: var(--fg); }
.prose h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-top: 1.9em; color: var(--fg); }
.prose a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #FF6E73; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: li; }
.prose ol li::before { content: counter(li,decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: .78em; color: var(--red-bright); }
.prose blockquote {
  border-left: 2px solid var(--red); padding: 4px 0 4px 24px; margin-block: 2em;
  font-family: var(--font-quote); font-style: italic; font-size: 1.35em; line-height: 1.4; color: var(--fg);
}
.prose figure { margin-block: 2.2em; }
.prose strong { color: var(--fg); font-weight: 700; }

/* ---------- 24. MOTION / REVEAL ---------- */
.motion-ready [data-reveal] { opacity: 0; }
.motion-ready [data-stagger] > * { opacity: 0; }
[data-reveal].is-in { opacity: 1; }
@keyframes filter-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* Hero word mask reveal (CSS-only baseline, JS enhances) */
.motion-ready .hero__title .line > span { transform: translateY(110%); }
.motion-ready .hero__title.is-in .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .motion-ready [data-reveal],
  .motion-ready [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .motion-ready .hero__title .line > span { transform: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- 25. PRINT ---------- */
@media print {
  .site-header, .mobile-nav, .to-top, .grain, .scroll-progress, .marquee, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
