:root {
  --ink: #15151f;
  --muted: #646273;
  --paper: #fffaf2;
  --white: #ffffff;
  --night: #080b1c;
  --red: #ff3d4f;
  --gold: #ffc83d;
  --cyan: #19c9e6;
  --pink: #ff7ab8;
  --green: #20c77a;
  --line: rgba(21, 21, 31, 0.12);
  --shadow: 0 24px 70px rgba(13, 18, 38, 0.16);
  --soft-shadow: 0 14px 34px rgba(13, 18, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: calc(env(safe-area-inset-top, 0px) + 18px) 24px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 28, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: inset 220ms ease, padding 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  inset: calc(env(safe-area-inset-top, 0px) + 10px) 24px auto;
  padding: 9px 12px;
  background: rgba(8, 11, 28, 0.84);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.32), 0 8px 18px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta {
  color: var(--night);
  background: var(--gold);
}

.member-greeting {
  display: grid;
  flex: 0 1 auto;
  gap: 1px;
  min-width: 128px;
  margin-left: -8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.66);
  font-size: 11px;
  line-height: 1.25;
}

/* The greeting is a real authenticated-session indicator, never default header copy. */
.member-greeting[hidden] { display: none !important; }

.member-greeting strong {
  overflow: hidden;
  max-width: 155px;
  color: var(--gold);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav .member-nav-account {
  color: var(--night);
  background: var(--gold);
}

.public-login-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(4, 6, 19, 0.66); backdrop-filter: blur(8px); }
.public-login-dialog { position: relative; width: min(100%, 440px); padding: 34px; border-radius: 18px; color: var(--ink); background: var(--white); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.public-login-dialog h2 { margin: 5px 0 10px; font-size: 30px; }.public-login-dialog > p { color: var(--muted); }.public-login-dialog form { display: grid; gap: 14px; margin-top: 24px; }.public-login-dialog label { display: grid; gap: 7px; font-weight: 800; }.public-login-dialog input { min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }.public-login-dialog .button { width: 100%; }.public-login-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 9px; background: var(--paper); font-size: 25px; }.public-login-message { min-height: 1.4em; margin: 14px 0; font-size: 14px; }.public-login-dialog > a { color: var(--red); font-weight: 900; }

.public-login-forgot { margin-top:12px; padding:0; border:0; color:var(--red); background:transparent; font:inherit; font-weight:900; cursor:pointer; }
.public-login-switch { padding-top:14px; border-top:1px solid var(--line); text-align:center; }
.public-login-switch a { color:var(--red); font-weight:900; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 11, 28, 0);
  transition: background 220ms ease;
}

.mobile-menu.is-open .mobile-menu-overlay {
  background: rgba(8, 11, 28, 0.62);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, 88vw);
  height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 22px 26px;
  overflow-y: auto;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 200, 61, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(8, 11, 28, 0.98), rgba(24, 28, 58, 0.98));
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.34);
  transform: translateX(104%);
  transition: transform 240ms ease;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-close {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.mobile-menu-links,
.mobile-menu-section {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-links a,
.mobile-menu-section a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.mobile-menu-links a[aria-current="page"],
.mobile-menu-links a:hover,
.mobile-menu-section a:hover {
  color: var(--night);
  background: var(--gold);
}

.mobile-menu-section strong {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-socials a {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-socials img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 11, 28, 0.88) 0%, rgba(8, 11, 28, 0.46) 45%, rgba(8, 11, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 11, 28, 0.78), rgba(8, 11, 28, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 10vh 7vw;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.uki-copy h2,
.about-story h2,
.partner-career h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 8vw, 104px);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button-primary {
  color: var(--night);
  background: var(--gold);
}

.button-light {
  color: var(--night);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-status {
  position: absolute;
  z-index: 3;
  right: 6vw;
  bottom: 8vh;
  width: min(320px, calc(100% - 40px));
  padding: 28px;
  border: 1px solid rgba(255, 200, 61, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(19, 24, 45, 0.88), rgba(255, 61, 79, 0.48));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-location-card {
  display: grid;
  gap: 14px;
}

.hero-location-detail {
  display: grid;
  gap: 4px;
}

.hero-location-detail span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-location-detail strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.hero-location-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--night);
  background: rgba(255, 200, 61, 0.96);
}

.hero-location-entry span { font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-location-entry strong { font-size: 14px; }

.hero-status-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--night);
  background: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.page-hero .hero-status {
  bottom: 72px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #062214;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.coming {
  color: #4b3100;
  background: var(--gold);
}

.status-pill.closed {
  color: var(--white);
  background: #7a7484;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
}

.quick-info article {
  min-height: 260px;
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quick-info span {
  display: block;
  color: var(--red);
  font-size: clamp(48px, 4.6vw, 64px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.quick-info strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
}

.quick-info article p {
  max-width: 270px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.55;
}

.quick-info p,
.section-heading p,
.location-card p,
.attraction-grid p,
.safety-grid p,
.why-visit-grid p,
.contact-channel-grid span,
.partner-route-grid p,
.about-section p,
.partner-career p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.gallery-band,
.contact-section {
  padding: 92px 6vw;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px 6vw 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 11, 28, 0.88), rgba(8, 11, 28, 0.34)),
    url("images/hero-fun-park-night.png") center / cover;
}

.page-hero > div {
  max-width: 760px;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.section-actions {
  margin-top: 28px;
}

.inline-action {
  margin-top: 26px;
}

.about-link {
  grid-column: 1 / -1;
}

.values-section,
.data-section {
  background: var(--white);
}

.page-contact {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.centered-heading {
  max-width: none;
  text-align: center;
}

.section-heading p {
  max-width: 680px;
}

.section-heading h2,
.uki-copy h2,
.about-story h2,
.partner-career h2,
.contact-section h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.location-grid,
.attraction-grid,
.safety-grid,
.partner-career {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.current-location-grid {
  grid-template-columns: minmax(0, 720px);
}

.location-card,
.attraction-grid article,
.safety-grid article,
.mission-panel,
.founder-panel,
.partner-career article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.location-card {
  padding: 24px;
}

.location-card.active {
  border-color: rgba(255, 61, 79, 0.34);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.location-card h3,
.attraction-grid h3 {
  margin: 24px 0 10px;
  font-size: 26px;
}

.location-card dl {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.location-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.location-card dt {
  color: var(--muted);
}

.location-card dd {
  margin: 0;
  font-weight: 900;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.why-visit-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.why-visit-section::before,
.why-visit-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
}

.why-visit-section::before {
  top: 72px;
  right: 5vw;
  width: 180px;
  height: 180px;
  background-image:
    linear-gradient(45deg, transparent 46%, var(--red) 47%, var(--red) 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--red) 47%, var(--red) 53%, transparent 54%);
  background-size: 22px 22px;
}

.why-visit-section::after {
  bottom: 70px;
  left: 5vw;
  width: 210px;
  height: 120px;
  background-image: radial-gradient(var(--gold) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.why-visit-section .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.why-visit-section .section-heading p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 18px;
}

.why-visit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.why-visit-grid article {
  overflow: hidden;
  min-height: 410px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(16, 18, 32, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.why-visit-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 79, 0.18);
  box-shadow: 0 24px 52px rgba(16, 18, 32, 0.12);
}

.why-visit-grid article img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #11131f;
}

.why-visit-grid article > div {
  padding: 34px 36px 38px;
}

.why-visit-grid h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
}

.why-visit-grid p {
  max-width: 360px;
  margin: 0;
  line-height: 1.58;
}

.attractions-section {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 200, 61, 0.25), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(25, 201, 230, 0.24), transparent 24%),
    var(--night);
}

.attractions-section .section-heading p,
.attraction-grid p {
  color: rgba(255, 255, 255, 0.72);
}

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

.attraction-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  min-height: 250px;
}

.photo-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-entry-card {
  display: flex;
  overflow: hidden;
  min-height: 390px;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--soft-shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 61, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.category-entry-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #11131f;
}

.category-entry-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.category-entry-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.04;
}

.category-entry-card p {
  margin: 0;
  max-width: 620px;
}

.category-entry-card strong {
  margin-top: auto;
  color: var(--gold);
}

.back-to-attractions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--night);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(8, 11, 28, 0.08);
}

