/* Many Minds. Orange is Mat, red is Kelly: neither is used for anything else. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jost-400-latin.woff2) format("woff2");
}

:root { --bg: #fbfaf6; --ink: #1b1b1b; --orange: #ef8a1f; --red: #d93a2b; --soft: #6f6a61; --line: #d9d4c8; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: Jost, Futura, "Century Gothic", "Avenir Next", sans-serif; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 56px; }

/* header, nav, footer */
.top { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.mini { flex: none; margin-right: 12px; fill: currentColor; }
nav { display: flex; gap: 32px; }
nav a { color: var(--ink); text-decoration: none; }
nav a[aria-current] { border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
footer { border-top: 1px solid var(--ink); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
footer a { color: var(--ink); text-decoration: none; letter-spacing: .1em; text-transform: none; font-size: 14px; }
footer .tag { color: var(--soft); margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }

/* shared type and buttons */
h1 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; line-height: 1.2; }
h2 { font-size: 44px; font-weight: 400; line-height: 1.05; }
h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; margin-bottom: 10px; }
.lede { font-size: 17px; line-height: 1.6; color: var(--soft); }
.cta { display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 17px 26px; }
.arr { margin-left: 8px; }
.num { font-size: 64px; line-height: 1; margin-bottom: 14px; }
.num small { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-left: 10px; color: var(--soft); }
.cols { display: grid; border-top: 1px solid var(--ink); }
.cols > div { padding: 40px 36px 48px 0; }
.cols > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.cols p { font-size: 15px; line-height: 1.6; color: var(--soft); }

/* home: hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; padding: 56px 0 64px; }
.wordmark { font-size: clamp(64px, 9vw, 124px); font-weight: 400; line-height: .9; letter-spacing: -.01em; }
.hero h1 { margin-top: 28px; max-width: 15em; }
.hero .cta { margin-top: 26px; }

/* home: the weave. Bars are built by weave.js. No transforms or z-index on the containers,
   so each bar's crossing can sit above the thread it passes over. */
.weave { position: relative; height: 460px; overflow: hidden; --w: 22px; --g: 18px; }
.thread { position: absolute; left: 0; right: 0; height: 34px; z-index: 1; display: flex; align-items: center; padding-left: max(56px, calc((100vw - 1240px) / 2 + 56px)); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--bg); }
.t1 { top: 170px; background: var(--orange); }
.t2 { top: 300px; background: var(--red); }
.ups { position: absolute; top: 0; bottom: 0; left: 46%; width: calc(12 * var(--w) + 11 * var(--g)); }
.ups > .up, .cross { position: absolute; left: calc(var(--i) * (var(--w) + var(--g))); width: var(--w); }
.up { background: var(--ink); }
.cross { height: 34px; overflow: hidden; z-index: 2; }
.cross .up { position: absolute; left: 0; width: 100%; }

