:root {
  --ink: #141816;
  --muted: #5d655f;
  --paper: #f4f3ed;
  --white: #fffefa;
  --line: #caccc4;
  --green: #174d3c;
  --green-bright: #c7de93;
  --orange: #e46132;
  --display: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 24, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 48px;
  font-family: var(--sans);
  line-height: 1.5;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--green);
  transform: translateY(-150%);
}

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

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

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 237, 0.94);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 26px;
}

.brand span {
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-header nav a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 0.25rem;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 9rem) clamp(1.5rem, 5vw, 6rem);
}

.eyebrow {
  margin: 0 0 2rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

h1 {
  max-width: 10ch;
  margin-bottom: 2.5rem;
  font-size: clamp(4.6rem, 8.3vw, 9rem);
  text-transform: uppercase;
}

h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.text-link {
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span {
  padding-left: 0.6rem;
  color: var(--orange);
}

.hero-figure {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 7rem);
  background: var(--green);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-figure img {
  position: relative;
  z-index: 1;
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 28px 25px rgba(0, 0, 0, 0.25));
}

.hero-figure > p {
  position: absolute;
  right: 3rem;
  bottom: 2.5rem;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.figure-index {
  position: absolute;
  top: -3.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--display);
  font-size: clamp(12rem, 26vw, 27rem);
  font-weight: 800;
  line-height: 1;
}

.final-callout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 10rem);
  color: var(--white);
  background: var(--ink);
}

.final-callout .eyebrow {
  color: var(--green-bright);
}

.final-callout h2,
.section-intro h2,
.process-intro h2,
.closing h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 7rem);
  text-transform: uppercase;
}

.final-copy {
  align-self: end;
  max-width: 42rem;
}

.final-copy > p {
  color: #c9cec9;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.final-copy strong {
  color: var(--white);
}

.final-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2.25rem 0 2.75rem;
  padding: 0;
  border-top: 1px solid #444945;
  list-style: none;
}

.final-copy li {
  padding: 0.9rem 0.5rem 0.9rem 0;
  border-bottom: 1px solid #444945;
  color: #d6dad6;
  font-size: 0.78rem;
}

.final-copy li::before {
  content: "◆";
  margin-right: 0.7rem;
  color: var(--orange);
  font-size: 0.55rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 240px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--green-bright);
  color: var(--ink);
  background: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button-link:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.gallery-section {
  padding: clamp(6rem, 10vw, 11rem) clamp(1.25rem, 5vw, 6rem);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr;
  align-items: end;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto clamp(4rem, 8vw, 8rem);
}

.section-intro .eyebrow,
.section-intro h2 {
  grid-column: 1;
}

.section-intro .eyebrow {
  margin-bottom: 0;
}

.section-intro p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.design-list {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.design-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.65fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.design-card:nth-child(even) {
  grid-template-columns: minmax(290px, 0.65fr) minmax(0, 1.55fr);
}

.design-card:nth-child(even) .design-visual {
  grid-column: 2;
  grid-row: 1;
}

.design-card:nth-child(even) .design-copy {
  grid-column: 1;
  grid-row: 1;
}

.design-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}

.design-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--orange);
  transition: box-shadow 200ms ease;
}

.design-visual:hover::after {
  box-shadow: inset 0 0 0 5px var(--orange);
}

