/* Stevns Klint Experience · Impact Lab
   Designet følger stevnsklint.dk: flade farveflader, hårde 1px-linjer,
   ingen runde hjørner, ingen skygger, ingen forløb. Typografien blander en
   tung grotesk med en didone-serif, sådan som overskrifterne på sitet gør. */

:root {
  --ink:   #101010;
  --paper: #ffffff;
  --logo-bg: #ffffff; /* --logo-bg, --lilac og --mint sættes pr. sæson i admin (layout.ts) */
  --bone:  #f1f0ea;
  --lilac: #f3d5f7;
  --mint:  #a2f0c7;
  --blue:  #1e27a8;
  --yellow:#f6ef7c;
  --orange:#e8592b;
  --maroon:#4b1d24;
  --sky:   #b5e9f3;
  --grey:  #86867f;
  --hairline: #d6d5ce;

  --f-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --pad: clamp(18px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

/* Skal stå her: flere komponenter sætter display, og ville ellers overtrumfe [hidden]. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 16px/1.55 var(--f-body);
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

body.t-bone   { background: var(--bone); }
body.t-admin  { background: var(--bone); }

a { color: var(--blue); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.ico { width: 22px; height: 22px; flex: 0 0 auto; }

/* ── Sidehoved ─────────────────────────────────────────────────────────── */

.masthead {
  display: flex;
  flex-wrap: wrap;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.masthead__logo {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  padding: 15px var(--pad);
  background: var(--logo-bg);
  border-right: 1px solid var(--ink);
}
.masthead__img { display: block; width: auto; height: clamp(11px, 3vw, 15px); }

.masthead__band {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 15px var(--pad);
  font: 800 12px/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.band--lilac { background: var(--lilac); }

/* Sprogknappen: samme bånd-typografi, egen celle yderst til højre. */
.masthead__lang {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 15px var(--pad);
  border-left: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 800 12px/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (hover: hover) { .masthead__lang:hover { background: var(--ink); color: var(--bone); } }
.band--mint  { background: var(--mint); }

/* ── Sideindhold ───────────────────────────────────────────────────────── */

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 8vw, 72px) var(--pad) clamp(48px, 10vw, 88px);
}
.wrap--narrow { max-width: 620px; }

.display {
  margin: 0 0 clamp(20px, 4vw, 32px);
  text-transform: uppercase;
  line-height: .84;
}
.display__serif {
  display: inline-block;
  font: 400 clamp(46px, 14vw, 104px)/.84 var(--f-serif);
  letter-spacing: -.005em;
}
.display__grotesk {
  display: inline-block;
  font: 800 clamp(46px, 14vw, 104px)/.84 var(--f-display);
  letter-spacing: -.035em;
}

.lede {
  margin: 0 0 18px;
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.55;
  max-width: 58ch;
}
.lede--sub { font-size: 15px; color: #3a3a36; }

.note {
  border: 1px solid var(--ink);
  background: var(--sky);
  padding: 18px 20px;
  margin: 0 0 22px;
}
.note p { margin: 0; }

.fineprint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--grey);
}

/* ── Formular ──────────────────────────────────────────────────────────── */

.form { margin-top: clamp(24px, 5vw, 40px); }

.block {
  border-top: 1px solid var(--ink);
  padding: 26px 0 30px;
}

.block__title {
  margin: 0 0 18px;
  font: 800 12px/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.req { color: var(--orange); }

.drop { display: block; cursor: pointer; }
.drop__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(260px, 62vw);
  aspect-ratio: 9 / 16;
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.drop__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop__cta { display: grid; justify-items: center; gap: 10px; padding: 16px; text-align: center; }
.drop__plus { font: 400 56px/1 var(--f-serif); }
.drop__label {
  font: 800 11px/1.4 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.drop.is-drag .drop__frame { background: var(--lilac); }
@media (hover: hover) { .drop:hover .drop__frame { background: var(--lilac); } }
.drop.has-image .drop__cta { display: none; }

.drop__meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
}
.link {
  border: 0; background: none; padding: 12px 0; margin: -12px 0; cursor: pointer;
  font: 500 13px/1 var(--f-body); color: var(--blue);
  text-decoration: underline; text-underline-offset: 3px;
}

.hint { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #46463f; max-width: 46ch; }

.field { margin-bottom: 26px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  margin-bottom: 8px;
  font: 800 12px/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: 400 17px/1.4 var(--f-body);
  color: var(--ink);
  appearance: none;
}
.field input::placeholder { color: var(--grey); }
.field input:focus { outline: 0; border-bottom: 2px solid var(--blue); padding-bottom: 11px; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
}
.consent:last-of-type { margin-bottom: 0; }
.consent:focus-within { box-shadow: inset 0 0 0 3px var(--blue); }
.consent input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.consent__box {
  position: relative;
  width: 24px; height: 24px;
  margin-top: 1px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.consent__box::after {
  content: "";
  position: absolute;
  left: 5px; top: 6px;
  width: 12px; height: 6px;
  border-left: 2.5px solid var(--paper);
  border-bottom: 2.5px solid var(--paper);
  transform: rotate(-45deg);
  opacity: 0;
}
.consent input:checked ~ .consent__box { background: var(--ink); }
.consent input:checked ~ .consent__box::after { opacity: 1; }
.consent__text { font-size: 14.5px; line-height: 1.5; }

/* ALTCHA-widget'en (selvhostet bot-tjek) i sidens egen stil: hårde linjer, ingen runding. */
.botcheck {
  display: block;
  margin: 22px 0 0;
  --altcha-border-color: var(--ink);
  --altcha-border-radius: 0;
  --altcha-checkbox-border-radius: 0;
  --altcha-color-base: var(--paper);
  --altcha-color-base-content: var(--ink);
  --altcha-color-primary: var(--ink);
  --altcha-max-width: 100%;
  --altcha-shadow: none;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: 28px;
  padding: 20px var(--pad);
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 800 14px/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s linear, color .12s linear;
}
.btn--mint { background: var(--mint); }
@media (hover: hover) { .btn:hover { background: var(--ink); color: var(--bone); } }
.btn:active { background: var(--ink); color: var(--bone); }
.btn[disabled], .btn[disabled]:hover { cursor: progress; color: var(--grey); background: var(--hairline); }
.btn--sm { width: auto; margin: 0; padding: 12px 16px; font-size: 11px; gap: 12px; }
.btn--sm .ico { width: 16px; height: 16px; }

.err {
  margin: 14px 0 0;
  padding: 11px 14px;
  background: var(--orange);
  color: var(--paper);
  font: 500 14px/1.45 var(--f-body);
}
.err--form { margin-top: 24px; }

/* ── Mønsterbånd og fod ────────────────────────────────────────────────── */

.strip {
  height: clamp(52px, 8vw, 88px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background-image: url("/strip.svg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  padding: 22px var(--pad) 40px;
  font-size: 13px;
}
.footer p { margin: 0; }
.footer__org {
  font: 800 12px/1 var(--f-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ── Telefon ───────────────────────────────────────────────────────────── */

body { padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }

@media (max-width: 560px) {
  .masthead__logo { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--ink); }
  .masthead__band, .masthead__lang { padding-top: 13px; padding-bottom: 13px; }
  .block { padding: 22px 0 24px; }
  .consent { padding: 16px; gap: 14px; }
  .btn { margin-top: 22px; }
}
