/* ─── thismedia · Creative Tech Studio ────────────────────────────── */

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

:root {
  --bg: #0a0a0a;
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.65);
  --text-mute: rgba(255,255,255,0.45);
  --violet: 155, 120, 255;
  --coral: 255, 95, 95;
  --teal: 95, 234, 255;
  --amber: 253, 161, 64;

  --lg-bg: rgba(255,255,255,0.055);
  --gm-bg: rgba(255,255,255,0.04);
  --gm-border: rgba(255,255,255,0.08);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Ambient glow field ─────────────────────────────────────────── */
.glow-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
}
.glow.violet {
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(var(--violet),1) 0%, rgba(var(--violet),0) 65%);
  top: -280px; right: -220px;
  opacity: 0.34;
}
.glow.coral {
  width: 860px; height: 860px;
  background: radial-gradient(circle, rgba(var(--coral),1) 0%, rgba(var(--coral),0) 65%);
  bottom: -300px; left: -260px;
  opacity: 0.34;
}
.glow.teal {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(var(--teal),0.7) 0%, rgba(var(--teal),0) 65%);
  top: 40%; left: 35%;
  opacity: 0.25;
}
.glow.amber {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(var(--amber),0.85) 0%, rgba(var(--amber),0) 65%);
  top: 110%; left: 60%;
  opacity: 0.22;
}

/* Grain noise */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ─── Liquid glass material ──────────────────────────────────────── */
.liquid-glass {
  position: relative;
  background: var(--lg-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transform: translateZ(0);
  will-change: transform;
  border-radius: 20px;
  box-shadow:
    0 10px 40px -12px rgba(0,0,0,0.55),
    0 2px 12px -2px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 1px 0 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    inset -1px 0 0 rgba(0,0,0,0.25);
  border: 1px solid transparent;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.35) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* ─── Glassmorphism material ─────────────────────────────────────── */
.glass {
  background: var(--gm-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transform: translateZ(0);
  border: 0.5px solid var(--gm-border);
  border-radius: 16px;
}

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 1240px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
  transition: backdrop-filter .3s, background .3s;
}
.nav.scrolled {
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(255,255,255,0.065);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo .mark {
  width: 20px; height: 20px;
  color: #fff;
  display: inline-block;
}
.nav-logo .mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 450;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0a0a0a;
  font-weight: 500;
  font-size: 13px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .15s, background .2s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }

.nav-burger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger svg { width: 18px; height: 18px; }

/* Hidden on desktop — shown only in mobile via media query */
.mobile-panel { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav > .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }

  .nav {
    flex-wrap: wrap;
    transition:
      background .3s cubic-bezier(.22,.61,.36,1),
      backdrop-filter .3s,
      border-radius .35s cubic-bezier(.22,.61,.36,1),
      padding .3s cubic-bezier(.22,.61,.36,1);
  }
  .nav.menu-open {
    border-radius: 24px;
    padding: 10px 14px 16px 20px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: rgba(14,14,14,0.88);
  }

  /* Always flex in mobile — animated with max-height + opacity */
  .mobile-panel {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    overflow: hidden;
    /* Closed state */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    transition:
      max-height .38s cubic-bezier(.22,.61,.36,1),
      opacity .28s ease,
      margin-top .3s ease,
      padding-top .3s ease,
      border-color .3s ease;
  }
  /* Open state */
  .nav.menu-open .mobile-panel {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 10px;
    padding-top: 12px;
    border-top-color: rgba(255,255,255,0.08);
  }

  .mobile-panel a {
    color: #fff; text-decoration: none;
    padding: 12px 14px; border-radius: 12px;
    font-size: 17px; font-weight: 450;
    letter-spacing: -0.01em;
    transition: background .2s;
  }
  .mobile-panel a:hover { background: rgba(255,255,255,0.06); }
  .mobile-panel .nav-cta {
    display: block; margin-top: 8px; text-align: center;
    padding: 14px 16px; font-size: 14px;
  }
}

