/* ============================================
   FIXX MEDIA — Main Stylesheet
   ============================================ */

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

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Backgrounds */
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;

  /* Text */
  --text: #ebebeb;
  --text-muted: #7c7c7c;
  --text-subtle: #3a3a3a;

  /* Accent — light blue */
  --accent: #47d4ff;
  --accent-dark: #25bce8;
  --accent-hover: #7ae3ff;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Layout */
  --max-width: 1280px;
  --side-pad: 48px;

  --transition: 0.25s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ============================================
   Utilities
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.accent { color: var(--accent); }

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-bottom var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Logo — image version */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  max-height: 80px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--accent);
  color: #000;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}

.nav__mobile a:hover { color: var(--accent); }

.nav__mobile .btn--primary {
  font-size: 16px;
  margin-top: 12px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn--primary {
  background: var(--accent);
  color: #000;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* ============================================
   Section Labels & Headings
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ============================================
   Hero — Home
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--side-pad) 100px;
  position: relative;
  overflow: hidden;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(71, 212, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
}

.hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.5vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 960px;
  margin-bottom: 36px;
}

.hero__headline .line-accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: var(--side-pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--text-subtle);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px var(--side-pad);
}

.stats__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}


.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Marquee
   ============================================ */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--surface);
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee__item::after {
  content: '✦';
  color: var(--accent);
  font-size: 9px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   About / Who We Are — Home
   ============================================ */
.about-brief {
  padding: var(--space-2xl) var(--side-pad);
}

.about-brief__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-brief__text .section-sub {
  max-width: 100%;
  margin-bottom: 20px;
}

.about-brief__text .section-sub:last-child { margin-bottom: 0; }

/* Credential cards */
.about-brief__creds { display: flex; flex-direction: column; gap: 12px; }

.cred-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.cred-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.cred-card__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.cred-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  display: block;
}

.cred-card__sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Headshot placeholder inside About */
.about-brief__photo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================
   Image Placeholders (shared)
   ============================================ */
.img-placeholder {
  background: var(--surface);
  border: 1px dashed rgba(71, 212, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.img-placeholder--portrait {
  width: 100%;
  aspect-ratio: 3/4;
}

.img-placeholder--landscape {
  width: 100%;
  aspect-ratio: 16/7;
}

.img-placeholder--16-9 {
  width: 100%;
  aspect-ratio: 16/9;
}

.img-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
}

.img-placeholder__icon {
  font-size: 28px;
  color: var(--text-subtle);
  line-height: 1;
  margin-bottom: 4px;
}

.img-placeholder p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 240px;
}

.img-placeholder strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

/* ============================================
   Workspace / Image Break Section
   ============================================ */
.img-break {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px var(--side-pad);
}

.img-break__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.img-break__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

/* ============================================
   Services Overview — Home
   ============================================ */
.services-overview {
  padding: var(--space-2xl) var(--side-pad);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-overview__inner { max-width: var(--max-width); margin: 0 auto; }

.services-overview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  padding: 36px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
}

.service-card.core {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border-color: rgba(71, 212, 255, 0.15);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { border-color: var(--border-strong); }

.service-card.core:hover {
  border-color: rgba(71, 212, 255, 0.3);
}

.service-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card.core .service-card__title { font-size: 34px; }

.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

.service-card__arrow {
  position: absolute;
  top: 36px;
  right: 40px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--transition);
}

