@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/CormorantGaramond-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/CormorantGaramond-LightItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/CormorantGaramond-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/DMSans-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/DMSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/DMSans-Medium.woff2') format('woff2');
}


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

:root {
  --gold: #C8A96E;
  --gold-dim: #8A7249;
  --gold-bright: #E2C98A;
  --bg: #0C0B09;
  --bg2: #141310;
  --text: #F0EBE1;
  --text-dim: #7A7268;
  --text-muted: #3D3A34;
  --border: rgba(200, 169, 110, 0.18);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px 52px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
  animation: fadeUp 0.9s ease both;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--border);
  padding: 4px;
  background: var(--bg2);
}

.headline {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeUp 0.9s 0.1s ease both;
}

.headline h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 10px;
}

.headline h1 em {
  font-style: italic;
  color: var(--gold);
}

.headline .sub {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.15s ease both;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
}

.divider::before {
  background: linear-gradient(to right, transparent, var(--border));
}

.divider::after {
  background: linear-gradient(to left, transparent, var(--border));
}

.divider-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold-dim);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.videoBox {
  position: relative;
  width: 100%;
  
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  animation: fadeUp 0.9s 0.2s ease both;
}

.videoBox::before,
.videoBox::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}

.videoBox::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.videoBox::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.startOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: none;
  cursor: pointer;
  gap: 14px;
  z-index: 2;
  transition: background 0.25s;
}

.startOverlay:hover { background: rgba(12, 11, 9, 0.58); }
.startOverlay:hover .play-ring { border-color: var(--gold-bright); transform: scale(1.06); }
.startOverlay:hover .play-triangle { border-left-color: var(--gold-bright); }

.play-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 4px;
  transition: border-left-color 0.25s;
}

.startOverlay-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.startOverlay.hidden { display: none; }

.progress-wrap {
  width: 100%;
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.25s ease both;
}

.progress {
  width: 100%;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: visible;
}

.bar {
  height: 100%;
  background: linear-gradient(to right, var(--gold-dim), var(--gold));
  width: 0%;
  transition: width 0.4s linear;
  position: relative;
}

.bar::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  transition: opacity 0.3s;
}

.bar.active::after { opacity: 1; }

.msg {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
  min-height: 1.2em;
  transition: color 0.3s;
}

.msg.success { color: var(--gold); }

.btn-wrap {
  width: 100%;
  margin-top: 32px;
  animation: fadeUp 0.9s 0.3s ease both;
}

.btn {
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: not-allowed;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn:not(:disabled) {
  border-color: var(--gold-dim);
  color: var(--gold);
  cursor: pointer;
  animation: btnReveal 0.5s ease both;
}

.btn:not(:disabled):hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(200,169,110,0.06);
}

.btn:not(:disabled):active { transform: scale(0.985); }

.footer-note {
  margin-top: 36px;
  text-align: center;
  animation: fadeUp 0.9s 0.35s ease both;
}

.footer-note p {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.footer-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.footer-dots span:nth-child(2) { background: var(--gold-dim); }

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

@keyframes btnReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
  .wrap { padding: 36px 20px 44px; }
  .headline h1 { font-size: 2.4rem; }
}

/* ── email capture + TOS ── */
.email-wrap {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.9s 0.28s ease both;
}

.email-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg2);
  border: 1px solid var(--border-dim);
  border-radius: 2px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}

.email-input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.email-input:focus {
  border-color: var(--gold-dim);
}

.tos-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.tos-check {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1px solid var(--text-muted);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.tos-check:checked {
  border-color: var(--gold-dim);
  background: var(--gold-dim);
}

.tos-check:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 12px;
  border: 2px solid var(--bg);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.tos-label span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.tos-link {
  color: var(--gold-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(138,114,73,0.3);
}

/* play button disabled state */
.startOverlay:disabled {
  cursor: not-allowed;
}

.startOverlay:disabled .play-ring {
  border-color: var(--text-muted);
}

.startOverlay:disabled .play-triangle {
  border-left-color: var(--text-muted);
}

.startOverlay:disabled .startOverlay-label {
  color: var(--text-muted);
}

.startOverlay:disabled:hover .play-ring {
  transform: none;
  border-color: var(--text-muted);
}

.tos-label {
  min-height: 44px;
}

.tos-label span {
  font-size: 0.75rem;
}

/* ── TOS modal ── */
.tos-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}

.tos-modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tos-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-dim);
  flex-shrink: 0;
}

.tos-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
}

.tos-modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.tos-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

.tos-modal-body p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.tos-modal-body strong {
  color: var(--text);
  font-weight: 500;
}

.tos-modal-fine {
  font-size: 0.65rem !important;
  color: var(--text-muted) !important;
  margin-top: 8px;
}

.tos-modal-accept {
  margin: 0;
  padding: 16px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.tos-modal-accept:hover {
  background: rgba(200,169,110,0.06);
}
