:root {
  --design-width: 1280;
  --design-height: 1024;
  --bg-top: #fbfaf7;
  --bg-bottom: #f1eee7;
  --text: #1d2320;
  --muted: #495754;
  --primary: #4f7872;
  --primary-soft: rgba(125, 168, 163, 0.2);
  --champagne: rgba(216, 188, 119, 0.28);
  --coral: rgba(232, 160, 146, 0.18);
  --surface: rgba(255, 255, 255, 0.34);
  --surface-strong: rgba(255, 255, 255, 0.56);
  --border: rgba(255, 255, 255, 0.76);
  --line: rgba(103, 120, 115, 0.14);
  --shadow: 0 32px 80px rgba(68, 92, 87, 0.12);
  --shadow-soft: 0 18px 40px rgba(105, 137, 131, 0.08);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --pointer-x: 50%;
  --pointer-y: 42%;
  --glow-angle: 118deg;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 16% 16%, rgba(125, 168, 163, 0.2), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(216, 188, 119, 0.18), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(232, 160, 146, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, #f8f5ef 30%, var(--bg-bottom) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.36), transparent 16%);
  pointer-events: none;
  z-index: 1;
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

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

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

.ambient-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 116px,
      rgba(118, 145, 138, 0.03) 116px,
      rgba(118, 145, 138, 0.03) 117px
    );
  opacity: 0.4;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.9;
  will-change: transform;
  animation: glowFloat 18s ease-in-out infinite alternate;
}

.glow-a {
  width: 440px;
  height: 440px;
  top: -40px;
  left: -120px;
  background: rgba(125, 168, 163, 0.28);
}

.glow-b {
  width: 320px;
  height: 320px;
  right: 8%;
  top: 9%;
  background: rgba(226, 201, 121, 0.18);
  animation-duration: 24s;
}

.glow-c {
  width: 380px;
  height: 380px;
  left: 50%;
  bottom: 4%;
  background: rgba(146, 183, 177, 0.15);
  animation-duration: 20s;
}

.pointer-sheen {
  position: absolute;
  inset: -28%;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 247, 218, 0.58), transparent 10%),
    linear-gradient(
      var(--glow-angle),
      transparent 35%,
      rgba(125, 168, 163, 0.08) 40%,
      rgba(125, 168, 163, 0.3) 46%,
      rgba(255, 255, 255, 0.26) 50%,
      rgba(216, 188, 119, 0.28) 55%,
      rgba(216, 188, 119, 0.12) 60%,
      transparent 66%
    );
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 1;
  pointer-events: none;
  will-change: transform, background;
  animation: mistShift 16s ease-in-out infinite alternate;
}

.page-frame {
  position: relative;
  z-index: 2;
  width: min(100%, calc(var(--design-width) * 1px));
  min-height: min(100vh, calc(var(--design-height) * 1px));
  margin: 0 auto;
  padding: 28px 44px 26px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
}

.glass-panel {
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header,
.site-footer,
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

body.is-ready .site-header,
body.is-ready .site-footer,
body.is-ready [data-reveal] {
  animation: revealRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-ready [data-reveal='badge'] {
  animation-delay: 0.08s;
}

body.is-ready [data-reveal='title'] {
  animation-delay: 0.12s;
}

body.is-ready [data-reveal='tag-1'] {
  animation-delay: 0.22s;
}

body.is-ready [data-reveal='tag-2'] {
  animation-delay: 0.28s;
}

body.is-ready [data-reveal='tag-3'] {
  animation-delay: 0.34s;
}

body.is-ready [data-reveal='coming-soon'] {
  animation-delay: 0.42s;
}

.site-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 18px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  width: fit-content;
  min-width: 220px;
}

.brand-mark {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #244944;
}

.page-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  gap: 92px;
}

.coming-soon {
  justify-self: end;
  align-self: center;
  margin-top: 32px;
  padding-bottom: 6px;
  color: rgba(58, 81, 77, 0.58);
  font-family: 'Noto Serif SC', serif;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  padding-top: 0;
}

.hero-title {
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.9rem, 4.55vw, 4.25rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.04em;
  white-space: nowrap;
  animation: heroFloat 14s ease-in-out infinite;
}

.spirit-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spirit-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  color: #203b37;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.22rem;
  transition: transform 360ms ease, background 360ms ease, box-shadow 360ms ease;
}

.spirit-tag:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 32px rgba(101, 131, 125, 0.14);
}

.tag-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(125, 168, 163, 0.14);
  color: var(--primary);
  font-size: 1.04rem;
}

@media (min-width: 901px) {
  .spirit-tags {
    gap: 20px;
  }

  .spirit-tag {
    min-width: 228px;
    padding: 18px 40px;
    font-size: 1.24rem;
  }

  .tag-icon {
    width: 40px;
    height: 40px;
    font-size: 1.08rem;
  }
}

@keyframes revealRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.018);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes mistShift {
  0% {
    transform: translate3d(-1.5%, 0.5%, 0) scale(0.98);
  }
  100% {
    transform: translate3d(2%, -1%, 0) scale(1.06);
  }
}

@keyframes glowFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(24px, -18px, 0);
  }
}

@media (max-width: 1180px) {
  .page-frame {
    width: 100%;
    padding: 24px 28px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  }
}

@media (max-width: 900px) {
  .page-frame {
    width: 100%;
    min-height: 100dvh;
    gap: 12px;
    padding: max(16px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  }

  .site-header {
    padding: 14px 18px;
    min-width: 0;
    max-width: 100%;
  }

  .page-shell {
    width: 100%;
    flex: 1;
    justify-content: flex-start;
    padding-top: 18vh;
    gap: 56px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 6.8vw, 3rem);
    white-space: normal;
  }

  .spirit-tags {
    width: 100%;
    gap: 12px;
    justify-content: center;
  }

  .spirit-tag {
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.94rem;
  }

  .coming-soon {
    margin-top: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 640px) {
  .ambient-grid {
    opacity: 0.2;
  }

  .glow-a {
    width: 260px;
    height: 260px;
    top: -40px;
    left: -110px;
  }

  .glow-b {
    width: 220px;
    height: 220px;
    right: -30px;
    top: 12%;
  }

  .glow-c {
    width: 240px;
    height: 240px;
    left: auto;
    right: -40px;
    bottom: 8%;
  }

  .pointer-sheen {
    inset: -38%;
    filter: blur(22px);
    opacity: 0.86;
  }

  .page-frame {
    padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    font-size: 1.35rem;
  }

  .page-shell {
    justify-content: flex-start;
    padding-top: 22vh;
    gap: 54px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.72rem, 7.1vw, 2.12rem);
    line-height: 1.12;
    letter-spacing: -0.065em;
    white-space: nowrap;
  }

  .spirit-tags {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }

  .spirit-tag {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 8px 6px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .tag-icon {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }

  .coming-soon {
    margin-top: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }
}

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