.back-to-attractions:hover {
  border-color: rgba(255, 200, 61, 0.75);
  background: #fff8df;
}

.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.experience-strip article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.experience-strip strong {
  font-size: 24px;
}

.experience-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.category-hero {
  background:
    linear-gradient(90deg, rgba(8, 11, 28, 0.9), rgba(8, 11, 28, 0.28)),
    url("images/hero-fun-park-night.png") center / cover;
}

.ride-category-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 200, 61, 0.16), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(25, 201, 230, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.ride-guide-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -8px 0 28px;
}

.ride-guide-strip article {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 200, 61, 0.2), transparent 28%),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.ride-guide-strip article:nth-child(2) {
  background:
    radial-gradient(circle at 86% 12%, rgba(25, 201, 230, 0.18), transparent 28%),
    var(--white);
}

.ride-guide-strip article:nth-child(3) {
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 61, 154, 0.14), transparent 28%),
    var(--white);
}

.ride-guide-strip strong,
.ride-guide-strip span {
  display: block;
}

.ride-guide-strip strong {
  color: var(--ink);
  font-size: 20px;
}

.ride-guide-strip span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.machine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: ride-card;
}

.machine-card {
  position: relative;
  counter-increment: ride-card;
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.5fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.machine-card::before {
  content: counter(ride-card, decimal-leading-zero);
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--night);
  background: rgba(255, 200, 61, 0.94);
  font-size: 12px;
  font-weight: 900;
}

.machine-card:hover {
  border-color: rgba(255, 61, 79, 0.24);
  box-shadow: 0 24px 58px rgba(18, 23, 45, 0.14);
  transform: translateY(-2px);
}

.machine-card:nth-child(even) {
  grid-template-columns: minmax(0, 0.5fr) minmax(280px, 0.5fr);
}

.machine-card:nth-child(even) .machine-media {
  order: 2;
}

.machine-card:nth-child(even) .machine-copy {
  order: 1;
}

.machine-card.featured-machine {
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.5fr);
}

.machine-media {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: end start;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 61, 79, 0.88), rgba(255, 200, 61, 0.66)),
    url("images/hero-fun-park-night.png") center / cover;
}

.machine-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 28, 0.76), transparent 62%);
}

.machine-media span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--night);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.ride-carousel {
  place-items: stretch;
  padding: 0;
}

.carousel-track {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(10, 15, 35, 0.9), rgba(37, 24, 64, 0.86));
  animation: carouselBackdrop 15s ease-in-out infinite;
  animation-delay: var(--carousel-delay, 0s);
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03) translate3d(-1%, 0, 0);
  transform-origin: center;
  animation: carouselImageOne 15s ease-in-out infinite;
  will-change: opacity, transform;
}

.carousel-track img:nth-of-type(2) {
  animation-name: carouselImageTwo;
}

.carousel-track img:nth-of-type(3) {
  animation-name: carouselImageThree;
}

.carousel-track img:only-of-type {
  opacity: 1;
  animation: none;
}

