/* ===================== Tokens ===================== */
:root {
  --bg: #0b0c0e;
  --bg-elevated: #131518;
  --bg-alt: #121316;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(201, 162, 75, 0.35);
  --text: #efe9de;
  --text-muted: #a8a29a;
  --text-dim: #726e68;
  --gold: #c9a24b;
  --gold-bright: #e3c583;
  --gold-soft: rgba(201, 162, 75, 0.12);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1140px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-bright); }

::selection { background: var(--gold); color: #0b0c0e; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 760px; }

/* ===================== Eyebrow / labels ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo:hover { color: var(--text); }
.logo-mark { color: var(--gold); flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.main-nav .btn-nav-mobile { display: none; }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #14120b;
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #14120b;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}
.btn-link::after { content: '→'; transition: transform 0.2s var(--ease); }
.btn-link:hover::after { transform: translateX(4px); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 150px 0 110px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 162, 75, 0.14), transparent 70%),
    linear-gradient(180deg, #0b0c0e 0%, #0b0c0e 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,75,0.05) 0, rgba(201,162,75,0.05) 1px, transparent 1px, transparent 120px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 96px 0 56px;
  position: relative;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.08rem; max-width: 620px; }

/* ===================== Sections ===================== */
.section { padding: 90px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.pitch {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-style: italic;
  text-align: center;
  color: var(--text);
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto;
}

.divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
  margin: 0 auto;
}

/* ===================== Value / feature cards ===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.value-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: background 0.25s var(--ease);
}
.value-card:hover { background: var(--bg-elevated); }
.value-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 22px;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.value-card p { color: var(--text-muted); font-size: 0.96rem; }

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: item;
}
.values-list li {
  counter-increment: item;
  position: relative;
  padding: 22px 0 22px 56px;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text);
}
.values-list li:first-child { padding-top: 0; }
.values-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ===================== Cards (curator, notices) ===================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.card-gold-border { border-color: var(--border-gold); }

.curator-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px;
}
.curator-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.curator-icon svg { width: 26px; height: 26px; }

/* ===================== Stat strip ===================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.stat-strip .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================== Steps / timeline ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  position: relative;
  padding: 0 24px 0 0;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 0;
  width: 24px;
  height: 1px;
  background: var(--border-gold);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* ===================== Pricing ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.price-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, var(--gold-soft), transparent 60%), var(--surface);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 40px;
  background: var(--gold);
  color: #14120b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.price-card .price-tier {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.price-card .price-amount {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: 4px;
}
.price-card .price-amount span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.price-card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}
.price-card ul li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

.price-list { list-style: none; padding: 0; }
.price-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

/* ===================== FAQ accordion ===================== */
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 32px 24px 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 32px 26px 0;
  margin: 0;
  max-width: 640px;
}

/* ===================== CTA ===================== */
.cta-section {
  text-align: center;
  position: relative;
}
.cta-section p {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,162,75,0.1), transparent 70%);
}
.cta-band .cta-content { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 480px; margin: 0 auto 32px; }

/* ===================== Forms ===================== */
.apply-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  background: var(--surface);
}
.apply-form legend {
  padding: 0 12px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.apply-form label {
  display: block;
  margin: 18px 0 7px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.apply-form input[type="text"],
.apply-form input[type="date"],
.apply-form input[type="file"],
.apply-form textarea,
.apply-form select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease);
}
.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.apply-form textarea { resize: vertical; }
.apply-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a24b' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  margin: 12px 0;
  cursor: pointer;
}
.checkbox-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 6px 0 0;
}

.form-errors {
  background: rgba(190, 70, 60, 0.08);
  border: 1px solid rgba(190, 70, 60, 0.35);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.form-errors p { color: var(--text); margin-bottom: 6px; }
.form-errors ul { margin: 8px 0 0; padding-left: 20px; color: #d99; }

/* ===================== Footer ===================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  background: var(--bg-elevated);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  max-width: 280px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-nav a { color: var(--text-muted); font-size: 0.94rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-note {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================== Entrance animation ===================== */
/* Pure CSS, runs once on page load — never tied to scroll position or JS,
   so a section can never be stuck invisible (blocked script, no-JS,
   instant scroll, screenshot tools, etc.). It always finishes at opacity:1. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: fadeUp 0.7s var(--ease) both;
  }
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .step:nth-child(2)::after { display: none; }
  .stat-strip { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 80px; }
  .header-inner { padding: 16px 20px; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 96px 24px 32px;
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a { padding: 14px 0; width: 100%; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .main-nav a.btn-nav-mobile {
    margin-top: 16px;
    padding: 14px 26px;
    border-bottom: none;
    color: #14120b;
    text-align: center;
    justify-content: center;
  }
  .main-nav.open { display: flex; }
  body.nav-open { overflow: hidden; }
  .main-nav .btn-nav-mobile { display: inline-flex; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .curator-card { flex-direction: column; }
}
