:root {
  --ink: #0c0c0b;
  --paper: #f1ede4;
  --text: #b3ada2;
  --quiet: #7a756c;
  --rule: #2a2925;
  color-scheme: dark;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  padding: clamp(48px, 10vh, 112px) clamp(24px, 6vw, 96px);
}

main {
  width: min(100%, 44rem);
  margin: 0 auto;
}

.home {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.home main {
  width: min(100%, 38rem);
}

.home .site-header {
  margin-bottom: clamp(48px, 9vh, 88px);
}

.home .headline {
  margin-bottom: 40px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.home .headline::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 40px;
  background: var(--quiet);
}

.home-copy {
  max-width: 34rem;
}

.home-copy p:first-child {
  color: var(--paper);
  font-size: 19px;
  line-height: 1.5;
}

.home form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 24rem);
  margin-top: 48px;
}

.contact-mark {
  color: var(--quiet);
  font-size: 16px;
}

.home input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 17px;
}

.home input:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 6px;
}

.home input::placeholder {
  color: var(--quiet);
  opacity: 1;
}

.contact-status {
  position: absolute;
  top: calc(100% + 8px);
  left: 30px;
  margin: 0;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.contact-status[data-pending="true"] {
  opacity: 0;
  animation: contact-wait 0s 400ms forwards;
}

@keyframes contact-wait {
  to { opacity: 1; }
}

#form-check {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: 72px;
}

.site-header nav {
  font-size: 12px;
  letter-spacing: 0.08em;
}

p {
  margin: 0 0 1em;
}

.headline {
  margin-bottom: 32px;
  color: var(--paper);
  font-size: clamp(44px, 8vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

section {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.consent-screen {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  outline: 1px solid var(--rule);
}

section > :last-child {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 16px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

li {
  margin-bottom: 0.5em;
}

footer {
  margin-top: 96px;
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--quiet);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--paper);
  text-decoration-color: var(--paper);
}

a:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 5px;
}
