/* Desktop-only warmth: preserve the mobile composition and all existing workflows. */
@media (min-width: 1025px) {
  :root {
    --paper: #f4f0e5;
    --ink: #263b46;
    --olive: #52634b;
    --line: #d9d2c2;
    --muted: #77786e;
    --rust: #ad5140;
  }

  body {
    background:
      radial-gradient(ellipse at 85% 5%, rgba(190, 163, 103, .10), transparent 38rem),
      var(--paper);
  }

  /* Auth: make both halves feel intentionally composed, with useful breathing room. */
  .login {
    grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
    min-height: 100dvh;
    background: #f8f5ec;
  }

  .login-art {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100dvh;
    padding: clamp(48px, 5vw, 80px) clamp(48px, 5vw, 80px);
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(236, 237, 222, .97), rgba(229, 232, 216, .96)),
      #e9ede1;
  }

  .login-form::after {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-top: 30px;
    background: url("/brand-postcard.jpg") center / contain no-repeat;
    filter: drop-shadow(0 12px 12px #42382026);
    transform: rotate(-2deg);
    pointer-events: none;
  }

  .login-art .brand {
    width: min(250px, 70%);
    margin-bottom: 34px;
  }

  .login-art h1 {
    max-width: 610px;
    margin: 15px 0 22px;
    color: #263b46;
    font-size: clamp(56px, 5vw, 72px);
    line-height: .99;
    letter-spacing: -1.7px;
    text-wrap: balance;
  }

  .login-art > p {
    max-width: 410px;
    margin-bottom: 0;
    color: #59655c;
    font-size: 15px;
    line-height: 1.8;
  }

  .login-form {
    align-self: center;
    max-width: 560px;
    padding: 42px 44px;
  }

  .login-form h2 {
    margin-bottom: 12px;
    color: #263b46;
    font-size: 46px;
  }

  .login-form > p {
    max-width: 380px;
    margin-bottom: 26px;
    color: #73776d;
    font-size: 13px;
  }

  .login-form label.field {
    margin: 20px 0;
    gap: 9px;
    color: #3f4c49;
    font-size: 12px;
    font-weight: 600;
  }

  .login-form input {
    min-height: 50px;
    padding: 13px 15px;
    background: #fffdf7;
    border-color: #d4cfbf;
  }

  .login-form input:focus-visible {
    border-color: #9d762e;
  }

  .login-form .primary {
    min-height: 50px;
    margin-top: 6px;
    background: #293e49;
  }

  .login-form .primary:hover {
    background: #1e3039;
  }

  .demo-login-personas {
    gap: 10px;
    margin: 25px 0 18px;
  }

  .demo-login-personas button {
    min-height: 92px;
    padding: 13px;
    border-color: #ddd6c6;
    background: #fbf8ef;
  }

  .demo-login-personas button:hover {
    background: #f0eddf;
    border-color: #a7aa91;
  }

  .demo-login-personas strong {
    color: #293e49;
    font-size: 24px;
  }

  .demo-login-banner {
    background: #e9ede1;
    border-color: #cbd3c1;
  }

  /* Use the desktop canvas for content, while keeping readable measure and rhythm. */
  .sidebar {
    width: 256px;
    padding: 40px 26px;
    background: #eeeee3;
    border-right-color: #d9d5c8;
  }

  .sidebar > .brand {
    max-width: 194px;
  }

  .sidebar nav {
    margin-top: 54px;
    gap: 9px;
  }

  .main {
    margin-left: 256px;
  }

  .topbar {
    height: 88px;
    padding-inline: clamp(42px, 5vw, 84px);
    background: rgba(248, 245, 236, .76);
  }

  .content {
    max-width: 1680px;
    padding: 44px clamp(42px, 5vw, 84px) 42px;
  }

  .hero {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 350px;
    background: #e8ebde;
    border-color: #d9decf;
  }

  .hero-copy {
    align-self: center;
    padding: clamp(28px, 3vw, 48px);
  }

  .hero h1 {
    max-width: 500px;
  }

  .hero-art {
    min-height: 350px;
    background:
      radial-gradient(ellipse at 55% 48%, #dedfce 0, rgba(226, 228, 215, .65) 46%, transparent 74%);
  }

  .postcard {
    width: min(78%, 490px);
  }

  .stats {
    gap: 20px;
    margin: 26px 0 40px;
  }

  .stat {
    min-height: 88px;
    padding: 19px 22px;
    background: #fbf9f1;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .card-image {
    height: clamp(165px, 13vw, 210px);
  }

  .card-body {
    padding: 22px;
  }

  .contacts-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
  }

  .collection-grid {
    gap: 28px;
  }

  .collection-card > div {
    padding: 26px;
  }

  dialog {
    max-width: 660px;
    padding: 40px;
    background: #f8f5ec;
  }
}

/* Six approved exchange photographs, loaded only by desktop media sources. */
.exchange-gallery {
  display: none;
}

@media (min-width: 1025px) {
  .exchange-gallery {
    display: block;
    color: #263b46;
  }

  .exchange-gallery-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
  }

  .exchange-gallery-heading h2 {
    margin: 0;
    font: 400 23px/1.15 'Libre Caslon Display', Georgia, serif;
    letter-spacing: -.2px;
  }

  .exchange-gallery-heading > span {
    flex: none;
    color: #73776d;
    font-size: 9px;
    letter-spacing: .7px;
    text-transform: uppercase;
  }

  .exchange-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .exchange-photo {
    position: relative;
    min-width: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d9d2c2;
    background: #e6e4d7;
  }

  .exchange-photo picture,
  .exchange-photo img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .exchange-photo img {
    object-fit: cover;
  }

  .exchange-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 17px 7px 6px;
    color: #fffdf7;
    background: linear-gradient(transparent, rgba(31, 43, 39, .74));
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .15px;
  }

  .exchange-gallery--auth {
    width: min(100%, 610px);
    margin-top: 31px;
  }

  .exchange-gallery--auth .exchange-gallery-heading h2 {
    font-size: 20px;
  }


  .exchange-gallery--home {
    margin: 25px 0 31px;
    padding: 19px 21px 20px;
    border: 1px solid #d9decf;
    background: #f0f0e5;
  }

}

@media (min-width: 1025px) and (max-height: 820px) {
  .exchange-gallery--auth {
    margin-top: 19px;
  }

  .exchange-gallery--auth .exchange-gallery-heading {
    margin-bottom: 8px;
  }

}
