@font-face { font-family: Inter; src: url('assets/fonts/inter-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/fonts/inter-medium.ttf') format('truetype'); font-style: normal; font-weight: 500 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #101111;
  --text: #f2f2ee;
  --muted: #a5a8a6;
  --blue: #2554ff;
  --accent: #7894ff;
  --line: #2b2e2d;
  --gutter: clamp(24px, 5.2vw, 80px);
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-is-open { overflow: hidden; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button,summary { font: inherit; cursor: pointer; }
button { color: inherit; background: transparent; }
a,button,summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { width: min(100% - var(--gutter) * 2, 1290px); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex: none; filter: invert(1); }
.skip-link { position: fixed; z-index: 200; top: 14px; left: 14px; padding: 16px 20px; background: var(--text); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; height: 94px; display: flex; align-items: center; gap: 54px; padding-inline: max(32px, calc((100vw - 1360px) / 2)); background: var(--bg); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 23px; font-weight: 500; letter-spacing: -.055em; white-space: nowrap; }
.desktop-nav { display: flex; gap: 42px; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.desktop-nav a:hover,.desktop-nav a[aria-current] { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 23px; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 8px; text-decoration-color: #565b57; transition: color .18s; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.nav-contact { gap: 25px; font-size: 15px; }
.menu-toggle,.menu-close { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; }
.menu-toggle { display: none; }
.menu-close { display: flex; }
.mobile-menu { width: 100%; max-width: none; height: 100dvh; max-height: none; inset: 0; margin: 0; padding: 22px var(--gutter); border: 0; background: var(--bg); color: var(--text); }
.mobile-menu::backdrop { background: #000b; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: grid; gap: 16px; margin: 72px 0; }
.mobile-menu nav a { font-size: clamp(32px, 8vw, 48px); letter-spacing: -.04em; min-height: 60px; }
.mobile-menu nav a:hover { color: var(--accent); }
.eyebrow { color: #b7bcb7; font: 11px/1.7 var(--mono); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.section-label { margin-bottom: 34px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px; align-items: center; padding-top: 110px; padding-bottom: 105px; }
.hero-content { padding-block: 12px; }
.hero h1 { font-size: clamp(49px, 6.1vw, 88px); font-weight: 400; line-height: 1.08; letter-spacing: -.065em; margin-top: 43px; white-space: nowrap; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 510px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; margin-top: 33px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 62px; padding: 18px 26px; font-size: 15px; font-weight: 500; transition: background .18s, border-color .18s; }
.button-primary { background: var(--blue); color: white; margin-top: 37px; }
.button-primary:hover { background: #416bff; }
.hero-portrait { align-self: end; min-width: 0; }
.portrait-frame { height: clamp(340px, 35vw, 510px); overflow: hidden; }
.portrait-frame img { width: 84%; height: auto; margin-inline: auto; margin-top: -22%; mix-blend-mode: lighten; }
.hero-portrait figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 5px; color: #b3b8b3; font: 10px/1.5 var(--mono); }
.featured-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.project { min-width: 0; }
.project-image { display: block; overflow: hidden; border: 1px solid #5a605b; border-radius: 11px; background: #171a18; }
.project-image img { width: 100%; height: auto; aspect-ratio: 1.04; object-fit: cover; object-position: center; transition: transform .35s ease; }
@media (hover:hover) { .project-image:hover img { transform: scale(1.025); } }
.project-copy { padding: 27px 17px 0; }
.project h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; font-weight: 400; letter-spacing: -.05em; }
.project-type { color: var(--accent); font-size: 15px; margin-top: 8px; }
.project-description { max-width: 505px; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.project .text-link { margin-top: 13px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
summary:hover { color: var(--text); }
details[open] > summary > .icon { transform: rotate(45deg); }
.archive-details { margin-top: 25px; color: var(--muted); }
.archive-details > summary { min-height: 56px; font-size: 14px; }
.archive-details > summary .icon,.about-details > summary .icon { width: 17px; height: 17px; }
.archive-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding-top: 16px; }
.archive-row { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 17px; padding: 21px 0; border-top: 1px solid var(--line); }
.archive-name { color: var(--text); font-size: 16px; letter-spacing: -.025em; }
.archive-type { font-size: 11px; color: var(--muted); }
.archive-row:hover .archive-name { color: var(--accent); }
.archive-row .icon { width: 17px; height: 17px; }
.services-section { margin-top: 24px; padding-top: 36px; border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 4px; }
.service { display: grid; grid-template-columns: 38px 1fr; gap: 25px; padding-inline: 30px; border-left: 1px solid var(--line); }
.service:first-child { padding-left: 0; border-left: 0; }
.service:last-child { padding-right: 0; }
.service-icon { width: 36px; height: 36px; filter: invert(36%) sepia(100%) saturate(2424%) hue-rotate(217deg) brightness(105%) contrast(105%); }
.service h3 { font-size: 24px; font-weight: 400; letter-spacing: -.04em; line-height: 1.45; }
.service > div { display: flex; flex-direction: column; align-items: flex-start; }
.service p { flex: 1; margin-top: 15px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.service .text-link { margin-top: 14px; font-size: 13px; gap: 15px; }
.about-details { margin-top: 26px; color: var(--muted); }
.about-details > summary { min-height: 60px; font-size: 14px; }
.about-content { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 30px 0 45px; }
.about-content h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; letter-spacing: -.05em; color: var(--text); }
.about-content p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.contact-section { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 38px; }
.contact-main { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contact-main h2 { font-size: clamp(23px, 2.3vw, 32px); color: #c4c9c4; font-weight: 400; line-height: 1.5; letter-spacing: -.035em; }
.contact-main h2 span { font-size: .85em; }
.button-outline { min-width: 245px; color: var(--accent); border: 1px solid #6682ed; }
.button-outline:hover { background: #1c2647; border-color: var(--accent); }
.contact-secondary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; margin-top: 17px; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.contact-secondary > a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-secondary > a:hover { color: var(--text); }
.copy-email { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; border: 0; font-size: 12px; }
.copy-email:hover { color: var(--text); }
.copy-email .icon { width: 14px; height: 14px; }
.copy-status { color: var(--accent); font-size: 12px; }
.site-footer { border-top: 1px solid var(--line); color: #979e97; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; font-size: 11px; }
.footer-inner a { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; }
.footer-inner a:hover { color: var(--text); }
.footer-inner .icon { width: 14px; height: 14px; }
@media (max-width:1100px) {
  .site-header { height: 78px; gap: 32px; }
  .hero { gap: 30px; padding-top: 56px; padding-bottom: 72px; }
  .hero h1 { font-size: 6.25vw; margin-top: 32px; }
  .hero-description { font-size: 16px; margin-top: 25px; }
  .button { min-height: 54px; font-size: 14px; padding: 15px 21px; }
  .hero .button { margin-top: 28px; }
  .portrait-frame { height: 35vw; }
  .project-copy { padding-inline: 12px; }
  .project-description { font-size: 13px; }
  .service { grid-template-columns: 30px 1fr; gap: 17px; padding-inline: 22px; }
  .service-icon { width: 30px; height: 30px; }
  .service h3 { font-size: 21px; }
  .service p { font-size: 13px; }
}
@media (max-width:760px) {
  html { scroll-padding-top: 92px; }
  .site-header { height: auto; min-height: 76px; padding: 14px var(--gutter); gap: 18px; flex-wrap: wrap; }
  .wordmark { font-size: 21px; }
  .desktop-nav { order: 3; width: 100%; justify-content: space-between; margin: 0; }
  .js .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-contact { margin-left: auto; font-size: 13px; gap: 8px; text-decoration: none; }
  .nav-contact .icon { width: 16px; height: 16px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 47px; padding-bottom: 54px; }
  .hero-content { padding: 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(40px, 8.7vw, 66px); margin-top: 27px; letter-spacing: -.06em; }
  .hero-description { max-width: 480px; font-size: 15px; margin-top: 23px; line-height: 1.75; }
  .hero .button { margin-top: 26px; }
  .hero-portrait { width: min(100%, 470px); justify-self: center; }
  .portrait-frame { height: clamp(240px, 65vw, 350px); }
  .portrait-frame img { width: 88%; margin-inline: auto; margin-top: -15%; }
  .hero-portrait figcaption { margin-top: 7px; font-size: 9px; }
  .section-label { margin-bottom: 25px; font-size: 10px; }
  .featured-grid { grid-template-columns: 1fr; gap: 43px; }
  .project-image img { aspect-ratio: 1.12; }
  .project-copy { padding: 22px 4px 0; }
  .project h3 { font-size: 25px; }
  .project-type { font-size: 14px; }
  .project-description { min-height: 0; font-size: 15px; line-height: 1.75; margin-top: 14px; }
  .project .text-link { margin-top: 13px; }
  .archive-details { margin-top: 29px; }
  .archive-list { grid-template-columns: 1fr; }
  .archive-row { gap: 12px; }
  .archive-type { font-size: 10px; }
  .archive-name { font-size: 15px; }
  .services-section { margin-top: 34px; padding-top: 34px; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 34px 1fr; gap: 20px; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .service:first-child { padding-top: 0; border-top: 0; }
  .service-icon { width: 32px; height: 32px; }
  .service h3 { font-size: 24px; }
  .service p { min-height: 0; font-size: 15px; line-height: 1.8; margin-top: 10px; }
  .service .text-link { margin-top: 12px; font-size: 14px; }
  .about-details { margin-top: 30px; }
  .about-details > summary { font-size: 13px; }
  .about-content { grid-template-columns: 1fr; gap: 23px; padding-top: 23px; padding-bottom: 25px; }
  .about-content p { font-size: 15px; }
  .contact-section { margin-top: 26px; padding-top: 30px; }
  .contact-main { align-items: flex-start; flex-direction: column; gap: 23px; }
  .contact-main h2 { font-size: 23px; }
  .contact-main h2 span { font-size: 19px; }
  .button-outline { min-width: 190px; }
  .contact-secondary { gap: 3px 12px; margin-top: 17px; margin-bottom: 20px; }
  .copy-status:not(:empty) { flex-basis: 100%; line-height: 1.6; padding-bottom: 10px; }
  .footer-inner { flex-wrap: wrap; padding-block: 22px; gap: 6px 20px; font-size: 10px; }
  .footer-inner > span:nth-child(2) { order: 3; width: 100%; }
  .footer-inner > a { margin-left: auto; }
}
@media (max-width:360px) {
  .site-header { gap: 10px; }
  .nav-contact { font-size: 12px; }
  .nav-contact .icon { display: none; }
  .hero h1 { font-size: 36px; }
  .hero .eyebrow { max-width: 220px; }
  .archive-row { grid-template-columns: 1fr 18px; }
  .archive-type { grid-column: 1; }
  .archive-row .icon { grid-column: 2; grid-row: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
