:root {
  --paper: #f4e9d8;
  --paper-light: #fbf5ea;
  --paper-deep: #e8d9c4;
  --card: #fbf5ea;
  --ink: #123f4a;
  --ink-strong: #082f39;
  --slate: #557980;
  --slate-soft: #87a0a2;
  --orange: #d65a17;
  --green: #123f4a;
  --teal: #557980;
  --line: #c7bbaa;
  --radius: 18px;
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 253, 246, 0.78), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.25;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.price {
  color: var(--ink-strong);
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.035em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--orange) 70%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--orange);
}

:focus-visible {
  outline: 2px solid var(--ink-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink-strong);
  color: var(--paper-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--paper-light);
  transform: translateY(0);
}

.wrap {
  width: min(100% - 40px, 1200px);
  max-width: 1200px;
  padding: 0;
}

section {
  padding: 76px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 24px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.sketch,
.note {
  color: var(--orange);
  font-family: "Cabin Sketch", "Space Grotesk", sans-serif;
  font-weight: 700;
}

.btn {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--ink-strong);
  border-radius: 255px 18px 225px 15px / 16px 225px 18px 255px;
  background: var(--ink-strong);
  box-shadow: 8px 11px 12px -12px rgba(8, 47, 57, 0.65);
  color: var(--paper-light) !important;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 220ms ease, border-color 220ms ease, border-radius 320ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.btn::after {
  position: absolute;
  inset: 3px 4px 4px 3px;
  z-index: 0;
  border: 1px solid currentColor;
  border-radius: 18px 255px 15px 225px / 225px 15px 255px 18px;
  content: "";
  opacity: 0.2;
  pointer-events: none;
  transition: border-radius 320ms ease, inset 220ms ease, opacity 220ms ease;
}

.btn:hover {
  border-color: var(--slate);
  border-radius: 18px 255px 15px 225px / 225px 15px 255px 18px;
  background: var(--slate);
  box-shadow: 3px 7px 8px -8px rgba(8, 47, 57, 0.72);
  color: var(--paper-light) !important;
  transform: translateY(-2px) rotate(-0.35deg);
}

.btn:hover::after {
  inset: 4px 3px 3px 5px;
  border-radius: 255px 18px 225px 15px / 16px 225px 18px 255px;
  opacity: 0.32;
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--ink) 55%, transparent);
  background: transparent;
  color: var(--ink) !important;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-deep);
  color: var(--ink) !important;
}

/* Navigation */
.nav {
  --scroll-progress: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px);
}

.nav::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
  transition: transform 80ms linear;
}

.nav-inner {
  width: min(100% - 32px, 1200px);
  max-width: 1200px;
  min-height: 70px;
  padding: 10px 0;
  flex-wrap: nowrap;
}

.brand {
  gap: 0;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand svg {
  display: none;
}

.brand-short {
  display: none;
}

.nav-links {
  display: none;
}

.nav .btn-small {
  min-height: 44px;
  margin-left: 0 !important;
  padding: 10px 15px;
  font-size: 13px;
}

.nav-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  flex: none;
}

.nav-account-slot {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
}

.nav-account-slot[data-state="signed-out"] {
  width: 184px;
}

.nav-account-slot > * {
  grid-area: 1 / 1;
}

.nav-account-loading {
  width: 38px;
  height: 38px;
  border: 2px solid color-mix(in srgb, var(--ink) 28%, transparent);
  border-radius: 50%;
  background: var(--paper-light);
}

.nav-google-signin {
  display: grid;
  width: 184px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
}

.nav-google-signin > div,
.nav-google-signin iframe {
  margin: 0 !important;
}

