/* ============================================================
   Day in the Life — beta proof of concept styles
   ============================================================ */

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #131625;
  --ink-soft: #4b5163;
  --ink-faint: #8a90a3;
  --brand: #6d5df6;
  --brand-dark: #5546e0;
  --brand-soft: #edeafe;
  --accent: #38bdf8;
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --line: #e6e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(19, 22, 37, .06), 0 12px 32px rgba(19, 22, 37, .07);
  --shadow-sm: 0 1px 4px rgba(19, 22, 37, .08);
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-size: .8rem;
}
.header-search {
  flex: 1; max-width: 300px; margin: 0 20px;
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 14px;
}
.header-search:focus-within { border-color: var(--brand); background: var(--surface); }
.header-search .hs-icon { font-size: .85rem; opacity: .55; }
.header-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: .88rem; color: var(--ink);
}
@media (max-width: 900px) { .header-search { display: none; } }
.main-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .93rem; color: var(--ink-soft); }
.main-nav a:hover { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-weight: 700; font-size: .95rem;
  border-radius: 12px; padding: 12px 22px; transition: all .15s ease;
}
.btn-primary { background: var(--brand); color: #fff !important; box-shadow: 0 4px 14px rgba(109, 93, 246, .35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 16px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 80% -10%, rgba(56, 189, 248, .18), transparent 60%),
    radial-gradient(900px 480px at 10% -20%, rgba(109, 93, 246, .22), transparent 55%),
    var(--bg);
  padding: 72px 0 56px;
}
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12; letter-spacing: -.02em; max-width: 800px; margin: 0 auto 18px;
}
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 34px; }

/* big search */
.search-shell { max-width: 680px; margin: 0 auto; position: relative; }
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
}
.search-bar:focus-within { border-color: var(--brand); }
.search-bar .icon { font-size: 1.1rem; opacity: .5; }
.search-bar input {
  flex: 1; border: none; outline: none; font-size: 1.05rem; font-family: inherit;
  background: transparent; color: var(--ink); min-width: 0;
}
.search-hints { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hint-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .84rem; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all .15s;
}
.hint-chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* stats strip */
.stats-strip { display: flex; justify-content: center; gap: 48px; margin-top: 46px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; }
.stat span { font-size: .85rem; color: var(--ink-faint); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.01em; }
.section-head .see-all { font-weight: 700; font-size: .9rem; color: var(--brand); }
.section-sub { color: var(--ink-soft); margin-top: 4px; font-size: .95rem; }

/* field chips grid */
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.field-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: all .15s; box-shadow: var(--shadow-sm);
}
.field-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.field-card .fe { font-size: 1.4rem; }
.field-card .fc { color: var(--ink-faint); font-size: .78rem; font-weight: 600; display: block; }

/* ---------- profile cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.profile-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: all .18s ease; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5d9e6; }
.card-video {
  position: relative; aspect-ratio: 16/10; display: grid; place-items: center;
  color: #fff; font-size: 3rem; overflow: hidden;
}
.card-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-emoji-badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.card-video .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10, 12, 24, .18); opacity: 0; transition: opacity .18s;
}
.profile-card:hover .play { opacity: 1; }
.play-btn {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; font-size: 1.1rem; color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.card-video .duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(10, 12, 24, .72); color: #fff; font-size: .72rem; font-weight: 700;
  border-radius: 6px; padding: 3px 8px;
}
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.card-meta { font-size: .84rem; color: var(--ink-soft); }
.card-tagline { font-size: .88rem; color: var(--ink-soft); font-style: italic; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--ink-faint); font-weight: 600; }
.rating-badge { color: var(--gold); font-weight: 800; }
.salary-pill {
  background: #ecfdf5; color: #047857; border-radius: 999px;
  font-size: .78rem; font-weight: 800; padding: 3px 10px;
}

/* ---------- partners ---------- */
.partner-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.partner-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px dashed #cfd4e4; border-radius: var(--radius-sm);
  padding: 16px;
}
.partner-card .pe { font-size: 1.6rem; }
.partner-card b { display: block; font-size: .93rem; }
.partner-card span { font-size: .8rem; color: var(--ink-faint); }
.promo-label { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.how-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.how-card .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 14px;
}
.how-card h3 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 6px; }
.how-card p { font-size: .89rem; color: var(--ink-soft); }

