/* Amelia Simpson — portfolio styles */

  @font-face { font-family: 'Clash Display'; font-weight: 500; font-style: normal; font-display: swap; src: url('https://cdn.fontshare.com/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff2') format('woff2'); }
  @font-face { font-family: 'Clash Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('https://cdn.fontshare.com/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff2') format('woff2'); }

  /* THEME TOKENS — one class flip on <body> drives everything. */
  :root { --bg: #FAF9F5; --ink: #1a1a1a; --muted: #9C9C9C; --cursor: #6a5fc4; }
  body.bubbles { --bg: #ECF1F6; }   /* original soft cool wash; cursor stays ink */

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Sometype Mono', ui-monospace, monospace;
    color: var(--ink); background: var(--bg);
    transition: background-color .55s ease;
    min-height: 100vh; overflow-x: hidden;
  }

  /* Full-screen render surface. pointer-events:none — clicks read off window. */
  #bubble-canvas {
    position: fixed; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 60; display: none;   /* bubbles float over the page so they stay visible */
  }
  body.bubbles #bubble-canvas { display: block; }

  #fog {
    position: fixed; inset: 0; z-index: 9; pointer-events: none;
    opacity: 0; background: rgba(248,252,255,.22);
    backdrop-filter: blur(.8px); -webkit-backdrop-filter: blur(.8px);
  }

  /* ---- Left sidebar nav (Amelia's content, kept in the current light style) ---- */
  .sidebar {
    position: fixed; top: 0; left: 0; z-index: 10;
    width: clamp(340px, 34vw, 500px); height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 26px;
    padding: 18px 40px 30px;
    border-right: 1px solid rgba(30,40,60,.13);
  }
  .wordmark { font-size: 22px; color: var(--ink); letter-spacing: .01em; }
  .role { font-size: 15px; color: var(--muted); letter-spacing: .01em; }
  .bio { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 46ch; margin-top: 26px; }
  .bio em { font-style: normal; color: var(--ink); border-bottom: 1px solid var(--muted); padding-bottom: 1px; }
  /* glimm-style prism band — flashes once on hover, text stays ink otherwise */
  .bio em.glimm:hover {
    background-image: linear-gradient(90deg,
      var(--ink) 0 36%,
      #54cda0 44%, #5fb8c9 48%, #7a9fe0 52%, #a481e8 56%,
      var(--ink) 64% 100%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: glimmSweep 0.9s ease forwards;
  }
  @keyframes glimmSweep {
    from { background-position: 100% 0; }
    to   { background-position: 0% 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .bio em.glimm:hover { animation: none; -webkit-text-fill-color: var(--ink); color: var(--ink); }
  }
  .seattle { position: relative; }
  .seattle .rain {
    position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%);
    width: 46px; height: 22px; margin-bottom: 2px;
    opacity: 0; transition: opacity .25s ease; pointer-events: none;
  }
  .seattle:hover .rain { opacity: 1; }
  .seattle .rain .cloud { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; display: block; filter: drop-shadow(0 2px 2px rgba(60,80,110,.16)); }
  .seattle .rain i {
    position: absolute; top: 62%; left: var(--l); width: 2px; height: 9px;
    border-radius: 2px; background: linear-gradient(to bottom, rgba(143,176,201,0), #8fb0c9); opacity: 0;
  }
  .seattle:hover .rain i { animation: rainfall .9s cubic-bezier(.4,0,.7,1) var(--d) infinite; }
  @keyframes rainfall {
    0%   { transform: translateY(-2px) scaleY(.7); opacity: 0; }
    20%  { opacity: .9; }
    80%  { opacity: .9; }
    100% { transform: translateY(12px) scaleY(1.1); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .seattle:hover .rain i { animation: none; } }

  .nav-group { display: flex; flex-direction: column; gap: 14px; }
  .group-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .7; }
  .side-nav { display: flex; flex-direction: column; gap: 13px; }
  .side-nav a {
    font-size: 15px; color: var(--muted); text-decoration: none; width: max-content; cursor: pointer;
    transition: opacity .25s ease, color .25s ease;
  }
  .side-nav a:hover { opacity: .55; }
  .side-nav a.active { color: var(--ink); }

  .divider { border: none; border-top: 1px solid var(--muted); opacity: .45; margin: 0; width: 100%; }
  .side-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; margin-top: auto; width: fit-content; }
  #toggle {
    background: none; border: none; cursor: pointer; padding: 0;
    width: 28px; height: 28px; display: flex; align-items: center;
    justify-content: center; opacity: 1; transition: transform .25s ease, opacity .25s ease;
  }
  #toggle:hover { transform: scale(1.12); }
  #toggle svg { width: 20px; height: 20px; display: block; }
  .ico-off, .ico-bubble { display: none; line-height: 0; }
  body:not(.bubbles) .ico-off { display: flex; }
  body.bubbles .ico-bubble { display: flex; }
  .side-meta { font-size: 12px; color: var(--muted); line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; margin-top: 0; }
  .side-bottom .metabits { display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .side-bottom #clock { color: var(--muted); font-variant-numeric: tabular-nums; }
  .heart-btn { background: none; border: none; padding: 0; margin: 0; cursor: pointer;
    display: inline-flex; align-items: center; vertical-align: -3px; line-height: 0; }
  .heart-btn svg { width: 15px; height: 15px; display: block; transform-origin: 50% 50%;
    transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
  .heart-btn svg path { fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linejoin: round;
    transition: fill .25s ease, stroke .25s ease; }
  .heart-btn.on svg path { fill: #d85a30; stroke: #d85a30; }   /* orange filled when toggled on */

  /* ---- page-load entrance: staggered fade-up ---- */
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: no-preference) {
    .topmeta { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .05s; }
    .sidebar > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
    .sidebar > *:nth-child(2) { animation-delay: .10s; }
    .sidebar > *:nth-child(3) { animation-delay: .16s; }
    .sidebar > *:nth-child(4) { animation-delay: .22s; }
    .sidebar > *:nth-child(5) { animation-delay: .28s; }
    .sidebar > *:nth-child(6) { animation-delay: .34s; }
    .sidebar > *:nth-child(7) { animation-delay: .40s; }
    .sidebar > *:nth-child(8) { animation-delay: .46s; }
    .sidebar > *:nth-child(9) { animation-delay: .52s; }
    main > div { animation: rise .75s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .22s; }
  }


  /* ---- Main: intentionally open space to pop bubbles ---- */
  main { position: relative; z-index: 5; margin-left: clamp(340px, 34vw, 500px); padding: 72vh 56px 16vh; min-height: 100vh; }

  /* ---- Case study cards (mono / terminal style) ---- */
  .case-grid { display: flex; flex-direction: column; gap: 96px; align-items: stretch; max-width: none; margin: 0; }
  .case-col { flex: 0 0 auto; min-width: 0; display: flex; flex-direction: column; gap: 96px; }
  .case-card { display: block; text-decoration: none; color: inherit; }
  .case-media {
    width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(30,40,60,.10); position: relative;
    background:
      radial-gradient(110% 80% at 18% 108%, rgba(178,234,210,.75), transparent 62%),
      radial-gradient(120% 92% at 82% 116%, rgba(202,182,240,.78), transparent 60%),
      linear-gradient(180deg, #e4e3ee, #ece8f3);
    transition: filter .3s ease;
  }
  .case-media > img, .case-media > video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .case-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 140px 140px;
  }
  .case-card:hover .case-media { filter: brightness(.97); }
  /* Besties: soft mesh-gradient glow with the app flow floating on it */
  .besties-media {
    background:
      radial-gradient(58% 60% at 16% 12%, rgba(150,192,236,.60), transparent 70%),
      radial-gradient(54% 56% at 86% 16%, rgba(193,176,238,.55), transparent 70%),
      radial-gradient(66% 64% at 84% 102%, rgba(248,206,182,.58), transparent 70%),
      radial-gradient(60% 60% at 14% 96%, rgba(196,214,242,.48), transparent 72%),
      linear-gradient(160deg, #eef2fa, #f4f1f7 55%, #f7f0ec);
  }
  .besties-media::after { opacity: .22; }            /* calmer grain under the phone */
  .besties-media > .besties-vid {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: auto; height: 94%; z-index: 1;   /* float above the grain */
    /* video is pre-cropped to the device; round the phone's own corners */
    border-radius: 13% / 6.2%;
    filter: drop-shadow(0 16px 36px rgba(60,70,110,.20));
  }
  /* Salon Matarazzo: MacBook mockup on a warm mesh gradient */
  .salon-media {
    background:
      radial-gradient(58% 60% at 14% 12%, rgba(200,222,204,.55), transparent 70%),
      radial-gradient(56% 56% at 88% 14%, rgba(232,214,234,.48), transparent 70%),
      radial-gradient(66% 64% at 86% 102%, rgba(247,212,186,.58), transparent 70%),
      radial-gradient(60% 60% at 12% 96%, rgba(236,228,212,.50), transparent 72%),
      linear-gradient(160deg, #f1f3ee, #f6f1ee 55%, #f8efe8);
  }
  /* Gayle Wigglesworth: warm cream + her navy/terracotta accents */
  .gayle-media {
    background:
      radial-gradient(58% 60% at 15% 12%, rgba(150,176,214,.50), transparent 70%),
      radial-gradient(54% 56% at 87% 15%, rgba(238,212,184,.55), transparent 70%),
      radial-gradient(66% 64% at 85% 102%, rgba(231,168,138,.46), transparent 70%),
      radial-gradient(60% 60% at 13% 96%, rgba(244,231,210,.55), transparent 72%),
      linear-gradient(160deg, #f5efe2, #f7f0e6 55%, #f8f0e8);
  }
  .salon-media::after, .gayle-media::after { opacity: .2; }
  .laptop {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 66%; max-width: 560px; z-index: 1; display: flex; flex-direction: column; align-items: center;
  }
  .laptop-screen {
    width: 100%; aspect-ratio: 1512 / 826; position: relative;
    background: #0f1014; border-radius: 13px; box-shadow: 0 22px 48px rgba(40,45,70,.22);
  }
  .laptop-inner { position: absolute; inset: 7px; border-radius: 5px; overflow: hidden; background: #fff; }
  .laptop-vid { display: block; width: 100%; height: 100%; object-fit: cover; }
  .laptop-base {
    position: relative; width: 112%; height: 11px;
    background: linear-gradient(#e6e7eb, #c6c7cd 55%, #a9abb2);
    border-radius: 0 0 12px 12px; box-shadow: 0 10px 18px rgba(40,45,70,.12);
  }
  .laptop-base::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 13%; height: 5px; background: #b0b1b8; border-radius: 0 0 6px 6px;
  }
  .case-title {
    margin-top: 22px; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink);
    text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  }
  .case-meta { margin-top: 7px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .8; }
  .case-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .case-tag {
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
    border: 1px solid var(--muted); border-radius: 999px; padding: 7px 15px; white-space: nowrap;
  }
  .case-desc {
    margin-top: 14px; font-size: 14px; line-height: 1.85; letter-spacing: .05em;
    text-transform: uppercase; color: var(--muted);
  }

  .mobile-bar { display: none; }
  .menu-close { display: none; }

  /* ---- Mobile: hamburger bar + slide-in menu drawer (left-aligned) ---- */
  @media (max-width: 720px) {
    .mobile-bar {
      display: flex; align-items: center; gap: 14px;
      position: sticky; top: 0; z-index: 65;
      padding: 15px 20px; background: var(--bg); border-bottom: 1px solid var(--muted);
    }
    .mobile-wordmark { font-size: 15px; color: var(--ink); letter-spacing: .01em; }
    .menu-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--ink); display: flex; }
    .menu-btn svg { width: 22px; height: 22px; display: block; }

    .sidebar {
      position: fixed; inset: 0; width: auto; height: auto; z-index: 70;
      background: var(--bg); overflow-y: auto; gap: 22px; padding: 20px 26px 44px;
      transform: translateX(-100%); transition: transform .32s ease;
    }
    body.menu-open .sidebar { transform: translateX(0); }
    .menu-close { display: flex; align-self: flex-start; }

    main { margin-left: 0; min-height: auto; padding: 4vh 22px 10vh; }
    .case-grid { flex-direction: column; gap: 48px; }
  }
  kbd { font: inherit; border: 1px solid var(--muted); border-radius: 4px; padding: 1px 6px; }
  /* ROUND FOLLOWER CURSOR (fine pointers only) */
  @media (pointer: fine) {
    html.pill-on, html.pill-on * { cursor: none; }
    #cursor-pill {
      position: fixed; top: 0; left: 0; z-index: 9999;
      display: inline-flex; align-items: center; gap: 9px;
      padding: 11px 20px; border-radius: 999px;
      background: linear-gradient(135deg, #d2efdf, #ddccf6); color: #4d3f88;
      font-family: 'Sometype Mono', ui-monospace, monospace;
      font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
      transform: translate(-50%, -50%); pointer-events: none; opacity: 0; will-change: transform;
      transition: opacity .16s ease;
    }
    #cursor-pill svg { width: 15px; height: 15px; display: block; flex: none; }
    html.pill-on #cursor-pill { opacity: 1; }
  }

  /* ===== structured grid (Akash-style frame, kept in the existing UI) ===== */
  .side-head { display: flex; flex-direction: column; gap: 5px; position: relative; top: 6px; }
  .topline { position: fixed; top: 72px; left: 0; right: 0; border-top: 1px solid rgba(30,40,60,.13); z-index: 12; pointer-events: none; }
  .topmeta { position: fixed; top: 0; left: clamp(340px, 34vw, 500px); right: 0; height: 72px; z-index: 11;
    display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 56px;
    font-size: 12px; letter-spacing: .04em; color: var(--muted);
    background: var(--bg); transition: background-color .55s ease; }
  .topmeta .metabits { display: flex; align-items: center; gap: 8px; }
  .topmeta #clock { color: var(--ink); font-variant-numeric: tabular-nums; }
  .topmeta .meta-sep { opacity: .4; }
  .topmeta .meta-mail { color: var(--ink); text-decoration: none; }
  .topmeta .meta-mail:hover { opacity: .55; }
  .topmeta #toggle { width: 26px; height: 26px; }
  .topnav { margin-top: 2px; }
  .topnav a.active { color: var(--ink); }
  .worktop { display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
    max-width: none; margin: 0 0 64px; padding-bottom: 16px; border-bottom: 1px solid rgba(30,40,60,.13); }
  .work-label { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
  .work-years { font-size: 13px; letter-spacing: .12em; color: var(--muted); opacity: .65; font-variant-numeric: tabular-nums; }

  /* ---- View switching: driven by html[data-view], set before first paint (no flash) ---- */
  #view-gallery, #view-about { display: none; }
  html[data-view="gallery"] #view-work,
  html[data-view="about"]   #view-work { display: none; }
  html[data-view="gallery"] #view-gallery { display: flex; }
  html[data-view="about"]   #view-about { display: block; }

  /* ---- Gallery "coming soon" view ---- */
  #view-gallery {
    min-height: 64vh; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 22px;
  }
  .cs-eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--cursor); opacity: .85; }
  .cs-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; color: var(--ink); letter-spacing: -0.005em; line-height: 1.3; margin: 0; }
  .cs-sub { font-size: 15px; color: var(--muted); }
  html[data-view="gallery"] main { min-height: 100vh; padding-top: 0; padding-bottom: 0;
    display: flex; flex-direction: column; justify-content: center; }
  @media (max-width: 720px) {
    html[data-view="gallery"] main { min-height: 70vh; padding-top: 6vh; }
  }

  /* ---- About view ---- */
  html[data-view="about"] main { padding-top: 13vh; padding-bottom: 14vh; }

  /* shared placeholder tile */
  .about-photo {
    border-radius: 12px; overflow: hidden; position: relative;
    border: 1px solid rgba(30,40,60,.10); display: flex; align-items: flex-end;
    background:
      radial-gradient(110% 80% at 18% 108%, rgba(178,234,210,.75), transparent 62%),
      radial-gradient(120% 92% at 82% 116%, rgba(202,182,240,.78), transparent 60%),
      linear-gradient(180deg, #e4e3ee, #ece8f3);
  }
  .about-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .about-photo > span { position: relative; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a83a8; opacity: .85; padding: 9px 11px; }

  /* top photo strip */
  .about-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 48px; }
  .about-strip .about-photo { aspect-ratio: 4 / 5; }

  .about-title { font-size: clamp(30px, 4vw, 50px); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 30px; }

  /* full-width bio */
  .about-intro p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 18px; }
  .about-intro em { font-style: normal; color: var(--ink); }

  .about-cols { display: grid; grid-template-columns: 1fr; gap: 52px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--muted); }
  .about-intro .about-lead { margin-bottom: 0; }
  .about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 22px; }
  .about-list li { font-size: 15px; line-height: 1.55; color: var(--muted); display: flex; gap: 13px; }
  .about-list li::before { content: '\2192'; color: var(--muted); flex: none; }
  .exp-list { margin-top: 18px; }
  .exp-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(26,26,26,0.08); }
  .exp-row:first-child { border-top: none; padding-top: 0; }
  .exp-role { font-size: 16px; color: var(--ink); }
  .exp-role span { color: var(--muted); }
  .exp-date { font-size: 12px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

  /* favorite things — cover grids (books / movies / songs) */
  .about-faves-rich { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--muted); }
  .faves-head { margin-bottom: 6px; }
  .fave-group { margin-top: 34px; }
  .cover-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
  .cover-row.tall .about-photo { aspect-ratio: 2 / 3; }
  .cover-row.square .about-photo { aspect-ratio: 1 / 1; }
  .about-photo.cover > span { opacity: .7; }

  @media (max-width: 720px) {
    html[data-view="about"] main { padding-top: 4vh; }
    /* photos: clean 2x2 grid (hide the 5th on mobile) */
    .about-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 38px; }
    .about-strip .about-photo:nth-child(n+5) { display: none; }
    .about-cols { grid-template-columns: 1fr; gap: 32px; }
    /* cover rows: all covers shown in a row (no scroll) */
    .cover-row { gap: 8px; }
  }
  .status { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); }
  .status .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #79c07e; }
  .status .dot::before, .status .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: statusEcho 3.4s ease-out infinite; }
  .status .dot::after { animation-delay: 1.7s; }
  @keyframes statusEcho {
    0%   { box-shadow: 0 0 0 0 rgba(121,192,126,.5); }
    70%  { box-shadow: 0 0 0 12px rgba(121,192,126,0); }
    100% { box-shadow: 0 0 0 12px rgba(121,192,126,0); }
  }
  @media (prefers-reduced-motion: reduce) { .status .dot::before, .status .dot::after { animation: none; } .status .dot { box-shadow: 0 0 0 3px rgba(121,192,126,.18); } }
  .cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    background: #f4b3d2; color: #2a2230; padding: 12px 22px; border-radius: 999px;
    font-size: 13px; letter-spacing: .02em; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease; }
  .cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(244,179,210,.45); }
  .side-links { display: flex; flex-wrap: wrap; gap: 18px; }
  .side-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s ease; }
  .side-links a:hover { color: var(--ink); }
  @media (max-width: 720px) {
    .topline { display: none; }
    .topmeta { left: auto; right: 0; height: 52px; padding: 0 16px; z-index: 71; }
    .topmeta .metabits { display: none; }
    .topmeta .meta-sep { display: none; }
    .sidebar { border-right: none; }
    .worktop { max-width: none; margin-bottom: 40px; }
  }

  #nested-media { background: #F5F3EE; }
  #nested-media::after { display: none; }        /* drop the noise grain so the animation reads crisp */
  .nested-stage {
    position: absolute; top: 0; left: 0;
    width: 1920px; height: 1080px;
    transform-origin: top left; background: #F5F3EE;
    will-change: contents;
  }
