:root {
  --paper: #d4d2d2;
  --paper-light: #e7e6e6;
  --ink: #0a0a0a;
  --muted: #706e6e;
  --line: rgba(10, 10, 10, 0.2);
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 6.5rem;
  left: var(--gutter);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  mix-blend-mode: difference;
  color: #fff;
}

.site-header > .wordmark {
  display: none;
}

.wordmark {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.wordmark span {
  font-weight: 300;
  margin: 0 0.08em;
}

.site-header nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.16rem;
}

.site-header nav a {
  position: relative;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  opacity: 0.42;
  transition: opacity 220ms ease;
}

.site-header nav a::after {
  display: none;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a[aria-current]::after {
  right: 0;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current] {
  opacity: 1;
  font-weight: 300;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7rem var(--gutter) 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: min(9vw, 7.5rem) min(9vw, 7.5rem);
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 75%, transparent);
}

.hero-brand {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(41vw, 50rem);
  transform: translate(-50%, -50%);
  animation: brand-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-signature {
  position: absolute;
  top: calc(100% + clamp(1.2rem, 2vw, 2rem));
  left: 13.5%;
  display: grid;
  color: rgba(10, 10, 10, 0.62);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(0.68rem, 0.82vw, 0.92rem);
  font-weight: 300;
  line-height: 1.45;
  white-space: nowrap;
}

.hero-author {
  margin-bottom: 0.15rem;
  color: rgba(10, 10, 10, 0.52);
  font-style: italic;
}

.hero-keywords {
  position: absolute;
  z-index: 2;
  top: 38%;
  left: calc(50% + min(20.5vw, 25rem) + 0.2rem);
  display: grid;
  margin: 0;
  color: rgba(10, 10, 10, 0.58);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(0.64rem, 0.72vw, 0.82rem);
  font-weight: 300;
  line-height: 1.55;
  animation: logo-in 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-keywords span {
  display: block;
}

.hero-index,
.scroll-cue {
  position: absolute;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 300;
  left: var(--gutter);
  top: 6.5rem;
}

.scroll-cue {
  left: 50%;
  bottom: 1rem;
  display: flex;
  gap: 0;
  align-items: center;
  transform: translateX(-50%);
}

.scroll-cue svg,
.section-next svg {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: arrow-bounce 1.7s ease-in-out infinite;
}

.hero-slash {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -30vh;
  width: 1px;
  height: 160vh;
  background: #000;
  transform: rotate(24deg);
  transform-origin: center;
  animation: drift 12s ease-in-out infinite alternate;
}

.dark-section {
  color: var(--paper-light);
  background: var(--ink);
}

.manifesto,
.services,
.experience,
.contact {
  padding: clamp(6rem, 12vw, 12rem) var(--gutter);
}

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 3rem;
  min-height: 100svh;
  align-items: start;
}

.section-tag {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c8989;
}

.hero-index,
.section-tag {
  visibility: hidden;
}

.manifesto-copy {
  max-width: 78rem;
}

.eyebrow {
  margin: 0 0 2.5rem;
  color: #8c8989;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.section-next {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
}

.manifesto h2,
.section-heading h2,
.experience h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 650;
}

.manifesto h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lead {
  max-width: 44rem;
  margin: 4rem 0 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: #aaa7a7;
}

.services {
  position: relative;
  min-height: 100svh;
}

.section-heading {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: clamp(5rem, 10vw, 10rem);
}

.section-heading h2 {
  font-size: clamp(2.8rem, 7vw, 7rem);
}

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

.service {
  display: grid;
  grid-template-columns: 0.45fr 1.25fr 1.5fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 250ms ease, background 250ms ease;
}

.service:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(255, 255, 255, 0.18);
}

.service-number {
  color: var(--muted);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
}

