:root {
  color-scheme: dark;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ink: #070707;
  --muted: #a9a9a9;
  --paper: #f6f4ef;
  --yellow: #fff200;
  --line: rgba(255, 255, 255, 0.12);
  --shell-width: 480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #1b1b1b;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background: #1b1b1b;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.phone-shell {
  width: min(100%, var(--shell-width));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

.page-scroll-progress {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 50%;
  z-index: 90;
  width: min(100%, var(--shell-width));
  height: 2px;
  pointer-events: none;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.06);
}

.page-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #7a6300, var(--yellow));
  box-shadow: 0 0 14px rgba(255, 242, 0, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.desktop-notice {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 68svh, 650px);
  place-items: center;
  overflow: hidden;
  background-color: #150706;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-intimate-v2.png") 58% top / cover no-repeat;
  transform: translate3d(0, var(--hero-bg-shift, 0px), 0) scale(1.02);
  will-change: transform;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(20, 2, 1, 0.2) 45%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 45%, transparent 3%, rgba(0, 0, 0, 0.26) 76%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: max(38px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 42px max(20px, env(safe-area-inset-left));
  text-align: center;
  opacity: var(--hero-content-opacity, 1);
  transform: translate3d(0, var(--hero-content-shift, 0px), 0);
  will-change: transform, opacity;
}

.hero__brand {
  margin: 0 0 20px;
  font-size: clamp(28px, 8.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 10.8vw, 48px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.07em;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.64);
}

.hero__cta,
.load-more,
.guide__cta,
.form-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  color: #080808;
  background: var(--yellow);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease;
}

.hero__cta {
  margin-top: 28px;
}

.hero__cta:active,
.load-more:active,
.guide__cta:active,
.form-submit:active {
  transform: scale(0.985);
}

.hero__scroll {
  position: absolute;
  bottom: max(15px, env(safe-area-inset-bottom));
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.62;
}

.hero__scroll::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.catalog {
  padding: 58px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
  background: #080808;
}

.section-heading,
.guide__heading {
  text-align: center;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.section-heading h2,
.guide__heading h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child,
.guide__heading > p:last-child {
  margin: 9px 0 0;
  color: #8b8b8b;
  font-size: 13px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 14px;
  margin-top: 28px;
}

.filter {
  padding: 4px 0;
  border: 0;
  color: #8d8d8d;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}

.filter.is-active {
  color: #fff;
  font-weight: 700;
}

.rule {
  display: flex;
  justify-content: center;
  margin: 19px 0 14px;
  border-top: 1px solid var(--line);
}

.rule span {
  width: 64px;
  height: 8px;
  margin-top: -4px;
  background: #787878;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}

.profile-card {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.profile-photo {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #111;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 350ms ease;
}

.profile-card:active .profile-photo img {
  transform: scale(1.025);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.38));
}

.profile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 4px 7px;
  color: #090909;
  background: var(--yellow);
  font-size: 9px;
  font-weight: 900;
}

.profile-card h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0 2px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card h3 > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-code {
  flex: none;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.045em;
}

.profile-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: #8f8f8f;
  font-size: 10px;
}

