/* Values follow the Paper design "4A — Plain · Brutalist" (1440 × 900 artboard). */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }

.page {
  --gutter: clamp(20px, 3.33vw, 48px);
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  padding: 40px var(--gutter) 0;
  overflow: hidden;
}

/* Top row */
.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.tagline {
  margin: 0;
  max-width: 420px;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

/* The flag, reduced to 13 lines, with a launch trail lifting off the top stripe */
.flag {
  position: relative;
  margin-top: clamp(120px, 14.5vw, 204px);
}

.stripes {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.stripes i { display: block; height: 4px; background: #000; }
.stripes i:nth-child(even) { height: 1px; }

.ascent {
  position: absolute;
  left: 69%;
  width: 27.4%;
  bottom: 100%;
  height: clamp(110px, 12vw, 172px);
  overflow: visible;
}

.ascent path { fill: none; stroke: #000; stroke-width: 1.5; }

.ascent-dot {
  position: absolute;
  right: 3.6%;
  bottom: calc(100% + clamp(110px, 12vw, 172px) - 5px);
  width: 10px;
  height: 10px;
  margin-right: -5px;
  border-radius: 50%;
  background: #000;
}

/* About + contact */
.about {
  justify-self: end;
  width: min(372px, 100%);
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
  font-size: 16px;
  line-height: 20px;
}

.contact strong { font-weight: 600; white-space: nowrap; }

/* Wordmark */
.wordmark {
  align-self: end;
  margin: clamp(48px, 6vw, 96px) 0 0 -0.04em;
  font-size: clamp(64px, 12.8vw, 240px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .page { padding-top: 28px; }
  .tagline { font-size: 18px; line-height: 24px; }
  .nav { gap: 20px; }
  .ascent { left: 40%; width: 56.4%; }
  .about { justify-self: stretch; }
  .wordmark { white-space: normal; font-size: 22vw; line-height: 0.95; }
}

@media (max-width: 480px) {
  .top { flex-direction: column; gap: 16px; }
}
