@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #33264b;
  --muted: #786987;
  --lavender-50: #fbf9ff;
  --lavender-100: #f5efff;
  --lavender-200: #ebe0ff;
  --lavender-300: #d8c4ff;
  --lavender-500: #8457dc;
  --plum: #583c91;
  --butter: #ffe9a3;
  --butter-deep: #e4b849;
  --mint: #dff6e8;
  --coral: #ffc9c7;
  --line: #ded1ed;
  --shadow: 0 16px 38px rgba(88, 60, 145, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--lavender-50); font-family: 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.paper-stars { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.paper-stars i { position: absolute; width: 7px; height: 7px; background: var(--lavender-300); border-radius: 50%; opacity: .65; }
.paper-stars i:nth-child(1) { top: 14%; left: 7%; }.paper-stars i:nth-child(2) { top: 40%; left: 4%; width: 12px; height: 12px; background: var(--butter); }.paper-stars i:nth-child(3) { top: 21%; right: 7%; }.paper-stars i:nth-child(4) { top: 72%; right: 8%; width: 10px; height: 10px; background: var(--coral); }.paper-stars i:nth-child(5) { top: 86%; left: 10%; }.paper-stars i:nth-child(6) { top: 54%; right: 3%; background: var(--mint); width: 14px; height: 14px; }

.site-header { height: 82px; max-width: 1210px; margin: auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.brand > span:last-child span { color: var(--lavender-500); }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-family: Fraunces, Georgia, serif; font-size: 21px; transform: rotate(-9deg); }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
nav a:hover { color: var(--plum); }.nav-button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.55); }

.hero { max-width: 1210px; min-height: 620px; padding: 45px 30px 20px; margin: auto; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 20px; }
.hero-copy { padding-bottom: 30px; }.eyebrow { margin: 0 0 17px; color: var(--lavender-500); font: 700 11px/1 'Space Mono', monospace; letter-spacing: .12em; }.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--butter-deep); border-radius: 50%; }
h1, h2 { margin: 0; font-family: Fraunces, Georgia, serif; text-wrap: pretty; }h1 { max-width: 620px; font-size: clamp(50px, 6.1vw, 82px); line-height: .98; letter-spacing: -.055em; }h1 em { color: var(--lavender-500); font-style: italic; } .hero-description { max-width: 510px; margin: 26px 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; border: 0; border-radius: 13px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }.button:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(88,60,145,.15); }.button-primary { color: white; background: var(--plum); }.button-quiet { color: var(--plum); background: transparent; border: 1px solid var(--lavender-300); }.mini-note { margin-top: 28px; color: #9b8ba9; font: 10px 'Space Mono', monospace; letter-spacing: .08em; }

.hero-character { position: relative; height: 540px; display: grid; place-items: end center; isolation: isolate; }.sunburst { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: repeating-conic-gradient(from 10deg, var(--lavender-200) 0deg 8deg, transparent 8deg 18deg); opacity: .84; bottom: 38px; z-index: -2; }.hero-character::after { content: ''; position: absolute; height: 29px; width: 290px; bottom: 27px; border-radius: 50%; background: rgba(100,67,161,.13); filter: blur(8px); z-index: -1; }.hero-character img { height: 530px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; animation: character-float 4.5s ease-in-out infinite; }.doodle { position: absolute; color: var(--butter-deep); font: 700 42px Fraunces, serif; z-index: 1; }.doodle-one { left: 13%; top: 18%; }.doodle-two { color: var(--lavender-500); right: 10%; top: 25%; transform: rotate(15deg); }.doodle-three { color: var(--coral); left: 6%; bottom: 31%; }.case-tag { position: absolute; right: 5%; bottom: 14%; padding: 13px 15px; rotate: 10deg; border: 2px solid var(--ink); color: var(--ink); background: var(--butter); font: 700 10px/1.2 'Space Mono', monospace; letter-spacing: .06em; box-shadow: 4px 4px 0 var(--ink); }.case-tag span { color: var(--butter-deep); font-size: 15px; }
@keyframes character-float { 0%,100% { transform: translateY(0); }50% { transform: translateY(-9px); } }

.clue-banner { max-width: 1090px; margin: 24px auto 100px; padding: 17px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; border: 1px dashed #c4a6e9; border-radius: 16px; color: var(--plum); background: #f4edff; }.clue-icon { font-size: 22px; }.clue-banner p { margin: 0; font-size: 14px; line-height: 1.45; }.clue-banner button { border: 0; color: var(--plum); background: none; font-weight: 700; cursor: pointer; }

.missions { max-width: 1150px; margin: auto; padding: 0 30px 108px; }.section-title { max-width: 570px; margin-bottom: 37px; }.section-title h2, .tool-copy h2 { font-size: clamp(36px, 4vw, 53px); line-height: 1.05; letter-spacing: -.045em; }.section-title > p:last-child, .tool-copy > p:last-child { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }
.mission-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }.mission-card { min-height: 304px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 23px; transition: transform .22s ease, box-shadow .22s ease; }.mission-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }.card-vocab { background: var(--butter); }.card-notes { background: var(--lavender-200); }.card-calendar { background: var(--mint); }.card-what { background: var(--coral); }.card-top { display: flex; justify-content: space-between; align-items: flex-start; }.case-no { font: 700 10px 'Space Mono', monospace; letter-spacing: .09em; }.card-symbol { font: 700 45px/.7 Fraunces, serif; color: rgba(51,38,75,.75); }.mission-card h3 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 28px; letter-spacing: -.04em; }.mission-card p { margin: 8px 0 0; max-width: 230px; color: rgba(51,38,75,.76); font-size: 14px; line-height: 1.5; }.card-link { font-size: 13px; font-weight: 700; }.card-link b { font-size: 20px; vertical-align: -1px; margin-left: 5px; }

