/* ============================================================
   Narlight — site.css
   Design tokens, fonts, base type, scroll-reveal, motion.
   Tailwind CDN handles utility-first layout; this file owns
   anything Tailwind cannot express cleanly.
   ============================================================ */

/* ---------- Variable fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/CabinetGrotesk-Variable.woff2') format('woff2-variations'),
       url('/assets/fonts/CabinetGrotesk-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2-variations'),
       url('/assets/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Tinted neutrals — slight warm cast for premium feel (per polish guidelines) */
  --color-ink: #0B0B0D;
  --color-ink-soft: #18181C;
  --color-paper: #FFFFFF;
  --color-paper-2: #FAFAF9;
  --color-paper-3: #F4F4F1;
  --color-line: #E4E4E0;
  --color-line-strong: #A1A19C;
  --color-mute: #71716D;
  --color-navy: #1A255A;
  --color-navy-deep: #0F1739;
  --color-glow: #FFB347;
  --color-glow-soft: #FFF5D6;

  --font-display: 'Cabinet Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;

  --max-w: 1440px;
  --pad-x: clamp(24px, 4vw, 80px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* ---- Type scale (rationalised, ~1.25-1.5 ratio between steps) ---- */
  --t-eyebrow: 11px;   /* uppercase metadata, eyebrows */
  --t-meta:    13px;   /* dates, captions, footnotes */
  --t-body:    16px;   /* body copy */
  --t-lead:    20px;   /* paragraph leads, sub-headings */
  --t-card:    24px;   /* card titles, list items */
  --t-h4:      28px;   /* small section heading */
  --t-h3:      40px;   /* section headings */
  /* h2/h1 use clamp() in .display-* classes */
}

/* ---------- Reset essentials ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light dark;
  -webkit-tap-highlight-color: rgba(255, 179, 71, 0.18);
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Standard text classes (use these instead of inline font-size where possible) */
.t-eyebrow { font-size: var(--t-eyebrow); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-mute); }
.t-meta    { font-size: var(--t-meta); color: var(--color-mute); }
.t-body    { font-size: var(--t-body); }
.t-lead    { font-size: var(--t-lead); line-height: 1.55; }
.t-card    { font-size: var(--t-card); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; touch-action: manipulation; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a, button, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: rgba(255, 179, 71, 0.16); }

/* ---------- Focus-visible ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-glow);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-cta:focus-visible {
  outline-offset: 4px;
}

/* Long-content / heading-anchor scroll offset */
h1, h2, h3, h4 { scroll-margin-top: 120px; text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Mobile touch-target safety net.
   On small screens, every standalone link / button gets at least 44 px
   of vertical hit area via min-height. Inline links inside body copy are
   excluded so they don't break paragraph flow. */
@media (max-width: 1024px) {
  .form-row label,
  .footer-list a,
  .mega-list a,
  .mega-col-simple a,
  .m-mega-simple a,
  .m-flat-links a,
  .scrolly-step a,
  aside a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  /* Inline links inside hero leads + body paragraphs get an enlarged hit
     area via padding without breaking line-height. */
  .hero-rev a,
  .lede a,
  .hero-v2 .lede a,
  section p a,
  .faq-answer a {
    padding: 10px 4px;
    margin: -10px -4px;
    -webkit-tap-highlight-color: rgba(255, 179, 71, 0.18);
  }
}

/* ---------- Minimal utility classes (replaces Tailwind CDN) ---------- */
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gap-px { gap: 1px; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.relative { position: relative; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-\[260px_1fr\] { grid-template-columns: 260px 1fr; }
  .lg\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }
  .lg\:grid-cols-\[1fr_1\.4fr\] { grid-template-columns: 1fr 1.4fr; }
  .lg\:gap-8 { gap: 2rem; }
}

/* ---------- News cards (homepage editorial section) ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--color-ink);
  padding-top: 24px;
  transition: transform 480ms var(--ease-out);
}
.news-card:hover { transform: translateY(-4px); }
.news-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-ink));
  margin-bottom: 22px;
  position: relative;
  isolation: isolate;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1000ms var(--ease-out);
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}
.news-card-body { display: flex; flex-direction: column; }
.news-card-body .eyebrow { display: block; margin-bottom: 12px; }
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.news-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-mute);
  margin: 0 0 20px;
}
.news-card-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* ---------- Corporate article (magazine-style body) ---------- */
.corp-article p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink-soft);
  margin: 0 0 28px;
  max-width: 64ch;
}
.corp-article p:first-of-type::first-line {
  font-weight: 600;
}
.corp-figure {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-paper-3);
  aspect-ratio: 4 / 3;
  position: relative;
  isolation: isolate;
}
.corp-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.corp-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms var(--ease-out);
}
.corp-figure:hover img { transform: scale(1.04); }
.corp-figure-wide {
  aspect-ratio: 21 / 9;
  margin: 0 0 48px;
}
.corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.corp-grid .corp-figure { margin: 0; aspect-ratio: 1 / 1; }
@media (max-width: 768px) {
  .corp-grid { grid-template-columns: 1fr; }
  .corp-figure-wide { aspect-ratio: 16 / 9; }
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-top: 1px solid var(--color-line);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h4);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-ink);
  transition: color 240ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-navy); }
.faq-item .chev { transition: transform 320ms var(--ease-out); flex: 0 0 auto; color: var(--color-mute); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer {
  padding: 0 8px 28px;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--color-ink-soft);
  max-width: 64ch;
}
.faq-answer a { color: var(--color-navy); border-bottom: 1px solid currentColor; }
.faq-answer a:hover { color: var(--color-glow); }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-glow);
  color: var(--color-ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  z-index: 999;
  transform: translateY(-200%);
  transition: transform 320ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Display typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--color-ink);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.display-1 { font-size: clamp(56px, 9vw, 144px); }
.corporate-h1 { font-size: clamp(40px, 7vw, 96px); max-width: 18ch; }
@media (max-width: 600px) { .corporate-h1 { font-size: clamp(32px, 9vw, 64px); max-width: 100%; } }
.display-2 { font-size: clamp(44px, 6vw, 96px); }
.display-3 { font-size: clamp(32px, 4vw, 64px); }
.display-4 { font-size: clamp(28px, 3vw, 48px); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-mute);
}

.lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-ink-soft);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-tight {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Rounded pill nav (Superpower-inspired) ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 1320px;
  width: calc(100% - 32px);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  color: var(--color-paper);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 56px -24px rgba(0, 0, 0, 0.6);
  transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out);
  position: relative;
}
.nav.is-scrolled .nav-shell {
  background: rgba(10, 10, 10, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 14px 14px 28px;
  height: 72px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 12px 8px;       /* ≥44px touch target on mobile */
  margin: -12px -8px;      /* visually neutral — keeps layout the same */
}
.nav-logo svg { width: 116px; height: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.005em;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-link {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 280ms var(--ease-out), color 280ms var(--ease-out);
  color: rgba(255, 255, 255, 0.78);
}
.nav-link:hover { color: var(--color-paper); background: rgba(255, 255, 255, 0.06); }
.nav-link[aria-expanded="true"] { color: var(--color-paper); background: rgba(255, 255, 255, 0.08); }
.nav-link svg.chev { transition: transform 320ms var(--ease-out); }
.nav-link[aria-expanded="true"] svg.chev { transform: rotate(180deg); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--color-glow);
  color: var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform 320ms var(--ease-out), background-color 320ms var(--ease-out);
}
.nav-cta:hover { background: #FFC368; transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 320ms var(--ease-out); }
.nav-cta:hover .arrow { transform: translateX(4px); }

.nav-login {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  display: none;
}
@media (min-width: 1024px) { .nav-login { display: inline-flex; } }
.nav-login:hover { color: var(--color-paper); }

/* ---------- Mega-menu (Superpower-inspired) ---------- */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 14px;
  right: 14px;
  background: var(--color-paper);
  color: var(--color-ink);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 50px 100px -20px rgba(0, 0, 0, 0.45),
    0 30px 60px -30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.985);
  transform-origin: top center;
  transition: opacity 360ms var(--ease-out), transform 480ms var(--ease-out), visibility 0s linear 360ms;
  pointer-events: none;
  z-index: 60;
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}
.mega-feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--color-paper);
  isolation: isolate;
}
.mega-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: var(--bg);
  z-index: -2;
  transition: transform 1200ms var(--ease-out);
}
.mega-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}
.mega-feature:hover::before { transform: scale(1.05); }
.mega-feature .eyebrow { color: rgba(255,255,255,0.78); margin-bottom: 12px; display: block; }
.mega-feature .mega-feature-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
}

.mega-col .mega-col-title {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin: 0 0 16px;
}
.mega-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega-list a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  transition: background-color 240ms var(--ease-out);
}
.mega-list a:hover { background: var(--color-paper-3); }
.mega-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-paper-3);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.mega-list .label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-ink);
  display: block;
  line-height: 1.25;
}
.mega-list .desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--color-mute);
  display: block;
  margin-top: 3px;
  line-height: 1.4;
}
.mega-col-simple a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-ink);
  transition: color 200ms var(--ease-out);
}
.mega-col-simple a:hover { color: var(--color-glow); }
.mega-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-glow);
  margin-left: 8px;
  border: 1px solid var(--color-glow);
  padding: 2px 6px;
  border-radius: 4px;
}

/* On mobile / tablet, hide the desktop dropdown mega entirely so it does
   not contribute to layout width. Without this, the absolute-positioned
   .mega panels still feed scrollWidth on Samsung Internet and push the
   document past the viewport. */
@media (max-width: 1023px) {
  .mega { display: none !important; }
  .nav-links { display: none !important; }
}

/* Mobile menu trigger */
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-burger { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 60; /* above .nav (50) so it sits over the rounded pill */
  padding: 120px 24px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none; /* fully inert when closed */
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out), visibility 0s linear 480ms;
}
.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto; /* override the .nav { pointer-events: none } inheritance */
  transition-delay: 0s;
}
.mobile-drawer.is-open > * { pointer-events: auto; }
.mobile-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 240ms var(--ease-out);
}
.mobile-drawer-close:hover { background: rgba(255, 255, 255, 0.16); }
.mobile-drawer-inner {
  max-width: 560px;
  margin: 0 auto;
}
.mobile-drawer .small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-top: 32px;
  margin-bottom: 24px;
}

/* Mobile mega — collapsible accordions per top-level section */
.m-mega {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.m-mega:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-mega summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--color-paper);
  transition: color 240ms var(--ease-out);
}
.m-mega summary::-webkit-details-marker { display: none; }
.m-mega summary svg { color: rgba(255, 255, 255, 0.5); transition: transform 320ms var(--ease-out); flex: 0 0 auto; }
.m-mega[open] summary svg { transform: rotate(180deg); color: var(--color-glow); }
.m-mega[open] summary { color: var(--color-glow); }

.m-mega-body {
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: m-mega-fade 360ms var(--ease-out);
}
@keyframes m-mega-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.m-mega-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-paper);
}
.m-mega-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 800ms var(--ease-out);
}
.m-mega-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.78) 100%);
  z-index: -1;
}
.m-mega-feature:active::before { transform: scale(1.04); }
.m-mega-feature .ey {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
}
.m-mega-feature .title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.m-mega-section { display: flex; flex-direction: column; gap: 12px; }
.m-mega-section-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin: 0 0 4px;
}

.m-mega-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-mega-cards a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: 12px;
  transition: background-color 240ms var(--ease-out);
}
.m-mega-cards a:active { background: rgba(255, 255, 255, 0.06); }
.m-mega-cards .thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
}
.m-mega-cards .text { display: flex; flex-direction: column; min-width: 0; }
.m-mega-cards .lbl {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-paper);
  line-height: 1.25;
}
.m-mega-cards .dsc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  margin-top: 3px;
}

.m-mega-simple {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.m-mega-simple a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 240ms var(--ease-out);
}
.m-mega-simple a:active { color: var(--color-glow); }