.profile-price {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.profile-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.profile-hint::after {
  content: "→";
  color: var(--yellow);
}

.load-more {
  display: block;
  width: min(100%, 300px);
  min-height: 58px;
  margin: 42px auto 0;
  border-radius: 3px;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(255, 242, 0, 0.14);
}

.load-more[hidden] {
  display: none;
}

.demo-note {
  margin: 0 0 22px;
  color: #8a8a8a;
  font-size: 12px;
  text-align: center;
}

.guide {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 64px;
  border: 0;
  color: #f8f1e8;
  background:
    linear-gradient(180deg, #080808 0%, transparent 13%, transparent 87%, #080808 100%),
    radial-gradient(circle at 88% 12%, rgba(126, 25, 49, 0.22), transparent 36%),
    radial-gradient(circle at 2% 86%, rgba(142, 91, 38, 0.08), transparent 40%),
    linear-gradient(150deg, #100c0e 0%, #090a0b 52%, #11080b 100%);
}

.guide::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -150px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(231, 190, 131, 0.055);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(138, 31, 60, 0.08);
  pointer-events: none;
}

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

.eyebrow--dark {
  color: #c99e6b;
}

.guide__heading > p:last-child {
  color: rgba(240, 226, 210, 0.53);
}

.steps {
  margin: 40px 0 38px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  min-height: 112px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 9px;
  left: 17px;
  width: 1px;
  background: linear-gradient(rgba(214, 168, 108, 0.48), rgba(214, 168, 108, 0.08));
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(222, 179, 119, 0.24);
  color: #e0b578;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(181, 75, 76, 0.045);
}

.steps h3 {
  margin: 1px 0 7px;
  color: #fff9f1;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: rgba(235, 224, 211, 0.52);
  font-size: 12px;
  line-height: 1.8;
}

.guide__cta {
  border-radius: 4px;
  color: #1a0d08;
  background: linear-gradient(105deg, #aa713a 0%, #efc783 48%, #bd8244 100%);
  box-shadow: 0 14px 34px rgba(128, 51, 40, 0.24), inset 0 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px rgba(255, 255, 255, 0.22);
}

.footer {
  padding: 54px 24px max(38px, env(safe-area-inset-bottom));
  text-align: center;
  background: #080808;
}

.footer__brand {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
}

.footer > p:nth-child(2) {
  margin: 10px 0 27px;
  color: #777;
  font-size: 12px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer__links a,
.footer__links button {
  border: 0;
  color: #bdbdbd;
  background: none;
  font-size: 12px;
  text-decoration: none;
}

.footer__legal {
  margin: 30px 0 0;
  color: #3d3d3d;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.contact-dialog {
  width: min(calc(100% - 32px), 390px);
  max-height: calc(100svh - 32px);
  padding: 33px 24px 25px;
  overflow: hidden auto;
  border: 1px solid rgba(225, 181, 118, 0.28);
  border-radius: 16px;
  color: #f7f2e9;
  background:
    radial-gradient(circle at 92% 4%, rgba(139, 33, 57, 0.38), transparent 35%),
    radial-gradient(circle at 4% 96%, rgba(142, 91, 38, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(27, 14, 17, 0.98), rgba(9, 9, 10, 0.99) 52%, rgba(21, 8, 12, 0.99));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.78),
    0 0 42px rgba(119, 22, 48, 0.19),
    inset 0 1px rgba(255, 231, 194, 0.08);
  color-scheme: dark;
}

.contact-dialog[open] {
  animation: contact-dialog-in 540ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-dialog::before {
  content: "";
  position: absolute;
  top: -128px;
  right: -108px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(242, 198, 135, 0.13);
  border-radius: 50%;
  box-shadow:
    inset 0 0 60px rgba(173, 45, 78, 0.12),
    0 0 80px rgba(164, 71, 63, 0.08);
  pointer-events: none;
}

.contact-dialog > :not(.dialog-close) {
  position: relative;
  z-index: 1;
}

.contact-dialog::backdrop {
  background: rgba(7, 1, 3, 0.86);
  backdrop-filter: blur(12px) saturate(0.72);
}

.contact-dialog h2 {
  margin: 0 0 3px;
  color: #fffaf2;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 31px;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 24px rgba(186, 58, 87, 0.24);
}

.contact-dialog h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, #d59c5e, transparent);
}

.contact-dialog .eyebrow--dark {
  color: #cda678;
}

.contact-dialog > p:not(.eyebrow):not(.form-feedback) {
  color: rgba(240, 230, 218, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  color: rgba(255, 238, 215, 0.68);
  background: none;
  font-size: 26px;
}

.contact-dialog form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-dialog label {
  display: grid;
  gap: 6px;
  color: rgba(255, 242, 225, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-dialog input,
.contact-dialog textarea {
  width: 100%;
  border: 1px solid rgba(223, 181, 123, 0.24);
  border-radius: 7px;
  outline: none;
  color: #fffaf2;
  background: rgba(255, 255, 255, 0.055);
  padding: 13px 12px;
  resize: vertical;
  caret-color: #efbf7e;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-dialog input::placeholder,
.contact-dialog textarea::placeholder {
  color: rgba(240, 228, 211, 0.36);
}

.contact-dialog input:focus,
.contact-dialog textarea:focus {
  border-color: rgba(239, 191, 126, 0.76);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 0 0 3px rgba(213, 156, 94, 0.09), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-dialog .form-submit {
  min-height: 54px;
  border-radius: 7px;
  color: #1a0d08;
  background: linear-gradient(105deg, #b87d41 0%, #f2c887 47%, #c9904d 100%);
  box-shadow: 0 12px 30px rgba(162, 86, 49, 0.24), inset 0 1px rgba(255, 255, 255, 0.42);
  text-shadow: 0 1px rgba(255, 255, 255, 0.24);
}

.form-feedback {
  min-height: 20px;
  margin: 13px 0 0;
  color: #d9b178;
  font-size: 12px;
  text-align: center;
}

.submit-progress {
  display: grid;
  gap: 8px;
}

.submit-progress[hidden] {
  display: none;
}

.submit-progress__track {
  height: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.submit-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #8c2948 0%, #ca8d54 52%, #ffe0a8 100%);
  transition: width 120ms linear;
}

.submit-progress__label {
  color: rgba(255, 235, 211, 0.55);
  font-size: 11px;
  text-align: center;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-dialog {
  position: fixed;
  inset: 0;
  width: min(100%, var(--shell-width));
  height: 100svh;
  height: 100dvh;
  max-width: var(--shell-width);
  max-height: 100svh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: #fff;
  background: #080808;
  overflow-x: hidden;
  overflow-y: auto;
}

.profile-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.profile-dialog__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  min-height: 52px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(14px);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.profile-dialog__back {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 34px;
  line-height: 1;
}

.profile-detail__cover {
  display: block;
  width: 100%;
  height: min(58svh, 520px);
  object-fit: cover;
  object-position: center 18%;
}

.profile-detail__body {
  padding: 30px 18px 50px;
}

.profile-detail__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-detail__heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.verified-badge {
  flex: none;
  min-width: 82px;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  color: #080808;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 25px 0 35px;
  background: #242424;
}

.profile-facts span {
  display: grid;
  min-height: 63px;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #777;
  background: #111;
  font-size: 9px;
}

.profile-facts b {
  color: #fff;
  font-size: 15px;
}

.profile-copy h3,
.gallery-title {
  margin: 0 0 13px;
  font-size: 18px;
}

.profile-copy p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.9;
}

.detail-list {
  margin: 32px 0 38px;
  border-top: 1px solid #252525;
}

.detail-list div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #252525;
  font-size: 12px;
}

.detail-list dt {
  color: #666;
}

.detail-list dd {
  margin: 0;
  color: #d4d4d4;
}

.gallery-title span {
  color: #666;
  font-size: 12px;
}

.detail-gallery {
  display: grid;
  gap: 10px;
}

.detail-gallery img,
.detail-gallery video {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

body.is-transitioning {
  overflow: hidden;
}

.profile-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: min(100%, var(--shell-width));
  height: 100svh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background: #050505;
}

.profile-transition[hidden] {
  display: none;
}

.profile-transition > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.82) brightness(0.72);
  transform: scale(1.02);
}

.profile-transition.is-active > img {
  animation: profile-transition-image 5s cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

.profile-transition__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 50% 40%, transparent 20%, rgba(0, 0, 0, 0.38));
}

.profile-transition__content {
  position: absolute;
  right: 24px;
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 54px));
  left: 24px;
  text-align: center;
}

.profile-transition__content p {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.profile-transition__content strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.profile-transition__track {
  height: 3px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.profile-transition__track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
}

.profile-transition.is-active .profile-transition__track span {
  animation: profile-transition-progress 5s linear both;
}

@keyframes profile-transition-image {
  0% { filter: saturate(0.82) brightness(0.72); transform: scale(1.02); }
  55% { filter: saturate(1) brightness(0.8); }
  100% { filter: saturate(1.06) brightness(0.9); transform: scale(1.14); }
}

@keyframes profile-transition-progress {
  to { transform: scaleX(1); }
}

.reserve-transition {
  position: fixed;
  inset: 0;
  z-index: 110;
  width: min(100%, var(--shell-width));
  height: 100svh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(151, 27, 61, 0.58), transparent 42%),
    linear-gradient(155deg, #080205 0%, #25050e 50%, #060204 100%);
}

.reserve-transition[hidden] {
  display: none;
}

.reserve-transition::before,
.reserve-transition::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0;
}

.reserve-transition::before {
  top: -12%;
  left: -38%;
  width: 125%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 189, 157, 0.28);
  box-shadow: inset 0 0 90px rgba(161, 18, 57, 0.26);
}

.reserve-transition::after {
  right: -48%;
  bottom: -20%;
  width: 140%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 226, 184, 0.2);
  box-shadow: inset 0 0 110px rgba(255, 56, 105, 0.16);
}

.reserve-transition.is-active {
  animation: reserve-transition-fade 3s ease both;
}

.reserve-transition.is-active::before {
  animation: reserve-orbit-left 3s cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

.reserve-transition.is-active::after {
  animation: reserve-orbit-right 3s cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

.reserve-transition__veil {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 177, 156, 0.11) 48%, transparent 62%),
    linear-gradient(70deg, transparent 28%, rgba(185, 22, 69, 0.18) 50%, transparent 68%);
  transform: translate3d(-18%, 8%, 0) rotate(-8deg);
}

.reserve-transition.is-active .reserve-transition__veil {
  animation: reserve-silk 3s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.reserve-transition__content {
  position: absolute;
  top: 50%;
  right: 26px;
  left: 26px;
  text-align: center;
  transform: translateY(-50%);
}

.reserve-transition.is-active .reserve-transition__content {
  animation: reserve-content 3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reserve-transition__content p {
  margin: 0 0 16px;
  color: #e9b691;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.reserve-transition__content strong {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(25px, 7.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 28px rgba(255, 59, 110, 0.34);
}

.reserve-transition__content > span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.reserve-transition__track {
  height: 1px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.reserve-transition__track i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #862340, #ffd3aa, #fff3d7);
  box-shadow: 0 0 16px rgba(255, 188, 153, 0.9);
  transform: scaleX(0);
  transform-origin: left;
}

.reserve-transition.is-active .reserve-transition__track i {
  animation: reserve-progress 3s linear both;
}

.reserve-transition__spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe1bd;
  box-shadow: 0 0 18px 4px rgba(255, 126, 144, 0.46);
  opacity: 0;
}

.reserve-transition__spark--one { top: 28%; left: 22%; }
.reserve-transition__spark--two { top: 62%; right: 19%; }
.reserve-transition__spark--three { right: 34%; bottom: 17%; }

.reserve-transition.is-active .reserve-transition__spark--one { animation: reserve-spark 3s 160ms ease both; }
.reserve-transition.is-active .reserve-transition__spark--two { animation: reserve-spark 3s 520ms ease both; }
.reserve-transition.is-active .reserve-transition__spark--three { animation: reserve-spark 3s 880ms ease both; }

@keyframes reserve-transition-fade {
  0% { opacity: 0; }
  14%, 82% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes reserve-orbit-left {
  0% { opacity: 0; transform: scale(0.78) rotate(-18deg); }
  35% { opacity: 1; }
  100% { opacity: 0.12; transform: scale(1.22) rotate(16deg); }
}

@keyframes reserve-orbit-right {
  0% { opacity: 0; transform: scale(0.82) rotate(14deg); }
  38% { opacity: 0.9; }
  100% { opacity: 0.1; transform: scale(1.2) rotate(-12deg); }
}

@keyframes reserve-silk {
  0% { opacity: 0; transform: translate3d(-18%, 8%, 0) rotate(-8deg); }
  25% { opacity: 1; }
  100% { opacity: 0.28; transform: translate3d(20%, -5%, 0) rotate(7deg); }
}

@keyframes reserve-content {
  0% { opacity: 0; transform: translateY(calc(-50% + 25px)) scale(0.96); }
  24%, 78% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(calc(-50% - 12px)) scale(1.015); }
}

@keyframes reserve-progress {
  to { transform: scaleX(1); }
}

@keyframes reserve-spark {
  0%, 100% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.5); }
  35%, 65% { opacity: 0.9; transform: translate3d(0, -9px, 0) scale(1); }
}

.scroll-reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 26px, 0) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    filter 720ms ease var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.profile-card.scroll-reveal {
  filter: none;
  transform: translate3d(0, 30px, 0) scale(0.97);
}

