/* Find your dragon. Painting, type, and the dragon row follow the CSL home and /list. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 97%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --bg: #0b0b0d;
  --ink: #ffffff;
  --soft: rgba(255,255,255,.76);
  --dim: rgba(255,255,255,.62);
  --hair: rgba(255,255,255,.12);
  --gold: #e6c478;
  --gold-hot: #f2d48e;
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: linear(0, 0.36 8%, 0.82 18%, 1.08 28%, 1.12 34%, 1.04 46%, 0.99 58%, 1 100%);
  --shell: min(1120px, calc(100% - 36px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-hot); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.shell { width: var(--shell); margin-inline: auto; }
[hidden] { display: none !important; }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 18px 28px; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.painted .layer { position: absolute; inset: 0; overflow: hidden; }
.painted .layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 38%; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.035); } to { transform: scale(1); } }
.painted.still .layer img { animation: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6,6,8,.92) 0%, rgba(6,6,8,.55) 32%, rgba(6,6,8,.12) 58%, rgba(6,6,8,.46) 100%),
    radial-gradient(80% 70% at 80% 100%, rgba(6,6,8,.45), transparent 60%); }
.hero-top, .hero-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 24px; }
.hero-top { align-items: flex-start; }
.hero-bottom { flex-direction: column; align-items: stretch; margin-top: auto; padding-top: 72px; gap: 20px; }
.who-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.who-role { font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--soft); }
.title-block { max-width: none; }
.kicker { margin: 0 0 12px; color: var(--gold); font: 600 13px/1.3 var(--sans); letter-spacing: .04em; }
.headline { font: 700 clamp(2.5rem, 9vw, 4.6rem)/.98 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.lede { margin-top: 14px; max-width: 34ch; color: #fff; font-size: 16px; line-height: 1.45; text-shadow: 0 1px 14px rgba(0,0,0,.55); text-wrap: balance; }
.controls { margin-top: 18px; }
.pause { font: 600 12px/1 var(--sans); color: var(--soft); padding: 14px 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--hair); background: rgba(0,0,0,.35); }
.pause::before { content: "❚❚"; font-size: 9px; margin-right: 7px; letter-spacing: -1px; }
.pause[aria-pressed="true"]::before { content: "▶"; letter-spacing: 0; }

@keyframes fly { from { opacity: 0; translate: var(--fx, 0) var(--fy, 0); } to { opacity: 1; translate: 0 0; } }
.fly-tl { --fx: -24px; --fy: -24px; animation: fly 1s var(--out) both; }
.fly-bl { --fx: -24px; --fy: 24px; animation: fly 1s var(--out) .2s both; }
.fly-br { --fx: 28px; --fy: 28px; animation: fly .9s var(--out) .12s both; }

main { padding: clamp(72px, 12vw, 140px) 0 clamp(88px, 14vw, 180px); }
#outcome { scroll-margin-top: 28px; }
#outcome[data-route="idea"],
#outcome[data-route="publishing"],
#outcome[data-route="clarity"] {
  padding: 22px;
  border: 1px solid rgba(230,196,120,.7);
  border-radius: 22px;
  background: #121214;
}
#outcome[data-route="idea"]:focus-visible,
#outcome[data-route="publishing"]:focus-visible,
#outcome[data-route="clarity"]:focus-visible {
  outline-offset: 6px;
}
.ask-grid { display: grid; gap: clamp(36px, 6vw, 72px); }
.lead { max-width: 38rem; color: var(--soft); font-size: 1.15rem; line-height: 1.45; text-wrap: balance; }
.fields { display: grid; gap: 36px; max-width: 640px; margin-top: 36px; }
.field { display: grid; gap: 10px; min-width: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.lbl, legend { padding: 0; color: #fff; font: 600 16px/1.35 var(--sans); }
.optional { color: var(--dim); font-weight: 400; }
input[type="text"], input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(230,196,120,.38);
  background: #121214;
  color: #fff;
  font: 400 16px/1.3 var(--sans);
}
input::placeholder { color: rgba(255,255,255,.45); }
input:focus { outline: none; border-color: var(--gold-hot); box-shadow: 0 0 0 1px var(--gold-hot); }
[aria-invalid="true"] input, input[aria-invalid="true"] { border-color: #ffb088; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(230,196,120,.38); border-radius: 999px; background: #121214; color: #fff; font: 600 15px/1.2 var(--sans); cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--gold-hot); color: var(--gold-hot); box-shadow: 0 0 16px rgba(242,212,142,.35); }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold-hot); outline-offset: 3px; }
.other { display: grid; gap: 8px; }
.other[hidden] { display: none !important; }
.check { display: flex; gap: 12px; align-items: flex-start; max-width: 36rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.check span { font-size: 16px; line-height: 1.4; }
.form-msg { min-height: 0; color: #ffd0b5; font-size: 15px; }
.form-msg:empty { display: none; }
.field { scroll-margin: 24px; }
.field-error { margin: 2px 0 0; color: #ffd0b5; font: 600 16px/1.4 var(--sans); }
.field[aria-invalid="true"] .chip { border-color: #ffb088; }
.gold { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 4px; padding: 16px 28px; border: 0; border-radius: 999px; background: #e6c478; color: #0b0b0d; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.gold:hover { background: var(--gold-hot); }
.gold:disabled { cursor: wait; opacity: .72; }
input.hp[type="text"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  border-radius: 0;
}

.leave h2 { font: 700 clamp(1.8rem, 3vw, 2.3rem)/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
.leave li { margin-top: 16px; max-width: 32ch; color: var(--soft); }
.leave b { color: #fff; font-weight: 600; }
.panel { display: grid; gap: 28px; max-width: 38rem; }
#panel-calendar { max-width: none; width: 100%; }
.result-title { font: 700 clamp(1.7rem, 3vw, 2.35rem)/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; text-wrap: balance; }
.panel p, .booked { font-size: clamp(1.25rem, 2.5vw, 1.7rem); line-height: 1.4; text-wrap: balance; }
.panel a:not(.gold) { color: var(--gold-hot); font-weight: 600; text-underline-offset: 3px; }
.panel .gold { width: auto; min-width: min(100%, 220px); justify-self: stretch; }
.text-btn { justify-self: start; margin-top: 8px; padding: 12px 0; border: 0; background: none; color: var(--gold); font: 600 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.paused { color: var(--soft); font-size: 15px; }
.paused a { color: #fff; }
.cal-wrap {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(230,196,120,.7);
  border-radius: 22px;
  background: #121214;
}
.cal-wrap.is-loading .cal-loading { display: grid; }
.cal-loading {
  display: none;
  position: absolute;
  inset: 16px;
  z-index: 2;
  align-content: center;
  justify-items: start;
  gap: 14px;
  margin: 0;
  padding: 28px 24px;
  border: 0;
  border-radius: 12px;
  background: #121214;
  color: var(--gold-hot);
}
.cal-loading p { margin: 0 0 8px; font: 600 18px/1.4 var(--sans); }
.cal-bar {
  display: block;
  width: min(100%, 420px);
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(230,196,120,.28), rgba(255,255,255,.06));
  background-size: 220% 100%;
  animation: cal-shimmer 1.4s ease-in-out infinite;
}
.cal-bar-short { width: min(68%, 260px); }
@keyframes cal-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
#calendly, #calendly .calendly-inline-widget, #calendly iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none;
}
#calendly { height: 490px; min-height: 0; background: transparent; }
#calendly iframe {
  display: block;
  height: 490px !important;
  min-height: 0 !important;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
@media (min-width: 761px) {
  #calendly { height: 740px; }
  #calendly iframe { height: 740px !important; }
}
.noscript { margin-top: 18px; color: var(--soft); }

.foot { padding: 0 0 48px; }
.dragons { --sig: #ff5a1f; display: grid; gap: 22px; }
.dragons h2 { font: 700 clamp(2rem, 4.4vw, 3.2rem)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
.dragon-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dragon { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto auto auto auto; align-content: start; gap: 10px; padding: 28px 22px 22px; border: 1px solid rgba(230,196,120,.55); border-radius: 28px; background: #121214; box-shadow: 0 0 16px rgba(230,196,120,.24); }
.dragon-art, .dragon-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 250ms linear; }
.dragon-art { object-fit: cover; object-position: center 42%; }
.dragon-shade { background: linear-gradient(180deg, rgba(8,7,6,.55) 0%, rgba(8,7,6,.68) 48%, rgba(8,7,6,.8) 100%); }
.dragon > :not(.dragon-art):not(.dragon-shade) { position: relative; z-index: 1; }
.dragon-line { font-family: var(--display); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.08; letter-spacing: -.02em; }
.dragon-tool { color: #fff; font-size: 15px; font-weight: 600; }
.dragon-get { margin: 0; max-width: 32ch; color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.dragon a { padding-top: 8px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sig); }
.contact { margin: 28px 0 0; font-size: 14px; }
.contact a { color: var(--soft); text-decoration: none; }
.legal { margin: 8px 0 0; color: var(--dim); font-size: 13px; }
.credit { margin: 8px 0 0; color: var(--dim); font-size: 13px; }

@media (min-width: 761px) {
  .hero { padding: 28px clamp(20px, 3vw, 44px) 48px; }
  .who-role { font-size: 15px; }
  .hero-bottom { flex-direction: row; align-items: flex-end; }
  .title-block { margin-left: auto; text-align: right; }
  .headline { max-width: 16ch; margin-left: auto; font-size: clamp(3.2rem, 5vw, 4.8rem); }
  .lede { margin-left: auto; text-align: right; }
  .kicker { text-align: right; }
  .gold { width: auto; min-width: 220px; }
}
@media (min-width: 900px) {
  .dragon-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; }
  .dragon { height: 100%; grid-template-rows: auto auto 1fr auto; }
  .dragon-row:has(.dragon:hover) .dragon.lit:not(:hover) { border-color: rgba(230,196,120,.55); box-shadow: 0 0 16px rgba(230,196,120,.24); }
  .dragon-row:has(.dragon:hover) .dragon.lit:not(:hover) .dragon-art,
  .dragon-row:has(.dragon:hover) .dragon.lit:not(:hover) .dragon-shade { opacity: 0; }
  .dragon:hover { border-color: var(--gold-hot); box-shadow: 0 0 26px rgba(242,212,142,.62); }
  .dragon:hover .dragon-art, .dragon:hover .dragon-shade { opacity: 1; }
  .dragon-line { min-height: 3lh; }
}
@media (min-width: 980px) {
  .ask-grid { grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr); align-items: start; }
  .leave { position: sticky; top: 36px; }
}

@media (max-width: 760px) {
  .title-block { order: 1; }
  .pitch { order: 2; }
}
@media (max-width: 760px) and (min-width: 370px) { .who-role { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fly-tl, .fly-bl, .fly-br { animation: none; }
  .painted .layer img, .dragon-art, .dragon-shade, .cal-bar { animation: none; transition: none; }
  .pause { display: none; }
}
@media (hover: hover) and (min-width: 761px) {
  .pause:hover { color: #fff; }
}