.carousel-track span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: carouselTextOne 15s ease-in-out infinite;
}

.carousel-track span:nth-of-type(2) {
  animation-name: carouselTextTwo;
}

.carousel-track span:nth-of-type(3) {
  animation-name: carouselTextThree;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 20px;
  display: flex;
  gap: 6px;
}

.carousel-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

@keyframes carouselBackdrop {
  0%, 28% {
    background: linear-gradient(145deg, rgba(255, 61, 79, 0.88), rgba(255, 200, 61, 0.66));
  }
  34%, 62% {
    background: linear-gradient(145deg, rgba(25, 201, 230, 0.88), rgba(255, 122, 184, 0.64));
  }
  68%, 100% {
    background: linear-gradient(145deg, rgba(32, 199, 122, 0.82), rgba(255, 200, 61, 0.66));
  }
}

@keyframes carouselImageOne {
  0%, 26% {
    opacity: 1;
    transform: scale(1.03) translate3d(-1%, 0, 0);
  }
  40% {
    opacity: 0;
    transform: scale(1.12) translate3d(1.2%, -1%, 0);
  }
  86% {
    opacity: 0;
    transform: scale(1.12) translate3d(1.2%, -1%, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.03) translate3d(-1%, 0, 0);
  }
}

@keyframes carouselImageTwo {
  0%, 26% {
    opacity: 0;
    transform: scale(1.03) translate3d(1%, 0, 0);
  }
  40%, 60% {
    opacity: 1;
    transform: scale(1.08) translate3d(-0.4%, -0.6%, 0);
  }
  73%, 100% {
    opacity: 0;
    transform: scale(1.12) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes carouselImageThree {
  0%, 60% {
    opacity: 0;
    transform: scale(1.03) translate3d(-0.8%, 0.3%, 0);
  }
  73%, 93% {
    opacity: 1;
    transform: scale(1.09) translate3d(0.7%, -0.7%, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.12) translate3d(1.1%, -1%, 0);
  }
}

@keyframes carouselTextOne {
  0%, 26% {
    opacity: 1;
    transform: translateY(0);
  }
  40%, 86% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes carouselTextTwo {
  0%, 26% {
    opacity: 0;
    transform: translateY(10px);
  }
  40%, 60% {
    opacity: 1;
    transform: translateY(0);
  }
  73%, 100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes carouselTextThree {
  0%, 60% {
    opacity: 0;
    transform: translateY(10px);
  }
  73%, 93% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.machine-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.machine-copy h3 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.machine-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.machine-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.machine-highlights span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--night);
  background: #fff1bf;
  font-size: 12px;
  font-weight: 900;
}

.thrill-rating {
  display: inline-flex;
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(255, 200, 61, 0.24);
}

.rating-label {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding-top: 0;
}

.machine-copy dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.machine-copy dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-copy dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.ride-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  color: var(--night);
  background: linear-gradient(135deg, var(--gold), var(--pink));
  font-size: 24px;
  font-weight: 900;
}

.gallery-band {
  background: #fff;
}

.masonry-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 14px;
}

.tile {
  position: relative;
  margin: 0;
  display: flex;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 61, 79, 0.92), rgba(255, 200, 61, 0.72)),
    url("images/hero-fun-park-night.png") center / cover;
  box-shadow: 0 16px 34px rgba(13, 18, 38, 0.12);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 28, 0.72), transparent 62%);
}

.tile span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 900;
}

.tile.tall {
  grid-row: span 2;
}

.tile.wide {
  grid-column: span 2;
}

.tile.accent {
  background:
    linear-gradient(145deg, rgba(25, 201, 230, 0.92), rgba(255, 122, 184, 0.62)),
    url("images/hero-fun-park-night.png") center / cover;
}

.uki-section {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: center;
  gap: 52px;
  background: linear-gradient(135deg, #ffffff, #fff5c9 48%, #e8fbff);
}

.uki-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.uki-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.uki-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
}

.uki-art {
  overflow: hidden;
  border: 1px solid rgba(255, 200, 61, 0.45);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.uki-art img {
  display: block;
  width: 100%;
}

.uki-page-hero {
  background:
    linear-gradient(90deg, rgba(47, 18, 88, 0.9), rgba(255, 61, 154, 0.38)),
    url("images/hero-fun-park-night.png") center / cover;
}

.uki-world-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 200, 61, 0.2), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(112, 39, 255, 0.14), transparent 30%),
    var(--white);
}

.uki-world-copy h2,
.uki-mission-band h2,
.uki-name-section h2,
.uki-future-section h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
}

.uki-world-copy p,
.uki-future-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.uki-world-copy blockquote {
  margin: 26px 0 0;
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  background: #fff7d9;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.uki-character-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 200, 61, 0.28), transparent 30%),
    linear-gradient(135deg, #fbf5ff, #ffffff);
  box-shadow: var(--shadow);
}

.uki-character-card img {
  display: block;
  width: 100%;
}

.uki-story-section,
.uki-personality-section,
.uki-colour-section {
  background: var(--paper);
}

.uki-story-grid,
.uki-personality-grid,
.uki-design-grid,
.uki-colour-grid,
.uki-name-grid {
  display: grid;
  gap: 18px;
}

.uki-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uki-personality-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uki-design-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uki-colour-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uki-story-grid article,
.uki-personality-grid article,
.uki-design-grid article,
.uki-colour-grid article,
.uki-name-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.uki-story-grid span,
.uki-personality-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.uki-story-grid h3,
.uki-personality-grid h3,
.uki-design-grid strong,
.uki-colour-grid strong,
.uki-name-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.uki-story-grid p,
.uki-personality-grid p,
.uki-design-grid p,
.uki-colour-grid p,
.uki-name-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.uki-mission-band,
.uki-future-section {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 200, 61, 0.3), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255, 61, 154, 0.3), transparent 28%),
    linear-gradient(135deg, #2f1258, #7027ff 54%, #ff3d9a);
}

