:root {
  --ink: #201614;
  --muted: #705f5b;
  --paper: rgba(255, 255, 255, 0.76);
  --line: rgba(79, 49, 35, 0.12);
  --pink: #ff93b6;
  --gold: #ffd86b;
  --green: #9dd8bd;
  --shadow: 0 24px 70px rgba(63, 39, 23, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Fredoka", "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 216, 107, .34), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(255, 147, 182, .30), transparent 28%),
    radial-gradient(circle at 80% 74%, rgba(157, 216, 189, .30), transparent 24%),
    linear-gradient(180deg, #fffaf0 0%, #fff3ea 50%, #fffaf5 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote { margin-top: 0; }
button { font-family: inherit; }

.site-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 40px rgba(80, 51, 33, .10);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: .03em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(39, 22, 16, .12));
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.nav-buy,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #16110e, #4a3022);
  box-shadow: 0 14px 30px rgba(32, 21, 20, .22);
}

.nav-buy {
  padding: 12px 18px;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  cursor: pointer;
  place-items: center;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  grid-template-areas:
    "copy visual"
    "info info"
    "contract contract";
  gap: 24px 52px;
  align-items: center;
}

.hero-content { grid-area: copy; }
.hero-visual { grid-area: visual; display: flex; justify-content: center; align-items: center; }
.hero-info { grid-area: info; }
.contract-card { grid-area: contract; }

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: #8a5543;
  font-weight: 800;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 6px rgba(255,143,179,.16);
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: .92;
  letter-spacing: -.055em;
  margin: 24px 0;
}

h1 span {
  background: linear-gradient(135deg, #ff6fa4, #f3a338 55%, #62b991);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 650px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 24px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-secondary {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}

.hero-dog {
  width: min(430px, 100%);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(39, 22, 16, .18));
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mini-card,
.contract-card,
.story-card,
.info-card,
.trait-card,
.token-card,
.final-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px rgba(63, 39, 23, 0.09);
  backdrop-filter: blur(14px);
}

.mini-card {
  padding: 18px 16px;
}

.mini-card small,
.info-card small,
.token-card small,
.contract-card small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
}

.contract-card {
  width: min(620px, 100%);
  padding: 16px;
}

.contract-card div {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

code {
  flex: 1;
  padding: 13px;
  border-radius: 14px;
  background: #fff7e7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-card button {
  border: 0;
  border-radius: 13px;
  padding: 13px 16px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.banner-strip {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.banner-strip img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.55);
}

.section {
  padding: 88px 0;
}

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

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.compact {
  max-width: 900px;
}

.section-head h2,
.gallery-copy h2,
.final-card h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 16px 0 0;
}

.section-head p,
.gallery-copy p,
.info-card p,
.trait-card p,
.final-card p {
  color: var(--muted);
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 22px;
}

.main-story {
  padding: 34px;
  font-size: 21px;
  line-height: 1.65;
}

.main-story blockquote {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.66);
  font-weight: 800;
}

.japanese-story {
  padding: 34px;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(135deg, rgba(255,143,179,.18), rgba(255,216,107,.22));
}

.japanese-story h3 { font-size: 32px; }
.japanese-story p { font-size: 18px; line-height: 1.9; }
.jp-quote { font-weight: 800; }




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

.trait-card span { font-size: 34px; }
.trait-card h3 { font-size: 24px; margin: 14px 0 10px; }




.gallery-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
}

.gallery-copy p {
  font-size: 21px;
}

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

.gallery img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.gallery img:nth-child(2) {
  margin-top: 42px;
}

.final-cta {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 80px;
}

.final-cta img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.final-card {
  position: absolute;
  left: 34px;
  bottom: 34px;
  max-width: 580px;
  padding: 30px;
  background: rgba(255,255,255,.86);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
    gap: 20px 26px;
    padding-top: 46px;
  }

  .hero-dog {
    max-height: 430px;
  }

  .hero-info,
  .trait-grid,
  
  .story-grid,
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:nth-child(2) {
    height: 330px;
    margin-top: 0;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  .site-nav {
    width: calc(100% - 20px);
    border-radius: 26px;
    flex-wrap: wrap;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .menu-btn {
    display: grid;
  }

  .nav-links {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    padding: 10px 0 4px;
    white-space: normal;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-nav.is-open .nav-links {
    display: grid;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.62);
  }

  .nav-buy {
    text-align: center;
    background: linear-gradient(135deg, #16110e, #4a3022) !important;
  }
}

/* Mobile layout */
@media (max-width: 720px) {
  .hero,
  .section {
    width: calc(100% - 24px);
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "info"
      "contract";
    padding: 34px 0 58px;
    gap: 16px;
    text-align: center;
  }

  .eyebrow {
    font-size: 13px;
    line-height: 1.3;
    margin-inline: auto;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
    margin: 18px 0 14px;
  }

  .hero-text {
    font-size: 18px;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-actions {
    margin: 22px 0 16px;
  }

  .hero-dog {
    width: min(280px, 76vw);
    max-height: none;
    margin: -8px auto 0;
  }

  .hero-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mini-card {
    padding: 14px 12px;
  }

  .mini-card small {
    font-size: 11px;
  }

  .mini-card strong {
    font-size: 18px;
  }

  .contract-card {
    width: 100%;
    text-align: left;
  }

  .contract-card div {
    flex-direction: column;
  }

  .contract-card button,
  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head.center,
  .section-head.compact,
  .gallery-copy {
    text-align: center;
    margin-inline: auto;
  }

  .section-head h2,
  .gallery-copy h2,
  .final-card h2 {
    font-size: 36px;
  }

  .main-story,
  .japanese-story,
  .trait-card,
  .final-card {
    padding: 22px;
  }

  .main-story {
    font-size: 18px;
  }

  .japanese-story p {
    font-size: 16px;
  }

  .trait-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .banner-strip,
  .final-cta {
    width: calc(100% - 24px);
  }

  .banner-strip img,
  .final-cta img {
    border-radius: 26px;
  }

  .gallery img {
    height: 300px;
  }

  .final-cta {
    margin-bottom: 56px;
  }

  .final-cta img {
    min-height: 240px;
  }

  .final-card {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .socials a {
    width: 100%;
    text-align: center;
  }

  footer {
    width: calc(100% - 24px);
    padding-bottom: 42px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 15px;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-tags span {
    font-size: 13px;
    padding: 8px 11px;
  }

  .hero-dog {
    width: min(245px, 72vw);
  }
}

.trait-card { padding: 26px; }
