:root {
  --bg-obsidian: #080808;
  --gold-primary: #D4AF37;
  --gold-bright: #EAD17A;
  --gold-muted: rgba(212, 175, 55, 0.36);
  --gold-hairline: rgba(212, 175, 55, 0.16);
  --gold-glow: rgba(212, 175, 55, 0.09);

  --ivory-primary: #F5F2EB;
  --ivory-secondary: rgba(245, 242, 235, 0.76);
  --ivory-muted: rgba(245, 242, 235, 0.44);
  --ivory-subtle: rgba(245, 242, 235, 0.24);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-obsidian);
  color: var(--ivory-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(212, 175, 55, 0.25);
  color: var(--ivory-primary);
}

/* =========================================================
   Pure CSS Ambient Golden Glow & Film Grain Texture
   ========================================================= */
.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-obsidian);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.glow-primary {
  width: min(76vw, 780px);
  height: min(76vw, 780px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.095) 0%,
    rgba(181, 142, 42, 0.045) 42%,
    rgba(8, 8, 8, 0) 72%
  );
  animation: driftPrimary 22s ease-in-out infinite alternate;
}

.glow-secondary {
  width: min(60vw, 620px);
  height: min(60vw, 620px);
  top: 58%;
  left: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(234, 209, 122, 0.055) 0%,
    rgba(212, 175, 55, 0.025) 48%,
    rgba(8, 8, 8, 0) 75%
  );
  animation: driftSecondary 28s ease-in-out infinite alternate;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 35%,
    rgba(8, 8, 8, 0.65) 85%,
    #080808 100%
  );
}

/* Pure CSS Inline SVG Film Grain */
.film-grain {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  opacity: 0.036;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 8s steps(6) infinite;
}

/* Couture Architectural Hairline Frame */
.editorial-frame {
  position: fixed;
  inset: clamp(12px, 2.4vmin, 28px);
  border: 1px solid rgba(212, 175, 55, 0.11);
  pointer-events: none;
  z-index: 1;
}

.editorial-frame::before,
.editorial-frame::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.editorial-frame::before {
  top: -1px;
}

.editorial-frame::after {
  bottom: -1px;
}

/* =========================================================
   Full-Viewport Layout Shell (Zero Overflow Guaranteed)
   ========================================================= */
.page-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding:
    calc(clamp(22px, 4.5vh, 48px) + env(safe-area-inset-top, 0px))
    clamp(20px, 5vw, 56px)
    calc(clamp(20px, 4vh, 42px) + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

/* =========================================================
   Top Status Bar & Breathing Gold Dot
   ========================================================= */
.top-bar {
  align-self: start;
  display: flex;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.012);
  backdrop-filter: blur(4px);
}

.breathing-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
  animation: breatheDot 3.4s ease-in-out infinite;
}

.breathing-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  animation: pulseRing 3.4s ease-out infinite;
}

.status-text {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--ivory-muted);
}

/* =========================================================
   Centerpiece Hero
   ========================================================= */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  width: 100%;
}

.subtitle-gold {
  font-family: var(--font-sans);
  font-size: clamp(0.66rem, 1.1vw, 0.8rem);
  font-weight: 400;
  letter-spacing: clamp(0.28em, 0.8vw, 0.44em);
  padding-left: clamp(0.28em, 0.8vw, 0.44em);
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-top: clamp(14px, 2.4vh, 24px);
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 6.8vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: clamp(0.16em, 0.6vw, 0.28em);
  padding-left: clamp(0.16em, 0.6vw, 0.28em);
  color: var(--ivory-primary);
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.36em;
  row-gap: 0.08em;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.75);
}

.brand-word {
  display: inline-block;
}

.brand-word-light {
  font-weight: 300;
  color: rgba(245, 242, 235, 0.92);
}

/* Animated Hairline Progress Bar */
.luxury-divider {
  width: clamp(140px, 24vw, 240px);
  margin: clamp(22px, 3.8vh, 38px) auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.16);
  overflow: hidden;
}

.progress-gleam {
  position: absolute;
  top: 0;
  left: -55%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.75) 45%,
    var(--gold-bright) 50%,
    rgba(212, 175, 55, 0.75) 55%,
    transparent 100%
  );
  animation: shimmerLine 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.15vw, 0.82rem);
  font-weight: 300;
  letter-spacing: clamp(0.2em, 0.55vw, 0.34em);
  padding-left: clamp(0.2em, 0.55vw, 0.34em);
  line-height: 1.7;
  color: var(--ivory-secondary);
  text-transform: uppercase;
  max-width: 90vw;
}

/* =========================================================
   Business & Casting Inquiries Section
   ========================================================= */
