/* ============================================
   SAKURA — Design System
   ============================================ */

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

:root {
  --bg: #0C0D0F;
  --surface: #131517;
  --text: #EDE9E3;
  --dim: rgba(237, 233, 227, 0.55);
  --faint: rgba(237, 233, 227, 0.3);
  --muted: rgba(237, 233, 227, 0.1);
  --accent: #8B6464;
  --gold: #BFA05A;
  --green: #5E8562;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0, 0.15, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection {
  background: rgba(139, 100, 100, 0.3);
  color: var(--text);
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

nav.static {
  position: relative;
  mix-blend-mode: normal;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.85;
}

.logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-r {
  display: flex;
  gap: 32px;
}

.nav-r a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.6s ease;
}

.nav-r a:hover { color: var(--text); }

/* ============================================
   HERO (Homepage)
   ============================================ */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 32px;
  object-fit: contain;
  opacity: 0.88;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 12px;
}

.hero-phone {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.hero-phone a {
  color: inherit;
  transition: color 0.5s ease;
}

.hero-phone a:hover { color: var(--dim); }

/* ============================================
   GALLERY (Homepage)
   ============================================ */
.gallery {
  padding: 0 48px 160px;
}

.gallery-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 36px;
}

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

.card {
  position: relative;
  display: block;
  overflow: hidden;
}

.card-image {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.card-image img,
.card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card:hover .card-image img,
.card:hover .card-image video {
  transform: scale(1.04);
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(12, 13, 15, 0.92) 0%, rgba(12, 13, 15, 0.4) 60%, transparent 100%);
}

.card-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.card-loc {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.on { background: var(--green); }
.dot.off { background: var(--faint); }

.card-tier {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  background: rgba(12, 13, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}

.card-tier.gold { color: var(--gold); }
.card-tier.rose { color: var(--accent); }

/* Video play icon on card */
.card-video-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(12, 13, 15, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.card-video-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent rgba(237, 233, 227, 0.7);
  margin-left: 2px;
}

/* Unavailable card */
.card.off .card-image img,
.card.off .card-image video {
  filter: saturate(0.35) brightness(0.65);
}

.card.off:hover .card-image img,
.card.off:hover .card-image video {
  filter: saturate(0.5) brightness(0.75);
}

/* ============================================
   MID LINE
   ============================================ */
.mid-line {
  padding: 80px 48px 120px;
  text-align: center;
}

.mid-line p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--faint);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.mid-line p:last-child { margin-bottom: 0; }

/* ============================================
   LOCATION
   ============================================ */
.location {
  padding: 0 48px 140px;
  display: flex;
  justify-content: center;
  gap: 64px;
  text-align: center;
}

.loc h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.loc span {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ============================================
   PROFILE DETAIL
   ============================================ */
.profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.profile-photo {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--surface);
}

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

.profile-photo.unavailable img,
.profile-photo.unavailable video {
  filter: saturate(0.4) brightness(0.7);
}

.profile-info {
  padding: 160px 64px 80px;
  border-left: 1px solid var(--muted);
}

.tier {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.tier.gold {
  color: var(--gold);
  border: 1px solid rgba(191, 160, 90, 0.18);
}

.tier.rose {
  color: var(--accent);
  border: 1px solid rgba(139, 100, 100, 0.2);
}

.profile-name {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
}

.profile-status .dot { width: 6px; height: 6px; }

.status-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.status-label.unavailable { color: var(--faint); }

/* Details grid */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--muted);
  margin-bottom: 56px;
}

.detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--muted);
}

.detail:nth-child(odd) { padding-right: 28px; }
.detail:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--muted); }

.detail-label {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}

.detail-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Bio */
.bio { margin-bottom: 56px; }

.section-label {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.bio p.bio-text {
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--dim);
}

/* Rates */
.rates {
  border-top: 1px solid var(--muted);
  padding-top: 36px;
  margin-bottom: 56px;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--muted);
}

