/* ============================================================
   HitFluence — AI-native software studio
   Design system
   ============================================================ */

:root {
  /* palette */
  --paper:   #F6F5F1;   /* warm paper */
  --paper-2: #EFEEE8;
  --card:    #FFFFFF;
  --ink:     #0B0B0C;   /* near black */
  --ink-2:   #15151A;
  --muted:   #6A6A72;
  --muted-d: #9A9AA4;   /* muted on dark */
  --line:    rgba(11,11,12,0.10);
  --line-d:  rgba(255,255,255,0.12);

  --accent:   #2347FF;  /* electric blue */
  --accent-d: #1736E0;
  --spark:    #FF5836;  /* coral */
  --mint:     #16C098;  /* signal green */

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans:    "Plus Jakarta Sans", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* metrics */
  --maxw: 1240px;
  --gut: 40px;
  --radius: 18px;
  --radius-lg: 26px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
}

/* eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(35,71,255,0.14);
}
.eyebrow.on-dark { color: var(--muted-d); }

/* headings */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(44px, 7vw, 92px); }
.h-lg { font-size: clamp(34px, 4.6vw, 60px); }
.h-md { font-size: clamp(26px, 3vw, 38px); }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; }
em.accent { font-style: italic; color: var(--accent); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 600; font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: var(--line-d); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,245,241,0.82);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: block; object-fit: cover; flex: none;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .25s; }

