@font-face {
  font-family: "Vanilla Caramel";
  src: url("fonts/vanilla-caramel.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff5dc;
  --warm-white: #fffaf1;
  --paper: #fff8e8;
  --ink: #171310;
  --muted: #76685f;
  --red: #d94335;
  --deep-red: #a8221b;
  --pink: #f7a9bd;
  --soft-pink: #ffd8df;
  --gold: #dca844;
  --black: #18100d;
  --line: rgba(24, 16, 13, 0.14);
  --shadow: 0 22px 60px rgba(69, 35, 21, 0.16);
  --font-body: "Vanilla Caramel", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --font-street: var(--font-body);
  --font-backstreet: var(--font-body);
  --font-demo: var(--font-body);
  --font-secondary: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(rgba(255, 245, 220, 0.78), rgba(255, 245, 220, 0.78)),
    url("media/wave-background.jpg") 0 0 / 420px auto repeat,
    var(--cream);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(247, 169, 189, 0.20), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(220, 168, 68, 0.18), transparent 22rem);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
}

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

.petal-layer {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -32px;
  width: var(--petal-size);
  height: calc(var(--petal-size) * 0.72);
  border-radius: 70% 15% 70% 15%;
  background: linear-gradient(135deg, #ffdce4, #f49aae 62%, #fff0f3);
  opacity: 0.78;
  transform: rotate(35deg);
  animation: petal-fall var(--fall-time) linear forwards;
}

@keyframes petal-fall {
  0% {
    translate: 0 -4vh;
    rotate: 0deg;
  }
  50% {
    translate: var(--drift) 50vh;
    rotate: 160deg;
  }
  100% {
    translate: calc(var(--drift) * -0.55) 106vh;
    rotate: 340deg;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
  transition: padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
}

.nav-shell {
  width: min(1160px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 2px solid rgba(24, 16, 13, 0.86);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.45),
    0 4px 0 rgba(24, 16, 13, 0.86),
    0 16px 35px rgba(48, 25, 17, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-street);
  font-weight: 900;
  white-space: nowrap;
}

.join-brand {
  min-width: 92px;
  min-height: 46px;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--warm-white);
  background: var(--black);
  font-family: var(--font-secondary);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.join-brand:hover {
  background: var(--red);
  box-shadow: 5px 5px 0 var(--black);
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--font-street);
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(217, 67, 53, 0.09);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--warm-white);
  border-radius: 99px;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 86px);
  padding: 82px 24px 72px;
}

.hero-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: 54px;
}

.sun-disc {
  position: absolute;
  right: min(8vw, 110px);
  top: 72px;
  width: clamp(170px, 24vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 18px),
    linear-gradient(145deg, var(--red), #f06958);
  box-shadow: 0 24px 70px rgba(217, 67, 53, 0.24);
  opacity: 0.88;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--deep-red);
  font-family: var(--font-backstreet);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stamp-dot {
  width: 14px;
  height: 14px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--warm-white);
  box-shadow: 0 0 0 4px rgba(217, 67, 53, 0.1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8.6rem);
  line-height: 0.87;
  letter-spacing: 0;
}

.ticker-badge {
  width: fit-content;
  margin-bottom: 22px;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #ffe3a0);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-street);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 950;
}

.tagline {
  max-width: 680px;
  color: #4f4038;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.58;
  font-weight: 700;
}

.mobile-hero-mascot {
  display: none;
}

.mobile-hero-mascot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(24, 16, 13, 0.20));
}

.hero-actions,
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 6px 7px 0 rgba(24, 16, 13, 0.95);
}

.button-primary {
  color: var(--warm-white);
  background: var(--red);
}

.button-ghost {
  background: var(--warm-white);
}

.button-gold {
  color: var(--black);
  background: var(--warm-white);
}

.button-cream {
  color: var(--black);
  background: var(--paper);
}

.button-dark {
  color: var(--warm-white);
  background: var(--black);
}

.mascot-wrap {
  position: relative;
  z-index: 1;
}

