:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid #111; outline-offset: 5px; }

.page-shell {
  width: min(calc(100% - 96px), 1600px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.site-header {
  padding-top: clamp(28px, 4vw, 56px);
  position: relative;
  z-index: 1;
}

.wordmark {
  width: clamp(190px, 22vw, 300px);
  aspect-ratio: 2057 / 376;
  position: relative;
  overflow: hidden;
}

.wordmark img {
  position: absolute;
  display: block;
  width: 105.6%;
  height: auto;
  max-width: none;
  left: -2.53%;
  top: -69.1%;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-block: 72px;
}

.hero-content {
  width: min(64%, 760px);
  position: relative;
  z-index: 1;
}

.scene-wrap {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-wrap canvas { display: block; width: 100%; height: 100%; }

h1 {
  margin: 0;
  font-size: clamp(80px, 8.9vw, 132px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.085em;
}

.period { color: #aaa; }

.hero p {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.4;
  letter-spacing: -.035em;
  color: #666;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 54px;
  padding-bottom: 10px;
  border-bottom: 1px solid #111;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.contact-link:hover, .site-footer a:hover { opacity: .55; }
.contact-link span { font-size: 19px; font-weight: 400; line-height: 1; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  border-top: 1px solid #dedede;
  color: #777;
  font-size: 11px;
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

.site-footer a { text-decoration: none; transition: opacity 180ms ease; }

@media (max-width: 700px) {
  .page-shell { width: calc(100% - 40px); }
  .wordmark { width: 190px; }
  .hero { padding-block: 48px; }
  .hero-content { width: 100%; }
  h1 {
    max-width: 550px;
    font-size: clamp(70px, 16vw, 108px);
    line-height: .98;
  }
  .hero p { margin-top: 28px; font-size: 18px; }
  .contact-link { margin-top: 42px; }
  .site-footer {
    min-height: 88px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .page-shell { width: calc(100% - 32px); }
  h1 { font-size: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