.rate-duration {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.rate-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Unavailable notice */
.notice {
  padding: 28px 0;
  border-top: 1px solid var(--muted);
  margin-bottom: 56px;
}

.notice p {
  font-size: 0.8rem;
  color: var(--dim);
  line-height: 1.7;
}

.notice .small {
  font-size: 0.65rem;
  color: var(--faint);
  margin-top: 6px;
}

/* CTA */
.cta { margin-bottom: 56px; }

.cta-line {
  font-size: 0.76rem;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 14px;
}

.cta-phone {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.cta-phone a {
  color: var(--text);
  transition: color 0.5s ease;
}

.cta-phone a:hover { color: var(--accent); }

.cta-note {
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* More photos / video */
.more-photos {
  padding-top: 36px;
  border-top: 1px solid var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.photo-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.photo-thumb img,
.photo-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.photo-thumb:hover img,
.photo-thumb:hover video {
  transform: scale(1.04);
}

.photo-thumb.unavailable img {
  filter: saturate(0.4) brightness(0.7);
  transition: transform 1s var(--ease), filter 0.8s ease;
}

.photo-thumb.unavailable:hover img {
  filter: saturate(0.7) brightness(0.85);
}

/* Video play overlay in gallery */
.photo-thumb .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 13, 15, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.photo-thumb:hover .play-overlay { opacity: 1; }

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 13, 15, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent rgba(237, 233, 227, 0.85);
  margin-left: 3px;
}

/* Back bar */
.back-bar {
  padding: 36px 64px;
  border-top: 1px solid var(--muted);
}

.back-bar a {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.5s ease;
}

.back-bar a:hover { color: var(--dim); }
.back-bar a::before { content: '\2190  '; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.page {
  max-width: 580px;
  padding: 40px 48px 120px;
}

.page h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 40px;
}

.page p {
  margin-bottom: 16px;
}

.page strong {
  color: var(--text);
  font-weight: 400;
}

.page .gap { margin-bottom: 36px; }

body.about-page {
  color: var(--dim);
  font-size: 0.86rem;
  line-height: 1.9;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 48px 80px;
  min-height: 100vh;
}

body.contact-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.contact-headline {
  text-align: center;
  margin-bottom: 20px;
}

.contact-headline h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.contact-sub {
  text-align: center;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 72px;
  max-width: 400px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 820px;
  width: 100%;
  margin-bottom: 80px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 0.8s var(--ease) forwards;
}

.qr-card:nth-child(1) { animation-delay: 0.1s; }
.qr-card:nth-child(2) { animation-delay: 0.2s; }
.qr-card:nth-child(3) { animation-delay: 0.3s; }
.qr-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.qr-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.qr-frame:hover {
  border-color: rgba(237, 233, 227, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.qr-frame::before,
.qr-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--faint);
  border-style: solid;
  transition: border-color 0.6s ease;
  pointer-events: none;
}

.qr-frame::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.qr-frame::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 1px 1px 0;
}

.qr-frame:hover::before,
.qr-frame:hover::after {
  border-color: var(--dim);
}

.qr-frame img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.qr-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.qr-card:hover .qr-icon { opacity: 1; }

.qr-name {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.4s ease;
}

.qr-card:hover .qr-name { color: var(--text); }

.contact-divider {
  width: 48px;
  height: 1px;
  background: var(--muted);
  margin-bottom: 56px;
}

.contact-info { text-align: center; max-width: 480px; }

.contact-info .phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 28px;
  transition: color 0.4s ease;
}

.contact-info .phone:hover { color: var(--accent); }

.contact-locations {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 28px;
}

.contact-loc h3 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-loc span {
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.contact-hours {
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--muted);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}

.f-links {
  display: flex;
  gap: 24px;
}

.f-links a {
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.1em;
  transition: color 0.5s ease;
}

.f-links a:hover { color: var(--dim); }

/* ============================================
   FADE ANIMATION
   ============================================ */
.fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .profile-photo { position: relative; height: 80vh; }
  .profile-info { padding: 48px 32px 60px; border-left: none; border-top: 1px solid var(--muted); }
  .back-bar { padding: 28px 32px; }
}

@media (max-width: 768px) {
  nav { padding: 24px 20px; }
  .nav-r { gap: 18px; }
  .gallery { padding: 0 16px 100px; }
  .gallery-grid { gap: 2px; }
  .mid-line { padding: 60px 24px 80px; }
  .location { padding: 0 24px 80px; gap: 36px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 12px; }
  .page { padding: 32px 20px 80px; }
  .contact-page { padding: 120px 24px 60px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 360px; }
  .contact-sub { margin-bottom: 52px; }
  .contact-locations { gap: 28px; }
}

@media (max-width: 480px) {
  .nav-r { display: none; }
  .location { flex-direction: column; gap: 20px; }
  .profile-photo { height: 65vh; }
  .profile-info { padding: 36px 20px 48px; }
  .details { grid-template-columns: 1fr; }
  .detail:nth-child(even) { padding-left: 0; border-left: none; }
  .detail:nth-child(odd) { padding-right: 0; }
  .back-bar { padding: 24px 20px; }
  .qr-grid { gap: 24px; max-width: 300px; }
  .contact-locations { flex-direction: column; gap: 16px; }
}