.mascot-card {
  position: relative;
  width: min(100%, 660px);
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.mascot-card::before,
.mascot-card::after {
  display: none;
}

.photo-frame {
  position: relative;
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.photo-frame::after {
  display: none;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(24, 16, 13, 0.22)) drop-shadow(0 6px 0 rgba(24, 16, 13, 0.10));
}

.japan-divider {
  width: min(620px, calc(100% - 48px));
  min-height: 46px;
  margin: -16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.divider-line {
  height: 2px;
  flex: 1;
  max-width: 220px;
  background:
    repeating-linear-gradient(90deg, var(--red) 0 18px, transparent 18px 28px),
    linear-gradient(var(--gold), var(--gold));
  border-radius: 999px;
}

.divider-sun {
  width: 42px;
  height: 42px;
  border: 3px solid var(--warm-white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--black), inset 0 -5px 0 rgba(0, 0, 0, 0.12);
}

.content-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.community h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.community p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.narrative-copy {
  display: grid;
  gap: 14px;
}

.narrative-copy p {
  margin-bottom: 0;
}

.paper-card {
  position: relative;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 28%, rgba(217, 67, 53, 0.07), transparent 18rem),
    linear-gradient(90deg, rgba(220, 168, 68, 0.09) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  box-shadow: var(--shadow);
}

.paper-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(168, 34, 27, 0.25);
  border-radius: 6px;
  pointer-events: none;
}

.about-card p {
  position: relative;
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.75;
  font-weight: 650;
}

.about-card p + p {
  margin-top: 18px;
}

.gallery-section {
  width: min(100%, 1440px);
  margin: -28px auto 0;
  padding: 34px 0 82px;
  overflow: hidden;
}

.gallery-heading {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.gallery-heading h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-button {
  min-width: 76px;
  min-height: 44px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--warm-white);
  box-shadow: 4px 4px 0 var(--black);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gallery-button:hover {
  background: var(--gold);
  box-shadow: 6px 6px 0 var(--black);
  transform: translateY(-2px);
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 380px);
  gap: 22px;
  padding: 16px max(24px, calc((100vw - 1120px) / 2)) 26px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1120px) / 2));
  scrollbar-color: var(--red) rgba(24, 16, 13, 0.1);
  scrollbar-width: thin;
}

.gallery-rail::-webkit-scrollbar {
  height: 10px;
}

.gallery-rail::-webkit-scrollbar-track {
  background: rgba(24, 16, 13, 0.08);
  border-radius: 999px;
}

.gallery-rail::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 999px;
}

.gallery-card {
  position: relative;
  min-height: 330px;
  padding: 12px 12px 54px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(217, 67, 53, 0.06) 25%, transparent 25%, transparent 75%, rgba(217, 67, 53, 0.06) 75%) 0 0 / 26px 26px,
    var(--paper);
  box-shadow: 8px 8px 0 var(--black);
  scroll-snap-align: start;
  transform: rotate(var(--tilt, -1deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:nth-child(2n) {
  --tilt: 1.2deg;
}

.gallery-card:nth-child(3n) {
  --tilt: -0.4deg;
}

.gallery-card:hover {
  box-shadow: 12px 12px 0 var(--black);
  transform: rotate(0deg) translateY(-4px);
}

.gallery-card::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 34px;
  width: 70px;
  height: 28px;
  border: 1px solid rgba(24, 16, 13, 0.14);
  background: rgba(255, 250, 241, 0.72);
  transform: rotate(-8deg);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 312px;
  display: block;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: #c9beb0;
  object-fit: cover;
}

.gallery-card.tall-card img {
  object-position: center top;
}

.gallery-card.square-card img {
  object-position: center center;
}

.video-card video {
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-demo);
  font-size: 1.05rem;
  font-weight: 950;
}

.gallery-card span::after {
  content: "$TORO";
  padding: 5px 8px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-family: var(--font-backstreet);
  font-size: 0.8rem;
  transform: rotate(4deg);
}

.narrative-section {
  padding-top: 54px;
}

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

.link-card,
.roadmap-step {
  position: relative;
  min-height: 172px;
  padding: 24px;
  border: 2px solid rgba(24, 16, 13, 0.9);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 7px 7px 0 rgba(24, 16, 13, 0.95);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.link-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 16px 16px 22px;
}

.link-card:hover,
.roadmap-step:hover {
  transform: translate(-2px, -4px);
  box-shadow: 11px 12px 0 rgba(24, 16, 13, 0.95);
  background: var(--warm-white);
}

.card-stamp {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  padding: 6px 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  color: var(--deep-red);
  font-family: var(--font-backstreet);
  font-weight: 950;
  transform: rotate(-4deg);
}

.cache-preview {
  position: relative;
  margin: 0 0 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: var(--paper);
}

.cache-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.link-card strong {
  display: block;
  font-family: var(--font-demo);
  font-size: 1.24rem;
}

.link-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-street);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.52;
}

.wave-divider {
  height: 70px;
  background:
    radial-gradient(38px 28px at 38px 0, transparent 35px, rgba(217, 67, 53, 0.28) 36px, transparent 38px) 0 34px / 76px 38px repeat-x;
}

.buy-section {
  padding-top: 54px;
}

.buy-tree {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 34px;
  padding: 10px 0;
}

.buy-tree::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  border-radius: 999px;
  background:
    linear-gradient(var(--red), var(--red)) center / 100% 100%,
    var(--red);
  box-shadow: 0 0 0 9px rgba(217, 67, 53, 0.08);
  transform: translateX(-50%);
}

