/* Desktop test-only elite editorial pass */
@media (min-width: 980px) {
  body[data-desktop-test-page] {
    background:
      radial-gradient(circle at 18% 8%, rgba(197, 170, 114, 0.06), transparent 32vw),
      linear-gradient(180deg, #060504 0%, #090806 48%, #050504 100%);
    color: #f4ecdc;
  }

  body[data-desktop-test-page] .site-header,
  body[data-desktop-test-page] .header {
    backdrop-filter: blur(18px);
    background: rgba(5, 5, 4, 0.62);
    border-bottom: 1px solid rgba(197, 170, 114, 0.12);
  }

  body[data-desktop-test-page] .page-hero,
  body[data-desktop-test-page] .hero {
    min-height: 94vh;
  }

  body[data-desktop-test-page] .fu {
    will-change: opacity, transform;
  }

  .elite-desktop-thesis,
  .elite-story-board,
  .elite-studio-guide,
  .elite-film-note {
    position: relative;
    isolation: isolate;
    background: #070604;
    border-top: 1px solid rgba(197, 170, 114, 0.12);
    border-bottom: 1px solid rgba(197, 170, 114, 0.1);
  }

  .elite-kicker {
    margin: 0 0 20px;
    font-size: 0.68rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: rgba(197, 170, 114, 0.84);
  }

  .elite-display {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 300;
    font-size: clamp(4.2rem, 6vw, 7.6rem);
    line-height: 0.92;
    letter-spacing: 0;
    color: rgba(247, 240, 228, 0.96);
    text-wrap: balance;
  }

  .elite-display em {
    color: rgba(219, 194, 134, 0.94);
  }

  .elite-body {
    margin: 26px 0 0;
    max-width: 560px;
    font-size: clamp(1rem, 1vw, 1.14rem);
    line-height: 1.86;
    color: rgba(244, 236, 220, 0.68);
  }

  .elite-desktop-thesis {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(46px, 6vw, 104px);
    align-items: center;
    padding: clamp(92px, 11vh, 150px) clamp(58px, 7vw, 132px);
    overflow: hidden;
  }

  .elite-desktop-thesis::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg, rgba(7, 6, 4, 0.82), rgba(7, 6, 4, 0.2) 50%, rgba(7, 6, 4, 0.86)),
      radial-gradient(circle at 66% 50%, rgba(197, 170, 114, 0.1), transparent 34vw);
  }

  .elite-thesis-media {
    position: relative;
    min-height: clamp(620px, 78vh, 880px);
  }

  .elite-thesis-media figure {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(197, 170, 114, 0.18);
    background: #111;
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.48);
  }

  .elite-thesis-media figure:first-child {
    inset: 0 13% 9% 0;
  }

  .elite-thesis-media figure:nth-child(2) {
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 3 / 4;
  }

  .elite-thesis-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.84) contrast(1.08) saturate(0.86);
  }

  .elite-thesis-media figcaption {
    position: absolute;
    left: 28px;
    bottom: 24px;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(247, 240, 228, 0.72);
  }

  .elite-thesis-ledger {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 46px;
    border-top: 1px solid rgba(197, 170, 114, 0.24);
    border-bottom: 1px solid rgba(197, 170, 114, 0.18);
  }

  .elite-thesis-ledger span {
    padding: 20px 18px;
    border-right: 1px solid rgba(197, 170, 114, 0.16);
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    line-height: 1.7;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.68);
  }

  .elite-thesis-ledger span:last-child {
    border-right: 0;
  }

  .elite-story-board {
    padding: clamp(92px, 11vh, 148px) clamp(48px, 6vw, 118px);
  }

  .elite-story-head {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 0.62fr);
    gap: clamp(42px, 6vw, 98px);
    align-items: end;
    max-width: 1440px;
    margin: 0 auto 72px;
  }

  .elite-story-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.72fr 0.92fr;
    grid-template-rows: minmax(300px, 40vh) minmax(300px, 42vh);
    gap: 16px;
  }

  .elite-story-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 170, 114, 0.16);
    background: #111;
  }

  .elite-story-frame.wide {
    grid-column: span 2;
  }

  .elite-story-frame.tall {
    grid-row: span 2;
  }

  .elite-story-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.84) contrast(1.08) saturate(0.9);
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 1.4s ease;
  }

  .elite-story-frame:hover img {
    transform: scale(1.035);
    filter: brightness(0.92) contrast(1.08) saturate(0.96);
  }

  .elite-story-frame span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(246, 239, 227, 0.75);
  }

  .elite-studio-guide {
    padding: clamp(84px, 10vh, 130px) clamp(48px, 6vw, 118px);
  }

  .elite-studio-guide-inner {
    max-width: 1420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
  }

  .elite-guide-cards {
    display: grid;
    gap: 14px;
  }

  .elite-guide-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 28px;
    padding: 28px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border: 1px solid rgba(197, 170, 114, 0.18);
  }

  .elite-guide-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3.1rem;
    font-weight: 300;
    color: rgba(197, 170, 114, 0.86);
  }

  .elite-guide-card h3 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.82rem;
    font-weight: 300;
    color: #f6efe3;
  }

  .elite-guide-card p {
    margin: 0;
    line-height: 1.78;
    color: rgba(244, 236, 220, 0.62);
  }

  .akp-pathways,
  .akp-assurance {
    padding: clamp(86px, 10vh, 138px) clamp(48px, 6vw, 118px);
    background:
      radial-gradient(circle at 12% 0%, rgba(197, 170, 114, 0.08), transparent 38%),
      linear-gradient(180deg, #070707, #050505);
    border-top: 1px solid rgba(197, 170, 114, 0.12);
    border-bottom: 1px solid rgba(197, 170, 114, 0.08);
  }

  .akp-pathways-head,
  .akp-assurance-copy {
    max-width: 760px;
    margin: 0 auto clamp(42px, 6vh, 72px);
    text-align: center;
  }

  .akp-pathways-grid {
    max-width: 1460px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(197, 170, 114, 0.18);
    border-left: 1px solid rgba(197, 170, 114, 0.14);
  }

  .akp-path-card {
    min-height: 330px;
    padding: clamp(30px, 3.2vw, 48px);
    display: grid;
    grid-template-rows: 34px minmax(92px, auto) 1fr;
    align-content: start;
    gap: 22px;
    color: inherit;
    text-decoration: none;
    border-right: 1px solid rgba(197, 170, 114, 0.14);
    border-bottom: 1px solid rgba(197, 170, 114, 0.14);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
      radial-gradient(circle at 50% 10%, rgba(197, 170, 114, 0.08), transparent 46%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), background 0.7s ease, border-color 0.7s ease;
  }

  .akp-path-card:hover {
    transform: translateY(-6px);
    border-color: rgba(219, 194, 134, 0.36);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.016)),
      radial-gradient(circle at 50% 10%, rgba(197, 170, 114, 0.13), transparent 48%);
  }

  .akp-path-card span,
  .akp-assurance-list span {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(219, 194, 134, 0.82);
  }

  .akp-path-card h3,
  .akp-assurance-list h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 2.2vw, 2.45rem);
    font-weight: 300;
    line-height: 1.05;
    color: #f6efe3;
  }

  .akp-path-card p,
  .akp-assurance-list p {
    margin: 0;
    max-width: 28em;
    line-height: 1.74;
    color: rgba(244, 236, 220, 0.64);
  }

  .akp-proof-ledger {
    max-width: 1460px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(197, 170, 114, 0.16);
    background: rgba(255, 255, 255, 0.025);
  }

  .akp-proof-ledger span {
    padding: 18px 22px;
    border-right: 1px solid rgba(197, 170, 114, 0.12);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    line-height: 1.6;
    text-transform: uppercase;
    text-align: center;
    color: rgba(244, 236, 220, 0.66);
  }

  .akp-proof-ledger span:last-child {
    border-right: 0;
  }

  .akp-assurance {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #050403;
  }

  .akp-assurance::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("images/DSC02284_hero.avif") center 47% / cover no-repeat;
    filter: brightness(0.72) contrast(1.06) saturate(0.92);
    transform: scale(1.03);
    pointer-events: none;
  }

  .akp-assurance::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(ellipse at 50% 34%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58) 72%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.44) 50%, rgba(0, 0, 0, 0.76)),
      linear-gradient(180deg, rgba(6, 5, 4, 0.46), rgba(6, 5, 4, 0.82));
    pointer-events: none;
  }

  .akp-assurance-copy,
  .akp-assurance-list {
    position: relative;
    z-index: 1;
  }

  .akp-assurance-copy {
    max-width: 900px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .akp-assurance-copy .elite-body {
    max-width: 760px;
    margin-inline: auto;
  }

  .akp-assurance-list {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .akp-assurance-list article {
    min-height: 260px;
    padding: clamp(28px, 3vw, 42px);
    display: grid;
    align-content: start;
    gap: 18px;
    border: 1px solid rgba(197, 170, 114, 0.18);
    background:
      linear-gradient(145deg, rgba(9, 8, 6, 0.82), rgba(6, 6, 5, 0.7)),
      linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
    backdrop-filter: blur(2px);
  }

  .services-cinema-break {
    position: relative;
    min-height: clamp(620px, 78vh, 860px);
    padding: clamp(80px, 10vh, 132px) clamp(48px, 6vw, 118px);
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    background: #040403;
    border-top: 1px solid rgba(197, 170, 114, 0.12);
    border-bottom: 1px solid rgba(197, 170, 114, 0.12);
  }

  .services-cinema-frame {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: -2;
  }

  .services-cinema-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(1) brightness(0.58) contrast(1.08);
  }

  .services-cinema-break::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.72)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 34%, rgba(0, 0, 0, 0.76));
    pointer-events: none;
  }

  .services-cinema-copy {
    max-width: 720px;
  }

  .services-gallery-interlude {
    padding: clamp(86px, 10vh, 136px) clamp(48px, 6vw, 118px);
    display: grid;
    grid-template-columns: 1.2fr 0.72fr 0.72fr;
    grid-template-rows: minmax(280px, 42vh) minmax(220px, 34vh);
    gap: 16px;
    background:
      radial-gradient(circle at 50% 0%, rgba(197, 170, 114, 0.08), transparent 42%),
      linear-gradient(180deg, #050505, #080706);
    border-top: 1px solid rgba(197, 170, 114, 0.1);
    border-bottom: 1px solid rgba(197, 170, 114, 0.12);
  }

  .services-gallery-interlude figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(197, 170, 114, 0.16);
    background: #111;
  }

  .services-gallery-interlude figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.82) contrast(1.06) saturate(0.9);
  }

  .services-interlude-wide {
    grid-row: span 2;
  }

  .services-interlude-note {
    grid-column: span 2;
    padding: clamp(34px, 4vw, 54px);
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(197, 170, 114, 0.16);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.012)),
      radial-gradient(circle at 80% 0%, rgba(197, 170, 114, 0.09), transparent 48%);
  }

  .services-interlude-note .elite-display {
    max-width: 820px;
    font-size: clamp(2.6rem, 3.55vw, 4.35rem);
    line-height: 1.08;
    letter-spacing: 0.005em;
  }

  .services-interlude-note .elite-display em {
    font-style: italic;
    color: rgba(197, 170, 114, 0.94);
  }

  body[data-desktop-test-page] .packages-grid {
    align-items: stretch;
  }

  body[data-desktop-test-page] .pkg {
    position: relative;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
      radial-gradient(circle at 50% 0%, rgba(197, 170, 114, 0.1), transparent 42%);
    border-color: rgba(197, 170, 114, 0.22);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
  }

  body[data-desktop-test-page] .pkg.featured {
    border-color: rgba(219, 194, 134, 0.48);
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(219, 194, 134, 0.12);
  }

  body[data-desktop-test-page] .pkg-badge {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    padding: 11px 24px;
    border-radius: 999px;
    border: 1px solid rgba(219, 194, 134, 0.52);
    background: #050504;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
  }

  body[data-desktop-test-page] .pkg-title {
    letter-spacing: 0;
  }

  body[data-desktop-test-page] .pkg-includes li {
    line-height: 1.72;
  }

  .elite-film-note {
    padding: clamp(78px, 10vh, 124px) clamp(48px, 6vw, 116px);
  }

  .elite-film-note-inner {
    max-width: 1340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(400px, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
  }

  .elite-film-note-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(197, 170, 114, 0.18);
  }

  .elite-film-note-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(1) brightness(0.74) contrast(1.14);
  }

  .elite-film-note-lines {
    margin-top: 34px;
    display: grid;
    border-top: 1px solid rgba(197, 170, 114, 0.2);
  }

  .elite-film-note-lines span {
    padding: 17px 0;
    border-bottom: 1px solid rgba(197, 170, 114, 0.14);
    color: rgba(244, 236, 220, 0.64);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
  }

  body[data-desktop-test-page] .masonry {
    column-gap: 18px;
  }

  body[data-desktop-test-page] .m-item {
    margin-bottom: 18px;
    break-inside: avoid;
  }

  body[data-desktop-test-page] .mag-credits,
  body[data-desktop-test-page] footer {
    border-top-color: rgba(197, 170, 114, 0.14);
  }
}

@media (max-width: 979px) {
  .elite-desktop-thesis,
  .elite-story-board,
  .elite-studio-guide,
  .elite-film-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elite-story-frame img {
    transition: none !important;
  }
}
