@font-face {
  font-family: Inter;
  src: url("../fonts/inter-variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-variable.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0d0c;
  --surface: #151815;
  --accent: #3d7bff;
  --accent-hover: #528aff;
  --accent-pressed: #3977f5;
  --text-primary: #f5f6f2;
  --text-secondary: #8e938a;
  --border-subtle: #30342e;
  --border-control: #666d63;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section-space: 8rem;
  --gutter: 3rem;
  --header-height: 5rem;
  --font-body: Inter, system-ui, sans-serif;
  --font-brand: "Space Grotesk", Inter, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1.5rem); scrollbar-gutter: stable; scrollbar-color: var(--border-control) var(--background); }
body { margin: 0; background: var(--background); color: var(--text-primary); font: 400 1.125rem/1.56 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { color: var(--background); background: var(--accent-hover); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgb(61 123 255 / .2); }
:where(a, button, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
:where(h1, h2, h3, p, figure) { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: 5.5rem; line-height: 1.07; letter-spacing: -.035em; }
h2 { font-size: 3rem; line-height: 1.17; letter-spacing: -.025em; }
h3 { font-size: 1.75rem; line-height: 1.29; letter-spacing: -.015em; }
:where(h1, h2, h3, p, a, figcaption, summary) { overflow-wrap: anywhere; }
p { text-wrap: pretty; }
svg { flex-shrink: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
:where(.section-heading, .service-row, .process-list li, .about-intro, .approach-list, .faq, .contact-inner, .footer-main) > * { min-width: 0; }
.section { margin-top: var(--section-space); scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.lead { font-size: 1.375rem; line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--text-primary); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font: 500 1.875rem/1 var(--font-brand); letter-spacing: -.04em; min-height: 2.75rem; }
.brand-symbol { color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--background); }
html:not(.js) .site-header { position: static; }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-height); border-bottom: 1px solid var(--border-subtle); }
.desktop-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; font-size: 1rem; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.header-cta { margin-left: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; max-width: 100%; min-height: 3.25rem; padding: .8125rem 1.5rem; border: 1px solid transparent; border-radius: .5rem; font-size: 1rem; font-weight: 500; line-height: 1.5; text-align: center; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.button-primary { background: var(--accent); color: var(--background); }
.button-primary:focus-visible { outline-color: var(--text-primary); }
.button-primary:active { background: var(--accent-pressed); }
.button-secondary { border-color: var(--border-control); }
.button-secondary:active { background: var(--border-subtle); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.accent-dot { color: var(--accent); }
.section-heading { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; margin-bottom: 4rem; align-items: start; }
.section-heading > p { max-width: 35rem; margin-left: auto; color: var(--text-secondary); }
.project-list { display: grid; gap: 4rem; }
.project-link { display: block; border-radius: .75rem; }
.project-image { border: 1px solid var(--border-subtle); border-radius: .75rem; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; }
.project-caption > div { max-width: 44rem; }
.project-category { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: .75rem; color: var(--text-secondary); font-size: .875rem; }
.concept-label { border: 1px solid var(--border-control); border-radius: .25rem; padding: .0625rem .5rem; color: var(--text-primary); }
.project-caption h3 { font-family: var(--font-brand); }
.project-caption p { margin-top: .75rem; color: var(--text-secondary); }
.project-open { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; min-height: 2.75rem; margin-top: 2rem; font-size: 1rem; }
.service-row { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--border-subtle); align-items: start; }
.service-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.service-row h3 { max-width: 16rem; }
.service-row p { color: var(--text-secondary); }
.service-row .service-scope { margin-top: .75rem; font-size: .875rem; }
.service-action { display: inline-flex; align-items: center; justify-self: end; gap: .75rem; min-height: 2.75rem; font-size: 1rem; text-decoration: underline; }
.section-note { max-width: 48rem; margin-top: 1.5rem; color: var(--text-secondary); font-size: .875rem; }
.process-list { padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 1fr 4fr 7fr; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--border-subtle); }
.step-number { font: 500 1.5rem/1.5 var(--font-brand); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.process-list li > div { max-width: 35rem; margin-left: auto; }
.process-list p { color: var(--text-secondary); }
.process-list .step-result { margin-top: .75rem; font-size: .875rem; color: var(--text-primary); }
.about { padding-block: 4rem; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about h2 { font-size: 4rem; line-height: 1.13; }
.about-intro > div { max-width: 35rem; }
.about-intro > div > p + p { margin-top: 1.5rem; color: var(--text-secondary); }
.approach-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.approach-list h3 { font-size: 1.375rem; line-height: 1.36; }
.approach-list p { margin-top: .75rem; color: var(--text-secondary); font-size: 1rem; line-height: 1.6; }
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; }
.faq-list details { border-top: 1px solid var(--border-subtle); }
.faq-list details:last-child { border-bottom: 1px solid var(--border-subtle); }
summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; font-size: 1.125rem; line-height: 1.55; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { margin-top: .25rem; }
details[open] summary svg { transform: rotate(45deg); }
.faq-answer { padding: 0 2.75rem 1.5rem 0; color: var(--text-secondary); font-size: 1rem; line-height: 1.625; }
.contact { padding-block: 5rem; background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact h2 { font-size: 4rem; line-height: 1.125; }
.contact-copy { max-width: 35rem; }
.contact-copy > p + p { margin-top: 1rem; color: var(--text-secondary); font-size: 1rem; }
.contact-copy .button { margin-top: 2rem; }
.contact-copy .contact-status { margin-top: 1rem; font-size: .875rem; color: var(--text-secondary); scroll-margin-block: 7rem; }
.contact-status:target { outline: 1px solid var(--border-control); outline-offset: .5rem; }
.site-footer { padding-top: 4rem; }
.footer-main { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 2rem; }
.footer-brand .wordmark { font-size: 2.25rem; }
.footer-slogan { margin-top: .75rem; font-family: var(--font-brand); }
.footer-brand > p:last-child { margin-top: 1.5rem; color: var(--text-secondary); font-size: 1rem; }
.footer-main nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; font-size: 1rem; }
.footer-main nav a, .footer-contact a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .75rem; max-width: 100%; min-height: 2.75rem; }
.footer-contact { align-items: flex-end; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 4rem; padding-block: 1.5rem; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: .875rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; color: var(--text-primary); }
.menu-trigger, .menu-close { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; padding: .5rem; border: 0; background: transparent; font-size: 1rem; }
.menu-trigger { display: none; margin-left: auto; }
.menu-panel { position: fixed; inset: 1rem 1rem auto auto; width: min(36rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: 0; padding: 0; border: 1px solid var(--border-control); border-radius: .75rem; background: var(--surface); color: var(--text-primary); overflow: auto; overscroll-behavior: contain; }
.menu-panel::backdrop { background: rgb(0 0 0 / .7); }
.menu-panel[open] { animation: menu-open 200ms var(--ease-out); }
.menu-inner { padding: 1.5rem; }
.menu-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.menu-header .wordmark { font-size: 1.5rem; }
.menu-panel nav { display: flex; flex-direction: column; gap: 1rem; padding-block: 3rem; }
.menu-panel nav a { font-size: 2rem; line-height: 1.25; min-height: 2.75rem; }
.menu-panel .button { width: 100%; }
.menu-slogan { margin-top: 2rem; color: var(--text-secondary); font-family: var(--font-brand); font-size: 1rem; }
html.menu-open { overflow: hidden; }

@keyframes menu-open { from { transform: translateY(-8px); opacity: .7; } to { transform: none; opacity: 1; } }

@media (hover: hover) {
  .desktop-nav a:hover, .footer-main a:hover, .footer-bottom a:hover, .menu-panel nav a:hover { text-decoration: underline; }
  .button-primary:hover { background: var(--accent-hover); }
  .button-secondary:hover { background: var(--surface); border-color: var(--text-primary); }
  .service-action:hover { color: var(--accent-hover); }
  .project-link:hover h3, .project-link:hover .project-open { text-decoration: underline; }
  summary:hover { text-decoration: underline; }
  .menu-trigger:hover, .menu-close:hover { color: var(--accent-hover); }
}

@media (min-width: 1200px) and (max-width: 1350px) {
  h1 { font-size: 5rem; }
  .desktop-nav { gap: 1.5rem; }
  .header-inner { gap: 1.5rem; }
}

@media (max-width: 1199px) {
  :root { --gutter: 2rem; --section-space: 6rem; }
  .header-inner { flex-wrap: wrap; gap: 1rem 2rem; padding-block: .75rem; }
  .header-cta { margin-left: auto; }
  .desktop-nav { gap: 1.5rem; }
  .js .desktop-nav, .js .header-cta { display: none; }
  .js .menu-trigger { display: inline-flex; }
  h1 { font-size: 4rem; line-height: 1.094; letter-spacing: -.03em; }
  h2 { font-size: 2.5rem; line-height: 1.2; }
  h3 { font-size: 1.625rem; line-height: 1.31; }
  .lead { font-size: 1.25rem; line-height: 1.6; }
  .section-heading { gap: 1.5rem; margin-bottom: 3rem; }
  .service-row { grid-template-columns: 3fr 5fr; gap: 1rem 1.5rem; }
  .service-action { grid-column: 2; justify-self: start; }
  .process-list li { grid-template-columns: .65fr 3fr 4.35fr; gap: 1.5rem; }
  .about-intro, .contact-inner { gap: 3rem; }
  .about h2, .contact h2 { font-size: 3rem; }
  .approach-list { gap: 1.5rem; }
  .approach-list h3 { font-size: 1.25rem; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .section-heading, .faq { grid-template-columns: 1fr 1.25fr; }
  .about-intro, .contact-inner { gap: 2rem; }
}

@media (max-width: 767px) {
  :root { --gutter: 1.25rem; --section-space: 4.5rem; --header-height: 4rem; }
  body { font-size: 1rem; line-height: 1.625; }
  h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -.02em; }
  h2 { font-size: 2rem; line-height: 1.25; }
  h3 { font-size: 1.5rem; line-height: 1.33; }
  .lead { font-size: 1.125rem; line-height: 1.56; }
  .wordmark { font-size: 1.5rem; gap: .5rem; }
  .brand-symbol { width: 24px; height: 24px; }
  .header-inner { gap: .75rem; padding-block: .5rem; }
  .desktop-nav { order: 3; width: 100%; gap: .5rem 1.5rem; flex-wrap: wrap; font-size: .875rem; }
  .header-cta { min-height: 2.75rem; padding: .5rem .75rem; font-size: .875rem; }
  .actions { margin-top: 1.5rem; gap: .75rem; }
  .actions .button { width: 100%; }
  .button { min-height: 3rem; padding-block: .6875rem; }
  .section-heading { display: block; margin-bottom: 2.5rem; }
  .section-heading > p { margin: 1.5rem 0 0; max-width: 36rem; }
  .project-list { gap: 2.5rem; }
  .project-caption { display: block; margin-top: 1.25rem; }
  .project-category { gap: .5rem .75rem; }
  .project-caption h3 { font-size: 1.5rem; }
  .project-caption p { font-size: 1rem; }
  .project-open { margin-top: .75rem; font-size: .875rem; }
  .service-row { display: block; padding-block: 1.5rem; }
  .service-row h3 { max-width: none; }
  .service-row > div { margin-top: 1rem; }
  .service-action { margin-top: .75rem; font-size: .875rem; }
  .section-note { margin-top: 1.5rem; }
  .process-list li { grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem 1rem; padding-block: 1.5rem; }
  .step-number { font-size: 1.25rem; }
  .process-list h3 { font-size: 1.375rem; line-height: 1.36; }
  .process-list li > div { grid-column: 2; margin-left: 0; }
  .process-list h3 br { display: none; }
  .about { padding-block: 2.5rem; }
  .about-intro { display: block; }
  .about h2 { font-size: 2.5rem; line-height: 1.15; }
  .about h2 br { display: none; }
  .about-intro > div { margin-top: 1.5rem; }
  .approach-list { display: block; margin-top: 2rem; }
  .approach-list > div + div { margin-top: 1.5rem; }
  .approach-list h3 { font-size: 1.25rem; }
  .approach-list p { margin-top: .5rem; }
  .faq { display: block; }
  .faq-list { margin-top: 2.5rem; }
  summary { font-size: 1rem; padding-block: 1.25rem; gap: 1rem; }
  .faq-answer { padding-right: 0; }
  .contact { padding-block: 3rem; }
  .contact-inner { display: block; }
  .contact h2 { font-size: 2.5rem; line-height: 1.15; }
  .contact-copy { margin-top: 1.5rem; }
  .contact-copy .button { width: 100%; margin-top: 1.5rem; }
  .site-footer { padding-top: 3rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { margin-top: 2rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); gap: .75rem; }
  .footer-bottom > span:nth-child(2) { width: 100%; order: 3; }
  .footer-bottom a { margin-left: auto; }
  .menu-panel { inset: .5rem .5rem auto auto; width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .menu-inner { padding: 1.25rem; padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); }
}

@media (max-width: 359px) {
  h1 { font-size: 2.25rem; line-height: 1.167; }
  .footer-main { display: block; }
  .footer-main nav, .footer-contact { margin-top: 1.5rem; }
}

/* Digital Architecture — shared by the main hero and its prototype. */
.hero-architecture { padding-top: 4rem; }
.architecture-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; }
.architecture-layout > *, .architecture-copy > * { min-width: 0; }
.architecture-copy h1 { font-size: 4rem; line-height: 1.125; letter-spacing: -.03em; max-width: 11ch; text-wrap: balance; hyphens: none; }
.architecture-description { max-width: 27rem; margin-top: 1.5rem; color: var(--text-secondary); }
.architecture-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.architecture-actions .button { padding-inline: 1.25rem; }
.hero-architecture .architecture-actions { flex-direction: row; align-items: stretch; max-width: 30rem; }
.hero-architecture .architecture-actions .button { flex: 1 1 auto; }
.architecture-slogan, .concept-slogan { font: 500 1.5rem/1.25 var(--font-brand); letter-spacing: -.025em; }
.architecture-copy :is(.architecture-slogan, .concept-slogan) { margin-top: 3rem; }
.architecture-figure { min-width: 0; }
.architecture-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.drawing-grid { stroke: var(--border-subtle); stroke-width: 1; fill: none; }
.drawing-guide { stroke: var(--border-control); stroke-width: 1; fill: none; }
.drawing-module { fill: var(--surface); stroke: var(--border-control); stroke-width: 1; }
.drawing-n { fill: var(--surface); stroke: var(--text-primary); stroke-width: 1.5; }
.drawing-accent { fill: var(--accent); }
.drawing-ink { fill: var(--text-primary); }
.drawing-muted { fill: var(--text-secondary); }
.drawing-product { fill: var(--surface); stroke: var(--border-control); stroke-width: 1.5; }
.architecture-drawing .assembly-part { transform-box: fill-box; transform-origin: center; animation: architecture-assemble 400ms var(--ease-out) both; }
.architecture-drawing .assembly-structure { animation-delay: 70ms; }
.architecture-drawing .assembly-product { animation-delay: 140ms; }
.architecture-caption { margin-top: 1rem; }
.architecture-stages { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 1rem; padding: 0; margin: 0; list-style: none; font-size: .875rem; line-height: 1.5; color: var(--text-secondary); }
.architecture-stages li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; overflow-wrap: anywhere; }
.architecture-stages li:last-child { color: var(--text-primary); }
.architecture-explanation { margin-top: 1rem; max-width: 32rem; font-size: .875rem; color: var(--text-secondary); }

