:root {
  --bg: #0a0606;
  --bg-deep: #050303;
  --ink: #f7efe6;
  --mute: rgba(247, 239, 230, 0.68);
  --red: #d4162a;
  --red-hot: #ff2a3d;
  --gold: #f0d078;
  --gold-dim: #c9a445;
  --line: rgba(232, 197, 106, 0.22);
  --display: "Syne", system-ui, sans-serif;
  --body: "IBM Plex Sans Thai", "Noto Sans", "Segoe UI", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", system-ui, sans-serif;
  --pad: clamp(1.2rem, 5vw, 2rem);
  --max: 40rem;
  --dock: 4.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 99;
  background: var(--gold);
  color: #1a1000;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

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

/* ——— LANG SWITCH ——— */
.lang {
  position: fixed;
  top: calc(0.75rem + env(safe-area-inset-top));
  right: var(--pad);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(10, 6, 6, 0.78);
  backdrop-filter: blur(10px);
  max-width: calc(100vw - 2 * var(--pad));
}

html[dir="rtl"] .lang {
  right: auto;
  left: var(--pad);
}

.lang__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.lang__select {
  appearance: none;
  border: 0;
  margin: 0;
  min-height: 2.15rem;
  min-width: 8.5rem;
  max-width: 11rem;
  padding: 0.35rem 1.7rem 0.35rem 0.55rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%) calc(100% - 14px) / 6px 6px no-repeat,
    linear-gradient(135deg, var(--gold) 50%, transparent 50%) calc(100% - 10px) / 6px 6px no-repeat,
    transparent;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.lang__select:focus {
  outline: 1px solid var(--gold);
  outline-offset: 1px;
}

.lang__select option {
  color: #1a1204;
  background: #fff8ee;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 6, 0.25) 0%,
      rgba(10, 6, 6, 0.08) 32%,
      rgba(10, 6, 6, 0.55) 58%,
      rgba(10, 6, 6, 0.94) 100%
    ),
    linear-gradient(90deg, rgba(10, 6, 6, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 90% 50% at 70% 20%, rgba(212, 22, 42, 0.28), transparent 60%);
}

.hero__rail {
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 18%;
  width: 4px;
  background: linear-gradient(180deg, transparent, var(--red-hot), var(--gold), transparent);
  opacity: 0.85;
  animation: rail 2.4s ease-in-out infinite alternate;
}

.hero__copy {
  width: min(100% - 2 * var(--pad), var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 3.75rem;
  animation: up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__mark {
  width: 3.4rem;
  height: auto;
  margin-bottom: 0.85rem;
  opacity: 0.95;
  animation: mark 1s ease both;
}

.hero__brand {
  margin: 0;
  line-height: 0.88;
}

.hero__brand-area {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.4rem, 22vw, 7rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.65);
}

.hero__brand-rest {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  letter-spacing: 0.34em;
  color: var(--gold);
  text-indent: 0.08em;
}

.hero__line {
  margin: 1rem 0 0;
  font-family: var(--body);
  font-size: clamp(1.2rem, 4.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero__sub {
  margin: 0.45rem 0 1.4rem;
  color: var(--mute);
  font-weight: 500;
  font-size: 0.98rem;
}

.hero__cta {
  max-width: 18rem;
}

/* ——— CTA ——— */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1.15rem;
  background: var(--gold);
  color: #1a1204;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.02rem;
  border: 0;
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--red);
  transition: width 0.28s ease;
  z-index: 0;
}

.cta:hover::before {
  width: 100%;
}

.cta:hover {
  color: #fff;
}

.cta:active {
  transform: translateY(1px);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta__arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cta:hover .cta__arrow {
  transform: translateX(4px);
}

.cta--block {
  margin-top: 1.25rem;
}

.cta--dock {
  min-height: 3.1rem;
}

/* ——— BLOCKS ——— */
.block {
  padding: clamp(3.75rem, 12vw, 5.75rem) 0;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.block__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 10vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.block__text {
  margin: 0.9rem 0 0;
  color: var(--mute);
  max-width: 26rem;
}

.go {
  background:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(212, 22, 42, 0.16), transparent 50%),
    var(--bg-deep);
}

.go-panel {
  display: grid;
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #110a0a;
}

.go-panel__meta {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212, 22, 42, 0.18), transparent 55%);
  transition: background 0.18s ease;
}

.go-panel__meta:hover {
  background: linear-gradient(90deg, rgba(212, 22, 42, 0.32), transparent 60%);
}

.go-panel__meta strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.go-panel__meta span {
  color: var(--gold);
  font-size: 0.92rem;
}

/* ——— SLIDER ——— */
.slider {
  position: relative;
  isolation: isolate;
}

.slider__viewport {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #080505;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 100%;
  height: 100%;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  pointer-events: none;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(247, 239, 230, 0.28);
  background: rgba(10, 6, 6, 0.55);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.slider__btn:hover {
  background: rgba(240, 208, 120, 0.9);
  border-color: var(--gold);
  color: #1a1204;
}

.slider__btn--prev {
  left: 0.55rem;
}

.slider__btn--next {
  right: 0.55rem;
}

.slider__dots {
  display: none;
}

.slider__count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  background: rgba(10, 6, 6, 0.62);
  border: 1px solid rgba(247, 239, 230, 0.2);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
  .slider__track {
    transition: none;
  }
}

.addr {
  margin: 1.35rem 0 0;
  font-style: normal;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* vibe */
.vibe {
  position: relative;
  background:
    linear-gradient(180deg, #120808 0%, #0a0606 100%);
  overflow: hidden;
}

.vibe::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 55%;
  background: radial-gradient(circle, rgba(212, 22, 42, 0.22), transparent 65%);
  pointer-events: none;
}

.lines {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.lines li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid rgba(247, 239, 230, 0.12);
  font-size: 1.05rem;
}

.lines li:last-child {
  border-bottom: 1px solid rgba(247, 239, 230, 0.12);
}

.lines b {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* end */
.end {
  background:
    linear-gradient(180deg, transparent, rgba(212, 22, 42, 0.12)),
    var(--bg);
  text-align: left;
}

.end__brand {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  letter-spacing: -0.02em;
}

.end .block__text {
  margin-bottom: 0.25rem;
}

/* social */
.social {
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(212, 22, 42, 0.14), transparent 55%),
    var(--bg-deep);
  padding-top: clamp(2.75rem, 8vw, 4rem);
}

.social__links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(247, 239, 230, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.social__link:hover {
  border-color: rgba(240, 208, 120, 0.55);
  background: rgba(212, 22, 42, 0.12);
}

.social__left {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.social__icon {
  flex: 0 0 auto;
  color: var(--gold);
}

.social__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.social__handle {
  color: var(--gold);
  font-size: 0.92rem;
}

/* footer + dock */
.foot {
  padding: 2rem var(--pad) 1.4rem;
  border-top: 1px solid rgba(247, 239, 230, 0.08);
  text-align: center;
}

.foot__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.foot__row img {
  width: 2.4rem;
  opacity: 0.9;
}

.foot__row strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.foot__row p {
  margin: 0.1rem 0 0;
  color: var(--mute);
  font-size: 0.85rem;
}

.foot__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin: 0.9rem 0 1rem;
}

.foot__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.foot__social a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.foot__icon {
  flex: 0 0 auto;
}

.foot__note {
  margin: 0;
  color: rgba(247, 239, 230, 0.42);
  font-size: 0.78rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(5, 3, 3, 0.92) 30%);
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.dock.is-on {
  transform: translateY(0);
}

/* motion */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mark {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 0.95;
    transform: scale(1);
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes rail {
  from {
    opacity: 0.45;
    transform: scaleY(0.92);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

  .hero__media img,
  .hero__copy,
  .hero__mark,
  .hero__rail {
    animation: none !important;
  }
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .dock {
    display: none;
  }

  .hero__copy {
    padding-bottom: 4.5rem;
  }

  .hero__brand-area {
    font-size: 7.5rem;
  }

  .hero__cta {
    max-width: 20rem;
  }
}