.nav-google-fallback {
  display: flex;
  width: 184px;
  min-height: 40px;
  padding: 8px 14px;
  place-items: center;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.nav-google-fallback::before {
  content: "G";
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.nav-account-loading[hidden],
.nav-google-signin[hidden],
.nav-google-fallback[hidden],
.account-trigger[hidden],
.account-menu[hidden],
.account-trigger img[hidden],
.account-menu-avatar img[hidden],
.account-trigger span[hidden],
.account-menu-avatar span[hidden] {
  display: none !important;
}

.account-trigger {
  display: block;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 2px;
  flex: none;
  overflow: hidden;
  border: 2px solid var(--ink-strong);
  border-radius: 999px;
  appearance: none;
  background: var(--paper-light);
  box-shadow: 4px 5px 0 rgba(8, 47, 57, 0.12);
  color: var(--paper-light);
  line-height: 0;
  vertical-align: middle;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.account-trigger:hover {
  box-shadow: 2px 3px 0 rgba(8, 47, 57, 0.18);
  transform: translateY(-1px) rotate(2deg);
}

.account-trigger img,
.account-menu-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.account-trigger > span,
.account-menu-avatar > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  background: var(--ink-strong);
  color: var(--paper-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.account-menu {
  position: fixed;
  inset: 72px max(16px, calc((100vw - 1200px) / 2)) auto auto;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100dvh - 84px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink-strong);
  border-radius: 2px 2px 8px 2px;
  background: var(--paper-light);
  box-shadow: 8px 10px 0 rgba(8, 47, 57, 0.16);
  color: var(--ink);
}

.account-menu::backdrop {
  background: transparent;
}

.account-menu-inner {
  position: relative;
  padding: 18px;
}

.account-menu-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink-strong);
  font-size: 30px;
  line-height: 1;
}

.account-menu-identity {
  display: grid;
  min-width: 0;
  padding: 2px 38px 16px 0;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.account-menu-avatar {
  display: block;
  width: 50px;
  height: 50px;
  padding: 2px;
  overflow: hidden;
  border: 2px solid var(--ink-strong);
  border-radius: 999px;
  background: var(--paper);
}

.account-menu-copy {
  display: grid;
  min-width: 0;
}

.account-menu-label {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-menu-copy strong {
  color: var(--ink-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.account-menu-copy > span:not(.account-menu-label) {
  overflow: hidden;
  color: var(--slate);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#account-menu-name {
  margin-top: 2px;
  color: var(--ink-strong);
  font-weight: 700;
}

.account-menu-options {
  display: grid;
  margin-top: 6px;
}

.account-menu-options a {
  display: flex;
  min-height: 50px;
  padding: 10px 8px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-strong);
  text-decoration: none;
}

.account-menu-options a:hover,
.account-menu-options a:focus-visible {
  padding-left: 13px;
  background: var(--paper-deep);
}

.account-menu-options span {
  font-weight: 700;
}

.account-menu-options b {
  color: var(--orange);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.account-menu-logout {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: #832c23;
  font-weight: 700;
  text-align: left;
}

.account-menu-logout:hover,
.account-menu-logout:focus-visible {
  padding-left: 13px;
  background: color-mix(in srgb, #832c23 8%, transparent);
}

.account-menu-logout:disabled {
  cursor: wait;
  opacity: 0.55;
}

.account-menu-status {
  min-height: 1.4em;
  margin: 2px 8px 0;
  color: #832c23;
  font-size: 13px;
}

@media (max-width: 619px) {
  .nav-inner {
    width: min(100% - 16px, 1200px);
  }

  .brand {
    display: none;
  }

  .account-menu {
    inset: 68px 8px auto 8px;
    width: auto;
    max-height: calc(100dvh - 76px);
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 339px) {
  .nav .btn-small {
    padding-right: 11px;
    padding-left: 11px;
  }
}

/* Hero */
.hero {
  padding: 34px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(54px, 14vw, 92px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 .dot {
  color: var(--orange);
}

.hero .lede {
  max-width: 36em;
  margin-top: 24px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
}

.hero .cta-row {
  margin-top: 28px;
}

.hero .reassurance {
  margin-top: 18px;
  color: var(--slate);
  font-family: "Cabin Sketch", sans-serif;
  font-size: 18px;
  font-weight: 700;
  transform: rotate(-1deg);
}

.facts {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  min-width: 0;
}

.hero-art::after {
  display: none;
  position: absolute;
  right: 1%;
  bottom: 5%;
  padding: 6px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  color: var(--orange);
  content: "all sorts welcome";
  font-family: "Cabin Sketch", sans-serif;
  font-size: 16px;
  font-weight: 700;
  transform: rotate(6deg);
}

.hero-art .hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1369 / 1149;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.hero-art > svg,
.hero-scribble {
  display: none !important;
}

/* Intro rhythm */
.social-ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

.social-ticker p {
  width: max-content;
  min-width: 100vw;
  padding: 0 0.45em;
  flex: none;
  color: var(--ink-strong);
  font-family: "Cabin Sketch", sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  word-spacing: 0.45em;
}

.social-ticker span {
  color: var(--orange);
}

@keyframes ticker-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}

.doorway-grid,
.learning-grid,
.visit-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

.image-print {
  position: relative;
}

.image-print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1402 / 1122;
  object-fit: contain;
  border-radius: 18px;
}

.image-print::before {
  position: absolute;
  inset: 10px -8px -8px 10px;
  z-index: -1;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  content: "";
}

.doorway-copy h2,
.learning-copy h2,
.visit-copy h2,
.variants-copy h2,
.competition-copy h2 {
  max-width: 12ch;
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 500;
  line-height: 1.02;
}

.doorway-copy > p,
.learning-copy > p,
.visit-copy > p,
.variants-copy > p,
.competition-copy > p {
  max-width: 34em;
  margin-top: 20px;
  font-size: 18px;
}

.quick-facts {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.quick-facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.quick-facts strong {
  min-width: 72px;
  color: var(--ink-strong);
}

/* What happens */
.band {
  border: 0;
  background: var(--paper-deep);
}

.section-head {
  max-width: 44em;
  margin-bottom: 46px;
}

.section-head h2 {
  max-width: 15ch;
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 500;
  line-height: 1.04;
}

.section-head p {
  max-width: 38em;
  margin-top: 16px;
  font-size: 18px;
}

.trio {
  gap: 0;
}

.doodle-card {
  position: relative;
  padding: 26px 0 28px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.doodle-card:hover {
  box-shadow: none;
  transform: none;
}

.doodle-card svg {
  display: none;
}

.doodle-card::before {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  content: "01";
  font-family: "Cabin Sketch", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.doodle-card:nth-child(2)::before {
  content: "02";
}

.doodle-card:nth-child(3)::before {
  content: "03";
}

.doodle-card h3 {
  max-width: 10ch;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 500;
}

.doodle-card p {
  max-width: 30em;
  font-size: 16px;
}

.doodle-card .note {
  margin-top: 14px;
  font-size: 17px;
}

#club-nights {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#club-nights::after {
  position: absolute;
  right: -36%;
  bottom: -12%;
  z-index: 0;
  width: min(92vw, 640px);
  aspect-ratio: 1;
  background: url("/images/pieces.png") center / contain no-repeat;
  content: "";
  opacity: 0.11;
  pointer-events: none;
}

#club-nights .wrap {
  position: relative;
  z-index: 1;
}

/* Variants */
.variants {
  overflow: hidden;
  background: var(--paper-light);
}

.variants-head {
  display: grid;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}

.variants-copy .sketch {
  display: inline-block;
  margin-top: 20px;
  font-size: 24px;
  transform: rotate(-2deg);
}

.bughouse-poster {
  position: relative;
}

.bughouse-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1402 / 1122;
  object-fit: contain;
  border-radius: 22px;
}

.bughouse-poster figcaption {
  position: relative;
  width: min(88%, 540px);
  margin: -32px auto 0;
  padding: 20px 24px;
  border-radius: 13px;
  background: var(--orange);
  color: var(--paper-light);
  font-family: "Cabin Sketch", sans-serif;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.04;
  text-align: center;
  transform: rotate(-1deg);
}

.variant-pair {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}

.variant-card {
  margin: 0;
}

.variant-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1402 / 1122;
  object-fit: contain;
  border-radius: 18px;
}

.variant-card figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Learning */
.learning {
  background: var(--paper);
}

.learning-grid {
  align-items: stretch;
}

.strategy-panel {
  align-self: center;
}

.strategy-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1448 / 1086;
  object-fit: contain;
  border-radius: 22px;
}

.learning-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.learning-points li {
  padding-left: 26px;
  background: linear-gradient(var(--orange), var(--orange)) 0 0.8em / 13px 2px no-repeat;
}

.magnus-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-top: 72px;
  border: 0;
  border-radius: 0;
  background: var(--ink-strong);
}

.magnus-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  align-self: start;
  object-fit: contain;
}

.magnus-copy {
  display: flex;
  min-height: 250px;
  padding: 34px 28px;
  flex-direction: column;
  justify-content: center;
}

.magnus-copy h3 {
  color: var(--paper-light);
  font-family: "Cabin Sketch", sans-serif;
  font-size: clamp(42px, 9vw, 76px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.magnus-copy p {
  max-width: 34em;
  margin-top: 18px;
  color: color-mix(in srgb, var(--paper-light) 76%, transparent);
  font-size: 14px;
}

/* Competition */
.competition {
  padding: 76px 0;
  background: var(--paper-deep);
}

.competition-inner {
  display: grid;
  width: min(100% - 40px, 1200px);
  min-height: 0;
  margin: 0 auto;
  gap: 38px;
  align-items: center;
}

.competition-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: 0.88;
}

.competition-copy {
  display: flex;
  width: auto;
  margin: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
}

.competition-copy .sketch {
  margin-top: 24px;
  font-size: 22px;
}

/* Visit */
.visit-section {
  background: var(--ink-strong);
  color: var(--paper-light);
}

.visit-section .eyebrow {
  color: var(--paper-light);
}

.visit-copy h2 {
  color: var(--paper-light);
}

.visit-copy > p,
.visit-copy a:not(.btn) {
  color: color-mix(in srgb, var(--paper-light) 84%, transparent);
}

.visit-details {
  display: grid;
  gap: 0;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid rgba(251, 245, 234, 0.28);
  list-style: none;
}

.visit-details li {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(251, 245, 234, 0.28);
}

.visit-details strong {
  color: var(--paper-light);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visit-section .btn {
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--ink-strong) !important;
}

.visit-section .btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--paper-light) !important;
}

.visit-art {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
}

.visit-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1402 / 1122;
  object-fit: contain;
}

.club-calendar {
  display: grid;
  gap: 32px;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(251, 245, 234, 0.28);
  scroll-margin-top: 108px;
}

.calendar-intro h3 {
  max-width: 12em;
  color: var(--paper-light);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.calendar-intro > p {
  max-width: 34em;
  margin-top: 16px;
  color: color-mix(in srgb, var(--paper-light) 84%, transparent);
}

.calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
}

.calendar-links a {
  color: var(--paper-light);
  font-size: 14px;
  font-weight: 700;
}

.calendar-panel {
  overflow: hidden;
  border: 2px solid var(--paper-light);
  border-radius: 22px 14px 20px 12px;
  background: var(--paper-light);
  color: var(--ink-strong);
}

.calendar-events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-event {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.calendar-event:last-child {
  border-bottom: 0;
}

.calendar-date {
  display: grid;
  justify-items: start;
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.calendar-date strong {
  margin-top: 3px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.calendar-event-copy {
  min-width: 0;
}

.calendar-event-title {
  display: block;
  color: var(--ink-strong);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.calendar-event-status {
  display: block;
  margin-top: 3px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
}

.calendar-event.is-closed {
  background: var(--paper-deep);
}

.calendar-event.is-closed .calendar-date,
.calendar-event.is-closed .calendar-event-title {
  color: var(--ink-strong);
}

.calendar-event.is-closed .calendar-event-status {
  color: var(--orange);
}

.calendar-closure-preview {
  border-top: 2px solid var(--ink-strong);
}

.calendar-loading,
.calendar-empty,
.calendar-fallback,
.calendar-refresh-note {
  margin: 0;
  padding: 24px;
  color: var(--ink-strong);
  font-size: 15px;
}

.calendar-empty a,
.calendar-fallback a,
.calendar-refresh-note a,
.calendar-source-note a {
  color: var(--ink-strong);
}

.calendar-refresh-note {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.calendar-source-note {
  margin: 0;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-deep) 58%, var(--paper-light));
  color: var(--slate);
  font-size: 12.5px;
  line-height: 1.5;
}

.map-reveal {
  grid-column: 1 / -1;
  order: 3;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.map-reveal[hidden] {
  display: none;
}

.map-reveal.is-open {
  opacity: 1;
  transform: translateY(0);
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--paper-light);
  background: var(--paper-deep);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.18) contrast(1.03);
  pointer-events: none;
}

.map-hit {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 22px;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--paper-light) !important;
  text-decoration: none;
}

.map-hit span {
  padding: 10px 15px;
  border: 2px solid var(--paper-light);
  border-radius: 255px 18px 225px 15px / 16px 225px 18px 255px;
  background: var(--ink-strong);
  box-shadow: 4px 7px 10px -8px rgba(8, 47, 57, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.map-hit:hover span,
.map-hit:focus-visible span {
  background: var(--orange);
}

/* Quote */
.quote {
  padding: 92px 0;
  background: var(--paper);
}

.quote blockquote {
  max-width: 18em;
  color: var(--ink-strong);
  font-size: clamp(36px, 7vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.quote blockquote em {
  color: var(--orange);
  font-family: "Cabin Sketch", sans-serif;
}

.quote .note {
  margin-top: 22px;
  color: var(--slate);
  font-size: 19px;
}

/* Membership */
#membership.band {
  background: var(--paper-deep);
}

#membership .section-head::before {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  content: "Come first. Decide later.";
  font-family: "Cabin Sketch", sans-serif;
  font-size: 22px;
  font-weight: 700;
  transform: rotate(-1deg);
}

.member-entry {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
}

.toggle {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: transparent;
}

.toggle-btn {
  min-height: 44px;
  border-radius: 8px;
}

.tiers {
  gap: 16px;
}

.tier {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-light);
  box-shadow: none;
}

.tier:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.tier-name {
  font-size: 22px;
  font-weight: 500;
}

.tier-sub,
.tier-price .per {
  color: var(--slate);
}

.tier-price .amount {
  font-weight: 500;
}

.sticker {
  top: -13px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: var(--paper-light);
  font-family: "Cabin Sketch", sans-serif;
}

.banknote {
  border: 1px dashed var(--slate);
  background: color-mix(in srgb, var(--paper-light) 64%, transparent);
}

.notice {
  border: 1.5px solid var(--ink);
  background: var(--paper-light);
}

.notice.ok,
.notice.err {
  box-shadow: none;
}

/* Membership form */
#join {
  background: var(--paper-light);
}

.join-grid {
  gap: 48px;
}

.join-blurb .section-head h2 {
  font-size: clamp(38px, 7vw, 58px);
}

.join-blurb .note {
  margin-top: 18px;
  font-size: 19px;
}

.sib-form {
  container-type: inline-size;
}

#sib-form {
  display: grid;
  gap: 22px;
}

.form-section {
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.form-section__heading {
  margin-bottom: 12px;
}

.form-section__heading h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.form-section__heading p {
  margin: 5px 0 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.form-field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.form-section > [style*="padding"],
.form-disclosure__body > [style*="padding"],
.form-consent > [style*="padding"] {
  padding: 6px 0 !important;
}

.form-disclosure {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-disclosure + .form-disclosure {
  margin-top: -23px;
  border-top: 0;
}

.form-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
}

.form-disclosure summary::-webkit-details-marker {
  display: none;
}

.form-disclosure summary::after {
  width: 24px;
  color: var(--orange);
  content: "+";
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.form-disclosure[open] summary::after {
  content: "−";
}

.form-disclosure__title {
  font-weight: 700;
}

.form-disclosure__meta {
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
}

.form-disclosure__body {
  padding: 2px 0 18px;
}

.form-consent {
  padding-top: 4px;
}

@container (min-width: 560px) {
  .form-field-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    align-items: start;
  }
}

#sib-container .entry__label {
  display: block;
  margin-bottom: 8px !important;
  color: var(--ink-strong) !important;
  line-height: 1.35;
}

#sib-container .entry__specification {
  display: block;
  margin-top: 7px !important;
  color: var(--slate) !important;
  line-height: 1.45;
}

#sib-container .entry__field {
  border: 0 !important;
  border-radius: 7px !important;
  background: color-mix(in srgb, var(--paper-deep) 72%, var(--paper-light)) !important;
  box-shadow: none !important;
}

