:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #101117;
  color: #f7f6f0;
  --accent: #ffb548;
  --muted: #c6c5cd;
  --line: #393840;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  width: min(100% - 3rem, 68rem);
  margin-inline: auto;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.intro {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 10vh, 7rem);
}

h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
  letter-spacing: -.063em;
  line-height: 1;
  margin: 0;
  font-weight: 800;
}

h1 span { color: var(--accent); }

.intro p {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.65;
  max-width: 34rem;
  margin: 1.5rem 0 0;
}

.contact {
  margin-top: 2rem;
}

.contact h2 {
  font-size: .875rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: var(--muted);
}

.contact a {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border-radius: .375rem;
  background: var(--accent);
  color: #101117;
  text-decoration: none;
  font-weight: 700;
}

.contact a:hover { background: #ffca79; }
.contact a:focus-visible { outline: 2px solid #f7f6f0; outline-offset: 4px; }

.brand-symbol {
  display: block;
  inline-size: 100%;
  max-inline-size: 21rem;
  block-size: auto;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: 1.35rem 1.7rem;
  font-size: .875rem;
  line-height: 1.5;
}

@media (max-width: 45rem) {
  .page { width: min(100% - 2rem, 35rem); }
  .intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .brand-symbol { justify-self: start; max-inline-size: 13rem; }
}
