/* =========================================================
   KD Advertising, kineticsagency.com
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Quiche Display";
  src: url("/assets/fonts/quichedisplay-regular-webfont.woff2") format("woff2"),
       url("/assets/fonts/quichedisplay-regular-webfont.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Quiche Display";
  src: url("/assets/fonts/quichedisplay-bold-webfont.woff2") format("woff2"),
       url("/assets/fonts/quichedisplay-bold-webfont.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Quiche Display";
  src: url("/assets/fonts/quichedisplay-lightitalic-webfont.woff2") format("woff2"),
       url("/assets/fonts/quichedisplay-lightitalic-webfont.woff") format("woff");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "The Signature";
  src: url("/assets/fonts/thesignature-webfont.woff2") format("woff2"),
       url("/assets/fonts/thesignature-webfont.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #0307fe;
  --blue-dark: #0205c4;
  --blue-soft: #e8e9ff;
  --black: #000;
  --ink: #0b0b10;
  --ink-2: #14141c;
  --white: #fff;
  --paper: #f6f6f8;
  --muted-dark: #a9a9b8;
  --muted-light: #5c5c6b;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(0, 0, 0, .1);

  --font-body: "Quiche Display", Georgia, serif;
  --font-script: "The Signature", "Brush Script MT", cursive;

  --nav-h: 80px;
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -20px rgba(3, 7, 254, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.page-home { padding-top: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .nav :focus-visible, .footer :focus-visible, .cta :focus-visible, .stats :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--white); }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--black); border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 4px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .page-hero .eyebrow { color: #9d9fff; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.script-title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(3.75rem, 9vw, 8rem); line-height: 1.05;
  color: var(--blue);
  margin: 0 0 32px -6px;
}
.section--dark .script-title, .page-hero .script-title { color: #4b4fff; text-shadow: 0 0 40px rgba(3, 7, 254, .35); }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
.h3 { font-size: 1.4rem; line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; margin-bottom: 18px; }
.section--dark p:not(.lead):not(.eyebrow), .page-hero__intro { color: #d6d6e0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-size: 1rem; font-weight: 700; text-decoration: none; letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--blue-soft); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 700; text-decoration: none; color: inherit;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--light .link-arrow { color: var(--blue); }
.link-back { display: inline-block; margin-bottom: 24px; color: var(--muted-dark); text-decoration: none; }
.link-back:hover { color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: var(--blue);
  transition: background-color .35s, box-shadow .35s;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.nav--over-hero:not(.is-scrolled):not(.is-open) { background: transparent; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__brand { margin-right: auto; }
.nav__brand img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; display: block; padding: 8px 12px;
  font-size: 1.05rem; text-decoration: none; text-transform: lowercase;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 8px 20px; font-size: .95rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; padding: 13px 11px;
  background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.social { display: flex; align-items: center; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); transition: background-color .25s, border-color .25s, color .25s;
}
.social a:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.social .icon { width: 16px; height: 16px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 55%, rgba(3,7,254,.12) 100%);
}
.hero__content { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(72px, 12vh, 120px); }
.hero__title {
  max-width: 15ch;
  font-size: clamp(2.4rem, 6.2vw, 5.4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.01em;
  margin: 12px 0 20px;
}
.hero__title em { font-family: var(--font-script); font-style: normal; font-weight: 400; color: #7d80ff; text-shadow: 0 0 30px rgba(3, 7, 254, .8); font-size: 1.15em; line-height: .8; }
.hero__sub { max-width: 46ch; font-weight: 300; font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #e4e4ee; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__eyebrow, .hero__title, .hero__sub, .hero__actions { animation: rise 1s var(--ease) both; }
.hero__title { animation-delay: .1s; }
.hero__sub { animation-delay: .25s; }
.hero__actions { animation-delay: .4s; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollDot 1.8s infinite; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--white); padding: 34px 0; overflow: hidden; border-bottom: 1px solid var(--line-light); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee__list img { height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee__list img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--black); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.section-head .script-title { margin-bottom: 24px; }
.section-head .link-arrow { margin-bottom: 40px; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__text p + p { margin-top: 0; }
.split__text p { margin-bottom: 18px; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
  background: radial-gradient(1200px 500px at 85% -10%, rgba(3, 7, 254, .45), transparent 60%), var(--black);
}
.page-hero .script-title { margin-bottom: 16px; }
.page-hero__intro { max-width: 60ch; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

/* ---------- Stats ---------- */
.stats { background: var(--blue); padding: clamp(48px, 7vw, 80px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 20px; }
.stat__value { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat__label { color: rgba(255, 255, 255, .85); font-size: .98rem; line-height: 1.4; }

/* ---------- Services ---------- */
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--paper); color: var(--black); text-decoration: none;
  transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted-light); font-size: .98rem; flex: 1; transition: color .35s; }
