:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #151713;
  --signal: #e24a2a;
  --line: #cbc7bc;
  --muted: #6d7068;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.background-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: stretch center;
  padding: clamp(1rem, 4vw, 4rem);
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100%, 1400px);
  min-height: calc(100vh - clamp(2rem, 8vw, 8rem));
  min-height: calc(100svh - clamp(2rem, 8vw, 8rem));
  padding-left: clamp(1.25rem, 4vw, 4.5rem);
  border-left: clamp(0.45rem, 0.8vw, 0.75rem) solid var(--signal);
}

.hero__header {
  display: flex;
  min-height: 3.75rem;
  align-items: flex-start;
  padding-top: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.hero__domain,
.contact,
.contact a {
  font-family: var(--mono);
}

.hero__domain {
  font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.75fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: end;
  padding: clamp(3.5rem, 8vh, 7rem) 0 clamp(2rem, 7vh, 5rem);
}

.hero__message {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4.3rem, 9.3vw, 8.6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero__claim {
  margin: clamp(1.8rem, 4vh, 3.5rem) 0 0;
  color: var(--signal);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero__intro {
  max-width: 36rem;
  margin: auto 0 0;
  padding-top: clamp(4rem, 10vh, 8rem);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding-left: clamp(2rem, 3.5vw, 3.5rem);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.contact::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--signal);
  content: "";
}

.contact__label {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.contact__name {
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact a {
  position: relative;
  width: fit-content;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.contact a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  background: var(--signal);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact a:hover::after,
.contact a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.contact a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--signal);
  outline-offset: 0.35rem;
}

.contact__company-id {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 400;
}

@media (max-width: 760px) {
  .page {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 1.5rem 1.25rem 2.5rem;
    border-top: 0.5rem solid var(--signal);
    border-left: 0;
  }

  .hero__header {
    min-height: 3.2rem;
    padding-top: 0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: clamp(4rem, 12vh, 7rem);
    align-items: start;
    padding: clamp(3.5rem, 9vh, 6rem) 0 0;
  }

  .hero__message {
    display: block;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .hero__claim {
    margin-top: 2rem;
  }

  .hero__intro {
    max-width: 34rem;
    margin-top: clamp(4rem, 10vh, 7rem);
    padding-top: 0;
  }

  .contact {
    gap: 1.15rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--ink);
  }

  .contact::before {
    display: none;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .hero__content {
    gap: 3rem;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 4.5rem);
  }

  .hero__claim {
    margin-top: 1.5rem;
  }

  .hero__intro {
    margin-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