.service-card:hover .service-card__arrow {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ============================================
   Founder Section — Home
   ============================================ */
.founder-section {
  padding: var(--space-2xl) var(--side-pad);
  border-top: 1px solid var(--border);
}

.founder-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

.founder-section__text .section-sub {
  max-width: 100%;
  margin-bottom: 20px;
}

.founder-section__text .section-sub:last-child { margin-bottom: 0; }

.founder-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-panel__item {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.founder-panel__item:hover { border-color: var(--border-strong); }

.founder-panel__value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.founder-panel__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Case Study — Home
   ============================================ */
.case-study { padding: var(--space-2xl) var(--side-pad); }

.case-study__inner { max-width: var(--max-width); margin: 0 auto; }

.case-study__header { margin-bottom: 48px; }

.case-study__card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.case-study__visual {
  background: #f0f0f0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.case-study__logo-img {
  max-width: 240px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.case-study__logo-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Legacy text logo (fallback) */
.case-study__logo-text {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.case-study__visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(71, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.case-study__content {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study__client-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-study__name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.case-study__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.case-study__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.tag {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: var(--space-2xl) var(--side-pad);
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner__glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(71, 212, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  max-width: 580px;
}

.cta-banner__heading .line-accent { color: var(--accent); }

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cta-banner__email {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-banner__email a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.cta-banner__email a:hover { color: var(--accent); }

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 64px var(--side-pad) 40px;
  border-top: 1px solid var(--border);
}

.footer__inner { max-width: var(--max-width); margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.footer__logo { margin-bottom: 14px; }

.footer__logo img {
  max-height: 44px;
  width: auto;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 12px; }

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer__copy { font-size: 13px; color: var(--text-subtle); }

.footer__social { display: flex; gap: 20px; }

.footer__social a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__social a:hover { color: var(--accent); }

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
  padding: 160px var(--side-pad) 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(71, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 28px;
}

.page-hero__heading .line-accent { color: var(--accent); }

.page-hero__sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================
   Work / Portfolio Page
   ============================================ */
.worked-with {
  padding: 60px var(--side-pad);
  border-bottom: 1px solid var(--border);
}
.worked-with__inner { max-width: var(--max-width); margin: 0 auto; }
.worked-with__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.industry-tag {
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.industry-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

.work-section {
  padding: var(--space-xl) var(--side-pad);
  border-bottom: 1px solid var(--border);
}

.work-section__inner { max-width: var(--max-width); margin: 0 auto; }

.work-section__header { margin-bottom: 36px; }

.work-section__client {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-section__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.work-section__desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-item__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Video placeholder */
.ig-facade {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.ig-facade:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.ig-facade__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.ig-facade__icon {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.ig-facade:hover .ig-facade__icon { color: var(--accent); }
.ig-facade__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.video-placeholder {
  background: var(--surface);
  border: 1px dashed rgba(71, 212, 255, 0.25);
  border-radius: 10px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.video-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}

.video-placeholder__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.video-placeholder__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.video-placeholder__label {
  font-size: 12px;
  color: var(--text-muted);
}

.video-placeholder__hint {
  font-size: 11px;
  color: var(--text-subtle);
  font-style: italic;
}

.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* ============================================
   Case Study Detail (Work page)
   ============================================ */
.case-detail {
  padding: var(--space-2xl) var(--side-pad);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.case-detail__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case-detail__client {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-detail__name {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1;
}

.case-detail__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.case-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.case-detail__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-stat {
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.result-stat__number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.result-stat__label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.case-detail__visual {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.case-detail__visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(71, 212, 255, 0.07) 0%, transparent 70%);
}

.case-detail__visual-text {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.case-detail__visual-text span { color: var(--accent); }

.case-detail__visual-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Light bg variant for colour logos */
.case-detail__visual--light {
  background: #f0f0f0;
}

.case-detail__visual--light .case-detail__visual-glow {
  display: none;
}

.case-detail__visual-logo-img {
  max-width: 220px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ============================================
   Services Page
   ============================================ */
.core-service {
  padding: var(--space-2xl) var(--side-pad);
  border-bottom: 1px solid var(--border);
}

.core-service__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.core-service__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.feature-item:hover { border-color: var(--border-strong); color: var(--text); }

.feature-item::before {
  content: '→';
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.core-service__panel { position: sticky; top: 100px; }

.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.service-detail-card__heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.service-detail-card__list { display: flex; flex-direction: column; gap: 16px; }

.detail-item { display: flex; align-items: flex-start; gap: 14px; }

.detail-item__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.detail-item__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.additional-services {
  padding: var(--space-2xl) var(--side-pad);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.additional-services__inner { max-width: var(--max-width); margin: 0 auto; }

.additional-services__header { margin-bottom: 56px; }

.additional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.additional-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.additional-card:hover { border-color: var(--border-strong); }

.additional-card__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  line-height: 1;
  margin-bottom: 28px;
}

.additional-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.additional-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.process-section { padding: var(--space-2xl) var(--side-pad); }

.process-section__inner { max-width: var(--max-width); margin: 0 auto; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.process-step {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface); }

.process-step__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  line-height: 1;
  margin-bottom: 24px;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: var(--space-xl) var(--side-pad) var(--space-2xl);
}

.contact-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info { position: sticky; top: 100px; }

.contact-info__intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.contact-detail-item { display: flex; flex-direction: column; gap: 4px; }

.contact-detail-item__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.contact-detail-item__value { font-size: 15px; color: var(--text); }

.contact-detail-item__value a { transition: color var(--transition); }

.contact-detail-item__value a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}

.contact-form__heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-subtle); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(71, 212, 255, 0.5);
}

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-select-wrap { position: relative; }

.form-select-wrap::after {
  content: '↓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 14px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --side-pad: 32px;
    --space-2xl: 100px;
    --space-xl: 64px;
  }

  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .about-brief__inner { grid-template-columns: 1fr; gap: 52px; }

  .services-overview__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .service-card.core { grid-column: 1; }

  .case-study__card { grid-template-columns: 1fr; }

  .case-study__visual {
    min-height: 280px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .cta-banner__actions { align-items: flex-start; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .work-grid { grid-template-columns: 1fr; }

  .case-detail__inner { grid-template-columns: 1fr; gap: 48px; }

  .core-service__inner { grid-template-columns: 1fr; gap: 52px; }

  .core-service__panel { position: static; }

  .additional-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .process-step:last-child { border-bottom: none; }

  .contact-section__inner { grid-template-columns: 1fr; gap: 52px; }

  .contact-info { position: static; }

  .founder-section__inner { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  :root {
    --side-pad: 20px;
    --space-2xl: 80px;
    --space-xl: 56px;
  }

  .nav { padding: 16px var(--side-pad); }

  .nav__links, .nav__cta { display: none; }

  .nav__hamburger { display: flex; }

  /* Shrink logo so it doesn't dominate the mobile nav */
  .nav__logo-img { max-height: 44px; }

  .hero {
    padding: 110px var(--side-pad) 72px;
    min-height: auto;
  }

  /* Prevent hero headline from overflowing on small phones */
  .hero__headline {
    font-size: clamp(36px, 10vw, 56px);
    letter-spacing: -0.025em;
  }

  .hero__sub {
    max-width: 100%;
    font-size: 16px;
  }

  .hero__scroll { display: none; }

  /* Stats — smaller numbers in 2-col grid */
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat__number { font-size: 30px; }

  /* Page hero inner pages */
  .page-hero { padding: 120px var(--side-pad) 64px; }
  .page-hero__heading { font-size: clamp(34px, 9vw, 52px); }

  /* Section text — remove max-width so it fills the column */
  .section-sub { max-width: 100%; font-size: 16px; }

  /* Service cards — reduce padding on small screens */
  .service-card { padding: 24px 20px; }

  .additional-grid { grid-template-columns: 1fr; }

  .about-brief__inner { grid-template-columns: 1fr; gap: 40px; }

  /* Case study — home page */
  .case-study__content { padding: 28px 20px; }
  .case-study__name { font-size: 24px; }
  .case-study__visual { min-height: 200px; }
  .case-study__logo-img { max-width: 160px; }

  /* Case detail — work page */
  .case-detail__name { font-size: 26px; }
  .case-detail__results { grid-template-columns: 1fr 1fr; gap: 12px; }
  .result-stat { padding: 16px; }
  .result-stat__number { font-size: 18px; }
  .result-stat__label { font-size: 11px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Contact */
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Work grid */
  .work-grid { grid-template-columns: 1fr; }
  .ig-facade { height: 380px; }

  /* Worked-with tags — smaller on mobile */
  .industry-tag { font-size: 13px; padding: 10px 16px; }

  .img-placeholder--portrait { aspect-ratio: 4/3; }
}
