:root {
  color-scheme: dark;
  --bg: #060b13;
  --surface: #0b1422;
  --surface-2: #101d2f;
  --surface-3: #15243a;
  --line: rgba(113, 159, 211, .24);
  --line-strong: rgba(63, 177, 255, .58);
  --text: #edf5ff;
  --muted: #92a6c0;
  --blue: #20b6ff;
  --cyan: #53dcff;
  --indigo: #6575ff;
  --purple: #a45bff;
  --green: #36d6b6;
  --sidebar: 78px;
  --radius: 18px;
  --shadow: 0 10px 34px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255,255,255,.045);
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
}
html[data-theme="neon"] {
  --blue: #8c55ff;
  --cyan: #37e1ff;
  --indigo: #9d56ff;
  --purple: #ef5dff;
  --line-strong: rgba(164, 83, 255, .66);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(ellipse at 76% -14%, rgba(27, 80, 145, .22), transparent 40%), var(--bg); overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Persistent navigation shell */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 50; display: flex; flex-direction: column; align-items: stretch; padding: 10px 10px 16px; background: linear-gradient(180deg, rgba(8,16,29,.98), rgba(5,11,20,.99)); border-right: 1px solid rgba(69, 146, 220, .22); box-shadow: 8px 0 32px rgba(0,0,0,.22); transition: width .22s ease, box-shadow .22s ease; overflow: hidden; }
