/* Farver og fonte: ret de fælles farver her. */
:root {
  --cream: #f5f2e9;
  --ink: #252b24;
  --green: #263e32;
  --muted: #62675d;
  --line: #cbcbbf;
  --accent: #ded6bd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --space: clamp(3.5rem, 8vw, 7rem);
}
/* Generelt */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
}
h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}
h3 {
  font-size: 1.1rem;
  line-height: 1.4;
}
p + p {
  margin-top: 1rem;
}
a {
  color: inherit;
  text-underline-offset: .3em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
.wrap {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}
.section {
  padding-block: var(--space);
}
.label {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.label + h1, .label + h2 {
  margin-top: 1.4rem;
}
.text-link {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  padding-block: .6rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: .9rem;
}
.text-link span {
  font-size: 1.4rem;
  line-height: 1;
}
.skip-link {
  position: absolute;
  top: .5rem;
  left: 1rem;
  padding: .6rem 1rem;
  background: var(--cream);
  z-index: 10;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* Navigation */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-weight: bold;
  letter-spacing: -.065em;
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
nav a {
  padding-block: .5rem;
  font-size: .8rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
nav a[aria-current='page'], nav a:hover {
  border-color: currentColor;
}
/* Hero */
.hero-heading {
  padding-top: 2.4rem;
}
.hero-heading h1 {
  font-size: clamp(4.1rem, 15.7vw, 13rem);
  line-height: 1.1;
  margin-top: .3rem;
  letter-spacing: -.065em;
}
.hero-image {
  position: relative;
  margin-top: 1.3rem;
}
.hero-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-image figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--cream);
  padding: .35rem .7rem;
  font-size: .7rem;
}
.hero-caption {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-caption h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.hero-caption p {
  max-width: 29rem;
  color: var(--muted);
}
/* Intro og åbningstider */
.intro, .menu-teaser, .hours, .club-welcome {
  display: grid;
  gap: 2rem;
}
.statement {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}
.body-copy {
  max-width: 37rem;
  margin-top: 2rem;
  color: var(--muted);
}
.menu-teaser {
  border-top: 1px solid var(--line);
  align-items: center;
}
.menu-teaser h2 + p {
  margin-top: 1.4rem;
  color: var(--muted);
}
.price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1.3rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.price-list dd {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.green-section {
  background: var(--green);
  color: var(--cream);
}
.run-teaser {
  padding-block: var(--space);
}
.run-teaser-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.run-teaser h2 {
  font-size: clamp(2.6rem, 6vw, 5.3rem);
}
.run-teaser em, .club-hero em {
  color: var(--accent);
}
.run-schedule {
  font-size: .9rem;
  letter-spacing: .035em;
  font-weight: 600;
}
.run-schedule + p {
  margin-top: 1rem;
  max-width: 32rem;
}
.hours h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}
.hours-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 1rem;
  padding-block: .6rem;
}
/* Coffee / breakfast */
.breakfast {
  display: grid;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}
.breakfast img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
}
figcaption {
  margin-top: .7rem;
  font-size: .75rem;
}
.breakfast-copy > p {
  max-width: 27rem;
  margin-top: 1.5rem;
}
.breakfast-copy > .label:last-child {
  margin-top: 3rem;
}
.menu-photo {
  padding-bottom: var(--space);
}
.menu-photo img {
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
}
.club-photo img {
  aspect-ratio: 10 / 11;
  object-fit: cover;
}
.club-photo figcaption {
  color: var(--accent);
}

/* Menu */
.page-heading {
  padding-block: var(--space) 3.5rem;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  font-size: clamp(5rem, 13vw, 11rem);
}
.page-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
}
.menu-grid {
  display: grid;
  gap: 3rem;
  padding-block: 3rem var(--space);
}
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.category-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.category-heading .label {
  color: var(--muted);
}
.menu-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: .8rem;
}
.menu-note p {
  max-width: 34rem;
}
/* Run Club */
.club-hero {
  margin-top: 1.5rem;
  padding-block: var(--space);
}
.club-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.club-hero h1 {
  font-size: clamp(3.1rem, 7.5vw, 7rem);
}
.club-hero .run-schedule {
  margin-top: 2rem;
}
.club-description {
  max-width: 36rem;
}
.club-details {
  scroll-margin-top: 2rem;
}
.club-details h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.details-grid {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.details-grid > div {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.details-grid dt {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .7rem;
}
.details-grid dd {
  font: 1.8rem/1.2 var(--serif);
}
.club-welcome {
  border-top: 1px solid var(--line);
}
.club-welcome article + article {
  margin-top: 2rem;
}
.club-welcome article p {
  margin-top: .7rem;
  color: var(--muted);
  max-width: 33rem;
}
.club-ending {
  padding-bottom: var(--space);
}
.club-ending h2 {
  font-size: clamp(4.4rem, 13vw, 11rem);
}
.club-ending em {
  color: var(--green);
}
/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-grid p {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .65rem;
  color: var(--muted);
}
/* Mobil og desktop: grundlayoutet er til mobil. Her udvides det. */
@media (min-width: 640px) {
  .wrap {
    width: min(100% - 4rem, 1280px);
  }
  .site-header {
    padding-block: 1.6rem;
  }
  nav ul {
    gap: 2rem;
  }
  .hero-image img {
    aspect-ratio: 2.5 / 1;
  }
  .hero-image figcaption {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1.5fr 1fr;
  }
}
@media (min-width: 900px) {
  .breakfast {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
  .hero-caption, .menu-teaser, .hours, .run-teaser-grid, .club-welcome {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .hero-caption {
    align-items: center;
  }
  .intro {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
  .intro > .label {
    padding-top: .6rem;
  }
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem 7rem;
  }
  .club-hero-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
  }
  .details-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hours {
    align-items: center;
  }
}