.m-flat-links {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.m-flat-links li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.m-flat-links li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-flat-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.m-flat-links a svg { color: rgba(255, 255, 255, 0.4); }

.mobile-drawer .info {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.7;
}
.mobile-drawer .info strong { color: var(--color-paper); display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; }

@media (min-width: 1024px) { .mobile-drawer { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: var(--color-ink);
  color: var(--color-paper);
  transition: transform 320ms var(--ease-out), background-color 320ms var(--ease-out);
}
.btn { white-space: nowrap; }
.btn .arrow { transition: transform 320ms var(--ease-out); }
.btn:hover { background: var(--color-navy); }
.btn:hover .arrow { transform: translateX(6px); }
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-line-strong);
  padding: 20px 40px;            /* extra breathing room from text */
}
.btn-ghost:hover { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--color-paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: hero-pan 20s ease-out forwards;
}
@keyframes hero-pan {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.78) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(26, 37, 90, 0.55), transparent 60%);
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 200px;
  padding-bottom: 96px;
  gap: 40px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero-meta::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--color-glow);
}
.hero-title {
  max-width: 14ch;
  margin: 0;
  color: var(--color-paper);
}
.hero .display { color: var(--color-paper); }
.hero-stat-num { color: var(--color-paper); }
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.hero-sub {
  max-width: 48ch;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
  margin-top: 56px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

/* ---------- Section ---------- */
.section { padding: clamp(56px, 7vw, 120px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 72px);
  align-items: end;
}
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 1.6fr 1fr; }
}
.section-title { margin: 0; max-width: 22ch; }
.section-intro {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
  color: var(--color-mute);
  max-width: 42ch;
  margin: 0;
}

/* ---------- Cards ---------- */
.card-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-paper-3);
  border-radius: 4px;
  transition: transform 600ms var(--ease-out);
}
.card-link:hover { transform: translateY(-4px); }
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1000ms var(--ease-out);
}
.card-link:hover .card-image img { transform: scale(1.06); }
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.78) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.10) 0%, rgba(10,10,10,0) 30%);
  pointer-events: none;
  transition: opacity 600ms var(--ease-out);
}
.card-link:hover .card-image::after { opacity: 0.78; }
.card-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--color-paper);
  z-index: 1;
}
.card-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  max-width: 18ch;
}

/* Project tile (taller, editorial) */
.project-tile { aspect-ratio: 3 / 4; }
.project-tile-wide { aspect-ratio: 16 / 9; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,0.78);
  padding: clamp(48px, 6vw, 96px) 0 36px;
  font-family: var(--font-body);
}
.site-footer a:hover { color: var(--color-glow); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;       /* ≥44px touch target */
  margin: -12px 0;
}
.footer-brand-logo svg { width: 168px; color: #fff; }
.footer-tagline {
  margin-top: 24px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
}
.footer-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-list a { transition: color 220ms var(--ease-out); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background-color 240ms var(--ease-out);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); }
.footer-social svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 540ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 630ms; }

/* Hero stagger reveal (page-load) */
.hero [data-hero-rev] {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rev 1100ms var(--ease-out) forwards;
}
.hero [data-hero-rev='1'] { animation-delay: 100ms; }
.hero [data-hero-rev='2'] { animation-delay: 280ms; }
.hero [data-hero-rev='3'] { animation-delay: 460ms; }
.hero [data-hero-rev='4'] { animation-delay: 640ms; }
.hero [data-hero-rev='5'] { animation-delay: 820ms; }
@keyframes hero-rev {
  to { opacity: 1; transform: none; }
}

/* ============================================================
   v2 — Evervault + Superpower hybrid components
   ============================================================ */

/* ---------- Body / utilities ---------- */
html.no-scroll, html.no-scroll body { overflow: hidden; }

.bg-ink { background: var(--color-ink); color: var(--color-paper); }
.bg-ink-2 { background: var(--color-ink-soft); color: var(--color-paper); }

/* (Custom cursor removed — site uses default OS cursor) */

/* ---------- Form (contact) ---------- */
.form-row { display: flex; flex-direction: column; }
.form-row label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-bottom: 10px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  background: transparent;
  outline: none;
  transition: border-color 240ms var(--ease-out);
  color: var(--color-ink);
}
.form-row textarea { resize: vertical; }
.form-row select { cursor: pointer; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-bottom-color: var(--color-ink); }

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(255, 179, 71, 0.15);
  border: 1px solid rgba(255, 179, 71, 0.4);
  border-radius: 12px;
  color: var(--color-ink);
  font-size: var(--t-meta);
}

/* Field-level validation error message */
.field-error {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #B91C1C;
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-bottom-color: #B91C1C !important;
}

/* ---------- Hero v2 (blur reveal, large editorial) ---------- */
.hero-v2 {
  position: relative;
  background: var(--color-ink);
  color: var(--color-paper);
  overflow: hidden;
  isolation: isolate;
  padding-top: 140px;
  padding-bottom: 72px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .hero-v2 {
    padding-top: 120px;
    padding-bottom: 56px;
    min-height: auto;
  }
}

.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 70% 0%, rgba(255, 179, 71, 0.08), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(26, 37, 90, 0.5), transparent 60%);
  z-index: -1;
}
.hero-v2 .grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='3' seed='5' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
.hero-v2-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hero-v2-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
  }
}
.hero-v2 .eyebrow {
  color: var(--color-glow);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-v2 .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-glow);
}
.hero-v2 h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 8.5vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 20px 0 0;
  color: var(--color-paper);
  max-width: 14ch;
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* ------------------------------------------------------------
   Hero title: per-line "square block" fit
   Each <span.hero-line> renders its own line and gets its own
   font-size so that all three lines reach the same visual width.
   JS (site.js → fitHeroTitle) measures widths after fonts load
   and sets per-line font-size in px. The CSS here provides the
   base (fallback) sizing before JS runs and the flex layout.
   ------------------------------------------------------------ */
.hero-v2 h1.hero-title-fit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 32px 0 0;
  gap: 0;
  line-height: 0.86;
  font-size: clamp(60px, 7vw, 116px);
  /* Safety: if the JS fit ever miscalculates, clip overflow rather
     than let a line bleed into the carousel column. */
  overflow: hidden;
}
.hero-v2 h1.hero-title-fit .hero-line {
  display: block;
  white-space: nowrap;
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1em;
}
/* Note: all three lines start at 1em (the h1's base font-size) so
   they render at uniform size until fitHeroTitle() runs. Since the
   whole h1 is opacity:0 until JS adds .is-ready, the user never
   sees the pre-fit state. */

/* Mobile layout overrides placed AFTER the base .hero-v2 rules so
   they actually take precedence in the CSS cascade. */
