:root {
  --ink: #101114;
  --muted: #60646d;
  --line: #dfe2e8;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --blue: #1b43b4;
  --blue-dark: #123286;
  --page: 68rem;
  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

section[id] {
  scroll-margin-top: 4.5rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--blue);
  transform: translateY(-180%);
}

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

.page-shell {
  width: min(100%, var(--page));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner,
.mobile-menu-header {
  display: flex;
  min-height: 4.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner {
  width: min(100%, var(--page));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: -0.04em;
}

.brand-name {
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.menu-toggle,
.menu-close {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-close span {
  position: absolute;
  width: 1.8rem;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span:first-child {
  transform: translateY(-0.3rem);
}

.menu-toggle span:last-child {
  transform: translateY(0.3rem);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  padding-inline: var(--gutter);
  background: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-header {
  border-bottom: 1px solid var(--line);
}

.mobile-nav {
  display: grid;
  min-height: calc(100svh - 5.2rem);
  align-content: center;
  justify-items: center;
  gap: clamp(0.75rem, 3vh, 1.4rem);
  padding: 2rem 0 4rem;
}

.mobile-nav a {
  font-size: clamp(2.4rem, 12vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding-top: clamp(2rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow,
.contact-label,
.product-type,
.social-block > p {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin-top: 0.65rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.3rem, 10.4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-location {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.hero-cta {
  margin-top: 1.35rem;
}

.hero-figure,
.watch-feature {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-figure::before,
.watch-feature::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 0.28rem;
  background: var(--blue);
  content: "";
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.section {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.section-muted {
  background: var(--wash);
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: clamp(1.65rem, 4vw, 2.6rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading p {
  max-width: 34rem;
  color: var(--muted);
}

.watch-layout {
  display: grid;
  grid-template-areas:
    "heading"
    "photo"
    "social";
  gap: 1.5rem;
}

.watch-heading {
  grid-area: heading;
  margin-bottom: 0;
}

.watch-feature {
  grid-area: photo;
}

.watch-feature img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.social-block {
  display: grid;
  grid-area: social;
  gap: 0.8rem;
  justify-items: center;
  padding-top: 0.15rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social-link {
  display: grid;
  width: 3.1rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  place-items: center;
  background: var(--paper);
}

.social-link:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.social-link svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link .icon-fill {
  fill: currentColor;
  stroke: none;
}

.lessons-grid,
.about-grid {
  display: grid;
  gap: clamp(1.6rem, 6vw, 4.5rem);
}

.section-heading-stacked {
  align-content: start;
  margin-bottom: 0;
}

.lesson-details {
  display: grid;
  gap: 1.65rem;
}

.lesson-intro {
  max-width: 44rem;
  font-size: clamp(1.05rem, 2.7vw, 1.25rem);
  line-height: 1.7;
}

.lesson-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cfd3dc;
  list-style: none;
}

.lesson-list li {
  padding: 0.82rem 0;
  border-bottom: 1px solid #cfd3dc;
  font-weight: 700;
}

.lesson-action {
  display: grid;
  gap: 1rem;
}

.lesson-format {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.95rem;
  border-left: 4px solid var(--blue);
}

.lesson-format strong {
  font-size: 1.1rem;
  line-height: 1.3;
}

.lesson-format span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.2rem;
  gap: 1.1rem;
  min-height: 10.75rem;
  align-items: stretch;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--blue);
}

.product-copy {
  display: grid;
  min-width: 0;
}

.product-title {
  align-self: center;
  font-size: clamp(1.45rem, 5.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.product-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.product-meta strong {
  color: var(--blue);
  font-size: 1.08rem;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  align-self: center;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 1.2rem;
  max-width: 48rem;
  font-size: clamp(1.06rem, 3vw, 1.3rem);
  line-height: 1.68;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: clamp(1.35rem, 4vw, 2rem) 0;
  border-top: 3px solid var(--ink);
}

.contact-card h3 {
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-card > p:not(.contact-label) {
  max-width: 32rem;
  color: var(--muted);
}

.text-link {
  width: fit-content;
  max-width: 100%;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28rem;
}

.email-link {
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 1.25rem;
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand-footer .brand-mark {
  color: var(--ink);
  background: #fff;
}

.site-footer p {
  color: #c8cad0;
  font-size: 0.82rem;
}

@media (max-width: 30rem) {
  .lesson-action .button {
    width: 100%;
  }

  .product-card {
    grid-template-columns: minmax(0, 1fr) 5.25rem;
    gap: 0.85rem;
    min-height: 9.7rem;
    padding: 1rem;
  }
}

@media (min-width: 42rem) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 4.6rem);
  }

  .hero-figure {
    max-width: 27rem;
    justify-self: end;
  }

  .lesson-action {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .product-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 52rem) {
  .menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
    gap: clamp(1.1rem, 2.5vw, 2rem);
    align-items: center;
  }

  .desktop-nav a {
    position: relative;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--blue);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
  }

  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .watch-layout {
    grid-template-areas:
      "heading photo"
      "social photo";
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
    gap: 1.75rem clamp(2.5rem, 6vw, 5rem);
    align-items: end;
  }

  .watch-feature {
    align-self: stretch;
  }

  .watch-feature img {
    height: 100%;
    min-height: 22rem;
  }

  .social-block {
    justify-items: start;
    align-self: start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .lessons-grid,
  .about-grid {
    grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  }

  .lesson-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .lesson-list li:nth-child(2) {
    border-top: 1px solid #cfd3dc;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
