/* ALL | AS | ONE · designløft for undersiderne (16. november 2026)
   Lægges oven på x.css. Ændrer kun det visuelle: læsbarhed i toppen, rytme, kort, film og mobil. Ingen tekster. */

/* ---------- Typografi: samme lette Jost som forsiden ---------- */
.x-h1 { font-weight: 300; letter-spacing: .035em; line-height: 1.02 }
.x-h2 { font-weight: 300; letter-spacing: .03em; line-height: 1.06 }
.x-h3 { letter-spacing: .02em }
.eyebrow { display: flex; align-items: center; gap: 14px }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--gold) }
.x-intro .eyebrow, .x-hero .eyebrow { margin-bottom: 20px }
.lede { text-wrap: pretty }
.x-intro > p { font-size: 17.5px; line-height: 1.65; text-wrap: pretty }

/* ---------- Toppen: roligt glas, tydelig aktiv side ---------- */
.x-top.solid { background: rgba(247,243,236,.9); box-shadow: 0 1px 0 rgba(200,160,74,.22), 0 18px 40px -32px rgba(13,27,61,.35) }
.x-nav { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px) }
.x-nav a[aria-current="page"] { background: rgba(233,207,142,.32); color: var(--ink) }
.x-nav a.login { box-shadow: 0 10px 22px -14px rgba(11,26,58,.8) }

/* ---------- Helten: teksten står på et blødt lys, så den altid kan læses ---------- */
.x-hero { min-height: min(94vh, 900px); padding-block: 170px 96px }
.x-hero::after {
  background:
    linear-gradient(90deg, rgba(247,243,236,.86) 0%, rgba(247,243,236,.62) 34%, rgba(247,243,236,.12) 62%, rgba(247,243,236,0) 78%),
    linear-gradient(180deg, rgba(247,243,236,.28) 0%, rgba(247,243,236,0) 30%, rgba(247,243,236,.55) 74%, var(--dawn) 100%) }
.x-hero .wrap { position: relative }
.x-hero .wrap::before { content: ""; position: absolute; z-index: -1; left: -14%; top: -90px; bottom: -70px; width: min(980px, 92%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(247,243,236,.9), rgba(247,243,236,.72) 52%, rgba(247,243,236,0) 100%) }
.x-hero .x-h1 { max-width: 15ch; color: var(--night) }
.x-hero .lede { max-width: 54ch; color: #24304D }
@media (max-width: 760px) {
  .x-hero { min-height: 0; padding-block: 128px 64px; align-items: end }
  .x-hero::after { background: linear-gradient(180deg, rgba(247,243,236,.55) 0%, rgba(247,243,236,.88) 22%, rgba(247,243,236,.93) 52%, rgba(247,243,236,.97) 78%, var(--dawn) 100%) }
  .x-hero .wrap::before { display: none }
  .x-hero .bg { animation: none; inset: 0 }
  .x-h1 { font-weight: 400; font-size: clamp(34px, 10vw, 44px); letter-spacing: .03em }
  .x-h2 { font-size: clamp(28px, 8.2vw, 36px) }
  .lede { font-size: 17px }
  .x-cta { gap: 10px }
  .x-cta .x-btn { width: 100%; justify-content: space-between }
}

/* ---------- Sektioner: lidt mere luft og en blød overgang ---------- */
section.x-sec { position: relative }
.x-sec.paper + .x-sec.ivory, .x-sec.ivory + .x-sec.paper { box-shadow: inset 0 1px 0 rgba(200,160,74,.18) }
.x-sec.night { background: radial-gradient(90% 120% at 15% 0%, #1E3570 0%, #102352 40%, var(--night) 75%) }
.x-sec.night::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,207,142,.45), transparent) }

/* ---------- Kort: porcelæn med en tynd guldkant ---------- */
.x-card { border-radius: 24px; border-color: rgba(13,27,61,.09); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 48px -40px rgba(13,27,61,.45) }
.x-card .num { font-size: 13px }
.x-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .8s var(--ease) }
.x-card:hover::before, .x-card:focus-visible::before { opacity: 1 }
.x-pic::before { display: none }
.x-pic { min-height: 360px }
.x-pic::after { background: linear-gradient(180deg, rgba(11,26,58,0) 26%, rgba(11,26,58,.55) 60%, rgba(11,26,58,.9) 100%) }
.x-btn { min-height: 52px }
.x-btn.ghost { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px) }
.x-sec.night .x-btn.ghost { background: rgba(255,255,255,.04) }

/* ---------- Telefonerne: en blød refleksion på glasset ---------- */
.x-phone::after { content: ""; position: absolute; inset: 12px; border-radius: 34px; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.22), rgba(255,255,255,0) 32%); transform: translateZ(2px) }

/* ---------- Filmafsnit ---------- */
.x-films { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(30px, 4vw, 48px) }
.x-films .aao-film.lead { grid-column: 1 / -1 }
.x-films.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.x-films.two .aao-film.lead { grid-column: auto }
@media (min-width: 1000px) { .x-films .aao-film.lead:not(:only-child) { aspect-ratio: 21 / 9 } }
@media (max-width: 860px) { .x-films, .x-films.two { grid-template-columns: 1fr; gap: 18px } }
.x-sec[data-film-sec][hidden] { display: none }
.x-app .aao-film { align-self: center }

/* ---------- Funktioner: moduler foldet sammen, så oversigten er til at overskue ---------- */
.fx-mod { border-radius: 26px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 48px -42px rgba(13,27,61,.45) }
.fx-mod header .x-h3 { font-size: 23px }
.fx-list li.fx-fold { display: none }
.fx-moreb { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(200,160,74,.55); background: rgba(255,255,255,.7); color: var(--ink); font: 500 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .4s var(--ease) }
.fx-moreb::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translateY(-2px); transition: transform .4s var(--ease) }
.fx-moreb[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px) }
.fx-moreb:hover { background: rgba(233,207,142,.3) }
.fx-idx a { min-height: 40px; display: inline-flex; align-items: center }
.fx-tags i { font-size: 11px }
.fx-tags em { font-size: 13px }

/* ---------- Fodnoten ---------- */
.x-foot { background: radial-gradient(80% 140% at 10% 0%, #15295A, var(--night) 60%); border-top: 1px solid rgba(233,207,142,.22) }

/* ---------- Tilgængelighed og ro ---------- */
@media (prefers-reduced-motion: reduce) { .x-card::before { transition: none } }

/* Mindre heltebillede på mobilen */
@media (max-width: 760px) { .x-hero .bg { background-image: var(--img-m, var(--img)) } }