.uki-mission-band .eyebrow,
.uki-future-section .eyebrow {
  color: var(--gold);
}

.uki-audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.uki-audience-list span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.uki-swatch {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.55), 0 12px 24px rgba(0, 0, 0, 0.14);
}

.dream-purple {
  background: #4b20c8;
}

.lavender-purple {
  background: #b790ff;
}

.star-pink {
  background: #ff65b5;
}

.joy-red {
  background: #f13b4f;
}

.star-yellow {
  background: #ffc83d;
}

.uki-name-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  background: var(--white);
}

.uki-name-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uki-name-grid strong {
  color: #7027ff;
  font-size: 44px;
}

.uki-future-section p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
}

.uki-future-section .uki-list span {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.uki-stage-hero {
  position: relative;
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 32px;
  padding: 130px 6vw 90px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 200, 61, 0.34), transparent 26%),
    radial-gradient(circle at 78% 14%, rgba(255, 101, 181, 0.3), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(25, 201, 230, 0.24), transparent 28%),
    linear-gradient(135deg, #31125f, #7027ff 52%, #ff3d9a);
}

.uki-stage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 28, 0.28), transparent 52%),
    url("images/hero-fun-park-night.png") center / cover;
  opacity: 0.24;
}

.uki-stage-copy,
.uki-stage-image {
  position: relative;
  z-index: 1;
}

.uki-stage-copy {
  max-width: 760px;
}

.uki-stage-copy h1 {
  margin: 0;
  font-size: clamp(72px, 13vw, 168px);
  line-height: 0.88;
}

.uki-stage-line {
  margin: 24px 0 0;
  color: var(--gold);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
}

.uki-stage-copy p:not(.eyebrow):not(.uki-stage-line) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.6;
}

.uki-stage-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.uki-stage-image img {
  display: block;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.uki-hero-spark { position: absolute; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #5420ba; background: var(--gold); box-shadow: 0 14px 34px rgba(35, 10, 86, .28); font-size: 30px; transform: rotate(12deg); }
.uki-hero-spark-one { right: 42%; top: 18%; }.uki-hero-spark-two { right: 4%; bottom: 18%; color: #ff4c9e; background: #fff; }

.uki-stage-hero .hero-status {
  position: absolute;
  z-index: 2;
  right: 6vw;
  bottom: 34px;
}

.uki-storybook-section,
.uki-likes-section,
.uki-personality-playground,
.uki-colour-section,
.uki-coming-section {
  background: var(--paper);
}

.uki-storybook,
.uki-likes-grid,
.uki-personality-strip,
.uki-coming-grid {
  display: grid;
  gap: 18px;
}

.uki-storybook {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uki-storybook-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 200, 61, .22), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(255, 61, 154, .16), transparent 24%),
    #faf5ff;
}

.uki-storybook .uki-story-scene {
  position: relative;
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #28104f;
  box-shadow: 0 24px 60px rgba(48, 15, 98, .2);
  isolation: isolate;
}

.uki-story-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.uki-story-scene:hover img {
  transform: scale(1.035);
}

.uki-story-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(13, 4, 36, .96));
}

.uki-story-scene > div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 28px 30px;
  color: var(--white);
}

.uki-storybook .uki-story-scene span {
  color: var(--gold);
  letter-spacing: .13em;
}

.uki-storybook .uki-story-scene h3 {
  margin: 10px 0 8px;
  color: var(--white);
  font-size: clamp(28px, 2.7vw, 40px);
}

.uki-storybook .uki-story-scene p {
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
}

.uki-likes-grid,
.uki-coming-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uki-personality-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uki-storybook article,
.uki-likes-grid article,
.uki-personality-strip article,
.uki-coming-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.uki-storybook span,
.uki-personality-strip span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.uki-storybook h3,
.uki-likes-grid strong,
.uki-personality-strip h3,
.uki-coming-grid strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}

.uki-storybook p,
.uki-likes-grid p,
.uki-coming-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.uki-personality-strip article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 200, 61, 0.22), transparent 22%),
    var(--white);
}

.uki-personality-strip h3 {
  font-size: clamp(24px, 2.3vw, 34px);
}


.uki-magic-section {
  background: var(--white);
}

.uki-magic-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.uki-magic-layout figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fbf5ff;
  box-shadow: var(--soft-shadow);
}

.uki-magic-layout img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.uki-magic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.uki-magic-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.uki-magic-list strong {
  display: block;
  color: #7027ff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.uki-magic-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.uki-world-band {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 200, 61, 0.3), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255, 61, 154, 0.3), transparent 28%),
    linear-gradient(135deg, #2f1258, #7027ff 54%, #ff3d9a);
}

.uki-world-band .eyebrow {
  color: var(--gold);
}

.uki-world-band h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
}

.uki-world-band p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.7;
}

.safety-routine {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.safety-routine article {
  position: relative;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.safety-routine article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 200, 61, 0.18);
}

.safety-routine span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: var(--night);
  background: linear-gradient(135deg, var(--gold), #fff4a8 50%, var(--cyan));
  font-weight: 900;
}

.safety-routine strong {
  display: block;
  margin-top: 34px;
  font-size: 22px;
  line-height: 1.15;
}

.safety-routine p {
  color: var(--muted);
  line-height: 1.65;
}

