:root {
  --ink: #0b0b09;
  --paper: #f7f4ee;
  --paper-soft: #eee9df;
  --muted: #5e5a52;
  --rule: rgba(11, 11, 9, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
}

body::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(11, 11, 9, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0, rgba(11, 11, 9, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: fixed;
}

.holding-shell {
  align-items: center;
  display: grid;
  gap: clamp(24px, 3.5vw, 50px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 96px);
  position: relative;
  text-align: center;
}

.mark-stage {
  aspect-ratio: 655 / 788;
  display: grid;
  isolation: isolate;
  place-items: center;
  position: relative;
  width: clamp(132px, 14vw, 210px);
}

.mark {
  animation: mark-resolve 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  height: auto;
  opacity: 0;
  width: 100%;
}

.axis {
  background: var(--rule);
  position: absolute;
  transform-origin: center;
}

.axis-horizontal {
  animation: rule-wide 1800ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
  height: 1px;
  width: 100%;
}

.axis-vertical {
  animation: rule-tall 1800ms 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  height: 100%;
  width: 1px;
}

.holding-copy {
  max-width: 780px;
  text-align: center;
}

.kicker {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 10vw, 10.5rem);
  font-weight: 500;
  line-height: 0.86;
  margin: 0;
}

.position {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 4.8rem);
  line-height: 0.96;
  margin: clamp(28px, 4vw, 54px) 0 0;
}

.statement {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  margin: clamp(26px, 4vw, 44px) 0 0;
  max-width: 520px;
}

.city-line {
  color: var(--muted);
  font-size: clamp(0.86rem, 1.15vw, 1.04rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.8;
  margin: clamp(24px, 4vw, 42px) auto 0;
  max-width: 760px;
  text-transform: uppercase;
}

.policy {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: clamp(22px, 4vw, 38px) auto 0;
  padding-top: 18px;
  text-transform: uppercase;
}

.holding-copy > * {
  animation: copy-rise 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.holding-copy > *:nth-child(2) {
  animation-delay: 120ms;
}

.holding-copy > *:nth-child(3) {
  animation-delay: 240ms;
}

.holding-copy > *:nth-child(4) {
  animation-delay: 360ms;
}

.holding-footer {
  align-items: center;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  font-size: 0.72rem;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 24px clamp(26px, 7vw, 96px);
  position: relative;
  text-transform: uppercase;
}

.stage-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(34px, 6vw, 86px);
  position: relative;
}

.stage-header {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: clamp(22px, 4vw, 58px);
  grid-template-columns: 96px minmax(0, 1fr);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.stage-mark {
  height: auto;
  width: 92px;
}

.stage-header h1 {
  font-size: clamp(3rem, 7vw, 7.6rem);
}

.stage-header p:last-child {
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
}

.stage-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 72px);
}

.stage-card {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--rule);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.stage-card:hover,
.stage-card:focus-visible {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(11, 11, 9, 0.34);
  outline: 0;
  transform: translateY(-2px);
}

.stage-card span {
  color: var(--muted);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 80px;
}

.stage-card h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 0 0 22px;
}

.stage-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.stage-action {
  border-top: 1px solid var(--rule);
  color: var(--ink);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-top: auto;
  padding-top: 24px;
  text-transform: uppercase;
}

.build-shell {
  display: grid;
  gap: clamp(44px, 8vw, 112px);
  margin: 0 auto;
  max-width: 980px;
  min-height: 100vh;
  padding: clamp(34px, 6vw, 86px);
  position: relative;
}

.build-header {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
}

.stage-back,
.build-link {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.stage-back {
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
}

.stage-back:hover,
.stage-back:focus-visible,
.build-link:hover,
.build-link:focus-visible {
  border-bottom-color: currentColor;
  outline: 0;
}

.build-copy {
  align-self: center;
}

.build-copy h1 {
  font-size: clamp(4rem, 9vw, 10rem);
  margin-bottom: clamp(28px, 5vw, 64px);
}

.build-copy p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0;
  max-width: 780px;
}

.build-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: clamp(32px, 5vw, 64px);
}

.build-link {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 7px;
}

@keyframes mark-resolve {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rule-wide {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes rule-tall {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .holding-shell {
    align-content: center;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 138px);
    padding: 34px 24px;
  }

  .mark-stage {
    justify-self: center;
    width: clamp(122px, 34vw, 178px);
  }

  .holding-footer {
    grid-template-columns: 1fr;
    padding: 22px 24px;
  }

  .stage-header,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: 220px;
  }

  .stage-card span {
    margin-bottom: 42px;
  }

  .build-shell {
    gap: 54px;
    padding: 34px 24px 64px;
  }

  .build-copy h1 {
    font-size: clamp(3.6rem, 16vw, 6.5rem);
  }

  .build-header {
    align-items: flex-start;
  }

  .build-header .stage-mark {
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
