:root {
  --bg: #080806;
  --surface: #12120e;
  --surface-2: #191811;
  --text: #f7f5e9;
  --muted: #aaa796;
  --quiet: #706e61;
  --line: rgba(255, 231, 46, .12);
  --line-strong: rgba(255, 231, 46, .24);
  --accent: #ffe72e;
  --accent-2: #ffb800;
}
.mistmee-page::before { background: radial-gradient(circle at 8% 3%, rgba(255, 231, 46, .13), transparent 29%), radial-gradient(circle at 93% 66%, rgba(255, 184, 0, .09), transparent 31%), #080806; }
.mistmee-page ::selection { background: var(--accent); color: #161400; }
.mistmee-page .nav { background: rgba(10, 10, 7, .82); }
.mistmee-page .nav-cta, .mistmee-page .button, .mistmee-page .scroll-icon { color: #171400; }
.mistmee-page .button:hover { background: #fff17b; box-shadow: 0 16px 46px rgba(255, 231, 46, .17); }
.mistmee-page .button-ghost { color: var(--text); }
.mistmee-page .hero::after { border-color: rgba(255, 231, 46, .14); box-shadow: 0 0 150px rgba(255, 231, 46, .06); }
.mistmee-page .hero-outline { -webkit-text-stroke-color: rgba(255, 231, 46, .88); }
.mistmee-page .scroll-hint { border-color: rgba(255, 231, 46, .32); background: rgba(12, 11, 6, .88); }
.mistmee-page .direction { background: linear-gradient(145deg, #17170f, #0d0d09); }
.mistmee-page .direction:hover { border-color: rgba(255, 231, 46, .55); background: linear-gradient(145deg, #201e0e, #121108); }
.mistmee-page .direction:hover .direction-arrow { color: #161400; }
.mistmee-page .direction .direction-top { padding-right: 48px; }
.mistmee-page .about-image { border-color: rgba(255, 231, 46, .22); background: #17160d; }
.mistmee-page .about-compact .about-image img { height: 250px; object-position: center 36%; }
.mistmee-page .contact-panel { border-color: rgba(255, 231, 46, .25); background: radial-gradient(circle at 90% 10%, rgba(255, 184, 0, .12), transparent 30%), radial-gradient(circle at 5% 90%, rgba(255, 231, 46, .1), transparent 35%), #12120e; }
.mistmee-hero .hero-copy h1 { font-size: clamp(4.1rem, 9.7vw, 9.4rem); }
.mistmee-hero .hero-grid, .mistmee-hero .hero-copy { min-width: 0; }
.mistmee-hero .hero-line { max-width: 760px; }
.mistmee-lab { padding-top: 92px; }
.lab-note { max-width: 430px; margin: 0; color: var(--muted); font-size: .9rem; }
.mistmee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mist-card { display: flex; min-height: 280px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(145deg, rgba(255, 231, 46, .035), rgba(255, 255, 255, .018)), var(--surface); }
.mist-card-wide { min-height: 315px; grid-column: 1 / -1; }
.mist-index { color: var(--accent); font-size: .67rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.mist-card h3 { max-width: 680px; margin: auto 0 10px; font-size: clamp(1.7rem, 3.2vw, 3.2rem); letter-spacing: -.045em; }
.mist-card:not(.mist-card-wide) h3 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.mist-card p { max-width: 720px; margin: 0; color: var(--muted); }
.mist-card .chip-list { margin-top: 22px; }
.about-more { display: inline-block; margin-top: 20px; }
.mist-card-link { align-self: flex-start; margin-top: 22px; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.mist-card-link:hover { text-decoration: underline; }
.mood-section { padding: 80px 0; }
.mood-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.mood-layout h2 { max-width: 650px; margin-bottom: 19px; }
.mood-console { position: relative; display: flex; min-height: 310px; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 30px; border: 1px solid rgba(255, 231, 46, .25); border-radius: 26px; background: radial-gradient(circle at 85% 12%, rgba(255, 231, 46, .17), transparent 34%), #11110c; }
.mood-console::before { content: ""; position: absolute; width: 180px; height: 180px; right: -55px; top: -60px; border: 1px solid rgba(255, 231, 46, .16); border-radius: 50%; }
.mood-console > strong { margin: auto 0 0; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.mood-console > p { min-height: 48px; margin: 12px 0 24px; color: var(--muted); }
.mood-button { align-self: flex-start; cursor: pointer; }
.mistmee-footer { align-items: center; }
.mistmee-footer .footer-links { align-items: center; }
.mistmee-footer newfpv-credit { --credit-accent: #ffe72e; }
.mistmee-page .process-section .step-num { border-color: rgba(255, 231, 46, .38); background: rgba(255, 231, 46, .075); }

/* Multi-page Mistmee system */
.mist-subhero { position: relative; min-height: 650px; overflow: hidden; padding: 165px 0 95px; border-bottom: 1px solid var(--line); isolation: isolate; }
.mist-subhero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .16; background-image: linear-gradient(rgba(255, 231, 46, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 231, 46, .12) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at 45% 45%, #000, transparent 72%); }
.mist-subhero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -120px; top: -170px; z-index: -1; border: 1px solid rgba(255, 231, 46, .15); border-radius: 50%; box-shadow: 0 0 140px rgba(255, 231, 46, .055); }
.mist-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 56px; color: #777466; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mist-breadcrumbs a { color: var(--accent); text-decoration: none; }
.mist-breadcrumbs a:hover { text-decoration: underline; }
.mist-subhero h1 { max-width: 1040px; margin: 0 0 28px; font-size: clamp(4.3rem, 8vw, 8.2rem); }
.mist-subhero .lead { max-width: 780px; }
.mist-subhero .page-actions { margin-top: 33px; }
.subhero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; }
.subhero-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #c7c3ae; font-size: .68rem; }
.mist-intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.mist-intro-grid h2 { position: sticky; top: 115px; font-size: clamp(2.5rem, 4.5vw, 4.35rem); }
.mist-prose { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.mist-prose strong { color: var(--text); }
.mist-prose p:last-child { margin-bottom: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-card { display: flex; min-height: 310px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(145deg, rgba(255, 231, 46, .025), rgba(255, 255, 255, .012)), var(--surface); transition: transform .22s, border-color .22s, background .22s; }
.topic-card-wide { grid-column: span 2; }
.topic-card .mist-index { margin-bottom: 70px; }
.topic-card h3 { margin: auto 0 10px; font-size: clamp(1.45rem, 2.6vw, 2.4rem); letter-spacing: -.04em; }
.topic-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.topic-card ul { margin: 16px 0 0; padding: 0; color: var(--muted); list-style: none; }
.topic-card li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .8rem; }
.topic-card li strong { color: var(--text); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 30px; }
.section-heading h2 { max-width: 790px; margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.section-heading > p { max-width: 430px; margin: 0 0 7px; color: var(--muted); }
.skill-rows { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .012); }
.skill-row { display: grid; grid-template-columns: 80px 1fr 1.3fr; align-items: center; gap: 25px; min-height: 122px; padding: 22px 26px; }
.skill-row + .skill-row { border-top: 1px solid var(--line); }
.skill-row > span { color: var(--accent); font-size: .7rem; font-weight: 850; letter-spacing: .16em; }
.skill-row h3 { margin: 0; font-size: 1.25rem; }
.skill-row p { margin: 0; color: var(--muted); font-size: .84rem; }
.mist-quote { padding: clamp(35px, 7vw, 82px); border: 1px solid rgba(255, 231, 46, .24); border-radius: 30px; background: radial-gradient(circle at 90% 10%, rgba(255, 231, 46, .12), transparent 34%), #11110c; }
.mist-quote p { max-width: 950px; margin: 0; font-size: clamp(1.65rem, 3.5vw, 3.25rem); font-weight: 760; line-height: 1.15; letter-spacing: -.04em; }
.mist-quote small { display: block; margin-top: 20px; color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.favorites-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; }
.favorite-block { min-height: 260px; padding: 27px; background: rgba(255, 255, 255, .012); }
.favorite-block:nth-child(even) { border-left: 1px solid var(--line); }
.favorite-block:nth-child(n+3) { border-top: 1px solid var(--line); }
.favorite-block h3 { margin: 45px 0 12px; font-size: 1.65rem; }
.favorite-block p { margin: 0; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-cloud span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c6c2ae; font-size: .72rem; }
.page-switcher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.page-switcher a { position: relative; display: flex; min-height: 150px; flex-direction: column; justify-content: flex-end; padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.page-switcher small { color: var(--accent); font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.page-switcher strong { margin-top: 26px; font-size: 1.2rem; }
.page-switcher b { position: absolute; right: 20px; top: 18px; color: var(--accent); }
.about-profile { display: grid; grid-template-columns: 340px 1fr; align-items: stretch; gap: 18px; }
.about-profile-image { overflow: hidden; border: 1px solid var(--line); border-radius: 27px; background: var(--surface); }
.about-profile-image img { width: 100%; height: 100%; object-fit: cover; }
.about-profile-copy { display: flex; min-height: 440px; flex-direction: column; justify-content: flex-end; padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line); border-radius: 27px; background: radial-gradient(circle at 90% 0, rgba(255, 231, 46, .1), transparent 35%), var(--surface); }
.about-profile-copy h2 { margin-bottom: 17px; }
.about-profile-copy .lead { margin-bottom: 0; }

@media (hover: hover) and (pointer: fine) {
  .topic-card:hover, .page-switcher a:hover { transform: translateY(-4px); border-color: rgba(255, 231, 46, .42); background-color: rgba(255, 231, 46, .025); }
  .mistmee-page .process-section .step:hover { border-color: rgba(255, 231, 46, .26); background-color: rgba(255, 231, 46, .025); }
}
@media (hover: hover) and (pointer: fine) {
  .mistmee-page .hero-fact:hover, .mistmee-page .mist-card:hover { border-color: rgba(255, 231, 46, .34); background-color: rgba(255, 231, 46, .035); transform: translateY(-3px); }
  .mist-card { transition: transform .2s, border-color .2s, background-color .2s; }
  .mistmee-page .contact-panel:hover { border-color: rgba(255, 231, 46, .42); }
}
@media (max-width: 920px) {
  .mood-layout { grid-template-columns: 1fr; gap: 28px; }
  .mist-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .mist-intro-grid h2 { position: static; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card-wide { grid-column: span 2; }
  .about-profile { grid-template-columns: 240px 1fr; }
  .mistmee-page .nav-wrap .nav.is-open { border-color: rgba(255, 231, 46, .3); }
  .mistmee-page .nav-wrap .nav.is-open .menu-button { border-color: rgba(255, 231, 46, .42); background: rgba(255, 231, 46, .1); }
}
@media (max-width: 620px) {
  .mistmee-page .nav-wrap { width: 100%; }
  .mistmee-page .nav-wrap .nav { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }
  .mistmee-hero .hero-copy h1 { max-width: 100%; font-size: clamp(3.5rem, 18vw, 4.4rem); letter-spacing: -.085em; }
  .mistmee-hero .hero-line { max-width: 100%; font-size: 1.22rem; overflow-wrap: anywhere; }
  .mistmee-hero .mobile-proof { max-width: 100%; font-size: .68rem; white-space: normal; }
  .mistmee-grid { grid-template-columns: 1fr; gap: 9px; }
  .mist-card, .mist-card-wide { min-height: 220px; grid-column: auto; padding: 20px; }
  .mist-card h3 { margin-top: 55px; }
  .mistmee-page .about-compact .about-image { display: block; width: 112px; margin-bottom: 22px; border-radius: 19px; }
  .mistmee-page .about-compact .about-image img { height: 112px; }
  .mood-section { padding: 60px 0; }
  .mood-console { min-height: 285px; padding: 22px; border-radius: 21px; }
  .mood-button { width: 100%; }
  body.mistmee-page .footer.mistmee-footer { align-items: center; justify-content: center; flex-direction: row; gap: 12px; white-space: nowrap; text-align: center; }
  .mistmee-footer .footer-links { width: auto; flex: 0 0 auto; }
  .mistmee-footer newfpv-credit { width: auto; }
  .mist-subhero { min-height: 100svh; padding: 118px 0 80px; }
  .mist-subhero::after { width: 115vw; height: 115vw; right: -55vw; top: 40px; }
  .mist-breadcrumbs { margin-bottom: 58px; }
  .mist-subhero h1 { font-size: clamp(3.4rem, 16.5vw, 4.6rem); overflow-wrap: anywhere; }
  .mist-subhero .lead { font-size: .95rem; }
  .subhero-meta { gap: 6px; }
  .subhero-meta span { padding: 6px 8px; font-size: .6rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: 2.55rem; }
  .topic-grid { grid-template-columns: 1fr; gap: 9px; }
  .topic-card, .topic-card-wide { min-height: 230px; grid-column: auto; padding: 20px; }
  .topic-card .mist-index { margin-bottom: 45px; }
  .skill-row { grid-template-columns: 44px 1fr; gap: 12px; min-height: 0; padding: 18px; }
  .skill-row p { grid-column: 1 / -1; }
  .favorites-grid { grid-template-columns: 1fr; }
  .favorite-block { min-height: 220px; }
  .favorite-block:nth-child(even) { border-left: 0; }
  .favorite-block + .favorite-block { border-top: 1px solid var(--line); }
  .page-switcher { grid-template-columns: 1fr; }
  .page-switcher a { min-height: 120px; }
  .about-profile { grid-template-columns: 1fr; }
  .about-profile-image { width: 130px; height: 130px; border-radius: 22px; }
  .about-profile-copy { min-height: 360px; padding: 24px; }
}