@media (max-width: 1023px) {
  .hero-v2 .container { padding-left: 24px; padding-right: 24px; max-width: 100vw; }
  .hero-v2-grid { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
  .hero-v2-grid > div { width: 100%; max-width: 100%; box-sizing: border-box; }
  .hero-v2-grid > div:first-child { text-align: center; display: block; width: 100%; margin-bottom: 28px; }
  .hero-v2 .eyebrow.hero-warmup-eyebrow { display: inline-flex; justify-content: center; text-align: center; margin: 0 auto; }
  .hero-v2 h1 {
    font-size: clamp(34px, 9vw, 56px);
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    text-align: center;
    line-height: 1;
    overflow-wrap: break-word;
    text-wrap: balance;
    box-sizing: border-box;
  }
  /* Per-line fit h1 on mobile: center the block, larger base size.
     gap: 8px adds small breathing room between the three lines so
     the glowing accent line ("aydınlatan") text-shadow doesn't
     collide with the "ü" of "Türk markası" underneath. Slightly
     relaxed line-height (0.92) also gives each glyph more room. */
  .hero-v2 h1.hero-title-fit {
    font-size: clamp(48px, 13vw, 96px);
    align-items: center;
    text-align: center;
    margin: 24px auto 0;
    line-height: 0.92;
    gap: 8px;
  }
  .hero-v2 h1.hero-title-fit .hero-line {
    line-height: 0.92;
  }
  .hero-v2 p.lede {
    width: 100%;
    max-width: 100%;
    margin: 24px 0 26px;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
  }
  /* Hero CTA row on mobile — force the two buttons side-by-side on
     one line. We shrink padding and font-size so they fit on a 360px
     viewport (smallest common Android width). nowrap prevents the
     "veya teklif isteyin" link from wrapping under the primary CTA. */
  .hero-v2 .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .hero-v2 .actions .btn {
    padding: 14px 18px;
    font-size: 13px;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
  .hero-v2 .actions .btn .arrow {
    width: 14px;
    height: 14px;
  }
  .hero-v2 .actions .hero-text-link {
    padding: 14px 16px;
    font-size: 12px;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .hero-v2 h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .hero-v2 h1.hero-title-fit { font-size: clamp(42px, 13vw, 78px); }
  .hero-v2 p.lede { font-size: 14px; }
  .hero-v2 .eyebrow.hero-warmup-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .hero-v2 .eyebrow.hero-warmup-eyebrow::before { width: 20px; }
  .hero-v2 .actions { gap: 8px; }
  .hero-v2 .actions .btn {
    padding: 13px 15px;
    font-size: 12px;
    gap: 6px;
  }
  .hero-v2 .actions .hero-text-link {
    padding: 13px 13px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .hero-v2 .actions .btn { padding: 12px 13px; font-size: 11px; }
  .hero-v2 .actions .hero-text-link { padding: 12px 11px; font-size: 10.5px; }
}

/* (legacy .accent removed — replaced by .glow which works on both
   light and dark backgrounds with a soft warm halo) */
.hero-v2 h1 .accent {
  color: var(--color-glow);
  font-style: normal;
  text-shadow:
    0 0 18px rgba(255, 179, 71, 0.55),
    0 0 38px rgba(255, 179, 71, 0.32),
    0 0 80px rgba(255, 179, 71, 0.18);
}

/* ---------- Word emphasis: warm neon glow (eye-comfortable) ---------- */
/* The accent word always glows in the brand amber #FFB347 — same colour
   on every background. The halo strength is tuned per surface so the
   word reads as "lit" without straining the eye. */
.glow {
  font-style: normal !important;
  color: var(--color-glow); /* brand amber #FFB347 everywhere */
  text-shadow:
    0 0 14px rgba(255, 179, 71, 0.6),
    0 0 32px rgba(255, 179, 71, 0.32),
    0 0 70px rgba(255, 179, 71, 0.18);
}
.bg-ink .glow,
.hero-v2 .glow,
[style*="color:var(--color-paper)"] .glow {
  color: var(--color-glow); /* bright #FFB347 on dark surfaces */
  text-shadow:
    0 0 16px rgba(255, 179, 71, 0.6),
    0 0 38px rgba(255, 179, 71, 0.35),
    0 0 78px rgba(255, 179, 71, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .glow { transition: text-shadow 600ms var(--ease-out); }
}
.hero-v2 p.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin: 24px 0 28px;
}
.hero-v2 .actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-meta);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.04);
  transition: color 240ms var(--ease-out), background-color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.hero-text-link:hover {
  color: var(--color-glow);
  border-color: var(--color-glow);
  background: rgba(255, 179, 71, 0.08);
}

/* Hero blur fade-in (Superpower-style — used by other page heroes) */
.hero-rev {
  filter: blur(16px);
  opacity: 0;
  transform: translateY(20px);
  animation: heroRev 1500ms var(--ease-out) forwards;
}
@keyframes heroRev {
  to { filter: blur(0); opacity: 1; transform: none; }
}
.hero-rev[data-d="1"] { animation-delay: 100ms; }
.hero-rev[data-d="2"] { animation-delay: 280ms; }
.hero-rev[data-d="3"] { animation-delay: 460ms; }
.hero-rev[data-d="4"] { animation-delay: 640ms; }
.hero-rev[data-d="5"] { animation-delay: 820ms; }

/* ============================================================
   Hero v2 — Cinematic "Filament Warm-Up + Light Sweep"
   Lights coming on metaphor for the homepage hero only.
   GPU-friendly: only filter / opacity / transform / text-shadow.
   ============================================================ */

/* Full-bleed background image (warms up from dark sepia blur to clean) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.7) 0%, rgba(11,11,13,0.55) 30%, rgba(11,11,13,0.85) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.7) 0%, rgba(11,11,13,0) 50%);
  pointer-events: none;
}

/* Hero stage warm-up — entire image element transitions from
   "cold dim sepia" to "warm clean light". The image is VISIBLE
   (opacity 1) throughout, just very dark/blurred/sepia at the
   start, so the "lights coming on" metaphor reads as an image
   that's there-but-dim brightening into place — not a black
   fade-in. */
@keyframes hero-img-warmup {
  0% {
    filter: brightness(0.15) blur(14px) sepia(0.72) saturate(1.5) contrast(1.15);
    transform: scale(1.08);
    opacity: 1;
  }
  60% {
    filter: brightness(0.5) blur(5px) sepia(0.38) saturate(1.2) contrast(1.05);
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    filter: brightness(1) blur(0) sepia(0) saturate(1) contrast(1);
    transform: scale(1);
    opacity: 1;
  }
}
/* ============================================================
   AUTO-PLAYING CSS ANIMATIONS — NO JS GATE
   Animations are applied directly on base selectors so they
   play on first render, no JavaScript, no class-toggle, no
   html.is-ready dependency. This is the most reliable approach
   for Samsung Internet, older Android Chrome, iOS Safari, and
   every other mobile browser. The `fill-mode: both` keeps the
   final state after the animation ends. If the page load takes
   longer than the animation duration the user misses the tween
   but still sees the correct final hero — no blank screen
   possible.
   ============================================================ */

/* Background image: animation starts from the 0% keyframe
   (deeply dim sepia blurred) and tweens to clean light. */
.hero-v2 .hero-bg-image.hero-warmup-img {
  animation: hero-img-warmup 2200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Master light sweep — a single warm beam crosses the hero once,
   like a stage spotlight pass across the scene */
.hero-v2 .hero-sweep {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-v2 .hero-sweep::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -50%;
  width: 60%;
  height: 140%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 200, 130, 0.22) 50%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(40px);
  transform: translateX(-100%) skewX(-12deg);
  animation: hero-sweep-pass 2400ms cubic-bezier(0.4, 0, 0.2, 1) 400ms both;
}
@keyframes hero-sweep-pass {
  to { transform: translateX(280%) skewX(-12deg); }
}

/* Eyebrow — dim warm filament glow → bright amber */
@keyframes hero-eyebrow-warmup {
  0% { color: rgba(110, 70, 30, 0); opacity: 0; transform: translateY(8px); }
  40% { color: rgba(170, 100, 40, 0.6); opacity: 0.7; }
  100% { color: var(--color-glow); opacity: 1; transform: none; }
}
.hero-v2 .hero-warmup-eyebrow {
  animation: hero-eyebrow-warmup 1400ms cubic-bezier(0.22, 1, 0.36, 1) 500ms both;
}

/* Heading — filament warm-up: dark warm gray → warm white */
@keyframes hero-heading-warmup {
  0% {
    color: rgba(150, 90, 40, 0.15);
    filter: blur(8px);
    opacity: 0;
    transform: translateY(24px);
  }
  35% {
    color: rgba(180, 120, 60, 0.45);
    filter: blur(3px);
    opacity: 0.7;
  }
  70% {
    color: rgba(230, 200, 160, 0.92);
    filter: blur(0);
    opacity: 1;
  }
  100% {
    color: var(--color-paper);
    filter: blur(0);
    opacity: 1;
    transform: none;
  }
}
.hero-v2 .hero-warmup-title {
  animation: hero-heading-warmup 1800ms cubic-bezier(0.22, 1, 0.36, 1) 700ms both;
}

/* Accent word — last to ignite, with full neon glow */
@keyframes hero-accent-ignite {
  0% {
    color: rgba(180, 120, 60, 0.35);
    text-shadow: none;
  }
  50% {
    color: rgba(220, 150, 80, 0.7);
    text-shadow:
      0 0 8px rgba(255, 179, 71, 0.25),
      0 0 16px rgba(255, 179, 71, 0.12);
  }
  100% {
    color: var(--color-glow);
    text-shadow:
      0 0 16px rgba(255, 179, 71, 0.6),
      0 0 38px rgba(255, 179, 71, 0.35),
      0 0 78px rgba(255, 179, 71, 0.18);
  }
}
/* Mobile variant: same colour tween but tighter halo (max 26px
   blur instead of 78px) so the glow doesn't bleed into the next
   line of the square-block title. */
@keyframes hero-accent-ignite-mobile {
  0% {
    color: rgba(180, 120, 60, 0.35);
    text-shadow: none;
  }
  50% {
    color: rgba(220, 150, 80, 0.7);
    text-shadow:
      0 0 6px rgba(255, 179, 71, 0.3),
      0 0 12px rgba(255, 179, 71, 0.15);
  }
  100% {
    color: var(--color-glow);
    text-shadow:
      0 0 10px rgba(255, 179, 71, 0.65),
      0 0 22px rgba(255, 179, 71, 0.32);
  }
}
.hero-v2 .hero-warmup-accent {
  animation: hero-accent-ignite 1200ms cubic-bezier(0.22, 1, 0.36, 1) 1500ms both;
}
/* Mobile accent override — placed AFTER the base rule so it wins
   the cascade. Uses hero-accent-ignite-mobile (tighter glow, max
   22px blur) so the halo doesn't bleed into the "Türk markası."
   line underneath in the square-block title layout. */
@media (max-width: 1023px) {
  .hero-v2 .hero-warmup-accent {
    animation-name: hero-accent-ignite-mobile;
  }
}

/* Generic fade-up for subtitle / actions / carousel / stats */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-v2 .hero-warmup-fade {
  animation: hero-fade-up 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-v2 .hero-warmup-fade[data-d="1"] { animation-delay: 1700ms; }
.hero-v2 .hero-warmup-fade[data-d="2"] { animation-delay: 1850ms; }
.hero-v2 .hero-warmup-fade[data-d="3"] { animation-delay: 2000ms; }
.hero-v2 .hero-warmup-fade[data-d="4"] { animation-delay: 2150ms; }

/* ============================================================
   Mobile (<=1024px): the SAME CSS @keyframes animations used on
   desktop play here. They're defined on base selectors above so
   they auto-play on first render — no JS gating, no WAAPI, no
   class-toggle. This is the most reliable approach for Samsung
   Internet and older Android Chrome. The mobile override here
   only reduces backdrop-blur cost on the nav and drawer.
   ============================================================ */
@media (max-width: 1024px) {
  /* Lighter backdrop-blur for mobile performance */
  .nav-shell { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mobile-drawer { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* Reduced motion — we used to skip the entire warm-up
   choreography here, but that meant Android users with system
   accessibility "remove animations" on (very common on Samsung,
   especially in battery saver) saw no hero animation at all.
   The hero warm-up is a one-time decorative reveal — no
   spinning, no rapid movement, no parallax — so it's safe to
   keep playing even when reduced-motion is requested. */
/* (intentionally no reduced-motion override for the hero — see
   comment above) */

/* Safety fallback: if JS fails to load or is disabled, show the
   hero within 3 seconds so nothing stays invisible forever. The
   <noscript> block in layout.mjs handles the no-JS case, but this
   also protects against JS errors that prevent startHero() from
   running. Triggered by a simple body animation that the layout
   always applies. */
@keyframes hero-safety-show {
  to { opacity: 1; transform: none; }
}

/* Hero stats inline strip */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) { .hero-strip { grid-template-columns: repeat(4, 1fr); margin-top: 48px; } }
.hero-strip-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-paper);
}
.hero-strip-num .plus { color: var(--color-glow); }
.hero-strip-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

/* ---------- Project carousel (3D rotating stack) ---------- */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y pinch-zoom; /* allow vertical scroll, capture horizontal */
  -webkit-user-select: none;
  user-select: none;
}
.carousel.is-dragging { cursor: grabbing; }
.carousel.is-dragging .carousel-card { transition: none !important; }
@media (min-width: 1024px) {
  .carousel { aspect-ratio: 3 / 4; }
  /* Clip the 3D rotating stack at its LEFT edge only. The "behind"
     cards (slots -1, -2) otherwise translateX out into the text
     column at x = slot * 24% of root width and visually overlap
     the h1. Negative insets on top/right/bottom keep the fan on
     those sides fully visible (for depth) while a hard 0 on the
     left prevents any card from bleeding into the hero text. */
  .hero-v2 .carousel {
    clip-path: inset(-500px -500px -500px 0);
    -webkit-clip-path: inset(-500px -500px -500px 0);
  }
}
.carousel-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.carousel-card {
  position: absolute;
  width: 78%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 70px -20px rgba(0, 0, 0, 0.7);
  transition: transform 900ms var(--ease-out), opacity 900ms var(--ease-out);
  will-change: transform, opacity;
  background: var(--color-ink-soft);
}
.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
}
.carousel-card .meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--color-paper);
}
.carousel-card .meta .ey {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  display: block;
}
.carousel-card .meta .card-title-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.carousel-progress {
  display: none; /* shown only on mobile */
  margin: 16px 24px 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.carousel-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--color-glow);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform 240ms var(--ease-out), width 240ms var(--ease-out);
}
.carousel-dot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.carousel-dot::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  transition: background-color 300ms var(--ease-out);
}
.carousel-dot.is-active::after { background: var(--color-glow); }