/* ============================================================
   Hero (dark)
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 168px 0 90px;
  overflow: hidden;
}
.hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 80%);
  opacity: .5;
}
.hero::after { /* glow */
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,71,255,0.35), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-eyebrow { color: var(--muted-d); justify-content: center; }
.hero h1 { color: #fff; margin: 24px 0 22px; }
.hero h1 .tint { color: var(--muted-d); }
.hero .lead { color: #C9C9D2; max-width: 60ch; margin: 0 auto; }
.hero .lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted-d); }
.hero-note a { color: #fff; border-bottom: 1px solid var(--line-d); }

/* ---- hero app showcase: 4 browser windows ---- */
.showcase {
  position: relative; z-index: 2;
  margin-top: 68px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* browser window */
.bwin {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px -32px rgba(0,0,0,0.7);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.bwin:hover { transform: translateY(-8px); box-shadow: 0 56px 100px -34px rgba(0,0,0,0.78); }
@media (prefers-reduced-motion: no-preference) {
  .showcase .bwin { animation: floatY 8s ease-in-out infinite; }
  .showcase .bwin:nth-child(2){ animation-delay: -2s; }
  .showcase .bwin:nth-child(3){ animation-delay: -4s; }
  .showcase .bwin:nth-child(4){ animation-delay: -6s; }
  .showcase .bwin:hover { animation-play-state: paused; }
}
@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

.bwin-bar {
  height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: #f1f0ec; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.bwin-bar .dots { display: flex; gap: 6px; flex: none; }
.bwin-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfcdc6; }
.bwin-bar .dots i:nth-child(1){ background:#ff5f57; } 
.bwin-bar .dots i:nth-child(2){ background:#febc2e; } 
.bwin-bar .dots i:nth-child(3){ background:#28c840; } 
.bwin-bar .url {
  flex: 1; background: #fff; border-radius: 7px; height: 22px;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* app screen — themed via vars set on .app-* */
.scr {
  height: 318px; padding: 22px 24px; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); position: relative; overflow: hidden;
  text-align: left;
}
.scr-nav { display: flex; align-items: center; justify-content: space-between; }
.scr-brand { font-family: var(--display); font-weight: 600; font-size: 15px; }
.scr-mini { display: flex; gap: 14px; align-items: center; }
.scr-mini span { font-size: 11px; color: var(--sub); }
.scr-mini .pill { font-family: var(--mono); font-size: 9px; padding: 4px 9px; border-radius: 999px; background: var(--a); color: #fff; }
.scr-badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--a); margin: 26px 0 12px; }
.scr-title { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.04; letter-spacing: -0.02em; max-width: 14ch; }
.scr-sub { font-size: 12.5px; color: var(--sub); margin-top: 10px; max-width: 30ch; }
.scr-cta { margin-top: auto; display: flex; gap: 9px; align-items: center; }
.scr-cta .go { font-family: var(--sans); font-weight: 600; font-size: 12px; background: var(--a); color: #fff; padding: 9px 15px; border-radius: 999px; }
.scr-cta .ghost { font-size: 12px; color: var(--sub); }
.scr-art { position: absolute; pointer-events: none; }

/* HitTrip — dark travel */
.app-hittrip { --bg:#0C1330; --fg:#fff; --sub:#9aa2c4; --a:#FF6A4D; }
.app-hittrip .scr-art {
  right: -40px; top: 64px; width: 220px; height: 150px; border-radius: 16px;
  background: linear-gradient(140deg,#FF6A4D,#7A5CFF 75%); opacity: .9;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
}
.app-hittrip .scr-avis { position: absolute; right: 18px; top: 196px; display: flex; }
.app-hittrip .scr-avis i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0C1330; margin-left: -8px; background: #c9cbe0; }
.app-hittrip .scr-avis i:nth-child(1){ background:#FFB13B; } 
.app-hittrip .scr-avis i:nth-child(2){ background:#16C098; } 
.app-hittrip .scr-avis i:nth-child(3){ background:#FF6A4D; } 

/* Tiresias Flow — light, deterministic */
.app-tiresias { --bg:#F7F6FB; --fg:#15131F; --sub:#6b6880; --a:#5B3DF5; }
.app-tiresias .scr-score {
  position: absolute; right: 20px; top: 70px; width: 188px;
  background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 14px;
  padding: 14px; box-shadow: 0 18px 40px -18px rgba(40,30,90,0.35);
}
.app-tiresias .scr-score .top { display: flex; align-items: baseline; gap: 6px; }
.app-tiresias .scr-score .n { font-family: var(--display); font-weight: 600; font-size: 28px; color: #15131F; letter-spacing: -0.02em; }
.app-tiresias .scr-score .of { font-size: 11px; color: var(--sub); }
.app-tiresias .scr-score .up { font-family: var(--mono); font-size: 10px; color: var(--mint); margin-left: auto; }
.app-tiresias .scr-score .bars { margin-top: 12px; display: grid; gap: 7px; }
.app-tiresias .scr-score .bars i { height: 6px; border-radius: 4px; background: #ece9f6; display: block; }
.app-tiresias .scr-score .bars i b { display: block; height: 100%; border-radius: 4px; background: var(--a); }

/* NextNest — warm rose dating */
.app-nextnest { --bg:#FFF4F4; --fg:#2A1118; --sub:#9a6b74; --a:#F0466E; }
.app-nextnest .scr-match {
  position: absolute; right: 22px; top: 78px; display: flex; align-items: center; gap: -10px;
}
.app-nextnest .scr-match .card {
  width: 96px; height: 128px; border-radius: 16px; background: linear-gradient(160deg,#FF9FB6,#F0466E);
  box-shadow: 0 18px 36px -16px rgba(180,40,80,0.45);
}
.app-nextnest .scr-match .card:nth-child(2){ margin-left: -34px; transform: rotate(7deg); background: linear-gradient(160deg,#FFC59F,#FF6A8B); }
.app-nextnest .scr-heart { position: absolute; right: 64px; top: 130px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(180,40,80,0.5); color: var(--a); font-size: 16px; }

/* The Wonder Walkers — storybook */
.app-wonder { --bg:#FBF4E4; --fg:#21331C; --sub:#6f7d5e; --a:#2FA36B; }
.app-wonder .scr-walk { position: absolute; right: 16px; top: 92px; width: 210px; height: 150px; }
.app-wonder .scr-walk .ch { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #FBF4E4; }
.app-wonder .scr-walk .ch:nth-of-type(1){ left: 4px; top: 70px; background: linear-gradient(140deg,#2FA36B,#7FCB8E); }
.app-wonder .scr-walk .ch:nth-of-type(2){ left: 74px; top: 36px; background: linear-gradient(140deg,#F0A24B,#FFD08A); }
.app-wonder .scr-walk .ch:nth-of-type(3){ left: 142px; top: 6px; background: linear-gradient(140deg,#5B8DEF,#9FC0FF); }
.app-wonder .scr-walk .path { position: absolute; inset: 0; width: 100%; height: 100%; }

/* real screenshot fills the browser window */
.scr.scr-photo { padding: 0; display: block; }
.scr-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* flagship branded panel */
.flag-show { background: linear-gradient(150deg, var(--g1), var(--g2)); }
.flag-show .bwin { transform: rotate(-1.6deg); }
.flag-show .bwin:hover { transform: rotate(0) translateY(-6px); }

/* ============================================================
   Flagship apps section
   ============================================================ */
.flag-list { display: flex; flex-direction: column; gap: 22px; }
.flag {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--card);
}
.flag:nth-child(even) .flag-show { order: 2; }
.flag-body { padding: 46px; display: flex; flex-direction: column; }
.flag-kicker { display: flex; align-items: center; gap: 11px; }
.flag-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 17px; }
.flag-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.flag-body h3 { font-size: clamp(28px, 3vw, 38px); margin: 20px 0 14px; }
.flag-body p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.flag-feat { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flag-feat span { font-family: var(--mono); font-size: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.flag-actions { margin-top: auto; padding-top: 30px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flag-status { font-family: var(--mono); font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.flag-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.flag-status.soon::before { background: #FFB13B; }
.flag-show { position: relative; min-height: 360px; display: grid; place-items: center; padding: 30px; overflow: hidden; }
.flag-show .bwin { width: 100%; max-width: 440px; }
.flag-show .scr { height: 270px; }

/* ============================================================
   Studio (secondary / consulting)
   ============================================================ */
.studio { background: var(--paper-2); }
.studio-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: end; margin-bottom: 48px; }
.studio-top p { color: var(--muted); font-size: 16px; max-width: 48ch; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .h-lg { margin: 18px 0 18px; }
.section-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; min-height: 230px; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,11,12,0.35); border-color: rgba(11,11,12,0.18); }
.svc-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-2); margin-bottom: 18px;
}
.svc-ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.svc h3 { font-size: 21px; margin-bottom: 9px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc .tags { margin-top: auto; padding-top: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.svc .tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.svc.feature { background: var(--ink); color: #fff; border-color: transparent; }
.svc.feature p { color: #C2C2CC; }
.svc.feature .svc-ic { background: rgba(255,255,255,0.08); }
.svc.feature .svc-ic svg { stroke: #fff; }
.svc.feature .tags span { color: var(--muted-d); border-color: var(--line-d); }

/* ============================================================
   Work / Showcase
   ============================================================ */
.work-list { display: flex; flex-direction: column; gap: 20px; }
.work {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.work:nth-child(even) .work-visual { order: 2; }
.work-body { padding: 46px; display: flex; flex-direction: column; }
.work-body .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.work-body h3 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 14px; }
.work-body p { color: var(--muted); font-size: 16px; max-width: 42ch; }
.work-metrics { margin-top: auto; padding-top: 30px; display: flex; gap: 34px; }
.work-metrics .m .v { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.work-metrics .m .l { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 3px; }
.work-visual { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.work-visual.v-blue { background: linear-gradient(150deg,#16224F,#2347FF); }
.work-visual.v-coral { background: linear-gradient(150deg,#3A1410,#FF5836); }
.work-visual.v-mint { background: linear-gradient(150deg,#06291F,#16C098); }

/* mini phone inside work visual */
.mini-phone {
  width: 196px; background: #fff; border-radius: 26px; border: 6px solid #15151a;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,0.5); overflow: hidden; padding-bottom: 8px;
}
.mini-phone .mp-bar { height: 30px; }
.mini-phone .grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 0 8px; }
.mini-phone .grid3 i { aspect-ratio: 1; border-radius: 6px; background: var(--paper-2); }
.mini-phone .grid3 i:nth-child(3n+1){ background: linear-gradient(135deg,#2347FF,#7A5CFF);} 
.mini-phone .grid3 i:nth-child(3n+2){ background: linear-gradient(135deg,#16C098,#2347FF);} 

/* ============================================================
   Stats band (dark)
   ============================================================ */
.band { background: var(--ink); color: #fff; padding: 88px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.band .st .v { font-family: var(--display); font-weight: 600; font-size: clamp(40px,5vw,64px); letter-spacing: -0.03em; }
.band .st .v small { color: var(--accent); }
.band .st .l { color: var(--muted-d); font-size: 14px; margin-top: 6px; max-width: 22ch; }

/* ============================================================
   Process
   ============================================================ */
.proc-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-top: 1px solid var(--line); }
.proc {
  padding: 30px 24px 30px 0; border-right: 1px solid var(--line);
  position: relative;
}
.proc:last-child { border-right: 0; }
.proc .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.proc h4 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 28px 0 10px; letter-spacing: -0.01em; }
.proc p { color: var(--muted); font-size: 14px; }
.proc .bar { position: absolute; top: -1px; left: 0; width: 38px; height: 2px; background: var(--accent); }

/* ============================================================
   CTA / Contact (dark)
   ============================================================ */
.cta { background: var(--ink); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,71,255,0.30), transparent 62%); pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.cta h2 { color: #fff; margin: 22px 0 22px; }
.cta p { color: #C9C9D2; font-size: 19px; max-width: 52ch; margin: 0 auto 38px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-mailline { margin-top: 30px; font-family: var(--mono); font-size: 13px; color: var(--muted-d); }
.cta-mailline a { color: #fff; border-bottom: 1px solid var(--line-d); }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--ink); color: #fff; border-top: 1px solid var(--line-d); padding: 54px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot-tag { color: var(--muted-d); font-size: 14px; max-width: 30ch; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-d); margin-bottom: 14px; font-weight: 500; }
.foot-col a { display: block; color: #D6D6DE; font-size: 14px; margin-bottom: 9px; opacity: .85; transition: opacity .2s; }
.foot-col a:hover { opacity: 1; }
.foot-soon { display: flex; align-items: baseline; gap: 8px; color: #9A9AA6; font-size: 14px; margin-bottom: 9px; }
.foot-soon small { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-d); border: 1px solid var(--line-d); border-radius: 4px; padding: 1px 5px; }
.foot-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom span { font-family: var(--mono); font-size: 11.5px; color: var(--muted-d); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  :root { --gut: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work { grid-template-columns: 1fr; }
  .work:nth-child(even) .work-visual { order: 0; }
  .work-visual { min-height: 280px; }
  .flag { grid-template-columns: 1fr; }
  .flag:nth-child(even) .flag-show { order: 0; }
  .flag-show { min-height: 300px; }
  .studio-top { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .proc { border-bottom: 1px solid var(--line); }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px var(--gut);
  }
}
@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; max-width: 460px; gap: 18px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .work-body { padding: 30px; }
  .flag-body { padding: 30px; }
  .hero { padding: 140px 0 70px; }
  .scr { height: 290px; }
}
