:root {
  color-scheme: dark;
  --background: #101112;
  --surface: #171819;
  --stroke: #363738;
  --copy: #f6f3ee;
  --muted: #bcb9b6;
  --red: #ff635e;
  --red-fill: #ff5b54;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--copy);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #ff8982; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 126px); }
section[id] { scroll-margin-top: 16px; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 12px 16px; background: var(--copy); color: var(--background); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--stroke); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: clamp(1.125rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.065em; white-space: nowrap; }
.brand-symbol { display: block; width: 36px; height: 36px; overflow: hidden; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 3.3vw, 46px); }
nav a { padding-block: 11px; font-size: .9rem; text-decoration: none; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--red); }
.nav-cta { padding: 10px 16px; border: 1px solid #5e5858; color: var(--copy); border-radius: 4px; }
.nav-cta:hover { border-color: var(--red); }

.hero { min-height: 620px; padding-block: clamp(62px, 10vw, 135px); display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin: 0 0 20px; color: var(--red); font: 600 .82rem/1.5 ui-monospace, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.055em; }
h1 { font-size: clamp(3.15rem, 7.2vw, 7rem); margin-bottom: 24px; }
h1 em { color: var(--red); font-style: normal; white-space: nowrap; }
h2 { font-size: clamp(2.4rem, 5.1vw, 5rem); margin-bottom: 26px; }
h3 { font-size: clamp(1.3rem, 2.4vw, 2.05rem); letter-spacing: -.035em; }
.lede, .section-intro { max-width: 37ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent; border-radius: 4px; padding: 11px 19px; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.primary { background: var(--red-fill); color: #151010; }
.primary:hover { background: #ff827a; }
.button:disabled { opacity: .65; cursor: default; }
.text-link { display: inline-block; padding-block: 11px; font-size: .94rem; font-weight: 600; text-underline-offset: 5px; text-decoration-color: #7d7777; }

.workflow { position: relative; isolation: isolate; min-width: 0; margin: 0; padding: clamp(15px, 3vw, 35px); border: 1px solid #4a393b; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 13% 18%, #442327, transparent 73%), #161618; }
.workflow::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; pointer-events: none; background: radial-gradient(#ff9b91 1px, transparent 1px) 0 0 / 16px 16px; mask-image: linear-gradient(140deg, #000, transparent 75%); }
.workflow figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; margin-bottom: 23px; color: #fff1ef; font-size: .84rem; font-weight: 700; }
.workflow figcaption span { color: #e8b5b2; font-weight: 400; }
.workflow-steps { list-style: none; margin: 0; padding: 0; }
.workflow-steps li { position: relative; display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid #56454a; border-radius: 6px; background: #221e22; min-height: 74px; }
.workflow-steps li + li { margin-top: 17px; }
.workflow-steps li + li::before { content: ""; position: absolute; left: 31px; top: -18px; height: 17px; border-left: 1px dashed #d67975; }
.workflow-steps strong, .workflow-steps small { display: block; }
.workflow-steps strong { font-size: .94rem; line-height: 1.25; margin-bottom: 3px; }
.workflow-steps small { color: #d1bfc1; font-size: .83rem; line-height: 1.35; }
.workflow-steps .agent-node { border-color: #d86361; background: #392226; }
.node-icon { display: grid; place-items: center; width: 36px; aspect-ratio: 1; flex: none; border-radius: 4px; color: #ffada9; background: #443037; }
.agent-node .node-icon { background: #fb6f66; color: #221617; }
.inbox-icon { width: 15px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; }
.inbox-icon::after { content: ""; position: absolute; inset: 0 1px auto; height: 5px; border-bottom: 1.5px solid currentColor; }
.agent-icon { width: 13px; height: 13px; background: currentColor; clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%); }
.check-icon { width: 13px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.workflow-policy { margin-top: 20px; color: #e6c8c8; font-size: .83rem; }
.workflow-policy > span { display: inline-block; width: 7px; height: 7px; border: 1px solid #ff8d84; border-radius: 50%; margin-right: 6px; }

.services { background: var(--surface); border-block: 1px solid var(--stroke); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 36px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--stroke); border-radius: 8px; padding: clamp(22px, 4vw, 46px); background: #1c1d1f; }
.featured { background: #271f22; border-color: #624045; }
.service-card h3 { margin: 24px 0 12px; }
.service-card p { max-width: 50ch; color: var(--muted); margin-bottom: 23px; }
.service-mark { width: 42px; height: 42px; display: grid; place-content: center; gap: 3px; border: 1px solid #765457; border-radius: 4px; color: var(--red); }
.agent-mark { grid-template-columns: repeat(2, 6px); }
.agent-mark i { width: 6px; height: 6px; border: 1px solid currentColor; }
.agent-mark i:first-child, .agent-mark i:last-child { background: currentColor; }
.software-mark i { background: currentColor; width: 15px; height: 2px; }
.software-mark i:last-child { width: 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: auto 0 0; }
.tags li { border: 1px solid #555052; border-radius: 4px; padding: 4px 8px; font-size: .85rem; color: #e5dedb; }
.approach, .brief-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 8vw, 104px); }
.approach-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.approach-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 4px 12px; padding: 21px 0; border-top: 1px solid var(--stroke); counter-increment: process; }
.approach-list li:last-child { border-bottom: 1px solid var(--stroke); }
.approach-list li::before { content: counter(process, decimal-leading-zero); align-self: start; margin-top: 3px; color: var(--red); font: 600 .85rem/1.5 ui-monospace, Menlo, monospace; }
.approach-list h3, .approach-list p { grid-column: 2; margin-bottom: 0; }
.approach-list p { color: var(--muted); }
.brief { background: #21191c; border-block: 1px solid #49343a; }
form { display: grid; align-content: start; align-self: start; }
form label { display: block; margin-bottom: 7px; font-weight: 650; }
select, textarea { display: block; width: 100%; min-height: 49px; margin: 0 0 17px; padding: 12px; border: 1px solid #6c575d; border-radius: 4px; background: #181517; color: var(--copy); font: inherit; }
textarea { resize: vertical; }
textarea::placeholder { color: #b9adb0; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; top: 18px; right: 14px; width: 8px; height: 8px; content: ""; border: solid var(--copy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; padding-right: 32px; }
form button { justify-self: start; }
.form-status { margin: 10px 0 0; color: #f6c6c2; }
.form-status:empty { margin: 0; }
#copy-fallback { margin-top: 12px; }
.footer-inner { min-height: 95px; }
.projects { border-bottom: 1px solid var(--stroke); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; margin-top: 36px; }
.project-card { padding: 26px 0; border-top: 1px solid var(--stroke); }
.project-card h3 { margin-bottom: 10px; }
.project-card p:last-child { max-width: 55ch; margin-bottom: 0; color: var(--muted); }
.project-type { color: var(--red); font-size: .9rem; margin-bottom: 8px; }
.contact-link { margin-top: 9px; }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: 1fr 1fr; }
  .wide-break { display: none; }
}

@media (max-width: 700px) {
  .hero, .approach, .brief-layout { grid-template-columns: 1fr; }
  .hero { gap: 36px; }
  .approach, .brief-layout { gap: 22px; }
  .section-intro { margin-bottom: 0; }
  .service-grid, .project-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .service-grid { gap: 12px; }
}

@media (max-width: 450px) {
  h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .header-inner { display: block; padding-top: 12px; }
  nav { justify-content: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 9px; }
  nav a { font-size: .85rem; }
  .nav-cta { padding-inline: 11px; }
}

@media (forced-colors: active) {
  .button, .nav-cta { border: 1px solid ButtonText; }
}

.project-image {
  display: block;
  width: 100%;
  height: clamp(10rem, 24vw, 17rem);
  margin-bottom: 1.35rem;
  border-radius: .35rem;
  background: #252326;
  object-fit: contain;
}

.about {
  border-top: 1px solid var(--line, #343333);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.75rem, 6vw, 5rem);
}

.founder-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 750px) {
  .about-layout { grid-template-columns: 1fr; }
}

.project-image-link {
  display: block;
  border-radius: .35rem;
}

.founder-portrait {
  display: block;
  width: clamp(8rem, 22vw, 12rem);
  height: auto;
  margin-bottom: 1.4rem;
  border-radius: .5rem;
}

.news {
  border-top: 1px solid var(--stroke);
}

.news-feature {
  margin-top: 1.75rem;
}

.news-feature h3 {
  max-width: 29ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.news-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
  margin-block: 1.5rem;
}

.news-gallery figure {
  margin: 0;
}

.news-gallery img {
  display: block;
  width: 100%;
  height: clamp(14rem, 34vw, 25rem);
  object-fit: contain;
  background: var(--background);
  border-radius: .4rem;
}

.news-gallery figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .92rem;
}

.news-grid {
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .news-gallery { grid-template-columns: 1fr; }
  .news-gallery img { height: auto; max-height: 25rem; }
}
