/* ============================================================
   Skrivereise til Vest-Sicilia — Forfatterreiser.no
   Landingsside. Recreated from Claude Design handoff.
   ============================================================ */

:root {
  --wine:      #862736;
  --wine-dark: #6E1F2C;
  --ink:       #2A1D1E;
  --cream:     #F8F2E7;
  --cream-2:   #FFFDF8;
  --muted:     #5C4A44;
  --muted-2:   #6B5A54;
  --muted-3:   #8A6F66;
  --caption:   #8A6F66;
  --hairline:  rgba(42,29,30,0.08);
  --hairline-strong: rgba(42,29,30,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
::selection { background: var(--wine); color: var(--cream); }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; }

/* ---- Shared layout ---- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { width: 100%; padding: 84px 0; }

.band {
  background: var(--cream-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.3px;
  margin: 0;
  color: var(--ink);
}

.lead {
  font-size: 17px;
  line-height: 1.74;
  color: var(--muted);
  margin: 0 0 18px;
}
.lead:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: .4px;
  border-radius: 3px;
  transition: background .18s ease;
}
.btn--wine {
  background: var(--wine);
  color: var(--cream);
  padding: 16px 32px;
  font-size: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
}
.btn--wine:hover { background: var(--wine-dark); }
.btn--cream {
  background: #F4E9D8;
  color: var(--wine);
  padding: 17px 38px;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.btn--cream:hover { background: #FCF7EE; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #3a2b22;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(34,20,18,0.34) 0%,
    rgba(34,20,18,0.04) 34%,
    rgba(34,20,18,0.30) 64%,
    rgba(34,20,18,0.80) 100%);
}
.hero__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}
.hero__topbar .wrap {
  padding-top: 30px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
}
.wordmark .tld { opacity: .6; }

.hero__content {
  position: relative;
  pointer-events: none;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 58px;
}
.hero__badge {
  display: inline-block;
  background: rgba(248,242,231,0.94);
  color: var(--wine);
  padding: 7px 14px;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  margin-bottom: 20px;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #FCF7EE;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(20,10,8,0.35);
}
.hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: #F1E6D4;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 28px;
  max-width: 34ch;
  text-shadow: 0 1px 14px rgba(20,10,8,0.4);
}
.hero__content .btn { pointer-events: auto; }

/* ============================================================
   OM REISEN / DINE VERTER (two-column split)
   ============================================================ */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 52px;
  align-items: center;
}
.split__text  { flex: 1 1 380px; min-width: 0; }
.split__media { flex: 1 1 320px; min-width: 0; }

.feature-video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(42,29,30,0.16);
}

/* ---- Menneskene (two stacked people rows) ---- */
.people-row {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: center;
}
.people-row--first { margin-bottom: 52px; }
.people__media { flex: 1 1 320px; min-width: 0; }
.people__copy  { flex: 1 1 360px; min-width: 0; }
.people__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(42,29,30,0.16);
}
.people__img--teachers { object-position: 50% 28%; }
.people__img--hosts    { object-position: 50% 32%; }
.people__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 12px;
}
.people__name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}
.people__text {
  font-size: 17px;
  line-height: 1.74;
  color: var(--muted);
  margin: 0;
}

.media-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: .3px;
  color: var(--caption);
  margin-top: 9px;
}
.media-caption em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ============================================================
   INKLUDERT (icon cards)
   ============================================================ */
.section-head--center {
  text-align: center;
  margin-bottom: 48px;
}
.section-head--center .section-title {
  margin: 0 auto;
  max-width: 18ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 18px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 26px 24px;
}
.card svg { display: block; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 20px;
  margin: 16px 0 7px;
  color: var(--ink);
}
.card p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted-2);
  margin: 0;
}

.fineprint {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted-3);
  margin: 34px auto 0;
  max-width: 46ch;
}

/* ============================================================
   EN TYPISK DAG (timeline grid with hairline gaps)
   ============================================================ */
.section-head { margin-bottom: 46px; }
.section-head--gallery,
.section-head--praktisk { margin-bottom: 42px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: rgba(42,29,30,0.10);
}
.timeline__cell {
  background: var(--cream);
  padding: 30px 26px;
}
.timeline__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 14px;
}
.timeline__text {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* ============================================================
   GALLERI
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}
.gallery figcaption {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: .3px;
  color: var(--caption);
  margin-top: 9px;
}
.gallery figcaption em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ============================================================
   PRAKTISK (fact cards)
   ============================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.fact {
  background: var(--cream-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 6px;
  padding: 26px 24px;
}
.fact__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 12px;
}
.fact__value {
  font-family: 'Playfair Display', serif;
  line-height: 1.28;
  color: var(--ink);
}
.fact__value--lg { font-size: 23px; }
.fact__value--sm { font-size: 19px; line-height: 1.3; }
.fact__note {
  font-size: 14px;
  color: var(--muted-3);
  margin-top: 5px;
}

/* ============================================================
   PÅMELDING / CTA
   ============================================================ */
.cta {
  width: 100%;
  padding: 90px 0;
  background: var(--wine);
}
.cta__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.cta__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #E7A9A2;
  margin-bottom: 18px;
}
.cta__title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin: 0 0 18px;
  color: #FCF7EE;
}
.cta__dates {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.45;
  color: #F1D7CF;
  margin: 0 0 8px;
}
.cta__terms { font-size: 15px; color: #E7B7B0; margin: 0 0 34px; }
.cta__contact { font-size: 15px; color: #EBC9C3; margin: 24px 0 0; }
.cta__contact a {
  color: #FCF7EE;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  width: 100%;
  background: var(--ink);
  padding: 44px 0;
}
.footer__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: baseline;
  justify-content: space-between;
}
.footer__brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream);
}
.footer__brand .tld { opacity: .55; }
.footer__sub { font-size: 13px; color: #A99089; margin-top: 6px; }
.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: #C9ADA6;
  max-width: 42ch;
  flex: 1 1 280px;
}

/* ============================================================
   RESPONSIVE — keep desktop pixel-faithful, scale type on phones
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 540px; }
  .hero__title { font-size: 38px; }
  .hero__subtitle { font-size: 19px; }
  .section-title { font-size: 28px; }
  .cta { padding: 64px 0; }
  .cta__title { font-size: 32px; }
  .cta__dates { font-size: 19px; }
  .feature-video { height: 300px; }
  .people__img { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
