:root {
  --ink: #14171a;
  --muted: #596166;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: rgba(20, 23, 26, 0.14);
  --teal: #0e5c61;
  --teal-dark: #093e42;
  --amber: #d89435;
  --rose: #b95d4f;
  --shadow: 0 24px 70px rgba(12, 22, 24, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

.hero-media {
  background-image: url("assets/hero-workspace.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 27, 0.82) 0%, rgba(7, 24, 27, 0.56) 42%, rgba(7, 24, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 24, 27, 0.72) 0%, rgba(7, 24, 27, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  padding: 132px 0 clamp(56px, 11vh, 108px) clamp(18px, 5vw, 64px);
}

.eyebrow,
.section-kicker,
.meta {
  margin: 0;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 8.5ch;
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.text-link:hover,
.post-card a:hover {
  transform: translateY(-1px);
}

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

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

.button.secondary {
  color: inherit;
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.1);
}

.button.compact {
  min-height: 42px;
  padding: 0 18px;
}

.intro-section,
.content-band,
.split-section,
.video-section,
.booking-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 64px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.content-band,
.booking-section {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading .section-kicker,
.section-heading p {
  grid-column: 1 / -1;
}

.section-heading p {
  max-width: 720px;
  margin-bottom: 0;
}

.text-link,
.post-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--teal);
  font-weight: 800;
}

.card-grid,
.offer-grid,
.video-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card,
.offer-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card h3,
.offer-card h3 {
  margin-top: 18px;
}

.post-card a {
  margin-top: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  max-width: 1308px;
  margin: 0 auto;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.timeline-item span,
.offer-card span {
  color: var(--rose);
  font-weight: 800;
}

.timeline-item p {
  grid-column: 2;
  margin-bottom: 0;
}

.tutoring-band {
  background: #eef3f1;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card {
  background: rgba(255, 255, 255, 0.78);
}

.video-section {
  background: #171a1b;
  color: #fff;
}

.video-section p {
  color: rgba(255, 255, 255, 0.68);
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-card {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14, 92, 97, 0.52), rgba(184, 93, 79, 0.2)),
    #202426;
}

.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-left: 16px solid var(--teal);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: #fbfaf7;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(14, 92, 97, 0.2);
  border-color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

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

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 10px 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .brand span:last-child {
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: 100%;
    padding-right: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 27, 0.9), rgba(7, 24, 27, 0.42)),
      linear-gradient(0deg, rgba(7, 24, 27, 0.74), rgba(7, 24, 27, 0.05));
  }

  .intro-grid,
  .section-heading,
  .split-section,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .three,
  .offer-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item p {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.4rem, 18vw, 5.6rem);
  }

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

  .post-card,
  .offer-card,
  .video-card,
  .booking-form {
    padding: 20px;
  }
}
