@media screen {
  :root[data-desktop-theme="aqua-studio"] {
    --wall-color: #f5f5f5;
    --wall-art: var(--wall-color);
    --wall-texture: radial-gradient(circle, #00000021 1px, transparent 1.3px) 0 48px / 34.238px 34px;
    --shell-ink: #1b2b40;
    --shell-muted: #445570;
    --shell-line: #9baec6;
    --highlight: #f3f8ff;
    --accent: #2358a1;
    --accent-line: #5883bb;
    --shell-chrome: linear-gradient(180deg, #f9fafc, #e8edf3 48%, #d2dbe7 51%, #e4ebf4);
    --toolbar-fill: linear-gradient(180deg, #f8fafc, #e8edf4 48%, #dce4ef 51%, #e6ecf4);
    --aqua-blue: linear-gradient(180deg, #fcfeff, #d2e7ff 43%, #a2c8f8 49%, #c1dfff 88%, #d9edff);
    --aqua-silver: linear-gradient(180deg, #fff, #f1f4f8 43%, #dfe6ef 50%, #f0f4f8);
    --greeting-fill: linear-gradient(180deg, #f7fcff, #d3e8ff 41%, #afcff8 48%, #d6ebfd);
    --greeting-border: #6d95ca;
    --greeting-shadow: 0 1px 1px #fff inset, 0 8px 20px #23497525;
    --reader-rail: #eef3f9;
    --reader-current: #d6e6fb;
    --reader-line: #cad7e7;
    --work-window: #f9fbfe;
    --card-fill: #fff;
    --file-shadow: 0 1px 0 #fff inset, 0 3px 8px #183a5d2b;
    --case-content-width: 828px;
    --case-window-width: calc(100% - clamp(110px, 10%, 184px));
  }

  :where(button, a, input, [tabindex]):focus-visible { outline-offset: 3px; }
  .desktop { overflow: clip; }

  .login-clock time { font-weight: 480; }
  .login-profile { gap: 12px; }
  .login .lv {
    background: radial-gradient(circle at 35% 16%, #fdfefe, #d0e5ff 36%, #a2c3ee 69%, #729bcf);
    box-shadow: 0 0 0 3px #ecf6ffab inset, 0 7px 21px #27466a39;
  }

  .menubar {
    background: linear-gradient(#fafbfd, #e8edf3);
    box-shadow: 0 1px #a2b3ca, 0 1px #fff inset;
  }
  .menu-active { font-weight: 650; }
  .menu-active:empty, .menubar > .menu-divider { display: none; }
  .menubar .menu-home { flex: 0 0 auto; }
  .menu-home .menu-brand { display: block; width: auto; height: 27px; }
  .menubar .languages button[aria-pressed=true] { background: #dcecfc; }

  .welcome { width: min(47%, 640px); }
  .welcome .welcome-message {
    --bubble-base: #d6ebfd;
    min-height: 0;
    padding: 10px clamp(15px, 1.8vw, 24px);
    color: #101827;
    font-size: clamp(21px, 1.9vw, 28px);
    font-weight: 500;
    letter-spacing: -.038em;
    line-height: 1.16;
    text-align: center;
    text-wrap: balance;
    border-radius: 22px;
  }
  .welcome p { font-size: clamp(15px, 1.47vw, 20px); }
  .welcome-actions { gap: 10px; margin-top: 22px; }
  .welcome-actions .aqua { min-height: 44px; }
  .welcome-actions [data-open="projects"] {
    --pill-background: linear-gradient(180deg, #5a5d63, #44474d 46%, #2f3237 51%, #42454b);
    --pill-border: #34373e;
    --pill-hover: #ffffff12;
    color: #fff;
  }
  .welcome-actions [data-open="projects"]::after {
    border-top-color: #ffffff64;
  }
  .aqua, .login .aqua { box-shadow: 0 1px #fff inset, 0 3px 8px #1c456026; }
  .aqua.aqua-secondary { border-color: #98a9be; }

  .launch-app strong { margin-top: 4px; font-weight: 600; }
  .launch-app:hover, .launch-app:focus-visible {
    background: #f4f8fdd9;
    border-color: #829dc3;
    box-shadow: 0 1px #fff inset;
  }
  .launch-app .app-icon { filter: drop-shadow(0 4px 5px #3154782b); }
  [data-desktop-item] { cursor: grab; user-select: none; z-index: 4; }
  [data-desktop-item] :is(.app-icon, .mini-window, .computer-icon),
  .desk-note[data-desktop-item] { touch-action: none; }
  [data-desktop-item][data-dragging] { cursor: grabbing; z-index: 6; }

  .welcome > .retro-computer {
    top: auto;
    bottom: calc(100% + 18px);
    left: 50%;
    width: 67px;
    min-height: 67px;
    padding: 4px;
    place-items: center;
    align-content: center;
  }
  .retro-computer:hover:not(:focus-visible) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .computer-icon {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 49px;
    height: 57px;
    border: 1px solid #857c6d;
    border-radius: 7px 7px 4px 4px;
    background: linear-gradient(155deg, #faf6e8, #ded6c4 66%, #b5aa96);
    box-shadow: 0 4px 7px #4b423b40, inset 2px 2px #fffc,
      inset -3px -2px #766b5729, inset 0 -6px #a79a8033;
  }
  .computer-screen {
    position: absolute;
    inset: 7px 6px auto 6px;
    height: 32px;
    border: 3px solid #9e9585;
    border-right-color: #f0ead9;
    border-bottom-color: #f0ead9;
    border-radius: 6px;
    background: radial-gradient(ellipse at 30% 11%, #e9faff, #8cb3d3 55%, #3b516e);
    box-shadow: inset 1px 1px 3px #283c5b86;
  }
  .computer-screen::before, .computer-screen::after, .computer-icon::after {
    content: "";
    position: absolute;
    background: #314963;
  }
  .computer-screen::before {
    top: 7px;
    left: 8px;
    width: 2px;
    height: 4px;
    border-radius: 2px;
    box-shadow: 9px 0 #314963;
  }
  .computer-screen::after {
    top: 12px;
    left: 8px;
    width: 11px;
    height: 6px;
    border-radius: 0 0 50% 50%;
    background: transparent;
    border-bottom: 2px solid #314963;
  }
  .computer-icon::after {
    inset: auto 6px 10px auto;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: #665d4f;
    box-shadow: 0 1px #fff8, -21px 0 #868479;
  }
  .mini-window { box-shadow: var(--file-shadow); border-color: #98afca; }
  .mini-title { padding-block-start: 3px; }
  .desk-note {
    width: 186px;
    padding: 24px 16px 16px;
    transform: rotate(-2deg);
    background: linear-gradient(180deg, #f3d987 0 10px, #e5c978 10px 11px, #fff5ca 11px, #fff0b6);
    color: #382a12;
    border-color: #d2b96e;
    border-radius: 5px 5px 4px 4px;
    box-shadow: 0 1px #fff8 inset, 0 8px 18px #50402023;
  }
  .desk-note > span, .desk-note .note-pin { display: none; }
  .desk-note p { margin: 0; font-size: 14px; font-weight: 650; line-height: 1.35; }
  .desk-note .note-detail {
    max-width: 22ch;
    margin-top: 5px;
    color: #5b4a25;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.4;
  }

  .dock {
    border-radius: 16px;
    background: var(--shell-chrome);
    box-shadow: var(--file-shadow), 0 7px 24px #25436722;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 260ms cubic-bezier(.2,.65,.3,1), opacity 180ms ease, visibility 0s;
  }
  .dock[data-hidden="true"] {
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0s, 260ms;
  }
  .dock button:hover, .dock button:focus-visible { background: #f8fbffad; }
  .dock button[aria-current=true] { background: #d2e4fa9c; }

  .app-window, .app-window[data-reader=true] { border-radius: 13px; }
  @media (prefers-reduced-motion: no-preference) {
    .app-window { animation: aqua-window-open 220ms cubic-bezier(.2,.7,.2,1); }
  }
  @keyframes aqua-window-open {
    from { opacity: 0; transform: var(--window-anchor, translateX(-50%)) scale(.97); }
    to { opacity: 1; transform: var(--window-anchor, translateX(-50%)) scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .dock { transition: none; }
  }
  .window-bar, .app-window[data-reader=true] .window-bar { box-shadow: 0 1px #fff inset; }
  .window-name { letter-spacing: 0; }
  .window-body { scrollbar-color: #8fa5c0 #f4f7fb; }
  .app-window[data-reader=false] .window-body { border-color: #bac9db; }
  .window-intro p { line-height: 1.6; }
  .lp-app :is(p, li, dd), .reader-index a { text-wrap: pretty; }
  .lp-app :is(h1, h2, h3, h4) { text-wrap: balance; }
  .chat-reply .contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .chat-reply .contact-links .aqua { margin-top: 0; max-width: 100%; }

  .app-window[data-window="projects"][data-reader="false"] .window-body {
    background: #fcfdff;
    padding: clamp(17px, 2.1vw, 26px) clamp(16px, 2.4vw, 32px) clamp(20px, 2.1vw, 28px);
  }
  .editorial-index { container-type: inline-size; }
  .editorial-index h2 {
    color: var(--shell-ink);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 620;
    letter-spacing: -.048em;
    margin: 0 0 18px;
  }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px clamp(12px, 1.6vw, 22px); }
  .editorial-card {
    align-content: start;
    border: 0;
    border-radius: 9px;
    background: none;
    overflow: visible;
  }
  .editorial-card-title {
    min-height: 0;
    padding: 9px 1px 2px 3px;
    border: 0;
    background: none;
  }
  .editorial-card-title strong { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.22; }
  .editorial-card-title small { font-size: 12px; margin-top: 4px; }
  .editorial-card-title > span[aria-hidden] {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    height: 29px;
    border: 1px solid #d6e1ee;
    border-radius: 50%;
    color: #35577d;
    background: #f2f6fb;
  }
  .editorial-card-title svg { width: 15px; height: 15px; }
  .editorial-card:is(:hover, :focus-visible) .editorial-card-title > span[aria-hidden] {
    border-color: var(--accent-line);
    color: var(--accent);
    background: var(--aqua-blue);
  }
  .editorial-card-image {
    aspect-ratio: 16 / 10;
    margin: 0;
    border: 1px solid #2239561a;
    border-radius: 8px;
    background: var(--gallery-matte, #f5f5f6);
  }
  .editorial-card-image img { object-fit: contain; }
  .editorial-card:hover img { transform: none; }
  .editorial-card:is(:hover, :focus-visible) .editorial-card-image { border-color: var(--accent-line); }
  .editorial-card[data-case="valueships"] { --gallery-matte: linear-gradient(#f7f7f7, #dadada); }
  .editorial-card[data-case="asia"] { --gallery-matte: #043153; }
  .editorial-card[data-case="databis"] { --gallery-matte: #100a13; }
  .editorial-card[data-case="jooser"] { --gallery-matte: #04150d; }
  .editorial-card[data-case="cytlaw"] { --gallery-matte: #e6dbed; }
  .editorial-card[data-case="riso"] { --gallery-matte: #351b13; }
  @container (min-width: 615px) {
    .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @container (min-width: 930px) {
    .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @container (max-width: 410px) {
    .editorial-grid { grid-template-columns: minmax(0, 1fr); }
  }

  .reader-sidebar { background: #eff3f9; }
  .reader-navigation { padding: 15px 11px 16px; }
  .reader-identity {
    gap: 9px;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0 4px 12px;
  }
  .reader-identity .app-icon { width: 36px; height: 36px; flex: 0 0 36px; }
  .reader-identity strong { color: var(--shell-ink); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
  .reader-identity small { color: var(--shell-muted); margin-top: 2px; }
  .reader-index-label { margin: 0 8px 4px; color: var(--shell-muted); font-size: 11px; font-weight: 650; }
  .reader-index { position: static; gap: 2px; padding: 0; }
  .reader-index a {
    display: block;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 7px 8px;
    color: var(--shell-ink);
    font-size: 13px;
    line-height: 1.35;
    text-wrap: pretty;
  }
  .reader-index a:focus-visible { outline-offset: 1px; }
  .reader-index a:hover { background: #e3ebf7; }
  .reader-index a[aria-current="location"] {
    border-color: #9bb7dc;
    background: linear-gradient(#eff6ff, #d8e7fb);
    box-shadow: 0 1px #fff inset;
    color: #163860;
    font-weight: 650;
  }

  .reader-paper:has(.editorial-case) { container: case-reader / inline-size; }
  .reader-paper .editorial-case {
    --editorial-divider: #dce4ee;
    width: min(100%, var(--case-content-width));
    gap: clamp(44px, 7.5cqi, 72px);
    color: var(--shell-ink);
  }
  .editorial-case .editorial-heading { gap: clamp(23px, 4cqi, 37px); }
  .editorial-case .editorial-intro { min-width: 0; display: grid; gap: 9px; }
  .editorial-case .editorial-heading h1 {
    font-size: clamp(30px, 4.9cqi, 43px);
    line-height: 1.1;
    font-weight: 620;
    letter-spacing: -.043em;
  }
  .editorial-case .editorial-deck {
    max-width: 45ch;
    margin: 0;
    color: var(--shell-muted);
    font-size: clamp(16px, 2.25cqi, 19px);
    line-height: 1.48;
    text-wrap: pretty;
  }
  .editorial-case .editorial-facts {
    width: min(100%, 620px);
    padding: clamp(10px, 1.7cqi, 16px) 0 0;
    border-bottom: 0;
    gap: 13px clamp(18px, 4cqi, 36px);
  }
  .editorial-facts dt { color: var(--shell-muted); margin-bottom: 4px; }
  .editorial-facts dd { color: var(--shell-ink); font-size: 13px; line-height: 1.42; }
  .editorial-heading > .editorial-figure { border: 0; background: none; }
  .editorial-heading > .editorial-figure :is(img, video) { border-radius: 11px; }

  .editorial-case .editorial-context,
  .editorial-case .editorial-section > header { display: grid; gap: clamp(11px, 1.65cqi, 16px); }
  .editorial-case .editorial-section { gap: clamp(26px, 5cqi, 46px); padding-top: clamp(23px, 4.3cqi, 39px); }
  .editorial-case :is(.editorial-context, .editorial-section) h2 {
    margin: 0;
    font-size: clamp(22px, 3.5cqi, 28px);
    font-weight: 630;
    letter-spacing: -.031em;
    line-height: 1.16;
    text-wrap: pretty;
  }
  .editorial-case :is(.editorial-context > p, .editorial-section > header p) {
    width: min(100%, 62ch);
    color: #3c4b5e;
    font-size: clamp(15px, 2.55cqi, 16px);
    line-height: 1.62;
  }
  .editorial-case .vs-project-boards { margin-top: clamp(15px, 3.7cqi, 32px); }
  .editorial-case :is(.editorial-pair, .vs-project-boards, .asia-media-row) { gap: clamp(12px, 2.6cqi, 24px); }
  .editorial-case .editorial-actions { gap: 9px; }
  .editorial-case .editorial-actions .aqua { min-height: 38px; }

  .editorial-case .reader-next {
    display: grid;
    gap: 8px;
    padding-top: clamp(18px, 3cqi, 24px);
  }
  .editorial-case .reader-next > .lp-meta {
    color: var(--shell-muted);
    font-family: var(--desk-font);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
  }
  .editorial-case .reader-next button {
    gap: 12px;
    padding: 8px 13px 8px 8px;
    margin: 0;
    background: #f4f8fd;
  }
  .editorial-case .reader-next button:hover, .editorial-case .reader-next button:focus-visible { background: #e7f0fc; }
  .reader-next-preview {
    flex: 0 0 clamp(60px, 12cqi, 100px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: #e4ebf4;
  }
  .reader-next-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .editorial-case .reader-next button strong { color: var(--shell-ink); font-size: 14px; line-height: 1.3; }
  .editorial-case .reader-next button > span:last-child { color: var(--accent); font-size: 18px; }

  .chat-form { background: #eef4fd; border-color: var(--reader-line); }
  .chat-form input { border-color: #9baec6; }

  .photo-gallery { display: grid; gap: 13px; align-items: center; }
  .gallery-shot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 9px;
    background: #e8edf3;
    box-shadow: 0 1px 4px #1b2b4024;
  }
  .gallery-shot img { display: block; width: 100%; height: auto; }
  .gallery-shot::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url('gallery-media/film-grain.png') repeat;
    opacity: .28;
    mix-blend-mode: soft-light;
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gallery-shot:hover::after { animation: gallery-grain .65s step-end; }
  }
  @keyframes gallery-grain {
    20% { background-position: -30px 41px; }
    40% { background-position: 73px -19px; }
    60% { background-position: 31px 58px; }
    80% { background-position: -48px -9px; }
  }

  .app-window[data-window="cv"] .window-body {
    padding: clamp(22px, 4vw, 54px);
  }
  .cv-sheet {
    --cv-divider: #dce4ee;
    width: min(100%, var(--case-content-width));
    color: var(--shell-ink);
  }
  .cv-header { padding-bottom: 26px; margin-bottom: 28px; }
  .cv-masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 13px 20px; }
  .cv-header h2 {
    font-size: clamp(27px, 3.3vw, 43px);
    line-height: 1.1;
    letter-spacing: -.043em;
  }
  .cv-title { margin-top: 8px; color: var(--accent); font-size: 15px; }
  .cv-contact { margin-top: 12px; color: var(--shell-muted); font-size: 13px; gap: 5px 16px; }
  .cv-profile { max-width: 69ch; margin-top: 20px; font-size: 15px; line-height: 1.65; }
  .cv-actions { margin-top: 0; }
  .cv-actions .aqua { min-height: 38px; font-size: 13px; }
  .cv-sheet h3 { margin-bottom: 18px; font-size: clamp(19px, 2vw, 23px); }
  .cv-experience { padding-bottom: 26px; }
  .cv-role { padding-block: 0; border: 0; }
  .cv-role + .cv-role { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--cv-divider); }
  .cv-role-heading { align-items: flex-start; }
  .cv-role-heading h4 { font-size: 18px; }
  .cv-role-heading p { color: var(--shell-muted); font-size: 13px; line-height: 1.4; }
  .cv-role-heading h4 + p { margin-top: 4px; }
  .cv-period { font-variant-numeric: tabular-nums; }
  .cv-bullets, .cv-project-list { max-width: 74ch; font-size: 15px; line-height: 1.55; }
  .cv-bullets { margin-top: 12px; padding-left: 18px; }
  .cv-bullets ::marker { color: var(--accent); }
  .cv-bullets li + li { margin-top: 6px; }
  .cv-selected { padding-block: 26px; }
  .cv-project-list a { font-weight: 650; }
  .cv-project-list li + li { margin-top: 12px; }
  .cv-project-list p { margin-top: 3px; }
  .cv-details { display: grid; gap: 18px; padding-top: 24px; }
  .cv-meta { margin: 0; font-size: 14px; line-height: 1.55; }
  .cv-meta h3 { margin-bottom: 5px; font-size: 16px; }
  .cv-meta li + li { margin-top: 3px; }
  .cv-meta li span { color: var(--shell-muted); }
  @media (min-width: 900px) {
    .cv-details { grid-template-columns: 1fr .8fr 1.3fr; gap: 22px; }
  }

  .app-window[data-window="cv"] .window-body:has(.cv-sheet[data-cv-style]) {
    container-type: inline-size;
  }
  .cv-sheet[data-cv-style] {
    --cv-section-space: clamp(26px, 4.5cqi, 40px);
    overflow-wrap: anywhere;
  }
  [data-cv-style] .cv-header {
    margin-bottom: var(--cv-section-space);
    padding-bottom: clamp(19px, 3cqi, 28px);
  }
  [data-cv-style] .cv-header h2 { font-size: clamp(29px, 5.3cqi, 44px); }
  [data-cv-style] .cv-title { margin-top: 5px; }
  [data-cv-style] .cv-contact { margin-top: 6px; }
  [data-cv-style] .cv-profile { max-width: 72ch; margin-top: 15px; }
  [data-cv-style] .cv-actions .aqua {
    border: 1px solid var(--cv-divider);
    background: #fff;
    color: inherit;
    box-shadow: none;
  }
  [data-cv-style] .cv-actions .aqua:hover { background: #f4f6f9; }
  [data-cv-style] .cv-role-heading .cv-period { color: var(--shell-muted); }
  [data-cv-style] .cv-meta p { max-width: 48ch; }
  [data-cv-style] .cv-meta ul { padding-left: 0; list-style: none; }
  [data-cv-style] .cv-meta li + li { margin-top: 8px; }

  /* Chronological CV */
  .cv-sheet[data-cv-style="editorial"] { --cv-divider: var(--reader-line); }
  [data-cv-style="editorial"] .cv-actions .aqua:hover { background: var(--aqua-blue); }
  [data-cv-style="editorial"] .cv-experience { padding-bottom: var(--cv-section-space); }
  [data-cv-style="editorial"] .cv-role + .cv-role { margin-top: 18px; padding-top: 18px; }
  [data-cv-style="editorial"] .cv-bullets { line-height: 1.62; }
  [data-cv-style="editorial"] .cv-selected { padding-block: var(--cv-section-space); }
  [data-cv-style="editorial"] .cv-project-list li + li { border-top: 1px solid var(--cv-divider); padding-top: 12px; }
  [data-cv-style="editorial"] a { color: var(--accent); }

  /* Aqua CV */
  .cv-sheet[data-cv-style="aqua"] { --cv-divider: #cedbea; }
  [data-cv-style="aqua"] .cv-header { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; }
  :is([data-cv-style="editorial"], [data-cv-style="aqua"]) .cv-actions .aqua {
    border-color: var(--shell-line);
    background: var(--aqua-silver);
    box-shadow: 0 1px 0 #fff inset;
  }
  .cv-facts {
    display: grid;
    gap: 12px 30px;
    margin-bottom: var(--cv-section-space);
    padding: 14px clamp(14px, 2.5cqi, 22px);
    border: 1px solid var(--cv-divider);
    border-radius: 9px;
    background: #eff5fc;
  }
  .cv-facts .cv-meta h3 { margin-bottom: 3px; color: var(--accent); }
  .cv-facts .cv-meta p { max-width: none; }
  [data-cv-style="aqua"] .cv-experience { padding-bottom: var(--cv-section-space); }
  .cv-followup { border-top: 1px solid var(--cv-divider); padding-top: var(--cv-section-space); }
  .cv-followup .cv-selected { border: 0; padding-top: 0; }
  .cv-followup > .cv-meta h3 { font-size: clamp(19px, 2vw, 23px); margin-bottom: 12px; }
  .cv-followup > .cv-meta li span { display: block; }

  /* Projects first CV */
  .cv-sheet[data-cv-style="grid"] {
    --cv-divider: #dfe4e3;
    --shell-muted: #4b5b57;
    --accent: #31594f;
    color: #1e2d28;
  }
  [data-cv-style="grid"] .cv-header { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--cv-section-space); }
  [data-cv-style="grid"] a { color: #2d574a; }
  [data-cv-style="grid"] .cv-selected {
    padding-block: 0;
    border: 0;
    margin-bottom: var(--cv-section-space);
  }
  [data-cv-style="grid"] .cv-project-list {
    display: grid;
    gap: 10px;
    max-width: none;
  }
  [data-cv-style="grid"] .cv-project-list li {
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #d9e4df;
    border-radius: 8px;
    background: #f0f5f2;
  }
  [data-cv-style="grid"] .cv-project-list p { margin-top: 6px; }
  [data-cv-style="grid"] .cv-experience { padding-bottom: var(--cv-section-space); }
  [data-cv-style="grid"] .cv-roles { display: grid; gap: 12px; }
  [data-cv-style="grid"] .cv-role {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--cv-divider);
    border-radius: 8px;
  }
  [data-cv-style="grid"] .cv-role-heading { display: grid; gap: 5px; }
  [data-cv-style="grid"] .cv-bullets, [data-cv-style="grid"] .cv-project-list { font-size: 14px; }
  [data-cv-style="grid"] .cv-details { border-top: 1px solid var(--cv-divider); padding-top: var(--cv-section-space); }

  @container (min-width: 650px) {
    [data-cv-style="editorial"] :is(.cv-role, .cv-project-list li) {
      display: grid;
      grid-template-columns: minmax(0, 202px) minmax(0, 1fr);
      column-gap: clamp(22px, 4cqi, 36px);
    }
    [data-cv-style="editorial"] .cv-role-heading { display: grid; align-content: start; gap: 6px; }
    [data-cv-style="editorial"] .cv-bullets,
    [data-cv-style="editorial"] .cv-project-list p { margin-top: 0; }
    [data-cv-style="editorial"] .cv-project-list { max-width: none; }
    .cv-facts, .cv-followup {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
      align-items: start;
    }
    .cv-followup { gap: 30px; }
    .cv-followup .cv-selected { padding-bottom: 0; }
    .cv-followup > .cv-meta { border-left: 1px solid var(--cv-divider); padding-left: 23px; }
    [data-cv-style="grid"] .cv-project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    [data-cv-style="grid"] .cv-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (min-width: 721px) {
    .desktop .workspace::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 1;
      background: #35353a18;
      backdrop-filter: blur(2px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 220ms cubic-bezier(.2,.65,.3,1);
    }
    .desktop[data-has-window="true"] .workspace::before {
      position: fixed;
      opacity: 1;
      pointer-events: auto;
    }
    .desktop[data-has-window="true"]:not(:has(.app-window:not([hidden]):not([data-closing]))) .workspace::before {
      opacity: 0;
    }
    @media (prefers-reduced-motion: reduce) {
      .desktop .workspace::before { transition: none; }
    }
    .app-window:is([data-window="projects"], [data-window="chat"], [data-window="gallery"]):not([data-reader="true"], [data-max="true"]) {
      min-height: min(62svh, calc(100% - 48px));
    }
    .app-window .window-body { flex: 1 1 auto; }
    .chat-panel { min-height: 100%; display: flex; flex-direction: column; }
    .chat-panel .chat-form { margin-top: auto; }
    .chat-panel .thread:not(:empty) { padding-bottom: 12px; }
    .app-window[data-reader="true"]:not([data-max="true"]) {
      width: var(--case-window-width);
      height: calc(100% - 24px);
    }
    .app-window[data-window="cv"]:not([data-max="true"]) {
      top: 18px;
      width: calc(var(--case-window-width) * .8);
      max-height: calc(100% - 36px);
    }
    .cv-sheet { width: min(90%, 720px); }
    .app-window[data-window="gallery"]:not([data-max="true"]) { width: min(calc(100% - 60px), 790px); }
    .photo-gallery { grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr) minmax(0, .667fr); }
    .reader-frame { grid-template-columns: clamp(190px, 17vw, 220px) minmax(0, 1fr); }
    .reader-navigation {
      position: sticky;
      top: 0;
      max-height: max(110px, calc(100svh - 176px));
      overflow-y: auto;
      scrollbar-width: thin;
    }
    .reader-paper:has(.editorial-case) { padding: clamp(27px, 3.1vw, 45px) clamp(23px, 4vw, 56px) 70px; }
  }

  @media (721px <= width <= 1080px) {
    .launch-app:not(.launch-file) .app-icon { width: 52px; height: 52px; }
    .launch-app[data-open="chat"] { --fx: 68%; --fy: 13%; }
    .launch-app[data-open="cv"] { --fx: 76%; }
  }

  @media (721px <= width <= 1080px) and (max-height: 650px) {
    .welcome { top: 53%; }
  }

  @media (min-width: 721px) and (max-height: 650px) {
    .desk-note { right: calc(50% - 93px); }
  }

  @media (max-width: 720px) {
    .menubar .menu-active { display: none; }
    .menu-tools :is(.menu-location, [data-clock-zone]) { display: none; }
    .menu-tools time { display: block; }
    .desktop-body { gap: 22px; padding: 26px 14px 22px; }
    .welcome { width: auto; }
    .welcome > .retro-computer { position: relative; inset: auto; margin: 0 auto 15px; }
    .welcome .welcome-message { padding: 10px 16px; font-size: clamp(19px, 5.2vw, 24px); }
    .welcome-actions { margin-top: 17px; }
    .welcome-actions .aqua { padding-inline: 12px; }
    .launch-grid { max-width: 430px; margin-inline: auto; gap: 7px 6px; }
    .launch-grid .launch-file[data-project] { display: none; }
    .launch-grid .launch-app { padding: 7px 4px; }
    .launch-grid .launch-file[data-open="office"] .mini-window { width: min(100%, 76px); }
    .desk-note { margin: 0 auto; }
    .app-window:is([data-window="projects"][data-reader="false"], [data-window="cv"]) { overflow: visible; }
    .app-window:is([data-window="projects"][data-reader="false"], [data-window="cv"]) .window-bar {
      position: sticky;
      z-index: 3;
      top: 44px;
      border-radius: 12px 12px 0 0;
    }
    .app-window[data-window="cv"] .window-body { padding: 20px clamp(13px, 4vw, 25px) 26px; }
    .cv-masthead { display: block; }
    .cv-actions { margin-top: 12px; }
    .cv-role-heading { display: grid; gap: 4px; }
    .cv-bullets, .cv-project-list { font-size: 14px; }
    .app-window[data-reader=true], .app-window[data-reader=true][data-max=true] { margin: 7px 7px 15px; border-radius: 9px; }
    .app-window[data-reader=true] .window-bar { min-height: 45px; padding-inline: 6px; gap: 5px; }
    .reader-toggle, .reader-tools button { min-width: 29px; min-height: 37px; padding-inline: 4px; }
    .reader-toggle[aria-expanded=true] { background: #d9e8fb; border-color: #a1b6d3; }
    .app-window[data-reader=true] .reader-sidebar {
      position: fixed;
      inset: 98px 8px auto;
      z-index: 4;
      max-height: min(68svh, calc(100svh - 170px));
      overflow-y: auto;
      overscroll-behavior: contain;
      border: 1px solid var(--reader-line);
      border-radius: 9px;
      box-shadow: 0 10px 30px #24446438;
    }
    .reader-navigation { padding: 12px; }
    .reader-index a { min-height: 40px; padding: 10px; }
    .reader-paper:has(.editorial-case) { padding: 24px clamp(14px, 4vw, 23px) 46px; }
  }

}