.safety-commitment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 54px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 200, 61, 0.22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(25, 201, 230, 0.18), transparent 28%),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.safety-commitment h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.safety-commitment p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.safety-support-note {
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
}

.safety-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.safety-flow article {
  position: relative;
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.safety-flow article:last-child {
  border-right: 0;
}

.safety-flow span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--gold);
  font-weight: 900;
}

.safety-flow strong {
  display: block;
  margin-top: 28px;
  font-size: 22px;
}

.safety-flow p {
  color: var(--muted);
  line-height: 1.6;
}

.safety-photo-section {
  background: #ffffff;
}

.safety-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 14px;
}

.safety-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  box-shadow: var(--soft-shadow);
}

.safety-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ride-details-section,
.faq-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.ride-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ride-card,
.faq-list article,
.faq-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ride-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
}

.ride-card h3,
.faq-list h3 {
  margin: 14px 0 10px;
  font-size: 26px;
  line-height: 1.1;
}

.ride-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.ride-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 18px;
}

.ride-card dl div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ride-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ride-card dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.ride-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--night);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.ride-tag.thrill {
  color: var(--white);
  background: var(--red);
}

.ride-tag.family {
  background: var(--cyan);
}

.ride-tag.kiddie {
  background: #9df0a8;
}

.ride-tag.games {
  background: var(--pink);
}

.faq-preview {
  background: linear-gradient(135deg, #ffffff, #fff5c9 56%, #e8fbff);
}

.faq-help-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -4px 0 28px;
}

.faq-help-cards article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.faq-help-cards strong {
  display: block;
  font-size: 20px;
}

.faq-help-cards p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.faq-list article {
  padding: 24px;
}

.faq-topic-row {
  position: sticky;
  top: 98px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--soft-shadow);
}

.faq-topic-row a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff4d1;
  font-weight: 900;
}

.faq-topic-row a:hover {
  background: var(--gold);
}

.faq-group {
  padding: 12px 18px;
  box-shadow: none;
}

.faq-group-title {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-group details {
  border-top: 1px solid var(--line);
}

.faq-group details:first-of-type {
  border-top: 0;
}

.faq-group summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 18px 38px 18px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--night);
  background: var(--gold);
  font-weight: 900;
}

.faq-group details[open] summary::after {
  content: "-";
}

.faq-group details p {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.safety-grid article,
.partner-career article,
.mission-panel,
.founder-panel {
  padding: 24px;
}

.safety-grid strong {
  font-size: 20px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  background: var(--white);
}

.about-logo-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 200, 61, 0.22), transparent 26%),
    radial-gradient(circle at 18% 80%, rgba(255, 61, 79, 0.16), transparent 30%),
    radial-gradient(circle at 86% 80%, rgba(25, 201, 230, 0.18), transparent 30%),
    var(--night);
  box-shadow: var(--soft-shadow);
}

.about-logo-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.about-logo-panel img {
  position: relative;
  z-index: 1;
  width: min(84%, 420px);
  mix-blend-mode: screen;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34));
}

.home-about-section .about-logo-panel {
  min-height: 360px;
}

.home-about-section .brand-direction-list article {
  min-height: 260px;
  padding: 34px 22px 28px;
}

.home-about-section .direction-icon {
  width: 92px;
  height: 92px;
}

.home-about-section .direction-icon svg {
  width: 48px;
  height: 48px;
}

.mission-panel {
  grid-column: 1 / -1;
  align-self: start;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
}

.mission-panel p {
  color: var(--muted);
}

.mission-panel h3 {
  margin: 0 0 34px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  text-align: center;
}

.brand-direction-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.brand-direction-list article {
  display: grid;
  min-height: 330px;
  align-content: start;
  justify-items: center;
  gap: 20px;
  padding: 42px 26px 34px;
  border-right: 1px solid var(--line);
  text-align: center;
  background: #ffffff;
}

.brand-direction-list article:last-child {
  border-right: 0;
}

.direction-icon {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff2f4;
  box-shadow: 0 18px 36px rgba(255, 61, 79, 0.12);
}

.direction-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-direction-list strong {
  position: relative;
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.brand-direction-list strong::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.2;
}

.brand-direction-list p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.slogan-meaning {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-direction-list article:nth-child(1) .direction-icon,
.brand-direction-list article:nth-child(1) strong {
  color: var(--cyan);
}

.brand-direction-list article:nth-child(1) .direction-icon {
  background: #e8fbff;
  box-shadow: 0 18px 36px rgba(25, 201, 230, 0.14);
}

.brand-direction-list article:nth-child(2) .direction-icon,
.brand-direction-list article:nth-child(2) strong {
  color: #ff9f1c;
}

.brand-direction-list article:nth-child(2) .direction-icon {
  background: #fff4df;
  box-shadow: 0 18px 36px rgba(255, 159, 28, 0.14);
}

.brand-direction-list article:nth-child(3) .direction-icon,
.brand-direction-list article:nth-child(3) strong {
  color: var(--red);
}

.brand-direction-list article:nth-child(4) .direction-icon,
.brand-direction-list article:nth-child(4) strong {
  color: var(--green);
}

.brand-direction-list article:nth-child(4) .direction-icon {
  background: #e9fff4;
  box-shadow: 0 18px 36px rgba(32, 199, 122, 0.14);
}

.founder-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: stretch;
  background: linear-gradient(135deg, #fffaf2, #ffffff 56%, #e8fbff);
}

.founder-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f2f4;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-message {
  display: grid;
  align-content: center;
  gap: 16px;
}

.founder-panel h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
}

.founder-panel blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.founder-panel p {
  margin: 0;
}

