:root {
  --ivory: #F8F4EB;
  --paper: #EFE8DD;
  --olive: #6B6F56;
  --espresso: #3B2E26;
  --ink: #2A211B;
  --bronze: #8A7456;
  --line: rgba(59, 46, 38, .22);
  --muted: rgba(42, 33, 27, .62);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: var(--sans);
  --gutter: clamp(16px, 2.6vw, 44px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; min-height: 100svh;
  background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, p, figure, ol { margin: 0; padding: 0; }
ol { list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* The ivory sheet the homepage raised is still covering the screen; it lifts away. */
.dev-sheet { display: none; }
.motion .dev-sheet {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 10; pointer-events: none;
  background: var(--ivory); color: var(--bronze);
  transition: clip-path 1s var(--ease-io) .2s;
  clip-path: inset(0 0 0 0);
}
.dev-sheet svg { width: 56px; height: 62px; fill: currentColor; transition: opacity .4s, transform .6s var(--ease); }
.motion.is-in .dev-sheet { clip-path: inset(0 0 100% 0); }
.motion.is-in .dev-sheet svg { opacity: 0; transform: translateY(-14px); }

.dev-header {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.dev-brand img { width: clamp(150px, 15vw, 200px); }
.dev-return { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.dev-main { flex: 1; display: grid; grid-template-columns: 7fr 5fr; }

.dev-copy {
  display: flex; flex-direction: column;
  padding: clamp(48px, 9vh, 110px) var(--gutter) var(--gutter);
}
.dev-eyebrow { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.dev-title {
  font-weight: 400; color: var(--ink);
  font-size: clamp(2.8rem, 7.4vw, 8.4rem); line-height: .96; letter-spacing: -.045em; word-spacing: .07em;
}
.dev-line { display: block; overflow: hidden; padding-bottom: .04em; }
.dev-line > span { display: inline-block; }
.dev-line.l2 { padding-left: 7vw; }
.dev-line.l3 { padding-left: 15vw; }

.dev-text { margin-top: clamp(28px, 4vw, 48px); max-width: 30rem; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.dev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.dev-pill { display: inline-flex; align-items: center; gap: .9em; height: 38px; padding: 0 16px; border-radius: 2px; background: var(--ink); color: var(--ivory); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background .4s var(--ease); }
.dev-pill::before { content: "↳"; font-size: 13px; }
.dev-pill:hover { background: var(--olive); }
.dev-link { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.dev-stages {
  margin-top: auto; padding-top: clamp(48px, 8vh, 96px);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.dev-stages li {
  position: relative; padding-top: 16px; font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--line);
}
.dev-stages li::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--espresso); transform: scaleX(0); transform-origin: left;
}
.dev-stages li.is-done::before { transform: scaleX(1); }
.dev-stages li.is-now::before { transform: scaleX(.45); background: var(--olive); }
.dev-stages li.is-done, .dev-stages li.is-now { color: var(--ink); }
.dev-stages span { display: block; font-size: 11px; letter-spacing: .1em; margin-bottom: 4px; opacity: .7; }
.motion .dev-stages li::before { transition: transform 1.2s var(--ease) 1.6s; }
.motion:not(.is-in) .dev-stages li::before { transform: scaleX(0); }

.dev-photo { position: relative; overflow: hidden; background: var(--paper); }
.dev-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dev-photo figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--ivory); text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.dev-photo em { font-style: normal; }

/* Entrance: lines rise, the photograph is uncovered like a blind going up. */
.motion .dev-line > span { transition: transform 1.2s var(--ease) calc(.75s + var(--d, 0s)); }
.motion:not(.is-in) .dev-line > span { transform: translateY(105%); }
.motion .dev-line.l2 > span { --d: .08s; }
.motion .dev-line.l3 > span { --d: .16s; }
.motion .dev-in { transition: opacity .9s var(--ease) 1.1s, transform 1s var(--ease) 1.1s; }
.motion:not(.is-in) .dev-in { opacity: 0; transform: translateY(14px); }
.motion .dev-photo { transition: clip-path 1.4s var(--ease-io) .6s; }
.motion .dev-photo img { transition: transform 2s var(--ease) .6s; }
.motion:not(.is-in) .dev-photo { clip-path: inset(100% 0 0 0); }
.motion:not(.is-in) .dev-photo img { transform: scale(1.15); }

@media (max-width: 860px) {
  .dev-main { grid-template-columns: 1fr; }
  .dev-photo { order: -1; aspect-ratio: 4 / 3; }
  .dev-copy { padding-top: 40px; }
  .dev-title { font-size: clamp(2.7rem, 13vw, 5.4rem); }
  .dev-line.l2 { padding-left: 6vw; }
  .dev-line.l3 { padding-left: 12vw; }
}
@media (max-width: 520px) {
  .dev-stages { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dev-stages li { font-size: 11.5px; }
  .dev-return { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
