:root {
  --ink: #342a25;
  --charcoal: #5a4b43;
  --paper: #fbf3ea;
  --cream: #f4e4d3;
  --shell: #fffaf5;
  --sand: #e7cdb5;
  --sunset: #cf8f6a;
  --rosewood: #8f5f52;
  --cocoa: #5d4338;
  --line: rgba(92, 67, 56, 0.16);
  --shadow: rgba(73, 49, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
}

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

button,
input {
  font: inherit;
}

.announcement {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: var(--sand);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 243, 234, 0.92);
  padding: 16px 32px;
  backdrop-filter: blur(12px);
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--rosewood);
  border-radius: 999px;
  background: var(--rosewood);
  color: white;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(143, 95, 82, 0.18);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pill-button:hover {
  background: var(--cocoa);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(47, 51, 44, 0.18);
}

.pill-button.secondary {
  background: transparent;
  color: var(--rosewood);
  box-shadow: none;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 24px;
  font-weight: 700;
  text-transform: none;
}

.mobile-nav.is-open {
  display: grid;
  gap: 16px;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 122px);
  place-items: end start;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 72px 32px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(52, 42, 37, 0.7), rgba(92, 67, 56, 0.24) 58%, rgba(207, 143, 106, 0.08)),
    linear-gradient(0deg, rgba(244, 228, 211, 0.2), rgba(244, 228, 211, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  color: white;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

h1,
h2,
.quick-card span,
.class-card h3,
.expect-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  text-transform: none;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 142px);
  letter-spacing: -0.015em;
  line-height: 0.86;
}

.hero-copy {
  width: min(100%, 640px);
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-actions .pill-button {
  background: white;
  color: var(--ink);
  border-color: white;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-actions .pill-button.secondary {
  background: transparent;
  color: white;
  border-color: white;
  box-shadow: none;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  gap: 1px;
}

.quick-card {
  min-height: 150px;
  background: var(--shell);
  padding: 28px;
}

.quick-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--sunset);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.quick-card span {
  display: block;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1;
}

.section {
  padding: 88px 32px;
}

.section-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 10px;
  color: var(--sunset);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(46px, 7vw, 86px);
  letter-spacing: -0.01em;
  line-height: 0.96;
}

.classes {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.class-card {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--shell);
  box-shadow: 0 24px 70px var(--shadow);
}

.class-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.class-card-body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

.class-card h3 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.class-card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.class-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
}

.class-card li::before {
  content: "• ";
  color: var(--sunset);
}

.class-card .pill-button {
  justify-self: start;
  margin-top: 8px;
}

.mission {
  background: var(--shell);
  border-bottom: 1px solid var(--line);
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.mission img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px var(--shadow);
}

.mission p {
  color: var(--charcoal);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.65;
}

.expect {
  background: var(--cocoa);
  color: #fffdf8;
}

.expect .section-label {
  color: #f1d3bd;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  overflow: hidden;
}

.expect-card {
  min-height: 220px;
  background: rgba(47, 51, 44, 0.2);
  padding: 28px;
}

.expect-card span {
  display: block;
  margin-bottom: 34px;
  color: #f1d3bd;
  font-size: 32px;
  font-weight: 600;
}

.expect-card h3 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1;
}

.expect-card p {
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

.signup-band {
  border-top: 1px solid var(--line);
  background: var(--sand);
  padding: 56px 32px;
}

.signup-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(100%, 1160px);
  margin: 0 auto;
}

.signup-inner h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
}

.signup-form {
  display: flex;
  min-width: min(100%, 480px);
  gap: 12px;
}

.signup-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--shell);
  padding: 15px 18px;
  font-weight: 500;
  outline: none;
}

.signup-form button {
  cursor: pointer;
}

.message {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--shell);
  padding: 16px 22px;
  font-weight: 600;
}

.message.is-visible {
  display: block;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: white;
  padding: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  text-align: right;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-logos img {
  display: block;
  width: auto;
  max-width: 82px;
  max-height: 42px;
  border-radius: 4px;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .hero {
    min-height: 74vh;
    padding: 56px 24px;
  }

  .quick-links,
  .class-grid,
  .mission-grid,
  .expect-grid,
  .signup-inner {
    grid-template-columns: 1fr;
  }

  .signup-form {
    min-width: 0;
    flex-direction: column;
  }

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

  .footer-right {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .footer-logos {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .announcement {
    font-size: 11px;
  }

  .logo img {
    height: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pill-button {
    width: 100%;
  }

  .section {
    padding: 64px 22px;
  }

  .class-card {
    min-height: 0;
  }
}