.what-section { max-width: 1150px; margin: 0 auto; padding: 0 30px 108px; }.what-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 35px; }.what-heading > div { max-width: 650px; }.what-heading h2 { font-size: clamp(36px, 4vw, 53px); line-height: 1.05; letter-spacing: -.045em; }.what-heading > div > p:last-child { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }.assignment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.assignment-card { min-height: 280px; padding: 27px; border: 1px solid var(--line); border-radius: 23px; box-shadow: 0 10px 24px rgba(88,60,145,.06); }.assignment-complete { background: white; }.assignment-waiting { background: #f7f2ff; border-style: dashed; }.assignment-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }.assignment-no { color: var(--plum); font: 700 10px 'Space Mono', monospace; letter-spacing: .09em; }.status { padding: 6px 9px; border-radius: 999px; font: 700 10px 'Space Mono', monospace; letter-spacing: .04em; }.status-complete { color: #1e6240; background: #dff6e8; }.status-waiting { color: #725114; background: var(--butter); }.assignment-card h3 { margin: 31px 0 9px; font-family: Fraunces, Georgia, serif; font-size: 30px; line-height: 1.04; letter-spacing: -.04em; }.assignment-card > p { max-width: 455px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }.file-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }.file-links a { min-height: 36px; padding: 8px 11px; border: 1px solid var(--lavender-300); border-radius: 9px; color: var(--plum); background: var(--lavender-50); font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }.file-links a:hover { background: var(--lavender-200); transform: translateY(-1px); }.file-links b { margin-left: 3px; }.waiting-note { margin-top: 21px !important; color: var(--plum) !important; font-size: 12px !important; font-weight: 700; }

.tool-kit { max-width: 1090px; margin: 0 auto 105px; padding: 55px 60px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; border-radius: 28px; color: var(--ink); background: #e7ddf5; }.tool-links { display: grid; gap: 13px; align-content: center; }.tool-links a { min-height: 88px; padding: 15px 20px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(88,60,145,.14); border-radius: 15px; background: rgba(255,255,255,.55); transition: background .2s, transform .2s; }.tool-links a:hover { background: white; transform: translateX(4px); }.tool-links a > b { margin-left: auto; font-size: 23px; }.tool-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 13px; background: var(--butter); font-size: 21px; }.tool-links strong,.tool-links small { display: block; }.tool-links strong { font-size: 15px; }.tool-links small { margin-top: 3px; color: var(--muted); font-size: 12px; }
footer { max-width: 1150px; margin: auto; padding: 26px 30px 35px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 12px; }footer p { margin-right: auto; }.back-top { font-weight: 700; color: var(--plum); }

@media (max-width: 980px) and (min-width: 761px) { .mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-header { height: 70px; padding: 0 20px; }nav { gap: 14px; font-size: 12px; }nav a:not(.nav-button) { display: none; }.hero { min-height: auto; padding: 45px 24px 34px; grid-template-columns: 1fr; text-align: center; }.hero-copy { padding: 0; }.hero-description { margin: 20px auto; }.hero-actions { justify-content: center; }.mini-note { margin-top: 20px; }.hero-character { height: 395px; margin-top: 0; }.hero-character img { height: 400px; }.sunburst { width: 315px; height: 315px; bottom: 26px; }.case-tag { right: 8%; bottom: 14%; }.clue-banner { margin: 10px 20px 70px; padding: 14px; grid-template-columns: auto 1fr; }.clue-banner button { grid-column: 2; justify-self: start; padding: 0; }.missions,.what-section { padding-left: 20px; padding-right: 20px; padding-bottom: 76px; }.mission-grid,.assignment-grid { grid-template-columns: 1fr; }.mission-card { min-height: 228px; }.what-heading { display: block; margin-bottom: 28px; }.what-heading .button { margin-top: 22px; }.assignment-card { min-height: 0; padding: 24px; }.assignment-card h3 { margin-top: 26px; }.tool-kit { margin: 0 20px 72px; padding: 37px 24px; grid-template-columns: 1fr; gap: 30px; }.tool-copy h2 br { display: none; }footer { margin: 0 20px; padding: 22px 0 30px; flex-wrap: wrap; gap: 14px; }footer p { order: 3; width: 100%; margin: 0; }.back-top { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.hero-character img { animation: none; }.button,.mission-card,.tool-links a { transition: none; } }
