:root {
  --ink: #1f1f1f;
  --ink-soft: #4e493f;
  --paper: #fff8e8;
  --paper-deep: #f7edd7;
  --yellow: #ffc928;
  --orange: #ff8a1f;
  --white: #ffffff;
  --line: rgba(31, 31, 31, 0.18);
  --line-strong: rgba(31, 31, 31, 0.46);
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: clamp(3.5rem, 7vw, 7rem);
  --radius-button: 999px;
  --shadow-soft: 0 16px 42px rgba(86, 54, 7, 0.12);
  --shadow-image: 18px 20px 0 rgba(31, 31, 31, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mrc-font-en), Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  width: 100%;
}

.site-header__inner {
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header-note,
.eyebrow,
.status-label,
.visual-index {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-note {
  color: var(--ink-soft);
  text-align: right;
}

.hero-shell {
  min-height: calc(100svh - 1px);
  background:
    linear-gradient(112deg, var(--paper) 0%, var(--paper) 63%, #fff2c5 100%);
  display: flex;
  flex-direction: column;
}

.hero-grid {
  width: min(100% - 2rem, 1240px);
  margin: auto;
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 41rem;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: #71530a;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", var(--mrc-font-en), serif;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 6.55rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-lead {
  max-width: 37rem;
  margin: var(--space-4) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.puzzle-status {
  width: fit-content;
  max-width: 100%;
  margin: var(--space-5) 0 var(--space-4);
  padding: 0.8rem 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.status-date,
.status-ready {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
}

.status-label {
  color: var(--ink-soft);
}

.status-ready {
  font-size: 0.87rem;
  font-weight: 700;
}

.status-ready i {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
}

.primary-cta {
  position: relative;
  min-height: 48px;
  max-width: 100%;
  padding: 0.7rem 0.82rem 0.7rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-button);
  color: var(--ink);
  background: transparent;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: color 260ms ease, background-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.primary-cta > span,
.primary-cta > b {
  position: relative;
  z-index: 1;
}

.primary-cta > b {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1;
  transition: color 260ms ease, background-color 260ms ease;
}

.primary-cta::after {
  position: absolute;
  top: -25%;
  left: -45%;
  width: 24%;
  height: 150%;
  content: "";
  background: rgba(255, 255, 255, 0.58);
  transform: skewX(-24deg);
}

.primary-cta:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.primary-cta:hover > b {
  color: var(--ink);
  background: var(--paper);
}

.primary-cta:hover::after {
  animation: sheen 760ms ease-out 1;
}

.primary-cta:active {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.hero-visual {
  position: relative;
  width: min(100%, 33rem);
  justify-self: end;
  aspect-ratio: 0.9;
  background: var(--orange);
  box-shadow: var(--shadow-image);
  overflow: hidden;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.03);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.26), transparent 42%, rgba(31, 31, 31, 0.08));
  pointer-events: none;
}

.visual-index {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.6rem;
  color: var(--ink);
  background: var(--paper);
}

.visual-index--top {
  top: 0;
  left: 0;
}

.visual-index--bottom {
  right: 0;
  bottom: 0;
  color: var(--paper);
  background: var(--ink);
}

.visual-cut {
  position: absolute;
  z-index: 2;
  background: var(--paper);
}

.visual-cut--one {
  top: 13%;
  right: -1px;
  width: 14%;
  height: 38%;
}

.visual-cut--two {
  bottom: 11%;
  left: -1px;
  width: 23%;
  height: 9%;
  background: var(--yellow);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer__inner {
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
  padding: 1.35rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.site-footer strong {
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.site-footer nav a {
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-main {
  width: min(100% - 2rem, 800px);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.legal-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 0.96;
}

.legal-date {
  margin: var(--space-3) 0 0;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.legal-intro {
  margin: var(--space-4) 0 0;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.legal-copy section {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.legal-copy section p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-copy section a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-underline-offset: 0.18em;
}

.legal-copy section a:hover {
  color: #8a4700;
}

@keyframes sheen {
  from {
    left: -45%;
  }
  to {
    left: 125%;
  }
}

@media (min-width: 768px) {
  .site-header__inner,
  .hero-grid,
  .site-footer__inner {
    width: min(100% - 4rem, 1240px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(22rem, 0.83fr);
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer nav {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .header-note {
    max-width: 9rem;
    line-height: 1.3;
  }

  .hero-grid {
    padding-top: 1.9rem;
  }

  .hero-visual {
    width: min(100%, 28rem);
    justify-self: start;
    aspect-ratio: 1.22;
    box-shadow: 12px 12px 0 var(--ink);
  }

  .puzzle-status {
    gap: 0.55rem 0.8rem;
  }
}

@media (max-width: 430px) {
  .primary-cta {
    width: 100%;
    padding-inline: 1rem;
  }

  .site-footer p {
    flex-direction: column;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms ease;
  }

  .motion-ready .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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