:root {
	--bg: #D8E7EE;
	--bg-soft: #C5DBE5;
	--surface: #FFFFFF;
	--border: rgba(7,0,53,0.1);
	--white: #070035;
	--muted: rgba(7,0,53,0.6);
	--accent: #7360E4;
	--accent-soft: #82D7FF;
	--accent2: #85EFE3;
	--radius-lg: 32px;
	--radius-md: 20px;
	--test:#30c2a2;
}
a {
	color: inherit;
	text-decoration: none;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
	background: var(--bg);
	color: var(--white);
	font-family: 'Roboto', sans-serif;
	overflow-x: hidden;
	transition: background .4s ease;
}

/* ── PER-PAGE BACKGROUND THEMES (Humaan-style) ── */
body.theme-agence { --bg: #D6EEE3; --bg-soft: #C0E3D3; }
body.theme-expertises { --bg: #CFEAF0; --bg-soft: #B4DEE8; }
body.theme-contact { --bg: #E1DCF3; --bg-soft: #D2C9EC; }
body.theme-philosophie { --bg: #EFE7DA; --bg-soft: #E4D8C4; }
body.theme-ia { --bg: #DCE3F7; --bg-soft: #C9D4F0; }
body.theme-portfolio { --bg: #E4E6F6; --bg-soft: #D3D7EE; }

header {

}
/* ── CURSOR (disabled in light theme) ── */
.cursor, .cursor-trail { display: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 20px; left: 20px; right: 20px;
  z-index: 500;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 12px 12px 28px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(7,0,53,0.08);
}
.nav-logo {
  font-family: 'Roboto', sans-serif;
  font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none; color: var(--white);
}
/* Logo: wordmark + violet dot that pulses softly (same dot as the live indicators on cards) */
.logo-word { position: relative; display: inline-block; margin-right: .4em; }
.logo-dot {
  position: absolute; right: -.36em; top: .1em;
  width: .28em; height: .28em; border-radius: 50%; background: var(--accent);
}
.logo-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(115, 96, 228, .55);
  animation: logoPulse 2.6s ease-out infinite;
}
@keyframes logoPulse { 0% { box-shadow: 0 0 0 0 rgba(115, 96, 228, .55); } 70%, 100% { box-shadow: 0 0 0 .38em rgba(115, 96, 228, 0); } }
@media (prefers-reduced-motion: reduce) { .logo-dot::after { animation: none; } }
.nav-right { display: flex !important; align-items: center; gap: 22px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-links li { display: flex; }
.nav-links a {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--bg); background: var(--white); }
.nav-contact {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--bg);
  background: var(--accent); padding: 12px 24px;
  border-radius: 999px;
  transition: background .2s;
}
.nav-contact:hover { background: var(--white); }

/* ── MEGA DROPDOWN (Expertises, Humaan-style) ── */
.nav-item.has-dropdown { position: relative; }
.mega-dropdown {
  position: fixed;
  top: 92px; left: 20px; right: 20px;
  max-width: 1180px; margin: 0 auto;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(7,0,53,0.16);
  padding: 40px 44px;
  z-index: 490;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .3s cubic-bezier(0.16,1,0.3,1), visibility .25s;
}
.mega-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
}
.mega-col-title {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: .92rem;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 18px; padding-bottom: 14px;
  transition: color .2s;
}
a.mega-col-title:hover { color: var(--accent); }
.mega-col-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.mega-col-list a {
  display: flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--muted); padding: 0;
  transition: color .2s, transform .2s;
}
.mega-col-list a:hover { color: var(--white); background: none; transform: translateX(3px); }
.mega-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.mega-col:nth-child(2) .mega-dot { background: var(--accent2); }
.mega-col:nth-child(3) .mega-dot { background: var(--accent-soft); }
.mega-col:nth-child(4) .mega-dot { background: #FFD029; }
.mega-col:nth-child(5) .mega-dot { background: var(--accent2); }
.mega-col-cta {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: -6px;
}
.mega-col-title-static { border-bottom: none; margin-bottom: 10px; padding-bottom: 0; }
.mega-cta-text { font-size: .75rem; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.mega-cta-link { font-size: .75rem; font-weight: 700; color: var(--accent); }
.mega-cta-link:hover { color: var(--white); }
.menu-toggle {
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  display: none !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 401;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(214, 226, 238, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
  z-index: 420;
  overflow-y: auto;
  padding: 92px 16px 32px;
}
/* Each entry is a rounded tab (card) */
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.mobile-menu-links > li > a,
.mobile-menu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px; padding: 0 12px 0 22px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.mobile-menu-links > li > a { padding-right: 22px; }
.mobile-menu-links a {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.mobile-menu-row > a { flex: 1; display: flex; align-items: center; min-height: 62px; }
.mobile-menu-links > li > a:active, .mobile-menu-row:active { transform: scale(.985); }
.mobile-menu-links > li > a.active,
.mobile-menu-item:has(> .mobile-menu-row > a.active) > .mobile-menu-row { background: var(--white); }
.mobile-menu-links > li > a.active,
.mobile-menu-row > a.active { color: #fff; }
.mobile-menu-links > li:last-child > a { background: var(--accent); color: #fff; justify-content: center; }
.mobile-menu-item { width: 100%; display: block; }
.mobile-submenu-toggle {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 0; box-shadow: none;
  background: var(--bg); color: var(--white);
  border-radius: 14px; font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: transform .25s ease, background .2s ease;
}
.mobile-menu-item:has(> .mobile-menu-row > a.active) .mobile-submenu-toggle { background: rgba(255, 255, 255, .16); color: #fff; }
.mobile-menu-item.is-open .mobile-submenu-toggle { transform: rotate(45deg); }
.mobile-submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease, margin .35s ease;
  margin-top: 0;
}
.mobile-menu-item.is-open .mobile-submenu {
  max-height: 460px;
  opacity: 1;
  margin-top: 8px;
}
.mobile-submenu a {
  display: flex; align-items: center; min-height: 52px; padding: 0 20px;
  background: rgba(255, 255, 255, .7); border-radius: 16px; box-shadow: var(--shadow-xs);
  font-family: 'Roboto', sans-serif;
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--white);
}
.mobile-submenu a:hover { background: var(--surface); }
/* tabs slide in one after the other when the menu opens */
.mobile-menu-links > li { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
body.menu-open .mobile-menu-links > li { opacity: 1; transform: none; }
body.menu-open .mobile-menu-links > li:nth-child(1) { transition-delay: .04s; }
body.menu-open .mobile-menu-links > li:nth-child(2) { transition-delay: .08s; }
body.menu-open .mobile-menu-links > li:nth-child(3) { transition-delay: .12s; }
body.menu-open .mobile-menu-links > li:nth-child(4) { transition-delay: .16s; }
body.menu-open .mobile-menu-links > li:nth-child(5) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-links > li { opacity: 1; transform: none; transition: none; }
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── HERO ── */
.hero {
  padding: 150px 52px 100px;
  display: flex; flex-direction: column;
  position: relative;
}
.hero.page-text {
  justify-content: flex-start;
}
.hero-eyebrow {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeIn .8s .3s forwards;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.hero-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 1.02; letter-spacing: -0.04em;
}
.hero-line { display: block; overflow: hidden; padding: .06em 0; margin: -.06em 0; }
.hero-line-inner {
  display: block;
  transform: translateY(110%);
  animation: slideUp .9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line:nth-child(1) .hero-line-inner { animation-delay: .4s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: .55s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: .7s; }
.hero-line-inner em {
  font-style: normal; color: var(--accent);
  font-style: normal; color: var(--test);
}

/* Featured-work panel (Humaan-style): rounded and inset at rest, it grows to full width as it
   reaches the middle of the screen and shrinks back after. --p (0..1) is set by fx.js on scroll;
   the box is always full-bleed and a clip-path reveals more or less of it (no layout shift). */
.hero { --hero-pad: 52px; }
.hero-visual {
  --p: 0;
  --vt: 56px;
  --h-base: clamp(360px, 46vw, 620px);
  --h-max: max(var(--h-base), min(100vh, calc(var(--h-base) + 360px)));
  --ext: calc((var(--h-max) - var(--h-base)) / 2);
  position: relative;
  /* the box is as tall as its fully grown size; negative margins keep the layout footprint at --h-base */
  height: var(--h-max);
  margin: calc(var(--vt) - var(--ext)) calc(var(--hero-pad) * -1) calc(var(--ext) * -1);
  clip-path: inset(calc(var(--ext) * (1 - var(--p))) calc(var(--hero-pad) * (1 - var(--p))) round calc(var(--radius-lg) * (1 - var(--p))));
  overflow: hidden;
  background: linear-gradient(150deg, var(--accent) 0%, #2A1F5C 100%);
  opacity: 0; animation: fadeIn 1s .5s forwards;
  isolation: isolate; /* Safari: keep video + blend modes clipped */
  transform: translateZ(0);
}
.hero-visual-media {
  position: absolute; inset: 0;
  transform: scale(calc(1.1 - .1 * var(--p)));
}
.hero-visual-media img,
.hero-visual-media video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .55; mix-blend-mode: luminosity;
}
@supports (-webkit-touch-callout: none) {
  /* iOS Safari draws video with mix-blend-mode unclipped / blank: use a plain tint instead */
  .hero-visual-media img,
  .hero-visual-media video { mix-blend-mode: normal; opacity: .75; }
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(7,0,53,.15) 0%, rgba(7,0,53,.55) 100%);
}
.hero-visual-cta {
  position: absolute; right: calc(28px + var(--hero-pad) * (1 - var(--p))); bottom: calc(50px + var(--ext) * (1 - var(--p))); z-index: 2;
}
@supports (height: 100svh) { .hero-visual { --h-max: max(var(--h-base), min(100svh, calc(var(--h-base) + 360px))); } }
.hero-bottom {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-top: 48px;
  padding-top: 40px; opacity: 0; animation: fadeIn .8s 1s forwards;
}
.hero-desc {
  font-size: 1rem; line-height: 1.7;
  color: var(--muted); max-width: 460px; font-weight: 300;
}
.hero-desc strong { color: var(--white); font-weight: 500; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.btn-main {
  font-family: 'Roboto', sans-serif;
  font-size: .85rem; font-weight: 700;
  letter-spacing: -.01em; text-decoration: none;
  color: var(--bg); background: var(--white);
  padding: 18px 40px;
  border-radius: 999px;
  transition: background .25s, transform .2s; white-space: nowrap;
}
.btn-main:hover { background: var(--accent); transform: translateY(-2px); }
.hero-visual-cta .btn-main {
  color: var(--white); background: var(--accent-soft);
}
.hero-visual-cta .btn-main:hover { background: var(--white); color: var(--bg); }
.hero-scroll {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll-dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── SERVICES ── */
.services { padding: 120px 52px; }
.section-label {
  display: flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 64px;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 80px;
}
.services-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; line-height: .95; letter-spacing: -.04em;
}
.services-title em {
  font-style: normal; color: var(--accent);
}
.services-intro {
  font-size: .95rem; line-height: 1.8;
  color: var(--muted); padding-top: 8px; font-weight: 300;
}
.services-list { display: grid; }
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 40px;
  align-items: center; gap: 40px;
  padding: 32px 20px; cursor: pointer; position: relative; overflow: hidden;
}
.services-list a {
	text-transform: none;
}
a.service-row {
  color: var(--white);
  text-transform: none;
}
.service-row::before {
  content: ''; position: absolute; inset: 0;
  /* background: var(--surface); */
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-row:hover::before { transform: translateX(0); }
.service-row > * { position: relative; z-index: 1; }
.service-row-num {
  font-family: 'Roboto', sans-serif; font-size: .75rem;
  font-weight: 700; color: var(--accent); letter-spacing: .1em;
}
.service-row-name {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em;
  transition: transform .3s;
}
.service-row:hover .service-row-name { transform: translateX(8px); }
.service-row-tags { display: flex; gap: 8px; opacity: 0; transform: translateX(20px); transition: opacity .3s, transform .3s; }
.service-row:hover .service-row-tags { opacity: 1; transform: translateX(0); }
.s-tag {
  font-size: .75rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  border: 0; box-shadow: var(--shadow-sm); padding: 6px 12px;
}
.service-row-arrow {
  font-size: 1.4rem; color: var(--muted);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .3s, transform .3s, color .3s;
}
.service-row:hover .service-row-arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

/* ── WORK ── */
.work { padding: 0 52px 120px; }
.work-header {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  padding: 80px 0 60px; }
.work-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .95;
}
.work-title em {
  font-style: normal; color: var(--accent);
}
.work-link {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: color .2s, gap .2s;
}
.work-link:hover { color: var(--white); gap: 18px; }
.work-link::after { content: '→'; font-size: 1rem; }
.work-carousel {
  margin-top: 40px;
}
.work-carousel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.work-carousel-progress {
  flex: 1;
  height: 1px;
  background: rgba(7, 0, 53, 0.1);
  position: relative;
  overflow: hidden;
}
.work-carousel-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  background: var(--accent);
  transition: width .35s ease, transform .35s ease;
}
.work-carousel-nav {
  display: inline-flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.work-carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0; box-shadow: var(--shadow-sm);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow .25s, color .25s, background .25s, transform .25s;
}
.work-carousel-btn:hover {
  box-shadow: var(--shadow-hover);
  color: var(--bg);
  background: var(--accent);
  transform: translateY(-2px);
}
.work-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(370px, 58%);
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.work-carousel-track::-webkit-scrollbar { display: none; }
.work-slide { scroll-snap-align: start; }
.work-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 260px auto;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 0; box-shadow: var(--shadow-sm);
  border-radius: 30px;
  overflow: hidden;
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.work-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,#7360E4,#2A1F5C);
}
.work-card-media img,
.work-card-fallback {
  width: 100%;
  height: 100%;
  display: block;
}
.work-card-media img {
  object-fit: cover;
  transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1), filter .45s ease;
}
.work-card:hover .work-card-media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.work-card-fallback {
  background: linear-gradient(145deg,#7360E4,#2A1F5C);
}
.work-card-body {
  padding: 24px 24px 26px;
  display: grid;
  gap: 12px;
}
.work-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.work-card-num {
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-card-meta {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: .96;
  letter-spacing: -.03em;
}
.work-card-desc {
  color: var(--muted);
  line-height: 1.7;
  font-size: .92rem;
}
.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.work-card-link::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}
.work-card:hover .work-card-link::after { transform: translateX(6px); }
.project-item {
  display: grid;
  grid-template-columns: 80px 1fr 200px 200px 80px;
  align-items: center; gap: 32px;
  padding: 28px 0; text-decoration: none; color: var(--white);
  cursor: pointer; position: relative; overflow: hidden;
}
.project-item::before {
  content: ''; position: absolute; inset: 0;
  background: var(--surface);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-item:hover::before { transform: scaleX(1); }
.project-item > * { position: relative; z-index: 1; }
.project-num {
  font-family: 'Roboto', sans-serif; font-size: .75rem;
  font-weight: 700; color: var(--muted); letter-spacing: .1em;
}
.project-name {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 800; letter-spacing: -.03em;
  transition: transform .3s;
}
.project-item:hover .project-name { transform: translateX(8px); }
.project-cat {
  font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.project-item:hover .project-cat { color: var(--white); }
.project-type {
  font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.project-item:hover .project-type { color: var(--accent); }
.project-arrow {
  font-size: 1.2rem; color: var(--muted); text-align: right;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s, transform .3s, color .3s;
}
.project-item:hover .project-arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

/* Hover image */
.project-hover-img {
  position: fixed; width: 280px; height: 190px;
  pointer-events: none; z-index: 1000;
  opacity: 0; transform: scale(0.92) rotate(-2deg);
  transition: opacity .3s, transform .3s;
  overflow: hidden; border-radius: 2px;
}
.project-hover-img.active { opacity: 1; transform: scale(1) rotate(0deg); }

/* ── REALISATIONS ── */
.real-grid { margin-top: 12px; overflow: hidden; }
.real-card { width: 48.5%; }
.real-card {
  margin-bottom: 22px;
  border: 0; box-shadow: var(--shadow-sm);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.real-link { text-decoration: none; color: inherit; display: block; }
.real-media {
  height: clamp(230px, 32vw, 340px);
  overflow: hidden;
  position: relative;
}
.real-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  display: block;
  transform: translateY(0);
}
.real-body { padding: 22px; }
.real-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.real-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.real-desc {
  color: var(--muted);
  line-height: 1.65;
  font-size: .95rem;
}

/* ── STATEMENT (agency hook) ── */
.statement {
  padding: 140px 52px;
  }
.statement-inner { max-width: 820px; }
.statement-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; margin-bottom: 32px;
}
.statement-title em {
  font-style: normal; color: var(--accent);
}
.statement-text {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--muted); font-weight: 300;
  max-width: 640px; margin-bottom: 40px;
}
.statement-text strong { color: var(--white); font-weight: 500; }

/* ── ABOUT EFFECT (DISTA 2025 STYLE) ── */
.ab-about-area {
  padding: 120px 52px;
  }
.ab-about-thumb-wrap {
  margin-bottom: 80px;
}
.ab-about-thumb-wrap .row {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}
.ab-about-thumb-wrap .col-half {
  width: 50%;
}
.ab-about-left-thumb {
  height: 690px;
  width: min(100%, 600px);
  overflow: hidden;
}
.ab-about-left-thumb img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.ab-about-right-thumb {
  position: relative;
  width: min(100%, 620px);
  padding-bottom: 220px;
}
.ab-about-right-thumb > img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}
.ab-about-right-thumb .inner-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 5;
  border: 0; box-shadow: var(--shadow-sm);
}

.ab-about-intro {
  max-width: 860px;
}
.ab-about-intro h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.ab-about-intro p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 760px;
}

/* ── ABOUT ── */
.about {
  padding: 120px 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: .95; margin-bottom: 40px;
}
.about-title em {
  font-style: normal; color: var(--accent);
}
.about-text {
  font-size: .95rem; line-height: 1.8;
  color: var(--muted); font-weight: 300; margin-bottom: 48px;
}
.about-text strong { color: var(--white); font-weight: 500; }
.about-btn {
  font-family: 'Roboto', sans-serif; font-size: .8rem;
  font-weight: 700; letter-spacing: .04em;
  text-decoration: none; color: var(--white); background: var(--surface);
  border: 0; box-shadow: var(--shadow-sm); padding: 16px 36px;
  border-radius: 999px;
  transition: box-shadow .2s, color .2s, background .2s; display: inline-block;
}
.about-btn:hover { box-shadow: var(--shadow-hover); color: var(--bg); background: var(--accent); }
.about-visual {
  position: relative;
}
.about-visual-frame {
  position: relative;
  min-height: 680px;
  padding: 34px 0 44px 72px;
}
.about-photo {
  position: relative;
  overflow: hidden;
  border: 0; box-shadow: var(--shadow-sm);
  border-radius: 20px;
  background: #fff;
}
.about-photo img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.about-photo-main {
  width: min(100%, 420px);
  height: 420px;
  margin-left: auto;
}
.about-photo-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(52%, 420px);
  height: 420px;
  z-index: 2;
}
.about-photo-overlay::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-stat-box {
  /* background: var(--accent2);*/ padding: 40px 32px; 
  border: 0; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
  border-radius: 15px;
}
.about-stat-box:hover { box-shadow: var(--shadow-hover); }
.about-stat-box.accent { background: var(--accent); }
.about-stat-box.accent .stat-val,
.about-stat-box.accent .stat-label { color: var(--bg); }
.stat-val {
  font-family: 'Roboto', sans-serif; font-size: 3.5rem;
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ── CAPABILITIES (shared intro used by team too) ── */
.capabilities, .team, .culture { padding: 120px 52px; }
.team { background: var(--surface); }
.cap-intro { max-width: 700px; margin-bottom: 64px; }
.cap-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.08; margin-bottom: 20px;
}
.cap-title em {
  font-style: normal; color: var(--accent);
}
.cap-text { font-size: 1rem; line-height: 1.75; color: var(--muted); font-weight: 300; }
.cap-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 36px; padding-top: 48px;
}
.cap-col-title {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  color: var(--white); margin-bottom: 20px; padding-bottom: 16px;
  transition: color .2s;
}
a.cap-col-title:hover { color: var(--accent); }
.cap-col-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.cap-col-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; color: var(--muted);
}

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px; max-width: 640px;
}
.team-card { border-radius: var(--radius-md); overflow: hidden; }
.team-card-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-md); background: var(--bg); }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card-body { padding: 18px 4px 0; }
.team-card-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em;
}
.team-card-role {
  font-size: .75rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* ── CULTURE ── */
.culture .cap-title { max-width: 760px; }
.culture-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 56px;
  padding-top: 56px;
}
.culture-col-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 28px;
}
.culture-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.culture-list li { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.culture-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  font-size: .75rem;
}
.culture-list-do .culture-icon { background: var(--accent); color: var(--bg); }
.culture-list-dont .culture-icon { background: var(--border); color: var(--muted); }