.profile-card.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.profile-card.scroll-reveal.is-visible .profile-photo img {
  animation: card-image-settle 1100ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) backwards;
}

.hero__brand,
.hero h1,
.hero__cta {
  animation: hero-intro 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 { animation-delay: 100ms; }
.hero__cta { animation-delay: 210ms; }

@keyframes hero-intro {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes card-image-settle {
  from { transform: scale(1.075); }
  to { transform: scale(1); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 700px) {
  body {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    place-items: center;
    background:
      radial-gradient(circle at 50% 44%, rgba(86, 23, 40, 0.12), transparent 28%),
      #050505;
  }

  .phone-shell,
  .page-scroll-progress,
  .profile-transition,
  .reserve-transition,
  .profile-dialog,
  .contact-dialog {
    display: none !important;
  }

  .desktop-notice {
    display: grid;
    width: min(100% - 48px, 520px);
    place-items: center;
    text-align: center;
  }

  .desktop-notice__phone {
    position: relative;
    display: block;
    width: 34px;
    height: 54px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    box-shadow: 0 0 34px rgba(153, 42, 70, 0.16);
  }

  .desktop-notice__phone::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    transform: translateX(-50%);
  }

  .desktop-notice h1 {
    margin: 0;
    color: #f8f5ef;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .desktop-notice p {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.34);
    font-size: 13px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 359px) {
  .hero {
    min-height: 500px;
  }

  .hero__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .catalog {
    padding-right: max(11px, env(safe-area-inset-right));
    padding-left: max(11px, env(safe-area-inset-left));
  }

  .filters {
    gap: 4px 11px;
  }

  .profile-grid {
    gap: 18px 9px;
  }

  .profile-card h3,
  .profile-code {
    font-size: 11px;
  }

  .profile-meta,
  .profile-hint {
    font-size: 9px;
  }

  .profile-detail__heading h2 {
    font-size: 27px;
  }

  .profile-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-list div {
    grid-template-columns: 82px 1fr;
  }

  .contact-dialog {
    width: calc(100% - 20px);
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 390px;
  }

  .hero__content {
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .hero__brand {
    margin-bottom: 10px;
    font-size: 25px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.18;
  }

  .hero__cta {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; }
  .scroll-reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}