/* ---------- Mobile carousel: horizontal scroll-snap slider ---------- */
/* On phones the 3D rotating stack is hard to swipe naturally, so on
   small screens we switch the same DOM into a native scroll-snap slider:
   cards lay side-by-side, the user swipes with their finger, the
   browser snaps to the nearest card (proximity, not mandatory, so back-
   swipes always feel responsive). All projects with a hero image are
   present so the user can keep swiping through the catalogue. */
@media (max-width: 1023px) {
  .carousel {
    aspect-ratio: auto;
    perspective: none;
    cursor: auto;
    touch-action: pan-x pan-y;
    height: auto;
    overflow: visible;
  }
  .carousel-stage {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    /* CRITICAL: override desktop's justify-content:center which, on
       mobile's overflowing flex row, centers the content and pushes
       the first card to a huge NEGATIVE offsetLeft (the user sees the
       carousel "starting from the middle" because scrollLeft=0 can
       never reach content at offsetLeft = -4215). flex-start anchors
       the first card at x=0 inside the stage. */
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 24px 18px;
    margin: 0 -24px;
    scroll-padding-left: 24px;
    scroll-padding-right: 24px;
    overscroll-behavior-x: contain;
  }
  .carousel-stage::-webkit-scrollbar { display: none; }
  .carousel-card {
    position: relative;
    flex: 0 0 82%;
    width: 82%;
    height: auto;
    aspect-ratio: 5 / 4;       /* shorter than the desktop 4/5 stack */
    max-height: 56vh;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: auto !important;
    scroll-snap-align: start;  /* first card sits at the left edge */
    scroll-snap-stop: always;
    transition: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 18px 36px -16px rgba(0, 0, 0, 0.6);
  }
  .carousel-card .meta { left: 22px; right: 22px; bottom: 22px; }
  /* Hide dot row on mobile (we'd have 30 dots), show progress bar instead */
  .carousel-dots { display: none; }
  .carousel-progress { display: block; }
}

