:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #3f3d39;
  --paper: #f7f4ed;
  --paper-strong: #fffdf7;
  --muted: #ece7dc;
  --line: rgba(20, 20, 20, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --charcoal: #12110f;
  --charcoal-2: #1e1b17;
  --white: #ffffff;
  --copper: #b9693a;
  --amber: #e3b45a;
  --teal: #18a999;
  --green: #6f9f5f;
  --red: #b7484a;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.18);
  --radius: 8px;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img,
canvas {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(227, 180, 90, 0.45);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 104px;
  height: 54px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.brand strong {
  display: block;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(20, 20, 20, 0.06);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 96px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 15%, rgba(227, 180, 90, 0.22), transparent 30%),
    linear-gradient(120deg, #15130f 0%, #221f1a 54%, #101312 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 77% 40%, rgba(24, 169, 153, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(18, 17, 15, 0.78) 0%, rgba(18, 17, 15, 0.54) 48%, rgba(18, 17, 15, 0.12) 100%);
  pointer-events: none;
}

.vertex-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 74%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 72px;
}

.eyebrow,
.section-kicker,
.work-type {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.button-primary {
  background: var(--amber);
  color: #15130f;
  border-color: rgba(255, 255, 255, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0c66e;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 760px;
  margin: 48px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 10, 9, 0.42);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  position: relative;
  flex: 1 1 210px;
  min-height: 86px;
  padding: 18px 20px 18px 22px;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics dt {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.trust-band p {
  margin: 2px 0 0;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-track {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 12px;
}

.trust-track span {
  position: relative;
  display: inline-block;
  padding: 0 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}

.trust-track span:first-child {
  padding-left: 0;
}

.trust-track span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1px;
  height: 1.05em;
  background: var(--line);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

.section-muted,
.section-dark {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
}

.section-muted {
  background: var(--muted);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p:last-child,
.intro-copy,
.security-panel p,
.contact-layout > div > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-dark .section-heading p:last-child,
.section-dark article p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.75fr);
  gap: 54px;
  align-items: start;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.capability-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card,
.work-card,
.industry-list article,
.process-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.capability-card {
  min-height: 340px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(227, 180, 90, 0.42);
  border: 1px solid rgba(185, 105, 58, 0.28);
  font-weight: 900;
}

.capability-card p,
.work-card p,
.process-list p,
.industry-list p {
  color: var(--ink-soft);
}

.capability-card ul {
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capability-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.capability-card li + li {
  margin-top: 8px;
}

.capability-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.work-card {
  overflow: hidden;
  min-height: 405px;
  display: flex;
  flex-direction: column;
}

.work-card > div:last-child {
  padding: 22px;
}

.featured-work {
  grid-column: span 2;
}

.work-visual {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.22), transparent 40%),
    var(--charcoal-2);
}

.work-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.visual-sentinel span,
.visual-twin span,
.visual-agent span,
.visual-remote span,
.visual-mobile span,
.visual-creative span {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.visual-sentinel span:nth-child(1) {
  left: 38px;
  top: 36px;
  width: 148px;
  height: 70px;
  background: rgba(227, 180, 90, 0.24);
}

.visual-sentinel span:nth-child(2) {
  left: 210px;
  top: 54px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(24, 169, 153, 0.24);
}

.visual-sentinel span:nth-child(3) {
  right: 46px;
  top: 34px;
  width: 160px;
  height: 34px;
  background: rgba(111, 159, 95, 0.25);
}

.visual-sentinel span:nth-child(4) {
  right: 94px;
  bottom: 32px;
  width: 220px;
  height: 44px;
}

.visual-twin span:nth-child(1) {
  left: 42px;
  top: 42px;
  width: 98px;
  height: 98px;
  transform: rotate(45deg);
  background: rgba(24, 169, 153, 0.2);
}

.visual-twin span:nth-child(2) {
  right: 54px;
  top: 34px;
  width: 116px;
  height: 42px;
}

.visual-twin span:nth-child(3) {
  right: 82px;
  bottom: 38px;
  width: 180px;
  height: 34px;
  background: rgba(227, 180, 90, 0.22);
}

.visual-agent span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.visual-agent span:nth-child(1) {
  left: 34px;
  top: 40px;
  background: rgba(227, 180, 90, 0.28);
}

.visual-agent span:nth-child(2) {
  left: 128px;
  top: 86px;
  background: rgba(24, 169, 153, 0.28);
}

.visual-agent span:nth-child(3) {
  right: 106px;
  top: 44px;
  background: rgba(183, 72, 74, 0.28);
}

.visual-agent span:nth-child(4) {
  right: 38px;
  bottom: 36px;
  width: 96px;
  border-radius: var(--radius);
}

.visual-remote span:nth-child(1) {
  left: 34px;
  top: 34px;
  width: 156px;
  height: 90px;
  background: rgba(255, 255, 255, 0.11);
}

.visual-remote span:nth-child(2) {
  right: 46px;
  bottom: 36px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(24, 169, 153, 0.24);
}

.visual-mobile span:nth-child(1) {
  left: 42px;
  top: 28px;
  width: 74px;
  height: 124px;
  border-radius: 16px;
  background: rgba(227, 180, 90, 0.2);
}

.visual-mobile span:nth-child(2) {
  left: 142px;
  top: 46px;
  width: 144px;
  height: 26px;
}

.visual-mobile span:nth-child(3) {
  right: 54px;
  bottom: 44px;
  width: 112px;
  height: 42px;
  background: rgba(24, 169, 153, 0.22);
}

.visual-creative span:nth-child(1) {
  left: 44px;
  top: 40px;
  width: 86px;
  height: 86px;
  background: rgba(227, 180, 90, 0.25);
}

.visual-creative span:nth-child(2) {
  left: 118px;
  top: 72px;
  width: 108px;
  height: 58px;
  transform: rotate(-8deg);
  background: rgba(183, 72, 74, 0.2);
}

.visual-creative span:nth-child(3) {
  right: 52px;
  top: 38px;
  width: 86px;
  height: 112px;
  background: rgba(24, 169, 153, 0.22);
}

.work-type {
  margin-bottom: 10px;
  color: var(--green);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-list article {
  min-height: 240px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  box-shadow: none;
}

.industry-list h3 {
  color: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: item;
}

.process-list li {
  min-height: 285px;
  padding: 24px;
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--copper);
  font-weight: 900;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.team-grid article {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.team-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-grid p {
  color: var(--ink-soft);
}

.security-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.security-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.security-checks span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(236, 231, 220, 0.66);
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-section {
  padding-bottom: 104px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 46px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  color: var(--ink-soft);
}

.contact-details a {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--amber);
}

.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: var(--radius);
  background: #fffefa;
  padding: 12px 13px;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 126px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(227, 180, 90, 0.45);
  border-color: var(--copper);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 36px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: var(--charcoal);
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
}

.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-main h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.legal-main h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
}

.legal-main a {
  border-bottom: 2px solid var(--amber);
  font-weight: 800;
}

@media (max-width: 980px) {
  .section-heading,
  .split,
  .security-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-list,
  .team-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-work {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .nav-shell {
    padding: 0 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 72px);
  }

  .hero-content {
    padding: 68px 18px 54px;
  }

  .hero-metrics,
  .capability-grid,
  .work-grid,
  .industry-list,
  .team-grid,
  .process-list,
  .security-checks {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: block;
  }

  .hero-metrics div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics dd {
    max-width: none;
  }

  .trust-band {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 18px;
  }

  .trust-track {
    row-gap: 10px;
  }

  .trust-track span {
    padding: 0 13px;
  }

  .trust-track span:first-child {
    padding-left: 0;
  }

  .featured-work {
    grid-column: span 1;
  }

  .section {
    padding: 68px 18px;
  }

  .section-muted,
  .section-dark {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 28px;
  }

  .capability-card,
  .work-card,
  .industry-list article,
  .team-grid article,
  .process-list li {
    min-height: auto;
  }

  .security-panel,
  .contact-form {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
