:root {
  --ink: #171717;
  --paper: #f4f0e8;
  --paper-deep: #eae4d8;
  --signal: #f15d45;
  --muted: #716e67;
  --line: rgba(23, 23, 23, 0.18);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 14%, rgba(241, 93, 69, 0.09), transparent 22rem),
    var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 3.1rem 5.8vw 2.2rem;
}

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead { min-height: 2rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 1.55rem;
  height: 1.4rem;
}

.wordmark-mark i {
  display: block;
  width: 0.42rem;
  border-radius: 999px 999px 2px 2px;
  background: var(--signal);
  transform: skew(-18deg);
}

.wordmark-mark i:nth-child(1) { height: 0.78rem; }
.wordmark-mark i:nth-child(2) { height: 1.16rem; }
.wordmark-mark i:nth-child(3) { height: 0.96rem; }
.wordmark-text span { font-weight: 500; }

.status-tag,
.eyebrow,
.footer,
.closure-detail p {
  font-family: "DM Mono", monospace;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0.2rem rgba(241, 93, 69, 0.12);
}

.closure {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 6rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  margin: 0 0 2.8rem;
  color: var(--signal);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}

.eyebrow span {
  font-size: 1.1rem;
  line-height: 0;
}

.closure-copy {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 9vw, 10rem);
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.5rem, 10.6vw, 10.9rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.89;
}

h1 em {
  color: var(--signal);
  font-style: normal;
}

.closure-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.55rem;
}

.detail-line {
  display: block;
  width: 2.8rem;
  height: 1px;
  margin-top: 0.52rem;
  background: var(--ink);
}

.closure-detail p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.65;
}

.closure-stamp {
  position: absolute;
  right: 3%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 7.2rem;
  height: 7.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: center;
  transform: rotate(11deg);
}

.closure-stamp span { color: var(--signal); }

.footer {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.footer p { margin: 0; }
.footer-index { color: var(--ink); }

@media (max-width: 700px) {
  .page-shell { padding: 2rem 1.35rem 1.45rem; }
  .status-tag { font-size: 0.55rem; }
  .wordmark { font-size: 0.78rem; }
  .closure { padding: 5.6rem 0 5rem; }
  .eyebrow { margin-bottom: 2rem; font-size: 0.63rem; }
  .closure-copy { display: block; }
  h1 { max-width: 8ch; font-size: clamp(4rem, 18vw, 7rem); }
  .closure-detail { margin-top: 2.4rem; }
  .closure-stamp { right: 0; bottom: 1.5rem; width: 5.7rem; height: 5.7rem; font-size: 0.58rem; }
  .footer { align-items: flex-start; gap: 1rem; font-size: 0.57rem; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