.founder-panel footer {
  display: grid;
  gap: 4px;
  padding-top: 12px;
}

.founder-panel footer strong {
  font-size: 20px;
}

.founder-panel footer span {
  color: var(--muted);
}

.story-closing {
  margin-top: 28px;
  color: var(--ink) !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35 !important;
}

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

.contact-hub-section,
.partnership-section {
  background: var(--white);
}

.contact-channel-grid,
.partner-route-grid {
  display: grid;
  gap: 18px;
}

.contact-channel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.contact-channel-grid a,
.partner-route-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.contact-channel-grid a {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  padding: 22px;
}

.contact-channel-grid strong {
  font-size: 24px;
}

.partner-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-route-grid article {
  min-height: 330px;
  padding: 24px;
}

.partner-route-grid span {
  color: var(--red);
  font-weight: 900;
}

.partner-route-grid h3 {
  margin: 30px 0 12px;
  font-size: 28px;
  line-height: 1.08;
}

.partner-route-grid strong {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #7027ff 52%, #0f79a8);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.global-visit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 6vw;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 196, 36, 0.26), transparent 30%),
    linear-gradient(135deg, var(--night), #7027ff 48%, var(--red));
}

.global-visit-copy {
  max-width: 780px;
}

.global-visit-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-visit-kicker .eyebrow {
  margin: 0;
  color: #ff5a79;
}

.global-visit-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 11, 28, 0.24);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.global-visit-cta h2 {
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
}

.global-visit-cta h2 span {
  display: block;
}

.global-location-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.global-location-details div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.global-location-details dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.global-location-details dd {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.global-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.global-visit-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.global-socials .footer-socials {
  margin: 0;
}

.global-socials .map-link {
  display: none;
}

.global-visit-cta .button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.global-visit-cta .button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.location-visit-info { width: min(100% - 40px, 860px); margin: 58px auto; padding: 22px 26px; border-radius: 16px; color: var(--white); background: var(--night); }
.location-visit-info h2 { margin: 0; color: var(--white); font-size: 20px; }
.location-visit-info p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.72); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6vw;
  color: rgba(255, 255, 255, 0.72);
  background: var(--night);
}

.site-footer-v2 {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.8fr));
  align-items: start;
  gap: 32px;
  padding: 46px 6vw 24px;
}

.site-footer-minimal {
  padding: 16px 6vw;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-logo {
  display: inline-flex;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--night);
  box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.28);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.site-footer strong,
.footer-brand strong {
  color: var(--white);
}

