:root {
  color-scheme: light;
  --ink: #0f1d2b;
  --ink-soft: #33414d;
  --paper: #fbf8f1;
  --paper-deep: #f1ebdf;
  --white: #fffefa;
  --gold: #805511;
  --gold-soft: #d8b873;
  --line: rgba(15, 29, 43, 0.16);
  --shadow: 0 18px 46px rgba(27, 34, 39, 0.08);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-content: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 184, 115, 0.18), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 0.24rem;
}

a:hover {
  text-decoration-color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
  text-wrap: pretty;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 16px;
}

.wordmark {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
}

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

.pack {
  width: min(var(--max-content), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) 0 112px;
}

.pack-header {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.15rem;
}

.pack-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(4rem, 8vw, 6.4rem);
  line-height: 0.96;
}

.pack-intro {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.referral-source {
  display: inline-block;
  margin: 1.35rem 0 0;
  padding: 0.45rem 0.72rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 254, 250, 0.52);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.pack-section {
  margin-top: clamp(68px, 9vw, 96px);
  padding-top: clamp(30px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin-bottom: 0.8rem;
}

.section-heading h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 10px;
  border: 1px solid rgba(15, 29, 43, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-frame iframe,
.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame iframe {
  border-radius: 10px;
  background: #050505;
}

.fallback-link {
  margin: 0.85rem 0 0;
  color: #69716f;
  font-size: 0.76rem;
}

.resource-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 29, 43, 0.12);
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: var(--shadow);
  list-style: none;
}

.resource-list li + li {
  border-top: 1px solid var(--line);
}

.resource-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 86px;
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  background: var(--paper-deep);
}

.resource-link strong,
.resource-link small {
  display: block;
}

.resource-link strong {
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.resource-link small {
  margin-top: 0.18rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.resource-arrow {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.booking-note {
  max-width: 740px;
  margin: -0.35rem 0 1.5rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.calendar-frame {
  width: min(920px, calc(100vw - 48px));
  height: 760px;
  margin-left: 50%;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(15, 29, 43, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.calendar-frame iframe {
  border-radius: 10px;
  background: var(--white);
}

.calendar-fallback {
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: #69716f;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

@media (max-width: 840px) {
  .site-header,
  .pack,
  .site-footer {
    width: min(100% - 28px, var(--max-content));
  }

  .pack {
    padding-top: 52px;
  }
}

@media (max-width: 580px) {
  .site-header {
    padding-top: 18px;
  }

  .pack {
    padding: 44px 0 80px;
  }

  .pack-header h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .pack-intro {
    font-size: 1rem;
  }

  .pack-section {
    margin-top: 56px;
    padding-top: 28px;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .video-frame {
    padding: 5px;
    border-radius: 12px;
  }

  .video-frame iframe {
    border-radius: 8px;
  }

  .resource-link {
    min-height: 78px;
    padding: 1rem;
  }

  .calendar-frame {
    width: 100%;
    height: 1100px;
    margin-left: 0;
    padding: 5px;
    border-radius: 12px;
    transform: none;
  }

  .calendar-frame iframe {
    border-radius: 8px;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
