/* Dynasty 2027 — Site styles */

@import url('design-system/colors_and_type.css');

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

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

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

button { font-family: inherit; cursor: pointer; }

/* Display utility */
.display, .h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  transform: skewX(-8deg);
  transform-origin: left baseline;
  display: inline-block;
}

.upright { transform: none !important; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dyn-coral);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  font-style: normal;
}

.script-hand {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.1;
}

/* Diamond rotation animation */
@keyframes dyn-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes dyn-rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dyn-pulse {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.12; }
}
@keyframes dyn-flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: 0.85; }
  6% { opacity: 1; }
  9% { opacity: 0.95; }
  12% { opacity: 1; }
}
@keyframes spotlight-sweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-up 480ms cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 2px;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--dyn-yellow);
  color: var(--dyn-deep-teal);
}
.btn-primary:hover { background: #E8B900; }

.btn-secondary {
  background: transparent;
  color: var(--dyn-white);
  border: 1.5px solid var(--dyn-white);
}
.btn-secondary:hover {
  border-color: var(--dyn-coral);
  color: var(--dyn-coral);
}

.btn-coral {
  background: var(--dyn-coral);
  color: var(--dyn-deep-teal);
}
.btn-coral:hover { background: #E85A4E; }

.btn-ghost {
  background: transparent;
  color: var(--dyn-yellow);
  border: 1px solid rgba(255,203,10,0.35);
}
.btn-ghost:hover { color: var(--dyn-white); border-color: var(--dyn-white); }

.btn-lg { padding: 18px 32px; font-size: 14px; min-height: 56px; }
.btn-sm { padding: 10px 18px; font-size: 11px; min-height: 36px; }

/* Status pill — TBC, COMING SOON, CONFIRMED */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.24em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: dyn-pulse 2s infinite;
  opacity: 0.85;
}
.status-tbc { color: var(--dyn-coral); }
.status-confirmed { color: var(--dyn-lime); }
.status-soon { color: var(--dyn-yellow); }

/* Hairline divider */
.hairline {
  height: 1px;
  background: rgba(255,255,255,0.14);
  width: 100%;
  border: 0;
  margin: 0;
}

/* Section labels (numbered) */
.section-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dyn-coral);
}

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  animation: marquee-scroll 40s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Page transitions */
.page { animation: fade-up 480ms cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--dyn-yellow);
  outline-offset: 3px;
}

/* Selection */
::selection { background: var(--dyn-coral); color: var(--dyn-deep-teal); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #001518; }
::-webkit-scrollbar-thumb { background: var(--dyn-teal); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--dyn-teal-700); }

/* Form inputs */
.input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--dyn-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 2px;
  transition: all 220ms;
}
.input:focus {
  outline: none;
  border-color: var(--dyn-yellow);
  background: rgba(255,255,255,0.06);
}
.input::placeholder { color: rgba(255,255,255,0.35); }

.input-label {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dyn-teal-200);
  margin-bottom: 8px;
  display: block;
}

/* Card */
.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: all 220ms;
}
.card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.16);
}

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 700px) {
  .container { padding: 0 24px; }
}

/* Spotlights — gobos / theatrical */
.spotlight {
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.4;
}

/* Section spacing */
.section { padding: 120px 0; }
@media (max-width: 700px) {
  .section { padding: 80px 0; }
}

/* Hide scrollbar for hero scrollers */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* ── SCROLL REVEALS ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
