:root {
  --ink: #183033;
  --ink-soft: #4d6061;
  --teal: #0f5d63;
  --teal-dark: #0a3f45;
  --bronze: #b18243;
  --bronze-dark: #806034;
  --parchment: #f7f0df;
  --sand: #ead8b5;
  --cream: #fffaf0;
  --white: #ffffff;
  --line: rgba(24, 48, 51, 0.14);
  --shadow: 0 22px 70px rgba(24, 48, 51, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 12px 34px rgba(24, 48, 51, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 78px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--teal-dark);
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--bronze-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 250, 240, 0.22);
  backdrop-filter: blur(10px);
}

.site-nav a {
  padding: 10px 16px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 130px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 63, 69, 0.92), rgba(10, 63, 69, 0.66) 48%, rgba(24, 48, 51, 0.26)),
    linear-gradient(0deg, rgba(24, 48, 51, 0.5), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.9rem);
}

h2 {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: clamp(2rem, 4.8vw, 4.35rem);
}

h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
}

.button.primary {
  color: var(--teal-dark);
  background: var(--sand);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

.hero-stats {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  padding: 20px;
  background: rgba(255, 250, 240, 0.12);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 700;
}

.intro,
.framework,
.courses {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.feature-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.course-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(24, 48, 51, 0.06);
}

.feature-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--bronze);
  font-weight: 900;
}

.feature-card p,
.course-card p,
.about p,
.contact p {
  color: var(--ink-soft);
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.founder {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.founder img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.founder p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.about-visual {
  position: relative;
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 230px;
  padding: 20px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.experience-badge strong,
.experience-badge span {
  display: block;
}

.experience-badge strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.experience-badge span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.framework {
  padding-top: 40px;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.framework-grid article {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.framework-grid h3,
.framework-grid p {
  padding-inline: 18px;
}

.framework-grid h3 {
  margin-top: 18px;
}

.framework-grid p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.course-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tab {
  min-width: 74px;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  color: var(--white);
  background: var(--teal);
}

.course-card {
  display: flex;
  min-height: 438px;
  flex-direction: column;
}

.course-media {
  width: calc(100% + 56px);
  height: 178px;
  margin: -28px -28px 22px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.course-card.is-hidden {
  display: none;
}

.course-card.highlighted {
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
}

.course-card.highlighted h3,
.course-card.highlighted p,
.course-card.highlighted small,
.course-card.highlighted .price {
  color: var(--white);
}

.course-card.highlighted .course-type {
  color: var(--sand);
}

.course-type {
  margin-bottom: 22px;
  color: var(--bronze-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin-top: auto;
  padding-top: 16px;
  color: var(--teal-dark);
  font-size: 1.6rem;
  font-weight: 900;
}

.course-card small {
  color: var(--ink-soft);
  font-weight: 700;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  padding: clamp(28px, 5vw, 60px);
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 63, 69, 0.96), rgba(15, 93, 99, 0.9)),
    url("../images/image15.jpeg") center / cover;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-details a,
.contact-details address {
  display: block;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

.contact-details span {
  display: block;
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 86px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .feature-grid,
  .course-grid,
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .about-visual > img {
    aspect-ratio: 16 / 10;
  }

  .experience-badge {
    right: 20px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 64px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    min-height: 860px;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 63, 69, 0.94), rgba(10, 63, 69, 0.72) 60%, rgba(24, 48, 51, 0.56)),
      linear-gradient(0deg, rgba(24, 48, 51, 0.36), transparent);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading.row {
    display: block;
  }

  .course-tabs {
    margin-top: 8px;
  }

  .feature-grid,
  .course-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  h1 {
    font-size: 2.68rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-card,
  .course-card,
  .contact-panel {
    padding: 22px;
  }

  .course-media {
    width: calc(100% + 44px);
    height: 176px;
    margin: -22px -22px 20px;
  }

  .experience-badge {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

}