/* home: 12 / 2 / 1 */
.three { grid-template-columns: repeat(3, 1fr); }
.three .num { padding: 40px 0 48px; }
.three .more { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.pair { display: inline-flex; flex-direction: column; gap: 5px; margin-left: 14px; vertical-align: middle; }
.pair i { display: block; width: 44px; height: 8px; }
.pm { background: var(--orange); }
.pk { background: var(--red); }

/* home: register */
.reg { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 72px 0 80px; border-top: 1px solid var(--ink); }
.reg h2 { margin-bottom: 18px; }
.reg .lede { font-size: 16px; }
.reg .lede.small { font-size: 14px; margin-top: 14px; }
form label { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 6px; }
form input { width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font: inherit; font-size: 17px; padding: 8px 0 10px; margin-bottom: 24px; }
form label[for=want] { text-transform: none; letter-spacing: .02em; font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
form textarea { width: 100%; border: 1.5px solid var(--ink); background: transparent; font: inherit; font-size: 16px; line-height: 1.5; padding: 12px 14px; margin-bottom: 24px; resize: vertical; }
.pick { display: flex; gap: 10px; margin-bottom: 14px; }
.pick span { flex: 1; text-align: center; border: 1px solid var(--ink); padding: 11px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pick span i { display: block; font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: none; color: var(--soft); margin-top: 2px; }
.pick .on { background: var(--ink); color: var(--bg); }
.pick .on i { color: #bdb7ac; }
.larger { font-size: 13px; line-height: 1.5; color: var(--soft); margin-bottom: 26px; }
form button { width: 100%; border: 0; background: var(--ink); color: var(--bg); font: inherit; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; padding: 19px; cursor: pointer; }

/* advisors */
.intro { padding: 56px 0 64px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
.intro h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; max-width: 14em; }
.adv.mat { --c: var(--orange); }
.adv.kelly { --c: var(--red); }
.stripe { height: 34px; display: flex; align-items: center; background: var(--c); color: var(--bg); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.stripe .wrap { width: 100%; }
.person { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding-top: 56px; padding-bottom: 80px; }
.photo { position: relative; align-self: start; }
.photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--c); }
.photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.bio h2 { line-height: 1; margin-bottom: 22px; }
.bio p { font-size: 17px; line-height: 1.65; color: var(--soft); margin-bottom: 14px; max-width: 34em; }
blockquote { border-left: 3px solid var(--c); padding: 4px 0 4px 20px; margin: 26px 0 30px; font-size: 18px; line-height: 1.5; max-width: 30em; }
blockquote cite { display: block; font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-top: 10px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; }
.links a { color: var(--ink); text-decoration: none; border: 1px solid var(--ink); padding: 12px 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.links .arr { color: var(--c); }
.links a:hover { background: var(--c); border-color: var(--c); color: var(--bg); }
.links a:hover .arr { color: var(--bg); }
.kelly .person { grid-template-columns: 1fr 340px; }
.kelly .photo { order: 2; }
.kelly .photo::before { inset: 16px 16px -16px -16px; }
.close { border-top: 1px solid var(--ink); padding: 64px 0 80px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.close h2 { font-size: 36px; line-height: 1.1; }

/* how it works */
.how { padding-top: 88px; }
.how-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; margin-bottom: 96px; }
.how-head h1 { font-size: 44px; line-height: 1.05; }
.how-head .lede { font-size: 16px; }

/* the year: twelve monthly sessions as bars, the advisors' threads woven through them.
   Bars grow by height rather than transform so they don't form their own stacking context,
   which lets the crossings (.x) sit above the threads. */
.year { --gut: 170px; --cg: 14px; }
.qs, .bars { column-gap: var(--cg); }
.qs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 32px var(--gut); }
.qs span { border-top: 1px solid var(--ink); padding-top: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.bars { position: relative; height: 280px; padding-left: var(--gut); display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.bars::after { content: ""; position: absolute; left: var(--gut); right: 0; bottom: 0; height: 1.5px; background: var(--ink); }
.rl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.bars .rl { position: absolute; left: 0; top: 0; max-width: 8em; line-height: 1.5; }
.yt { position: absolute; left: 0; right: 0; height: 26px; z-index: 1; display: flex; align-items: center; padding-left: 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--bg); }
.yo { top: 140px; background: var(--orange); }
.yr { top: 200px; background: var(--red); }
/* online sessions are outlined, in-person ones solid */
.bar, .x { background: linear-gradient(to right, var(--ink) 1.5px, var(--bg) 1.5px, var(--bg) calc(100% - 1.5px), var(--ink) calc(100% - 1.5px)); }
.bar { display: block; position: relative; overflow: hidden; width: 24px; justify-self: center; height: 0; border-top: 1.5px solid var(--ink); transition: height .9s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i, 0) * 70ms); }
.bar.live, .bar.live .x { background: var(--ink); }
.x { position: absolute; left: 0; right: 0; height: 26px; z-index: 2; }
.xo { bottom: 114px; }
.xr { bottom: 54px; }
.year.in .bar { height: 62%; }
.year.in .bar.live { height: 100%; }
.row { display: grid; grid-template-columns: var(--gut) 1fr; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ticks { height: 16px; background: repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px calc(100% / 52)); }
.slack { height: 4px; background: var(--ink); }

.key { grid-template-columns: repeat(3, 1fr); margin-top: 96px; }
.key > div { padding: 44px 36px 56px 0; }
.key .num { display: flex; align-items: center; height: 56px; font-size: 56px; }
.glyph { display: block; width: 14px; height: 40px; margin-left: 14px; border: 1.5px solid var(--ink); border-bottom: 0; }
.glyph.live { background: var(--ink); }
.glyph-ticks { display: block; width: 92px; height: 22px; background: repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 9px); }

.session { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; border-top: 1px solid var(--ink); padding: 88px 0 96px; }
.session .lede + .lede { margin-top: 16px; }
.price { display: flex; justify-content: space-between; align-items: center; gap: 32px; border-top: 1px solid var(--ink); padding: 64px 0 112px; }
.price p { font-size: 20px; color: var(--soft); }
.price p b { font-size: 44px; font-weight: 400; color: var(--ink); margin-right: 10px; }
.price p span { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }

@media (max-width: 820px) {
  .wrap { padding: 0 24px; }
  .top { flex-direction: column; gap: 14px; font-size: 11px; }
  nav { gap: 18px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cols { grid-template-columns: 1fr; }
  .cols > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero, .reg, .intro, .person, .kelly .person { grid-template-columns: 1fr; gap: 28px; }
  .weave { --w: 14px; --g: 10px; }
  .ups { left: auto; right: 24px; }
  .kelly .photo { order: 0; }
  .photo { max-width: 300px; }
  .close, .price { flex-direction: column; align-items: flex-start; }
  .how-head { grid-template-columns: 1fr; gap: 20px; }
  .year { --gut: 0px; --cg: 6px; }
  .bars .rl { display: none; }
  .yt { font-size: 0; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .session { grid-template-columns: 1fr; gap: 20px; padding: 56px 0 64px; }
}