.footer-brand p {
  max-width: 280px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-mobile-map { display: none; }

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-socials a {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.footer-socials a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.footer-socials img {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-socials .facebook-link {
  border-color: rgba(24, 119, 242, 0.42);
}

.footer-socials .instagram-link {
  border-color: rgba(214, 36, 159, 0.42);
}

.footer-socials .tiktok-link {
  border-color: #25f4ee;
}

.footer-socials .youtube-link {
  border-color: rgba(255, 0, 51, 0.42);
}

.footer-socials .map-link {
  border-color: rgba(66, 133, 244, 0.42);
}

.footer-socials .map-link img {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    inset: auto;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    min-height: 64px;
  }

  .site-header.is-scrolled {
    inset: auto;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 10px;
    left: 10px;
    padding: 8px 10px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: none;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-status {
    display: none;
  }

  .page-hero {
    padding-bottom: 86px;
  }

  .page-hero .hero-status {
    display: none;
  }

  .quick-info,
  .location-grid,
  .attraction-grid,
  .ride-detail-grid,
  .ride-guide-strip,
  .machine-grid,
  .experience-strip,
  .why-visit-grid,
  .faq-help-cards,
  .contact-channel-grid,
  .partner-route-grid,
  .safety-commitment,
  .safety-flow,
  .safety-gallery,
  .brand-direction-list,
  .faq-list,
  .safety-routine,
  .safety-grid,
  .about-section,
  .founder-panel,
  .partner-career,
  .uki-section,
  .uki-world-intro,
  .uki-story-grid,
  .uki-personality-grid,
  .uki-design-grid,
  .uki-colour-grid,
  .uki-name-section,
  .uki-name-grid,
  .uki-stage-hero,
  .uki-storybook,
  .uki-likes-grid,
  .uki-personality-strip,
  .uki-magic-layout,
  .uki-magic-list,
  .uki-action-grid,
  .uki-coming-grid {
    grid-template-columns: 1fr 1fr;
  }

  .uki-stage-hero {
    padding-bottom: 86px;
  }

  .uki-hero-spark { width: 48px; height: 48px; font-size: 22px; }
  .uki-hero-spark-one { right: 12%; top: 13%; }.uki-hero-spark-two { right: 5%; bottom: 10%; }

  .uki-storybook .uki-story-scene { min-height: 560px; }

  .uki-stage-hero .hero-status {
    display: none;
  }

  .brand-direction-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-direction-list article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .brand-direction-list article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .faq-topic-row {
    position: static;
  }

  .machine-card,
  .machine-card.featured-machine {
    grid-template-columns: 1fr;
  }

  .machine-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .machine-card:nth-child(even) .machine-media,
  .machine-card:nth-child(even) .machine-copy {
    order: initial;
  }

  .machine-media {
    min-height: 320px;
  }

  .machine-copy dl {
    grid-template-columns: 1fr 1fr;
  }

  .machine-grid {
    grid-template-columns: 1fr;
  }

  .photo-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-section,
  .global-visit-cta {
    display: block;
  }

  .site-footer-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-cta-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .global-visit-actions {
    justify-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .site-footer-v2 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-socials,
  .footer-bottom {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .member-greeting {
    display: none;
  }

  .site-header {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 10px;
    left: 10px;
    min-height: 60px;
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .site-header.is-scrolled {
    top: calc(env(safe-area-inset-top, 0px) + 6px);
    right: 8px;
    left: 8px;
    padding: 7px 9px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 46px;
  }

  .quick-info,
  .location-grid,
  .attraction-grid,
  .ride-detail-grid,
  .ride-guide-strip,
  .machine-grid,
  .experience-strip,
  .why-visit-grid,
  .faq-help-cards,
  .contact-channel-grid,
  .partner-route-grid,
  .safety-commitment,
  .safety-flow,
  .safety-gallery,
  .brand-direction-list,
  .faq-list,
  .safety-routine,
  .safety-grid,
  .about-section,
  .founder-panel,
  .partner-career,
  .uki-section,
  .uki-world-intro,
  .uki-story-grid,
  .uki-personality-grid,
  .uki-design-grid,
  .uki-colour-grid,
  .uki-name-section,
  .uki-name-grid,
  .uki-stage-hero,
  .uki-storybook,
  .uki-likes-grid,
  .uki-personality-strip,
  .uki-magic-layout,
  .uki-magic-list,
  .uki-coming-grid,
  .masonry-preview {
    grid-template-columns: 1fr;
  }

  .uki-stage-hero {
    min-height: 1060px;
    padding: 130px 20px 270px;
  }

  .uki-stage-copy h1 {
    font-size: 76px;
  }

  .uki-stage-image img {
    min-height: 420px;
  }

  .uki-magic-layout img {
    min-height: 420px;
  }

  .photo-category-grid {
    grid-template-columns: 1fr;
  }

  .category-entry-card {
    min-height: auto;
  }

  .category-entry-card img {
    height: 220px;
  }

  .mission-panel {
    padding: 30px 18px;
  }

  .brand-direction-list article,
  .brand-direction-list article:nth-child(odd),
  .brand-direction-list article:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-direction-list article:last-child {
    border-bottom: 0;
  }

  .about-logo-panel {
    min-height: 360px;
  }

  .global-visit-cta {
    padding: 34px 20px;
  }

  .global-location-details {
    grid-template-columns: 1fr;
  }

  .global-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .global-cta-actions .button {
    width: 100%;
    justify-content: center;
  }

  .page-hero {
    padding-bottom: 86px;
  }

  .ride-card {
    min-height: auto;
  }

  .ride-guide-strip article {
    min-height: auto;
  }

  .machine-card {
    min-height: auto;
  }

  .machine-media {
    min-height: 260px;
  }

  .machine-copy {
    padding: 24px 20px;
  }

  .machine-copy dl {
    grid-template-columns: 1fr;
  }

  .faq-topic-row {
    gap: 8px;
    padding: 10px;
  }

  .faq-topic-row a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .faq-group summary {
    font-size: 17px;
  }

  .founder-panel .eyebrow,
  .founder-panel h3,
  .founder-panel blockquote,
  .founder-panel p,
  .founder-photo,
  .founder-message,
  .founder-panel footer {
    grid-column: 1;
  }

  .founder-photo {
    min-height: 420px;
  }

  .quick-info article {
    min-height: auto;
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-visit-grid {
    gap: 24px;
  }

  .why-visit-grid article {
    min-height: auto;
  }

  .why-visit-grid article > div {
    padding: 28px 26px 32px;
  }

  .section,
  .gallery-band,
  .contact-section,
  .page-hero {
    padding: 72px 20px;
  }

  .page-hero {
    min-height: 560px;
    padding-top: 140px;
    padding-bottom: 86px;
  }

  .safety-flow article,
  .safety-flow article:last-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .safety-flow article:last-child {
    border-bottom: 0;
  }

  .safety-gallery {
    grid-auto-rows: 220px;
  }

  .section-heading h2,
  .uki-copy h2,
  .about-story h2,
  .partner-career h2,
  .contact-section h2 {
    font-size: 38px;
  }

  .tile,
  .tile.tall,
  .tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 190px;
  }
}

/* Keep installed PWA controls clear of iPhone and Android system gesture areas. */
@supports (padding: max(0px)) {
  .site-footer,
  .site-footer-v2 {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

.pwa-install-panel,
.mobile-app-nav,
.app-quick-access,
.pwa-more-toggle,
.pwa-more-menu,
.pwa-more-overlay {
  display: none;
}

@media (max-width: 980px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 20px 22px;
    text-align: center;
  }

  .site-footer-v2 .footer-links,
  .site-footer-v2 > .footer-column:not(.footer-brand):not(.footer-links) { display: none; }
  .site-footer-v2 .footer-logo { margin: 0 auto; }
  .site-footer-v2 .footer-brand { justify-items: center; }
  .site-footer-v2 .footer-mobile-map { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 9px; color: var(--night); background: var(--gold); font-weight: 900; }
  .site-footer-v2 .footer-bottom { justify-content: center; gap: 12px 16px; }

  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .site-header,
  .site-header.is-scrolled {
    inset: auto;
    top: max(10px, env(safe-area-inset-top, 0px));
    right: 12px;
    left: 12px;
    min-height: 58px;
    padding: 7px 10px;
  }

  .site-header .site-nav,
  .member-header .site-nav {
    display: none !important;
  }

  .pwa-more-toggle {
    display: inline-flex;
    min-width: 58px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
  }

  .pwa-more-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .pwa-more-menu {
    position: fixed;
    z-index: 48;
    top: calc(max(10px, env(safe-area-inset-top, 0px)) + 64px);
    right: 12px;
    width: min(320px, calc(100vw - 24px));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: var(--white);
    background: rgba(8, 11, 28, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
  }

  .pwa-more-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 10px; font-size: 18px; }
  .pwa-more-head button { width: 38px; height: 38px; border: 0; border-radius: 9px; color: var(--white); background: rgba(255, 255, 255, 0.1); font-size: 26px; line-height: 1; }
  .pwa-more-menu nav { display: grid; gap: 4px; }
  .pwa-more-menu nav a { min-height: 46px; padding: 13px; border-radius: 10px; color: var(--white); font-weight: 800; }
  .pwa-more-menu nav a:active { background: rgba(255, 255, 255, 0.12); }
  .pwa-more-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .pwa-more-socials a { min-height: 38px; padding: 9px 10px; border-radius: 8px; color: var(--gold); background: rgba(255, 200, 61, 0.1); font-size: 12px; font-weight: 800; }

  .mobile-app-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(8, 11, 28, 0.94);
    box-shadow: 0 -12px 28px rgba(3, 5, 17, 0.28);
    backdrop-filter: blur(18px);
  }

  .mobile-app-nav a {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    align-content: center;
    gap: 3px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
  }

  .mobile-app-nav svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-app-nav a[aria-current="page"] {
    color: var(--night);
    background: var(--gold);
  }

  .app-quick-access {
    display: grid;
    gap: 12px;
    padding: 24px 20px 20px;
    background: var(--paper);
  }

  .app-quick-access > p {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
  }

  .app-quick-access > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .app-quick-access a {
    display: grid;
    min-height: 54px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font-weight: 800;
  }

  .pwa-install-panel {
    position: fixed;
    z-index: 55;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 16px 46px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, #222968, #090c24);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  }

  .pwa-install-panel strong,
  .pwa-install-panel span { grid-column: 1; }
  .pwa-install-panel span { color: rgba(255, 255, 255, 0.72); font-size: 13px; }
  .pwa-install-panel b { color: var(--gold); }
  .pwa-install-action { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; color: var(--night); background: var(--gold); font: inherit; font-weight: 900; }
  .pwa-install-dismiss { position: absolute; top: 6px; right: 8px; width: 34px; height: 34px; padding: 0; border: 0; color: rgba(255, 255, 255, 0.72); background: transparent; font-size: 26px; line-height: 1; }

  .is-pwa-standalone .site-header,
  .is-pwa-standalone .site-header.is-scrolled {
    top: max(8px, env(safe-area-inset-top, 0px));
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(8, 11, 28, 0.88);
  }
}

/* Mobile/PWA homepage is intentionally compact and action-oriented.
   Desktop retains the full brand-led hero above. */
@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled,
  .is-pwa-standalone .site-header,
  .is-pwa-standalone .site-header.is-scrolled {
    top: 0;
    right: 0;
    left: 0;
    min-height: calc(56px + env(safe-area-inset-top, 0px));
    padding: max(7px, env(safe-area-inset-top, 0px)) 16px 7px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: rgba(8, 11, 28, 0.88);
    box-shadow: none;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-header .brand strong {
    font-size: 15px;
  }

  .hero:not(.page-hero) {
    min-height: clamp(390px, 60svh, 620px);
  }

  .hero:not(.page-hero) .hero-content {
    width: min(100% - 32px, 620px);
    margin: 0 auto 40px;
  }

  .hero:not(.page-hero) h1 {
    max-width: 100%;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-wrap: balance;
    white-space: nowrap;
  }

  .hero:not(.page-hero) .hero-copy,
  .hero:not(.page-hero) .hero-actions .button-light {
    display: none;
  }

  .hero:not(.page-hero) .hero-actions {
    margin-top: 18px;
  }

  .hero:not(.page-hero) .hero-actions .button-primary {
    min-height: 46px;
    padding: 0 20px;
  }

  /* Mobile visitors decide quickly: the essential facts, categories, social proof,
     then the shared Visit Tonight action. Desktop retains the full presentation. */
  .quick-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-info article {
    min-height: 0;
    padding: 22px 14px;
  }

  .quick-info article p {
    display: none;
  }

  .quick-info strong {
    margin-top: 8px;
    font-size: 15px;
  }

  .quick-info span {
    font-size: clamp(34px, 10vw, 46px);
  }

  .why-visit-grid article:nth-child(n + 4),
  .review-grid .review-card:nth-child(n + 4) {
    display: none;
  }

  .pwa-more-overlay:not([hidden]) {
    position: fixed;
    z-index: 47;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: default;
  }

  .pwa-more-menu:not([hidden]) {
    position: fixed;
    z-index: 48;
    top: 0;
    right: 0;
    display: flex;
    width: min(360px, calc(100vw - 40px));
    min-height: 100dvh;
    flex-direction: column;
    padding: max(18px, env(safe-area-inset-top, 0px)) 16px max(24px, env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 0;
    background: #080b1c;
    box-shadow: -18px 0 46px rgba(0, 0, 0, 0.36);
  }

  .pwa-more-menu:not([hidden]) .pwa-more-head {
    min-height: 48px;
    padding: 0 4px 12px;
  }

  .pwa-more-menu:not([hidden]) nav {
    gap: 5px;
  }

  .pwa-more-menu:not([hidden]) nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 13px;
    border-radius: 10px;
  }

  .pwa-more-menu:not([hidden]) .pwa-more-socials {
    margin-top: auto;
  }

  .pwa-more-open {
    overflow: hidden;
  }

  .location-visit-info {
    width: min(100% - 32px, 640px);
    margin: 34px auto;
    padding: 20px;
  }

}