#sib-container .entry__field:focus-within {
  box-shadow: none !important;
}

#sib-container .input,
#sib-container select.input {
  min-height: 48px;
  border: 0 !important;
  border-radius: 7px !important;
  background: color-mix(in srgb, var(--paper-deep) 72%, var(--paper-light)) !important;
  box-shadow: none !important;
}

#sib-container .input:focus {
  outline: 2px solid var(--ink-strong);
  outline-offset: 3px;
}

#sib-container .sib-form-block__button {
  min-height: 50px;
  border: 1.5px solid var(--ink-strong) !important;
  border-radius: 9px !important;
  background: var(--ink-strong) !important;
}

#sib-container .sib-form-block__button:hover {
  border-color: var(--slate) !important;
  background: var(--slate) !important;
}

#sib-container .form-consent .sib-form__declaration {
  align-items: center;
  gap: 12px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}

#sib-container .form-consent .declaration-block-icon {
  flex: 0 0 38px;
  opacity: 0.72;
}

#sib-container .form-consent .svgIcon-sphere {
  width: 38px !important;
  height: 38px !important;
}

/* Footer */
.footer {
  padding: 60px 0 50px;
  background: var(--ink-strong);
  color: var(--paper-light);
}

.footer-inner {
  text-align: center;
}

.footer .pieces {
  color: var(--orange);
  font-family: "Cabin Sketch", sans-serif;
}

