:root {
  --cream: #f7f1ea;
  --cream-deep: #ead8c8;
  --terracotta: #934437;
  --terracotta-deep: #7a372c;
  --brown: #4a271e;
  --brown-soft: #5c3428;
  --burgundy: #4a1c1c;
  --ink: #2b1a14;
  --white: #ffffff;
  --muted: #8a7a72;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Montserrat, system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--brown);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--burgundy);
}

.btn--light {
  background: var(--white);
  color: var(--brown);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--brown);
}

.btn--cream:hover {
  background: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid currentColor;
}

.btn--small {
  padding: 0.55rem 0.9rem;
  font-size: 0.72rem;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 39, 30, 0.08);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.site-nav a:hover {
  color: var(--terracotta);
}

.nav-cta {
  color: var(--terracotta) !important;
  font-weight: 600 !important;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brown);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Path / Learning */
.path {
  padding: 3.5rem 1.5rem 4.5rem;
  background: var(--cream);
}

.path__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.path__title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--brown);
  margin-bottom: 2rem;
  max-width: 14ch;
}

.path__grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.6fr) minmax(220px, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
}

.path__card {
  background: var(--cream-deep);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}

.path__card h2 {
  font-size: 1.55rem;
  color: var(--brown);
}

.path__card p {
  font-size: 0.92rem;
  color: var(--brown-soft);
}

.path__card .btn {
  align-self: start;
  margin-top: auto;
}

.path__photo {
  margin: 0;
  overflow: hidden;
  min-height: 320px;
}

.path__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.path__essay {
  background: var(--brown);
  color: var(--white);
  padding: 1.75rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Services */
.services {
  background: var(--brown);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.services__inner {
  max-width: 920px;
  margin: 0 auto;
}

.services h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.services__lede {
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.service__thumb {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.service h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service p {
  font-size: 0.82rem;
  max-width: 16rem;
  opacity: 0.85;
}

/* Welcome */
.welcome {
  min-height: min(78vh, 720px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("../images/dunes.jpg") center / cover no-repeat;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
}

.welcome__overlay {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: 2.75rem 2.5rem 2.25rem;
  width: min(100%, 420px);
  box-shadow: 0 18px 50px rgba(43, 26, 20, 0.18);
}

.welcome__overlay h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.welcome__tagline {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.welcome__sub {
  font-size: 0.85rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.story__left {
  background: var(--cream);
  padding: 4.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.story__left h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--terracotta);
}

.story__rule {
  width: 3.5rem;
  height: 1px;
  background: var(--terracotta);
}

.story__left .text-link {
  color: var(--terracotta);
  align-self: start;
}

.story__right {
  background: var(--terracotta);
  color: var(--white);
  padding: 4.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.story__right h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.story__right p {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 38rem;
}

/* Journey */
.journey {
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 1.5rem 4.5rem;
}

.journey h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2.5rem;
}

.journey__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.journey-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--terracotta-deep);
  min-height: 180px;
  overflow: hidden;
}

.journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.journey-card__body {
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.journey-card h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Vision */
.vision {
  background: var(--white);
  padding: 4.5rem 1.5rem 5rem;
}

.vision h2 {
  max-width: var(--max);
  margin: 0 auto 2rem;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--burgundy);
}

.vision__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
}

.vision__photo {
  margin: 0;
  overflow: hidden;
}

.vision__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vision-item {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(74, 28, 28, 0.15);
}

.vision-item:nth-child(1),
.vision-item:nth-child(2) {
  border-top: 1px solid rgba(74, 28, 28, 0.15);
}

.vision-item:nth-child(odd) {
  padding-left: 0;
}

.vision-item:nth-child(even) {
  padding-right: 0;
  border-left: 1px solid transparent;
}

.vision-item__label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.vision-item__value {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--burgundy);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--terracotta);
  color: var(--white);
  padding: 3.5rem 1.5rem 1.5rem;
  position: relative;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 22rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  font: inherit;
  padding: 0.55rem 0;
  outline: none;
  width: 100%;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 0.2rem;
}

.form-status {
  font-size: 0.85rem;
}

.site-footer__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.45);
  justify-self: center;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1.5rem;
}

