:root {
  --paper: #f7f2e8;
  --panel: #eee6d7;
  --navy: #111e32;
  --secondary: #475267;
  --light-ink: #fdf4e7;
  --light-secondary: #e4dcd2;
  --rust: #8f381a;
  --copper: #f5b58e;
  --line: #d0c5b3;
  color: var(--navy);
  background: var(--paper);
  font: 400 1rem/1.5 "Instrument Sans", system-ui, sans-serif;
}

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

body, h1, h2, h3, p {
  margin: 0;
}

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-250%);
  background: var(--paper);
  color: var(--navy);
  padding: 0.5rem 0.75rem;
}

.skip-link:focus-visible {
  transform: none;
}

.shell {
  width: min(100% - 2 * clamp(1.25rem, 5vw, 5.5rem), 78rem);
  margin-inline: auto;
}

.masthead-inner,
.footer {
  min-height: 4.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.wordmark {
  width: max-content;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--rust);
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1rem, 4vw, 2.8rem);
}

.masthead nav a {
  align-content: center;
  min-height: 2.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.masthead nav a:hover,
.destination a:hover {
  text-decoration: underline;
}

.hero {
  background: var(--navy);
  color: var(--light-ink);
}

.hero-inner {
  min-height: 31rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.hero-copy {
  align-self: center;
  padding-block: clamp(2.8rem, 6vw, 6rem);
  padding-inline-end: clamp(1.25rem, 5vw, 5rem);
}

.section-label {
  color: var(--rust);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .section-label {
  color: var(--copper);
}

h1, h2 {
  font: 400 clamp(2.65rem, 5vw, 4.4rem)/0.99 "Instrument Serif", Georgia, serif;
  letter-spacing: -0.022em;
}

h1 {
  max-width: 10.4ch;
  margin-block: 0.7rem 1.15rem;
  font-size: clamp(3.5rem, 7.6vw, 7.1rem);
}

.hero-intro {
  max-width: 34ch;
  color: var(--light-secondary);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 2.9rem;
  margin-top: 1.7rem;
  padding: 0.6rem 0.95rem;
  border-radius: 0.2rem;
  background: var(--copper);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--light-ink);
}

.primary-link:focus-visible {
  outline-color: var(--copper);
}

.hero-art {
  position: relative;
  min-width: 0;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 50%;
}

.free-section {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

h2 {
  margin-top: 0.45rem;
}

.destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.destination {
  padding-block: 1.3rem 0.1rem;
  padding-inline-end: 1.5rem;
}

.destination + .destination {
  border-left: 1px solid var(--line);
  padding-inline: clamp(1.25rem, 4vw, 3.3rem) 0;
}

h3 {
  font-size: clamp(1.14rem, 2.3vw, 1.48rem);
  line-height: 1.25;
}

.destination h3 a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  text-decoration: none;
}

.destination a span,
.text-link span {
  color: var(--rust);
}

.destination p, .enrollment p {
  max-width: 44ch;
  color: var(--secondary);
}

.paid-section {
  background: var(--panel);
}

.paid-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.4rem 2rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.enrollment {
  border-left: 2px solid var(--rust);
  padding-left: clamp(1.1rem, 3vw, 1.85rem);
}

.enrollment p {
  margin-top: 0.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  margin-top: 0.3rem;
  font-weight: 700;
}

.footer p {
  color: var(--secondary);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding-inline-end: 0;
  }

  .hero-art {
    margin-inline: calc(-1 * clamp(1.25rem, 5vw, 5.5rem));
    aspect-ratio: 5 / 3;
  }
}

@media (max-width: 500px) {
  .destinations, .paid-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .destination {
    padding: 0.95rem 0 1.2rem;
  }

  .destination + .destination {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }
}