.footer .wordmark {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.footer-contact {
  margin-top: 24px !important;
  color: var(--paper-light) !important;
  font-size: 16px !important;
}

.committee {
  display: grid;
  gap: 1px;
  max-width: 880px;
  margin: 32px auto 0;
  overflow: hidden;
  background: rgba(251, 245, 234, 0.18);
}

.committee div {
  display: grid;
  gap: 4px;
  padding: 16px 14px;
  background: var(--ink-strong);
}

.committee span {
  color: color-mix(in srgb, var(--paper-light) 60%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.committee strong {
  color: var(--paper-light);
  font-size: 14px;
}

.footer .legal {
  margin-top: 28px;
}

.footer p {
  color: color-mix(in srgb, var(--paper-light) 66%, transparent);
}

.footer a {
  color: var(--paper-light);
}

.footer .note {
  color: var(--orange) !important;
}

@media (min-width: 700px) {
  .nav-links {
    display: flex;
    order: 0;
    width: auto;
    margin-left: auto;
    gap: 18px;
    overflow: visible;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav .btn-small {
    margin-left: 6px !important;
  }

  .hero .cta-row .btn {
    width: auto;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts li {
    padding-right: 14px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .facts li + li {
    padding-left: 14px;
  }

  .facts li:last-child {
    border-right: 0;
  }

  .trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .variant-pair {
    grid-template-columns: repeat(2, 1fr);
  }

  .magnus-card {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .map-frame {
    min-height: 380px;
    aspect-ratio: 16 / 7;
  }

  .committee {
    grid-template-columns: repeat(4, 1fr);
  }

  .magnus-copy {
    padding: 46px;
  }
}

@media (min-width: 900px) {
  section {
    padding: 112px 0;
  }

  .nav-inner {
    min-height: 76px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero {
    padding: 54px 0 90px;
  }

  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
  }

  .hero-copy {
    grid-column: 1 / span 5;
    margin-right: -42px;
  }

  .hero-art {
    grid-column: 6 / -1;
  }

  .hero h1 {
    font-size: clamp(70px, 7vw, 96px);
  }

  #club-nights::after {
    right: -9%;
    bottom: -24%;
    width: min(52vw, 640px);
  }

  .doorway-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 80px;
  }

  .variants-head {
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
  }

  .bughouse-poster {
    width: 90%;
    margin-left: auto;
  }

  .variant-pair {
    width: 86%;
    margin-right: auto;
    margin-left: auto;
    gap: 34px;
  }

  .learning-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 80px;
  }

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

  .magnus-card {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .competition {
    padding: 112px 0;
  }

  .competition-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 72px;
  }

  .visit-grid {
    grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
    gap: 78px;
  }

  .visit-art {
    order: 2;
  }

  .club-calendar {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: 78px;
    margin-top: 82px;
    padding-top: 72px;
    scroll-margin-top: 92px;
  }

  .join-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 86px;
  }
}

/* Progressive motion: content remains fully visible when JavaScript is absent. */
.motion-reveal {
  --reveal-x: 0px;
  --reveal-y: 42px;
  --reveal-delay: 0ms;
}

.motion-reveal.reveal-left {
  --reveal-x: -46px;
  --reveal-y: 12px;
}

.motion-reveal.reveal-right {
  --reveal-x: 46px;
  --reveal-y: 12px;
}

.motion-reveal.reveal-sketch {
  --reveal-y: 34px;
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    clip-path 850ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 650ms ease var(--reveal-delay),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay);
  will-change: opacity, transform;
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .image-print.motion-reveal,
.motion-ready .bughouse-poster.motion-reveal,
.motion-ready .strategy-panel.motion-reveal,
.motion-ready .visit-art.motion-reveal {
  clip-path: inset(8% 7% 8% 7% round 28px);
}

.motion-ready .image-print.motion-reveal.is-visible,
.motion-ready .bughouse-poster.motion-reveal.is-visible,
.motion-ready .strategy-panel.motion-reveal.is-visible,
.motion-ready .visit-art.motion-reveal.is-visible {
  clip-path: inset(0 0 0 0 round 0);
}

.parallax-media {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-image.parallax-media {
  transform: translate3d(0, var(--parallax-y), 0);
}

.section-head h2::after,
.doorway-copy h2::after,
.learning-copy h2::after,
.visit-copy h2::after,
.variants-copy h2::after,
.competition-copy h2::after {
  display: block;
  width: 76px;
  height: 10px;
  margin-top: 18px;
  border-top: 3px solid var(--orange);
  border-radius: 50%;
  content: "";
  transform: rotate(-2deg) skewX(-14deg);
  transform-origin: left;
}

.visit-copy h2::after {
  border-color: var(--paper-light);
  opacity: 0.8;
}

.motion-ready .motion-reveal:not(.is-visible) h2::after {
  transform: rotate(-2deg) skewX(-14deg) scaleX(0);
}

.motion-ready .motion-reveal.is-visible h2::after {
  transform: rotate(-2deg) skewX(-14deg) scaleX(1);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 420ms;
}

.motion-ready .bughouse-poster figcaption {
  opacity: 0;
  transform: translateY(24px) rotate(-4deg) scale(0.94);
  transition: opacity 500ms ease 350ms, transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 350ms;
}

.motion-ready .bughouse-poster.is-visible figcaption {
  opacity: 1;
  transform: translateY(0) rotate(-1deg) scale(1);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
  transform: scaleX(0) rotate(-1deg);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1) rotate(-1deg);
  transform-origin: left;
}

/* Scrapbook cut-outs: artwork is mounted like hand-trimmed club-night ephemera. */
:root {
  --cut-paper-a: polygon(1.2% 2.3%, 98.8% 0.4%, 99.5% 96.8%, 96.9% 99.3%, 2.1% 98.1%, 0.3% 3.8%);
  --cut-paper-b: polygon(0.4% 1.4%, 97.9% 0.2%, 99.7% 3.1%, 98.8% 98.6%, 2.8% 99.8%, 0.1% 96.3%);
  --cut-paper-wide: polygon(0.8% 2.6%, 23% 0.7%, 57% 1.8%, 99.1% 0.2%, 98.4% 96.8%, 72% 99.4%, 31% 98.2%, 0.2% 99%);
  --tape: rgba(240, 216, 172, 0.84);
}

body {
  overflow-x: hidden;
}

.hero-art {
  rotate: -1.25deg;
}

.hero-art .hero-image {
  border-radius: 0;
  clip-path: var(--cut-paper-wide);
  filter: drop-shadow(10px 13px 0 rgba(8, 47, 57, 0.1));
}

.image-print,
.bughouse-poster,
.variant-card,
.strategy-panel,
.competition-image,
.visit-art,
.magnus-card {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.image-print {
  rotate: -5deg;
}

.image-print img,
.bughouse-poster img,
.variant-card img,
.strategy-panel img,
.competition-image img,
.visit-art img {
  border-radius: 0;
  clip-path: var(--cut-paper-a);
  filter: drop-shadow(9px 12px 0 rgba(8, 47, 57, 0.12));
}

.image-print::before {
  inset: 8px -13px -12px 11px;
  border: 0;
  border-radius: 0;
  background: var(--orange);
  clip-path: var(--cut-paper-b);
  opacity: 0.86;
  rotate: 3deg;
}

.image-print::after,
.bughouse-poster::before,
.variant-card::before,
.strategy-panel::before,
.competition-image::before,
.visit-art::before,
.magnus-card::before {
  position: absolute;
  top: -12px;
  left: calc(50% - 45px);
  z-index: 4;
  width: 90px;
  height: 25px;
  background: var(--tape);
  box-shadow: 0 2px 5px rgba(8, 47, 57, 0.1);
  clip-path: polygon(2% 12%, 97% 1%, 100% 88%, 4% 100%);
  content: "";
  opacity: 0.9;
  rotate: -4deg;
}

.bughouse-poster {
  rotate: 2deg;
}

.bughouse-poster img {
  clip-path: var(--cut-paper-wide);
}

.bughouse-poster figcaption {
  border-radius: 0;
  clip-path: var(--cut-paper-b);
  rotate: 5deg;
  transform: none;
}

.variant-card:first-child {
  rotate: -5deg;
}

.variant-card:nth-child(2) {
  rotate: 6deg;
}

.variant-card:nth-child(2)::before {
  left: 22%;
  rotate: 7deg;
}

.variant-card:nth-child(2) img {
  clip-path: var(--cut-paper-b);
}

.variant-card figcaption {
  width: fit-content;
  padding: 5px 8px 4px;
  background: var(--paper-deep);
  clip-path: var(--cut-paper-wide);
}

.strategy-panel {
  rotate: 5deg;
}

.strategy-panel::before {
  left: 16%;
  rotate: -7deg;
}

.magnus-card {
  gap: 12px;
  overflow: visible;
  background: transparent;
}

.magnus-card img {
  border-radius: 0;
  background: var(--paper-light);
  clip-path: var(--cut-paper-a);
  filter: drop-shadow(10px 12px 0 rgba(8, 47, 57, 0.13));
  rotate: -4deg;
}

.magnus-copy {
  margin-top: -14px;
  background: var(--ink-strong);
  clip-path: var(--cut-paper-b);
  rotate: 2.5deg;
}

.competition-image {
  rotate: -5.5deg;
}

.competition-image::before {
  left: 67%;
  rotate: 6deg;
}

.competition-image img {
  clip-path: var(--cut-paper-b);
}

.visit-art {
  overflow: visible;
  border-radius: 0;
  rotate: 3deg;
}

.visit-art::before {
  left: 15%;
  rotate: -6deg;
}

.calendar-panel,
.map-frame {
  border-radius: 0;
  clip-path: var(--cut-paper-wide);
  filter: drop-shadow(9px 11px 0 rgba(0, 0, 0, 0.14));
}

.map-frame {
  border: 0;
  rotate: -1.5deg;
}

.calendar-panel {
  rotate: 0.75deg;
}

.toggle,
.toggle-btn,
.tier,
.sticker,
.banknote,
.notice,
#sib-container .entry__field,
#sib-container .input,
#sib-container select.input,
#sib-container .sib-form-block__button {
  border-radius: 2px !important;
}

.tier {
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  isolation: isolate;
}

.tier::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper-light);
  clip-path: var(--cut-paper-a);
  content: "";
  filter: drop-shadow(8px 9px 0 rgba(8, 47, 57, 0.1));
}

.tier:nth-child(1) {
  rotate: -1.5deg;
}

.tier:nth-child(2) {
  rotate: 1deg;
}

.tier:nth-child(3) {
  rotate: -0.75deg;
}

.tier:hover {
  box-shadow: none;
}

.tier:hover::before {
  filter: drop-shadow(11px 13px 0 rgba(8, 47, 57, 0.14));
}

.sticker {
  z-index: 2;
  clip-path: var(--cut-paper-b);
  rotate: 7deg;
}

.banknote {
  clip-path: var(--cut-paper-wide);
  rotate: -0.8deg;
}

@media (min-width: 700px) {
  .magnus-copy {
    margin-top: 0;
    margin-left: -18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-copy > * {
    opacity: 0;
    animation: hero-copy-in 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translate3d(0, 28px, 0);
  }

  .motion-ready .hero-copy > :nth-child(1) { animation-delay: 80ms; }
  .motion-ready .hero-copy > :nth-child(2) { animation-delay: 170ms; }
  .motion-ready .hero-copy > :nth-child(3) { animation-delay: 260ms; }
  .motion-ready .hero-copy > :nth-child(4) { animation-delay: 350ms; }
  .motion-ready .hero-copy > :nth-child(5) { animation-delay: 440ms; }
  .motion-ready .hero-copy > :nth-child(6) { animation-delay: 530ms; }

  .motion-ready .hero-art {
    opacity: 0;
    animation: hero-poster-in 1150ms cubic-bezier(0.16, 1, 0.3, 1) 160ms forwards;
    clip-path: inset(10% 8% 8% 10% round 44px);
    transform: translate3d(34px, 18px, 0);
  }

  .ticker-track {
    animation: ticker-scroll 28s linear infinite;
  }

  .social-ticker:hover .ticker-track {
    animation-play-state: paused;
  }

  .magnus-card.is-visible .magnus-copy h3 {
    animation: sketch-pop 900ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
  }

  @keyframes hero-copy-in {
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  @keyframes hero-poster-in {
    to {
      opacity: 1;
      clip-path: inset(0 0 0 0 round 0);
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes sketch-pop {
    0% { opacity: 0; transform: translateY(18px) rotate(-2deg) scale(0.96); }
    65% { transform: translateY(-2px) rotate(0.5deg) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  }
}

@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;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }

  .ticker-track p[aria-hidden="true"] {
    display: none;
  }

  .parallax-media {
    transform: none !important;
  }

  .nav::after {
    display: none;
  }
}

/* Sketch carousel — three doorway sketches crossfading inside one torn-paper frame */
.sketch-carousel {
  position: relative;
  aspect-ratio: 1402 / 1122;
}

.sketch-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}

.sketch-carousel img.focus-lower {
  object-position: 50% 67%;
}

.sketch-carousel img.is-active {
  opacity: 1;
}

.sketch-carousel .carousel-dots {
  position: absolute;
  right: 4%;
  bottom: -28px;
  z-index: 5;
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.sketch-carousel .carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 200ms ease, background-color 200ms ease;
}

.sketch-carousel .carousel-dots button[aria-current="true"] {
  background: var(--ink);
  opacity: 1;
}

.sketch-carousel .carousel-dots button:hover {
  opacity: 0.8;
}

.sketch-carousel .carousel-dots button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .sketch-carousel img {
    transition: none;
  }
}
