@font-face {
  font-family: Manrope;
  src: url('manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f3ee;
  --ink: #161722;
  --muted: #505360;
  --blue: #263cdb;
  --acid: #e0fd57;
  --line: #cac9c3;
  font-family: Manrope, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #fc851b; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; }
h2 { font-size: clamp(3.5rem, 8.7vw, 8.5rem); line-height: .89; letter-spacing: -.075em; }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.04; letter-spacing: -.055em; }
em { font-style: normal; }
.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .75rem; left: .75rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.wordmark { display: block; width: 9.75rem; height: auto; }
nav { display: flex; align-items: center; gap: clamp(.65rem, 3.25vw, 3rem); }
nav a { font-size: .91rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
nav a:hover, .footer-email:hover { color: var(--blue); }
.nav-contact { border: 1px solid var(--ink); padding: .47rem .9rem; }
.nav-contact:hover { color: white; background: var(--blue); border-color: var(--blue); }

.hero { background: var(--paper); }
.hero-panel { position: relative; isolation: isolate; overflow: hidden; background: #111526; color: #fff; }
.hero-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #131527 0%, #131527 18%, #131527ee 37%, #15183b20 85%); }
.hero-panel::after { content: ''; position: absolute; right: 0; bottom: -1px; width: min(16vw, 220px); height: clamp(24px, 4.6vw, 68px); background: var(--paper); clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none; }
.hero-art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: min(87%, 1520px); pointer-events: none; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { position: relative; padding-block: clamp(2.65rem, 5.1vw, 5.2rem) clamp(3.85rem, 7vw, 6.7rem); }
.eyebrow, .section-label { font: 700 .875rem/1.45 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: #e0e1ee; margin-bottom: clamp(1.3rem, 3vw, 2.7rem); }
h1 { font-size: clamp(5rem, 11.1vw, 11.7rem); line-height: .82; letter-spacing: -.073em; }
h1 > span { display: block; }
h1 em { color: var(--acid); }
.hero-bottom { display: flex; align-items: center; gap: clamp(1rem, 3.8vw, 3rem); margin-top: clamp(1.85rem, 4vw, 3.3rem); }
.hero-bottom p { max-width: 28rem; color: #ecedf6; font-size: clamp(1rem, 1.5vw, 1.13rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .75rem 1.25rem; text-decoration: none; font-weight: 800; line-height: 1.25; flex: none; transition: background .15s ease; }
.button-acid { background: var(--acid); color: #171c08; }
.button-acid:hover { background: #f1ffac; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--blue); }

.section { padding-block: clamp(4.5rem, 8.5vw, 8rem); }
.section-label { display: flex; align-items: center; gap: .65rem; color: var(--blue); margin-bottom: clamp(1.35rem, 3vw, 2.25rem); }
.label-mark { display: block; flex: none; width: 14px; height: 12px; background: currentColor; clip-path: polygon(36% 0, 100% 0, 64% 100%, 0 100%); }
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: end; gap: clamp(2rem, 7.5vw, 8rem); }
.feature-copy > p { max-width: 26rem; color: var(--muted); }
.feature-copy .lead { margin: 1.4rem 0 .8rem; color: var(--ink); font-size: clamp(1.65rem, 3.3vw, 3rem); line-height: 1.02; font-weight: 800; letter-spacing: -.065em; }
.text-link { display: inline-block; color: #1d32c3; font-weight: 800; text-underline-offset: .28em; text-decoration-thickness: 1px; margin-top: 1.45rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.feature-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; align-items: baseline; border-top: 1px solid var(--line); padding-block: clamp(.95rem, 2.5vw, 1.9rem); }
.feature-list strong { font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.feature-list span { color: var(--muted); }

.web-section { position: relative; isolation: isolate; overflow: hidden; background: #202fc3; color: white; }
.web-section::before { position: absolute; inset: 0; z-index: -1; content: ''; background: #2a40de; clip-path: polygon(70% 0, 100% 0, 100% 100%, 36% 100%); }
.web-section .section-label { color: #e9edff; }
.web-intro { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 2rem; }
.web-intro h2 { font-size: clamp(3.1rem, 8.2vw, 8rem); }
.web-intro h2 em { color: var(--acid); }
.web-intro p { max-width: 28rem; font-size: clamp(1.03rem, 1.6vw, 1.2rem); color: #f3f4ff; }
.services { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2.2rem, 5.5vw, 5rem); border-block: 1px solid #b2baff; }
.services article { padding: clamp(1.3rem, 3.3vw, 2.65rem) clamp(1rem, 4vw, 3rem) clamp(1.3rem, 3.3vw, 2.65rem) 0; }
.services article + article { border-left: 1px solid #b2baff; padding-left: clamp(1rem, 4vw, 3rem); }
.services p { max-width: 31rem; margin-top: .7rem; color: #f3f4ff; }

.contact-section { background: var(--acid); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.contact p { font-size: clamp(1rem, 1.7vw, 1.18rem); margin-top: 1.05rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.55rem 1.85rem; }
.site-footer .wordmark { width: 8.2rem; }
.footer-email { color: var(--muted); font-size: .94rem; text-underline-offset: .18em; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .feature { gap: 2rem; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; gap: .6rem; }
  .wordmark { width: 8.2rem; }
  nav a { font-size: .875rem; }
  .nav-contact { padding: .42rem .55rem; }
  .hero-panel::before { background: linear-gradient(110deg, #131527fa 0%, #131527ce 39%, #13152730 100%), linear-gradient(0deg, #131527 0%, transparent 48%); }
  .hero-art { width: 100%; }
  .hero-image { object-position: 72% top; }
  .hero-copy { padding-top: 3.1rem; }
  .eyebrow { max-width: 22rem; }
  h1 { font-size: clamp(3.45rem, 13.3vw, 6rem); }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .feature, .web-intro, .services { grid-template-columns: 1fr; }
  .web-intro { gap: 1.3rem; }
  .services article, .services article + article { border-left: 0; padding-inline: 0; }
  .services article + article { border-top: 1px solid #b2baff; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 450px) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem; }
  nav { justify-content: space-between; width: 100%; gap: .4rem; }
  .feature-list li { grid-template-columns: 1fr; gap: .3rem; }
}

@media (max-width: 360px) {
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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

@media (prefers-reduced-motion: no-preference) {
  :root { --motion-ease: cubic-bezier(.22, .76, .24, 1); }

  .hero-image {
    scale: 1.05;
    transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
    transition: transform .65s var(--motion-ease);
    animation: frame-in 2.6s var(--motion-ease) both;
  }

  .hero-copy .eyebrow { animation: content-in .55s var(--motion-ease) both; }
  .hero-copy h1 > span { animation: headline-in .8s var(--motion-ease) both; }
  .hero-copy h1 > span:nth-child(2) { animation-delay: .11s; }
  .hero-copy h1 > span:nth-child(3) { animation-delay: .22s; }
  .hero-bottom > p { animation: content-in .7s .27s var(--motion-ease) both; }
  .hero-bottom > .button { animation: content-in .65s .38s var(--motion-ease) both; }

  .reveal-pending:not(.reveal-visible, :focus-within) { opacity: 0; }
  .reveal-visible { animation: content-in .65s var(--reveal-delay, 0s) var(--motion-ease) both; }
  .feature-list li:nth-child(2), .web-intro p, .services article + article, .contact > .button { --reveal-delay: .08s; }
  .feature-list li:nth-child(3) { --reveal-delay: .16s; }
  .reveal-visible:focus-within, .hero-bottom > .button:focus-visible { animation: none; }

  .wordmark { transition: translate .25s var(--motion-ease); }
  .button { transition: background .17s ease, translate .3s var(--motion-ease), box-shadow .3s var(--motion-ease); }
  .button:active { translate: 0 0; box-shadow: none; }
  nav a:not(.nav-contact) {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .28s var(--motion-ease), color .17s ease;
  }
  nav a:not(.nav-contact):is(:hover, :focus-visible) { background-size: 100% 1px; }
  .brand:focus-visible .wordmark { translate: 0 -2px; }
  .button:focus-visible { translate: 0 -3px; }

  @media (hover: hover) {
    .brand:hover .wordmark { translate: 0 -2px; }
    .button:hover:not(:active) { translate: 0 -3px; box-shadow: 0 8px 24px #13152740; }
  }

  @supports (animation-timeline: scroll()) {
    .hero-art {
      animation: art-scroll linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 680px;
    }
  }
}

@keyframes frame-in {
  from { scale: 1.17; opacity: .65; }
}

@keyframes headline-in {
  from { opacity: 0; transform: translateY(.35em); }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(1.3rem); }
}

@keyframes art-scroll {
  to { transform: translateY(14%); }
}

