@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,400&display=swap");

:root {
  --ink: #171714;
  --paper: #f2efe7;
  --line: rgba(23, 23, 20, 0.24);
  --acid: #d8ff3e;
  --green: #244f42;
  --orange: #ef5b31;
  --sans: "Manrope", "PingFang SC", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --serif: "Newsreader", "Songti SC", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.masthead {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.wordmark i {
  width: 0.54em;
  height: 0.54em;
  margin: 0 0.08em;
  background: var(--orange);
  border-radius: 50%;
}

.masthead-note,
.eyebrow,
.world-topline,
footer {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro {
  min-height: 68vh;
  padding: clamp(72px, 10vw, 150px) clamp(24px, 8vw, 128px) 72px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(46px, 6vw, 84px) clamp(46px, 6vw, 84px);
  background-position: -1px -1px;
}

.eyebrow { margin: 0 0 28px; }

h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.2rem, 9.1vw, 9.4rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 610px;
  margin: 46px 0 32px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
}

.jump {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.worlds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 720px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.world {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}

.world:last-child { border-right: 0; }

.world > a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px clamp(24px, 3vw, 48px) 42px;
}

.world-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
}

.world-topline span:last-child { opacity: 0.62; }

.world-copy { margin-top: auto; }

.world h2 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.world h2 sup {
  position: relative;
  left: 0.1em;
  font-size: 0.3em;
  vertical-align: top;
}

.world-copy p {
  max-width: 35ch;
  min-height: 5.2em;
  margin: 0 0 36px;
  font-size: 0.92rem;
  line-height: 1.75;
}

.world-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.world-link i { font-size: 1.3rem; font-style: normal; }

.world-software { background: var(--acid); }
.world-nauzy { color: #f5f0e7; background: var(--green); }
.world-blogs { background: #ebe0d0; }

.data-mark {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  margin: 86px 0 40px;
  border-top: 1px solid;
  border-left: 1px solid;
  font-family: var(--mono);
  font-size: clamp(0.58rem, 0.85vw, 0.76rem);
}

.data-mark > * {
  padding: 11px 12px;
  overflow: hidden;
  border-right: 1px solid;
  border-bottom: 1px solid;
  font-weight: 400;
  white-space: nowrap;
}

.data-mark span { opacity: 0.55; }

.nauzy-image {
  display: block;
  width: min(24vw, 330px);
  height: auto;
  aspect-ratio: 1;
  margin: 48px auto 32px;
  object-fit: cover;
}

blockquote {
  margin: clamp(90px, 13vw, 190px) 0 56px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 3.2rem);
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.world > a:hover .world-link i,
.world > a:focus-visible .world-link i { transform: translate(5px, -5px); }

.world-link i { transition: transform 180ms ease; }

footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  padding: 32px clamp(24px, 4vw, 64px);
}

footer p { margin: 0; }
footer p:nth-child(2) { text-align: center; }
footer a { text-align: right; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .intro { min-height: 590px; }
  .worlds { grid-template-columns: 1fr; }
  .world { min-height: 660px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .world:last-child { border-bottom: 0; }
  .nauzy-image { width: min(62vw, 330px); }
  .data-mark { max-width: 460px; }
  blockquote { margin-top: 120px; }
}

@media (max-width: 600px) {
  .masthead { min-height: 70px; }
  .masthead-note { display: none; }
  .intro { min-height: calc(100svh - 70px); padding-top: 76px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); line-height: 0.91; }
  .lede { margin-top: 36px; font-size: 0.96rem; }
  .world { min-height: 600px; }
  .world > a { padding: 22px 22px 32px; }
  .world-copy p { min-height: auto; }
  footer { grid-template-columns: 1fr; }
  footer p:nth-child(2), footer a { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