.sidebar:hover, .sidebar:has(.nav-item:focus-visible) { width: 232px; box-shadow: 18px 0 46px rgba(0,0,0,.48), 0 0 25px rgba(20,145,255,.12); }
.side-brand { height: 70px; display: flex; align-items: center; gap: 15px; padding: 0 9px; margin-bottom: 22px; text-decoration: none; color: var(--text); white-space: nowrap; }
.butterfly { width: 42px; height: 34px; color: #4bd8ff; filter: drop-shadow(0 0 8px rgba(38,177,255,.85)); }
.side-brand-text { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; opacity: 0; transform: translateX(-8px); transition: .16s ease; }
.sidebar:hover .side-brand-text, .sidebar:has(.nav-item:focus-visible) .side-brand-text { opacity: 1; transform: none; }
.side-nav { display: flex; flex-direction: column; gap: 9px; }
.nav-item { position: relative; display: flex; align-items: center; min-height: 58px; width: 100%; padding: 0 17px; gap: 17px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: #c4d2e5; text-decoration: none; cursor: pointer; white-space: nowrap; text-align: left; transition: .18s ease; }
.nav-item svg { width: 25px; height: 25px; color: #b6c9e3; }
.nav-item:hover { background: rgba(31, 101, 167, .18); color: #fff; border-color: rgba(61,170,255,.22); }
.nav-item.active { background: linear-gradient(105deg, rgba(15,136,255,.36), rgba(36,85,164,.16)); color: #eaf8ff; border-color: rgba(45,178,255,.85); box-shadow: inset 0 0 18px rgba(24,147,255,.18), 0 0 17px rgba(26,155,255,.25); }
.nav-item.active svg { color: #5bdfff; filter: drop-shadow(0 0 6px rgba(48,189,255,.75)); }
.nav-label { opacity: 0; transform: translateX(-7px); transition: .16s ease; font-size: 14px; font-weight: 600; line-height: 1.25; pointer-events: none; }
.sidebar:hover .nav-label, .sidebar:has(.nav-item:focus-visible) .nav-label { opacity: 1; transform: none; }
.google-nav svg { color: #4285f4; stroke-width: 2.6; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #8499b6; font-size: 12px; white-space: nowrap; }
.pulse-line { width: 44px; height: 14px; border-bottom: 2px solid rgba(42,178,255,.8); border-radius: 50%; filter: drop-shadow(0 0 6px #24baff); transform: skewY(-9deg); }

/* Header */
.app-shell { margin-left: var(--sidebar); min-height: 100vh; transition: margin-left .22s ease; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 clamp(20px, 3vw, 48px); background: rgba(5,10,18,.9); border-bottom: 1px solid rgba(81,133,193,.25); position: relative; z-index: 20; }
.brand-lockup { min-width: 255px; }
.wordmark { font-size: clamp(19px, 2vw, 29px); font-weight: 850; font-style: italic; letter-spacing: -.7px; line-height: 1.05; color: #f4f8ff; text-shadow: 0 2px 12px rgba(114,160,255,.35); }
.tagline { margin-top: 6px; font-size: 10px; letter-spacing: 4px; color: #a9bdd7; white-space: nowrap; }
.slashes { color: #70ccff; font-weight: 900; letter-spacing: 2px; margin-left: 4px; }
.top-actions { display: flex; align-items: center; gap: 17px; }
.search-box { display: flex; align-items: center; gap: 10px; height: 45px; width: clamp(230px, 26vw, 380px); padding: 0 14px; border: 1px solid rgba(131,161,207,.35); border-radius: 15px; background: linear-gradient(180deg, rgba(21,32,50,.95), rgba(9,17,29,.95)); box-shadow: inset 0 1px 10px rgba(0,0,0,.3), 0 3px 14px rgba(0,0,0,.18); }
.search-box svg { color: #d4e7fa; width: 20px; height: 20px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-box input::placeholder { color: #bdc9d9; opacity: .95; }
.search-box kbd { color: #778ca9; font-size: 10px; border: 1px solid rgba(135,157,184,.25); padding: 3px 5px; border-radius: 5px; white-space: nowrap; }
.icon-button, .profile-button { border: 0; cursor: pointer; background: transparent; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; color: #c5d8f0; position: relative; border-radius: 12px; }
.icon-button:hover { background: rgba(44,135,221,.16); }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.profile-button { display: flex; align-items: center; gap: 11px; color: #eaf4ff; font-weight: 700; letter-spacing: .6px; padding: 2px 0 2px 5px; }
.profile-button img { width: 49px; height: 49px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(96,187,255,.68); box-shadow: 0 0 13px rgba(47,167,255,.28); }
.profile-chevron { font-size: 22px; color: #a9c5e5; transform: translateY(-3px); }
.popover-anchor { position: relative; }
.popover { position: absolute; top: calc(100% + 13px); right: 0; z-index: 80; width: 280px; padding: 15px; border-radius: 17px; border: 1px solid rgba(67,168,255,.58); background: linear-gradient(150deg, rgba(13,28,48,.99), rgba(5,12,23,.99)); box-shadow: 0 18px 45px rgba(0,0,0,.5), 0 0 25px rgba(30,140,255,.18); }
.popover[hidden] { display: none; }
.popover-heading { font-size: 13px; color: #cbd9ea; margin: 0 0 10px; }
.popover-section + .popover-section { border-top: 1px solid rgba(127,160,201,.2); padding-top: 13px; margin-top: 14px; }
.theme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-choice { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 7px; border: 1px solid rgba(128,153,190,.25); background: rgba(4,10,18,.5); border-radius: 12px; font-size: 12px; cursor: pointer; }
.theme-choice.selected { border-color: var(--cyan); box-shadow: 0 0 10px rgba(37,184,255,.15); }
.theme-choice b, .language-choice b { position: absolute; right: 7px; top: 7px; width: 18px; height: 18px; display: none; place-items: center; color: #07101b; background: var(--cyan); border-radius: 50%; font-size: 11px; }
.theme-choice.selected b, .language-choice.selected b { display: grid; }
.theme-preview { height: 54px; display: block; border-radius: 8px; background-size: cover; }
.cinematic-preview { background: radial-gradient(ellipse at 72% 45%, #8cc7e7, transparent 23%), linear-gradient(145deg,#09111c,#142c46 52%,#030711); }
.neon-preview { background: radial-gradient(ellipse at 65% 30%, #a64fff, transparent 28%), linear-gradient(145deg,#08081a,#35126c 52%,#020713); }
.language-choice { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; border: 0; position: relative; background: transparent; color: #e8f2ff; text-align: left; cursor: pointer; }
.language-choice b { top: 7px; }
.notification-popover { width: 245px; }
.notification-popover p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Content */
.page-content { max-width: 1900px; margin: 0 auto; padding: 0 clamp(16px, 1.4vw, 26px) 24px; }
.hero { position: relative; height: clamp(280px, 27vw, 360px); margin-top: 2px; overflow: hidden; display: grid; grid-template-columns: 43% 57%; border: 1px solid rgba(103,143,194,.34); border-radius: 22px; background: linear-gradient(115deg,#08111f,#0d1b2d 55%,#07101b); box-shadow: var(--shadow), 0 0 24px rgba(21,126,225,.1); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3.5vw, 60px); background: linear-gradient(90deg, rgba(6,14,25,.99), rgba(8,18,31,.94) 66%, rgba(8,18,31,.32)); }
.hero-copy::after { content: ""; position: absolute; inset: 0 -70px 0 auto; width: 140px; pointer-events: none; background: linear-gradient(90deg, rgba(8,18,31,.5), transparent); }
.hero-butterfly { width: 76px; height: 55px; color: #54d5ff; stroke-width: 1.2; filter: drop-shadow(0 0 9px rgba(61,189,255,.72)); margin-bottom: 10px; }
.hero-title { font-size: clamp(31px, 3.3vw, 52px); line-height: .98; font-weight: 850; font-style: italic; letter-spacing: -1.6px; text-shadow: 0 3px 17px rgba(132,170,255,.22); }
.hero-subtitle { color: #bbd3ee; font-size: clamp(9px, .85vw, 13px); letter-spacing: clamp(2px, .35vw, 4.5px); margin-top: 10px; white-space: nowrap; }
.hero-signature { margin-top: 12px; color: #45d9ff; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: clamp(24px, 2.4vw, 36px); font-style: italic; text-shadow: 0 0 13px rgba(38,186,255,.75); }
.hero-signature span { font-size: 19px; margin-left: 5px; }
.hero-caption { margin-top: 7px; color: #d1e2f5; font-size: 13px; }
.hero-visual { position: relative; background-image: linear-gradient(90deg, rgba(8,18,31,.4), rgba(8,18,31,0) 34%), linear-gradient(0deg, rgba(4,9,16,.24), transparent 45%), url("assets/hero-fran.webp"); background-position: center 34%; background-size: cover; transition: background-image .2s ease; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,15,27,.1), transparent 35%, rgba(4,10,18,.06)); }
.hero-controls { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-arrow { pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%); width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: #f4faff; border: 1px solid rgba(187,214,245,.5); background: rgba(4,13,24,.68); font-size: 29px; line-height: 1; cursor: pointer; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.hero-arrow:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(42,181,255,.38); }
.hero-arrow.previous { left: 14px; }
.hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; pointer-events: auto; }
.hero-dot { border: 0; padding: 0; width: 9px; height: 9px; background: rgba(215,232,255,.55); border-radius: 50%; cursor: pointer; transition: .18s; }
.hero-dot.active { width: 26px; border-radius: 8px; background: #fff; box-shadow: 0 0 10px var(--cyan); }

.projects-section { margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 4px 15px; }
.section-title-wrap { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.section-icon { width: 30px; height: 30px; color: #d7eaff; filter: drop-shadow(0 0 8px rgba(33,158,255,.35)); }
.section-title-wrap h1 { margin: 0; font-size: clamp(21px, 2vw, 29px); line-height: 1; font-weight: 800; letter-spacing: -.5px; }
.project-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 9px; }
.filter-button, .view-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(122,151,190,.24); background: linear-gradient(180deg, rgba(25,36,54,.92), rgba(9,17,29,.94)); color: #c5d4e8; border-radius: 22px; min-height: 41px; padding: 0 17px; cursor: pointer; transition: .18s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.filter-button svg { width: 18px; height: 18px; }
.filter-text, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.filter-button .star-icon { fill: #f3c85a; stroke: #f3c85a; }
.filter-button:hover, .view-button:hover { border-color: rgba(75,183,255,.55); color: white; }
.filter-button.active { color: #dff7ff; border-color: rgba(46,175,255,.8); background: linear-gradient(180deg, rgba(25,147,255,.32), rgba(10,47,89,.58)); box-shadow: inset 0 0 15px rgba(32,158,255,.15), 0 0 11px rgba(29,152,255,.14); }
.view-toggle { display: flex; gap: 3px; padding: 3px; border-radius: 12px; border: 1px solid rgba(98,132,174,.24); background: rgba(9,17,29,.72); }
.view-button { min-height: 32px; width: 40px; border: 0; padding: 0; border-radius: 8px; background: transparent; }
.view-button svg { width: 20px; height: 20px; }
.view-button.active { color: #d9f6ff; background: linear-gradient(180deg, rgba(28,157,255,.45), rgba(21,80,146,.38)); box-shadow: inset 0 0 10px rgba(31,167,255,.17); }

.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.project-card { min-width: 0; position: relative; border: 1px solid rgba(104,147,198,.37); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(20,32,49,.98), rgba(8,16,28,.99)); box-shadow: 0 8px 22px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035); cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.project-card:hover { transform: translateY(-3px); border-color: rgba(58,180,255,.78); box-shadow: 0 12px 28px rgba(0,0,0,.36), 0 0 17px rgba(28,154,255,.15); }
.project-cover { height: clamp(118px, 10vw, 151px); position: relative; background-size: cover; background-position: center; overflow: hidden; }
.project-cover::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(5,10,17,.68), transparent); }
.favorite-toggle { position: absolute; top: 10px; left: 10px; z-index: 2; width: 31px; height: 31px; border-radius: 50%; border: 1px solid rgba(238,244,255,.22); display: grid; place-items: center; color: #e8f2ff; background: rgba(4,9,17,.9); cursor: pointer; backdrop-filter: blur(8px); }
.favorite-toggle svg { width: 19px; height: 19px; }
.favorite-toggle.is-favorite { color: #ffd25d; background: rgba(7,13,24,.76); }
.favorite-toggle.is-favorite svg { fill: #ffd25d; stroke: #ffd25d; filter: drop-shadow(0 0 4px rgba(255,210,93,.45)); }
.project-card-body { padding: 10px 14px 13px; }
.project-name { margin: 0 0 9px; font-size: 14px; font-weight: 760; letter-spacing: .05px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.project-progress-row { display: flex; align-items: center; gap: 9px; }
.progress-track { height: 9px; border-radius: 12px; overflow: hidden; flex: 1; background: rgba(99,119,149,.24); box-shadow: inset 0 1px 4px rgba(0,0,0,.42); }
.progress-fill { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #08b6ff, #55dfff); box-shadow: 0 0 10px rgba(29,180,255,.5); }
.project-card[data-accent="purple"] .progress-fill { background: linear-gradient(90deg, #923bff, #e17cff); box-shadow: 0 0 10px rgba(175,84,255,.48); }
.project-card[data-accent="mint"] .progress-fill { background: linear-gradient(90deg, #27cba5, #7af6ce); box-shadow: 0 0 10px rgba(53,226,187,.4); }
.progress-value { font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; min-width: 35px; text-align: right; }
.project-meta-row { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #9eb0c6; font-size: 10.5px; }
.project-date { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.project-date svg { width: 14px; height: 14px; }
.project-status { flex: 0 0 auto; border: 1px solid rgba(53,184,255,.55); border-radius: 14px; padding: 4px 9px; color: #62ddff; font-size: 10px; background: rgba(16,115,168,.12); }
.project-status.planning { color: #c9d4e4; border-color: rgba(165,184,208,.5); background: rgba(110,131,160,.1); }
.project-status.done { color: #75e1a6; border-color: rgba(72,207,131,.5); background: rgba(27,118,72,.14); }
.project-grid.list-view { display: flex; flex-direction: column; gap: 9px; }
.project-grid.list-view .project-card { display: grid; grid-template-columns: 176px minmax(0,1fr); min-height: 105px; }
.project-grid.list-view .project-cover { height: 100%; min-height: 105px; }
.project-grid.list-view .project-card-body { display: grid; grid-template-columns: minmax(170px, 1.2fr) minmax(180px, 1fr) minmax(220px, 1fr); align-items: center; gap: 12px; padding: 12px 18px; }
.project-grid.list-view .project-name { margin: 0; }
.project-grid.list-view .project-meta-row { margin: 0; }
.project-grid.list-view .project-progress-row { min-width: 180px; }
.empty-state { min-height: 190px; border: 1px dashed rgba(120,155,198,.3); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.empty-state[hidden] { display: none; }
.empty-state svg { width: 28px; height: 28px; color: #6bbfff; }
.empty-state strong { color: #dfeeff; }

.checkpoint-bar { display: flex; align-items: center; gap: clamp(9px, 1.2vw, 19px); margin-top: 17px; min-height: 59px; padding: 8px 12px 8px 17px; border: 1px solid rgba(102,147,199,.3); border-radius: 15px; background: linear-gradient(90deg, rgba(16,28,45,.96), rgba(7,14,24,.98)); box-shadow: var(--shadow); color: #b5c7dc; font-size: 11px; }
.checkpoint-left { display: flex; align-items: center; gap: 9px; white-space: nowrap; color: #53d7ff; }
.checkpoint-left strong { font-size: 12px; }
.checkpoint-check { width: 23px; height: 23px; display: grid; place-items: center; background: #123f61; border: 1px solid #46ccff; border-radius: 50%; color: #8fe5ff; }
.checkpoint-check svg { width: 14px; height: 14px; stroke-width: 2.5; }
.checkpoint-divider { height: 22px; width: 1px; background: rgba(130,161,197,.3); }
.checkpoint-item { display: inline-flex; gap: 5px; white-space: nowrap; align-items: center; }
.checkpoint-item b { color: #edf6ff; }
.checkpoint-item small { font-size: 10px; color: #91a8c1; }
.checkpoint-item i { color: #44e5b3; font-style: normal; font-weight: 900; }
.checkpoint-status { white-space: nowrap; }
.master-design-tag { margin-left: auto; min-height: 45px; display: flex; align-items: center; gap: 9px; padding: 4px 14px; white-space: nowrap; border: 1px solid rgba(49,176,255,.63); border-radius: 12px; background: linear-gradient(120deg, rgba(21,83,134,.45), rgba(9,17,29,.82)); box-shadow: 0 0 14px rgba(29,154,255,.12); color: #e3f5ff; font-size: 11px; }
.master-design-tag svg { width: 25px; height: 25px; color: #65ceff; }
.master-design-tag small { color: #b9cde5; }

.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 120; background: rgba(9,22,39,.97); border: 1px solid rgba(56,181,255,.58); color: #eaf7ff; border-radius: 12px; padding: 12px 18px; box-shadow: 0 10px 35px rgba(0,0,0,.45), 0 0 18px rgba(32,165,255,.18); font-size: 13px; transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.project-dialog { width: min(450px, calc(100vw - 30px)); padding: 0; border: 1px solid rgba(70,175,255,.6); border-radius: 20px; color: var(--text); background: #091525; box-shadow: 0 24px 80px rgba(0,0,0,.65), 0 0 28px rgba(31,151,255,.15); overflow: hidden; }
.project-dialog::backdrop { background: rgba(1,5,12,.72); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; color: white; background: rgba(4,10,18,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; }
.dialog-close svg { width: 17px; height: 17px; }
.dialog-cover { height: 180px; background-size: cover; background-position: center; }
.dialog-body { padding: 20px; }
.dialog-kicker { color: var(--cyan); font-size: 10px; letter-spacing: 2px; }
.dialog-body h2 { font-size: 20px; margin: 6px 0; }
.dialog-body p { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
.dialog-progress { height: 8px; background: rgba(130,153,179,.2); border-radius: 10px; overflow: hidden; margin: 13px 0; }
.dialog-progress span { display: block; height: 100%; background: linear-gradient(90deg,var(--blue),var(--cyan)); border-radius: inherit; }
.dialog-note { color: #a5b7cc; font-size: 12px; margin: 14px 0; padding: 10px; border-radius: 10px; background: rgba(45,111,166,.13); border: 1px solid rgba(83,150,202,.2); }
.primary-button { min-height: 40px; border: 1px solid var(--line-strong); border-radius: 11px; padding: 0 18px; color: white; background: linear-gradient(100deg, rgba(0,152,255,.66), rgba(56,84,219,.7)); cursor: pointer; }

@media (max-width: 1180px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .checkpoint-bar { flex-wrap: wrap; }
  .master-design-tag { margin-left: auto; }
  .project-toolbar { gap: 8px; }
}
@media (max-width: 760px) {
  :root { --sidebar: 62px; }
  .sidebar { padding-inline: 6px; }
  .sidebar:hover, .sidebar:has(.nav-item:focus-visible) { width: 205px; }
  .nav-item { padding-inline: 12px; min-height: 52px; gap: 14px; }
  .topbar { padding: 10px 12px; min-height: 70px; gap: 10px; }
  .brand-lockup { min-width: 0; }
  .wordmark { font-size: 16px; }
  .tagline { letter-spacing: 1.5px; font-size: 8px; }
  .search-box { width: 42px; padding: 0 10px; justify-content: center; }
  .search-box input, .search-box kbd { display: none; }
  .top-actions { gap: 5px; }
  .profile-button img { width: 38px; height: 38px; }
  .profile-button span:not(.profile-chevron) { display: none; }
  .page-content { padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; height: 315px; }
  .hero-copy { justify-content: flex-end; padding: 24px; background: linear-gradient(0deg, rgba(4,10,18,.98), rgba(5,13,23,.70) 48%, rgba(5,13,23,.1)); }
  .hero-visual { position: absolute; inset: 0; }
  .hero-butterfly { width: 48px; height: 35px; margin-bottom: 5px; }
  .hero-title { font-size: 33px; }
  .hero-subtitle { font-size: 8px; letter-spacing: 2px; }
  .hero-signature { font-size: 25px; margin-top: 4px; }
  .hero-caption { font-size: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .project-toolbar { width: 100%; justify-content: space-between; }
  .filter-group { gap: 5px; }
  .filter-button { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .filter-button svg { width: 15px; height: 15px; }
  .filter-text { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 10px; }
  .project-grid.list-view .project-card { grid-template-columns: 110px minmax(0,1fr); }
  .project-grid.list-view .project-card-body { display: block; padding: 9px; }
  .project-grid.list-view .project-cover { min-height: 110px; }
  .project-grid.list-view .project-name { margin-bottom: 8px; }
  .project-grid.list-view .project-meta-row { margin-top: 8px; }
  .checkpoint-bar { align-items: flex-start; gap: 8px; padding: 11px; }
  .checkpoint-divider { display: none; }
  .checkpoint-left { width: 100%; }
  .checkpoint-status { white-space: normal; }
  .master-design-tag { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@page { size: 1536px 1024px; margin: 0; }
@media print { dialog.project-dialog, .popover, .toast { display: none !important; } body { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }
