:root {
  --bg: #0b132b;
  --bg-raised: #121a36;
  --ink: #f4f1ea;
  --muted: #b7c0d4;
  --line: rgba(244, 241, 234, 0.12);
  --gold: #ff9f1c;
  --cyan: #00b4d8;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0b132b;
  padding: 0.5rem 1rem;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 22%;
}

.brand-name {
  white-space: nowrap;
}

.tm {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 0.05em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.4rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(10rem, 16rem);
  gap: 2.5rem;
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 22%;
  border: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.2rem;
}

section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
}

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.lane {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.2rem;
}

.lane h3 {
  margin: 0 0 0.55rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.lane p {
  margin: 0;
  color: var(--muted);
}

.credits {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.credits li + li {
  margin-top: 0.55rem;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-block p {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--muted);
}

.mail {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.25rem;
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero img {
    width: min(12rem, 55vw);
    justify-self: start;
  }

  .lanes {
    grid-template-columns: 1fr;
  }
}