.service-card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue); color: var(--white); margin-bottom: 8px; transition: background-color .35s, color .35s;
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__count { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); transition: color .35s; }
.service-card:hover { transform: translateY(-6px); background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.service-card:hover p, .service-card:hover .service-card__count { color: var(--white); }
.service-card:hover .service-card__icon { background: var(--white); color: var(--blue); }

.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.pill-nav a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-dark);
  text-decoration: none; transition: background-color .25s, border-color .25s;
}
.pill-nav a:hover { background: var(--blue); border-color: var(--blue); }
.service-blocks { display: grid; gap: 20px; }
.service-block {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: border-color .3s;
}
.service-block:hover { border-color: rgba(3, 7, 254, .8); }
.service-block__head { position: relative; }
.service-block__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 10px; }
.service-block__num { position: absolute; right: 0; top: -8px; font-size: 3.5rem; font-weight: 700; color: rgba(255, 255, 255, .07); line-height: 1; }
.check-list { display: grid; gap: 4px; align-content: start; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { margin-top: 4px; color: #6a6dff; }
.full-bleed { width: 100%; margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process__step {
  position: relative; padding: 28px 24px 32px; border-top: 2px solid var(--blue);
  background: linear-gradient(180deg, rgba(3, 7, 254, .12), transparent 70%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.process__num { display: block; font-size: .9rem; letter-spacing: .15em; color: #8d8fff; margin-bottom: 18px; }
.process__step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.process__step p { font-size: .98rem; }

/* ---------- Work ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card__link { display: block; text-decoration: none; color: inherit; }
.project-card__media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 664 / 343; background: var(--ink-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card__body { padding: 18px 4px 0; }
.project-card__meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8d8fff !important; margin-bottom: 6px; }
.project-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.4rem; margin-bottom: 6px; }
.project-card__title .icon { transition: transform .35s var(--ease); }
.project-card__summary { font-size: .98rem; }
.project-card__link:hover img { transform: scale(1.06); }
.project-card__link:hover .project-card__title .icon { transform: translate(3px, -3px); }
.project-card.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--white); border: 1px solid var(--line-dark);
  transition: background-color .25s, border-color .25s;
}
.filter:hover { border-color: var(--white); }
.filter.is-active { background: var(--blue); border-color: var(--blue); }

.portfolio-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 64px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.portfolio-cta .h2 { margin-bottom: 6px; }

.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
.client-grid li { display: grid; place-items: center; padding: 28px 20px; background: var(--white); aspect-ratio: 3 / 2; }
.client-grid img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.client-grid li:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* Case study */
.case-title { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.05; font-weight: 700; margin: 8px 0 18px; }
.case-cover { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 664 / 343; object-fit: cover; margin-bottom: 56px; }
.case-body { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); }
.case-facts { display: grid; gap: 24px; align-content: start; padding: 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }
.case-facts h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #8d8fff; font-weight: 400; margin-bottom: 6px; }
.case-facts li + li { margin-top: 4px; }
.case-story { display: grid; gap: 36px; align-content: start; }
.case-story a { color: #8d8fff; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.case-gallery img { width: 100%; border-radius: var(--radius-lg); }
.case-more { margin-top: 96px; margin-bottom: 28px; align-items: center; }
.case-more .h2, .case-more .link-arrow { margin: 0; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values li { padding: 28px; border-radius: var(--radius-lg); background: var(--paper); }
.values h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--blue); }
.values p { color: var(--muted-light); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member__photo {
  display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); color: #c4c4d0; margin-bottom: 14px;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.member:hover .member__photo img { filter: none; }
.member__photo .icon { width: 64px; height: 64px; }
.member h3 { font-size: 1.15rem; }
.member p { color: var(--muted-light); }


.preview-note {
  margin: -12px 0 28px; padding: 12px 16px; border-radius: 10px;
  background: #fff6d6; color: #5a4500 !important; border: 1px dashed #d4a800; font-size: .92rem;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--blue); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .9rem; color: rgba(255, 255, 255, .9); padding: 0; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem;
  color: var(--black); background: var(--white);
  border: 2px solid transparent; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.field [aria-invalid="true"] { border-color: #ff5c7a; box-shadow: 0 0 0 4px rgba(255, 92, 122, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .5); transition: background-color .2s, color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--white); color: var(--blue); border-color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.contact-form .btn { margin-top: 6px; }
.form-status { min-height: 1.6em; margin-top: 14px; font-size: .98rem; color: var(--white) !important; }

.contact-info { padding-top: 8px; }
.contact-list { display: grid; gap: 4px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list .icon { width: 22px; height: 22px; margin-top: 4px; color: #6a6dff; }
.contact-list span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.contact-list a { text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { text-decoration: underline; }
.contact-info__follow { font-size: 1rem; margin-bottom: 12px; color: var(--muted-dark); font-weight: 400; }
.contact-info .preview-note { margin: 0 0 24px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--blue); text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.cta__inner { position: relative; }
.cta__badge {
  display: inline-block; padding: 4px 18px; margin-bottom: 20px;
  background: var(--white); color: var(--blue); font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.cta__title { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; font-weight: 700; margin-bottom: 32px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@keyframes drift { from { transform: translate(-10%, -5%); } to { transform: translate(10%, 5%); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted-dark); max-width: 34ch; margin-bottom: 20px; }
.footer__heading { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); font-weight: 400; margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { text-decoration: none; color: #e6e6ef; transition: color .2s; }
.footer__list a:hover { color: #8d8fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: #e6e6ef; }
.footer__contact .icon { margin-top: 4px; color: #6a6dff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: .92rem; }
.footer__top { text-decoration: none; }
.footer__top:hover { color: var(--white); }

/* ---------- Floating button ---------- */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fab__btn, .fab--wa {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -6px rgba(3, 7, 254, .6);
  border: 2px solid rgba(255, 255, 255, .9);
  transition: transform .3s var(--ease);
}
.fab--wa { background: #25d366; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); }
.fab .icon { width: 26px; height: 26px; }
.fab:hover .fab__btn, .fab--wa:hover { transform: scale(1.08); }
.fab__label {
  padding: 6px 12px; border-radius: 999px; background: var(--black); color: var(--white);
  font-size: .85rem; white-space: nowrap; border: 1px solid var(--line-dark);
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__menu { gap: 18px; }
  .nav__menu > .social { display: none; }
  .service-cards, .values, .team { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 24px var(--gutter) 40px; background: var(--blue); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav__menu > .social { display: flex; }
  .nav__links { flex-direction: column; }
  .nav__links a { font-size: 2rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .nav__links a::after { display: none; }
  .nav__cta { align-self: flex-start; }
  body.menu-open { overflow: hidden; }

  .split, .contact, .case-body, .service-block { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
    .client-grid { grid-template-columns: repeat(3, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .section-head .link-arrow { margin: -8px 0 32px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .service-cards, .values, .process, .project-grid, .team { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .client-grid li { padding: 18px 12px; }
  .client-grid img { max-height: 44px; }
  .marquee__list { gap: 40px; padding-right: 40px; }
  .marquee__list img { height: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .fab { right: 14px; bottom: 14px; }
  .fab__label { display: none; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
