:root {
  --bg: #efe6d7;
  --bg-deep: #e3d7c4;
  --surface: rgba(248, 243, 234, 0.84);
  --surface-strong: #f7f1e7;
  --text: #26231f;
  --muted: #666056;
  --line: rgba(38, 35, 31, 0.11);
  --line-strong: rgba(55, 82, 67, 0.24);
  --accent: #375243;
  --accent-soft: #d9e1d6;
  --shadow: 0 30px 80px rgba(50, 44, 36, 0.08);
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 252, 246, 0.86), transparent 32%),
    linear-gradient(180deg, #f6f0e5 0%, var(--bg) 44%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(25% - 1px), rgba(55, 82, 67, 0.045) calc(25% - 1px), rgba(55, 82, 67, 0.045) 25%, transparent 25%, transparent calc(50% - 1px), rgba(55, 82, 67, 0.045) calc(50% - 1px), rgba(55, 82, 67, 0.045) 50%, transparent 50%, transparent calc(75% - 1px), rgba(55, 82, 67, 0.045) calc(75% - 1px), rgba(55, 82, 67, 0.045) 75%, transparent 75%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  position: sticky;
  top: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(247, 241, 231, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(38, 35, 31, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(50, 44, 36, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.24em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.brand-name,
.eyebrow,
.card-index,
.panel-cell span {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.topnav a {
  transition: color 220ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--accent);
}

.section {
  margin-top: 32px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 32px;
  min-height: 72vh;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.footer {
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 9vw, 7.5rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.lead,
.split-copy p,
.card p,
.metric p,
.panel-cell p,
.accent-cell p,
.footer p,
.button,
blockquote {
  line-height: 1.65;
  font-size: 1.02rem;
}

.lead {
  max-width: 55ch;
  margin: 28px 0 0;
  color: var(--muted);
}

.hero-audience {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #f6f0e6;
  min-width: 180px;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.3);
}

.hero-panel {
  display: flex;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--line);
}

.panel-cell {
  min-height: 210px;
  padding: 22px;
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-cell span,
.card-index {
  color: var(--muted);
}

.panel-cell strong,
.metric strong {
  font-size: 1.15rem;
  font-weight: 600;
}

.accent-cell {
  background:
    linear-gradient(180deg, rgba(55, 82, 67, 0.1), rgba(55, 82, 67, 0.18)),
    var(--surface-strong);
}

.accent-cell small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading.narrow h2 {
  max-width: 10ch;
}

.split-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  color: var(--muted);
}

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

.card,
.metric,
.destination-card,
.guide-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.card:focus-within,
.destination-card:hover,
.destination-card:focus-within,
.guide-item:hover,
.guide-item:focus-within {
  border-color: rgba(55, 82, 67, 0.28);
  box-shadow: 0 18px 40px rgba(55, 82, 67, 0.08);
  transform: translateY(-2px);
}

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

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

.destination-card {
  padding: 14px;
  overflow: hidden;
}

.destination-image {
  min-height: 280px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -80px 100px rgba(0, 0, 0, 0.08);
}

.image-historic-centre {
  background:
    linear-gradient(180deg, rgba(250, 234, 213, 0.08), rgba(63, 74, 63, 0.28)),
    linear-gradient(135deg, #ead6b6 0%, #d4b28a 38%, #687667 100%);
}

.image-zurenborg {
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(62, 73, 63, 0.26)),
    linear-gradient(135deg, #efe4d6 0%, #cab299 35%, #6b7a67 100%);
}

.image-south {
  background:
    linear-gradient(180deg, rgba(244, 234, 221, 0.08), rgba(57, 67, 60, 0.26)),
    linear-gradient(135deg, #e7d9c8 0%, #ba9d82 42%, #5b6c60 100%);
}

.destination-copy {
  padding: 18px 8px 6px;
}

.destination-copy h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

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

.collection-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
}

.collection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.collection-header strong {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.collection-list {
  display: grid;
  gap: 12px;
}

.collection-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.collection-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.collection-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.collection-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.collection-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(55, 82, 67, 0.1);
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.collection-item.is-highlighted h3 {
  color: var(--accent);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 26px;
}

.guide-intro {
  padding: 10px 6px 0 0;
  color: var(--muted);
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  gap: 18px;
}

.guide-item span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--muted);
  padding-top: 4px;
}

.quote-section {
  padding-block: 60px;
}

blockquote {
  max-width: 19ch;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.footer {
  margin-top: 32px;
  padding: 40px 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(45, 60, 51, 0.94);
  color: #f6f0e6;
  box-shadow: var(--shadow);
}

.footer h2 {
  max-width: 12ch;
}

.footer .eyebrow,
.footer p {
  color: rgba(246, 240, 230, 0.74);
}

.footer .button-primary {
  background: #f6f0e6;
  border-color: #f6f0e6;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(255, 252, 246, 0.86), transparent 32%),
    linear-gradient(180deg, #f6f0e5 0%, var(--bg) 44%, var(--bg-deep) 100%);
}

.admin-shell {
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(248, 243, 234, 0.8);
  box-shadow: var(--shadow);
}

.admin-topbar h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.admin-actions,
.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.admin-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(248, 243, 234, 0.82);
  box-shadow: var(--shadow);
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(55, 82, 67, 0.16);
  border-radius: 16px;
  background: rgba(255, 252, 246, 0.75);
  color: var(--text);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: 2px solid rgba(55, 82, 67, 0.14);
  border-color: rgba(55, 82, 67, 0.3);
}

.admin-checkbox {
  grid-template-columns: 20px 1fr;
  align-items: center;
}

.admin-checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
}

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

.admin-place-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
}

.admin-place-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-place-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.admin-place-card p {
  color: var(--muted);
}

.admin-place-details {
  min-height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }

  .card,
  .destination-card,
  .guide-item {
    transform: none;
  }
}

@media (max-width: 960px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 16px;
  }

  .topbar,
  .split-section,
  .hero,
  .cards,
  .metrics-grid,
  .destination-grid,
  .collection-grid,
  .guide-layout,
  .footer,
  .admin-layout,
  .admin-places {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer,
  .admin-topbar {
    border-radius: 28px;
  }

  .topbar,
  .footer,
  .hero-actions,
  .admin-topbar {
    align-items: flex-start;
  }

  .topbar,
  .footer,
  .admin-topbar {
    flex-direction: column;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .section,
  .footer,
  .admin-panel,
  .admin-topbar {
    padding: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
  }

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 640px) {
  body::before {
    background-image: linear-gradient(to right, transparent 0, transparent calc(50% - 1px), rgba(55, 82, 67, 0.045) calc(50% - 1px), rgba(55, 82, 67, 0.045) 50%, transparent 50%);
  }

  .section,
  .footer {
    padding: 22px;
    border-radius: 24px;
  }

  .topbar {
    position: static;
    padding: 18px;
  }

  .panel-grid,
  .cards,
  .metrics-grid,
  .destination-grid,
  .collection-grid,
  .admin-places {
    grid-template-columns: 1fr;
  }

  .panel-cell {
    min-height: 160px;
  }

  .destination-image {
    min-height: 220px;
  }

  .guide-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .collection-item,
  .admin-place-head {
    flex-direction: column;
  }
}