/* ─── Layout ─────────────────────────────────────────────────────── */
main { position: relative; z-index: 2; }
section { position: relative; padding: 120px 24px; }
.container { max-width: 1240px; margin: 0 auto; width: 100%; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: rgba(255,255,255,0.3);
  display: inline-block;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 180px 24px 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-inner { max-width: 1240px; margin: 0 auto; width: 100%; }
.hero h1 {
  font-size: clamp(44px, 8.2vw, 128px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 24px 0 28px;
  max-width: 12ch;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, rgb(var(--coral)) 0%, rgb(var(--amber)) 50%, rgb(var(--teal)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0 0 44px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: transform .18s, background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255,255,255,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-inverted {
  background: rgba(255,255,255,0.9);
  color: #0a0a0a;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 20px 60px -16px rgba(255,255,255,0.35),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}
.btn-inverted:hover { background: #fff; transform: translateY(-2px); }
.btn-arrow { transition: transform .2s; display: inline-flex; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

/* Hero meta strip */
.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .k { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; }
.hero-meta .v { font-size: 15px; color: var(--text); font-weight: 450; }

/* Hero floating mark */
.hero-mark {
  position: absolute;
  right: 4%;
  top: 26%;
  width: min(300px, 26vw);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.5;
  animation: hero-float 7s ease-in-out infinite;
  color: rgba(255,255,255,0.85);
}
.hero-mark svg { width: 100%; height: 100%; }
@keyframes hero-float {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-24px) rotate(2deg); }
}
@media (max-width: 900px) { .hero-mark { display: none; } }

/* ─── Section header ─────────────────────────────────────────────── */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 16px 0 0;
  max-width: 18ch;
}
.sec-head p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}

/* ─── Services grid ──────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 32px 28px 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: default;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s;
  border-radius: 22px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 60px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.service-card .num {
  font-size: 11px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: 26px;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 8px 0 4px;
}
.service-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 8px;
  flex: 1;
}
.service-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.service-card .tag {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 0.5px solid rgba(255,255,255,0.08);
}
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: #fff;
}
.service-card .icon svg { width: 20px; height: 20px; }

/* ─── Projects (asymmetric) ──────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 16px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.project-card:hover { transform: translateY(-3px); }
.project-card .bg {
  position: absolute;
  inset: 0;
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .4s;
}
.project-card:hover .bg { transform: scale(1.04); filter: brightness(1.08); }

.project-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.project-overlay .meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project-overlay .tag {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.project-overlay h4 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  color: #fff;
}
.project-overlay .go {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  transition: background .2s, transform .2s;
}
.project-card:hover .project-overlay .go { background: #fff; color: #0a0a0a; transform: rotate(-45deg); }
.project-overlay .go svg { width: 16px; height: 16px; }

/* Grid placements */
.p-large { grid-column: span 7; grid-row: span 4; }
.p-tall  { grid-column: span 5; grid-row: span 4; }
.p-wide  { grid-column: span 8; grid-row: span 3; }
.p-sm    { grid-column: span 4; grid-row: span 3; }
.p-med   { grid-column: span 6; grid-row: span 3; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 14px; }
  .p-large, .p-tall, .p-wide, .p-sm, .p-med { grid-column: span 1; grid-row: span 1; }
}

/* Project gradient backgrounds */
.bg-1 { background: linear-gradient(135deg, #2a1244 0%, #6c2bd9 50%, #f472b6 100%); }
.bg-2 { background: linear-gradient(135deg, #052e26 0%, #0ea5e9 60%, #5feaff 100%); }
.bg-3 { background: linear-gradient(135deg, #3a0a0a 0%, #ff5f5f 60%, #fda140 100%); }
.bg-4 { background: linear-gradient(135deg, #0c0c0c 0%, #3a3a3a 60%, #b0b0b0 100%); }
.bg-5 { background: linear-gradient(135deg, #1a0030 0%, #0081ff 70%); }
.bg-6 { background: linear-gradient(135deg, #0a1a0a 0%, #00963b 60%, #c9ffb4 100%); }

.bg-tex::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(0,0,0,0.35), transparent 40%);
}

/* ─── Why Us ─────────────────────────────────────────────────────── */
.why-panel {
  padding: 72px 56px;
  border-radius: 28px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.why-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-item:nth-child(2n) { border-right: none; }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
.why-item .num {
  font-size: 12px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.why-item h3 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.why-item p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 760px) {
  .why-panel { padding: 40px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .why-item:last-child { border-bottom: none; }
}

/* ─── Clients ────────────────────────────────────────────────────── */
.clients {
  padding: 80px 24px;
  background: #000;
  position: relative;
  z-index: 3;
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
}
.client-cell {
  background: #060606;
  padding: 38px 20px;
  display: grid;
  place-items: center;
  min-height: 110px;
  transition: background .2s;
}
.client-cell:hover { background: #0e0e0e; }
.client-cell span {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: italic;
}
@media (max-width: 840px) { .clients-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-row { grid-template-columns: repeat(2, 1fr); } }

/* ─── Private portfolio card (below projects grid) ───────────────── */
.ppc-card {
  margin-top: 16px;
  padding: 32px 40px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}
.ppc-card:hover { transform: translateY(-3px); }
.ppc-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ppc-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.ppc-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 640px) {
  .ppc-card { padding: 24px 20px; gap: 20px; }
}

/* (private-cta section removed — replaced by p-private grid card) */

/* ─── Final CTA ──────────────────────────────────────────────────── */
.cta-wrap {
  padding: 140px 24px 160px;
  position: relative;
  text-align: center;
}
.cta-card {
  padding: 80px 56px;
  border-radius: 36px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0 24px;
}
.cta-card p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto 40px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) { .cta-card { padding: 48px 28px; } }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 3;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  padding: 60px 24px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-top-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand .logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 18px; letter-spacing: -0.02em;
}
.footer-brand .logo svg { width: 100%; height: 100%; }
.footer-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #fff; text-decoration: none; font-size: 14px; opacity: 0.8; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom-links { display: flex; gap: 20px; align-items: center; }
.footer-bottom a { color: var(--text-mute); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 760px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ─── Project Modal ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade-in .2s ease-out;
}
.modal-backdrop[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.modal {
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  overflow: auto;
  padding: 0;
  border-radius: 28px;
  animation: pop .25s cubic-bezier(.22,1.2,.36,1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-hero { height: 320px; position: relative; border-radius: 28px 28px 0 0; overflow: hidden; }
.modal-hero .close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.14);
  color: #fff; display: grid; place-items: center; cursor: pointer;
}
.modal-hero .close svg { width: 16px; height: 16px; }
.modal-body { padding: 36px 40px 40px; }
.modal-body .tag { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.14em; }
.modal-body h3 { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; margin: 10px 0 16px; line-height: 1; }
.modal-body p { color: var(--text-dim); line-height: 1.6; font-size: 15px; }
.modal-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 28px 0 12px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-meta .k { font-size: 10.5px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; }
.modal-meta .v { font-size: 14px; color: #fff; margin-top: 4px; }
@media (max-width: 640px) {
  .modal-body { padding: 24px; }
  .modal-body h3 { font-size: 28px; }
  .modal-meta { grid-template-columns: 1fr 1fr; }
}

/* ─── Scroll animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .glow-field { display: none; }
}
