/* Layout: the reference funnel's structure (pill, heavy headline with a highlighted claim, framed video, glowing pill CTA) on black, in The Called's carved-silver metal. Single dark look. */
:root {
  --ink: #050505;
  --panel: #0f0f10;
  --edge: #2b2a27;
  --text: #f4f3ef;
  --soft: #a7a39b;
  --note: #e3bd62;
  --note-bg: #231d10;
  --metal: linear-gradient(180deg, #fbfaf7 0%, #d4d0c8 40%, #9b978f 56%, #e4e1da 100%);
  --metal-flat: #cfcbc3;
  --glow: rgba(225, 220, 208, .28);
  --display: "Archivo", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --mark: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  color-scheme: dark;
}
:root[data-accent="gold"] {
  --metal: linear-gradient(180deg, #f9e7a6 0%, #e3c068 42%, #b58a2f 58%, #f1d488 100%);
  --metal-flat: #e3c068;
  --glow: rgba(227, 192, 104, .35);
  --tcvsl-edge: #6b5524;
  --tcvsl-glow: rgba(227, 192, 104, .25);
  --tcvsl-over: rgba(214, 176, 82, .78);
}
* { box-sizing: border-box; }
body { margin: 0; }
body {
  background: radial-gradient(ellipse 90% 50% at 50% 0%, #1b1b1d 0%, var(--ink) 70%) var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }

/* ---------- funnel page ---------- */
.page { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 860px; margin: 0 auto; padding-block: 30px 60px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.wordmark { display: inline-grid; justify-items: center; line-height: .9; }
.wordmark span { font-family: var(--mark); font-weight: 700; background: linear-gradient(180deg, #fbfaf7 0%, #d4d0c8 40%, #9b978f 56%, #e4e1da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.8)); }
.wordmark .the { font-size: 13px; letter-spacing: .32em; padding-left: .32em; }
.wordmark .called { font-size: 34px; letter-spacing: .06em; }

.pill { display: inline-block; font-size: clamp(11px, 1.7vw, 14px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--metal-flat); padding: 8px 18px; border-radius: 999px; border: 1px solid #3a3833; background: rgba(255,255,255,.04); max-width: 100%; }
h1 { margin: 0; font-weight: 900; font-size: clamp(30px, 5.6vw, 52px); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; color: var(--text); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
h1 .hl { display: inline-block; margin-top: .12em; padding: .02em .22em .06em; border-radius: 8px; background: var(--metal); color: #0d0d0e; text-shadow: none; box-shadow: 0 8px 28px -6px var(--glow); }
.sub { margin: 0; font-size: clamp(14px, 1.9vw, 17px); font-weight: 700; color: var(--metal-flat); max-width: 52ch; }
h2 { margin: 0; font-weight: 900; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h2 .lit { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
.video-slot { width: 100%; }
.tella-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid #2f2d29; }
.tella-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cta { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: min(100%, 360px); padding: 18px 34px; border-radius: 999px; background: var(--metal); color: #0d0d0e; font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25), 0 0 34px -6px var(--glow), 0 12px 28px -12px rgba(0,0,0,.9); }
.cta svg { width: 20px; height: 20px; flex: none; }
.cta:hover { filter: brightness(1.06); }
.cta:disabled { opacity: .35; cursor: not-allowed; filter: none; }
.under { font-size: 14px; font-weight: 700; color: #c9c6bf; margin-top: -8px; }
.muted { color: var(--soft); font-size: 14px; }

/* ---------- typeform-style form ---------- */
.formcard { width: 100%; max-width: 520px; text-align: left; border: 1px solid #2f2d29; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 24px 60px -24px rgba(0,0,0,.9); }
.formcard .prog { height: 4px; background: #1b1b1c; }
.formcard .prog i { display: block; height: 100%; width: 0; background: var(--metal); transition: width .3s ease; }
.photo { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #1c1c1f, #0b0b0c 60%), #111; color: #77736c; font-size: 13px; border-bottom: 1px solid #1f1e1c; padding: 16px; }
.slide { padding: 26px 26px 24px; display: grid; gap: 16px; }
.slide[hidden] { display: none; }
.slide .qn { font-size: 13px; font-weight: 700; color: var(--metal-flat); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.slide .q { font-size: clamp(20px, 3vw, 25px); font-weight: 600; line-height: 1.25; color: var(--text); letter-spacing: -.01em; }
.slide .ps { font-size: 14px; color: #bdb9b1; }
.slide .ps em { color: var(--text); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field textarea { width: 100%; font-size: 17px; color: var(--text); background: transparent; border: 0; border-bottom: 2px solid #3a3833; border-radius: 0; padding: 8px 2px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--metal-flat); }
.field textarea { min-height: 90px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5e5a54; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 12px; line-height: 1.5; color: var(--soft); align-items: start; }
.consent input { margin-top: 2px; accent-color: var(--metal-flat); }
.choices { display: grid; gap: 8px; }
.choice { appearance: none; cursor: pointer; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; text-align: left; padding: 11px 12px; border-radius: 6px; border: 1px solid #3a3833; background: rgba(255,255,255,.03); color: var(--text); font-size: 15px; font-weight: 500; }
.choice b { width: 26px; height: 26px; border-radius: 4px; border: 1px solid #4a4740; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--metal-flat); }
.choice:hover { border-color: #6a665e; }
.choice[aria-pressed="true"] { border-color: var(--metal-flat); background: rgba(255,255,255,.08); }
.scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.scale .choice { grid-template-columns: 1fr; justify-items: center; padding: 12px 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--soft); }
.go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-y { appearance: none; border: 0; cursor: pointer; padding: 12px 26px; border-radius: 6px; background: var(--metal); color: #0d0d0e; font-weight: 800; font-size: 16px; }
.btn-y.full { width: 100%; padding: 14px; }
.hint { font-size: 12px; color: #77736c; }
.back { appearance: none; border: 0; background: none; color: var(--soft); cursor: pointer; font-size: 13px; padding: 0; justify-self: start; }
.err { color: #f08a7a; font-size: 13px; }

/* ---------- booking ---------- */
.cal { width: 100%; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border: 1px solid #2f2d29; border-radius: 12px; overflow: hidden; background: var(--panel); scroll-margin-top: 80px; }
.cal .info { padding: 24px; border-right: 1px solid var(--edge); display: grid; gap: 12px; align-content: start; }
.cal .pick { padding: 24px; display: grid; gap: 16px; align-content: start; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day, .slot { appearance: none; cursor: pointer; border: 1px solid var(--edge); background: #070707; color: var(--text); border-radius: 6px; }
.day { padding: 8px 0; display: grid; gap: 2px; justify-items: center; }
.day small { font-size: 11px; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.day b { font-size: 17px; font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { border-color: var(--metal-flat); background: #1d1d1f; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 10px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.slot[aria-pressed="true"] { background: var(--metal); color: #0d0d0e; border-color: transparent; font-weight: 800; }
.steps-next { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: n; }
.steps-next li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14px; counter-increment: n; }
.steps-next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; border: 1px solid #4a4740; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--metal-flat); }
.steps-next li span { display: block; color: var(--soft); font-size: 13px; }

/* ---------- confirmed + not a fit ---------- */
.phone { font-size: clamp(26px, 4.4vw, 38px); font-weight: 900; letter-spacing: .02em; font-variant-numeric: tabular-nums; user-select: all; }
.check { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 440px; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; }
.check li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 4px; border: 2px solid var(--metal-flat); }
.res { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.res div { padding: 18px; border: 1px solid var(--edge); border-radius: 10px; background: var(--panel); display: grid; gap: 6px; align-content: start; }
.res p { font-size: 14px; color: var(--soft); }
.proof { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proof figure { margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border: 1px dashed #34322e; border-radius: 10px; display: grid; place-items: center; padding: 12px; font-size: 13px; color: #6d6a63; }

.legal { width: 100%; border-top: 1px solid var(--edge); padding-top: 20px; margin-top: 10px; display: grid; gap: 8px; font-size: 12px; color: #6c6962; text-align: center; }
.legal .links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; color: var(--soft); }

@media (max-width: 720px) {
  .cal { grid-template-columns: minmax(0, 1fr); }
  .cal .info { border-right: 0; border-bottom: 1px solid var(--edge); }
  .res, .proof { grid-template-columns: minmax(0, 1fr); }
  .proof figure { aspect-ratio: 16 / 7; }
  .scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .slide { padding: 22px 18px; }
}
@media (max-width: 420px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .view:not([hidden]) .wrap { animation: rise .3s ease-out both; }
  @keyframes rise { from { opacity: .5; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---------- production-only ---------- */
.draft-banner { background: #3a2f12; color: #f6d68b; font-size: 13px; text-align: center; padding: 6px 12px; }
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.err[hidden] { display: none; }
.cal-embed { width: 100%; max-width: 100%; border: 1px solid #2f2d29; border-radius: 12px; overflow: hidden; background: var(--panel); min-height: 120px; scroll-margin-top: 16px; }
.cal-embed .calendly-inline-widget { min-width: 320px; height: 720px; }
.cal-missing { padding: 28px; color: var(--soft); text-align: center; }
.disabled-cta { opacity: .5; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prose { max-width: 62ch; text-align: left; display: grid; gap: 12px; color: var(--soft); font-size: 15px; }
.prose h3 { color: var(--text); margin-top: 8px; }
.prose p { margin: 0; }

.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