/* ---------- Marquee (logos / stats) ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-dur, 38s) linear infinite;
  gap: var(--marquee-gap, 56px);
  align-items: center;
}
.marquee:hover .marquee-content { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.stat-marquee-item {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  white-space: nowrap;
}
.stat-marquee-item .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 12vw, 200px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--color-ink);
  -webkit-text-stroke: 1.5px var(--color-ink);
  color: transparent;
}
.stat-marquee-item.solid .num { color: var(--color-ink); }
.stat-marquee-item .label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mute);
}
.stat-marquee-item .dot {
  width: 14px;
  height: 14px;
  background: var(--color-glow);
  border-radius: 50%;
}

/* ---------- Glassmorphism cards (Solutions) ---------- */
.glass-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .glass-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .glass-grid { grid-template-columns: repeat(4, 1fr); } }
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 36px 32px 40px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 600ms var(--ease-out), border-color 600ms var(--ease-out), background-color 600ms var(--ease-out);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 179, 71, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
  z-index: -1;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.glass-card:hover::before { opacity: 1; }
.glass-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 179, 71, 0.12);
  border: 1px solid rgba(255, 179, 71, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-glow);
  margin-bottom: 28px;
}
.glass-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--color-paper);
}
.glass-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 28px;
}
.glass-card .more {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.glass-card .more svg { transition: transform 320ms var(--ease-out); }
.glass-card:hover .more svg { transform: translateX(4px); }

/* ---------- Scrollytelling: 4-step process (sticky title + scrolling steps) ---------- */
.scrolly {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .scrolly { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.scrolly-sticky {
  position: relative;
}
@media (min-width: 1024px) {
  .scrolly-sticky { position: sticky; top: 140px; align-self: start; }
}
.scrolly-steps { display: flex; flex-direction: column; gap: 24px; }
.scrolly-step {
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 32px;
  background: var(--color-paper);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: transform 480ms var(--ease-out), border-color 480ms var(--ease-out), box-shadow 480ms var(--ease-out);
}
.scrolly-step:hover {
  border-color: var(--color-ink);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.18);
}
.scrolly-step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-ink);
  color: var(--color-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.scrolly-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 12px;
}
.scrolly-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-mute);
  margin: 0;
}

