:root {
  --paper: #f3eee2;
  --paper-deep: #e8dfcf;
  --ink: #14231f;
  --muted: #5e6963;
  --line: rgba(20, 35, 31, .24);
  --line-strong: rgba(20, 35, 31, .55);
  --coral: #d8624c;
  --yellow: #efc75d;
  --blue: #91bac6;
  --green: #9fb9a2;
  --violet: #afa1c8;
  --white: #fffdf7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
button, input, select { font: inherit; }
a { color: inherit; }
svg { display: block; }
random-express-nav { display: block; min-height: 88px; }
main, footer { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-dot { color: var(--coral); }

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--coral); font-weight: 400; }
.hero-intro {
  max-width: 37rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.primary-button,
.outline-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .78rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.primary-button { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 rgba(20, 35, 31, .15); }
.outline-button { background: transparent; }
.primary-button span,
.outline-button span { font-size: 1rem; }
.primary-button:hover,
.outline-button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(20, 35, 31, .14); }
.outline-button:hover { background: var(--white); }
.primary-button:focus-visible,
.outline-button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.curiosity-dial {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1.18;
  justify-self: end;
}
.dial-face {
  position: absolute;
  inset: 3% 12% 3% 2%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #efe7d7;
  box-shadow: 9px 11px 0 rgba(20, 35, 31, .09), inset 0 0 0 12px rgba(255, 253, 247, .45);
}
.dial-face::before,
.dial-face::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(20, 35, 31, .38);
  border-radius: 50%;
}
.dial-face::after { inset: 16%; border-style: solid; border-color: rgba(20, 35, 31, .16); }
.dial-pointer {
  position: absolute;
  top: 5%;
  left: calc(50% - 10px);
  z-index: 2;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid var(--coral);
}
.dial-center {
  position: absolute;
  inset: 31%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .35rem;
  text-align: center;
}
.dial-center span { font-size: 1.8rem; }
.dial-center small { font-size: .62rem; font-weight: 850; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; }
.dial-center b {
  width: 58px;
  height: 58px;
  border: 8px double var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 4px 0 rgba(20, 35, 31, .18);
}
.dial-tick { position: absolute; width: 1px; height: 18px; background: var(--ink); opacity: .5; }
.tick-one { left: 22%; top: 17%; transform: rotate(-43deg); }
.tick-two { right: 22%; top: 17%; transform: rotate(43deg); }
.tick-three { left: 50%; bottom: 8%; }
.dial-tab {
  position: absolute;
  right: 0;
  z-index: 0;
  width: 116px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 3px 4px 0 rgba(20, 35, 31, .1);
}
.tab-make { top: 14%; background: var(--coral); transform: rotate(-6deg); }
.tab-play { top: 33%; background: var(--yellow); transform: rotate(3deg); }
.tab-unwind { top: 52%; background: var(--green); transform: rotate(8deg); }
.tab-wonder { top: 71%; background: var(--violet); transform: rotate(13deg); }
.registration-mark { position: absolute; color: rgba(20, 35, 31, .32); font-family: var(--serif); font-size: 2.2rem; font-weight: 300; }
.mark-one { left: 1%; top: 1%; }
.mark-two { right: 0; bottom: 1%; }

.section-index {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.about {
  display: grid;
  grid-template-columns: 120px 1fr 210px;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}
.about-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.8rem;
  box-shadow: 4px 4px 0 rgba(20, 35, 31, .08);
  transform: rotate(-2deg);
}
.about h2 {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.about-copy > p:last-child { max-width: 620px; margin: 1.35rem 0 0; color: var(--muted); line-height: 1.7; }
.about-note {
  min-height: 120px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50% 50% 8px 8px;
  background: var(--yellow);
  text-align: center;
  transform: rotate(2deg);
}
.about-note span { font-size: 1.2rem; }
.about-note p { margin: .45rem 0 0; font-family: var(--serif); font-size: 1.2rem; }

footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}
.footer-links-home { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1rem; }
.footer-links-home a { min-height: 38px; display: inline-flex; align-items: center; font-weight: 760; text-decoration: none; }
.footer-links-home a:hover,
.footer-links-home a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: .22rem; }
.footer-brand { color: var(--ink); }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .72fr; gap: 1.5rem; }
  .hero h1 { font-size: clamp(3.8rem, 8.8vw, 5.6rem); }
  .curiosity-dial { width: min(100%, 360px); }
  .dial-tab { width: 90px; height: 40px; font-size: .7rem; }
  .about { grid-template-columns: 100px 1fr; }
  .about-note { grid-column: 2; width: 210px; }
}

@media (max-width: 680px) {
  random-express-nav { min-height: 74px; }
  main, footer { width: min(100% - 1.5rem, 1180px); }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.8rem 0 0;
  }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.4rem); line-height: .9; }
  .hero-intro { margin-top: 1.4rem; font-size: .95rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.4rem; }
  .primary-button, .outline-button { gap: .55rem; padding-inline: .8rem; font-size: .76rem; }
  .curiosity-dial { width: calc(100% + 1.5rem); max-width: none; height: 154px; margin-left: -.75rem; overflow: hidden; aspect-ratio: auto; }
  .dial-face { width: 118%; height: 270px; inset: 35px auto auto -9%; }
  .dial-face::after { display: none; }
  .dial-center { display: none; }
  .dial-pointer { top: 1%; }
  .dial-tab { top: 50px; width: 25%; height: 48px; right: auto; font-size: .66rem; box-shadow: 2px 3px 0 rgba(20,35,31,.08); transform: none; }
  .tab-make { left: 0; background: var(--coral); }
  .tab-play { left: 25%; background: var(--yellow); }
  .tab-unwind { left: 50%; background: var(--blue); }
  .tab-wonder { left: 75%; background: var(--violet); }
  .registration-mark { font-size: 1.5rem; }
  .mark-one { top: 95px; left: 2px; }
  .mark-two { top: 95px; right: 2px; }
  .about { grid-template-columns: 70px 1fr; gap: 1rem; padding: 3.5rem 0; }
  .about-mark { width: 62px; height: 62px; font-size: 1.25rem; }
  .about h2 { font-size: 2.4rem; }
  .about-copy > p:last-child { font-size: .9rem; }
  .about-note { grid-column: 1 / -1; width: 100%; min-height: 86px; }
  footer { flex-wrap: wrap; align-items: flex-start; }
  .footer-links-home { order: 3; flex-basis: 100%; justify-content: flex-start; }
}

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