:root {
  --ink: #111;
  --paper: #f5f5f2;
  --red: #111;
  --muted: #66645f;
  --line: rgba(17, 17, 17, 0.22);
  --display: 'Iowan Old Style', Baskerville, Garamond, 'Times New Roman', serif;
  --sans: 'Lucida Sans', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #fbfbf8 0%, var(--paper) 48%, #d9d9d1 100%);
}

body[data-lang='DA'] {
  background:
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #fbfbf8 0%, var(--paper) 48%, #d9d9d1 100%);
}

a { color: inherit; text-decoration: none; }
.shell { width: min(1280px, calc(100% - 18px)); margin: 16px auto 40px; }

.topline,
.hero,
.lead-card,
.list-shell,
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #ecece7);
  box-shadow: var(--shadow);
}

.topline {
  padding: 10px 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}

.topnote {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.topbrand {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.topsub {
  margin-top: 6px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.btn,
.lang-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.lang-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-button.active {
  background: var(--ink);
  color: #fff;
}

.hero {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.compose {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #ecece7);
  box-shadow: var(--shadow);
}

.compose h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.98;
}

.compose p {
  color: #333;
  line-height: 1.75;
}

.compose-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.lead-card h2,
.list-title,
.card h3 {
  font-family: var(--display);
}

.hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.94;
}

.hero p {
  max-width: 760px;
  color: #333;
  line-height: 1.8;
}

.lead-card {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.lead-card h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.meta {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lead-body {
  margin-top: 16px;
  max-width: 760px;
  color: #222;
  line-height: 1.88;
}

.lead-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.list-shell {
  margin-top: 18px;
  padding: 22px;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.list-title {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  padding: 18px;
}

.card h3 {
  margin: 10px 0 0;
  font-size: 1.6rem;
  line-height: 1;
}

.card p {
  color: #333;
  line-height: 1.75;
}

.empty {
  color: var(--muted);
  padding: 20px 0 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .shell { width: min(1280px, calc(100% - 24px)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell {
    width: min(1280px, calc(100% - 20px));
    margin-top: 10px;
  }
  .topline {
    align-items: flex-start;
  }
  .topbrand {
    font-size: 2.35rem;
    line-height: 1;
  }
  .lang-switch {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .btn,
  .lang-button {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: 2.4rem;
    line-height: 1;
  }
  .hero p,
  .lead-body,
  .card p,
  .compose p {
    font-size: 0.96rem;
  }
  .lead-card h2,
  .compose h2,
  .list-title {
    font-size: 1.9rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .topline,
  .hero,
  .compose,
  .lead-card,
  .list-shell,
  .card { padding-left: 16px; padding-right: 16px; }
  input,
  textarea {
    font-size: 16px;
  }
}
