:root {
  --bg: #EFEBD8;
  --text: #000000;
  --navy: #1E2A38;
  --primary: #CC0000;
  --line: #CCCCCC;

  --font-heading: 'Jost', system-ui, -apple-system, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;

  --content-max: 560px;
  --side-pad: 24px;
  --section-gap: 64px;
}

@media (min-width: 768px) {
  :root {
    --section-gap: 96px;
    --side-pad: 32px;
  }
}

@media (min-width: 900px) {
  :root {
    --content-max: 1400px;
    --side-pad: 48px;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px var(--side-pad) 64px;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.site-header {
  display: flex;
  justify-content: center;
  margin-bottom: calc(var(--section-gap) * -0.5);
}

.logo {
  width: 64px;
  height: 64px;
  display: block;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(28px, 6vw, 40px);
}

h2 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
}

p {
  margin: 0 0 12px;
}

.intro, .booking {
  text-align: center;
}

.intro p, .booking p {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.video-section {
  display: flex;
  justify-content: center;
}

.video-wrap {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(30, 42, 56, 0.12);
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
}

.booking {
  display: flex;
  flex-direction: column;
}

.calendly-inline-widget {
  margin-top: 24px;
  width: 100%;
  background: var(--bg);
}

@media (min-width: 768px) {
  .calendly-inline-widget {
    height: 800px !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 21px;
  border-radius: 31px;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.18px solid var(--primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #B30000;
  border-color: #B30000;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.18px solid var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy);
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

@media (min-width: 900px) {
  main {
    padding: 16px var(--side-pad) 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 72px;
    row-gap: 24px;
    align-items: start;
  }

  .site-header,
  .site-footer {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
  }

  .site-header {
    padding-top: 4px;
    padding-bottom: 8px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .hero,
  .booking {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero .intro,
  .booking .booking-text {
    width: 100%;
    text-align: center;
  }

  .hero .intro p,
  .booking .booking-text p {
    margin-left: auto;
    margin-right: auto;
    max-width: 460px;
  }

  .hero h1,
  .booking h2 {
    font-size: clamp(24px, 2vw, 32px);
    margin-bottom: 8px;
  }

  .hero .intro,
  .booking .booking-text {
    margin-bottom: 20px;
  }

  .video-section {
    width: 100%;
    justify-content: center;
  }

  .video-wrap {
    max-width: 360px;
  }

  .booking .calendly-inline-widget {
    margin-top: 0;
    height: 640px !important;
  }

  .site-footer {
    padding-top: 8px;
  }
}

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