.service h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.service p {
  max-width: 40rem;
  margin: 0;
  color: #555252;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.experience {
  display: grid;
  position: relative;
  grid-template-columns: minmax(16rem, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(4rem, 5vw, 6rem);
  align-items: center;
  min-height: 100svh;
}

.experience > .section-tag {
  position: absolute;
  top: clamp(6rem, 12vw, 12rem);
  left: var(--gutter);
}

.experience-number {
  justify-self: center;
  font-size: clamp(10rem, 26vw, 28rem);
  line-height: 0.65;
  letter-spacing: -0.12em;
  font-weight: 700;
}

.experience-number span {
  display: inline-block;
  font-size: 0.25em;
  transform: translateY(-1.7em);
  margin-left: 0.14em;
  color: #797676;
}

.experience h2 {
  margin-top: 0;
  font-size: clamp(2.5rem, 5.7vw, 6rem);
}

.experience-copy > p:last-child {
  max-width: 40rem;
  margin: 3rem 0 0;
  color: #aaa7a7;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.contact {
  min-height: 90svh;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact h2 {
  font-size: clamp(3.2rem, 6vw, 6.6rem);
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(4rem, 5vw, 6rem);
  align-items: start;
}

.contact-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.contact-email span:last-child {
  transition: transform 200ms ease;
}

.contact-email:hover span:last-child {
  transform: translate(0.25rem, -0.25rem);
}

.contact-form {
  padding: clamp(1.6rem, 2.7vw, 2.7rem);
  border: 1px solid rgba(10, 10, 10, 0.18);
  background: rgba(255, 255, 255, 0.22);
}

.contact-form label {
  display: block;
  margin-bottom: 2rem;
}

.contact-form label:not(.consent) > span:first-child {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0 0.9rem;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.5);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form .consent {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: #5d5a5a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-form .consent input {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0.12rem 0 0;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.6);
  cursor: pointer;
}

.contact-form .consent input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.contact-form button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  color: var(--ink);
  background: transparent;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.9rem 0 0;
  color: #5d5a5a;
  font-size: 0.78rem;
}

@media (min-width: 900px) and (min-height: 700px) {
  .manifesto {
    padding-top: clamp(6.2rem, 9.5vh, 7.3rem);
    padding-bottom: clamp(4rem, 7vh, 6rem);
  }

  .manifesto .eyebrow {
    margin-bottom: clamp(4rem, 7vh, 4.8rem);
  }

  .manifesto h2 {
    max-width: 72rem;
    font-size: clamp(4rem, 5.9vw, 7rem);
  }

  .manifesto .lead {
    max-width: 52rem;
    margin-top: clamp(6rem, 11vh, 8rem);
    margin-left: 34%;
  }

  .services {
    min-height: 100svh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: clamp(6.2rem, 9.5vh, 7.3rem);
    padding-bottom: clamp(2rem, 3.5vh, 3rem);
    overflow: hidden;
  }

  .services .section-heading {
    margin-bottom: clamp(2rem, 3.5vh, 3rem);
  }

  .services .section-heading h2 {
    font-size: clamp(3.8rem, 5.4vw, 6.4rem);
  }

  .services .service-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: clamp(2.8rem, 5vh, 3.7rem);
  }

  .services .service {
    flex: 1;
    min-height: 0;
    padding: clamp(1rem, 1.7vh, 1.5rem) 0;
    align-items: center;
  }

  .services .service h3 {
    font-size: clamp(1.55rem, 2.4vw, 2.75rem);
  }

  .services .service p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  }

  .contact {
    min-height: 100svh;
    padding-top: clamp(6.2rem, 9.5vh, 7.3rem);
    padding-bottom: clamp(3rem, 5vh, 4.5rem);
    grid-template-columns: 10rem minmax(0, 1fr);
  }

  .experience {
    padding-top: clamp(6.2rem, 9.5vh, 7.3rem);
    padding-bottom: clamp(4rem, 7vh, 6rem);
  }

  .experience > .section-tag {
    top: clamp(6.2rem, 9.5vh, 7.3rem);
  }

  .contact-intro .eyebrow {
    margin-bottom: clamp(4rem, 7vh, 4.8rem);
  }

  .contact-form {
    margin-top: clamp(5.8rem, 9.5vh, 6.5rem);
  }
}

.form-honey {
  position: absolute !important;
  left: -9999px !important;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem var(--gutter);
  color: #aaa7a7;
  background: var(--ink);
  border-top: 1px solid #292727;
  font-size: 0.74rem;
}

footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 1.5rem));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes drift {
  from { transform: rotate(22deg) translateX(-5vw); }
  to { transform: rotate(27deg) translateX(5vw); }
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(0.6rem); }
}

@media (max-width: 760px) {
  .site-header {
    top: 1.25rem;
    left: 1rem;
    padding: 0;
  }

  .site-header nav {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .site-header nav a {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-logo {
    width: 100%;
    max-width: none;
  }

  .hero-brand {
    width: 96vw;
  }

  .hero-signature {
    top: calc(100% + 1rem);
    left: 10%;
    font-size: clamp(0.6rem, 2.7vw, 0.72rem);
  }

  .hero-keywords {
    top: 38%;
    right: 1.25rem;
    left: auto;
    font-size: 0.6rem;
  }

  .manifesto,
  .section-heading,
  .contact,
  .experience {
    grid-template-columns: 1fr;
  }

  .manifesto {
    gap: 3rem;
  }

  .lead {
    margin-top: 2.5rem;
  }

  .section-heading {
    gap: 2rem;
  }

  .service {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .service p {
    grid-column: 2;
  }

  .experience {
    align-content: center;
  }

  .experience > .section-tag {
    position: static;
    grid-column: 1;
  }

  .experience-number {
    font-size: min(45vw, 15rem);
  }

  .contact,
  .contact-main {
    gap: 3rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

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

  footer {
    grid-template-columns: 1fr auto;
  }

  footer .wordmark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.thanks-page {
  min-height: 100svh;
}

.thanks-card {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 4rem) var(--gutter);
}

.thanks-card > div {
  align-self: center;
  max-width: 70rem;
}

.thanks-card h1 {
  margin: 0 0 2rem;
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.thanks-card > div > p:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.thanks-back {
  display: flex;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}
