@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
  --paper: #f6f5f2;
  --paper-elevated: #fffcf8;
  --ink: #0b1f3a;
  --ink-soft: #1c334f;
  --steel: #5e6a75;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --line-strong: color-mix(in oklab, var(--ink) 22%, transparent);
  --site: 1100px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -10000px;
  top: 1rem;
}

.skip:focus {
  left: 1rem;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
}

.wrap {
  width: 100%;
  max-width: var(--site);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 2rem;
  }
}

.site-header-over {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.site-header-plain {
  background: var(--ink);
}

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

.brand {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f6f5f2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(246 245 242 / 0.85);
  text-decoration: none;
}

.nav a:hover {
  color: #f6f5f2;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(28rem, 70vh, 42rem);
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgb(11 31 58 / 0.28) 0%,
      rgb(11 31 58 / 0.18) 38%,
      rgb(11 31 58 / 0.78) 100%
    ),
    linear-gradient(90deg, rgb(11 31 58 / 0.42) 0%, rgb(11 31 58 / 0.08) 58%);
}

.hero-copy {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 7rem 0 3.5rem;
}

@media (min-width: 640px) {
  .hero-copy {
    padding: 8rem 0 4rem;
  }
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(246 245 242 / 0.75);
}

.hero h1 {
  margin: 0.75rem 0 0;
  max-width: 16ch;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--paper);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.1rem;
  }
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgb(246 245 242 / 0.85);
}

.section {
  border-top: 1px solid var(--line);
}

.section-pad {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section-pad {
    padding: 5rem 0;
  }
}

.about {
  background: var(--paper-elevated);
}

.section-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}

.cards li {
  max-width: 46ch;
}

.cards h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cards p {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--steel);
}

.contact-band {
  max-width: 50ch;
  margin-top: 2rem;
}

.contact-band .name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-band .commit {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contact-band .name + .commit {
  margin-top: 0.75rem;
}

.contact-band .invite {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--steel);
}

.btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0 1rem;
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: var(--ink-soft);
}

.legal-name {
  margin: 2rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.city {
  margin: 0.25rem 0 0;
  color: var(--steel);
}

.intro {
  margin: 2rem 0 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--steel);
}

.thanks {
  display: none;
  margin: 2.5rem 0 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

#sent:target {
  display: block;
}

#sent:target + .intro,
#sent:target ~ form {
  display: none;
}

.contact-form {
  margin-top: 2rem;
  max-width: 32rem;
}

.contact-form p {
  margin: 0 0 1.15rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.25rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form button[type="submit"] {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
}

.contact-form button[type="submit"]:hover {
  background: var(--ink-soft);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  border-top: 1px solid var(--line);
}

.foot {
  padding: 2rem 0;
}

.foot p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--steel);
}

.credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