.design-visual img {
  width: 100%;
  aspect-ratio: 900 / 620;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.design-visual:hover img {
  transform: scale(1.018);
}

.design-visual span {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.65rem 0.8rem;
  color: var(--white);
  background: var(--green);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.design-number {
  margin-bottom: 2rem;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.design-copy h3 {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.dimensions {
  margin-bottom: 1.8rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 700;
}

.design-copy > p:not(.design-number, .dimensions) {
  color: var(--muted);
  font-size: 0.95rem;
}

.design-copy dl {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.design-copy dl div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}

.design-copy dt {
  color: var(--muted);
}

.design-copy dd {
  margin: 0;
  font-weight: 700;
}

.process-section {
  padding: clamp(6rem, 10vw, 11rem) clamp(1.25rem, 8vw, 10rem);
  background: #e6e8df;
}

.process-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: end;
}

.process-intro .eyebrow,
.process-intro h2 {
  grid-column: 1;
}

.process-intro .eyebrow {
  margin-bottom: 0;
}

.process-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(4rem, 8vw, 8rem) 0;
  border: 1px solid #b9bdb5;
}

.process-flow div {
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-right: 1px solid #b9bdb5;
}

.process-flow div:last-child {
  border-right: 0;
}

.process-flow div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -0.8rem;
  z-index: 2;
  width: 1.6rem;
  color: var(--orange);
  background: #e6e8df;
  font-size: 1.2rem;
  text-align: center;
}

.process-flow span {
  position: absolute;
  top: 1.25rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.process-flow strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.process-flow small {
  margin-top: 0.45rem;
  color: var(--muted);
}

.applications {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #b9bdb5;
  border-left: 1px solid #b9bdb5;
}

.application {
  grid-column: span 2;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-right: 1px solid #b9bdb5;
  border-bottom: 1px solid #b9bdb5;
  background: rgba(255, 255, 255, 0.2);
}

.hero-application {
  grid-column: span 3;
  min-height: 360px;
  color: var(--white);
  background: var(--green);
  border-color: #537064;
}

.status {
  width: fit-content;
  margin-bottom: 7rem;
  padding: 0.35rem 0.55rem;
  color: var(--green);
  background: var(--green-bright);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status.research {
  color: var(--muted);
  background: transparent;
  border: 1px solid #9da39b;
}

.application-mark {
  position: absolute;
  top: -2rem;
  right: 0;
  color: rgba(20, 24, 22, 0.055);
  font-family: var(--display);
  font-size: 14rem;
  font-weight: 800;
  line-height: 1;
}

.hero-application .application-mark {
  color: rgba(255, 255, 255, 0.07);
}

.application h3 {
  position: relative;
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.application > p:last-child {
  position: relative;
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-application > p:last-child {
  color: #d8e2dd;
}

.closing {
  padding: clamp(6rem, 12vw, 13rem) clamp(1.5rem, 8vw, 10rem);
  color: var(--white);
  background: var(--orange);
}

.closing .eyebrow {
  color: var(--ink);
}

.closing h2 {
  max-width: 11ch;
}

.closing-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
}

.closing-links > a:not(.button-link) {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-link.light {
  border-color: var(--white);
  background: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--line);
  background: var(--white);
}

footer img {
  display: block;
  width: auto;
  height: 22px;
  margin-bottom: 0.7rem;
}

footer p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

footer > p {
  align-self: end;
  justify-self: end;
  text-align: right;
}

.reveal-ready .design-card,
.reveal-ready .application {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-ready .is-visible {
  animation: reveal-in 600ms ease both;
}

@keyframes reveal-in {
  from {
    opacity: 0.72;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .hero,
  .final-callout,
  .section-intro,
  .process-intro {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 70vh;
  }

  .hero-figure {
    min-height: 70vw;
  }

  .section-intro p:last-child,
  .process-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
    max-width: 38rem;
  }

  .design-card,
  .design-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .design-card:nth-child(even) .design-visual,
  .design-card:nth-child(even) .design-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .design-card:nth-child(even) .design-visual {
    grid-row: 1;
  }

  .process-flow {
    grid-template-columns: 1fr 1fr;
  }

  .process-flow div:nth-child(2) {
    border-right: 0;
  }

  .process-flow div:nth-child(-n + 2) {
    border-bottom: 1px solid #b9bdb5;
  }

  .process-flow div:nth-child(2)::after {
    display: none;
  }

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

  .application,
  .hero-application {
    grid-column: span 1;
  }

  .application:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    flex-direction: column;
    gap: 0.9rem;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-header nav a {
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 610px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  .hero-figure {
    min-height: 430px;
    padding: 3rem 1.5rem;
  }

  .hero-figure::before {
    inset: 1rem;
  }

  .hero-figure > p {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .final-copy ul,
  .process-flow,
  .applications,
  footer {
    grid-template-columns: 1fr;
  }

  .process-flow div {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid #b9bdb5;
  }

  .process-flow div:last-child {
    border-bottom: 0;
  }

  .process-flow div:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -0.85rem;
    content: "↓";
  }

  .process-flow div:nth-child(2)::after {
    display: block;
  }

  .application,
  .hero-application,
  .application:last-child {
    grid-column: 1;
  }

  .closing-links {
    align-items: flex-start;
    flex-direction: column;
  }

  footer > p {
    justify-self: start;
    text-align: left;
  }
}

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

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