@font-face {
  font-family: Dosis;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dosis-latin.woff2') format('woff2');
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #0b0b0c;
  --paper: #fff;
  --accent: #2ac4ea;
  --body-font: Roboto, Arial, sans-serif;
  --heading-font: Dosis, 'Arial Narrow', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.875 var(--body-font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .25em; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.visually-hidden, .skip-link:not(:focus) { 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; z-index: 100; top: 12px; left: 12px; background: #fff; color: #000; padding: 10px 20px; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; padding: 28px 30px; transition: background-color .25s, padding .25s; }
.brand { display: block; width: 150px; }
.brand img { width: 100%; }
.is-scrolled .site-header { padding-block: 19px; background: rgb(11 11 12 / 96%); }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0b2029; padding: clamp(150px, 12vw, 190px) 40px clamp(110px, 9vw, 150px); }
.hero-image, .hero-image img, .hero-gradient { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -3; }
.hero-image img { object-fit: cover; object-position: center; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgb(11 11 12 / 20%), rgb(11 11 12 / 88%)); }
.hero-gradient { z-index: -2; pointer-events: none; }
.hero-gradient canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.hero-gradient canvas.is-ready { opacity: 1; }
.reveal-pending { opacity: 0; }
.hero-content { max-width: 1100px; margin-inline: auto; text-align: center; }
.hero h1 { font: 300 clamp(56px, 6.667vw, 110px)/1.23 var(--heading-font); letter-spacing: 11px; text-transform: uppercase; overflow-wrap: break-word; }
.hero-signature { margin-top: clamp(75px, 8vw, 120px); }
.hero-signature p { font-size: 14px; line-height: 1.6; font-weight: 500; margin-bottom: 10px; }
.hero-signature img { width: 300px; margin-inline: auto; }
.container { width: min(100% - 120px, 1300px); margin-inline: auto; }
.section h2 { margin-bottom: 70px; text-align: center; font: 500 32px/1.375 var(--heading-font); letter-spacing: 4px; }
.philosophy { padding-block: 90px 150px; }
.philosophy p { text-align: center; font-size: clamp(20px, 1.65vw, 24px); line-height: 1.65; }
.works { padding-block: 110px 90px; color: #fff; background: linear-gradient(90deg, #000, #0d3b46); }
.works-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 70px 12px; align-items: start; }
.work { grid-column: span 2; }
.work-5 { grid-column: span 4; }
.work img { width: 100%; }
.work h3 { margin-top: 7px; font-size: 18px; line-height: 1.7; font-weight: 400; }
.company { padding-block: 150px 110px; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.company dt { font: 700 16px/1.6 var(--heading-font); }
.company dd { margin-bottom: 30px; }
.company dd:last-child { margin-bottom: 0; }
.company address { font-style: normal; }
.company ol { margin: 0; padding-left: 1.4em; }
.company li { padding-left: .15em; }
.map-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 5px 18px; background: #666; color: #fff; text-decoration: none; font-size: 12px; letter-spacing: 1px; }
.map-link:hover { background: #444; }
.contact { background: var(--ink); color: #fff; padding-block: 150px 100px; }
.contact-container { width: min(100% - 80px, 720px); margin-inline: auto; }
.contact h2 { margin-bottom: 65px; }
.contact-intro { text-align: center; margin-bottom: 24px; }
.email-link { display: block; padding-block: 12px; text-align: center; font-size: clamp(18px, 4vw, 28px); overflow-wrap: anywhere; text-decoration-thickness: 1px; }
.email-link:hover { color: var(--accent); }
.contact-note { margin-top: 16px; text-align: center; color: #aaa; font-size: 13px; }
.site-footer { padding: 30px 24px; background: #060606; color: #aaa; text-align: center; font-size: 12px; }
.back-to-top { position: fixed; z-index: 15; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: rgb(0 0 0 / 65%); color: #fff; border-radius: 50%; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .2s; }
.is-scrolled .back-to-top { opacity: 1; visibility: visible; }
.error-page { background: var(--ink); color: #fff; }
.error-page main { min-height: 100svh; padding: 160px 24px 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.error-page h1 { font: 300 clamp(36px, 6vw, 70px)/1.2 var(--heading-font); }
.error-code { color: #8bbed1; font: 300 80px/1 var(--heading-font); letter-spacing: 8px; }
.home-link { margin-top: 10px; }

@media (min-width: 1700px) {
  .hero-content { max-width: 1300px; }
}
@media (max-width: 999px) {
  .site-header { padding: 26px 24px; }
  .hero { padding: 160px 50px 120px; }
  .hero h1 { font-size: 66px; letter-spacing: 8px; }
  .container { width: calc(100% - 64px); }
  .philosophy { padding-block: 85px 110px; }
  .works { padding-block: 90px; }
  .works-grid { gap: 50px 16px; }
  .work { grid-column: span 3; }
  .work-5 { grid-column: 1 / -1; }
  .company { padding-block: 110px 90px; }
  .company-grid { gap: 40px; }
  .contact { padding-block: 110px 90px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 64px; }
  .site-header { display: flex; justify-content: center; padding: 24px; }
  .brand { width: 164px; }
  .is-scrolled .site-header { padding-block: 18px; }
  .hero { padding: 180px 32px 120px; min-height: 740px; display: grid; align-items: center; }
  .hero h1 { font-size: clamp(32px, 9.7vw, 48px); line-height: 1.15; letter-spacing: clamp(5px, 1.8vw, 9px); }
  .hero-signature { display: none; }
  .container { width: calc(100% - 48px); }
  .section h2 { font-size: 26px; margin-bottom: 45px; }
  .philosophy { padding-block: 70px 90px; }
  .philosophy p { text-align: left; font-size: 20px; }
  .works { padding-block: 70px; }
  .works-grid { grid-template-columns: 1fr; gap: 40px; }
  .work, .work-4, .work-5 { grid-column: 1; }
  .work h3 { font-size: 16px; }
  .company { padding-block: 80px; }
  .company-grid { grid-template-columns: 1fr; gap: 30px; }
  .company { font-size: 15px; }
  .contact { padding-block: 80px 65px; }
  .contact-container { width: calc(100% - 48px); }
  .back-to-top { right: 12px; bottom: 12px; }
  .site-footer { padding-inline: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