/* ── PROCESS ── */
.process {
  padding: 120px 52px;
  background: var(--surface);
}
.process-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; }
.process-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .95;
}
.process-title em {
  font-style: normal; color: var(--accent);
}
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; }
.process-step {
  padding: 48px 32px 48px 32px;
  }
.process-step:first-of-type {
  padding-left: 0px;
}
.process-step:last-child { border-right: none; }
.step-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); margin-bottom: 28px;
  transition: background .3s;
}
.process-step:hover .step-dot { background: var(--accent); }
.step-num {
  font-family: 'Roboto', sans-serif; font-size: .75rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.step-name {
  font-family: 'Roboto', sans-serif; font-size: 1.1rem;
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px;
  transition: transform .3s;
}
.process-step:hover .step-name { transform: translateY(-4px); }
.step-desc { font-size: .78rem; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ── AWARDS ── */
.awards {
  padding: 80px 52px;
  display: flex; align-items: center; gap: 60px;
}
.awards-label {
  font-size: .75rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap; flex-shrink: 0;
}
.awards-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }
.awards-list { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.award-item { text-align: center; opacity: .45; transition: opacity .3s; }
.award-item:hover { opacity: 1; }
.award-name {
  font-family: 'Roboto', sans-serif; font-size: 1.2rem;
  font-weight: 800; letter-spacing: -.02em;
  display: block; margin-bottom: 4px;
}
.award-count { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.awards-num { margin-left: auto; text-align: right; }
.awards-big {
  font-family: 'Roboto', sans-serif; font-size: 4rem;
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1; display: block;
}
.awards-sub { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── CTA ── */
.cta {
  padding: 140px 52px; position: relative; overflow: hidden;
  background: #FFFFFF;
  border-radius: 48px 48px 0 0;
}
.cta::before {
  content: ''; position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(115,96,228,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 80px;
}
.cta-label {
  font-size: .75rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.cta-label::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.cta-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .9;
}
.cta-title em {
  font-style: normal; color: var(--accent);
}
.cta-right { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.cta-email-link {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic; color: var(--muted);
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.cta-email-link:hover { color: var(--accent); }
.cta-btn {
  font-family: 'Roboto', sans-serif; font-size: .85rem;
  font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; color: var(--bg);
  background: var(--accent); padding: 20px 48px;
  border-radius: 999px;
  transition: background .2s, transform .2s; white-space: nowrap;border: 0;
}
.cta-btn:hover { background: var(--white); transform: translateY(-2px);border: 0; }

/* ── CONTACT ── */
.contact-form {
  padding-top: 36px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-grid label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.contact-grid label.full { grid-column: 1 / -1; }
.contact-grid input,
.contact-grid select,
.contact-grid textarea {
  width: 100%;
  background: var(--surface);
  border: 0; box-shadow: var(--shadow-sm);
  border-radius: 12px;
  color: var(--white);
  padding: 14px 16px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  resize: vertical;
}
.contact-grid input:focus,
.contact-grid select:focus,
.contact-grid textarea:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ── FOOTER ── */
footer {
  background: #FFFFFF; padding: 60px 52px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 60px;
}
.footer-logo { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; }
.footer-nav { display: flex; justify-content: center; gap: 40px; list-style: none; }
.footer-nav a {
  font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: .75rem; color: var(--muted); letter-spacing: .05em; text-align: right; }

/* ── MODAL (shared: project detail + contact) ── */
.project-modal{position:fixed;inset:0;z-index:1200;display:none}
.project-modal.is-open{display:block}
.project-modal-backdrop{position:absolute;inset:0;background:rgba(7,7,12,.62);backdrop-filter:blur(8px)}
.project-modal-dialog{position:absolute;inset:44px;background:#fff;border: 0;border-radius:18px;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.45);animation:pmIn .25s ease;transition:inset .5s cubic-bezier(0.16,1,0.3,1),border-radius .5s cubic-bezier(0.16,1,0.3,1)}
.project-modal.is-expanded .project-modal-dialog{inset:0;border-radius:0;box-shadow:none}
.project-modal-scroll{height:100%;overflow:auto}
.project-modal-content{min-height:100%;padding:56px 56px 48px}
.project-modal-close{position:absolute;top:14px;right:14px;z-index:2;width:44px;height:44px;border-radius:999px;border: 0;background:rgba(11,11,18,.65);color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;transition:background .2s,box-shadow .2s}
.project-modal-close:hover{background:rgba(115,96,228,.22);box-shadow: var(--shadow-hover);}
body.project-modal-open{overflow:hidden}

/* ── CONTACT MODAL ── */
.contact-modal-dialog { max-width: 900px; margin: 0 auto; }
.cm-content { padding: 64px 64px 56px; }
.cm-kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
  display: block;
}
.cm-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.02; letter-spacing: -.03em;
  color: #111; margin-bottom: 16px;
}
.cm-heading em { font-style: normal; color: var(--accent); }
.cm-intro { font-size: .95rem; line-height: 1.7; color: #5e6670; max-width: 520px; margin-bottom: 40px; }
.cm-intro a { color: var(--accent); text-decoration: underline; }
.cm-form .contact-grid input,
.cm-form .contact-grid select,
.cm-form .contact-grid textarea {
  background: #f5f7fa;  color: #111;
}
.cm-form .contact-grid label { color: #6b7385; }
.cm-form .cta-btn { margin-top: 8px; }

@keyframes pmIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* ── KEYFRAMES ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.6); } }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── HORIZONTAL SCROLL SECTIONS (generic structure; panel visuals live in each page's own CSS) ── */
.hscroll-wrap { position: relative; }
.hscroll-sticky {
  position: absolute; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden;
  display: flex; align-items: center;
}
.hscroll-track { display: flex; will-change: transform; }
@media (max-width: 900px) {
  .hscroll-sticky { position: static; height: auto; display: block; }
  .hscroll-track {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hscroll-track::-webkit-scrollbar { display: none; }
}
/* swipe affordances (hint + dots) only exist where the track is a swipe carousel */
.hscroll-ui { display: none; }
@media (max-width: 900px) {
  .hscroll-ui { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 24px 40px; }
  .hscroll-hint {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
    background: var(--surface); box-shadow: var(--shadow-sm); font-size: .8rem; font-weight: 700; color: var(--white);
    transition: opacity .4s ease, transform .4s ease;
  }
  .hscroll-hint i { font-style: normal; color: var(--accent); animation: hscrollNudge 1.4s ease-in-out infinite; }
  .hscroll-hint.is-gone { opacity: 0; transform: translateY(-6px); pointer-events: none; }
  .hscroll-dots { display: flex; gap: 8px; }
  .hscroll-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(7, 0, 53, .22);
    cursor: pointer; transition: width .3s ease, background .3s ease;
    position: relative;
  }
  .hscroll-dots button::after { content: ''; position: absolute; inset: -17px -4px; } /* 44px tap target */
  .hscroll-dots button.is-active { width: 28px; background: var(--accent); }
}
@keyframes hscrollNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .hscroll-hint i { animation: none; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) and (min-width: 901px) {
  .mega-dropdown-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  nav { left: 12px; right: 12px; top: 12px; padding: 10px 10px 10px 22px; }
  .nav-right { display: none !important; }
  .menu-toggle { display: flex !important; }
  .mega-dropdown { display: none !important; }
  .hero { padding: 110px 24px 60px; --hero-pad: 24px; }
  .hero-visual { --vt: 36px; --h-base: 320px; }
  .hero-visual-cta { left: calc(18px + var(--hero-pad) * (1 - var(--p))); right: auto; bottom: calc(18px + var(--ext) * (1 - var(--p))); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 32px; }
  .services { padding: 80px 24px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .service-row { grid-template-columns: 48px 1fr 40px; }
  .service-row-tags { display: none; }
  .work { padding: 0 24px 80px; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .work-carousel-top { gap: 18px; }
  .work-carousel-track { grid-auto-columns: 86%; gap: 18px; }
  .work-card { grid-template-rows: 320px auto; border-radius: 24px; }
  .work-card-body { padding: 18px 18px 22px; }
  .work-card-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
  .project-item { grid-template-columns: 48px 1fr 40px; }
  .project-cat, .project-type { display: none; }
  .real-card { width: 100%; }
  .real-card { margin-bottom: 18px; }
  .ab-about-area { padding: 80px 24px; }
  .ab-about-thumb-wrap .row { flex-direction: column; gap: 18px; }
  .ab-about-thumb-wrap .col-half { width: 100%; }
  .ab-about-left-thumb { height: 420px; width: 100%; }
  .ab-about-right-thumb { width: 100%; padding-bottom: 0; }
  .ab-about-right-thumb .inner-img { position: static; width: 100%; margin-top: 14px; }
  .statement { padding: 80px 24px; }
  .capabilities, .team, .culture { padding: 80px 24px; }
  .cap-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; max-width: none; gap: 18px; }
  .culture-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .about { grid-template-columns: 1fr; gap: 60px; padding: 80px 24px; }
  .about-visual-frame { min-height: 0; padding: 0 0 120px; }
  .about-photo-main { width: 100%; height: 420px; }
  .about-photo-overlay {
    right: 24px;
    bottom: 0;
    width: min(58%, 240px);
    height: 240px;
  }
  .process { padding: 80px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; border-top: none; }
  .process-step { border-right: none; padding-right: 0; padding-top: 32px; }
  .awards { flex-wrap: wrap; padding: 60px 24px; }
  .awards-num { margin-left: 0; }
  .cta { padding: 80px 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-right { align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
  .footer-copy { text-align: left; }
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
  .project-modal-dialog { inset: 0; border-radius: 0; border: 0; }
  .project-modal-close { top: 10px; right: 10px; }
  .project-modal-content { padding: 56px 18px 24px; }
  .cm-content { padding: 90px 22px 40px; }
  .cm-intro { max-width: none; }
}


/* ── ACCESSIBILITY & UX POLISH ── */
:root { --accent-text: #5B47D6; }

/* Visible keyboard focus on every interactive control (mouse clicks do not show it). */
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.nav-contact:focus-visible, .btn-main:focus-visible, .cta-btn:focus-visible, .cfg-next:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--accent); }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 10000;
  background: var(--white); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; transition: top .2s;
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

/* Small accent-coloured labels need 4.5:1; --accent alone is only ~3.6:1 on the tinted page backgrounds. */
.cm-kicker, .mega-cta-link, .cm-intro a { color: var(--accent-text); }

/* Respect the user's motion settings: no entrance animation, parallax or smooth scroll. */
@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; }
  .hscroll-track { will-change: auto; }
}

/* Comfortable tap/click targets for text links (WCAG 2.2 target size; 44px on touch-sized screens). */
.footer-nav a, .footer-copy a, .work-link, .cta-email-link, .nav-logo { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 900px) {
  .footer-nav a, .footer-copy a, .work-link, .cta-email-link, .nav-logo { min-height: 44px; }
}
