/* MEMVOJO — kortene i appfarver (fra /apps, apps-forside v5) og forsidens
   "Hvem står bag?"-kort. Scopet under body.site; se base.css. */

.site .section-title {
  margin: 0 0 4px; font-family: "Cormorant Garamond", "Cormorant Fallback", "Cormorant Fallback Android", Georgia, serif; font-weight: 400;
  font-size: 32px; line-height: 1.2; letter-spacing: 0; color: var(--cream);
}
.site .section-sub { margin: 0 0 18px; color: var(--text-soft); font-size: 16px; }
.site .cards { padding: 40px 0 0; }

.site .grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.site .grid > li { display: flex; }
.site .grid > li > .app-card { flex: 1; }
/* Appens farve bor i kortets flade: mørk-dæmpet nuance + en blød glød i hjørnet. */
.site .app-card {
  --app: #e4a830;
  --img-w: 140px;
  --card-h: 136px;
  --card-bg: color-mix(in srgb, var(--app) 24%, #110d1c);
  display: grid; grid-template-columns: var(--img-w) 1fr; min-height: var(--card-h);
  border-radius: 18px; overflow: hidden; color: var(--cream); text-decoration: none;
  background: var(--card);
  background:
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--app) 36%, #110d1c) 0%, transparent 70%),
    var(--card-bg);
  border: 1px solid var(--warm-line);
  border: 1px solid color-mix(in srgb, var(--app) 55%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px color-mix(in srgb, var(--app) 10%, transparent);
}
.site .app-card.has-need { --img-w: 132px; --card-h: 150px; }
.site .card-img { position: relative; overflow: hidden; }
/* Samme udsnit på alle kort, i logoets originale farver (intet filter). */
.site .card-img::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: 50%; height: var(--card-h); transform: translateY(-50%);
  background-image: url("/static/img/apps/landskab-udsnit.webp");
  background-image: image-set(url("/static/img/apps/landskab-udsnit.webp") 1x, url("/static/img/apps/landskab-udsnit@2x.webp") 2x);
  background-position: 30% 50%; background-size: auto var(--card-h); background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0,0,0,0.7) 68%, rgba(0,0,0,0.32) 84%, rgba(0,0,0,0.08) 94%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0,0,0,0.7) 68%, rgba(0,0,0,0.32) 84%, rgba(0,0,0,0.08) 94%, transparent 100%);
}
.site .card-body { padding: 14px 14px 14px 12px; align-self: center; }
.site .app-card .need {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--app) 55%, #ffffff);
}
.site .app-card h3 {
  margin: 0; font-family: "Cormorant Garamond", "Cormorant Fallback", "Cormorant Fallback Android", Georgia, serif; font-weight: 500;
  font-size: 27px; line-height: 1.05; letter-spacing: 0; color: #fff;
}
.site .app-card .need + h3 { margin-top: 4px; font-size: 28px; }
.site .app-card p { margin: 5px 0 0; color: #e4dccb; font-size: 16px; line-height: 1.4; }
.site .meta { color: var(--gold-pale); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.site .app-card .meta { display: block; margin-top: 6px; }
.site .app-card.has-need .meta { margin-top: 8px; font-size: 15px; }

/* ── "Hvem står bag?" ── */
.site .about {
  display: grid; grid-template-columns: 1fr; margin-top: 44px; padding: 0; border-radius: 22px; overflow: hidden;
  background: var(--card); border: 1px solid var(--warm-line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 70px var(--glow);
}
.site .about-img {
  position: relative; aspect-ratio: 960 / 741;
  background: url("/static/img/birgit-og-daebee.jpg") 50% 40% / cover no-repeat;
}
.site .about-img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 40%;
  background: linear-gradient(180deg, transparent, var(--card));
}
.site .about-body { position: relative; padding: 0 20px 24px; margin-top: -18px; }
.site .about .who {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-pale);
}
.site .about .section-title { margin-top: 6px; }
.site .about p { margin: 10px 0 0; color: var(--read); font-size: 17px; line-height: 1.65; }
.site .more-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px;
  color: var(--gold-pale); font-weight: 500; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: rgba(240, 216, 144, 0.45);
}

/* ── Simpelt kort til lister (blog, kommer snart, samarbejde) ── */
.site .panel {
  display: block; padding: 20px; border-radius: 18px; color: var(--cream); text-decoration: none;
  background: var(--card); border: 1px solid var(--warm-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.site .panel h2, .site .panel h3 {
  margin: 0; font-family: "Cormorant Garamond", "Cormorant Fallback", "Cormorant Fallback Android", Georgia, serif; font-weight: 500;
  font-size: 26px; line-height: 1.15; color: #fff;
}
.site .panel p { margin: 8px 0 0; color: var(--read); font-size: 16px; line-height: 1.55; }

@media (min-width: 760px) {
  .site .cards { padding-top: 56px; }
  .site .section-title { font-size: 40px; }
  .site .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .site .grid.three { grid-template-columns: repeat(3, 1fr); }
  .site .app-card { grid-template-columns: 1fr; grid-template-rows: 200px auto; }
  .site .card-img::before {
    top: 0; bottom: 0; height: auto; transform: none;
    background-size: 100% auto; background-position: 50% 88%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0.32) 80%, rgba(0,0,0,0.08) 92%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0.32) 80%, rgba(0,0,0,0.08) 92%, transparent 100%);
  }
  .site .card-body { padding: 4px 20px 20px; align-self: start; }
  .site .app-card.has-need .card-body { padding: 4px 22px 22px; }
  .site .app-card.has-need h3 { font-size: 34px; }
  .site .about { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .site .about-img { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .site .about-img::after {
    left: auto; top: 0; bottom: 0; right: -2px; width: 35%; height: auto;
    background: linear-gradient(90deg, transparent, var(--card));
  }
  .site .about-body { margin-top: 0; padding: 36px 40px 36px 12px; }
}
@media (min-width: 1040px) {
  .site .grid { grid-template-columns: repeat(3, 1fr); }
}
