/* ============================================================
   KOALITY CONSULTANT - Design System v2
   Premium agency. Minimal. Editorial. No compromises.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --black:      #000000;
  --white:      #ffffff;
  --warm:       #f0ede8;          /* warm off-white for light sections */
  --warm-2:     #e8e4de;
  --ink:        #0a0a0a;          /* near-black for alternating sections */
  --ink-2:      #111111;
  --ink-3:      #181818;
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.14);
  --muted:      #5a5a5a;
  --muted-2:    #888888;
  --muted-3:    #b8b8b8;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --t: 0.4s;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: none; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── CUSTOM CURSOR ──────────────────────────────────────── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
#cursor-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s;
}
#cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), opacity 0.3s;
}
body.cursor-hover #cursor-dot { width: 16px; height: 16px; }
body.cursor-hover #cursor-ring { width: 64px; height: 64px; opacity: 0.3; }
body.cursor-text #cursor-dot { width: 56px; height: 56px; opacity: 0.15; }
body.cursor-text #cursor-ring { opacity: 0; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2a; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.wrap       { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.wrap-sm    { max-width: 900px;  margin: 0 auto; padding: 0 48px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.t-hero {
  font-size: clamp(4rem, 8.5vw, 9.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.t-display {
  font-size: clamp(2.8rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.t-title {
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}
.t-body {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--muted-2);
  font-weight: 400;
}
.t-small {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.t-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-mono {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-x {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-x.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* Text line reveal */
.line-wrap { overflow: hidden; }
.line-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease);
}
.line-inner.in { transform: translateY(0); }

/* ── TOPBAR ─────────────────────────────────────────────── */
#topbar {
  position: sticky;
  top: 0;
  z-index: 902;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-locs {
  display: flex;
  align-items: center;
  gap: 28px;
}
.loc {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: none;
}
.loc-pip {
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.25;
  animation: breathe 3s ease-in-out infinite;
}
.loc:nth-child(2) .loc-pip { animation-delay: 1.5s; }
@keyframes breathe { 0%,100%{opacity:.25} 50%{opacity:.8} }
.loc-name { font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.loc-time { font-size: 0.72rem; font-weight: 700; color: var(--white); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.loc-tip {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  padding: 9px 14px;
  white-space: nowrap;
  font-size: 0.7rem;
  color: var(--muted-2);
  z-index: 50;
}
.loc:hover .loc-tip { display: block; }
.topbar-right {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── NAV ────────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 38px; /* sits below sticky topbar */
  z-index: 900;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.nav-logo:hover img { opacity: 0.7; }
.nav-logo-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 12px 24px;
  border-radius: 0;
  cursor: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
}
.btn-white:hover {
  background: var(--warm);
  border-color: var(--warm);
}
.btn-outline {
  background: transparent;
  color: var(--muted-2);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-black {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn-black:hover { background: var(--ink-3); }
.btn-outline-dark {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}
.btn-outline-dark:hover { color: var(--black); border-color: var(--black); }

.btn-lg { font-size: 0.8rem; padding: 16px 32px; }
.btn-arrow::after { content: '→'; font-weight: 400; }

/* ── BURGER ─────────────────────────────────────────────── */
.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: none;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ── FULLSCREEN MENU ────────────────────────────────────── */
#fullmenu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--black);
  padding: 120px 48px 60px;
  flex-direction: column;
  overflow-y: auto;
}
#fullmenu.open { display: flex; }
.fullmenu-links { display: flex; flex-direction: column; gap: 0; flex: 1; }
.fullmenu-links a {
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1;
  transition: color 0.25s, padding-left 0.3s var(--ease);
}
.fullmenu-links a:hover { color: var(--white); padding-left: 12px; }
.fullmenu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  flex-wrap: wrap;
}
.fullmenu-locs {
  display: flex;
  gap: 28px;
}

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-h1 {
  font-size: clamp(4.5rem, 9.5vw, 10.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 48px;
}
.hero-h1 .dim { color: var(--muted); font-weight: 300; }
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 440px;
}
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.hero-ctas { display: flex; align-items: center; gap: 12px; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.hero-proof-item:last-child { border-right: none; padding-right: 0; }
.hero-proof-item:first-child { padding-left: 0; }
.hero-proof-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-proof-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
/* Hero horizontal rule */
.hero-rule {
  height: 1px;
  background: var(--border);
  width: 100%;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-meta-item {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 32px; height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-100%);
  animation: slideLine 2s var(--ease) infinite;
}
@keyframes slideLine { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--white);
  padding: 13px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.marquee-sep {
  width: 3px; height: 3px;
  background: #aaa;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTION SHARED ─────────────────────────────────────── */
.s { padding: 140px 0; }
.s-sm { padding: 100px 0; }
.s-border { border-top: 1px solid var(--border); }
.s-ink { background: var(--ink); }
.s-ink2 { background: var(--ink-2); }

.s-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
}
.s-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.s-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--muted);
}

/* ── SERVICES LIST ──────────────────────────────────────── */
.svc-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.svc-row:hover::before { transform: scaleX(1); }
.svc-row > * { position: relative; z-index: 1; }
.svc-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.svc-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.svc-desc {
  font-size: 0.875rem;
  color: var(--muted-2);
  line-height: 1.6;
  max-width: 360px;
  transition: color 0.25s;
}
.svc-arrow {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.25s;
  justify-self: end;
}
.svc-row:hover .svc-arrow { transform: translateX(6px); color: var(--white); }
.svc-row:hover .svc-name { color: var(--white); }
.svc-row:first-child { border-top: 1px solid var(--border); }

/* ── PROOF BAND ─────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.proof-cell {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
}
.proof-cell:last-child { border-right: none; }
.proof-n {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--white);
}
.proof-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── EXPERTISE ROWS ─────────────────────────────────────── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.exp-card {
  background: var(--black);
  padding: 56px 36px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s var(--ease);
}
.exp-card:hover { background: var(--ink-2); }
.exp-card-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: auto;
}
.exp-card-title {
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  margin-top: 48px;
}
.exp-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  transition: color 0.3s;
}
.exp-card:hover .exp-card-desc { color: var(--muted-2); }
.exp-card-arrow {
  position: absolute;
  bottom: 36px; right: 36px;
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.25s;
}
.exp-card:hover .exp-card-arrow { transform: translate(4px, -4px); color: var(--white); }

/* ── KOALAND.AI CALLOUT ─────────────────────────────────── */
.koa-callout {
  display: block;
  position: relative;
  margin-top: 32px;
  padding: 24px 28px 24px 28px;
  border: 1px solid var(--border-2);
  background: var(--ink-2);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s, border-color 0.25s;
  overflow: visible;
}
.koa-callout:hover { background: var(--ink-3); border-color: rgba(255,255,255,0.22); }
/* Glowing dot that traces the 4 edges of the callout frame (snake-style) */
.koa-callout-glow {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 4px rgba(255,255,255,0.7), 0 0 22px 8px rgba(255,255,255,0.25);
  /* start: top-left, moving right */
  top: -4px;
  left: 0;
  animation: koa-trace 14s linear infinite;
  pointer-events: none;
  z-index: 2;
}
/*
  Border-trace: each quarter only moves ONE axis so dot stays on the edge.
  Top edge   0%→25%:  left 0 → 100%,       top  stays -4px
  Right edge 25%→50%: top  -4px → 100%,    left stays calc(100% - 8px)
  Bottom edge50%→75%: left 100% → 0,        top  stays calc(100% - 4px)
  Left edge  75%→100%:top  100% → -4px,     left stays 0
*/
@keyframes koa-trace {
  0%   { top: -4px;              left: 0; }
  25%  { top: -4px;              left: calc(100% - 8px); }
  50%  { top: calc(100% - 4px);  left: calc(100% - 8px); }
  75%  { top: calc(100% - 4px);  left: 0; }
  100% { top: -4px;              left: 0; }
}
.koa-callout-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.koa-callout-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.koa-callout-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── WHY SECTION ────────────────────────────────────────── */
.why-list { display: flex; flex-direction: column; }
.why-row {
  display: grid;
  grid-template-columns: 40px 280px 1fr;
  gap: 64px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.why-row:first-child { border-top: 1px solid var(--border); }
.why-n {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.why-desc {
  font-size: 0.9rem;
  color: var(--muted-2);
  line-height: 1.72;
  max-width: 560px;
}

/* ── TEAM ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.team-card { background: var(--black); overflow: hidden; }
.team-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.team-card:hover .team-img-wrap img { filter: grayscale(30%) contrast(1); transform: scale(1.03); }
.team-info { padding: 40px 48px; }
.team-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.team-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.team-bio { font-size: 0.875rem; color: var(--muted-2); line-height: 1.72; }

/* ── NEWS ───────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.news-card {
  background: var(--black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { background: var(--ink-2); }
.news-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  flex: 1;
}
.news-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s, gap 0.25s;
}
.news-card:hover .news-cta { color: var(--white); gap: 16px; }

/* ── REVIEWS ────────────────────────────────────────────── */
.review-list { display: flex; flex-direction: column; gap: 0; }
.review-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.review-row:last-child { border-bottom: 1px solid var(--border); }
.review-text {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted-3);
  letter-spacing: -0.01em;
  padding-right: 80px;
}
.review-text em { color: var(--white); font-style: normal; font-weight: 500; }
.review-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}
.review-name { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.review-role { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  text-align: left;
  background: none;
  cursor: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted-3);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--white); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.faq-item.open .faq-q { color: var(--white); }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: rgba(255,255,255,0.3); color: var(--white); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq-a-inner {
  padding: 0 0 32px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted-2);
  max-width: 640px;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ── NEWSLETTER ─────────────────────────────────────────── */
.nl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.nl-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.nl-sub { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.nl-form { display: flex; gap: 0; }
.nl-input {
  flex: 1;
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  border-right: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.25s;
}
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { border-color: rgba(255,255,255,0.3); }
.nl-btn {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: none;
  transition: background 0.25s;
  white-space: nowrap;
}
.nl-btn:hover { background: var(--warm); border-color: var(--warm); }

/* ── CTA BAND ───────────────────────────────────────────── */
#cta-band {
  background: var(--warm);
  padding: 140px 0;
  text-align: center;
}
#cta-band .t-display { color: var(--black); }
.cta-sub { font-size: 1rem; color: #777; margin: 24px auto 52px; max-width: 420px; line-height: 1.65; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CLIENTS ────────────────────────────────────────────── */
.clients-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border: 1px solid var(--border);
}
.client-cell {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
  padding: 0 16px;
}
.client-cell:last-child { border-right: none; }
.client-cell:hover { background: var(--ink-2); }
.client-ph {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.6;
}
.client-ph-sub { font-weight: 400; letter-spacing: 0.06em; color: var(--muted); font-size: 0.6rem; }
.client-img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.4; transition: opacity 0.25s; }
.client-cell:hover .client-img { opacity: 0.8; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 96px 0 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.5fr repeat(4, 1fr);
  gap: 64px;
  margin-bottom: 80px;
}
.footer-brand-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-tagline {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-koaland {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-2);
  padding: 10px 16px;
  transition: color 0.25s, border-color 0.25s;
}
.footer-koaland:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.footer-col-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
  font-size: 0.85rem;
  color: #444;
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal-links a, .footer-legal-links span {
  font-size: 0.75rem;
  color: #333;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: #666; }

/* ── INNER PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-hero-num::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--muted);
}
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 48px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--muted-2);
  line-height: 1.72;
  max-width: 560px;
}

/* ── SERVICE DETAIL PAGE ────────────────────────────────── */
.svc-detail {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.svc-sticky {
  padding: 80px 64px 80px 0;
  border-right: 1px solid var(--border);
  position: sticky;
  top: calc(38px + 80px + 58px); /* topbar + nav + tab bar */
  align-self: start;
  overflow: hidden; /* prevent long words from crossing the border line */
}
/* Titles in narrow sticky sidebar - capped so no word overflows the column */
.svc-sticky .t-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.05;
  overflow-wrap: break-word;
  word-break: break-word;
}
.svc-content { padding: 80px 0 80px 64px; }
.svc-section { margin-bottom: 64px; }
.svc-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.svc-section-text {
  font-size: 0.9rem;
  color: var(--muted-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.svc-items { display: flex; flex-direction: column; gap: 0; }
.svc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-3);
}
.svc-item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
}
.svc-item:first-child { border-top: 1px solid var(--border); }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-sidebar {
  padding: 80px 80px 80px 0;
  border-right: 1px solid var(--border);
}
.contact-form-area { padding: 80px 0 80px 80px; }
.c-item { padding: 28px 0; border-bottom: 1px solid var(--border); }
.c-item:first-child { border-top: 1px solid var(--border); }
.c-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.c-value { font-size: 0.9rem; color: var(--muted-3); line-height: 1.5; }
.c-value a { color: var(--muted-3); transition: color 0.2s; }
.c-value a:hover { color: var(--white); }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input, .form-textarea, .form-select {
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  border-radius: 0;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: rgba(255,255,255,0.3); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── LOCATION CLOCKS BIG ────────────────────────────────── */
.loc-big-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 80px;
}
.loc-big-cell { background: var(--ink); padding: 56px 64px; }
.loc-big-city { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.loc-big-time { font-size: 4.5rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.loc-big-tz { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-card { padding: 48px 32px 80px; min-height: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 60px 1fr auto; }
  .svc-desc { display: none; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-sticky { position: static; border-right: none; padding: 60px 0 0; border-bottom: 1px solid var(--border); }
  .svc-content { padding: 60px 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-cell { border-bottom: 1px solid var(--border); }
  .proof-cell:nth-child(2n) { border-right: none; }
  .proof-cell:nth-last-child(-n+2) { border-bottom: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .clients-row { grid-template-columns: repeat(4, 1fr); }
  .client-cell:nth-child(n+5) { border-top: 1px solid var(--border); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { padding: 60px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form-area { padding: 60px 0; }
  .why-row { grid-template-columns: 40px 1fr; gap: 24px; }
  .why-desc { grid-column: 2; }
}

@media (max-width: 860px) {
  .wrap, .wrap-sm { padding: 0 24px; }
  .hero-body { padding: 0 24px 48px; }
  .hero-meta { padding: 16px 24px; justify-content: center; gap: 24px; }
  .hero-meta .hero-meta-item:first-child { display: none; }
  .hero-h1 { font-size: clamp(3.2rem, 11vw, 6rem); }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { align-items: flex-start; }
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .burger { display: flex; }
  .s { padding: 96px 0; }
  .s-sm { padding: 72px 0; }
  .svc-row { grid-template-columns: 1fr auto; gap: 20px; padding: 28px 0; }
  .svc-num { display: none; }
  .svc-name { font-size: 1.05rem; }
  /* Show tags always on touch (no hover) */
  .svc-stat { max-height: 24px !important; opacity: 0.65 !important; margin-top: 5px !important; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-card { padding: 48px 28px; min-height: 260px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-img-wrap { aspect-ratio: 3/4; max-height: 200px; }
  .team-info { padding: 16px 20px !important; }
  .team-name { font-size: 1rem !important; }
  .team-role-primary { font-size: 0.6rem !important; }
  .team-role-secondary { font-size: 0.6rem !important; }
  .news-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 1fr; gap: 24px; }
  .review-meta { align-items: flex-start; text-align: left; }
  .review-text { padding-right: 0; }
  .nl-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .page-hero h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); }
  .topbar-right { display: none; }
  .s-header { flex-direction: column; gap: 24px; }
  .loc-big-grid { grid-template-columns: 1fr; }
  .loc-big-time { font-size: 3rem; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  html { cursor: auto; }
  #cursor { display: none; }
  button { cursor: pointer; }
  .btn { cursor: pointer; }
  .faq-q { cursor: pointer; }
  .nl-btn { cursor: pointer; }
  .burger { cursor: pointer; }
  /* On mobile, hero-proof stats are redundant since proof-band-full shows below */
  .hero-proof { display: none; }
  .hero-rotate { min-height: auto; }
  .hero-rotate-item { position: relative; top: auto; left: auto; }
  .hero-rotate-item:not(.active) { display: none; }
}

@media (max-width: 600px) {
  .hero-h1 { font-size: clamp(2.8rem, 12vw, 5rem); letter-spacing: -0.04em; }
  .hero-proof { flex-wrap: wrap; justify-content: flex-start; }
  .hero-proof-item { align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  #cta-band { padding: 96px 0; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL PROGRESS BAR ────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--white);
  z-index: 9997;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── SERVICE TAB NAV ────────────────────────────────────── */
.svc-tab-bar {
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: calc(38px + 80px); /* topbar + nav */
  z-index: 400;
}
.svc-tab-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-tab-inner::-webkit-scrollbar { display: none; }
.svc-tab {
  padding: 18px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  text-decoration: none;
  display: inline-block;
}
.svc-tab:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.3); }
.svc-tab.active { color: var(--white); border-bottom-color: var(--white); }

/* ── HOW WE WORK / PROCESS ──────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.process-step {
  background: var(--black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s var(--ease);
}
.process-step:hover { background: var(--ink-2); }
.process-n {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.process-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.process-desc {
  font-size: 0.875rem;
  color: var(--muted-2);
  line-height: 1.72;
  flex: 1;
}

/* ── LIVE BADGE ─────────────────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}
.live-badge-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.live-badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: #22c55e;
  border-radius: 50%;
  opacity: 0.3;
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping { 0%,100%{transform:scale(1);opacity:0.3} 50%{transform:scale(1.8);opacity:0} }

/* ── TOAST NOTIFICATION ─────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--white);
  color: var(--black);
  padding: 16px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 9990;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast-icon {
  width: 18px; height: 18px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--white);
  flex-shrink: 0;
}

/* ── STATS COUNTER ──────────────────────────────────────── */
.counter { display: inline; }

/* ── STAGGER HELPERS ────────────────────────────────────── */
.d7 { transition-delay: 0.7s; }
.d8 { transition-delay: 0.8s; }
.d9 { transition-delay: 0.9s; }

/* ── SCROLL ANCHOR OFFSET ────────────────────────────────── */
/* Compensates for sticky topbar (38px) + sticky nav (80px) */
section[id], div[id].s-anchor { scroll-margin-top: 124px; }
/* Services page sections sit below the sticky tab bar (extra ~57px) */
#marketing, #ai, #supply-chain, #operations { scroll-margin-top: 182px; }

/* ── SKIP TO CONTENT (accessibility) ───────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--white);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── GHOST TEXT ─────────────────────────────────────────── */
.ghost-wrap { position: relative; overflow: hidden; }
.ghost-text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.ghost-wrap > * { position: relative; z-index: 1; }

/* ── SVG ICONS ──────────────────────────────────────────── */
.c-item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-item-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--muted);
  opacity: 0.5;
}
.svc-row-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.25s, color 0.25s;
}
.svc-row:hover .svc-row-icon { opacity: 1; color: var(--white); }

/* ── KOALAND.AI SISTER PLATFORM ─────────────────────────── */
.kaband {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}
.kaband-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.kaband-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.kaband-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.35;
}
.kaband-title {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 20px;
}
.kaband-sub {
  font-size: 0.875rem;
  color: var(--muted-2);
  line-height: 1.7;
  max-width: 300px;
}
.kaband-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.kaband-feat {
  background: var(--black);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.25s var(--ease);
}
.kaband-feat:hover { background: var(--ink-3); }
.kaband-feat-icon {
  width: 30px; height: 30px;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kaband-feat-icon svg {
  width: 13px; height: 13px;
  color: var(--muted-2);
}
.kaband-feat-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.kaband-feat-desc {
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.55;
}

/* ── TEAM ROLE STACK ────────────────────────────────────── */
.team-role-stack { display: flex; flex-direction: column; gap: 3px; }
.team-role-primary {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-role-secondary {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
}

@media (max-width: 860px) {
  .kaband-inner { grid-template-columns: 1fr; gap: 48px; }
  .kaband-grid { grid-template-columns: 1fr; }
  .kaband-sub { max-width: 100%; }
  .ghost-text { display: none; }
}

/* ── ROTATING HERO TAGLINE ──────────────────────────────── */
.hero-rotate {
  position: relative;
  min-height: 7rem;
  margin-bottom: 0;
}
.hero-rotate-item {
  position: absolute;
  top: 0; left: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 440px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.hero-rotate-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-rotate-item.exit {
  opacity: 0;
  transform: translateY(-10px);
}

/* ── HERO TRUST LINE ────────────────────────────────────── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hero-trust-sep {
  width: 3px; height: 3px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── REVIEW AVATAR ──────────────────────────────────────── */
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.review-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

/* ── STANDALONE PROOF BAND ──────────────────────────────── */
.proof-band-full {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
}
.proof-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.proof-band-cell {
  padding: 72px 56px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}
.proof-band-cell:last-child { border-right: none; }
.proof-band-cell:hover { background: var(--ink-2); }
.proof-band-n {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--white);
}
.proof-band-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: 0.02em;
  max-width: 200px;
}
.proof-band-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}
@media (max-width: 860px) {
  .proof-band-inner { grid-template-columns: repeat(3, 1fr); }
  .proof-band-cell { padding: 36px 20px; border-bottom: none; }
  .proof-band-cell:last-child { border-right: none; }
  .proof-band-n { font-size: clamp(2rem, 8vw, 3.5rem); }
  .proof-band-label { font-size: 0.7rem; max-width: 100%; }
  .proof-band-sub { font-size: 0.55rem; }
}

/* ── MOBILE HORIZONTAL SCROLL CARDS ────────────────────── */
@media (max-width: 860px) {
  .h-scroll-mobile {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin: 0 -24px;
    padding: 0;
  }
  .h-scroll-mobile::-webkit-scrollbar { display: none; }
  .h-scroll-mobile > * {
    scroll-snap-align: start;
    flex-shrink: 0;
    min-width: 82vw;
    border: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   DESIGN ENHANCEMENT ROUND 5
   Grain · Canvas · Browser Mockup · Footer Marquee · Etc.
════════════════════════════════════════════════════════════ */

/* ── 01 GRAIN TEXTURE ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
}

/* ── 02 HERO CANVAS (network constellation) ─────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-body,
.hero-rule,
.hero-meta { position: relative; z-index: 1; }

/* ── 03 HERO BIG BACKGROUND NUMBER ─────────────────────── */
.hero-bg-num {
  position: absolute;
  right: -0.04em;
  bottom: 8%;
  font-size: clamp(14rem, 26vw, 28rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── 04 BACK TO TOP ─────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
  pointer-events: none;
  cursor: none;
}
#back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-top:hover { background: var(--warm); }
#back-top svg { width: 15px; height: 15px; }

/* ── 05 PAGE TRANSITION VEIL ────────────────────────────── */
#page-veil {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9993;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-in);
}
#page-veil.active { opacity: 1; pointer-events: all; }

/* ── 06 CURSOR TRAIL ────────────────────────────────────── */
.c-trail {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
}

/* ── 07 SERVICE ROW HOVER STAT ──────────────────────────── */
.svc-name {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-stat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s, margin-top 0.3s var(--ease);
}
.svc-row:hover .svc-stat { max-height: 24px; opacity: 0.7; margin-top: 6px; }

/* ── 08 FEATURED REVIEW BREAKOUT ────────────────────────── */
.review-featured {
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.review-featured-q {
  position: absolute;
  top: -0.08em;
  left: -0.04em;
  font-size: clamp(10rem, 20vw, 20rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.review-featured-body {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.review-featured-text {
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 40px;
}
.review-featured-text em { font-style: italic; color: var(--muted-2); font-weight: 300; }
.review-featured-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.review-feat-line { width: 28px; height: 1px; background: var(--border-2); }
.review-feat-name { font-size: 0.78rem; font-weight: 600; color: var(--muted-2); }
.review-feat-role { font-size: 0.72rem; color: var(--muted); }

/* ── 09 REVIEW STAR DOTS ────────────────────────────────── */
.review-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
}
.review-star {
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.55;
}

/* ── 10 BROWSER MOCKUP (kaband) ─────────────────────────── */
.kab-browser {
  border: 1px solid var(--border-2);
  overflow: hidden;
  background: var(--ink-3);
  margin-bottom: 1px;
}
.kab-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.kab-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.kab-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.kab-dots span:nth-child(1) { background: #ff5f57; }
.kab-dots span:nth-child(2) { background: #ffbd2e; }
.kab-dots span:nth-child(3) { background: #28c840; }
.kab-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  font-size: 0.63rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.kab-body { padding: 20px 20px 16px; }
.kab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.kab-head-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kab-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22c55e;
}
.kab-live-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: ping 2s ease-in-out infinite;
}
.kab-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.kab-metric { background: var(--black); padding: 12px 14px; }
.kab-metric-n {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2px;
}
.kab-metric-l {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.kab-chart-wrap { position: relative; height: 70px; }
.kab-chart { width: 100%; height: 70px; overflow: visible; }
.kab-chart-area {
  fill: url(#kabGrad);
}
.kab-chart-line {
  fill: none;
  stroke: rgba(255,255,255,0.75);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.4,0,0.2,1);
}
.kab-chart-line.drawn { stroke-dashoffset: 0; }
.kab-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.kab-axis span {
  font-size: 0.55rem;
  color: var(--muted);
  opacity: 0.45;
  letter-spacing: 0.04em;
}

/* Compact feature list below browser */
.kab-feats-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: none;
}
.kab-feat-c {
  background: var(--black);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--muted-2);
  transition: background 0.2s, color 0.2s;
}
.kab-feat-c:hover { background: var(--ink-3); color: var(--white); }
.kab-feat-c::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s;
}
.kab-feat-c:hover::before { background: #22c55e; }

/* ── 11 PROOF BAND WAVE VISUAL ──────────────────────────── */
.proof-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  pointer-events: none;
  overflow: hidden;
}
.proof-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  animation: wave-move 10s linear infinite;
}
@keyframes wave-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 12 FOOTER MARQUEE ──────────────────────────────────── */
.footer-sig {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--black);
}
.footer-sig-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  padding: 12px 0;
}
.footer-sig-item {
  font-size: clamp(3.5rem, 8vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  white-space: nowrap;
  padding-right: 80px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 64px;
}
.footer-sig-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Footer radial warmth */
footer {
  background: radial-gradient(ellipse 80% 60% at 50% 110%, #0e0e0e 0%, var(--black) 65%) !important;
}

/* ── LAYOUT UTILITY CLASSES ─────────────────────────────── */

/* 2-col: sidebar (narrow) + content (wide) - expertise & services detail */
.g-aside {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}
/* 2-col: content (wide) + sidebar (narrow) - flipped for Ozan */
.g-aside-r {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}
/* 2-col: sidebar (narrow) + content (wide) - Murat */
.g-aside-l {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
/* 2-col equal - Who We Are teaser on homepage */
.g-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* 2-col FAQ layout */
.g-faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
/* 2-col inner service lists in expertise */
.g-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
/* 2-col info box (founder stats) */
.g-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   MOBILE ADJUSTMENTS - comprehensive
══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Canvas / decorative */
  #hero-canvas { opacity: 0.35; }
  .hero-bg-num { display: none; }
  .review-featured-q { display: none; }
  .footer-sig-item { font-size: clamp(3rem, 10vw, 5rem); }
  #back-top { bottom: 20px; right: 20px; }
  .kab-feats-compact { grid-template-columns: 1fr; }

  /* ── Layout utility grids → single column ── */
  .g-aside, .g-faq { grid-template-columns: 1fr; gap: 40px; }
  .g-cols { grid-template-columns: 1fr; gap: 28px; }
  .g-info { grid-template-columns: 1fr; }
  /* All g-info cells need top border in single-col view (cells 3+4 had inline border-top for 2-col) */
  .g-info > div { border-top: 1px solid var(--border) !important; }
  .g-info > div:first-child { border-top: none !important; }
  .g-half { grid-template-columns: 1fr; gap: 40px; }

  /* ── Who We Are: flex column so we can use order ── */
  /* align-items:stretch overrides the grid's align-items:start so children fill full width */
  .g-aside-l, .g-aside-r { display: flex; flex-direction: column; gap: 32px; align-items: stretch; }
  .g-aside-l > *, .g-aside-r > * { width: 100%; min-width: 0; }
  /* Ozan: photo is last child on desktop, needs to be first on mobile */
  .g-aside-r > div:last-child { order: -1; }
  /* Photos on who-we-are mobile: full width, tall enough to show full head + hair */
  /* Portrait with slight crop top and bottom - face centred */
  .g-aside-l img, .g-aside-r img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/5 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
  .g-aside-l > div > div:has(img),
  .g-aside-r > div > div:has(img) {
    width: 100% !important;
    overflow: hidden !important;
    aspect-ratio: 4/5;
  }

  /* ── Process grid: clean vertical stack (not horizontal scroll) ── */
  .process-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-direction: unset !important;
    overflow-x: visible !important;
    scroll-snap-type: unset !important;
    background: transparent !important;
    border: 1px solid var(--border) !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .process-grid > .process-step {
    min-width: unset !important;
    scroll-snap-align: unset !important;
    flex-shrink: unset !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 32px 24px !important;
  }
  .process-grid > .process-step:last-child {
    border-bottom: none !important;
  }

  /* ── News grid: clean vertical stack (not horizontal scroll) ── */
  .news-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-direction: unset !important;
    overflow-x: visible !important;
    scroll-snap-type: unset !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 1px !important;
    background: var(--border) !important;
  }
  .news-grid > .news-card {
    min-width: unset !important;
    scroll-snap-align: unset !important;
    flex-shrink: unset !important;
    border: none !important;
    margin: 0 !important;
  }

  /* ── Footer: compact 2-column nav, brand full-width ── */
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
    margin-bottom: 48px !important;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }
  /* Hide less critical footer tagline/koaland link on very small screens */
  .footer-tagline { max-width: 100%; font-size: 0.8rem; }

  /* ── Services: full mobile reset ── */
  .svc-detail { grid-template-columns: 1fr !important; }
  .svc-sticky {
    position: static !important;
    top: auto !important;
    padding: 28px 0 24px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .svc-content {
    padding: 28px 0 0 !important;
  }
  .svc-section { margin-bottom: 36px !important; }
  /* Tab bar: scrollable, smaller */
  .svc-tab { padding: 14px 16px; font-size: 0.65rem; }
  /* Reduce t-title size in service headings on mobile */
  .svc-sticky .t-title { font-size: clamp(1.5rem, 6vw, 2rem) !important; }

  /* ── Expertise overview cards: 2 cols on mobile ── */
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-card { padding: 36px 20px 64px; min-height: 200px; }

  /* ── Client cells: taller for text ── */
  .client-cell { height: 72px; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── COOKIE BANNER ──────────────────────────────────────── */
#cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9980;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 24px;
  background: var(--ink-2);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transform: translateX(-50%) translateY(12px);
}
#cookie-bar.show {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.cookie-text {
  font-size: 0.75rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}
.cookie-text a {
  color: var(--muted-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cookie-text a:hover { color: var(--white); }
.cookie-accept {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cookie-accept:hover { background: var(--muted-3); }
.cookie-dismiss {
  font-size: 0.9rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.cookie-dismiss:hover { color: var(--white); }
@media (max-width: 600px) {
  #cookie-bar {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: translateY(12px);
    white-space: normal;
    flex-wrap: wrap;
    gap: 12px;
  }
  #cookie-bar.show { transform: translateY(0); }
}
