:root {
  --bg: #0b1d12;
  --bg2: #10281a;
  --ink: #eef3e2;
  --muted: #a9bba6;
  --gold: #f4b834;
  --red: #e0412f;
  --leaf: #34b055;
  --line: rgba(238, 243, 226, 0.14);
  --display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f6e8;
    --bg2: #e6edd3;
    --ink: #12281a;
    --muted: #47604d;
    --line: rgba(18, 40, 26, 0.18);
    --gold: #b87d00;
    --red: #c2301f;
    --leaf: #1f8a3c;
  }
}
:root[data-theme="light"] {
  --bg: #f3f6e8;
  --bg2: #e6edd3;
  --ink: #12281a;
  --muted: #47604d;
  --line: rgba(18, 40, 26, 0.18);
  --gold: #b87d00;
  --red: #c2301f;
  --leaf: #1f8a3c;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.05rem/1.65 var(--body);
  overflow-x: hidden;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
p {
  max-width: 62ch;
}

/* rasta stripe */
.stripe {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--red) 0 33.3%,
    var(--gold) 33.3% 66.6%,
    var(--leaf) 66.6%
  );
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--display);
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-size: 0.95rem;
}
nav ul a {
  text-decoration: none;
  color: var(--muted);
}
nav ul a:hover {
  color: var(--gold);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 4.5rem;
}
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  letter-spacing: 0.01em;
}
.hero h1 .t {
  display: block;
  font-size: 0.34em;
  color: var(--gold);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
.hero p.lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 1.2rem 0 1.8rem;
}
.btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: transform 0.15s;
}
.btn.main {
  background: var(--gold);
  color: #1a1405;
}
.btn:hover {
  transform: translateY(-2px);
}
.badge {
  position: relative;
  justify-self: center;
  width: min(380px, 80vw);
  aspect-ratio: 1;
}
.badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 10px var(--leaf),
    0 0 80px rgba(52, 176, 85, 0.35);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-8px) rotate(-1.2deg);
  }
}
.smoke {
  position: absolute;
  left: 23%;
  top: 30%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.smoke i {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(238, 243, 226, 0.55),
    rgba(238, 243, 226, 0) 70%
  );
  opacity: 0;
  animation: rise 5s ease-out infinite;
}
.smoke i:nth-child(2) {
  animation-delay: 1.2s;
  left: -8px;
}
.smoke i:nth-child(3) {
  animation-delay: 2.4s;
  left: 10px;
}
.smoke i:nth-child(4) {
  animation-delay: 3.6s;
  left: -4px;
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  15% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-40px, -180px) scale(3.2);
  }
}

/* sections */
section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}
.alt {
  background: var(--bg2);
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.col {
  border-left: 4px solid var(--leaf);
  padding-left: 1rem;
}
.col:nth-child(2) {
  border-color: var(--gold);
}
.col:nth-child(3) {
  border-color: var(--red);
}
.col h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.col p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1.1;
}
.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.ca {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.ca code {
  flex: 1 1 280px;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  background: var(--bg);
}
.ca button {
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--ink);
}
.ca button:hover {
  background: var(--gold);
  color: #1a1405;
}

ol.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  counter-reset: s;
  display: grid;
  gap: 1.2rem;
}
ol.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}
ol.steps li::before {
  content: counter(s);
  font-family: var(--display);
  font-size: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--leaf);
  color: #06140b;
  display: grid;
  place-items: center;
}
ol.steps b {
  display: block;
  font-size: 1.1rem;
}
ol.steps span {
  color: var(--muted);
}

.road {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.road div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg2);
}
.alt .road div {
  background: var(--bg);
}
.road h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--gold);
}
.road p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer .links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1rem;
}
footer .links a {
  color: var(--ink);
}
footer .links a:hover {
  color: var(--gold);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1rem;
  }
  .hero p.lead,
  .hero .btns {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .badge {
    order: -1;
  }
  nav {
    justify-content: center;
  }
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .badge img,
  .smoke i {
    animation: none;
  }
  .smoke {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}

nav ul a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.pagehead {
  padding: 3rem 0 3.5rem;
}
.pagehead h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
}
.pagehead p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-top: 1rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.tile {
  display: block;
  text-decoration: none;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.tile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.tile .go {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
  color: var(--gold);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
}
details p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}
.check {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.check li {
  padding-left: 2rem;
  position: relative;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--leaf);
}
.check b {
  display: block;
}
.check span {
  color: var(--muted);
}

/* sound toggle */
.sound {
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.sound[aria-pressed="true"] {
  border-color: var(--leaf);
  color: var(--ink);
  background: rgba(52, 176, 85, 0.18);
}
.sound:hover {
  border-color: var(--gold);
}

/* gallery */
.grid {
  columns: 230px;
  column-gap: 1rem;
}
.art {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
}
.art:hover {
  border-color: var(--gold);
}
.art img {
  display: block;
  width: 100%;
  height: auto;
}
.art span {
  display: block;
  padding: 0.6rem 0.9rem;
  font-weight: 800;
  font-size: 0.95rem;
}
.art small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.empty {
  color: var(--muted);
}
dialog {
  max-width: min(720px, 92vw);
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gold);
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
dialog img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 10px;
}
dialog p {
  margin: 0.8rem 0 0;
  text-align: center;
  color: var(--muted);
}
.lbx {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  background: var(--bg);
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
}

/* visitor count */
.visits {
  margin: 0 0 1.5rem;
  font-size: 1rem;
}
.visits b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gold);
  margin-right: 0.3rem;
}