/* ---------- Spec card (dark engineered product data table) ---------- */
.spec-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 60% at 100% 0%, rgba(255, 179, 71, 0.1), transparent 55%);
  z-index: -1;
}
.spec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.spec-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--color-glow);
  color: var(--color-glow);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec-table-wrap { padding: 8px 16px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.spec-table th,
.spec-table td {
  padding: 16px 12px;
  font-size: 14px;
}
.spec-table th:first-child,
.spec-table td:first-child { text-align: left; padding-left: 16px; }
.spec-table th:not(:first-child),
.spec-table td:not(:first-child) { text-align: center; }
.spec-table th:last-child,
.spec-table td:last-child { padding-right: 16px; }
@media (max-width: 640px) {
  .spec-table th, .spec-table td { padding: 12px 6px; font-size: 12px; }
}
.spec-table thead th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Inline glossary term — dotted underline + native tooltip via title attr */
.term {
  position: relative;
  border-bottom: 1px dotted currentColor;
  cursor: help;
}
.term[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: normal;
  width: max-content;
  max-width: 240px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  z-index: 30;
}
.term:hover::after,
.term:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 640px) { .term::after { display: none; } }
.spec-table tbody td {
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody td strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-paper);
  letter-spacing: -0.01em;
}

.spec-meta {
  margin: 0;
  padding: 24px 32px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  font-family: var(--font-body);
}
@media (min-width: 560px) { .spec-meta { grid-template-columns: 1fr 1fr 1fr; } }
.spec-meta > div { display: flex; flex-direction: column; gap: 6px; }
.spec-meta dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.spec-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Code-block spec showcase (Evervault-style) ---------- */
.code-show {
  background: var(--color-ink);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", monospace;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
}
.code-show .head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
}
.code-show .dot { width: 12px; height: 12px; border-radius: 50%; }
.code-show .dot-r { background: #FF5F57; }
.code-show .dot-y { background: #FEBC2E; }
.code-show .dot-g { background: #28C840; }
.code-show .filename {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.code-show .body { padding: 28px 32px; }
.code-show .key { color: var(--color-glow); }
.code-show .str { color: #6EE7B7; }
.code-show .num { color: #93C5FD; }
.code-show .com { color: rgba(255, 255, 255, 0.35); font-style: italic; }
.code-show .punct { color: rgba(255, 255, 255, 0.45); }

/* ---------- Lightbox modal ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 240ms var(--ease-out);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox-close { top: 32px; right: 32px; }
.lightbox-prev { left: 32px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 32px; top: 50%; transform: translateY(-50%); }
.lightbox-cap {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Sticky CTA bar ---------- */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 24px);
  z-index: 40;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 12px 10px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-paper);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out), visibility 0s linear 600ms;
}
.sticky-cta.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
@media (max-width: 1023px) {
  .sticky-cta { display: none !important; }
}
.sticky-cta-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 640px) { .sticky-cta-text { display: none; } }
.sticky-cta .btn {
  padding: 12px 22px;
  font-size: 12px;
  background: var(--color-glow);
  color: var(--color-ink);
}
.sticky-cta .btn:hover { background: #FFC368; }

/* ---------- Section tag (small uppercase indicator) ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mute);
}
.section-tag .pulse {
  width: 6px;
  height: 6px;
  background: var(--color-glow);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 179, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0); }
}
.section-tag.dark { border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.7); }

/* ---------- Big editorial gallery grid for projects ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-paper-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.gallery-item .caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--color-paper);
  z-index: 1;
}
.gallery-item .caption .ey {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
  display: block;
}
.gallery-item .caption h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.4vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
@media (min-width: 768px) {
  .gallery-item.span-3 { grid-column: span 3; aspect-ratio: 3 / 4; }
  .gallery-item.span-2 { grid-column: span 2; aspect-ratio: 4 / 5; }
  .gallery-item.span-4 { grid-column: span 4; aspect-ratio: 16 / 9; }
  .gallery-item.span-6 { grid-column: span 6; aspect-ratio: 21 / 9; }
}

/* Reduced motion.
   NOTE: the hero warm-up animations are INTENTIONALLY exempted
   from reduced-motion overrides via the :not() selector below.
   They're a one-shot decorative reveal (no spinning, no parallax,
   no rapid jittery movement) and the user wants them to play on
   Android devices where the system accessibility "remove animations"
   toggle is enabled — a very common default on Samsung One UI and
   in battery-saver mode. */
@media (prefers-reduced-motion: reduce) {
  *:not(.hero-v2 *):not(.hero-bg-image):not(.hero-bg-image *):not(.hero-sweep):not(.hero-sweep *),
  *:not(.hero-v2 *):not(.hero-bg-image):not(.hero-bg-image *):not(.hero-sweep):not(.hero-sweep *)::before,
  *:not(.hero-v2 *):not(.hero-bg-image):not(.hero-bg-image *):not(.hero-sweep):not(.hero-sweep *)::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-reveal-stagger] > *, .hero [data-hero-rev], .hero-rev {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .marquee-content { animation: none !important; }
}

/* ============================================================
   PRODUCT DOWNLOADS  —  Per-variant PDF cards
   Uses native <details> for accessible expand/collapse.
   ============================================================ */
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .downloads-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
  .downloads-grid { grid-template-columns: repeat(3, 1fr); }
}
.download-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.download-card:hover { border-color: var(--color-line-strong); box-shadow: 0 16px 40px -28px rgba(11, 11, 13, 0.28); }
.download-card[open] { border-color: var(--color-ink); }
.download-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 240ms var(--ease-out);
}
.download-card-head::-webkit-details-marker { display: none; }
.download-card-head:hover { background: var(--color-paper-2); }
.download-card-variant {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.download-card-count {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-top: 4px;
}
.download-card-chevron { color: var(--color-ink); transition: transform 280ms var(--ease-out); flex-shrink: 0; }
.download-card[open] .download-card-chevron { transform: rotate(180deg); }
.download-card-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  border-top: 1px solid var(--color-line);
}
.download-card-list li { border-bottom: 1px solid var(--color-line); }
.download-card-list li:last-child { border-bottom: 0; }
.download-card-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-soft);
  text-decoration: none;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.download-card-list a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.download-icon { color: var(--color-glow); flex-shrink: 0; }