.inquiries-section {
  position: relative;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 16px);
  width: 100%;
}

.inquiries-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.inquiries-title {
  font-size: clamp(0.62rem, 0.95vw, 0.7rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.inquiries-subtitle {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: var(--ivory-muted);
}

.copy-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-button {
  appearance: none;
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.26);
  color: var(--ivory-primary);
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  padding: 11px 22px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition:
    border-color 0.4s var(--ease-luxury),
    background-color 0.4s var(--ease-luxury),
    box-shadow 0.4s var(--ease-luxury),
    transform 0.3s var(--ease-luxury);
}

.email-button:hover {
  border-color: rgba(212, 175, 55, 0.68);
  background: rgba(212, 175, 55, 0.075);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.12);
}

.email-button:active {
  transform: translateY(1px);
}

.email-button:focus-visible {
  outline: 1px solid var(--gold-primary);
  outline-offset: 4px;
}

.email-button.is-copied {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.11);
}

.email-address {
  color: var(--ivory-primary);
  transition: color 0.3s ease;
}

.email-button:hover .email-address {
  color: #FFFFFF;
}

.email-icon-box {
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.28s var(--ease-luxury), transform 0.28s var(--ease-luxury);
}

.icon-copy {
  opacity: 0.88;
  transform: scale(1);
}

.icon-check {
  opacity: 0;
  transform: scale(0.65);
}

.email-button.is-copied .icon-copy {
  opacity: 0;
  transform: scale(0.65);
}

.email-button.is-copied .icon-check {
  opacity: 1;
  transform: scale(1);
}

/* Floating Confirmation Toast */
.copy-toast {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 6px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 2px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  padding-left: calc(14px + 0.18em);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  transition:
    opacity 0.32s var(--ease-luxury),
    transform 0.32s var(--ease-luxury),
    visibility 0.32s;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
}

.legal-footer {
  margin-top: clamp(2px, 0.8vh, 6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.company-legal {
  font-family: var(--font-sans);
  font-size: clamp(0.76rem, 1.05vw, 0.88rem);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(245, 242, 235, 0.54);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0.45em;
  row-gap: 2px;
}

.company-name {
  font-size: 1em;
  letter-spacing: 0.1em;
}

/* 60% smaller than company name (40% = 0.4em) */
.company-reg {
  font-size: 0.4em;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 235, 0.5);
  white-space: nowrap;
}

.copyright {
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  color: var(--ivory-subtle);
}

/* =========================================================
   Entrance Reveal & Ambient Keyframes
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 1.1s var(--ease-luxury) forwards;
}

.reveal-1 { animation-delay: 0.10s; }
.reveal-2 { animation-delay: 0.24s; }
.reveal-3 { animation-delay: 0.38s; }
.reveal-4 { animation-delay: 0.54s; }
.reveal-5 { animation-delay: 0.68s; }
.reveal-6 { animation-delay: 0.84s; }

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

@keyframes driftPrimary {
  0% {
    transform: translate(-53%, -52%) scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: translate(-47%, -48%) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate(-51%, -46%) scale(0.99);
    opacity: 0.88;
  }
}

@keyframes driftSecondary {
  0% {
    transform: translate(-44%, -54%) scale(1.04);
    opacity: 0.7;
  }
  100% {
    transform: translate(-56%, -45%) scale(0.94);
    opacity: 0.95;
  }
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-3%, -1%); }
  80% { transform: translate(1%, 3%); }
}

@keyframes shimmerLine {
  0% {
    left: -55%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes breatheDot {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.65;
  }
  75%, 100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

/* =========================================================
   Responsive Tuning (Compact Mobile & Short Viewports)
   ========================================================= */
@media (max-width: 480px) {
  .brand-title {
    flex-direction: column;
    gap: 0.08em;
    font-size: clamp(2.1rem, 10.5vw, 2.85rem);
    letter-spacing: 0.22em;
    padding-left: 0.22em;
  }

  .subtitle-gold {
    font-size: 0.62rem;
    letter-spacing: 0.26em;
    padding-left: 0.26em;
    margin-top: 12px;
  }

  .tagline {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    padding-left: 0.18em;
    max-width: 280px;
  }

  .email-button {
    padding: 10px 18px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }
}

@media (max-height: 680px) {
  .page-shell {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .luxury-divider {
    margin: 14px auto;
  }

  .subtitle-gold {
    margin-top: 10px;
  }

  .inquiries-section {
    gap: 7px;
  }

  .legal-footer {
    margin-top: 2px;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .film-grain,
  .progress-gleam,
  .breathing-dot,
  .breathing-dot::after,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .progress-gleam {
    left: 22.5%;
  }
}