@keyframes architecture-assemble {
  from { transform: translateY(8px); opacity: .7; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 1360px) {
  .hero-architecture .architecture-copy h1 { font-size: 4.5rem; max-width: 11.5ch; }
}

@media (min-width: 1200px) and (max-width: 1350px) {
  .architecture-layout { gap: 2rem; }
  .architecture-copy h1 { font-size: 3.75rem; }
}

@media (max-width: 1199px) {
  .hero-architecture { padding-top: 3.5rem; }
  .architecture-layout { gap: 2rem; grid-template-columns: 1fr 1.2fr; }
  .architecture-copy h1 { font-size: 3rem; line-height: 1.17; }
  .architecture-copy :is(.architecture-slogan, .concept-slogan) { font-size: 1.25rem; margin-top: 2rem; }
  .architecture-actions { flex-direction: column; align-items: flex-start; }
  .architecture-stages { gap: .5rem; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .architecture-layout { grid-template-columns: 1fr; gap: 3rem; }
  .architecture-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .architecture-copy h1 { max-width: 15ch; font-size: 4rem; grid-column: 1 / -1; }
  .architecture-actions { flex-direction: row; grid-column: 1 / -1; }
  .architecture-copy :is(.architecture-slogan, .concept-slogan) { grid-column: 2; grid-row: 2; align-self: center; margin-top: 1.5rem; }
  .architecture-figure { max-width: 36rem; margin-left: auto; }
}

@media (max-width: 767px) {
  .hero-architecture { padding-top: 2.5rem; }
  .architecture-slogan, .concept-slogan { font-size: 1.25rem; }
  .architecture-slogan br { display: none; }
  .architecture-layout { display: block; }
  .architecture-copy h1 { font-size: 2.5rem; line-height: 1.15; max-width: 12ch; }
  .architecture-description { margin-top: 1.5rem; }
  .architecture-actions { margin-top: 1.5rem; align-items: stretch; }
  .architecture-copy :is(.architecture-slogan, .concept-slogan) { margin-top: 1.5rem; font-size: 1.25rem; }
  .architecture-figure { margin-top: 2rem; }
  .architecture-caption { margin-top: .75rem; }
  .architecture-stages { grid-template-columns: 1fr 1.2fr 1.6fr; gap: .5rem; }
  .architecture-stages li { align-items: flex-start; gap: .25rem; }
  .architecture-stages svg { width: 16px; height: 16px; margin-top: 2px; }
  .architecture-explanation { margin-top: .75rem; }
}

@media (max-width: 359px) {
  .architecture-copy h1 { font-size: 2.25rem; }
  .architecture-stages { font-size: .8125rem; }
}

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