@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit/Outfit-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/work-sans/WorkSans-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-primary: #0f172a;
  --color-on-primary: #fff;
  --color-accent: #0369a1;
  --color-on-accent: #fff;
  --color-background: #f8fafc;
  --color-surface: #fff;
  --color-text: #020617;
  --color-muted-text: #475569;
  --color-border: #64748b;
  --color-divider: #cbd5e1;
  --color-focus: #0369a1;
  --color-error: #b91c1c;
  --font-display: 'Outfit', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', 'Inter', 'Segoe UI', sans-serif;
  --page-gutter: clamp(1rem, 4vw, 4rem);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 8rem; scrollbar-color: var(--color-border) var(--color-background); }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 1rem/1.65 var(--font-body); }
::selection { background: var(--color-accent); color: white; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--color-background); }
::-webkit-scrollbar-thumb { background: var(--color-border); border: 3px solid var(--color-background); border-radius: 6px; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: #cbd5e1; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
[tabindex='-1']:focus { outline: 3px solid var(--color-focus); outline-offset: 5px; }
main[tabindex='-1']:focus { outline: none; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { max-width: 65ch; }
p + p { margin-top: 1rem; }
ul, ol { padding-left: 1.4rem; }
.shell { width: min(100% - 2 * var(--page-gutter), 90rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; 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: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--color-background); border-bottom: 1px solid var(--color-divider); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font: 800 1.75rem/1 var(--font-display); letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: .5rem; height: .5rem; align-self: flex-start; margin-top: .55rem; background: var(--color-accent); }
#primary-nav { width: 100%; }
#primary-nav ul { display: flex; flex-wrap: wrap; gap: .15rem .8rem; margin: 0; padding: 0; list-style: none; }
#primary-nav a { display: flex; min-height: 44px; align-items: center; padding: .4rem .2rem; font-size: .9375rem; text-decoration: none; }
#primary-nav a[aria-current] { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5rem; }
.nav-toggle { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.5rem; border: 1px solid var(--color-border); border-radius: 6px; min-height: 44px; padding: .4rem .8rem; background: transparent; color: var(--color-primary); }
.menu-indicator { position: relative; width: 1rem; height: 1rem; flex-shrink: 0; }
.menu-indicator::before, .menu-indicator::after { content: ''; position: absolute; background: currentColor; }
.menu-indicator::before { top: calc(50% - 1px); left: 0; width: 100%; height: 2px; }
.menu-indicator::after { top: 0; left: calc(50% - 1px); width: 2px; height: 100%; }
.nav-toggle[aria-expanded='true'] .menu-indicator::after { display: none; }
.arrow { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 48px; padding: .85rem 1.25rem; border: 1px solid var(--color-accent); border-radius: 6px; background: var(--color-accent); color: var(--color-on-accent); text-decoration: none; font-weight: 600; line-height: 1.45; transition: background-color 180ms ease; }
.button:hover { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; padding-block: .45rem; font-weight: 600; }
.hero { padding-top: 1rem; }
.hero-word { position: relative; border-bottom: 1px solid var(--color-border); }
.hero-word h1 { font-size: min(26.6vw, 25rem); font-weight: 750; line-height: .97; letter-spacing: -.04em; color: var(--color-primary); }
.registration { position: absolute; width: 1rem; height: 1rem; right: 0; top: 1.25rem; }
.registration::before, .registration::after { content: ''; position: absolute; background: var(--color-accent); }
.registration::before { width: 100%; height: 1px; top: 50%; }
.registration::after { width: 1px; height: 100%; left: 50%; }
.hero-baseline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding-block: .75rem; font-size: .875rem; color: var(--color-muted-text); }
.hero-offer { display: grid; gap: 1.5rem; padding-block: 1.75rem 3rem; }
.hero-offer h2 { font-size: clamp(2.3rem, 4.8vw, 4.5rem); }
.hero-offer p { max-width: 43ch; margin-bottom: 1.25rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--color-border); }
.section-heading h2 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); }
.featured-project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.project-image { display: block; }
.project-caption { align-self: end; padding-bottom: .5rem; }
.project-caption h3 { font-size: clamp(2rem, 3vw, 3rem); }
.project-caption .label { display: block; margin-top: .75rem; }
.project-caption p { margin-top: 1rem; }
.project-caption .text-link { margin-top: 1rem; }
.label, .image-caption { font-size: .875rem; color: var(--color-muted-text); }
.studio-note { display: grid; gap: 2rem; padding-block: 4rem; }
.large-note { font-family: var(--font-display); font-size: clamp(2rem, 4.8vw, 4.5rem); line-height: 1.15; letter-spacing: -.035em; }
.large-note em { color: var(--color-accent); font-style: normal; }
.studio-note h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.studio-note .text-link { margin-top: 1rem; }
.closing { border-top: 1px solid var(--color-border); padding-block: 3rem 4rem; display: grid; gap: 2rem; }
.closing h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.closing p { margin-bottom: 1.5rem; }
.site-footer { background: var(--color-primary); color: var(--color-on-primary); padding-block: 2.5rem 1.5rem; }
.site-footer a:hover { color: white; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: white; }
.site-footer .brand-mark { background: white; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 3rem; padding-bottom: 2rem; }
.footer-top > a:last-child { min-height: 44px; display: inline-flex; gap: 1rem; align-items: center; }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.5rem; display: grid; gap: 1rem; font-size: .875rem; }
.footer-bottom p { color: #cbd5e1; }
.footer-bottom ul { display: flex; gap: .25rem 1rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; }
.page-intro { padding-block: clamp(3rem, 7vw, 6rem) 3rem; }
.intro-detail { display: grid; gap: 1rem; margin-top: 2rem; }
.intro-detail > p { max-width: 46ch; }
.intro-detail > p:first-child { font-size: 1.125rem; }
.intro-detail p + p { margin-top: 0; }
.muted { color: var(--color-muted-text); }
.image-caption { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-top: .75rem; }
.split-section { display: grid; gap: 2rem; padding-block: 4rem; }
.principles { padding-bottom: 4rem; }
.principles > h2 { margin-bottom: 2rem; }
.editorial-list { margin: 0; }
.editorial-list > div { border-top: 1px solid var(--color-divider); display: grid; gap: .75rem; padding-block: 1.5rem; }
.editorial-list dt { font: 600 clamp(1.3rem, 2.5vw, 2rem)/1.2 var(--font-display); letter-spacing: -.025em; }
.editorial-list dd { margin: 0; max-width: 52ch; color: var(--color-muted-text); }
.service-row { display: grid; gap: 1.5rem; border-top: 1px solid var(--color-border); padding-block: 2.5rem; }
.service-row p { max-width: 50ch; }
.plain-list { margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--color-muted-text); }
.plain-list li { padding-block: .4rem; border-bottom: 1px solid var(--color-divider); }
.service-symbol { width: 5rem; height: 5rem; fill: none; stroke: var(--color-accent); stroke-width: 2; }
.process { padding-block: 2rem 4rem; }
.process-list { display: grid; gap: 2rem; margin: 2rem 0 0; padding-left: 1.5rem; }
.process-list li { padding-left: .5rem; }
.process-list li::marker { color: var(--color-accent); font-weight: 600; }
.process-list h3 { margin-bottom: .75rem; }
.portfolio-studies { padding-top: 1rem; }
.study { scroll-margin-top: 2rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.study-body { display: grid; gap: 1rem; border-top: 1px solid var(--color-border); margin-top: 1.5rem; padding-top: 1.5rem; }
.study-body h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.study-body .label { margin-bottom: .75rem; }
.study-details { margin-top: 1.5rem; font-size: .875rem; }
.study-details > div { display: grid; gap: .25rem; padding-block: .6rem; border-top: 1px solid var(--color-divider); }
.study-details dt { font-weight: 600; }
.study-details dd { margin: 0; color: var(--color-muted-text); }
.contact-layout { display: grid; gap: 2.5rem; padding-bottom: 5rem; }
.contact-note h2 { margin-bottom: 1rem; }
.contact-note p { max-width: 32ch; }
.contact-note .text-link { margin-top: 1rem; }
.form-notice { border-top: 1px solid var(--color-border); padding-top: 1rem; margin-bottom: 1.5rem; color: var(--color-muted-text); font-size: .9375rem; }
.field { margin-bottom: 1.5rem; min-width: 0; }
.field label { display: block; margin-bottom: .5rem; font-weight: 600; }
.field label span { font-size: .875rem; color: var(--color-muted-text); font-weight: 400; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--color-border); border-radius: 6px; padding: .75rem; color: var(--color-text); background: var(--color-surface); caret-color: var(--color-accent); }
textarea { resize: vertical; }
.field-hint, .field-error { font-size: .875rem; margin-top: .5rem; }
.field-hint { color: var(--color-muted-text); }
.field-error { color: var(--color-error); }
[aria-invalid='true'] { border: 2px solid var(--color-error); }
.error-summary { border: 1px solid var(--color-error); padding: 1rem; margin-bottom: 2rem; color: var(--color-error); }
.error-summary h3 { font-size: 1.25rem; }
.error-summary ul { margin-bottom: 0; }
.error-summary a { display: inline-block; min-height: 44px; padding-block: .5rem; }
.demo-status:not(:empty) { border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 1.5rem; font-weight: 600; }
.not-found { padding-block: 3rem 5rem; }
.error-code { font: 600 clamp(5rem, 16vw, 14rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--color-accent); margin-bottom: 1rem; }
.not-found > p:not(.error-code) { margin-block: 1.5rem; }
.not-found .text-link { margin: 1rem; }
@media (min-width: 40rem) {
  .hero-offer, .closing, .intro-detail, .split-section, .editorial-list > div, .study-body { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-offer { align-items: start; padding-block: 2rem 3.5rem; }
  .hero-offer > div { max-width: 30rem; justify-self: end; }
  .featured-project { gap: 2rem; }
  .project-caption { width: min(100%, 36rem); justify-self: end; }
  .service-row { grid-template-columns: 1fr 1.2fr; }
  .service-symbol { grid-column: 1; grid-row: 2; }
  .service-row > div { grid-column: 2; grid-row: 1 / span 2; }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .study-offset { width: 82%; margin-left: auto; }
  .study-details > div { grid-template-columns: 8rem 1fr; gap: 1rem; }
}
@media (min-width: 64rem) {
  .site-header { position: sticky; top: 0; z-index: 10; }
  .header-inner { padding-block: 1rem; }
  #primary-nav { width: auto; }
  #primary-nav ul { gap: 2rem; }
  .nav-toggle { display: none; }
  .hero { padding-top: 1rem; }
  .registration { width: 1.5rem; height: 1.5rem; top: 2rem; }
  .studio-note { grid-template-columns: 1.4fr 1fr; gap: 4rem; padding-block: 6rem; align-items: end; }
  .closing { padding-block: 4rem 5rem; }
  .closing > div { max-width: 28rem; justify-self: end; }
  .intro-detail { margin-top: 2.5rem; }
  .page-intro { padding-bottom: 4rem; }
  .service-row { grid-template-columns: 1.2fr 1.3fr .5fr; gap: 4rem; padding-block: 3rem; }
  .service-row > div { grid-column: auto; grid-row: auto; }
  .service-symbol { grid-column: auto; grid-row: auto; justify-self: end; width: 7rem; height: 7rem; }
  .contact-layout { grid-template-columns: 1fr 1.5fr; gap: 6rem; }
  .footer-bottom { grid-template-columns: 1.5fr 1.5fr 1fr; align-items: center; gap: 2rem; }
  .footer-bottom > p:last-child { text-align: right; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-word { animation: settle 650ms cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes settle { from { transform: translateY(.5rem); } to { transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  .brand-mark { background: CanvasText; }
}
