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

:root {
  --white: #ffffff;
  --off-white: rgba(255, 255, 255, 0.85);
  --subtle: rgba(255, 255, 255, 0.55);
  --transition-speed: 1.4s;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  background: #1a0a2e;
}

/* ── Slideshow ─────────────────────────────────────────────── */

.slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease-in-out;
  will-change: opacity;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 78, 161, 0.73);
  mix-blend-mode: normal;
}

/* ── Site wrapper ──────────────────────────────────────────── */

.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Header / nav ──────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 5vw, 3.5rem);
  flex-shrink: 0;
}

.header-logo-only {
  justify-content: center;
}

.logo {
  height: clamp(24px, 3.5vw, 36px);
  width: auto;
  opacity: 0.95;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  text-underline-offset: 4px;
}

.site-nav a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.site-nav a.active {
  text-decoration: underline;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45em 1.4em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--white) !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  transition: background 0.25s, opacity 0.2s;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact-btn.active {
  background: var(--white);
  color: #c0306f !important;
  border-color: var(--white);
}

/* ── Home page ─────────────────────────────────────────────── */

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.8rem clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.hero {
  max-width: min(90vw, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 1.4rem;
}

.home-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  text-underline-offset: 4px;
}

.home-nav a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

/* ── Social icons ──────────────────────────────────────────── */

.social-links {
  position: fixed;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  z-index: 10;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 0.7;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero h1 {
  font-family: 'Unna', 'Georgia', serif;
  font-size: clamp(3rem, 9vw, 110px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero p {
  font-size: 18px;
  line-height: 1.72;
  color: var(--white);
  max-width: 50ch;
}

.about {
  color: var(--white) !important;
  font-size: 18px !important;
}

.etymology {
  color: var(--white) !important;
  font-size: 18px !important;
  font-style: italic;
}

/* ── Inner page layout ─────────────────────────────────────── */

.inner-body {
  overflow-y: auto;
}

.inner-banner {
  position: relative;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.inner-banner .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.inner-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 78, 161, 0.73);
  mix-blend-mode: normal;
}

.inner-banner .site-header {
  position: relative;
  z-index: 1;
}

.inner-sheet {
  background: #fff;
  color: #111;
  min-height: calc(100vh - 140px);
  overflow-x: clip;
}

/* ── Inner page content ────────────────────────────────────── */

.inner-main {
  display: flex;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}

.inner-content {
  width: 100%;
  max-width: 680px;
}

.inner-content h1 {
  font-family: 'Unna', 'Georgia', serif;
  font-size: clamp(2.5rem, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #111;
  margin-bottom: 2rem;
}

.inner-content h2 {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.inner-content p {
  font-size: 18px;
  line-height: 1.75;
  color: #222;
  margin-bottom: 1rem;
}

.inner-content p:last-child {
  margin-bottom: 0;
}

.inner-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.inner-content a:hover {
  opacity: 0.5;
}

.inner-content hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5rem 0;
}

.inner-content ul,
.inner-content ol {
  padding-left: 1.4em;
  color: #222;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.inner-content ul li,
.inner-content ol li {
  margin-bottom: 0.4rem;
}

.inner-content blockquote {
  border-left: 2px solid #ddd;
  padding-left: 1.4rem;
  margin: 1.8rem 0;
  color: #555;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
}

.inner-content blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.9em;
  color: #888;
}

.inner-content blockquote.pull-quote {
  border-left: none;
  padding-left: 0;
  width: 80vw;
  margin-left: calc(50% - 40vw);
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  padding: 3.5rem clamp(1.5rem, 6vw, 8rem);
  background: #f9f6f2;
  font-family: 'Unna', 'Georgia', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.5;
  color: #333;
  text-align: center;
}

.inner-content blockquote.pull-quote cite {
  margin-top: 1rem;
  font-size: 0.75em;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}

.inner-content .aside {
  color: #777 !important;
  font-style: italic;
  font-size: 16px !important;
}

.course-preview {
  width: 100%;
  border-radius: 6px;
  margin: 1.5rem 0;
  display: block;
}

.course-img-wide {
  display: block;
  width: 80vw;
  height: auto;
  margin-left: calc(50% - 40vw);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.themes li {
  margin-bottom: 0.75rem !important;
}

.next-cohort {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: inline-block;
  margin-bottom: 0.5rem !important;
  color: #333 !important;
}

/* ── CTA button ────────────────────────────────────────────── */

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.65em 2em;
  border-radius: 999px;
  border: 1px solid #333;
  color: #111 !important;
  text-decoration: none !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
}

.cta-btn:hover {
  background: #111;
  border-color: #111;
  color: #fff !important;
  opacity: 1 !important;
}

/* ── Contact form ──────────────────────────────────────────── */

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75em 1em;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #111;
  font-family: inherit;
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.65em 2.2em;
  border-radius: 999px;
  border: 1px solid #333;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.contact-form button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.form-message {
  font-size: 18px;
  margin-top: 0.5rem;
}

.form-message.success { color: #2a7a4b; }
.form-message.error   { color: #c0392b; }

/* ── Inner footer ──────────────────────────────────────────── */

.inner-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem 3.5rem;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

.inner-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.inner-contact-btn:hover {
  opacity: 0.5;
}

.inner-contact-btn.active {
  opacity: 0.4;
}

.inner-social {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.inner-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: color 0.2s;
}

.inner-social a:hover {
  color: #111;
}

.inner-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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