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

/*
  Qbit Studio website
  To use your licensed main font locally, add qbit-main.woff2 to assets/fonts/
  and uncomment the @font-face declaration below.
*/
/*
@font-face {
  font-family: 'Qbit Main';
  src: url('../fonts/qbit-main.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
*/

:root {
  --pink: #db356a;
  --pink-deep: #b91850;
  --pink-soft: #f5c4d5;
  --pink-wash: #fff3f7;
  --ink: #111111;
  --ink-2: #2e2930;
  --paper: #fffdfd;
  --mist: #f2eef0;
  --line: rgba(17, 17, 17, 0.14);
  --white-line: rgba(255, 255, 255, 0.18);
  --font-main: 'Qbit Main', 'Montserrat', Arial, sans-serif;
  --font-signature: 'Allison', cursive;
  --font-visual: 'Moirai One', system-ui, sans-serif;
  --container: min(1240px, calc(100vw - 48px));
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 44px;
  --shadow: 0 24px 70px rgba(55, 15, 31, 0.14);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--pink); color: white; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 84px 0; }
.section-dark { background: var(--ink); color: white; }
.section-pink { background: var(--pink); color: white; }
.section-wash { background: var(--pink-wash); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}
.section-title,
.page-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-title { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.page-title { font-size: clamp(4rem, 10vw, 9.5rem); }
.lead {
  max-width: 780px;
  margin: 26px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  color: color-mix(in srgb, currentColor 76%, transparent);
}
.signature {
  font-family: var(--font-signature);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: .8;
  font-weight: 400;
}
.visual-word {
  font-family: var(--font-visual);
  font-weight: 400;
  letter-spacing: -.03em;
}
.pink { color: var(--pink); }
.muted { color: #6f6870; }
.white-muted { color: rgba(255,255,255,.68); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--pink); color: white; }
.btn-primary:hover { background: var(--pink-deep); }
.btn-light { background: white; color: var(--ink); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-dark-ghost { border-color: var(--white-line); color: white; }
.btn-dark-ghost:hover { border-color: white; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: padding .3s var(--ease), background .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 253, 253, .92);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(20, 15, 17, .07);
}
.site-header.is-dark:not(.scrolled) { color: white; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 1002; }
.brand img { width: 52px; height: 38px; object-fit: contain; }
.brand-word { font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  position: relative;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: .25s var(--ease);
}
.menu-toggle::before { top: 15px; }
.menu-toggle span { top: 21px; }
.menu-toggle::after { top: 27px; }
.menu-open .menu-toggle::before { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::after { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: white;
  padding: 150px 0 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow {
  position: absolute;
  width: min(72vw, 880px);
  aspect-ratio: 1;
  right: -18vw;
  top: -24vw;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 36%, #ff7da7 0, var(--pink) 33%, #741132 70%, transparent 71%);
  filter: blur(2px);
  opacity: .88;
}
.hero-orbit {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  right: -9vw;
  top: -9vw;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.hero-orbit::before,
.hero-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: white;
}
.hero-orbit::before { width: 26px; height: 26px; left: 17%; top: 7%; }
.hero-orbit::after { width: 10px; height: 10px; right: 12%; bottom: 20%; background: var(--pink-soft); }
.hero-mark {
  position: absolute;
  width: clamp(240px, 28vw, 440px);
  right: 7vw;
  bottom: 8vh;
  opacity: .08;
  transform: rotate(-7deg);
}
.hero-content { position: relative; z-index: 2; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker::before { content: ''; width: 36px; height: 2px; background: var(--pink); }
.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4.4rem, 12vw, 10.5rem);
  line-height: .76;
  letter-spacing: -.072em;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 .line { display: block; }
.hero h1 .visual-word { font-size: .79em; color: var(--pink-soft); letter-spacing: -.01em; }
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-top: 42px;
}
.hero-bottom p { max-width: 640px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.06rem; }
.hero-signature { position: absolute; right: 7vw; bottom: 32px; z-index: 3; color: white; transform: rotate(-4deg); opacity: .92; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--white-line); border-radius: 50%; }

@keyframes spin { to { transform: rotate(360deg); } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: white; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-group { display: flex; align-items: center; gap: 34px; padding: 20px 17px; white-space: nowrap; }
.marquee span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards / Work */
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 54px; }
.heading-row .lead { max-width: 520px; font-size: 1rem; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.work-card {
  grid-column: span 6;
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #e9e4e6;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  isolation: isolate;
}
.work-card:nth-child(3n) { grid-column: span 5; }
.work-card:nth-child(3n + 1):not(:first-child) { grid-column: span 7; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s ease;
}
.work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15,10,12,.88), rgba(15,10,12,0) 55%);
}
.work-meta {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  color: white;
}
.work-meta small { display: block; margin-bottom: 6px; font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.work-meta h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.04em; }
.work-arrow { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: .3s var(--ease); }
.work-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.work-card:hover .work-arrow { background: white; color: var(--ink); transform: rotate(45deg); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 48px; }
.filter-btn { padding: 10px 17px; border: 1px solid var(--line); background: white; border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: white; border-color: var(--ink); }
.work-card.is-hidden { display: none; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 390px;
  padding: 44px;
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, color .35s ease;
  overflow: hidden;
}
.service-card:nth-child(odd) { border-right: 1px solid var(--line); }
.service-number { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.service-card h3 { margin: 72px 0 14px; font-size: clamp(2.3rem, 4.6vw, 4.5rem); line-height: .92; letter-spacing: -.055em; }
.service-card p { max-width: 480px; margin: 0; color: #6b6268; }
.service-card .service-icon { position: absolute; top: 30px; right: 34px; width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; }
.service-card:hover { background: var(--pink); color: white; }
.service-card:hover p, .service-card:hover .service-number { color: white; }
.service-card:hover .service-icon { border-color: rgba(255,255,255,.4); transform: rotate(8deg); }
.service-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.service-detail { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); gap: 80px; padding: 96px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; }
.service-detail h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.service-copy p { margin-top: 0; font-size: 1.12rem; color: #625b60; }
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 30px; margin: 30px 0 0; padding: 0; list-style: none; }
.deliverables li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); font-weight: 600; }
.deliverables li::before { content: ''; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.process-step {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--white-line);
  border-radius: 50% 50% 42% 46%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s var(--ease), background .35s ease;
}
.process-step:nth-child(even) { transform: translateY(38px); }
.process-step:hover { transform: translateY(-10px) rotate(-2deg); background: var(--pink); }
.process-step:nth-child(even):hover { transform: translateY(22px) rotate(2deg); }
.process-step small { font-weight: 800; letter-spacing: .12em; opacity: .62; }
.process-step h3 { margin: 0 0 8px; font-size: 1.65rem; }
.process-step p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }

/* Clients */
.client-cloud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.client-chip { min-height: 104px; display: grid; place-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1.15rem; font-weight: 800; text-align: center; transition: .25s var(--ease); }
.client-chip:hover { transform: translateY(-5px); background: var(--pink); color: white; border-color: var(--pink); }

/* About */
.page-hero {
  position: relative;
  min-height: 74svh;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 80px;
  overflow: hidden;
  background: var(--pink-wash);
}
.page-hero.dark { background: var(--ink); color: white; }
.page-hero.pink-bg { background: var(--pink); color: white; }
.page-hero .q-orbit {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  right: -19vw;
  top: -18vw;
  border: 1px solid currentColor;
  opacity: .14;
  border-radius: 50%;
}
.page-hero .q-orbit::after { content: ''; position: absolute; left: 16%; bottom: 4%; width: 22%; height: 13%; border: 1px solid currentColor; border-radius: 999px; transform: rotate(26deg); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero .lead { max-width: 700px; }

.archetype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.archetype-card { min-height: 430px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: space-between; background: white; }
.archetype-card .glyph { font-family: var(--font-visual); font-size: 6rem; line-height: 1; color: var(--pink); }
.archetype-card h3 { margin: 0 0 10px; font-size: 2.2rem; letter-spacing: -.04em; }
.archetype-card p { margin: 0; color: #6b6469; }

.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.usp-card { padding: 34px; min-height: 250px; border-radius: var(--radius-md); background: white; color: var(--ink); }
.usp-card strong { display: block; color: var(--pink); font-size: 3rem; line-height: 1; letter-spacing: -.06em; }
.usp-card h3 { margin: 34px 0 8px; font-size: 1.35rem; }
.usp-card p { margin: 0; color: #6c6569; font-size: .92rem; }

.discipline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.discipline-card { min-height: 270px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, white, var(--pink-wash)); }
.discipline-card span { color: var(--pink); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.discipline-card h3 { margin: 8px 0 0; font-size: 1.55rem; line-height: 1.05; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 42px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-wash); color: var(--pink); font-weight: 800; }
.contact-item small { display: block; margin-bottom: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #80767c; }
.contact-item a:hover { color: var(--pink); }

.contact-form { padding: 42px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(219,53,106,.09); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin: 16px 0 0; min-height: 24px; font-size: .9rem; }
.form-status.success { color: #12834b; }
.form-status.error { color: #b21f3d; }

/* CTA & Footer */
.big-cta { position: relative; overflow: hidden; padding: 120px 0; background: var(--pink); color: white; }
.big-cta::after { content: ''; position: absolute; width: min(70vw, 900px); aspect-ratio: 1; right: -22vw; top: -33vw; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.big-cta .section-title { max-width: 950px; }
.big-cta .signature { display: block; margin: 16px 0 0 15%; }
.footer { padding: 64px 0 28px; background: var(--ink); color: white; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(2, .6fr); gap: 60px; padding-bottom: 50px; border-bottom: 1px solid var(--white-line); }
.footer-brand img { width: 92px; }
.footer-brand p { max-width: 400px; color: rgba(255,255,255,.6); }
.footer-col h4 { margin: 0 0 18px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.footer-col a { display: block; margin: 10px 0; width: fit-content; }
.footer-col a:hover { color: var(--pink-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; color: rgba(255,255,255,.42); font-size: .76rem; }

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

/* 404 */
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 40px; background: var(--ink); color: white; text-align: center; }
.error-page .visual-word { font-size: clamp(8rem, 26vw, 19rem); line-height: .7; color: var(--pink); }
.error-page h1 { margin: 28px 0 10px; font-size: clamp(2rem, 5vw, 4rem); }
.error-page p { color: rgba(255,255,255,.64); }

@media (max-width: 980px) {
  :root { --container: min(100% - 34px, 900px); }
  .section { padding: 92px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 90px 8vw;
    background: var(--ink);
    color: white;
    transform: translateX(105%);
    transition: transform .45s var(--ease);
  }
  .nav a:not(.btn) { font-size: clamp(2rem, 8vw, 4rem); font-weight: 700; letter-spacing: -.04em; }
  .menu-open .nav { transform: none; }
  .site-header.scrolled .menu-toggle { color: var(--ink); }
  .menu-open .site-header .brand, .menu-open .site-header .menu-toggle { color: white; }
  .menu-open .site-header .brand img { content: url('../images/qbit-logo-white.png'); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-signature { display: none; }
  .work-card, .work-card:nth-child(3n), .work-card:nth-child(3n + 1):not(:first-child) { grid-column: span 12; min-height: 470px; }
  .service-detail { grid-template-columns: 1fr; gap: 34px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(even) { transform: none; }
  .client-cloud { grid-template-columns: repeat(3, 1fr); }
  .archetype-grid, .usp-grid { grid-template-columns: 1fr; }
  .discipline-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 28px); --radius-md: 22px; --radius-lg: 28px; }
  .section { padding: 76px 0; }
  .site-header { padding: 12px 0; }
  .brand-word { display: none; }
  .brand img { width: 46px; }
  .hero { padding: 130px 0 52px; min-height: 90svh; }
  .hero h1 { font-size: clamp(3.75rem, 18vw, 6.5rem); line-height: .8; }
  .hero-glow { width: 110vw; right: -65vw; top: -25vw; }
  .hero-orbit { width: 105vw; right: -55vw; }
  .heading-row { display: block; }
  .heading-row .lead { margin-top: 20px; }
  .work-card { min-height: 370px; }
  .work-meta { left: 20px; right: 20px; bottom: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(odd) { border-right: 0; }
  .service-card { min-height: 340px; padding: 28px; }
  .service-card h3 { margin-top: 95px; }
  .deliverables { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-radius: 34px; min-height: 230px; }
  .client-cloud { grid-template-columns: repeat(2, 1fr); }
  .client-chip { min-height: 86px; font-size: .95rem; }
  .page-hero { min-height: 66svh; padding: 140px 0 60px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.site-header.scrolled .brand img { content: url('../images/qbit-logo-pink.png'); }
