:root {
  --ink: #000000;
  --ink-soft: #0a0a0a;
  --ink-muted: #111111;
  --ivory: #ffffff;
  --paper: #ffffff;
  --cream: #f6f6f7;
  --gold: #ffe828;
  --gold-deep: #05219c;
  --gold-soft: #fff74a;
  --stone: #5c5a5b;
  --stone-light: #8e8a8b;
  --line: #e6e6e6;
  --line-dark: #1a1a1a;
  --accent: #0019ff;
  --accent-mid: #4d4cff;
  --accent-soft: #5d5df9;
  --navy: #05219c;
  --gray: #b0acad;
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 40px 80px rgba(0, 0, 0, 0.16);
  --radius: 0px;
  --nav-h: 84px;
  --container: 1200px;
  --gutter: 24px;
  --font: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 100;
  --z-overlay: 90;
  --z-toast: 200;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html:focus-within {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 300;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.muted {
  color: var(--stone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(244, 240, 232, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}

.btn-dark:hover {
  background: var(--ink-muted);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--ivory);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), backdrop-filter 220ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-light {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 148px;
  min-height: 44px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-light {
  display: none;
}

.site-header.is-scrolled .logo-dark,
.site-header.is-light .logo-dark {
  display: none;
}

.site-header.is-scrolled .logo-light,
.site-header.is-light .logo-light {
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
  position: relative;
}

.site-header.is-scrolled .nav-links a,
.site-header.is-light .nav-links a {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 200ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials {
  display: none;
  align-items: center;
  gap: 4px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ivory);
}

.site-header.is-scrolled .socials a,
.site-header.is-light .socials a {
  color: var(--ink);
}

.socials a:hover {
  color: var(--gold);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ivory);
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-light .menu-toggle {
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 32px 24px 48px;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mobile-nav .socials {
  display: flex;
  margin-top: auto;
}

.hero {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--ivory);
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 56vw;
  height: 56vw;
  right: -16vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(0, 25, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 24vw;
  height: 24vw;
  left: -8vw;
  bottom: 8vh;
  background: radial-gradient(circle, rgba(255, 232, 40, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 48px;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  max-width: 14ch;
  margin: 16px 0 18px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-copy {
  max-width: 46ch;
  color: rgba(246, 242, 234, 0.78);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
}

.hero-meta p {
  font-size: 13px;
  color: var(--stone-light);
}

.hero-meta strong {
  display: block;
  color: var(--ivory);
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-visual {
  border: 1px solid var(--line-dark);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 25, 255, 0.18), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 232, 40, 0.06) 18px 19px);
}

.hero-visual-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(77, 76, 255, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.hero-visual small {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.hero-visual h3 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 12ch;
}

.marquee {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  background: var(--ink);
  color: var(--gold);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee-track span {
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  gap: 40px;
}

.about-copy p + p {
  margin-top: 16px;
}

.mission {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 28px;
}

.mission h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}

.metric {
  background: var(--paper);
  padding: 28px 22px;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  color: var(--stone);
  font-size: 14px;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--navy);
}

.work {
  background: var(--ivory);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--stone);
  font-weight: 600;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.work-grid {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
}

.card-media {
  min-height: 180px;
  position: relative;
  background: var(--ink);
  color: var(--ivory);
}

.card-media.tone-a { background: linear-gradient(145deg, #000000, #05219c); }
.card-media.tone-b { background: linear-gradient(145deg, #000000, #0019ff); }
.card-media.tone-c { background: linear-gradient(145deg, #05219c, #4d4cff); }
.card-media.tone-d { background: linear-gradient(145deg, #111111, #2a2a00 60%, #ffe828); }

.card-media span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-body {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.card h3 {
  font-size: 1.35rem;
}

.card p {
  color: var(--stone);
  font-size: 15px;
}

.proof {
  background: var(--paper);
}

.logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.logo-tile {
  min-height: 76px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--stone);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  background: var(--ivory);
}

.quotes {
  display: grid;
  gap: 16px;
}

.quote {
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 28px 24px;
  display: grid;
  gap: 16px;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--navy);
}

.stars svg {
  width: 16px;
  height: 16px;
}

.quote blockquote {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.quote-meta strong {
  display: block;
  font-size: 14px;
}

.quote-meta span {
  font-size: 13px;
  color: var(--stone);
}

.badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 88px;
}

.badge svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.badge strong {
  display: block;
  font-size: 14px;
}

.badge span {
  font-size: 13px;
  color: var(--stone);
}

.contact {
  background: var(--ink);
  color: var(--ivory);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact .muted {
  color: rgba(246, 242, 234, 0.7);
}

.contact-grid {
  display: grid;
  gap: 40px;
}

.form {
  display: grid;
  gap: 16px;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.req {
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #f97066;
}

.error-text {
  color: #f97066;
  font-size: 12px;
  min-height: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-status {
  min-height: 24px;
  font-size: 14px;
}

.form-status.success {
  color: #75e0a7;
}

.form-status.error {
  color: #f97066;
}

.contact-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.contact-card {
  border: 1px solid var(--line-dark);
  padding: 20px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--gold);
  font-weight: 600;
}

.footer {
  background: var(--ink-soft);
  color: rgba(246, 242, 234, 0.78);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer h2,
.footer h3 {
  color: var(--ivory);
}

.footer h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer a:hover {
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-toast);
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  max-width: min(360px, calc(100% - 32px));
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

body.nav-open {
  overflow: hidden;
}

.legal {
  padding: calc(var(--nav-h) + 48px) 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 28px 0 10px;
}

.legal p + p {
  margin-top: 12px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .about-grid { align-items: start; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .badges { grid-template-columns: repeat(4, 1fr); }
  .nav-cta { display: inline-flex; }
  .socials { display: flex; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 420px; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

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