/* ==========================================================================
   Azaria Digital — Chroma Edition (Neo-Editorial Creative Agency Theme)
   Palette: Electric Cyan & Violet accents on Deep Charcoal
   Typography: Space Grotesk (display) + Outfit (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #090a0f;
  --bg-soft: #0e1017;
  --bg-card: #151824;
  --ink: #f5f6fa;
  --ink-dim: #9aa1b8;
  --ink-faint: #5b6278;

  --accent-cyan: #00f2fe;
  --accent-violet: #8a2be2;
  --accent-pink: #ff2a85;
  --glow: rgba(0, 242, 254, 0.25);

  --gradient-brand: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 50%, var(--accent-pink) 100%);
  --gradient-accent: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);

  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(0, 242, 254, 0.3);

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font: 'Outfit', -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent-cyan); color: #000; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Scroll Reveal ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--accent-cyan);
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav__logo-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 16px var(--glow);
  position: relative;
}
.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}
.nav__logo-thin { font-weight: 400; opacity: 0.6; color: var(--ink-dim); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s ease;
  position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--accent-cyan); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-bright);
  color: var(--ink) !important;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.nav__cta:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.12) 0%, transparent 50%),
              var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg img {
  width: min(110%, 1500px);
  height: auto;
  opacity: 0.35;
  filter: contrast(1.1) saturate(1.2);
  mix-blend-mode: screen;
  transform: translateX(12%);
  animation: heroFloat 14s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateX(12%) scale(1); }
  to   { transform: translateX(6%) scale(1.05); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(9,10,15,0.7) 40%, rgba(9,10,15,0.15) 80%),
    linear-gradient(0deg, var(--bg) 2%, transparent 30%),
    linear-gradient(180deg, rgba(9,10,15,0.6) 0%, transparent 22%);
}
.hero__content { position: relative; z-index: 2; padding-block: 140px 100px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}
.hero__kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.8rem, 11vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero__line { display: block; }
.hero__line--thin {
  font-weight: 300;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: clamp(1.5rem, 10vw, 10rem);
}
.hero__sub {
  max-width: 500px;
  margin-top: 36px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 4px 24px rgba(0, 242, 254, 0.3);
}
.btn--primary:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
}
.btn--ghost {
  border: 1px solid var(--line-bright);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover {
  border-color: var(--accent-violet);
  background: rgba(138, 43, 226, 0.15);
  color: #fff;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 22px;
  background: var(--bg-soft);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee__track span::after {
  content: "✦";
  color: var(--accent-pink);
  font-size: 0.8rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.section { padding-block: 130px; position: relative; }
.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.index--light { color: var(--accent-pink); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: 18px;
  max-width: 540px;
  color: var(--ink-dim);
  font-weight: 300;
  font-size: 1.05rem;
}
.section-head { margin-bottom: 72px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about__body .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 24px;
  color: var(--ink);
}
.about__body .lead strong {
  font-weight: 600;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about__body p { color: var(--ink-dim); font-weight: 300; }
.about__body p + p { margin-top: 18px; }

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,242,254,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat:hover::before { opacity: 1; }
.stat:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.tags li {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}
.tags li:hover {
  border-color: var(--accent-violet);
  color: #fff;
  background: rgba(138, 43, 226, 0.15);
  transform: translateY(-2px);
}

/* ---- Split feature rows --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split + .split { margin-top: 96px; }
.split__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.split__media .badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(9,10,15,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-bright);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.split__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.split__body p { color: var(--ink-dim); margin-bottom: 16px; font-weight: 300; }
.split__body ul {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.split__body ul li {
  color: var(--ink-dim);
  padding-left: 26px;
  position: relative;
  font-size: 0.98rem;
}
.split__body ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  top: 0.3em;
}
.split--flip .split__media { order: 2; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr minmax(240px, 34%);
  gap: 36px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.35s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,242,254,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }

.service__num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-faint);
  transition: color 0.3s ease;
}
.service:hover .service__num { color: var(--accent-cyan); }

.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.service__title .arrow {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.service:hover .service__title { transform: translateX(10px); color: #fff; }
.service:hover .service__title .arrow { opacity: 1; transform: none; }
.service__desc { margin-top: 10px; color: var(--ink-dim); font-weight: 300; }
.service__items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
}
.service__items li {
  font-size: 0.85rem;
  color: var(--ink-faint);
  position: relative;
  padding-left: 18px;
}
.service__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}
.service__what {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-dim);
  border-left: 2px solid var(--accent-cyan);
  padding-left: 16px;
  font-style: italic;
  font-weight: 300;
}
.service__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-dim);
  border-left: 2px solid var(--accent-violet);
  padding-left: 24px;
}

/* ==========================================================================
   WORK / PORTFOLIO
   ========================================================================== */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.filter__btn {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter__btn:hover { border-color: var(--line-bright); color: #fff; }
.filter__btn.is-active {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), border-color 0.4s ease;
}
.work-item.is-hidden { display: none; }
.work-item:hover { border-color: var(--line-bright); }
.work-item__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.work-item__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
  filter: saturate(0.9);
}
.work-item:hover .work-item__media img { transform: scale(1.06); filter: saturate(1.15); }
.work-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9,10,15,0.95) 100%);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.work-item:hover .work-item__overlay { opacity: 0.95; }
.work-item__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-item__cat {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.work-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
}
.work-item__view {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  background: rgba(9,10,15,0.6);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}
.work-item:hover .work-item__view {
  opacity: 1;
  transform: none;
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--glow);
}
.work-item__featured { grid-column: 1 / -1; }
.work-item__featured .work-item__media { aspect-ratio: 21 / 9; }
.work-item__featured .work-item__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { border-top: 1px solid var(--line); }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.process__step:hover { padding-left: 20px; }
.process__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.process__step .ghost {
  position: absolute;
  right: 0;
  top: 30px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.process__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.process__step:hover .process__title { color: var(--accent-cyan); }
.process__desc { color: var(--ink-dim); max-width: 640px; font-weight: 300; }
.process__points {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.process__points li {
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding-left: 18px;
  position: relative;
}
.process__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(138, 43, 226, 0.15) 0%, transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
  text-align: center;
}
.manifesto__inner { max-width: 900px; margin-inline: auto; }
.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.manifesto__quote em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto__sign {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.quote {
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-card);
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-bright); }
.quote__mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-cyan);
  opacity: 0.4;
  font-family: var(--font-display);
}
.quote__text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 12px 0 28px;
  font-weight: 300;
  color: var(--ink);
}
.quote__by {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #000;
  font-size: 0.95rem;
}
.quote__name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.quote__role { font-size: 0.82rem; color: var(--ink-faint); }
.quote__stars { color: var(--accent-cyan); letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 12px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.post:hover { transform: translateY(-6px); border-color: var(--line-bright); }
.post__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card);
}
.post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease);
}
.post:hover .post__media img { transform: scale(1.06); filter: saturate(1.15); }
.post__body { padding: 28px; }
.post__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.post__meta .cat { color: var(--accent-cyan); }
.post__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 14px;
}
.post:hover .post__title { color: var(--accent-cyan); }
.post__excerpt { font-size: 0.95rem; color: var(--ink-dim); margin-bottom: 20px; font-weight: 300; }
.post__read {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post__read .arrow { transition: transform 0.3s var(--ease); }
.post:hover .post__read .arrow { transform: translateX(6px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.25s ease;
}
.faq__q:hover { color: var(--accent-cyan); }
.faq__q .icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--accent-cyan);
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.faq__item.is-open .faq__q { color: var(--accent-cyan); }
.faq__item.is-open .faq__q .icon { background: var(--accent-cyan); color: #000; transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a p {
  padding-bottom: 28px;
  color: var(--ink-dim);
  max-width: 760px;
  font-weight: 300;
}
.faq__item.is-open .faq__a { max-height: 420px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin-inline: auto;
}
.contact__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.contact__card:hover { transform: translateY(-4px); border-color: var(--line-bright); }
.contact__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact__value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-weight: 600;
  word-break: break-all;
}
.contact__card:hover .contact__value { color: var(--accent-cyan); }
.contact__arrow {
  position: absolute;
  right: 32px;
  bottom: 28px;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.contact__card:hover .contact__arrow { transform: none; opacity: 1; }

.form {
  display: grid;
  gap: 24px;
  margin-top: 60px;
  max-width: 960px;
  margin-inline: auto;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field label .req { color: var(--accent-pink); }
.field input,
.field select,
.field textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa1b8' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}
.form__note { font-size: 0.85rem; color: var(--ink-faint); }
.form__success {
  display: none;
  padding: 22px 28px;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  font-size: 1rem;
}
.form.is-sent .form__success { display: block; }

/* ==========================================================================
   SPEC-PAGE & COMPONENT STYLES (About, Team, Clients, Brand Guide)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-dim); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb .sep { color: var(--accent-pink); }
.breadcrumb .current { color: var(--accent-cyan); }

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.member:hover { transform: translateY(-6px); border-color: var(--line-bright); }
.member__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.member__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.05); filter: saturate(1.15); }
.member__body { padding: 28px; }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 4px; }
.member__role { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--accent-cyan); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.member__bio { font-size: 0.92rem; color: var(--ink-dim); font-weight: 300; }

/* Clients Strip */
.clients {
  padding-block: 60px;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  text-align: center;
}
.clients__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.clients__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  opacity: 0.7;
}

/* Brand Guide page specific */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.swatch {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.swatch__chip { height: 110px; }
.swatch__meta { padding: 18px; }
.swatch__name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.swatch__hex { font-family: var(--font-display); font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.08em; margin-top: 4px; }

.type-specimen {
  display: grid;
  gap: 32px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-card);
}
.type-specimen h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.type-specimen .sample { font-size: 1.1rem; color: var(--ink-dim); max-width: 680px; font-weight: 300; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.spec-table th {
  font-family: var(--font-display);
  color: var(--ink-faint);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 40%;
}
.tone-words { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tone-word {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}
.tone-word:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* Blog article body (blog/*.html) */
.article {
  max-width: 780px;
  margin-inline: auto;
}
.article__header { margin-bottom: 56px; }
.article__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.article__meta .cat { color: var(--accent-cyan); }
.article h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.article h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.article p { color: var(--ink-dim); font-weight: 300; font-size: 1.05rem; line-height: 1.75; margin-bottom: 20px; }
.article p + p { margin-top: 0; }
.article strong { color: var(--ink); font-weight: 600; }
.article em { color: var(--accent-cyan); }
.article ul, .article ol {
  margin: 0 0 24px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}
.article li { color: var(--ink-dim); font-weight: 300; }
.article blockquote {
  border-left: 3px solid var(--accent-cyan);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.article__hero-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  margin-bottom: 48px;
  aspect-ratio: 21 / 9;
}
.article__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article__footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.article__back {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags span {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: var(--bg-soft);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer__blurb {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 320px;
  font-weight: 300;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a {
  font-size: 0.95rem;
  color: var(--ink-dim);
  transition: color 0.2s ease;
  font-weight: 300;
}
.footer__col a:hover { color: var(--accent-cyan); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 36px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.footer__socials { display: flex; gap: 24px; }
.footer__socials a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}
.footer__socials a:hover { color: var(--accent-cyan); }

/* ---- Back to top ---------------------------------------------------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 20px var(--glow); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .service { grid-template-columns: 60px 1fr; }
  .service__quote { grid-column: 2; margin-top: 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split__media { order: 0; }
  .quotes { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item__featured .work-item__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .section { padding-block: 88px; }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(9, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; z-index: 2; position: relative; }

  .hero__content { padding-block: 120px 80px; }
  .hero__bg img { opacity: 0.25; transform: translateX(0) scale(1.15); }
  .hero__line--thin { margin-left: 2rem; }

  .contact__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .process__step { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .process__step .ghost { position: static; font-size: 2.8rem; display: block; margin-bottom: 8px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Page title & lede helpers for blog/inner pages */
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-lede {
  margin-top: 20px;
  max-width: 680px;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.7;
}
