@import url("https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Nunito:wght@400;700;800;900&display=swap");

:root {
  color-scheme: light;
  --ink: #082044;
  --muted: #3f4a5f;
  --coral: #f17066;
  --coral-soft: #fee0dc;
  --pink: #f50557;
  --teal: #2d9ca0;
  --teal-soft: #dcefed;
  --yellow: #f7b544;
  --yellow-soft: #fff0cc;
  --blue-soft: #e8f1fa;
  --cream: #fffaf3;
  --line: #eadbd0;
  --card: #fffefa;
  --shadow: 0 18px 46px rgb(70 45 27 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 86%, rgb(123 192 188 / 32%) 0 70px, transparent 72px),
    radial-gradient(circle at 94% 64%, rgb(241 112 102 / 24%) 0 64px, transparent 66px),
    #fffaf3;
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

.visual-home {
  background: #fffaf3;
  min-height: 100svh;
  overflow-x: hidden;
}

.mockup-page {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #fffaf3;
}

.mockup-page img {
  width: 100%;
  height: auto;
  min-height: 100svh;
  object-fit: cover;
  object-position: center top;
}

.mock-link {
  position: absolute;
  display: block;
  border-radius: 999px;
  text-indent: -9999px;
  overflow: hidden;
  outline: 0;
}

.mock-link:focus-visible {
  box-shadow: 0 0 0 4px rgb(45 156 160 / 35%);
}

.mock-link.logo { left: 9.7%; top: 1.2%; width: 15.1%; height: 7.7%; }
.mock-link.nav-home { left: 35.5%; top: 3.2%; width: 4.8%; height: 4.5%; }
.mock-link.nav-dansk { left: 41.2%; top: 3.2%; width: 5.5%; height: 4.5%; }
.mock-link.nav-dansk-tech { left: 47.7%; top: 3.2%; width: 14%; height: 4.5%; }
.mock-link.nav-tech { left: 62.2%; top: 3.2%; width: 12.1%; height: 4.5%; }
.mock-link.nav-years { left: 73.6%; top: 3.2%; width: 8.2%; height: 4.5%; }
.mock-link.nav-about { left: 82.2%; top: 3.2%; width: 6.2%; height: 4.5%; }
.mock-link.cta-courses { left: 13.4%; top: 47.5%; width: 11.9%; height: 5.3%; }
.mock-link.cta-years { left: 26.2%; top: 47.5%; width: 12.5%; height: 5.3%; }
.mock-link.cat-dansk { left: 8.6%; top: 56.1%; width: 19.5%; height: 14.8%; border-radius: 8px; }
.mock-link.cat-dansk-tech { left: 29.5%; top: 56.1%; width: 19.4%; height: 14.8%; border-radius: 8px; }
.mock-link.cat-tech { left: 50.3%; top: 56.1%; width: 19.3%; height: 14.8%; border-radius: 8px; }
.mock-link.cat-years { left: 70.8%; top: 56.1%; width: 19.3%; height: 14.8%; border-radius: 8px; }
.mock-link.all-courses { left: 82.6%; top: 73.7%; width: 7.8%; height: 3.3%; }
.mock-link.course-1 { left: 8.7%; top: 77.1%; width: 19.2%; height: 21.8%; border-radius: 8px; }
.mock-link.course-2 { left: 29.3%; top: 77.1%; width: 19.2%; height: 21.8%; border-radius: 8px; }
.mock-link.course-3 { left: 49.8%; top: 77.1%; width: 19.8%; height: 21.8%; border-radius: 8px; }
.mock-link.course-4 { left: 70.8%; top: 77.1%; width: 19.3%; height: 21.8%; border-radius: 8px; }

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

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 14px clamp(22px, 8vw, 150px);
  background: rgb(255 250 243 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  display: grid;
  gap: 0;
  color: var(--ink);
  line-height: .9;
  min-width: max-content;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.brand::before {
  left: -26px;
  top: 18px;
  width: 18px;
  height: 4px;
  background: var(--teal);
  transform: rotate(18deg);
  box-shadow: 0 -14px 0 var(--teal), 0 14px 0 var(--teal);
}

.brand::after {
  right: -28px;
  top: 0;
  width: 18px;
  height: 18px;
  border: 3px solid var(--yellow);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.brand-main {
  font-family: "Gaegu", "Comic Sans MS", cursive;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--coral);
  font-size: clamp(1.1rem, 1.45vw, 1.55rem);
  font-weight: 800;
  letter-spacing: .5px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.7vw, 42px);
  flex-wrap: wrap;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--coral);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.section-wrap {
  width: min(100% - 44px, 1380px);
  margin-inline: auto;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  align-items: center;
  min-height: calc(100vh - 92px);
  gap: 32px;
  padding-block: clamp(38px, 5vw, 72px) 28px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  margin: 0 0 8px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Gaegu", "Comic Sans MS", cursive;
  font-size: clamp(2.65rem, 4.65vw, 5.25rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #1f2937;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgb(31 41 55 / 10%);
}

.button.primary {
  color: white;
  background: linear-gradient(90deg, var(--coral), #ec655d);
}

.button.secondary {
  color: white;
  background: linear-gradient(90deg, #62b8b7, #208a92);
}

.button:not(.primary):not(.secondary) {
  color: var(--ink);
  background: white;
  border: 1px solid #cad3df;
}

.hero-portrait {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.blob {
  position: absolute;
  inset: 1% 8% 4% 4%;
  border-radius: 46% 54% 51% 49% / 40% 46% 54% 60%;
}

.blob.coral {
  background: #f3a69a;
  transform: rotate(-4deg);
  opacity: .9;
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: min(82%, 500px);
  border-radius: 22px 22px 0 0;
  clip-path: inset(0 0 2% 0 round 20px);
  filter: drop-shadow(0 8px 0 white) drop-shadow(0 18px 26px rgb(31 41 55 / 12%));
}

.speech {
  position: absolute;
  right: -8px;
  top: 80px;
  z-index: 2;
  width: 224px;
  padding: 28px 22px;
  background: #ffd47e;
  border: 6px solid white;
  border-radius: 34px;
  font-family: "Gaegu", "Comic Sans MS", cursive;
  text-align: center;
  box-shadow: var(--shadow);
}

.hero-portrait::before,
.hero-portrait::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-portrait::before {
  left: 8%;
  top: 22%;
  width: 38px;
  height: 38px;
  border-left: 5px solid var(--teal);
  border-top: 5px solid var(--teal);
  transform: rotate(-25deg);
  opacity: .9;
}

.hero-portrait::after {
  left: 23%;
  top: 43%;
  width: 38px;
  height: 38px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(45deg, transparent 42%, white 43% 57%, transparent 58%) border-box;
  border: 3px solid transparent;
  clip-path: polygon(50% 0, 61% 36%, 100% 38%, 68% 59%, 79% 100%, 50% 74%, 21% 100%, 32% 59%, 0 38%, 39% 36%);
}

.doodle {
  position: absolute;
  z-index: 0;
  font-family: "Gaegu", "Comic Sans MS", cursive;
  font-weight: 800;
  pointer-events: none;
}

.doodle-pencil {
  left: -4px;
  top: 24%;
  color: var(--yellow);
  font-size: 4.4rem;
  transform: rotate(18deg);
}

.doodle-heart {
  right: 6%;
  top: 3%;
  color: var(--teal);
  font-size: 4rem;
  transform: rotate(-10deg);
}

.doodle-star {
  left: 39%;
  bottom: 19%;
  color: var(--yellow);
  font-size: 3rem;
  transform: rotate(15deg);
}

.doodle-paper {
  right: -4px;
  bottom: 20%;
  color: var(--coral);
  font-size: 5rem;
}

.hero-copy,
.hero-portrait {
  z-index: 1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -20px;
  padding-bottom: 26px;
}

.category-card,
.course-card,
.soft-panel,
.sidebar,
.course-hero,
.lesson-strip,
.evaluation-strip {
  border: 1px solid rgb(255 126 130 / 45%);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgb(40 25 14 / 6%);
}

.category-card {
  min-height: 140px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
}

.category-card h2 {
  margin-bottom: 6px;
  font-family: "Gaegu", "Comic Sans MS", cursive;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.category-card p {
  grid-column: 2;
  margin: 0;
  color: #263044;
}

.card-icon {
  grid-row: span 2;
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1;
}

.pink { background: linear-gradient(135deg, #fee0dc, #fff3f1); }
.mint { background: linear-gradient(135deg, #dcefed, #f2faf8); }
.yellow { background: linear-gradient(135deg, #fff0cc, #fff8e8); }
.blue { background: linear-gradient(135deg, #e8f1fa, #f7fbff); }

.courses-section {
  padding-bottom: 54px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-family: "Gaegu", "Comic Sans MS", cursive;
  font-size: 1.75rem;
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: #2d2f39;
}

.section-heading a {
  margin-left: auto;
  color: var(--teal);
  font-weight: 800;
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 4px 16px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.course-card {
  overflow: hidden;
  background: white;
}

.course-card img {
  width: 100%;
  aspect-ratio: 3.35 / 1;
  object-fit: cover;
}

.course-card div {
  padding: 12px 14px 16px;
}

.course-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.course-card p {
  margin-bottom: 10px;
  color: #384052;
  font-size: .95rem;
}

.course-card span {
  display: inline-flex;
  margin: 3px 4px 0 0;
  padding: 3px 8px;
  border-radius: 5px;
  background: #e7f2ef;
  color: #25394a;
  font-size: .78rem;
}

.about-main {
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(540px, 1.1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding-block: 52px 28px;
}

.about-portrait {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: end center;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 5% 8% 6%;
  background: #dcefed;
  border-radius: 48% 52% 45% 55% / 36% 39% 61% 64%;
}

.about-portrait img {
  position: relative;
  width: min(90%, 540px);
  filter: drop-shadow(0 0 0 white) drop-shadow(0 10px 10px rgb(0 0 0 / 8%));
}

.about-copy .lead {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.55;
}

.quote-card {
  float: right;
  max-width: 260px;
  margin: 0 0 28px 32px;
  padding: 28px;
  background: #f7ebe1;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-align: center;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 48px;
  padding: 0;
  margin: 0 0 44px;
  list-style: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.profile-list li::before {
  content: "★";
  color: var(--yellow);
  margin-right: 14px;
}

.values-panel {
  padding: 24px 28px;
  background: linear-gradient(135deg, #e9f4f2, #f6fbfa);
  border-radius: 8px;
}

.values-panel h2,
.about-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.values strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
}

.about-actions {
  margin-top: 34px;
}

.course-page {
  background: #fff;
}

.course-page .site-header {
  min-height: 76px;
  border-bottom: 0;
}

.course-shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 20px;
  width: min(100% - 42px, 1488px);
  margin: 10px auto 28px;
}

.sidebar {
  align-self: start;
  padding: 24px 18px;
  border-color: var(--pink);
  background: white;
}

.back-link {
  display: inline-flex;
  color: var(--pink);
  font-weight: 800;
  margin-bottom: 26px;
}

.side-title {
  font-weight: 900;
  margin-bottom: 12px;
}

.side-nav,
.download-list {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 800;
}

.side-nav a.active {
  color: var(--pink);
  background: #ffe2ec;
}

.download-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  font-size: .9rem;
  font-weight: 800;
}

.content-stack {
  display: grid;
  gap: 10px;
}

.course-hero {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 24px;
  padding: 28px 24px;
  border-color: var(--pink);
  background: white;
}

.tag {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 999px;
  color: white;
  background: var(--pink);
  font-weight: 900;
  font-size: .8rem;
}

.course-hero h1 {
  margin: 10px 0 12px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2.3rem, 3.4vw, 3.9rem);
  line-height: 1;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 24px 0 18px;
  text-align: center;
  font-size: .82rem;
}

.course-meta strong {
  display: block;
  font-size: .9rem;
}

.course-meta dt,
.course-meta dd {
  margin: 0;
}

.course-meta dt {
  color: #586172;
  font-weight: 800;
}

.course-hero img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 24px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.soft-panel {
  padding: 20px 24px;
  background: white;
}

.soft-panel h2,
.lesson-strip h2,
.evaluation-strip h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.soft-panel ul,
.evaluation-strip ul {
  padding-left: 20px;
  margin: 0;
}

.lesson-strip,
.evaluation-strip {
  padding: 14px 20px;
  background: linear-gradient(135deg, #eef8ff, #fff);
  border-color: #8abdf2;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lesson-grid article {
  border-left: 1px solid #c9d8e9;
  padding-left: 18px;
}

.lesson-grid article:first-child {
  border-left: 0;
  padding-left: 0;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 999px;
  color: white;
  background: #1d62c6;
  font-weight: 900;
}

.evaluation-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: linear-gradient(135deg, #fff1ff, #fff);
  border-color: #d7b5f4;
}

@media (max-width: 980px) {
  .site-header,
  .main-nav {
    justify-content: center;
  }

  .home-hero,
  .about-main,
  .course-hero,
  .course-shell {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding-top: 26px;
    gap: 14px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 7vw, 3.45rem);
    max-width: 680px;
  }

  .hero-portrait {
    min-height: 390px;
    margin-top: 0;
  }

  .hero-portrait img {
    width: min(72%, 430px);
  }

  .speech {
    right: 6%;
    top: 46px;
    width: min(230px, 36vw);
  }

  .category-grid,
  .course-grid,
  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section-wrap,
  .course-shell {
    width: min(100% - 28px, 1380px);
  }

  .home-hero {
    min-height: auto;
  }

  .category-grid,
  .course-grid,
  .panel-grid,
  .values,
  .profile-list,
  .course-meta,
  .lesson-grid,
  .evaluation-strip,
  .goals {
    grid-template-columns: 1fr;
  }

  .hero-portrait,
  .about-portrait {
    min-height: 420px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .hero-portrait img {
    width: min(92%, 380px);
  }

  .speech,
  .quote-card {
    position: static;
    float: none;
    width: auto;
    max-width: none;
    margin: 18px 0 0;
  }
}
