:root {
  --void: #0c0b09;
  --ink: #efe7d6;
  --mute: #a39884;
  --line: rgba(239, 231, 214, 0.14);
  --brass: #c4a574;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(196, 165, 116, 0.08), transparent 50%),
    radial-gradient(900px 500px at 0% 20%, rgba(239, 231, 214, 0.04), transparent 45%),
    var(--void);
  font-family: var(--text);
  font-size: 1.2rem;
  line-height: 1.55;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 12;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--void);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  display: grid;
  padding: 1.4rem clamp(1.2rem, 4vw, 3.5rem) 1.5rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hero-meta {
  margin: 0;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  align-self: end;
  margin: 3.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 16vw, 11.5rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.045em;
}

.display span {
  display: block;
  overflow: hidden;
}

.display span span,
.display > span {
  animation: rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.display > span:nth-child(2) {
  animation-delay: 0.12s;
}

.italic {
  font-style: italic;
  color: var(--brass);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 34rem) auto;
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.hero-offer {
  margin: 0;
  max-width: 34rem;
  color: var(--mute);
  font-size: 1.15rem;
}

.mail {
  position: relative;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mail:hover::after,
.mail:focus-visible::after {
  transform: scaleX(1);
}

.statement,
.for,
.offer,
.work,
.contact {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3.75rem 0;
}

.statement {
  padding-top: 2.75rem;
}

.statement p {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.index {
  margin: 0 0 0.7rem;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.note {
  margin: 0.65rem 0 0;
  max-width: 38rem;
  color: var(--mute);
}

.industries {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.industries li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  transition: padding-left 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.industries li:hover {
  padding-left: 0.7rem;
  color: var(--brass);
}

.offer {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0 2rem;
}

.offer-copy {
  max-width: 38rem;
}

.offer-copy p {
  margin: 0 0 0.7rem;
  color: var(--mute);
}

.offer-copy p:last-child {
  margin-bottom: 0;
}

.work-head {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0 2rem;
  margin-bottom: 1.4rem;
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.work-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.work-num,
.work-status {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.work-num {
  padding-top: 0.35rem;
}

.work-status {
  margin: 0 0 0.45rem;
}

.work-title {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.work-body p:last-child {
  margin: 0;
  max-width: 38rem;
  color: var(--mute);
}

.contact .mail-lg {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: clamp(1.15rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.ig {
  margin: 0.75rem 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.ig a {
  color: var(--mute);
  text-decoration: none;
}

.ig a:hover,
.ig a:focus-visible {
  color: var(--ink);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0 0 1.5rem;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.colophon p {
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-in,
html.shot [data-reveal] {
  opacity: 1;
  transform: none;
}

html.shot .hero {
  min-height: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero-foot,
  .offer,
  .work-head,
  .work-list li {
    grid-template-columns: 1fr;
  }

  .display {
    margin-top: 2.5rem;
  }

  .work-status {
    justify-self: start;
  }

  .mail {
    white-space: normal;
    word-break: break-word;
  }

  .statement,
  .for,
  .offer,
  .work,
  .contact {
    padding: 2.75rem 0;
  }
}

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

  .display > span,
  .js [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
