@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 25px;
  }
  .soft-dashboard { height: 475px; }
  .soft-orb { width: 300px; height: 300px; }
  .soft-orb-core strong { font-size: 66px; }
  .hero-chip-top { left: -8px; }
  .hero-chip-bottom { right: -5px; }
  .cover-content { width: min(500px, 54%); bottom: 78px; left: 32px; }
  .cover-bottom { right: 28px; bottom: 28px; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr; gap: 14px; }
  .main-nav { justify-self: end; }
  .header-note { display: none; }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 6px;
    padding: 38px 0 30px;
  }
  .hero-copy { max-width: 650px; }
  .soft-dashboard {
    width: min(380px, 88%);
    height: 410px;
    margin: 2px auto 0;
  }
  .soft-orb { width: 268px; height: 268px; margin-top: 4px; }
  .soft-orb-core strong { font-size: 58px; }
  .soft-orb::before { inset: 26px; }
  .orb-book { width: 34px; height: 34px; margin-top: 13px; }
  .hero-chip { display: none; }
  .hero-focus { bottom: 8px; width: 200px; min-height: 48px; }

  .cover-frame {
    height: calc(100vh - 140px);
    height: calc(100svh - 140px);
    min-height: 540px;
    border-radius: 34px;
  }
  .cover-content {
    right: 28px;
    bottom: 70px;
    left: 28px;
    width: auto;
    max-width: 520px;
    padding: 26px 28px 24px;
  }
  .cover-bottom { display: none; }
  .cover-vertical { display: none; }
  .cover-name { font-size: clamp(46px, 7vw, 66px); }

  .profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 21px;
    padding: 27px 28px;
  }
  .profile-stats {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .profile-stat { flex: 1; }
  .profile-grid { grid-template-columns: 1fr; }

  .paper-sheet { padding: 21px 18px 15px; border-radius: 27px; }
  .sheet-head {
    flex-wrap: wrap;
    row-gap: 5px;
    padding-bottom: 14px;
  }
  .table-scroll-hint { display: inline-flex; flex-basis: 100%; }
  .list-heading { display: block; padding: 26px 0 24px; }
  .list-stats { display: inline-flex; margin-top: 18px; }
  .workspace-toolbar { align-items: flex-start; }
  .toolbar-hint { display: none; }
}

