:root {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #343437;
  background: #f3f3f4;
  font-synthesis: none;
  --desktop-bg: #f3f3f4;
  --window-bg: rgba(255, 255, 255, .92);
  --window-border: rgba(255, 255, 255, .85);
  --toolbar-bg: #f5f5f6;
  --line: rgba(25, 25, 30, .075);
  --ink: #343437;
  --muted: #949497;
  --accent: #4679e8;
  --window-shadow: 0 20px 70px rgba(21, 22, 28, .13), 0 3px 12px rgba(21, 22, 28, .08), 0 0 0 1px rgba(32, 32, 40, .055);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { min-width: 320px; overflow: hidden; background: var(--desktop-bg); color: var(--ink); transition: background .6s ease, color .3s ease; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, input { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #6d9bfa; outline-offset: 4px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: #d6e3ff; }
.skip-link { position: fixed; z-index: 500; left: 12px; top: 10px; padding: 9px 14px; border-radius: 7px; color: #34425c; background: #fff; box-shadow: 0 2px 15px #0002; font-size: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.desktop-wallpaper {
  position: fixed;
  z-index: 0;
  inset: 36px 0 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  padding: 34px 0 85px;
  background: radial-gradient(ellipse at 50% 43%, #fff 0, #fafafa 75%);
}
.desktop-wallpaper span {
  display: block;
  width: 100%;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(130px, 21.75vw, 340px);
  line-height: .79;
  letter-spacing: -.083em;
  padding-right: .08em;
  color: #fafafa;
  text-shadow: -7px -7px 12px #fff, 7px 9px 14px rgba(175,175,185,.12);
  filter: blur(1.5px);
  transform: scaleY(.88);
}
.desktop-wallpaper span:nth-child(2) { font-size: clamp(100px, 19.1vw, 305px); margin: -3px 0 -2px; }
.desktop-wallpaper span:nth-child(3) { font-size: clamp(160px, 25.3vw, 400px); }

.system-bar {
  height: 36px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  font-size: 11px;
  font-weight: 550;
  border-bottom: 1px solid rgba(70,70,80,.05);
  background: rgba(248,248,249,.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.system-brand { width: 18px; height: 25px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; font-size: 20px; font-weight: 750; letter-spacing: -.11em; transform: skewY(-4deg); }
.system-links { display: flex; align-items: center; gap: 22px; }
.system-links button { padding: 0; border: 0; background: transparent; font-size: inherit; font-weight: inherit; opacity: .8; }
.system-links a { opacity: .8; transition: opacity .15s; }
.system-links a:hover { opacity: 1; }
.system-links time { font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }

#desktop { position: fixed; inset: 112px 22px 112px; }
.desktop-window {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(var(--window-width, 340px), calc(100vw - 40px));
  max-height: min(680px, calc(100dvh - 202px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--window-border);
  border-radius: 15px;
  box-shadow: var(--window-shadow);
  background: var(--window-bg);
  overflow: hidden;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  animation: window-appear .24s cubic-bezier(.2,.75,.25,1) both;
}
.desktop-window.is-active { box-shadow: 0 24px 90px rgba(21,22,28,.17), 0 4px 15px rgba(21,22,28,.075), 0 0 0 1px rgba(32,32,40,.055); }
.desktop-window.is-maximized { width: calc(100vw - 44px); height: calc(100dvh - 190px); max-height: none; border-radius: 12px; }
.window-titlebar { min-height: 37px; height: 37px; flex: 0 0 37px; padding: 0 13px 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: grab; user-select: none; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(251,251,252,.8)); }
.window-titlebar:active { cursor: grabbing; }
.window-titlebar h2 { margin: 0; font-size: 10px; line-height: 1; font-weight: 550; letter-spacing: .005em; }
.window-controls { display: flex; gap: 7px; align-items: center; }
.window-controls button { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(0,0,0,.05); border-radius: 50%; font-size: 0; color: transparent; background: #d8d8da; position: relative; }
.window-controls button[data-window-action='minimize'] { background: #f2bd4f; }
.window-controls button[data-window-action='maximize'] { background: #5dc38b; }
.window-controls button[data-window-action='close'] { background: #f17976; }
.window-controls button:hover { filter: brightness(.92); }
.window-toolbar { flex-shrink: 0; min-height: 34px; display: flex; align-items: center; padding: 8px 15px; background: var(--toolbar-bg); font-size: 10px; color: #85858c; border-bottom: 1px solid var(--line); gap: 8px; }
.window-toolbar button { border: 0; background: transparent; padding: 0 3px; font-size: 12px; color: #9b9ba1; }
.window-toolbar span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-toolbar .toolbar-divider { flex-shrink: 0; width: 1px; height: 13px; margin: 0 3px; background: #dddde2; }
.text-tools { padding-top: 4px; padding-bottom: 4px; gap: 4px; }
.text-tools button { min-width: 22px; height: 23px; border-radius: 3px; font-size: 11px; }
.text-tools button[data-text-size='larger'] { font-size: 14px; }
.text-tools button[data-text-align] { font-size: 17px; line-height: 1; }
.window-toolbar button[aria-pressed='true'] { color: #53535f; background: #e7e7eb; }
.window-toolbar button:hover { color: #4f4f58; background: #e7e7ec; }
.window-body { min-height: 0; overflow: auto; flex: 1 1 auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d5d5d8 transparent; }
.window-status { flex-shrink: 0; min-height: 25px; display: flex; align-items: center; justify-content: space-between; padding: 5px 14px; font-size: 9px; color: #a3a3a9; background: rgba(247,247,249,.85); border-top: 1px solid var(--line); }
.window-status span { display: inline-flex; align-items: center; gap: 5px; }
.window-status i { width: 4px; height: 4px; border-radius: 50%; background: #76bf90; }
.about-copy { padding: 22px 23px 20px; font-size: 14px; line-height: 1.7; }
.about-copy h1 { font-size: 15px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; margin: 0 0 14px; }
.about-copy p { margin: 0 0 12px; color: #6b6b73; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: #44444c; font-weight: 550; }
.about-signoff { padding-top: 1px; color: #aaaab1 !important; font-size: 10px; }
.about-signoff span { color: #57575e; }
.text-caret { display: inline-block; width: 1px; height: 11px; margin-left: 4px; background: #aaaab1; vertical-align: -2px; }

.app-dock {
  position: fixed;
  z-index: 120;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 8px;
  border: 1px solid rgba(255,255,255,.93);
  border-radius: 24px;
  background: rgba(255,255,255,.57);
  box-shadow: 0 10px 30px rgba(30,30,40,.075), 0 1px 4px rgba(30,30,40,.025), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.dock-app { position: relative; width: 56px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 0; border: 0; background: transparent; transition: transform .2s cubic-bezier(.2,.65,.2,1); transform-origin: 50% 90%; }
.dock-app img { width: 56px; height: 56px; overflow: visible; pointer-events: none; }
.dock-app:hover { transform: translateY(-5px) scale(1.06); z-index: 2; }
.app-label { position: absolute; bottom: calc(100% + 12px); padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(35,35,40,.12); border: 1px solid rgba(0,0,0,.045); font-size: 10px; line-height: 1; white-space: nowrap; opacity: 0; transform: translateY(4px) scale(.9); transition: opacity .16s, transform .16s; pointer-events: none; }
.dock-app:hover .app-label, .dock-app:focus-visible .app-label { opacity: 1; transform: translateY(0) scale(.9); }
.app-indicator { display: block; width: 3px; height: 3px; margin-top: 5px; border-radius: 50%; background: #8f8f96; opacity: 0; }
.dock-app.is-open .app-indicator, .dock-app[aria-expanded='true'] .app-indicator { opacity: 1; }
.assistant-orb { position: fixed; z-index: 115; right: 26px; bottom: 25px; width: 49px; height: 49px; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: radial-gradient(circle at 31% 24%, rgba(255,255,255,.95), transparent 39%), radial-gradient(circle at 31% 77%, #e5b9fe, transparent 60%), radial-gradient(circle at 78% 30%, #bef9d0, transparent 58%), radial-gradient(circle at 72% 80%, #b0def9, #fff 80%); box-shadow: 0 0 16px rgba(255,255,255,.95), 0 0 32px rgba(180,185,255,.25), inset 0 0 12px #fff; color: rgba(104,109,128,.7); font-size: 17px; transition: transform .2s, box-shadow .2s; }
.assistant-orb:hover { transform: scale(1.1); box-shadow: 0 0 20px #fff, 0 0 35px rgba(180,185,255,.5), inset 0 0 12px #fff; }
.assistant-orb::before { content: '✧'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 23px; color: rgba(112,118,140,.6); }
.assistant-orb > span { position: absolute; right: calc(100% + 11px); top: 50%; transform: translateY(-50%); font-size: 10px; white-space: nowrap; color: #9999a1; }
.desktop-hint { position: fixed; left: 24px; bottom: 29px; margin: 0; color: #aaaab0; font-size: 9px; line-height: 1.7; letter-spacing: .01em; pointer-events: none; }

.gallery-stage { position: relative; padding: 12px; background: #f4f4f6; overflow: hidden; }
.gallery-stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; background: #e9e9ed; }
.gallery-caption { padding: 12px 16px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 15px; font-size: 11px; }
.gallery-caption strong { font-weight: 550; }
.gallery-caption span, .gallery-caption small { font-size: 10px; color: var(--muted); }
.gallery-controls { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.gallery-controls button { width: 23px; height: 23px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #73737d; }
.gallery-controls button:hover { background: #ededf1; }
.gallery-controls.window-toolbar { width: 100%; margin-left: 0; justify-content: flex-start; }
.gallery-controls.window-toolbar button { min-width: 23px; width: auto; padding-left: 5px; padding-right: 5px; font-size: 10px; }
.explorer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.explorer-toolbar > div { display: flex; gap: 4px; }
.project-grid { padding: 21px 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
.project-file { border: 0; padding: 9px 5px 8px; background: transparent; border-radius: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.project-file:hover { background: #f1f3f9; }
.project-file.is-selected, .project-file[aria-pressed='true'] { background: #edf1fa; box-shadow: inset 0 0 0 1px #e1e7f3; }
.project-file img { width: 67px; height: 67px; object-fit: contain; margin: 0 auto 10px; border-radius: 10px; }
.project-file strong { display: block; font-weight: 500; font-size: 10px; line-height: 1.5; }
.project-file small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.project-grid.is-list { display: flex; flex-direction: column; gap: 3px; padding: 10px; }
.project-grid.is-list .project-file { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 7px 11px; text-align: left; }
.project-grid.is-list .project-file img { width: 36px; height: 36px; margin: 0; object-fit: cover; border-radius: 5px; }
.project-grid.is-list .project-file small { margin: 0; }
.project-preview { border-top: 1px solid var(--line); }
.project-preview > img { width: 100%; max-height: 230px; object-fit: cover; }
.preview-copy { padding: 17px 20px 21px; }
.preview-copy > .muted { display: block; margin-bottom: 7px; font-size: 8px; letter-spacing: .04em; }
.preview-copy h3 { font-size: 15px; margin: 0 0 8px; font-weight: 600; }
.preview-copy p { font-size: 11px; color: #7b7b85; line-height: 1.8; margin: 0 0 12px; }
.project-status { display: block; margin-bottom: 14px; font-size: 9px; color: #8d9692; }
.text-link { font-size: 10px; color: var(--accent); text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.search-field { display: flex; width: 100%; align-items: center; gap: 7px; }
.search-field input { padding: 0; width: 100%; border: 0; background: transparent; font-size: 10px; color: var(--ink); }
.search-field input::placeholder { color: #a3a3ac; }
.note-list { padding: 5px 0; }
.note-row { display: flex; align-items: center; padding: 16px 20px; gap: 15px; border-bottom: 1px solid var(--line); transition: background .15s; }
.note-row:last-child { border-bottom: 0; }
.note-row:hover { background: #f6f7fa; }
.note-row > span:first-child { font-family: ui-monospace, monospace; font-size: 9px; color: #b0b0ba; flex-shrink: 0; }
.note-row > span:last-child { min-width: 0; }
.note-row strong { display: block; font-size: 11px; line-height: 1.6; font-weight: 500; }
.note-row small { display: block; margin-top: 3px; font-size: 9px; color: #9c9ca5; line-height: 1.5; }
.all-notes { display: block; padding: 17px 20px; border-top: 1px solid var(--line); }
.resource-intro { padding: 17px 20px; margin: 0; font-size: 11px; line-height: 1.8; color: #9c9ca5; border-bottom: 1px solid var(--line); }
.resource-list { padding: 5px 0; }
.resource-row { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }
.resource-row:last-child { border-bottom: 0; }
.resource-row:hover { background: #f7f8fb; }
.resource-number { font-size: 9px; font-family: ui-monospace, monospace; color: #b0b0ba; align-self: flex-start; padding-top: 3px; }
.resource-row h3 { margin: 0 0 4px; font-size: 11px; font-weight: 550; }
.resource-row p { margin: 0; font-size: 10px; line-height: 1.7; color: #9696a0; }
.resource-arrow { margin-left: auto; font-size: 14px; color: #b4b4bd; }
.contact-card { padding: 28px 26px 30px; text-align: center; }
.contact-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; background: linear-gradient(145deg, #dae4ff, #eff3ff); display: grid; place-items: center; font-size: 23px; font-weight: 650; color: #6276b0; box-shadow: inset 0 0 0 1px rgba(56,80,130,.05); }
.contact-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.contact-card p { margin: 0 0 20px; font-size: 11px; color: #94949f; line-height: 1.7; }
.contact-card .eyebrow { margin-bottom: 10px; font-size: 8px; letter-spacing: .14em; color: #aaaab3; }
.contact-card > .muted:last-child { margin: 17px 0 0; font-size: 9px; }
.contact-link { display: block; padding: 11px 14px; border: 1px solid #e9e9ee; border-radius: 8px; margin-top: 8px; font-size: 11px; color: #63636d; background: #fafafa; transition: background .15s, border-color .15s; }
.contact-link:hover { background: #f0f3fa; border-color: #d8e0f3; }
.contact-link span { margin-left: 8px; color: #90909a; font-size: 10px; }
.chat-messages { padding: 19px 18px 5px; display: flex; flex-direction: column; gap: 11px; }
.chat-bubble { align-self: flex-start; max-width: 92%; border-radius: 11px 11px 11px 3px; padding: 12px 14px; background: #f0f0f5; font-size: 11px; line-height: 1.75; color: #777781; }
.chat-bubble p { margin: 0 0 8px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble.from-user { align-self: flex-end; background: #e9efff; color: #5772a8; border-radius: 11px 11px 3px 11px; }
.question-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 18px; }
.question-list button { border: 1px solid #e9e9f0; background: #fff; padding: 7px 9px; border-radius: 6px; font-size: 9px; color: #91919e; text-align: left; }
.question-list button:hover { background: #f3f5ff; color: #617bac; border-color: #dce4f5; }
.chat-form { display: flex; gap: 8px; padding: 12px 13px; border-top: 1px solid var(--line); background: #fafafa; }
.chat-form input { width: 100%; min-width: 0; border: 1px solid #e7e7ed; border-radius: 7px; padding: 9px 11px; background: #fff; font-size: 10px; color: #62626d; }
.chat-form input::placeholder { color: #b0b0ba; }
.chat-form button { width: 33px; flex-shrink: 0; border: 0; border-radius: 7px; background: #5c79c1; color: #fff; font-size: 16px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #f7f7fa; color: #676773; font-size: 10px; }
.button-link:hover { background: #eeeef5; }
.muted { color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 35px 20px; font-size: 11px; line-height: 1.8; }
.noscript-content { position: fixed; z-index: 200; inset: 80px max(20px, calc((100vw - 600px) / 2)) 120px; padding: 30px; overflow: auto; border-radius: 14px; background: #fff; box-shadow: var(--window-shadow); }
.noscript-content h1 { font-size: 20px; }
.noscript-content p { font-size: 13px; color: #888; }
.noscript-content a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--accent); }

/* Keep the background lettering within the viewport. */

  .desktop-window { max-height: calc(100dvh - 170px); }
  .desktop-wallpaper { padding-top: 30px; }
  .desktop-wallpaper span { font-size: min(21vw, 31vh); }
  .desktop-wallpaper span:nth-child(2) { font-size: min(18vw, 26vh); }
  .desktop-wallpaper span:nth-child(3) { font-size: min(25vw, 37vh); }
@media (max-width: 900px) {
  .desktop-hint { display: none; }
  .app-dock { gap: 7px; }
  .assistant-orb { right: 17px; bottom: 32px; width: 40px; height: 40px; }
  .assistant-orb > span { display: none; }
}
@media (max-width: 640px) {
  body { background: #f2f2f3; }
  .system-bar { display: none; }
  .desktop-wallpaper { inset: 0; justify-content: flex-end; padding: 0 0 115px; }
  .desktop-wallpaper span { font-size: 24vw; line-height: .9; color: #e7e7e9; }
  .desktop-wallpaper span:nth-child(2) { font-size: 20.5vw; margin: 0; }
  .desktop-wallpaper span:nth-child(3) { font-size: 28.5vw; }
  #desktop { inset: 18px 14px 90px; z-index: 80; pointer-events: none; }
  .desktop-window { position: fixed !important; pointer-events: auto; top: 18px !important; left: 14px !important; transform: none !important; width: calc(100vw - 28px) !important; height: auto; max-height: calc(100dvh - 108px) !important; border-radius: 15px; }
  .desktop-window.is-maximized { top: 18px !important; left: 14px !important; transform: none !important; width: calc(100vw - 28px) !important; height: calc(100dvh - 108px) !important; }
  .window-titlebar { min-height: 43px; height: 43px; flex-basis: 43px; padding-left: 17px; padding-right: 16px; }
  .window-titlebar h2 { font-size: 12px; }
  .window-controls { gap: 9px; }
  .window-controls button { width: 12px; height: 12px; }
  .window-controls button[data-window-action='maximize'] { display: none; }
  .window-toolbar { min-height: 38px; font-size: 11px; padding: 9px 17px; }
  .window-status { min-height: 28px; font-size: 10px; }
  .about-copy { padding: 25px 24px 26px; font-size: 14px; line-height: 1.85; }
  .about-copy h1 { font-size: 18px; margin-bottom: 17px; }
  .about-copy p { margin-bottom: 17px; }
  .about-signoff { font-size: 11px; }
  .app-dock { position: absolute; z-index: 20; top: max(34px, env(safe-area-inset-top)); bottom: auto; width: calc(100% - 44px); max-width: 400px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px 12px; padding: 0; border: 0; background: none; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dock-app { width: 100%; height: auto; min-height: 91px; gap: 9px; }
  .dock-app img { width: 64px; height: 64px; }
  .dock-app:hover { transform: translateY(-3px); }
  .app-label { position: static; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 10px; color: #696970; line-height: 1.3; opacity: 1; transform: none; }
  .dock-app:hover .app-label, .dock-app:focus-visible .app-label { transform: none; }
  .app-indicator { display: none; }
  .assistant-orb { right: 22px; bottom: 98px; width: 44px; height: 44px; z-index: 75; }
  .project-grid { padding: 21px 14px; gap: 19px 6px; }
  .project-file img { width: 61px; height: 61px; }
  .project-file strong { font-size: 11px; }
  .project-file small { font-size: 9px; }
  .preview-copy p, .note-row strong, .resource-row h3 { font-size: 12px; }
  .note-row small, .resource-row p { font-size: 11px; }
  .note-row, .resource-row { padding: 18px; }
  .contact-card { padding: 30px 25px; }
  .contact-card p, .contact-link { font-size: 12px; }
  .chat-bubble { font-size: 12px; }
  .question-list button, .chat-form input { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.about-copy .about-name { font-size:15px; font-weight:650; margin-bottom:14px; color:var(--ink); }
@media(max-width:640px) { .about-copy .about-name { font-size:18px; } }

/* A single, quiet desktop: considered spacing and touch-friendly controls. */
:root { --muted:#76767f; --window-shadow:0 18px 55px #1b20301a,0 3px 9px #1b20300a,0 0 0 1px #3030380c; }
body { -webkit-font-smoothing:antialiased; }
#desktop { inset:64px 22px 112px; }
.desktop-window { top:50%; max-height:calc(100dvh - 172px); animation-duration:.18s; }
.desktop-window:focus { outline:none; }
.desktop-window.is-active { box-shadow:0 24px 65px #1b203024,0 4px 12px #1b20300a,0 0 0 1px #3030380e; }
.system-bar { height:42px; padding:0 24px; background:#ffffff8a; }
.system-brand { width:auto; height:32px; display:flex; align-items:center; gap:10px; transform:none; letter-spacing:0; }
.brand-mark { display:block; width:28px; height:28px; border:0; }
.brand-name { font-size:12px; font-weight:600; letter-spacing:-.02em; }
.system-links { gap:24px; color:#67676d; }
.system-links a,.system-links button { padding:7px 2px; opacity:1; }
.system-links a:hover,.system-links button:hover { color:#202025; }
.system-links time { min-width:42px; font-size:11px; }
.desktop-wallpaper { inset:42px 0 0; padding-top:10px; }
.window-titlebar { height:40px; flex-basis:40px; min-height:40px; padding-right:10px; }
.window-titlebar h2 { font-size:12px; letter-spacing:-.01em; }
.window-controls { gap:1px; }
.window-controls button { width:26px; height:28px; display:grid; place-items:center; border:0; border-radius:7px; color:#7e8992; }
.window-controls button[data-window-action] { background:transparent; }
.window-controls button:hover { color:#3f4d5b; background:#e4ebee80; filter:none; }
.window-controls button[data-window-action='close']:hover { color:#a87070; background:#f3e7e780; }
.window-controls .ui-icon { width:13px; height:13px; }
.window-controls [aria-pressed='true'] .ui-icon { transform:scale(.8); }
.window-controls button:hover::before,.window-controls button:hover::after { content:none; }
.window-controls button:focus-visible { outline-width:2px; outline-offset:0; }
.window-toolbar { color:#777780; }
.text-tools button { min-width:26px; height:26px; color:#71717a; }
.window-status { font-size:10px; color:#808089; min-height:28px; padding:6px 15px; }
.about-copy { padding:21px 22px 23px; line-height:1.8; }
.about-copy p { color:#4f4f57; margin-bottom:14px; }
.about-signoff { font-size:11px; color:#83838c!important; padding-top:2px; }
.text-caret { height:12px; background:#8f8f97; }
.app-label { font-size:11px; padding:7px 11px; }
.dock-app { transition:transform .22s cubic-bezier(.2,.7,.2,1),filter .2s; }
.dock-app:active { transform:translateY(-4px) scale(.97); }
.app-indicator { width:4px; height:4px; background:#64646c; }
.desktop-hint { display:flex; align-items:center; gap:7px; color:#93939b; font-size:10px; bottom:28px; }
.status-dot { width:5px; height:5px; background:#98b3a3; border-radius:50%; }
.hint-divider { padding:0 4px; color:#c2c2c7; }
.assistant-orb { width:58px; height:58px; border:0; border-radius:18px; background:transparent; box-shadow:none; }
.assistant-orb img { width:100%; height:100%; pointer-events:none; }
.assistant-orb:hover { transform:translateY(-3px); box-shadow:none; }
.assistant-orb::before { content:none; }
.assistant-orb > span { opacity:0; font-size:11px; transition:opacity .2s; padding:6px 9px; background:#ffffffdb; border-radius:6px; color:#777781; }
.assistant-orb:hover > span,.assistant-orb:focus-visible > span { opacity:1; }
.explorer-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); min-height:430px; }
.project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 8px; align-content:start; padding:18px 12px; }
.project-file { padding:12px 6px; gap:4px; transition:background .16s,box-shadow .16s; }
.project-file img { width:76px; height:60px; margin-bottom:7px; object-fit:cover; border:1px solid #00000008; border-radius:7px; }
.project-file strong { font-size:12px; line-height:1.5; }
.project-file small { font-size:10px; }
.project-preview { border-top:0; border-left:1px solid var(--line); background:#fcfcfd; }
.project-preview > img { height:190px; max-height:190px; object-fit:contain; padding:16px; background:#f1f2f5; }
.preview-copy { padding:20px; }
.preview-copy > .muted { font-size:10px; margin-bottom:10px; }
.preview-copy h3 { font-size:17px; line-height:1.5; }
.preview-copy p { font-size:13px; color:#72727d; line-height:1.8; margin:12px 0; }
.project-status { font-size:11px; color:#7c8982; }
.button-link { min-height:36px; padding:8px 14px; font-size:12px; background:#fff; border-color:#dedee5; color:#555561; }
.project-grid.is-list .project-file { grid-template-columns:36px minmax(0,1fr); gap:10px; }
.project-grid.is-list .project-file small { grid-column:2; margin-top:-9px; }
.gallery-stage { height:min(45vh,430px); padding:18px; }
.gallery-stage img { height:100%; width:100%; aspect-ratio:auto; object-fit:contain; background:transparent; border-radius:4px; }
.gallery-caption { padding:15px 18px; flex-wrap:wrap; gap:5px; }
.gallery-caption strong { font-size:13px; }
.gallery-caption span { font-size:11px; }
.gallery-controls.window-toolbar button { min-height:28px; min-width:30px; }
.search-field input { min-height:25px; font-size:13px; }
.note-row { padding:18px 21px; }
.note-row > span:nth-child(2) { flex:1; min-width:0; }
.note-row strong { font-size:13px; }
.note-row small { font-size:11px; color:#85858e; }
.note-row > span:last-child { color:#9696a0; }
.text-link { font-size:12px; }
.resource-intro { padding:23px; font-size:13px; color:#7c7c87; }
.resource-intro .eyebrow { font-size:10px; letter-spacing:.12em; color:#92929d; }
.resource-intro h3 { color:#4e4e59; font-size:18px; font-weight:550; margin:10px 0 6px; }
.resource-intro p { margin:0; }
.resource-row { gap:17px; padding:19px 23px; }
.resource-row h3 { font-size:13px; }
.resource-row p { font-size:12px; color:#81818d; }
.contact-card p { font-size:13px; color:#80808a; }
.contact-card .eyebrow { font-size:10px; }
.contact-link { font-size:13px; padding:13px; }
.contact-link span { font-size:12px; color:#71717c; }
.contact-card > .muted:last-child { font-size:11px; }
.ask-body { display:flex; flex-direction:column; }
.chat-messages { max-height:300px; min-height:90px; overflow:auto; flex:1 1 auto; }
.chat-bubble { font-size:13px; color:#676773; margin:0; }
.question-list { flex-shrink:0; }
.question-list button { font-size:11px; padding:9px 11px; color:#767685; }
.chat-form { flex-shrink:0; }
.chat-form input { font-size:12px; }
.empty-state { font-size:13px; }
@media (max-width:1000px) { .desktop-hint { display:none; } }
@media (max-width:640px) {
  .system-bar { display:flex; height:52px; padding:0 21px; background:transparent; backdrop-filter:none; border:0; }
  .brand-mark { width:28px; height:28px; }
  .brand-name { font-size:12px; }
  .system-links { gap:0; }
  .system-links a,.system-links button { display:none; }
  .system-links time { color:#898991; }
  .desktop-wallpaper { inset:0; padding:0 0 70px; }
  .desktop-wallpaper span { color:#fafafa; }
  .app-dock { top:90px; gap:22px 12px; width:calc(100% - 38px); }
  .app-label { font-size:12px; color:#65656e; }
  .dock-app { min-height:94px; }
  .dock-app:hover { transform:none; }
  .dock-app:active { transform:scale(.94); }
  #desktop { inset:66px 14px 24px; }
  .desktop-window { top:66px!important; max-height:calc(100dvh - 90px)!important; }
  .desktop-window.is-maximized { top:66px!important; height:calc(100dvh - 90px)!important; }
  .window-titlebar { height:44px; min-height:44px; flex-basis:44px; padding:0 12px 0 17px; }
  .window-controls { gap:4px; }
  .window-controls button { width:30px; height:32px; }
  .window-controls button[data-window-action='maximize'] { display:none; }
  .window-toolbar { padding:7px 12px; }
  .text-tools { gap:5px; }
  .text-tools button { min-width:27px; height:27px; }
  .about-copy { padding:23px; font-size:14px; }
  .about-copy .about-name { font-size:17px; }
  .explorer-body { display:block; min-height:0; }
  .project-grid { grid-template-columns:repeat(3,minmax(0,1fr)); padding:12px 8px; gap:6px; }
  .project-file { padding:9px 4px; }
  .project-file img { width:62px; height:46px; margin-bottom:3px; }
  .project-file strong { font-size:11px; }
  .project-file small { font-size:9px; }
  .project-preview { border-left:0; border-top:1px solid var(--line); }
  .project-preview > img { height:150px; }
  .preview-copy { padding:17px; }
  .preview-copy h3 { font-size:16px; }
  .project-grid.is-list .project-file { grid-template-columns:32px 1fr auto; }
  .project-grid.is-list .project-file small { grid-column:auto; margin:0; }
  .gallery-stage { height:42vh; padding:10px; }
  .gallery-caption { display:block; }
  .gallery-caption span { display:block; margin-top:6px; }
  .search-field input,.chat-form input { font-size:16px; }
  .note-row { padding:17px; gap:11px; }
  .note-row strong { font-size:13px; }
  .resource-intro,.resource-row { padding:20px; }
  .assistant-orb { bottom:24px; right:22px; z-index:75; }
  .chat-messages { max-height:35dvh; }
  .desktop-hint { display:none; }
}
@media (max-width:360px) { .app-dock { width:calc(100% - 26px); gap:20px 8px; } .dock-app img { width:58px; height:58px; } .project-file strong { font-size:10px; } .text-tools { gap:2px; } }

.chat-messages { min-height:0; }
.gallery-controls button:disabled { opacity:.35; cursor:default; }
@media (hover:none) { .dock-app:hover { transform:none; } }

/* One icon language across the desktop: frosted surfaces and precise linework. */
.ui-icon { display:inline-block; width:16px; height:16px; flex-shrink:0; vertical-align:-3px; pointer-events:none; }
.window-toolbar button { display:inline-flex; align-items:center; justify-content:center; }
.window-titlebar .ui-icon { vertical-align:0; }
.explorer-path { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.explorer-path > span { overflow:hidden; text-overflow:ellipsis; }
.system-links a { display:inline-flex; align-items:center; gap:3px; }
.system-links a .ui-icon { width:13px; height:13px; }
.chat-form button { display:grid; place-items:center; color:#526d7f; border:1px solid #cfdae480; background:linear-gradient(145deg,#f4f8f9,#dde7edb3); box-shadow:inset 0 1px 0 #fff; }
.contact-avatar { width:76px; height:76px; padding:0; background:none; box-shadow:none; border:0; }
.contact-avatar img { width:76px; height:76px; }
.resource-arrow .ui-icon,.note-row > span:last-child .ui-icon { width:15px; height:15px; }
@media (max-width:640px) { .system-links a { display:none; } }

/* Elastic two-line lettering. Each glyph keeps a stable resting hit region. */
.notebook-tabs { gap:6px; padding:10px 16px; }
.notebook-tabs button { min-height:36px; padding:7px 18px; border-radius:8px; font-size:14px; color:#777780; }
.notebook-tabs button[aria-selected='true'] { color:#344655; background:#fff; box-shadow:0 1px 4px #25344712,inset 0 0 0 1px #e4e7ec; }
.notebook-tabs button:focus-visible { outline:2px solid #8babbf; outline-offset:2px; }
.notebook-panel { min-height:380px; }
.notebook-panel[hidden] { display:none; }
.notebook-panel > .window-body { overflow:visible; }
.notebook-panel .note-row strong,.notebook-panel .resource-row h3 { font-size:16px; }
.notebook-panel .note-row small,.notebook-panel .resource-row p { font-size:14px; }
.notebook-panel .all-notes { font-size:14px; }
@media (max-width:640px) { .notebook-panel { min-height:0; } .notebook-tabs { padding:8px 12px; } }

.desktop-wallpaper { gap:8px; }
.desktop-wallpaper .wallpaper-line {
  position:relative;
  display:flex;
  justify-content:center;
  width:96%;
  height:.84em;
  flex-shrink:0;
  padding:0;
  margin:0;
  font-size:min(27vw,39vh);
  line-height:1;
  letter-spacing:0;
  transform:scaleY(.92);
  filter:blur(.65px);
}
.wallpaper-letter {
  display:inline-block;
  flex:0 0 auto;
  font-style:normal;
  transform-origin:0 50%;
  --edge-shift:0px;
  --edge-alpha:0;
  text-shadow:
    var(--edge-shift) 0 1px rgb(119 174 193 / var(--edge-alpha)),
    calc(var(--edge-shift) * -1) 0 1px rgb(191 139 168 / var(--edge-alpha)),
    -7px -7px 12px #fff,
    7px 9px 14px rgb(175 175 185 / .13);
}
.wallpaper-line.is-reactive .wallpaper-letter { position:absolute; left:0; top:0; }
.app-dock.has-pointer-motion .dock-app { transition:none; }
.app-dock.has-pointer-motion .dock-app:hover { transform:none; }
@media (max-width:640px) {
  .desktop-wallpaper { gap:5px; padding-bottom:85px; }
  .desktop-wallpaper .wallpaper-line { width:94%; height:.9em; font-size:29vw; }
}
