:root {
  --ink-dark: #1c1a18;
  --ink-medium: #2b2926;
  --ink-light: #47443f;
  --stone-dark: #6b6761;
  --stone-medium: #96918a;
  --stone-light: #c3bfb7;
  --paper-dark: #e5e1d9;
  --paper-medium: #f0ede6;
  --paper-light: #faf8f3;
  --focus: #61aaf2;
  --page-background: var(--ink-dark);
  --primary-text: var(--paper-light);
  --secondary-text: var(--stone-light);
  --divider: var(--ink-light);
  --primary-font: 'Avenir Next', 'Helvetica Neue', Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-background);
  color: var(--primary-text);
  font-family: var(--primary-font);
  font-synthesis: none;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page-background);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  display: flex;
  width: min(calc(100% - clamp(40px, 8vw, 112px)), 1360px);
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 30px 0;
  border-bottom: 1px solid var(--divider);
  animation: settle 500ms ease-out both;
}

.wordmark {
  display: block;
  width: clamp(132px, 13vw, 174px);
  line-height: 0;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.wordmark:hover {
  opacity: 0.68;
}

.wordmark:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.status {
  margin: 0;
  padding: 8px 12px 7px;
  border: 1px solid var(--ink-light);
  border-radius: 999px;
  background: var(--ink-medium);
  color: var(--paper-medium);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

main {
  flex: 1;
}

.hero {
  display: grid;
  min-height: clamp(430px, 64vh, 720px);
  padding: clamp(70px, 9vw, 124px) 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 19vw, 248px);
  gap: clamp(34px, 6vw, 96px);
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.4rem, 6.45vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 0.98;
  text-wrap: balance;
  animation: settle 700ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 span {
  display: block;
  font-weight: 600;
}

.hero-symbol {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
  animation: settle 700ms 130ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.statement {
  display: grid;
  padding: clamp(54px, 7vw, 96px) 0 clamp(70px, 9vw, 124px);
  border-top: 1px solid var(--divider);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.76fr);
  gap: clamp(72px, 10vw, 156px);
  animation: settle 700ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.statement p {
  margin: 0;
}

.problem {
  max-width: 23ch;
  font-size: clamp(1.6rem, 2.35vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.3;
  text-wrap: pretty;
}

.approach {
  max-width: 48ch;
  color: var(--secondary-text);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.approach p + p {
  margin-top: 1.5em;
}

.contact-link {
  display: inline-flex;
  margin-top: 2rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--paper-light);
  font-weight: 600;
  text-decoration: none;
}

.contact-link span {
  transition: transform 180ms ease;
}

.contact-link:hover span {
  transform: translateX(4px);
}

.contact-link:focus-visible,
.text-link:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.contact-main {
  width: min(100%, 920px);
  padding: clamp(72px, 9vw, 124px) 0 clamp(84px, 11vw, 144px);
}

.contact-intro {
  max-width: 710px;
}

.contact-intro h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.contact-intro p {
  max-width: 38ch;
  margin: 2rem 0 0;
  color: var(--secondary-text);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  margin-top: clamp(56px, 7vw, 84px);
  gap: 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  color: var(--paper-medium);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--ink-light);
  border-radius: 8px;
  background: var(--ink-medium);
  color: var(--paper-light);
  font: inherit;
  font-size: 1rem;
}

.field input {
  min-height: 52px;
  padding: 0 16px;
}

.field textarea {
  min-height: 180px;
  padding: 15px 16px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.form-note {
  max-width: 56ch;
  margin: 0;
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.5em;
  margin: -10px 0 0;
  color: var(--secondary-text);
  line-height: 1.5;
}

.form-status.is-success {
  color: var(--paper-light);
}

.form-status.is-error {
  color: #ff9c90;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.submit-button {
  width: fit-content;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--paper-light);
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--ink-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.submit-button:hover {
  background: var(--paper-dark);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.submit-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.text-link {
  color: var(--paper-light);
  text-underline-offset: 0.3em;
}

.has-scroll-reveal [data-reveal] {
  animation: none;
  opacity: var(--reveal-opacity, 0.14);
  transition: opacity 140ms linear;
  will-change: opacity;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--divider);
  color: var(--secondary-text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  animation: settle 700ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-footer p {
  margin: 0;
}

.footer-wordmark {
  display: block;
  width: 82px;
  height: auto;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: clamp(430px, 60vh, 610px);
    grid-template-columns: minmax(0, 1fr) clamp(120px, 18vw, 170px);
    gap: 38px;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .problem {
    max-width: 24ch;
  }

  .approach {
    width: min(100%, 38rem);
    margin-left: clamp(0px, 8vw, 84px);
  }
}

@media (max-width: 760px) {

  .site-header {
    padding: 22px 0;
  }

  .wordmark {
    width: 126px;
  }

  .hero {
    min-height: auto;
    padding: clamp(70px, 18vw, 100px) 0 56px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) clamp(60px, 16vw, 108px);
    gap: clamp(14px, 3vw, 24px);
  }

  h1 {
    font-size: clamp(1.35rem, 6.7vw, 3.2rem);
    line-height: 0.98;
  }

  h1 span {
    white-space: nowrap;
  }

  .hero-symbol {
    width: 100%;
    justify-self: end;
  }

  .statement {
    padding: 44px 0 70px;
    gap: 42px;
  }

  .problem {
    font-size: 1.8rem;
  }

  .approach {
    width: 100%;
    margin-left: 0;
    font-size: 1.05rem;
  }

  .contact-main {
    padding-top: 68px;
  }

  .contact-intro h1 {
    font-size: clamp(2.5rem, 11vw, 4.2rem);
  }

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

  .site-footer {
    padding: 24px 0 28px;
  }
}

@media (max-width: 420px) {
  .status {
    padding: 7px 10px 6px;
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
  }

}

@media (max-width: 359px) {
  h1 span {
    white-space: normal;
  }
}

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

  .site-header,
  h1,
  .hero-symbol,
  .statement,
  .site-footer {
    animation: none;
  }

  .wordmark {
    transition: none;
  }

  .has-scroll-reveal [data-reveal] {
    opacity: 1;
    transition: none;
  }
}
