/* ============================================================
   VIRTUAL SALES ELITE — Design System
   Palette: espresso -> coffee -> camel -> cream -> white
   Display: Zilla Slab (strong, institutional, NOT delicate)
   Body: Inter (maximum readability)
   Label/mono: IBM Plex Mono (dossier / intake-form signature)
   ============================================================ */

:root {
  --espresso: #17110D;
  --coffee: #3D2B1F;
  --coffee-light: #5A4433;
  --camel: #B08652;
  --camel-bright: #C89B67;
  --cream: #F5EFE5;
  --white: #FFFFFF;
  --ink: #201810;
  --ink-soft: #4A3E33;
  --line: rgba(32, 24, 16, 0.14);
  --line-dark: rgba(245, 239, 229, 0.18);

  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--camel-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--camel-bright);
  display: inline-block;
}
.section-light .eyebrow,
.section-cream .eyebrow {
  color: var(--coffee);
}
.section-light .eyebrow::before,
.section-cream .eyebrow::before {
  background: var(--coffee);
}

/* ---------- Header / Badge ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--espresso);
  border-bottom: 1px solid var(--line-dark);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
}
.badge {
  width: 42px;
  height: 42px;
  background: var(--camel);
  color: var(--espresso);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.wordmark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
}
.wordmark span {
  display: block;
  font-size: 10px;
  color: var(--camel-bright);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--camel);
  color: var(--espresso);
}
.btn-primary:hover { background: var(--camel-bright); }
.btn-primary:disabled {
  background: var(--ink-soft);
  color: rgba(245,239,229,0.5);
  cursor: not-allowed;
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-dark);
}
.btn-outline:hover { border-color: var(--camel-bright); color: var(--camel-bright); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 16px 28px;
}
.btn-ghost:hover { border-color: var(--coffee); }
.btn-block { width: 100%; }
:focus-visible {
  outline: 2px solid var(--camel-bright);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--espresso);
  color: var(--cream);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "V";
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 62vw;
  line-height: 1;
  color: rgba(176, 134, 82, 0.05);
  right: -8vw;
  top: -18vw;
  pointer-events: none;
  user-select: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin-top: 22px;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--camel-bright);
}
.hero p.lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(245,239,229,0.82);
  margin-top: 22px;
  max-width: 560px;
  font-weight: 400;
}
.hero .cta-row { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .cta-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245,239,229,0.55);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--espresso); color: var(--cream); }
.section-coffee { background: var(--coffee); color: var(--cream); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 18px;
}
.section-dark .section-head h2,
.section-coffee .section-head h2 { color: var(--white); }

/* Three-column "The Work / Training / Standard" */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.grid-3 > div {
  padding: 34px 30px 34px 0;
  border-right: 1px solid var(--line);
}
.grid-3 > div:last-child { border-right: none; }
.grid-3 h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.grid-3 p { color: var(--ink-soft); font-size: 15.5px; }
.grid-3 .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--camel);
  font-weight: 600;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}
.transparency-tag {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coffee);
}
.transparency-tag::before {
  content: "— ";
  color: var(--camel);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line-dark);
}
.faq-item {
  border-bottom: 1px solid var(--line-dark);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--camel-bright);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0 26px;
  color: rgba(245,239,229,0.75);
  font-size: 15.5px;
  max-width: 640px;
}

/* Process (numbered, dark) */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 10px;
}
.process-item {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}
.process-item .step-num {
  font-family: var(--font-mono);
  color: var(--camel-bright);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.process-item h3 {
  color: var(--white);
  font-size: 20px;
  margin: 10px 0 10px;
}
.process-item p { color: rgba(245,239,229,0.72); font-size: 15px; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 100px 0;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 26px; }
.cta-band .wrap { max-width: 640px; }

footer.site-footer {
  background: var(--espresso);
  color: rgba(245,239,229,0.5);
  padding: 34px 0;
  font-size: 13px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer .badge { width: 28px; height: 28px; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }

/* ============================================================
   APPLICATION FORM (apply.html)
   ============================================================ */
.apply-shell {
  background: var(--cream);
  min-height: 100vh;
}
.apply-header {
  padding: 40px 0 0;
}
.progress-rail {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 30px;
  margin-bottom: 50px;
}
.progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.progress-step .dot {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cream);
  transition: all 0.2s ease;
}
.progress-step.active .dot,
.progress-step.done .dot {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--cream);
}
.progress-step .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: none;
}
.progress-step.active .label { color: var(--ink); font-weight: 600; }
.progress-step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 8px;
}
@media (min-width: 640px) {
  .progress-step .label { display: block; }
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px clamp(22px, 5vw, 56px);
  max-width: 720px;
  margin: 0 auto 100px;
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--camel);
  font-weight: 600;
}
.form-panel h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 10px 0 8px;
}
.form-panel .step-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 34px;
}

.form-step { display: none; }
.form-step.active { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field label .req { color: var(--camel); }
.field input,
.field select {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201810'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input:focus,
.field select:focus {
  border-color: var(--coffee);
  background: var(--white);
}
.field-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A6432F;
  margin-top: 7px;
  display: none;
}
.field.invalid input,
.field.invalid select { border-color: #A6432F; }
.field.invalid .field-error { display: block; }

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 16px;
}

/* Calendly step */
.calendly-note {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.calendly-note .status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #A6432F;
  flex-shrink: 0;
}
.calendly-note.confirmed .status-dot { background: #3E7A4C; }
.calendly-note.confirmed { color: var(--ink); font-weight: 500; }
.calendly-embed-wrap {
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > div { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .grid-3 > div:last-child { border-bottom: none; }
  .process-list { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thanks-hero {
  background: var(--espresso);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.thanks-check {
  font-family: var(--font-mono);
  color: var(--camel-bright);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.thanks-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 50px);
  margin-top: 16px;
}
.thanks-hero > .wrap > p {
  color: rgba(245,239,229,0.78);
  font-size: 17px;
  max-width: 560px;
  margin-top: 18px;
}
.discord-panel {
  margin-top: 52px;
  background: var(--coffee);
  border: 1px solid var(--line-dark);
  padding: 40px clamp(20px, 4vw, 48px);
  max-width: 640px;
}
.discord-panel .eyebrow { color: var(--camel-bright); }
.discord-panel .eyebrow::before { background: var(--camel-bright); }
.discord-panel h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 28px);
  margin: 14px 0 16px;
}
.discord-panel p {
  color: rgba(245,239,229,0.85);
  font-size: 15.5px;
  margin-bottom: 10px;
}
.discord-panel .free-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--espresso);
  background: var(--camel-bright);
  padding: 4px 10px;
  margin: 4px 0 22px;
  font-weight: 700;
}
