:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --ink: #15160f;
  --soft-ink: #55574e;
  --line: rgb(21 22 15 / 22%);
  --river: #276a64;
  --signal: #ff5d37;
  --font-sans: "Schibsted Grotesk", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

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

html {
  background: var(--paper);
}

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

a {
  color: inherit;
}

p,
h1 {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 1600px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 5rem);
}

.site-header {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.header-note,
.site-footer {
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.63rem, 0.6rem + 0.12vw, 0.72rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-note {
  color: var(--soft-ink);
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: calc(100svh - 154px);
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1600px);
  margin-inline: auto;
  align-content: center;
  padding: clamp(2rem, 5vh, 4.5rem) clamp(1.25rem, 4vw, 5rem) clamp(3rem, 8vh, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

h1 {
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.hero-name,
.hero-tagline {
  display: block;
}

.hero-name {
  margin-bottom: clamp(1.5rem, 4vw, 3.2rem);
  font-size: clamp(5.5rem, 18vw, 18rem);
  line-height: 0.62;
}

.hero-tagline {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5.7vw, 6rem);
}

.hero-tagline-serif {
  color: var(--river);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-aside {
  max-width: 34rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.intro {
  margin-bottom: 2rem;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem);
  line-height: 1.42;
}

.cowork-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.cowork-link:hover {
  background: var(--river);
  transform: translateY(-2px);
}

.cowork-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

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

.current span {
  position: absolute;
  right: -10vw;
  bottom: -14vh;
  width: 72vw;
  height: 32vh;
  transform: rotate(-9deg);
  border: 1px solid rgb(39 106 100 / 18%);
  border-radius: 50%;
}

.current span:nth-child(2) {
  right: -7vw;
  bottom: -10vh;
}

.current span:nth-child(3) {
  right: -4vw;
  bottom: -6vh;
}

.current span:nth-child(4) {
  right: -1vw;
  bottom: -2vh;
}

.current span:nth-child(5) {
  right: 2vw;
  bottom: 2vh;
  border-color: rgb(255 93 55 / 22%);
}

.site-footer {
  min-height: 72px;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .coming-soon {
    min-height: calc(100svh - 134px);
  }

  .hero {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-name {
    font-size: clamp(4.5rem, 22vw, 8rem);
  }

  .hero-tagline {
    max-width: none;
    font-size: clamp(2rem, 9.2vw, 4rem);
    letter-spacing: -0.045em;
  }

  .hero-aside {
    width: min(100%, 32rem);
  }

  .current span {
    width: 120vw;
  }
}

@media (max-width: 520px) {
  .header-note,
  .site-footer p:last-child {
    display: none;
  }

  .site-footer {
    justify-content: flex-start;
    line-height: 1.5;
  }
}

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