:root {
  color-scheme: dark;
  --page: #111113;
  --surface: #18181c;
  --surface-raised: #202024;
  --ink: #f6f4ef;
  --muted: #bcb8bc;
  --line: #38363b;
  --red: #ff5a55;
  --red-bright: #ff746e;
  --display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --code: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: var(--page);
  color: var(--ink);
  font: 100%/1.58 var(--display);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, blockquote, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.01; letter-spacing: -.055em; font-weight: 780; }
h1 { font-size: clamp(3rem, 7.7vw, 7.6rem); }
h2 { font-size: clamp(2.45rem, 5.4vw, 5.05rem); }
h3 { font-size: clamp(1.45rem, 2.45vw, 2.2rem); letter-spacing: -.042em; }
.wrap { width: min(1330px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(1.65rem, 4vw, 3rem); }
.section-heading p:last-child:not(.eyebrow) { max-width: 62ch; color: var(--muted); margin-top: 1rem; }
.eyebrow { color: var(--red-bright); font: 700 .84rem/1.45 var(--code); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1.1rem; }
.skip { position: absolute; z-index: 10; top: .55rem; left: 1rem; transform: translateY(-210%); background: var(--ink); color: var(--page); padding: .7rem 1rem; }
.skip:focus { transform: none; }

.header { background: #111113; border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: center; }
.nav > :last-child { justify-self: end; }
.brand { width: max-content; line-height: 1; display: inline-block; }
.brand img { width: 84px; }
.nav-links { display: flex; gap: clamp(1.1rem, 3vw, 2.8rem); }
.nav-links a, .footer a { text-decoration: none; }
.nav-links a { font-size: .94rem; font-weight: 680; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current], .footer a:hover { color: var(--ink); text-decoration: underline; }
.button {
  display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: .7rem 1.15rem;
  border: 1px solid var(--red); background: var(--red); color: #180a0b; border-radius: 4px;
  font-size: .94rem; line-height: 1.15; font-weight: 760; text-align: center; text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.button:hover { background: var(--red-bright); border-color: var(--red-bright); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 40px; padding: .6rem .9rem; }
.button-quiet, .button-outline { border-color: #57535a; background: transparent; color: var(--ink); }
.button-quiet:hover, .button-outline:hover { background: var(--surface-raised); border-color: #8b848e; }
.button-light { background: #140b0c; border-color: #140b0c; color: var(--ink); }
.button-light:hover { background: #341418; border-color: #341418; }

.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 79% 42%, #262627, transparent 61%),
    repeating-linear-gradient(90deg, transparent 0 63px, #ffffff07 64px),
    repeating-linear-gradient(0deg, transparent 0 63px, #ffffff07 64px), #111113;
  mask-image: linear-gradient(#000 8%, #000 62%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: clamp(2rem, 6vw, 6.5rem);
  min-height: clamp(580px, 48vw, 745px); padding-block: clamp(3.75rem, 8vw, 8rem);
}
.hero-copy { min-width: 0; animation: arrive .6s both ease-out; }
.hero h1 { font-size: clamp(3.5rem, 7.25vw, 7.35rem); letter-spacing: -.078em; }
.hero h1 em { display: block; color: var(--red); font-style: normal; }
.hero-intro { margin: 1.45rem 0 1.65rem; max-width: 51ch; color: #d0cbd0; font-size: clamp(1.06rem, 1.5vw, 1.23rem); }
.signal { display: inline-block; width: .6em; height: .6em; background: var(--red); margin-right: .28rem; box-shadow: 0 0 11px #ff5a5580; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-block: .95rem; color: var(--muted); border-top: 1px solid var(--line); font: .86rem/1.45 var(--code); }
.hero-bottom b { color: var(--red); margin-inline: .35rem; }

.hero-art { position: relative; margin-right: .65rem; animation: arrive .68s .1s both ease-out; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; inset: 0; border: 1px solid #595454; border-radius: 11px; z-index: -1; }
.hero-art::before { transform: translate(12px, 12px) rotate(1.5deg); opacity: .55; }
.hero-art::after { transform: translate(17px, 18px) rotate(3deg); opacity: .28; }
.demo { background: #19191b; border: 1px solid #615358; border-radius: 11px; box-shadow: 0 22px 65px #080709a8; overflow: hidden; }
.demo-top, .demo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; padding: .85rem 1.15rem; font: .84rem/1.4 var(--code); }
.demo-top { color: #dbd1d5; border-bottom: 1px solid var(--line); background: #232325; }
.demo-top i { display: inline-block; width: .56em; height: .56em; background: var(--red); border-radius: 50%; margin-right: .35rem; }
.demo-top span:last-child { color: var(--muted); }
.demo-body { padding: 1.35rem 1.15rem 1.45rem; }
.demo-label { color: var(--muted); font: .83rem/1.4 var(--code); margin-bottom: .55rem; }
.demo-request { display: flex; align-items: center; gap: .7rem; background: #312426; border: 1px solid #664147; padding: .66rem .72rem; border-radius: 5px; color: #fff0ec; font-weight: 680; }
.demo-icon { color: var(--red-bright); font-size: 1.25rem; }
.demo-track { position: relative; height: 1.25rem; margin-left: 1.27rem; border-left: 1px solid #ac595c; }
.demo-track i { position: absolute; left: -3px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 12px var(--red); opacity: 0; }
.demo.is-running .demo-track i { animation: route .75s linear 2; }
@keyframes route { 0% { opacity: 0; transform: translateY(0); } 30%, 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(1.1rem); } }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.demo-steps li { display: flex; align-items: center; gap: .65rem; color: #ddd6db; background: #232126; border: 1px solid #403a42; border-radius: 4px; padding: .55rem .72rem; transition: background-color .22s, border-color .22s; }
.demo-step-mark { flex: 0 0 9px; height: 9px; margin-inline: .13rem; border: 1px solid #9a949c; border-radius: 50%; }
.demo-steps .is-active { background: #43272c; border-color: var(--red); color: #fff4f0; }
.demo-steps .is-active .demo-step-mark { border-color: var(--red); background: var(--red); box-shadow: 0 0 12px #ff5a55a8; }
.demo-steps .is-done .demo-step-mark { border-color: #a6dfb4; background: #a6dfb4; }
.demo-foot { border-top: 1px solid var(--line); color: var(--muted); min-height: 62px; }
.demo-run { background: none; color: var(--red-bright); border: 1px solid #88494e; border-radius: 4px; font: 700 .85rem/1.15 var(--code); padding: .64rem .65rem; cursor: pointer; }
.demo-run:hover { background: #43272c; }
.demo-run[aria-disabled="true"] { cursor: progress; }
@keyframes arrive { from { opacity: .7; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.work { background: #111113; }
.project-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid #302e32; border-radius: 6px; overflow: hidden; transition: border-color .25s; }
.project-card:hover { border-color: var(--project-accent); }
.project-card:has(.merch) { --project-accent: #ff8077; }
.project-card:has(.publishing) { --project-accent: #ae9cf4; }
.project-card:has(.learning) { --project-accent: #8edcba; }
.project-visual {
  min-height: 183px; padding: 1.25rem; display: grid; place-items: center;
  background: radial-gradient(ellipse at 56% 120%, var(--project-tone), transparent 73%),
  repeating-linear-gradient(0deg, transparent 0 23px, #eee1 24px),
  repeating-linear-gradient(90deg, transparent 0 23px, #eee1 24px), #1d1b20;
  border-bottom: 1px solid var(--line);
}
.merch { --project-tone: #74312e; }
.publishing { --project-tone: #523974; }
.learning { --project-tone: #275447; }
.workflow { width: min(100%, 285px); border: 1px solid #80727f; border-radius: 7px; background: #1a181d; padding: .75rem; box-shadow: 0 8px 20px #0007; transform: translateY(0) rotate(-3deg); transition: transform .28s ease; }
.project-card:hover .workflow { transform: translateY(-5px) rotate(0); }
.workflow-head { display: flex; gap: .27rem; padding-bottom: .65rem; border-bottom: 1px solid #514957; }
.workflow-head span { width: 6px; height: 6px; border-radius: 50%; background: var(--project-accent, var(--red)); }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .28rem; margin-block: .62rem; }
.workflow-steps span { color: var(--ink); background: #322d37; border: 1px solid #514957; padding: .34rem .1rem; text-align: center; font-size: .77rem; font-weight: 700; }
.workflow-lines { display: grid; gap: .25rem; }
.workflow-lines span { height: 4px; width: 66%; background: var(--project-accent, var(--red)); opacity: .6; }
.workflow-lines span:last-child { width: 42%; opacity: .35; }
.project-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2vw, 1.9rem); }
.project-copy .eyebrow { color: var(--project-accent, var(--red-bright)); }
.project-copy > p:not(.eyebrow) { margin: .85rem 0 1.15rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: .4rem; padding: 0; margin: auto 0 0; }
.tags li { color: #d2cbd3; background: #211f24; border: 1px solid #4b444e; border-radius: 3px; padding: .15rem .45rem; font: .8rem/1.5 var(--code); }

.services { background: #171719; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: 7px; overflow: hidden; }
.service-card { min-width: 0; padding: clamp(1.4rem, 3.4vw, 3.2rem); background: #1d1d20; transition: background-color .25s; }
.service-card:hover { background: #252528; }
.service-card h3 { font-size: clamp(1.8rem, 3.45vw, 3.1rem); max-width: 17ch; }
.service-card > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.examples { list-style: none; padding: 0; margin: 1.1rem 0; }
.examples li { padding-left: 1.1rem; position: relative; margin: .4rem 0; }
.examples li::before { content: ""; width: 6px; height: 6px; position: absolute; left: 0; top: .64em; background: var(--red); }
.service-card .fit { border-top: 1px solid #4b424c; padding-top: .85rem; font-size: .94rem; }

.delivery-grid, .expertise-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.1rem, 6vw, 6.4rem); align-items: start; }
.delivery-intro { color: var(--muted); margin: 1rem 0 1.45rem; max-width: 59ch; }
.office-photo { border: 1px solid #4f444e; border-radius: 6px; overflow: hidden; }
.office-photo > div { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4px; background: #201e22; }
.office-photo img { width: 100%; aspect-ratio: 1.22; object-fit: cover; }
.office-photo figcaption { padding: .6rem .75rem; color: var(--muted); background: var(--surface); font: .84rem/1.45 var(--code); }
.delivery-steps article { padding-block: 1.35rem; border-top: 1px solid var(--line); }
.delivery-steps article:last-child, .stack-list > div:last-child { border-bottom: 1px solid var(--line); }
.delivery-steps h3 { position: relative; padding-left: 1.18rem; }
.delivery-steps h3::before { content: ""; position: absolute; left: 0; top: .42em; height: 7px; width: 7px; background: var(--red); }
.delivery-steps p { margin: .68rem 0 0 1.18rem; color: var(--muted); }
.expertise { background: #19191b; }
.expertise p:not(.eyebrow) { margin-top: .78rem; color: var(--muted); }
.stack-list > div { padding-block: 1.14rem; border-top: 1px solid var(--line); }

.reviews { background: #151517; }
.review-grid { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); gap: 1rem; }
.review-grid figure { display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.25rem, 3vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 6px; }
.review-grid blockquote { font-size: clamp(1.3rem, 2.5vw, 2.15rem); line-height: 1.24; letter-spacing: -.03em; }
.review-grid figcaption { display: flex; flex-wrap: wrap; gap: .45rem .75rem; margin-top: auto; font-size: .94rem; }
.review-grid figcaption span, .source { color: var(--muted); }
.source { margin-top: 1rem; font-size: .92rem; }

.insights, .related { background: #18181a; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.heading-row .section-heading { margin: 0; }
.article-card { background: #202023; border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.2rem, 2.9vw, 2.2rem); transition: border-color .2s; }
.article-card:hover, .article-card:focus-within { border-color: var(--red); }
.article-card h3 a { text-decoration-thickness: 1px; text-decoration-color: #9c8995; }
.article-card h3 a:hover { color: var(--red-bright); text-decoration-color: currentColor; }
.article-card p:last-child { margin-top: .8rem; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.4rem, 6vw, 6rem); }
.faq-grid .section-heading { margin: 0; }
details { border-top: 1px solid var(--line); padding-block: 1rem; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; list-style: none; padding-right: 1.65rem; cursor: pointer; font-size: 1.05rem; font-weight: 720; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .15rem; top: -.18rem; color: var(--red-bright); font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { margin: .6rem 0 .18rem; color: var(--muted); }
details[open] p { animation: arrive .22s ease-out; }

.closing { background: var(--red); color: #1b0c0d; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.closing h2 { max-width: 19ch; }
.closing p { max-width: 63ch; margin-top: 1rem; }
.closing .button { flex: 0 0 auto; }
.closing a:focus-visible { outline-color: #180a0b; }
.footer { background: #101012; color: var(--muted); padding-block: 2.5rem 1.25rem; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.7rem; }
.footer-main p { margin-top: .65rem; }
.footer-main p span { display: block; }
.footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; font-size: .88rem; }

.inner-hero { position: relative; isolation: isolate; padding-block: clamp(3.1rem, 7vw, 7.4rem); border-bottom: 1px solid var(--line); }
.inner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 20%, #29292b, transparent 68%), #19191b; }
.inner-hero > .wrap { animation: arrive .46s ease-out both; }
.inner-hero h1 { font-size: clamp(3rem, 7vw, 7rem); max-width: 18ch; }
.inner-hero p:not(.eyebrow) { color: var(--muted); margin-top: 1.05rem; max-width: 58ch; font-size: 1.14rem; }
.inner-hero .button { margin-top: 1.2rem; }
.contact-panel { background: var(--surface); padding: clamp(1.4rem, 3vw, 2.65rem); border: 1px solid var(--line); border-radius: 6px; }
.contact-panel h2, .brief h2 { font-size: clamp(1.8rem, 3vw, 2.85rem); }
.contact-panel > p { color: var(--muted); margin: .7rem 0 1.15rem; }
.locations { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.locations address { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding: .65rem 0; font-style: normal; }
.locations address span { color: var(--muted); }

.prose { max-width: 758px; }
.article-hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.65rem); max-width: 24ch; }
.back { display: inline-block; margin-bottom: 1.5rem; color: var(--muted); font-weight: 720; }
.byline { display: block; margin-top: 1rem; color: var(--ink); font-size: .94rem; }
.article-body { padding-block: clamp(2.75rem, 6vw, 5.5rem); font-size: 1.07rem; line-height: 1.73; }
.article-body h1 { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: 1.4rem; }
.article-body h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 2rem 0 .7rem; }
.article-body p { color: var(--muted); margin-bottom: 1rem; }
.article-body .lead { color: var(--ink); font-size: 1.23rem; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero-grid { gap: 2.25rem; }
}
@media (max-width: 890px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3.15rem, 7vw, 4.65rem); }
  .project-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; gap: 1.45rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav { grid-template-columns: auto 1fr auto; min-height: 66px; gap: .55rem; }
  .brand img { width: 60px; }
  .nav-links { justify-content: center; gap: .65rem; }
  .nav-links a { font-size: .86rem; }
  .button-small { min-height: 37px; font-size: .84rem; padding-inline: .58rem; }
  .hero-grid, .project-grid, .service-grid, .delivery-grid, .expertise-grid, .review-grid, .article-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; padding-block: 3.4rem 2.25rem; gap: 2rem; }
  .hero h1 { font-size: clamp(3.04rem, 10.8vw, 5.35rem); }
  .hero-art { width: min(100% - 10px, 450px); }
  .hero-art::before { transform: translate(7px, 7px) rotate(2deg); }
  .hero-art::after { transform: translate(10px, 10px) rotate(4deg); }
  .hero-intro { margin-block: 1.13rem 1.28rem; }
  .closing-inner, .heading-row { flex-direction: column; align-items: start; }
}
@media (max-width: 395px) {
  .wrap { width: calc(100% - 30px); }
  .nav { grid-template: auto auto / 1fr auto; gap: .45rem .75rem; padding-block: .65rem; }
  .nav-links { grid-area: 2 / 1 / 3 / -1; justify-content: start; gap: 1.25rem; padding-top: .44rem; border-top: 1px solid var(--line); }
  .nav > :last-child { grid-area: 1 / 2; }
  .actions .button { padding-inline: .8rem; }
  .demo-top, .demo-foot { padding-inline: .85rem; }
  .demo-body { padding-inline: .85rem; }
}
@media (max-width: 365px) {
  .hero h1 { font-size: clamp(2.13rem, 10.2vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .button:hover, .project-card:hover .workflow { transform: none; }
}

.contact-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.contact-form label { display: block; font-size: .95rem; font-weight: 680; }
.contact-form label span, .contact-form .contact-note { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .68rem .75rem;
  background: var(--page); color: var(--ink); border: 1px solid #6b656e;
  border-radius: 4px; font: inherit; font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-form .button:disabled { opacity: .7; cursor: progress; }
.contact-status:empty { display: none; }
.brief > p { margin-top: 1.2rem; }