.download-label { flex: 1; }
.download-meta {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-mute);
  padding: 4px 8px;
  background: var(--color-paper-2);
  border-radius: 6px;
  text-transform: uppercase;
}

/* ============================================================
   SHARE  —  Social share buttons for product / news pages
   ============================================================ */
.share-section { background: var(--color-paper); border-top: 1px solid var(--color-line); }
.share-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .share-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}
.share-copy { max-width: 46ch; }
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.share-btn {
  --share-size: 44px;
  width: var(--share-size);
  height: var(--share-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  color: var(--color-ink-soft);
  cursor: pointer;
  text-decoration: none;
  transition:
    color 240ms var(--ease-out),
    background-color 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    transform 240ms var(--ease-out);
  padding: 0;
}
.share-btn:hover,
.share-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.share-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.35);
}
.share-btn:active { transform: translateY(0); }
.share-fb:hover       { color: #fff; background: #1877F2; border-color: #1877F2; }
.share-tw:hover       { color: #fff; background: #0F1419; border-color: #0F1419; }
.share-li:hover       { color: #fff; background: #0A66C2; border-color: #0A66C2; }
.share-wa:hover       { color: #fff; background: #25D366; border-color: #25D366; }
.share-email:hover    { color: #fff; background: var(--color-ink); border-color: var(--color-ink); }
.share-copy-btn:hover { color: #fff; background: var(--color-navy); border-color: var(--color-navy); }
.share-copy-btn.is-copied { color: #fff; background: var(--color-glow); border-color: var(--color-glow); }

/* ============================================================
   PRODUCTS INDEX  —  Unified /urunler/ page + category pages
   Minimal dark hero + searchable grid + empty state + CTA.
   ============================================================ */

/* Hero (dark, matches hero-v2 aesthetic but compact) */
.products-hero {
  position: relative;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 160px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.products-hero-fx {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(255, 179, 71, 0.1), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(26, 37, 90, 0.5), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.products-hero-inner { position: relative; }
@media (max-width: 768px) { .products-hero { padding: 128px 0 56px; } }
.products-hero-category { padding-top: 140px; padding-bottom: 56px; }

.products-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  margin: 0 -4px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 240ms var(--ease-out);
}
.products-back-link:hover { color: var(--color-glow); }

/* Search input — big, centre-piece, branded */
.products-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 44px 0 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition:
    background-color 280ms var(--ease-out),
    border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
}
.products-search:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-glow);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.18);
}
.products-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: color 240ms var(--ease-out);
}
.products-search:focus-within .products-search-icon { color: var(--color-glow); }
.products-search input {
  flex: 1;
  width: 100%;
  padding: 20px 56px 20px 54px;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-paper);
  letter-spacing: 0.01em;
}
.products-search input::placeholder { color: rgba(255, 255, 255, 0.4); }
.products-search input::-webkit-search-cancel-button,
.products-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.products-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.products-search-clear:hover { background: rgba(255, 179, 71, 0.2); color: var(--color-glow); }
.products-search.has-value .products-search-clear { display: inline-flex; }
@media (max-width: 640px) {
  .products-search input { padding: 17px 48px 17px 46px; font-size: 14px; }
  .products-search-icon { left: 18px; width: 16px; height: 16px; }
}

.products-result-count {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.products-result-count [data-product-count-visible] { color: var(--color-glow); font-weight: 700; }

/* Grid */
.products-index { background: var(--color-paper); padding-top: 72px; padding-bottom: 72px; }
.products-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 420ms var(--ease-out),
    border-color 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-ink);
  box-shadow: 0 22px 52px -28px rgba(11, 11, 13, 0.22);
}
.product-card:focus-visible {
  outline: 2px solid var(--color-glow);
  outline-offset: 3px;
}
.product-card.is-hidden { display: none; }

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 600ms var(--ease-out);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-line-strong);
  background: var(--color-paper-2);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
  flex: 1;
}
.product-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0;
}
@media (min-width: 768px) { .product-card-title { font-size: 16px; } }
.product-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mute);
  transition: color 240ms var(--ease-out), gap 240ms var(--ease-out);
}
.product-card:hover .product-card-more {
  color: var(--color-glow);
  gap: 10px;
}

/* Empty state when search yields no match */
.products-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px;
  color: var(--color-mute);
  gap: 14px;
}
.products-empty.is-visible { display: flex; }
.products-empty h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.products-empty p {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.products-empty svg { color: var(--color-line-strong); }

/* Bottom CTA */
.products-cta {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 96px 0;
}
.products-cta-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 900px) {
  .products-cta-wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ============================================================
   DENSE MEGA MENU  —  3-column product list (Ürünler)
   Matches narlight.com.tr's corporate mega layout but on our
   dark cinematic surface. No feature image, just clean typography.
   ============================================================ */
.mega.mega-dense { min-width: min(1040px, 96vw); }
.mega-dense-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.7fr 0.9fr;
  gap: 44px;
  padding: 36px 40px 40px;
}
@media (max-width: 1200px) {
  .mega-dense-grid { grid-template-columns: 1fr 1.4fr 0.8fr; gap: 32px; padding: 28px 32px 32px; }
}
.mega-dense-col { min-width: 0; }
.mega-dense-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
  position: relative;
}
.mega-dense-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--color-glow);
}
.mega-dense-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-dense-list li { margin: 0; }
.mega-dense-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--color-ink-soft);
  text-decoration: none;
  transition: color 200ms var(--ease-out), padding-left 260ms var(--ease-out);
  position: relative;
}
.mega-dense-list a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-glow);
  transition: width 260ms var(--ease-out);
  flex-shrink: 0;
}
.mega-dense-list a:hover {
  color: var(--color-ink);
  padding-left: 4px;
}
.mega-dense-list a:hover::before { width: 14px; }

/* Split the dış-aydınlatma list into 2 columns of items */
.mega-dense-list.mega-dense-list-split {
  columns: 2;
  column-gap: 32px;
}
.mega-dense-list.mega-dense-list-split li {
  break-inside: avoid;
}