@media (max-width: 640px) {
  .site-header { min-height: 74px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; font-size: 17px; }
  .brand-name { font-size: 14px; letter-spacing: .005em; }
  .brand-sub { display: none; }
  .main-nav { gap: 1px; padding: 3px; }
  .nav-link { min-height: 30px; padding: 7px 9px; font-size: 9px; letter-spacing: .02em; }
  .avatar-nav { width: 18px; height: 18px; font-size: 9px; }

  .home-main { padding-bottom: 45px; }
  .home-hero { padding: 30px 0 24px; }
  .home-eyebrow { margin-bottom: 16px; font-size: 9px; }
  .hero-title { font-size: clamp(40px, 11.6vw, 53px); line-height: 1.15; }
  .hero-lede { margin-top: 18px; font-size: 11.5px; line-height: 1.8; }
  .hero-actions { margin-top: 22px; gap: 12px; }
  .hero-actions .btn { min-height: 42px; padding: 9px 15px; font-size: 10.5px; }
  .hero-tip { font-size: 8.5px; }
  .hero-stats { gap: 7px; margin-top: 25px; }
  .hero-stat { min-width: 0; flex: 1; padding: 10px 10px 9px; border-radius: 15px; }
  .hero-stat + .hero-stat { padding-left: 10px; }
  .hero-stat strong { font-size: 19px; }
  .hero-stat span { font-size: 7.5px; }
  .soft-dashboard { display: none; }

  .section-head { align-items: center; padding: 21px 0 18px; }
  .section-title { font-size: 24px; }
  .section-head .btn { min-height: 37px; padding: 8px 12px; font-size: 9px; }
  .list-grid { gap: 12px; }
  .list-card, .card-link { min-height: 177px; }
  .list-card { border-radius: 24px; }
  .card-link { padding: 20px 19px 17px; }
  .card-title { margin-top: 15px; font-size: 21px; }
  .card-add { min-height: 142px; border-radius: 24px; }
  .card-delete { opacity: .65; }
  .page-footer { margin-top: 30px; padding-bottom: 20px; font-size: 7.5px; }
  .page-footer span:last-child { display: none; }

  .cover-main { padding: 8px 0 16px; }
  .cover-frame {
    height: calc(100vh - 98px);
    height: calc(100svh - 98px);
    min-height: 540px;
    padding: 9px;
    border-radius: 32px;
  }
  .cover-photo {
    inset: 9px;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    border-radius: 24px;
    object-position: center 42%;
  }
  .cover-shade { inset: 9px; border-radius: 24px; }
  .cover-topline { padding: 17px 18px; gap: 10px; }
  .cover-edition { max-width: 52%; padding: 7px 9px; font-size: 6.5px; line-height: 1.5; letter-spacing: .08em; }
  .cover-change { min-height: 31px; padding: 7px 9px; font-size: 8px; }
  .cover-change svg { width: 11px; height: 11px; }
  .cover-content {
    right: 15px;
    bottom: 16px;
    left: 15px;
    width: auto;
    padding: 21px 21px 20px;
    border-radius: 25px;
  }
  .cover-id { margin-bottom: 14px; font-size: 7px; }
  .avatar-cover { width: 36px; height: 36px; font-size: 16px; }
  .cover-name { font-size: clamp(42px, 12.5vw, 58px); line-height: 1.02; }
  .cover-tagline { max-width: 95%; margin-top: 11px; font-size: 10.5px; line-height: 1.65; }
  .cover-actions { gap: 14px; margin-top: 19px; }
  .cover-enter { min-height: 40px; padding: 9px 13px; font-size: 9.5px; }
  .cover-edit { font-size: 8.5px; }
  .cover-bottom { display: none; }

  .profile-main { padding: 20px 0 38px; }
  .profile-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 21px;
    border-radius: 26px;
  }
  .profile-avatar-wrap { width: 86px; height: 86px; }
  .avatar-profile { width: 86px; height: 86px; font-size: 32px; }
  .avatar-camera { width: 29px; height: 29px; }
  .profile-identity h1 { font-size: 32px; }
  .profile-identity > p { font-size: 11px; }
  .profile-local { margin-top: 10px; }
  .profile-stats { width: 100%; margin-top: 3px; }
  .profile-stat { padding: 9px 7px 8px; border-radius: 14px; }
  .profile-stat strong { font-size: 19px; }
  .profile-grid { gap: 12px; margin-top: 12px; }
  .profile-card { padding: 21px 18px 19px; border-radius: 26px; }
  .profile-card-head { padding-bottom: 14px; margin-bottom: 17px; }
  .profile-card-head h2 { font-size: 19px; }
  .profile-card-head p { font-size: 8.5px; }
  .profile-field + .profile-field { margin-top: 16px; }
  .avatar-editor { gap: 13px; }
  .avatar-preview .avatar { width: 66px; height: 66px; font-size: 24px; }
  .cover-editor { flex-wrap: wrap; align-items: flex-start; }
  .cover-thumb { flex: 0 0 100%; width: 100%; height: 126px; border-radius: 17px; }
  .cover-editor .media-copy { width: 100%; }
  .media-divider { margin: 18px 0; }

  .list-main { padding: 20px 0 42px; }
  .list-heading { padding: 23px 0 21px; }
  .list-title { font-size: clamp(31px, 9.5vw, 42px); }
  .list-sub { font-size: 9.5px; }
  .list-stats { width: 100%; gap: 7px; }
  .list-stat { flex: 1; min-width: 0; padding: 9px 9px 8px; }
  .list-stat strong { font-size: 19px; }
  .workspace-toolbar { display: block; padding: 9px; border-radius: 19px; }
  .toolbar-left { justify-content: space-between; }
  .toolbar-left .btn-quiet { min-height: 33px; padding: 6px 10px; font-size: 9px; }
  .toolbar-right { margin-top: 8px; }
  .toolbar-right .btn { width: 100%; min-height: 38px; }
  .paper-sheet { padding: 17px 11px 13px; border-radius: 25px; }
  .sheet-head { padding: 0 2px 12px; }
  .sheet-title { font-size: 11px; }
  .sheet-sub { display: none; }
  .table-viewport { border-radius: 16px; }
  .th-main { height: 75px; }
  .th-sub { height: 46px; }
  .add-row-bar { border-radius: 18px; padding: 9px; }
  .add-row-actions { gap: 7px; }
  .btn-add-row { min-height: 31px; font-size: 8.5px; }
  .add-row-note { font-size: 8px; }

  .modal-card { padding: 25px 20px 21px; border-radius: 25px; }
  .modal-title { font-size: 24px; }
  .modal-actions { gap: 8px; }
  .toast-region { right: 14px; bottom: 14px; }
  .toast { min-width: 0; width: auto; }
}

@media (max-width: 390px) {
  .brand-name { font-size: 13px; }
  .nav-link { padding: 7px 8px; font-size: 8.5px; }
  .hero-title { font-size: clamp(38px, 11.3vw, 48px); }
  .cover-enter { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-photo,
  .soft-dashboard,
  .list-card,
  .cover-frame { animation: none !important; }
}
