:root {
  color-scheme: light;
  --paper: #f3efe7;
  --paper-warm: #e9e1d4;
  --white: #fffdf9;
  --ink: #14272d;
  --ink-soft: #43545a;
  --ink-faint: #6f7b7f;
  --gold: #b68132;
  --gold-bright: #d2a24e;
  --line: rgba(20, 39, 45, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100vw - 48px));
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shadow: 0 30px 70px rgba(29, 42, 43, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 4%, rgba(203, 162, 91, 0.14), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 39, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 39, 45, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

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

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(20, 39, 45, 0.1);
  background: rgba(243, 239, 231, 0.86);
  box-shadow: 0 8px 30px rgba(35, 47, 48, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.site-nav a,
.footer-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a::after,
.footer-links a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-link-out {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding-top: clamp(138px, 18vh, 190px);
  padding-bottom: 72px;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-content: center;
}

.hero-copy {
  z-index: 2;
  grid-column: 1 / span 8;
  align-self: center;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.2vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--gold);
  font-style: italic;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.62;
}

.role-line {
  margin-bottom: 34px;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(20, 39, 45, 0.17);
  color: var(--white);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(20, 39, 45, 0.22);
}

.text-link {
  position: relative;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  grid-column: 9 / -1;
  grid-row: 1;
  align-self: center;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  box-shadow: inset 0 -80px 100px rgba(10, 29, 37, 0.08);
  content: "";
  pointer-events: none;
}

.hero-image-wrap img {
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption,
.snow-photo figcaption,
.kaiju-photo figcaption {
  display: flex;
  margin-top: 14px;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.caption-rule {
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.hero-note {
  display: grid;
  margin-top: 70px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  grid-column: 1 / span 5;
  grid-template-columns: 48px 1fr;
  gap: 8px;
}

.hero-note-index {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-note p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section {
  padding-block: clamp(96px, 12vw, 170px);
}

.section-work {
  position: relative;
  background: var(--white);
}

.section-work::before {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1240px) / 2));
  width: 30%;
  height: 1px;
  background: var(--gold);
  content: "";
}

.section-heading {
  display: grid;
  margin-bottom: clamp(62px, 8vw, 108px);
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
}

.section-heading .eyebrow {
  grid-column: 1 / span 3;
}

.section-heading h2 {
  margin-bottom: 0;
  grid-column: 4 / span 5;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  grid-column: 9 / -1;
  align-self: end;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.principles {
  margin-left: calc((100% + 24px) / 4);
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principle {
  display: grid;
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 12% 35% 1fr;
  gap: 28px;
}

.principle-number {
  padding-top: 8px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.principle p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.pull-quote {
  max-width: 860px;
  margin: clamp(80px, 11vw, 150px) 0 0 auto;
}

.pull-quote p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-style: italic;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-systems {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.section-systems::before {
  position: absolute;
  top: -220px;
  right: -200px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(210, 162, 78, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 120px rgba(210, 162, 78, 0.025), 0 0 0 240px rgba(210, 162, 78, 0.018);
  content: "";
  pointer-events: none;
}

.systems-intro {
  display: grid;
  margin-bottom: clamp(80px, 10vw, 132px);
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 9vw, 130px);
}

.eyebrow-light {
  color: var(--gold-bright);
}

.systems-intro h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.5vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.systems-intro-copy {
  align-self: end;
}

.systems-intro-copy p {
  color: rgba(255, 253, 249, 0.72);
  font-size: 1.03rem;
}

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

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

.project {
  display: grid;
  padding-block: 44px;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 8% 1fr 24%;
  gap: 28px;
  transition: background-color 220ms ease, padding-inline 220ms ease;
}

.project:hover {
  margin-inline: -18px;
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.project-index {
  padding-top: 8px;
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-body h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-body p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.67);
}

.project-tag {
  margin-bottom: 0;
  align-self: center;
  color: rgba(255, 253, 249, 0.48);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.systems-footer {
  display: flex;
  margin-top: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.systems-footer p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.65);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-style: italic;
}

.button-light {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

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

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

.outside-heading h2 {
  grid-column: 4 / span 6;
}

.outside-heading > p:last-child {
  grid-column: 10 / -1;
}

.outside-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.snow-photo,
.kaiju-photo {
  margin: 0;
}

.snow-photo {
  grid-column: 1 / span 8;
}

.snow-photo picture,
.kaiju-photo picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 55px rgba(27, 43, 45, 0.1);
}

.snow-photo picture {
  aspect-ratio: 16 / 9;
}

.kaiju-photo {
  margin-top: 110px;
  grid-column: 9 / -1;
}

.kaiju-photo picture {
  aspect-ratio: 3 / 4;
}

.snow-photo img,
.kaiju-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.snow-photo:hover img,
.kaiju-photo:hover img {
  transform: scale(1.015);
}

.outside-copy {
  display: grid;
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  grid-column: 3 / span 8;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.outside-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.outside-copy .cowboys-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  font-style: italic;
}

.section-next {
  padding-block: clamp(90px, 12vw, 150px);
  background: var(--paper-warm);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
}

.next-grid > .eyebrow {
  grid-column: 1 / span 3;
}

.next-copy {
  grid-column: 4 / span 8;
}

.next-copy h2 {
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.next-copy p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.site-footer {
  padding-block: 58px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.6fr;
  gap: 32px;
  align-items: end;
}

.footer-name {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.footer-name + p,
.footer-meta {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-meta {
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.js .reveal[data-delay="1"] {
  transition-delay: 100ms;
}

.js .reveal[data-delay="2"] {
  transition-delay: 180ms;
}

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

@media (max-width: 1040px) {
  .hero {
    padding-top: 132px;
  }

  .hero-copy {
    grid-column: 1 / span 8;
  }

  .hero-visual {
    grid-column: 9 / -1;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7.6vw, 5.3rem);
  }

  .section-heading h2 {
    grid-column: 4 / span 6;
  }

  .section-heading > p:last-child {
    grid-column: 10 / -1;
  }

  .principles {
    margin-left: 0;
  }

  .project {
    grid-template-columns: 7% 1fr;
  }

  .project-tag {
    display: none;
  }

  .outside-copy {
    grid-column: 2 / span 10;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 34px, 680px);
    --radius-lg: 26px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    min-height: 68px;
  }

  .wordmark-name {
    display: none;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: 62px;
    right: 17px;
    left: 17px;
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 20px 50px rgba(20, 39, 45, 0.16);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .js .site-nav a {
    padding: 10px 8px;
  }

  .js .site-header[data-open="true"] .site-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header[data-open="true"] .nav-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header[data-open="true"] .nav-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    display: flex;
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 78px;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
    line-height: 0.95;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .role-line {
    line-height: 1.6;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    width: min(88%, 480px);
    margin-top: 58px;
    margin-left: auto;
  }

  .hero-note {
    width: 100%;
    margin-top: 50px;
  }

  .section {
    padding-block: 90px;
  }

  .section-heading,
  .next-grid {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 30px;
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }

  .section-heading > p:last-child {
    max-width: 540px;
  }

  .principle {
    padding-block: 30px;
    grid-template-columns: 42px 1fr;
  }

  .principle > div {
    display: grid;
    gap: 18px;
  }

  .principle h3 {
    font-size: 1.8rem;
  }

  .systems-intro {
    display: block;
  }

  .systems-intro h2 {
    margin-bottom: 42px;
    font-size: clamp(3.1rem, 13vw, 5rem);
  }

  .project {
    padding-block: 34px;
    grid-template-columns: 38px 1fr;
    gap: 8px;
  }

  .project-body h3 {
    font-size: 2rem;
  }

  .systems-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .outside-grid {
    display: block;
  }

  .snow-photo,
  .kaiju-photo {
    width: 100%;
  }

  .kaiju-photo {
    width: min(80%, 460px);
    margin: 52px 0 0 auto;
  }

  .outside-copy {
    display: block;
    margin-top: 62px;
  }

  .outside-copy p + p {
    margin-top: 24px;
  }

  .outside-copy .cowboys-note {
    margin-top: 34px;
  }

  .next-copy h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .button {
    width: 100%;
  }

  .principle {
    display: block;
  }

  .principle-number {
    display: block;
    margin-bottom: 14px;
  }

  .project {
    display: block;
  }

  .project-index {
    display: block;
    margin-bottom: 14px;
  }

  .kaiju-photo {
    width: 90%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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