/* ============================================================
   Villz · Signup Choice page styles
   ----------------------------------------------------------------
   Reads global Villz design tokens (--noir, --rose, --ivory, etc.)
   from your global stylesheet (villz-tokens.css). Each var() also
   carries a hardcoded fallback so the page still renders if the
   global tokens aren't loaded.

   Class names are scoped under .villz-choice and prefixed
   .villz-choice-* so they cannot collide with the logged-in app.
   ============================================================ */

/* Scoped reset */
.villz-choice,
.villz-choice *,
.villz-choice *::before,
.villz-choice *::after { box-sizing: border-box; }

/* Page shell */
.villz-choice {
  min-height: 100vh;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(201,161,122,0.08) 0%, transparent 70%),
    var(--noir, #0a0908);
  color: var(--ivory, #f4ede1);
  font-family: var(--font-sans, 'Inter', system-ui, -apple-system, sans-serif);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top bar */
.villz-choice-topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  border-bottom: 1px solid var(--line, #2a2520);
}
.villz-choice-mark-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.villz-choice-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  /* Replace with your Django static path:
     background-image: url("{% static 'images/villz-logo.jpg' %}"); */
  background-image: url('villz-logo.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rose-deep, #a07d5b);
}
.villz-choice-mark-word {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--rose, #c9a17a), var(--champagne, #e6cba8), var(--silver, #d8d4cc));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.villz-choice-step {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--ivory-mute, #6b6459);
  text-transform: uppercase;
}
.villz-choice-back {
  font-family: var(--font-sc, 'Cormorant SC', Georgia, serif);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ivory-mute, #6b6459);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s;
}
.villz-choice-back:hover { color: var(--rose, #c9a17a); }

/* Hero */
.villz-choice-hero {
  padding: 96px 64px 28px;
  text-align: center;
}
.villz-choice-eyebrow {
  font-family: var(--font-sc, 'Cormorant SC', Georgia, serif);
  font-weight: 500;
  letter-spacing: 0.5em;
  font-size: 11px;
  color: var(--rose, #c9a17a);
  text-transform: uppercase;
}
.villz-choice-h1 {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-size: 88px;
  line-height: 0.95;
  margin: 22px 0 16px;
}
.villz-choice-h1 em { font-style: italic; }
.villz-choice-tag {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory-dim, #aea79a);
  margin: 0 auto;
  max-width: 460px;
}

/* Toggle */
.villz-choice-toggle {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--line, #2a2520);
  padding: 6px;
  border-radius: 4px;
}
.villz-choice-toggle button {
  background: transparent;
  border: none;
  color: var(--ivory-dim, #aea79a);
  font-family: var(--font-sc, 'Cormorant SC', Georgia, serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.villz-choice-toggle button.is-active {
  background: linear-gradient(180deg, #221d18 0%, #14110e 100%);
  color: var(--champagne, #e6cba8);
  box-shadow: inset 0 0 0 1px var(--rose, #c9a17a);
}
.villz-choice-toggle button:not(.is-active):hover {
  color: var(--ivory, #f4ede1);
}

/* Card panel */
.villz-choice-cardwrap {
  margin-top: 56px;
  padding: 0 64px 80px;
  width: 100%;
  max-width: 560px;
}
.villz-choice-card {
  background: linear-gradient(180deg, #14110e 0%, #0c0a08 100%);
  border: 1px solid var(--rose-deep, #a07d5b);
  padding: 48px 40px 40px;
  position: relative;
  text-align: center;
}
.villz-choice-card .villz-choice-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--rose, #c9a17a);
}
.villz-choice-card .villz-choice-corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.villz-choice-card .villz-choice-corner.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.villz-choice-card .villz-choice-corner.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.villz-choice-card .villz-choice-corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.villz-choice-burst {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  color: var(--rose, #c9a17a);
  display: block;
}
.villz-choice-card-eyebrow {
  font-family: var(--font-sc, 'Cormorant SC', Georgia, serif);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--rose, #c9a17a);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.villz-choice-card-h {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ivory, #f4ede1);
}
.villz-choice-card-h em { font-style: italic; color: var(--rose, #c9a17a); }
.villz-choice-card-sub {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ivory-dim, #aea79a);
  margin: 0 auto 36px;
  max-width: 380px;
  line-height: 1.4;
}
.villz-choice-cta {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, #1a1714 0%, #0d0b09 100%);
  border: 1px solid var(--rose, #c9a17a);
  color: var(--champagne, #e6cba8);
  font-family: var(--font-sc, 'Cormorant SC', Georgia, serif);
  letter-spacing: 0.4em;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
}
.villz-choice-cta:hover {
  color: var(--ivory, #f4ede1);
  box-shadow: 0 0 32px rgba(201, 161, 122, 0.22);
  border-color: var(--champagne, #e6cba8);
}

/* Hide the inactive role's content */
.villz-choice[data-role="customer"] [data-role-content="artist"],
.villz-choice[data-role="artist"]   [data-role-content="customer"] {
  display: none;
}

/* Responsive */
@media (max-width: 960px) {
  .villz-choice-topbar { padding: 20px 32px; }
  .villz-choice-hero { padding: 64px 32px 20px; }
  .villz-choice-cardwrap { padding: 0 32px 64px; }
}

@media (max-width: 720px) {
  .villz-choice-topbar { padding: 20px 20px; flex-wrap: wrap; gap: 12px; }
  .villz-choice-hero { padding: 56px 20px 16px; }
  .villz-choice-h1 { font-size: 52px; }
  .villz-choice-tag { font-size: 18px; }
  .villz-choice-toggle button { padding: 12px 22px; letter-spacing: 0.32em; }
  .villz-choice-cardwrap { padding: 0 20px 56px; margin-top: 40px; }
  .villz-choice-card { padding: 36px 24px 28px; }
  .villz-choice-card-h { font-size: 32px; }
  .villz-choice-card-sub { font-size: 15px; }
}

/* Legal links — plain Privacy/Terms links at the bottom, on the dark bg. */
.villz-legal-foot {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.villz-legal-foot a,
.villz-legal-foot a:link,
.villz-legal-foot a:visited {
  color: var(--rose, #c9a17a);
  text-decoration: none;
  transition: color 0.2s ease;
}
.villz-legal-foot a:hover { color: var(--champagne, #e6cba8); }
.villz-legal-foot span { color: var(--ivory-mute, #6b6459); }