.contact-block {
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-block a:hover {
  text-decoration: underline;
}

.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.legal-links a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.socials img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-btn {
  background: var(--brown);
  color: var(--white);
  border: none;
  padding: 0.55rem 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.copyright {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* Search dialog */
.search-dialog {
  border: none;
  padding: 0;
  width: min(92vw, 420px);
  background: var(--cream);
  color: var(--brown);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.search-dialog::backdrop {
  background: rgba(43, 26, 20, 0.45);
}

.search-dialog__form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.search-dialog__form label {
  font-family: var(--serif);
  font-size: 1.4rem;
}

.search-dialog__form input {
  border: none;
  border-bottom: 1px solid var(--brown);
  background: transparent;
  padding: 0.6rem 0;
  font: inherit;
  outline: none;
}

.search-dialog__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .journey__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .path__grid {
    grid-template-columns: 1fr;
  }

  .path__photo {
    min-height: 260px;
    max-height: 360px;
  }

  .path__essay {
    order: 3;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .vision__layout {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__divider {
    width: 100%;
    height: 1px;
  }

  .site-footer__meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(74, 39, 30, 0.1);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(74, 39, 30, 0.08);
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .journey__grid {
    grid-template-columns: 1fr;
  }

  .journey-card {
    grid-template-columns: 120px 1fr;
  }

  .story__left,
  .story__right {
    padding: 3rem 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .about-hero__grid,
  .founder__layout,
  .values__layout {
    grid-template-columns: 1fr;
  }

  .founder__portrait {
    order: -1;
    max-width: 280px;
  }

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .course__meta {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Shared page utilities                                                      */
/* -------------------------------------------------------------------------- */

.site-nav a.is-active {
  color: var(--terracotta);
  font-weight: 600;
}

.theme-terracotta {
  background: var(--terracotta);
  color: var(--white);
}

.theme-terracotta .site-header,
.site-header--on-dark {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(74, 39, 30, 0.08);
}

.theme-terracotta .site-header .logo,
.theme-terracotta .site-header .site-nav a,
.site-header--on-dark .logo,
.site-header--on-dark .site-nav a {
  color: var(--brown);
}

.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brown-soft);
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose h3 {
  margin-top: 1.15rem;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--terracotta);
  margin-bottom: 0.55rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

.prose li + li {
  margin-top: 0.35rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.login-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.9;
}

.login-chip__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

/* -------------------------------------------------------------------------- */
/* About                                                                      */
/* -------------------------------------------------------------------------- */

.page-about {
  background: var(--white);
}

.about-hero {
  padding: 3.5rem 1.5rem 2rem;
}

.about-hero__inner,
.founder__inner,
.values__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.about-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: var(--terracotta);
  max-width: 22ch;
  margin-bottom: 2rem;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-hero__media {
  margin: 0;
  overflow: hidden;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.founder {
  padding: 2rem 1.5rem 4rem;
}

.founder h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.founder__role {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.founder__layout {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.founder__portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.founder__portrait img {
  width: 100%;
  object-fit: cover;
}

.values {
  background: #f8e8e1;
  padding: 4rem 1.5rem 5rem;
}

.values h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--terracotta);
  margin-bottom: 2rem;
}

.values__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.values__photo {
  margin: 0;
  overflow: hidden;
}

.values__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.value-item {
  padding: 1.4rem 1rem;
  border-bottom: 1px solid rgba(147, 68, 55, 0.2);
}

.value-item:nth-child(-n + 2) {
  border-top: 1px solid rgba(147, 68, 55, 0.2);
}

.value-item h3 {
  font-size: 1.55rem;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--brown-soft);
}

/* -------------------------------------------------------------------------- */
/* Programs                                                                   */
/* -------------------------------------------------------------------------- */

.page-programs {
  min-height: 60vh;
}

.programs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}

.programs__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.programs h1 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.5rem;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.program-card__media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.program-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
}

.program-card h2 a:hover {
  text-decoration: underline;
}

.program-card__price {
  font-size: 0.85rem;
  opacity: 0.9;
}

.program-card .btn {
  margin-top: auto;
}

@media (max-width: 900px) {
  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Course detail                                                              */
/* -------------------------------------------------------------------------- */

.page-course {
  padding: 0 1.5rem 3rem;
}

.course {
  display: flex;
  justify-content: center;
}

.course__panel {
  width: min(100%, 520px);
  background: rgba(122, 55, 44, 0.35);
  padding: 1.5rem 1.35rem 2rem;
}

.course__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}

.course h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.course__steps {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.course__cover {
  margin: 0 0 1.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.course__cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course__section {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.course__section h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.course__section p {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.95;
}

.course__app-note {
  margin-top: 0.85rem !important;
  font-size: 0.78rem !important;
  opacity: 0.8 !important;
}

.course__app-note a {
  text-decoration: underline;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.instructor__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  background: #3b82f6;
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.course__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.share-links {
  display: flex;
  gap: 0.65rem;
}

.share-links a {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.25rem;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.course__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1.25rem;
}

.course__back {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