.buy-step {
  position: relative;
  width: calc(50% - 44px);
  min-height: 170px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 216, 223, 0.66), transparent 8rem),
    linear-gradient(90deg, rgba(220, 168, 68, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
  box-shadow: 7px 7px 0 var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.buy-step:nth-child(odd) {
  justify-self: start;
}

.buy-step:nth-child(even) {
  justify-self: end;
}

.buy-step::before {
  content: "";
  position: absolute;
  top: 48px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}

.buy-step:nth-child(odd)::before {
  right: -46px;
}

.buy-step:nth-child(even)::before {
  left: -46px;
}

.buy-step:hover {
  transform: translateY(-4px);
  box-shadow: 11px 12px 0 var(--black);
}

.branch-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid var(--warm-white);
  border-radius: 50%;
  color: var(--warm-white);
  background: var(--red);
  box-shadow: 0 0 0 2px var(--black), inset 0 -4px 0 rgba(0, 0, 0, 0.12);
  font-family: var(--font-backstreet);
  font-weight: 950;
}

.buy-step h3 {
  margin-bottom: 10px;
  font-family: var(--font-demo);
  font-size: 1.22rem;
  line-height: 1.25;
}

.buy-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.buy-step strong {
  color: var(--ink);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 34px);
  opacity: 0.28;
}

.roadmap-step {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.roadmap-step span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--warm-white);
  font-family: var(--font-backstreet);
  background: var(--red);
  font-weight: 950;
}

.roadmap-step h3 {
  margin-bottom: 0;
  font-family: var(--font-demo);
  font-size: 1.45rem;
  line-height: 1.3;
}

.roadmap-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 750;
}

.roadmap-step strong {
  width: fit-content;
  margin-top: 4px;
  padding: 6px 10px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-weight: 950;
}

.roadmap-step ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 750;
}

.roadmap-step li + li {
  margin-top: 6px;
}

.community {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 96px;
  border: 2px solid var(--black);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(220, 168, 68, 0.34), transparent 15rem),
    linear-gradient(135deg, rgba(255, 216, 223, 0.18), rgba(255, 250, 241, 0.96) 58%),
    var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--black);
}

.community-inner {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(28px, 6vw, 58px);
}

.community .eyebrow,
.community p {
  color: var(--muted);
}

.contract-panel {
  max-width: 760px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 2px solid rgba(24, 16, 13, 0.88);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 5px 5px 0 rgba(24, 16, 13, 0.9);
}

.contract-panel span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-weight: 950;
  transform: rotate(-2deg);
}

.contract-panel strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contract-panel p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.site-footer {
  padding: 34px 20px 42px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.58);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.site-footer p {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  padding: 12px 16px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--warm-white);
  background: var(--black);
  box-shadow: 0 12px 28px rgba(24, 16, 13, 0.25);
  transform: translate(-50%, 18px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  font-family: var(--font-street);
  font-weight: 850;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .community-inner {
    grid-template-columns: 1fr;
  }

  .contract-panel {
    max-width: none;
  }

  .mascot-card {
    margin: 22px auto 0;
  }

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

  .roadmap::before {
    display: none;
  }

  .buy-tree::before {
    left: 29px;
  }

  .buy-step,
  .buy-step:nth-child(even),
  .buy-step:nth-child(odd) {
    width: calc(100% - 54px);
    justify-self: end;
  }

  .buy-step:nth-child(even)::before,
  .buy-step:nth-child(odd)::before {
    left: -31px;
    right: auto;
    width: 29px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 12px;
  }

  .nav-shell {
    min-height: 62px;
    border-radius: 26px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 84px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .hero {
    padding-inline: 20px;
  }

  .sun-disc {
    right: -42px;
    top: 112px;
    opacity: 0.55;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .button {
    width: 100%;
  }

  .mobile-hero-mascot {
    width: min(82vw, 340px);
    display: block;
    margin: 12px auto 0;
  }

  .mascot-wrap {
    display: none;
  }

  .hero-actions {
    margin-top: 0;
  }

  .content-section {
    width: min(100% - 32px, 1120px);
    padding: 64px 0;
  }

  .gallery-section {
    margin-top: -18px;
    padding-bottom: 62px;
  }

  .gallery-heading {
    width: min(100% - 32px, 1120px);
    align-items: start;
    flex-direction: column;
  }

  .gallery-controls {
    width: 100%;
  }

  .gallery-button {
    flex: 1;
  }

  .gallery-rail {
    grid-auto-columns: minmax(238px, 78vw);
    gap: 16px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }

  .gallery-card {
    min-height: 300px;
    box-shadow: 6px 6px 0 var(--black);
  }

  .gallery-card img,
  .gallery-card video {
    height: 276px;
  }

  .link-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .buy-tree {
    gap: 18px;
  }

  .buy-step,
  .buy-step:nth-child(even),
  .buy-step:nth-child(odd) {
    width: calc(100% - 38px);
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .buy-tree::before {
    left: 19px;
    width: 4px;
  }

  .buy-step:nth-child(even)::before,
  .buy-step:nth-child(odd)::before {
    left: -21px;
    width: 21px;
  }

  .branch-number {
    width: 48px;
    height: 48px;
  }

  .buy-step h3 {
    font-size: 1.05rem;
  }

  .community {
    width: min(100% - 32px, 1160px);
    margin-bottom: 70px;
    box-shadow: 8px 8px 0 var(--black);
  }

}

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

  .petal-layer {
    display: none;
  }
}
