:root {
  --ink: #0a0a09;
  --ink-soft: #181816;
  --paper: #f1eee5;
  --paper-bright: #fbfaf6;
  --muted-dark: #aaa79f;
  --muted-light: #68655f;
  --rule-dark: rgba(241, 238, 229, 0.22);
  --rule-light: rgba(10, 10, 9, 0.22);
  --max-width: 1240px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--rule-dark);
}

.brand {
  display: block;
  width: min(350px, 40vw);
}

.brand picture,
.brand img {
  display: block;
  width: 100%;
}

.brand img {
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-header nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  border-bottom-color: currentColor;
}

.nav-contact {
  border: 1px solid var(--paper) !important;
  padding: 0.55rem 0.9rem;
}

.section-dark,
.paper-section {
  padding-left: max(2rem, calc((100vw - var(--max-width)) / 2 + 2rem));
  padding-right: max(2rem, calc((100vw - var(--max-width)) / 2 + 2rem));
}

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

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

.hero {
  min-height: 96vh;
  padding-top: 10.5rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  border-bottom: 1px solid var(--rule-dark);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -30vw;
  width: 58vw;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 238, 229, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(241, 238, 229, 0.015), 0 0 0 14vw rgba(241, 238, 229, 0.01);
}

.hero-copy,
.hero-stamp {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-number {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted-dark);
}

.hero h1,
.section-heading h2,
.statement h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(4.15rem, 8vw, 8.75rem);
}

.hero h1 em {
  font-weight: 400;
}

.hero-lead {
  max-width: 720px;
  margin: 2.2rem 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  color: #d2cfc7;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-light:hover,
.button-light:focus-visible {
  background: transparent;
  color: var(--paper);
}

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

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

.text-link {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.12rem;
}

.hero-stamp {
  align-self: end;
  max-width: 360px;
  margin-left: auto;
  transform: rotate(1.25deg);
}

.hero-stamp img {
  width: 100%;
  opacity: 0.9;
}

.stamp-caption {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  gap: 0.35rem;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.55fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  border-bottom: 1px solid var(--rule-light);
}

.statement .section-number {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.statement h2 {
  font-size: clamp(2.9rem, 5.4vw, 5.8rem);
  line-height: 1.04;
}

.statement > p:last-child {
  margin: 0 0 0.4rem;
  color: var(--muted-light);
  font-size: 1.05rem;
}

.services,
.work {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading .section-number {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1;
}

.section-intro {
  color: var(--muted-light);
  margin: 0;
  align-self: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.service-card {
  min-height: 330px;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.service-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.card-index,
.case-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-index {
  margin-bottom: auto;
}

.service-card h3,
.principle h3,
.case-study h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.service-card h3 {
  margin: 3rem 0 0.65rem;
  font-size: 2rem;
  line-height: 1.08;
}

.service-card p {
  margin: 0;
  color: var(--muted-light);
}

.service-card:hover p {
  color: #cbc8c0;
}

.principles {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.principles .section-heading {
  grid-template-columns: 1fr;
}

.principle-list {
  border-top: 1px solid var(--rule-dark);
}

.principle {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--rule-dark);
}

.principle h3 {
  margin: 0;
  font-size: 2rem;
}

.principle p {
  margin: 0;
  max-width: 760px;
  color: var(--muted-dark);
}

.case-list {
  border-top: 1px solid var(--ink);
}

.case-study {
  padding: 3rem 0 3.6rem;
  border-bottom: 1px solid var(--ink);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted-light);
}

.case-study h3 {
  max-width: 930px;
  margin: 2.1rem 0 1rem;
  font-size: clamp(2.35rem, 4.3vw, 4.5rem);
  line-height: 1.03;
}

.case-study > p {
  max-width: 790px;
  margin: 0;
  color: var(--muted-light);
  font-size: 1.05rem;
}

.case-results {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-light);
}

.case-results li {
  padding: 1.25rem 1rem 0 0;
  display: grid;
  gap: 0.15rem;
}

.case-results strong {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
}

.case-results span {
  color: var(--muted-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.about-mark {
  opacity: 0.8;
  transform: rotate(-1.5deg);
}

.about-copy {
  max-width: 800px;
}

.about-copy > p:not(.section-number) {
  color: #cbc8c0;
  font-size: 1.08rem;
}

.about-copy h2 {
  margin-bottom: 2rem;
}

.contact {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact-copy p:last-child {
  max-width: 760px;
  color: var(--muted-light);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.copy-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  padding: 0.15rem 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dark-link {
  color: var(--ink);
}

.copy-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted-light);
  font-size: 0.78rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 2rem 2.8rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--muted-dark);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer > div,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer strong {
  color: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

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

@media (max-width: 980px) {
  .site-header {
    position: relative;
    padding: 1.3rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: min(390px, 88vw);
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    gap: 1.2rem;
  }

  .nav-contact {
    padding: 0;
    border: 0 !important;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    width: min(320px, 70vw);
    margin: 1rem 0 0 auto;
  }

  .statement,
  .section-heading,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .statement .section-number,
  .section-heading .section-number {
    margin-bottom: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-mark {
    width: min(380px, 72vw);
  }
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .section-dark,
  .paper-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .hero-stamp {
    width: 82vw;
  }

  .statement {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

  .service-card {
    min-height: 280px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .case-meta {
    flex-direction: column;
    gap: 0.25rem;
  }

  .case-results {
    grid-template-columns: 1fr;
  }

  .case-results li {
    grid-template-columns: 120px 1fr;
    align-items: baseline;
    border-bottom: 1px solid var(--rule-light);
    padding-bottom: 0.9rem;
  }

  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    flex-direction: column;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