/* ---------- search page ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -.01em; }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; align-items: center;
}
.filters select, .filters input[type="search"] {
  font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 12px; outline: none; cursor: pointer;
}
.filters input[type="search"] { min-width: 220px; cursor: text; flex: 1; max-width: 340px; }
.filters select:focus, .filters input:focus { border-color: var(--brand); }
.result-count { font-size: .88rem; color: var(--ink-faint); font-weight: 600; margin-bottom: 16px; }
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--ink-soft);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-state .big { font-size: 2.4rem; margin-bottom: 10px; }

/* ---------- profile page ---------- */
.profile-hero { position: relative; color: #fff; padding: 56px 0 40px; overflow: hidden; }
.profile-hero .wrap { position: relative; z-index: 2; display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.profile-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,24,.15), rgba(10,12,24,.45));
}
.avatar {
  width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center;
  font-size: 2.6rem; background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.4);
}
.profile-hero h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.15; }
.profile-hero .who { font-size: 1.02rem; opacity: .92; font-weight: 600; }
.profile-hero .where { font-size: .9rem; opacity: .8; }
.hero-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: rgba(255,255,255,.94); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.hero-link { color: inherit; border-bottom: 2px dashed rgba(255, 255, 255, .45); transition: border-color .15s; }
.hero-link:hover { border-bottom-style: solid; border-bottom-color: #fff; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 34px 0 60px; align-items: start; }
.profile-layout > * { min-width: 0; }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.panel h2 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

/* main video player mock */
.main-video {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; display: grid; place-items: center; color: #fff;
  cursor: pointer; margin-bottom: 22px; box-shadow: var(--shadow);
}
.main-video .mv-emoji { font-size: 4.5rem; }
.main-video .mv-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(10, 12, 24, .35);
}
.main-video .mv-label { font-weight: 700; font-size: .95rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.mv-note {
  position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center;
  font-size: .75rem; opacity: .85;
}

.main-video.has-video { display: block; cursor: default; background: #0b0d18; aspect-ratio: auto; }
.main-video.has-video video { display: block; width: 100%; height: auto; max-height: 70vh; background: #0b0d18; }
.mv-under { font-size: .8rem; color: var(--ink-faint); font-weight: 600; margin: -14px 0 22px; text-align: center; }

/* story viewer overlay */
.story-overlay {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 20, .82); backdrop-filter: blur(6px); padding: 20px;
}
.story-overlay[hidden] { display: none; }
.story-frame { position: relative; width: min(400px, 92vw); }
.story-frame video {
  display: block; width: 100%; aspect-ratio: 9/16; background: #000;
  border-radius: 18px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.story-caption {
  position: absolute; top: -34px; left: 2px; color: #fff; font-weight: 700; font-size: .92rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.story-close {
  position: absolute; top: -38px; right: -4px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 1rem; font-weight: 700;
}
.story-close:hover { background: rgba(255, 255, 255, .35); }

/* stories row */
.stories-row { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 10px; }
.story {
  flex: 0 0 auto; width: 86px; text-align: center; cursor: pointer;
}
.story .ring {
  width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%;
  padding: 3px; background: linear-gradient(135deg, var(--brand), var(--accent), var(--gold));
}
.story .ring-inner {
  width: 100%; height: 100%; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; font-size: 1.7rem; border: 2px solid var(--surface);
}
.story span { font-size: .72rem; font-weight: 600; color: var(--ink-soft); display: block; line-height: 1.25; }

/* pathway timeline */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand);
}
.tl-item .tl-years { font-size: .76rem; font-weight: 800; color: var(--brand); letter-spacing: .03em; }
.tl-item h4 { font-size: .98rem; margin: 2px 0; }
.tl-item h4 a { color: var(--brand); border-bottom: 1.5px dashed var(--brand-soft); }
.tl-item h4 a:hover { border-bottom-color: var(--brand); }
.tl-item .tl-sub { font-size: .86rem; color: var(--ink-soft); }
.tl-item .tl-sub a.school-link { color: var(--brand); font-weight: 600; border-bottom: 1.5px dashed var(--brand-soft); }
.tl-item .tl-sub a.school-link:hover { border-bottom-color: var(--brand); }
.tl-item .tl-cost { font-size: .78rem; font-weight: 700; color: var(--ink-faint); }

/* horizontal pathway timeline */
.htl-legend { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.htl-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.htl-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.htl-legend .dot-edu { background: var(--brand); }
.htl-legend .dot-job { background: var(--green); }
.htl-legend .lg-hint { margin-left: auto; color: var(--ink-faint); font-weight: 600; font-size: .78rem; }
.htl { position: relative; }
.htl-track { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 12px; scrollbar-width: thin; }
.htl-item {
  flex: 0 0 250px; min-width: 250px; position: relative;
  padding: 52px 16px 0 0; scroll-snap-align: start;
  animation: htl-in .55s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: calc(var(--d) * 110ms);
}
.htl-item::before { content: ""; position: absolute; left: 0; right: 0; top: 37px; height: 3px; background: var(--line); }
.htl-item:first-child::before { left: 12px; border-radius: 3px; }
.htl-item:last-child::before { right: 16px; border-radius: 3px; }
.htl-item::after {
  content: ""; position: absolute; left: 12px; top: 30px; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--surface); border: 3.5px solid var(--brand);
}
.htl-item.job::after { border-color: var(--green); }
.htl-year { position: absolute; top: 6px; left: 12px; font-size: .76rem; font-weight: 800; color: var(--brand); letter-spacing: .03em; }
.htl-item.job .htl-year { color: #047857; }
.htl-card { background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; min-height: 136px; height: calc(100% - 52px); }
.htl-item.now .htl-card { border-color: var(--brand); background: var(--brand-soft); }
.htl-type { display: inline-block; font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.htl-card h4 { font-size: .93rem; line-height: 1.3; }
.htl-card h4 a { color: var(--brand); border-bottom: 1.5px dashed var(--brand-soft); }
.htl-card h4 a:hover { border-bottom-color: var(--brand); }
.htl-sub { font-size: .83rem; color: var(--ink-soft); margin-top: 3px; }
.htl-extra { font-size: .78rem; font-weight: 700; color: var(--ink-faint); margin-top: 7px; }
.htl-arrow {
  position: absolute; top: 44%; left: -12px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm); cursor: pointer; font-size: 1.15rem;
  color: var(--ink-soft); display: grid; place-items: center;
}
.htl-arrow:hover { color: var(--brand); border-color: var(--brand); }
.htl-arrow.right { left: auto; right: -12px; }
.htl-arrow[hidden] { display: none; }
@keyframes htl-in { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .htl-item { animation: none; } }

/* career comparison chip on profile hero */
.career-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 999px; padding: 6px 14px; font-size: .84rem; font-weight: 700;
  color: #fff; backdrop-filter: blur(4px); transition: background .15s;
}
.career-chip:hover { background: rgba(255, 255, 255, .3); }

/* pros / cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pc-list { list-style: none; }
.pc-list li { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 10px; color: var(--ink-soft); }
.pc-list .pc-ico { flex: 0 0 auto; }
.pc-head { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pc-head.good { color: var(--green); }
.pc-head.bad { color: var(--red); }

/* sidebar facts */
.fact-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.fact-row:last-child { border-bottom: none; }
.fact-row .fk { color: var(--ink-faint); font-weight: 600; }
.fact-row .fv { font-weight: 700; text-align: right; }
.fact-row .fv.money { color: #047857; }

/* meters */
.meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 6px; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--accent)); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px;
  font-size: .8rem; font-weight: 700; padding: 5px 12px; cursor: pointer;
}
.tag:hover { background: var(--brand); color: #fff; }
.tag.neutral { background: #f1f2f7; color: var(--ink-soft); cursor: default; }

/* rating widget */
.rate-stars { display: flex; gap: 4px; font-size: 1.5rem; cursor: pointer; }
.rate-stars span { color: #d6d9e4; transition: color .1s; }
.rate-stars span.lit { color: var(--gold); }
.rate-thanks { font-size: .84rem; color: var(--green); font-weight: 700; margin-top: 8px; }

/* comments */
.comment { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.comment .c-av {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-soft); display: grid; place-items: center; font-size: 1rem;
}
.comment b { font-size: .87rem; }
.comment p { font-size: .87rem; color: var(--ink-soft); }
.comment-box { display: flex; gap: 10px; margin-top: 14px; }
.comment-box input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-family: inherit; font-size: .9rem; outline: none;
}
.comment-box input:focus { border-color: var(--brand); }

/* advice callout */
.advice {
  background: linear-gradient(135deg, var(--brand-soft), #e0f2fe);
  border-radius: var(--radius); padding: 22px 24px; border: 1px solid #ddd6fe;
}
.advice .a-label { font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 8px; }
.advice p { font-size: 1rem; font-style: italic; color: var(--ink); }

/* ---------- pathways ---------- */
.majors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.major-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; cursor: pointer; transition: all .15s; box-shadow: var(--shadow-sm);
}
.major-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.major-card h3 { font-size: 1rem; font-family: var(--font-display); }
.major-card span { font-size: .82rem; color: var(--ink-faint); font-weight: 600; }

/* network view */
.network { position: relative; padding: 30px 0 10px; }
.net-center {
  margin: 0 auto 34px; max-width: 340px; text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.net-center .nc-label { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.net-center h2 { font-family: var(--font-display); font-size: 1.35rem; margin-top: 4px; }
.net-branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; position: relative; }
.net-node {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; text-align: center; position: relative; transition: all .15s;
}
.net-node.linked { cursor: pointer; border-color: #d8d2fd; }
.net-node.linked:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.net-node h4 { font-size: .95rem; }
.net-node .nn-sub { font-size: .78rem; color: var(--ink-faint); font-weight: 600; }
.net-node .nn-badge {
  display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 800;
  background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 3px 10px;
}
.net-node .nn-badge.ghost { background: #f1f2f7; color: var(--ink-faint); }
.net-node .nn-badge + .nn-badge { margin-left: 6px; }
.net-node a.nn-badge:hover { background: var(--brand); color: #fff; }

/* promoted institution / company box */
.promoted-card {
  display: flex; align-items: center; gap: 16px; margin: 26px 0;
  background: linear-gradient(120deg, #fffbeb, var(--surface));
  border: 1.5px solid #fde68a; border-radius: var(--radius); padding: 16px 20px;
}
.promoted-card .pcd-emoji { font-size: 1.9rem; }
.promoted-card b { display: block; font-size: .97rem; }
.promoted-card small { color: var(--ink-soft); font-size: .84rem; }
.promoted-tag {
  position: absolute; top: -11px; left: 18px;
  font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: #f59e0b; color: #fff; border-radius: 999px; padding: 3px 10px;
  box-shadow: 0 1px 4px rgba(180, 83, 9, .35);
}
.promoted-card { position: relative; margin-top: 34px; }
button.net-node { font: inherit; cursor: pointer; }
.promoted-card .btn { margin-left: auto; white-space: nowrap; }

/* ---------- create wizard ---------- */
.wizard { max-width: 720px; margin: 0 auto; padding: 40px 20px 70px; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 30px; }
.wizard-progress i { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.wizard-progress i.done { background: linear-gradient(90deg, var(--brand), var(--accent)); }
.ai-bubble {
  display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start;
}
.ai-av {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; font-size: 1.2rem; color: #fff;
}
.ai-msg {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px;
  padding: 16px 20px; box-shadow: var(--shadow-sm); font-size: .97rem;
}
.ai-msg b { color: var(--brand-dark); }
.wizard textarea, .wizard input[type="text"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-family: inherit; font-size: .95rem; outline: none; resize: vertical; background: var(--surface);
}
.wizard textarea:focus, .wizard input:focus { border-color: var(--brand); }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.record-mock {
  border: 2px dashed #cfd4e4; border-radius: var(--radius); padding: 34px; text-align: center;
  background: var(--surface); cursor: pointer; transition: all .15s;
}
.record-mock:hover { border-color: var(--brand); }
.record-mock .rec-ico { font-size: 2.4rem; margin-bottom: 8px; }
.record-mock p { font-size: .88rem; color: var(--ink-soft); }
.ai-feature-list { list-style: none; margin-top: 12px; }
.ai-feature-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 9px; }
.done-card { text-align: center; padding: 30px 10px; }
.done-card .big { font-size: 3.4rem; margin-bottom: 12px; }
.done-card h2 { font-family: var(--font-display); margin-bottom: 8px; }
.done-card p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 22px; }
.share-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-pill {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 700; font-size: .86rem; cursor: pointer;
}
.share-pill:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 44px 20px 20px;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-tag { max-width: 320px; color: var(--ink-soft); font-size: .9rem; margin-top: 12px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { font-size: .85rem; margin-bottom: 12px; }
.footer-cols a { display: block; font-size: .87rem; color: var(--ink-soft); margin-bottom: 8px; }
.footer-cols a:hover { color: var(--brand); }
.footer-note { text-align: center; font-size: .78rem; color: var(--ink-faint); padding: 18px 20px 26px; }

/* ---------- motion pass ---------- */
#app.route-anim { animation: route-in .32s ease both; }
@keyframes route-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card-grid .profile-card { animation: card-rise .5s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes card-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.story .ring { transition: transform .2s ease; }
.story:hover .ring { transform: scale(1.08); }
.fdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) {
  #app.route-anim, .card-grid .profile-card, .htl-item { animation: none !important; }
  .story:hover .ring, .profile-card:hover, .field-card:hover { transform: none; }
}

/* planner entry banner (Pathways page) */
.web-banner {
  display: flex; align-items: center; gap: 16px; margin-top: 18px;
  background: linear-gradient(120deg, var(--brand-soft), #e0f2fe);
  border: 1px solid #ddd6fe; border-radius: var(--radius); padding: 16px 20px;
  font-size: .92rem; color: var(--ink); transition: transform .15s;
}
.web-banner:hover { transform: translateY(-2px); }
.web-banner .wb-emoji { font-size: 1.8rem; }
.web-banner .wb-go { margin-left: auto; font-weight: 800; color: var(--brand); white-space: nowrap; }

/* ---------- Reels feed ---------- */
.reels-bar {
  text-align: center; font-size: .85rem; color: var(--ink-soft);
  padding: 9px 16px; background: var(--surface); border-bottom: 1px solid var(--line);
}
body.reels-mode { overflow: hidden; }
body.reels-mode .site-footer { display: none; }
.reels {
  /* actual height is measured and set in JS so the feed exactly fills
     the space under the header — no guessed offsets, no page scroll */
  height: 70vh; overflow-y: auto;
  scroll-snap-type: y mandatory; background: #0b0d18;
  overscroll-behavior: contain; scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.reel-stage {
  position: relative; height: calc(100% - 26px); aspect-ratio: 9/16; max-width: 92vw;
  border-radius: 18px; overflow: hidden; background: #000;
}
.reel-stage video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; cursor: pointer;
}
.reel-mute {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(10, 12, 24, .55); color: #fff; font-size: 1rem;
}
.reel-mute:hover { background: rgba(10, 12, 24, .8); }
.reel-info {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; gap: 11px; color: #fff;
  background: linear-gradient(180deg, rgba(10,12,24,.05), rgba(10,12,24,.78));
  border-radius: 14px; padding: 12px 14px;
}
.reel-info:hover { background: linear-gradient(180deg, rgba(10,12,24,.2), rgba(10,12,24,.9)); }
.reel-av {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem;
  border: 2px solid rgba(255,255,255,.7);
}
.reel-txt { min-width: 0; }
.reel-txt b { display: block; font-size: .92rem; line-height: 1.25; }
.reel-txt small { display: block; color: rgba(255,255,255,.85); font-size: .78rem; margin-top: 2px; }

/* ---------- Pathway Planner ---------- */
.planner-hero { text-align: center; padding: 44px 20px 8px; }
.planner-hero h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.01em; }
.pl-modes { display: flex; gap: 10px; justify-content: center; margin: 24px 0 14px; flex-wrap: wrap; }
.pl-mode {
  padding: 12px 22px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  transition: all .15s;
}
.pl-mode.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.pl-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.pl-form input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 18px; font-family: inherit; font-size: 1rem; outline: none;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.pl-form input:focus { border-color: var(--brand); }
.pl-summary {
  display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--brand-soft), #e0f2fe);
  border: 1px solid #ddd6fe; border-radius: var(--radius);
  padding: 16px 20px; margin: 26px 0 20px;
}
.pl-summary .pls-big { font-size: 1.05rem; }
.pl-summary .pls-fact { font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.pl-summary .pls-btns { margin-left: auto; display: flex; gap: 8px; }
.pls-src { font-size: .86rem; color: var(--ink-soft); margin: -8px 0 14px; }
.htl-item.goal .htl-card { border-color: var(--gold); background: #fffbeb; }
.htl-item.goal::after { border-color: var(--gold); }
.htl-item.goal .htl-year { color: #b45309; }
.htl-item.here .htl-card { border-color: var(--brand); background: var(--brand-soft); }
.htl-days {
  display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 800;
  color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 11px;
}
.htl-days:hover { background: var(--brand); color: #fff; }
.htl-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.htl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow);
  border-color: var(--brand);
}
@media (prefers-reduced-motion: reduce) { .htl-card:hover { transform: none; } }

/* Claude director (create wizard) */
.dir-zone { text-align: center; padding: 8px 0; }
.dir-hint { font-size: .87rem; color: var(--ink-soft); margin-top: 10px; }
.dir-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; margin-top: 18px; }
@media (max-width: 700px) { .dir-cols { grid-template-columns: 1fr; } }
.dir-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.dir-panel h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.dir-panel ol { padding-left: 20px; font-size: .9rem; color: var(--ink-soft); }
.dir-panel ol li { margin-bottom: 8px; }
.shot { padding: 10px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.shot:first-of-type { border-top: none; padding-top: 2px; }
.shot b { display: block; color: var(--ink); }
.shot span { color: var(--ink-soft); }

/* cue-card mode: big-text directions a friend reads while filming */
.cue-overlay {
  position: fixed; inset: 0; z-index: 95; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: rgba(8, 10, 20, .96); color: #fff; text-align: center; padding: 28px;
}
.cue-overlay .cue-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 5.5vw, 3.2rem); line-height: 1.22; max-width: 920px; text-wrap: balance;
}
.cue-overlay .cue-meta { font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .72); }
.cue-close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.05rem;
}
.cue-close:hover { background: rgba(255, 255, 255, .32); }

/* ---------- mobile bottom tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 640px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; background: #fff;
    border-top: 2px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
    padding: 9px 4px calc(9px + env(safe-area-inset-bottom));
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 1.35rem; line-height: 1; border-radius: 12px; padding: 4px 0; }
  .tabbar a span { font-size: .68rem; font-weight: 800; color: var(--ink-soft); }
  .tabbar a.active { background: var(--brand-soft); }
  .tabbar a.active span { color: var(--brand); }
  body { padding-bottom: 74px; }
  body.reels-mode { padding-bottom: 0; }
  .site-footer { margin-bottom: 0; }
}

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 22px;
  font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 100; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* misc */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink-faint); margin: 22px 0 0; }
.back-link:hover { color: var(--brand); }

@media (max-width: 640px) {
  .main-nav { gap: 14px; font-size: .85rem; }
  .main-nav a:not(.btn) { display: none; }
  .stats-strip { gap: 26px; }
  .hero { padding: 48px 0 40px; }
  .profile-hero .wrap { align-items: flex-start; flex-direction: column; }
  .hero-actions { margin-left: 0; }
}
