:root {
  --ok: #16a34a;
  --ok-bright: #1fb85a;
  --ok-deep: #0e7a37;
  --mint: #e9f6f3;
  --ice: #f3fbf8;
  --paper: #ffffff;
  --ink: #163028;
  --ink-mid: #3d5a4e;
  --ink-soft: #6b8a7c;
  --yellow: #ffd23f;
  --pink: #ff8fb2;
  --sky: #8fd6ff;
  --lime: #a4f0b8;
  --line: rgba(22, 163, 74, 0.18);
  --white: #ffffff;

  --f-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --f-brand: "Fredoka", "M PLUS Rounded 1c", sans-serif;
  --f-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 68rem;
  --z-nav: 20;
  --z-skip: 30;
  --ease: ease-out;
  --radius: 1.35rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mint);
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-family: var(--f-display);
  font-weight: 800;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .quote {
  font-family: var(--f-brand);
}

p,
li {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: var(--z-skip);
  padding: 0.5rem 0.85rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
  border-radius: 999px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - var(--pad) * 2, var(--measure));
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: max(0.55rem, env(safe-area-inset-top)) var(--pad) 0.55rem;
  background: rgba(243, 251, 248, 0.92);
  color: var(--ink);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  min-width: 0;
}

.nav-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: radial-gradient(120% 140% at 30% 40%, #1fb85a 0%, var(--ok) 70%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.nav-mark::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
}

.nav-word {
  font-family: var(--f-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ok-deep);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--ok);
  color: var(--white);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-mid);
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ok-deep);
}

.nav-cta {
  background: var(--yellow);
  color: var(--ink) !important;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
}

.lang {
  display: flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: var(--white);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--f-brand);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ok);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: radial-gradient(120% 140% at 18% 12%, #ffffff 0%, var(--mint) 42%, #d9f5e6 100%);
  overflow: hidden;
  padding-top: 3.5rem;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.28;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite alternate;
}

.b1 {
  width: 34vmin;
  height: 34vmin;
  left: -8vmin;
  top: 8vmin;
  background: var(--lime);
}

.b2 {
  width: 22vmin;
  height: 22vmin;
  right: 8%;
  bottom: -6vmin;
  background: var(--sky);
  animation-delay: -3s;
}

.b3 {
  width: 16vmin;
  height: 16vmin;
  left: 42%;
  top: 18%;
  background: var(--yellow);
  animation-delay: -6s;
  opacity: 0.35;
}

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-3vmin) scale(1.06);
  }
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem var(--pad) 3.2rem;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
  margin: 0 0 1.2rem;
  font-family: var(--f-brand);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok-deep);
}

.kicker-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.18);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.28;
  color: var(--ok-deep);
}

.lede {
  margin: 0 0 1.7rem;
  max-width: 36em;
  color: var(--ink-mid);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--ok);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--ok-deep);
  border: 2px solid var(--lime);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--line);
  font-size: 0.82rem;
  color: var(--ink-mid);
}

.meta-row strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  color: var(--ok);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 3rem var(--pad) 3rem 0;
}

.hero-fallback {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.unlock-badge {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 140% at 30% 40%, #1fb85a 0%, var(--ok) 55%, var(--ok-deep) 100%);
  border: 0.45rem solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(14, 122, 55, 0.22);
  z-index: 1;
}

.unlock-key {
  font-size: 3.4rem;
}

.scan {
  --size: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scan-ring,
.scan-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.scan-ring {
  border: 4px solid rgba(22, 163, 74, 0.35);
}

.scan-wave {
  border: 2px solid rgba(31, 184, 90, 0.45);
  animation: ripple 3.2s var(--ease) infinite;
}

.scan-wave:nth-child(2) {
  animation-delay: 1s;
}

.scan-wave:nth-child(3) {
  animation-delay: 2s;
}

@keyframes ripple {
  0% {
    transform: scale(0.72);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

.v-label {
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ok-deep);
  white-space: nowrap;
}

.hero-visual.has-media .hero-fallback {
  display: none;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 4.4rem;
  background: var(--ice);
}

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

.section-ok {
  background: radial-gradient(120% 140% at 30% 40%, #1fb85a 0%, var(--ok) 55%, var(--ok-deep) 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--f-brand);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ok);
}

.section-ok .eyebrow {
  color: var(--yellow);
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.4;
  color: var(--ok-deep);
}

.section-ok h2 {
  color: var(--white);
}

.section-lead {
  margin: 0 0 2.2rem;
  max-width: 38em;
  color: var(--ink-mid);
}

.section-ok .section-lead {
  color: rgba(255, 255, 255, 0.9);
}

.journey {
  display: grid;
  gap: 1rem;
}

.room {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.3rem 1.3rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(14, 122, 55, 0.06);
}

.room-index {
  font-family: var(--f-brand);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ok-deep);
}

.room--b .room-index {
  background: var(--yellow);
}

.room--c .room-index {
  background: var(--sky);
}

.room--d .room-index {
  background: var(--pink);
  color: var(--white);
}

.room h3 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}

.room-place {
  margin: 0 0 0.35rem;
  font-family: var(--f-brand);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ok);
}

.room p {
  margin: 0;
  color: var(--ink-mid);
}

.changes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.change {
  padding: 1.3rem 1.25rem 1.35rem;
  background: var(--mint);
  border-radius: var(--radius);
  border: 3px solid #16a34a;
}

.change h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.change p {
  margin: 0;
  color: var(--ink-mid);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.onprem {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: end;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1rem 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
}

.stat b {
  display: block;
  font-family: var(--f-brand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
}

.stat span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.quote {
  margin: 0;
  padding: 1.6rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 800;
  line-height: 1.7;
  color: var(--ok-deep);
}

.quote footer {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ok);
}

.maker {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.maker p {
  margin: 0 0 0.9rem;
  color: var(--ink-mid);
}

.contact-card {
  padding: 1.5rem 1.4rem;
  background: var(--ok);
  color: var(--white);
  border-radius: var(--radius);
  scroll-margin-top: 4.4rem;
  box-shadow: 0 16px 32px rgba(14, 122, 55, 0.18);
}

.contact-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.contact-card p {
  margin: 0 0 0.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-card a {
  color: var(--yellow);
}

.contact-card .note {
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--yellow);
}

.foot {
  padding: 1.2rem var(--pad) max(1.2rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  background: var(--ok-deep);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
}

.foot a {
  color: var(--yellow);
  text-decoration: none;
}

.media-frame {
  margin-top: 1rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #d9f5e6;
  aspect-ratio: 16 / 9;
}

.media-frame.is-on {
  display: block;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--hero {
  width: min(100%, 26rem);
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 0.45rem solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(14, 122, 55, 0.16);
}

.media-frame--gallery {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    position: static;
    width: 2.5rem;
    padding: 0;
    font-size: 0;
  }

  .nav-toggle span {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: auto 0 auto 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--pad) 1rem;
    background: var(--ice);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 2.2rem;
    padding-bottom: 1.4rem;
  }

  .hero-visual {
    min-height: 16rem;
    padding: 0 var(--pad) 3.2rem;
  }

  .v-label {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 1rem;
  }
}

  .hero-copy {
    padding-top: 2.2rem;
    padding-bottom: 1.4rem;
  }

  .hero-visual {
    min-height: 16rem;
    padding: 0 var(--pad) 3.2rem;
  }

  .v-label {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .changes,
  .gallery,
  .onprem,
  .maker {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scan-wave,
  .btn,
  .blob {
    animation: none;
    transition: none;
  }
}
