:root {
  --parchment: #efe6da;
  --parchment-warm: #e7d8c3;
  --parchment-deep: #d8c4a5;
  --ink: #2b2924;
  --ink-soft: #5c5148;
  --ink-muted: rgba(43, 41, 36, 0.68);
  --vermillion: #8f2e26;
  --vermillion-dark: #6f211b;
  --bone: #f8f1e8;
  --shadow-soft: 0 24px 80px rgba(43, 41, 36, 0.18);
  --max-width: 1120px;
  --radius-none: 0px;
  --section-pad-mobile: 72px;
  --section-pad-desktop: 120px;
  --side-pad-mobile: 24px;
  --side-pad-tablet: 48px;
  --side-pad-desktop: 64px;
}

/* Base reset */

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

html {
  scroll-behavior: smooth;
  background: var(--parchment);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 248, 235, 0.58), transparent 34rem),
    linear-gradient(180deg, var(--parchment) 0%, #eadcc8 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--vermillion);
  color: var(--bone);
}

/* Accessibility */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--bone);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  padding: 14px var(--side-pad-mobile);
  pointer-events: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 82px;
  text-decoration: none;
  pointer-events: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.brand-mark img {
  width: 100%;
  border-radius: 999px;
}

/* Sections */

.section {
  position: relative;
  padding: var(--section-pad-mobile) var(--side-pad-mobile);
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.content-column {
  max-width: 680px;
}

.image-column {
  width: 100%;
}

.image-column img,
.carousel-slide img {
  width: 100%;
  min-height: 360px;
  max-height: 580px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* Typography */

.eyebrow {
  margin: 0 0 14px;
  color: var(--vermillion);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.55rem, 11.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 10vw, 3.6rem);
  line-height: 1;
}

p {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.hero-subheadline,
.section-heading > p,
.content-column > p,
.footer-section .narrow > p {
  max-width: 680px;
  font-size: 1.03rem;
  line-height: 1.68;
}

/* Buttons */

.button,
.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-none);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button-primary,
.sticky-cta {
  background: var(--vermillion);
  color: var(--bone);
}

.button-primary:hover,
.sticky-cta:hover {
  background: var(--vermillion-dark);
}

.button-secondary {
  margin-top: 28px;
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--bone);
}

/* Hero */

.hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 92px;
  color: var(--bone);
  background: #080706;
  isolation: isolate;
}

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

.hero-media {
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 500ms ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-video.is-ready {
  opacity: 0.82;
}

.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 11, 9, 0.3) 0%, rgba(13, 11, 9, 0.52) 42%, rgba(13, 11, 9, 0.88) 100%),
    radial-gradient(circle at 20% 20%, rgba(143, 46, 38, 0.24), transparent 34rem);
}

.hero-inner {
  z-index: 2;
}

.hero-section h1,
.hero-section p {
  color: var(--bone);
}

.hero-section .eyebrow {
  color: #f0b4a7;
}

.hero-subheadline {
  margin-top: 22px;
  color: rgba(248, 241, 232, 0.84);
}

.hero-cta {
  margin-top: 34px;
}

/* Education */

.education-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(143, 46, 38, 0.08), transparent 24rem),
    var(--parchment);
}

.section-logo {
  width: 116px;
  margin: 0 auto 28px 0;
  border-radius: 999px;
}

/* Experience */

.experience-section {
  background: var(--parchment);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel-track {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--parchment-warm);
  box-shadow: var(--shadow-soft);
}

.carousel-slide {
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  min-height: 420px;
  max-height: 620px;
  box-shadow: none;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dot {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}

.carousel-dot::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 15px;
  width: 14px;
  height: 6px;
  background: rgba(43, 41, 36, 0.28);
  transition: background-color 180ms ease, width 180ms ease;
}

.carousel-dot.is-active::after {
  width: 24px;
  background: var(--vermillion);
}

/* Ledger */

.ledger-section {
  background:
    linear-gradient(180deg, rgba(43, 41, 36, 0.02), rgba(43, 41, 36, 0.06)),
    var(--parchment-warm);
}

.ledger-section .image-column img {
  filter: saturate(0.65) contrast(1.05);
}

/* FAQ */

.faq-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 46, 38, 0.07), transparent 28rem),
    var(--parchment);
}

.accordion {
  margin-top: 34px;
  border-top: 1px solid rgba(43, 41, 36, 0.2);
}

.accordion-item {
  border-bottom: 1px solid rgba(43, 41, 36, 0.2);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
}

.accordion-icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--vermillion);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 0 0 24px;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  margin-top: 0;
}

/* Footer / form */

.footer-section {
  padding-bottom: 110px;
  background: var(--ink);
  color: var(--bone);
  text-align: left;
}

.footer-section h2,
.footer-section p,
.footer-section a {
  color: var(--bone);
}

.footer-section p {
  color: rgba(248, 241, 232, 0.74);
}

.footer-section .eyebrow {
  color: #f0b4a7;
}

.footer-logo {
  width: 128px;
  margin-bottom: 28px;
  border-radius: 999px;
}
.zoho-form-shell {
  margin-top: 34px;
  overflow: hidden;
  background: transparent;
}

.zoho-form-shell iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

.external-consent {
  margin-top: 14px;
}

.waitlist-form {
  margin-top: 34px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.optional-email {
  display: block;
  margin-top: 20px;
}

.optional-email em {
  color: rgba(248, 241, 232, 0.52);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.waitlist-form label {
  display: block;
}

.waitlist-form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 241, 232, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form input {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(248, 241, 232, 0.45);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--bone);
  font-size: 1rem;
}

.waitlist-form input:focus {
  border-bottom-color: var(--bone);
}

.waitlist-form .button {
  width: 100%;
  margin-top: 26px;
}

.consent-copy {
  margin-top: 14px;
  color: rgba(248, 241, 232, 0.58);
  font-size: 0.68rem;
  line-height: 1.5;
}

.text-button {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success,
.form-error {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(248, 241, 232, 0.28);
}

.form-success p,
.form-error p {
  margin: 0;
  color: var(--bone);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.18;
}

.form-error p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.trust-markers {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 241, 232, 0.18);
}

.trust-markers p {
  font-size: 0.82rem;
}

.trust-markers a {
  color: var(--bone);
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.social-links a {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Sticky mobile CTA */

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 35;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Privacy modal */

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0.72);
}

.modal-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 28px 24px;
  background: var(--parchment);
  color: var(--ink);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.36);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.modal-card h2 {
  padding-right: 42px;
  font-size: 2rem;
}

.modal-content {
  margin-top: 22px;
}

.modal-content p {
  font-size: 0.95rem;
}

/* Motion preparation */

.section-inner,
.image-column,
.carousel,
.accordion,
.waitlist-form,
.trust-markers {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */

@media (min-width: 768px) {
  .site-header {
    padding: 20px var(--side-pad-tablet);
  }

  .brand-mark {
    width: 96px;
  }

  .section {
    padding-right: var(--side-pad-tablet);
    padding-left: var(--side-pad-tablet);
  }

  .hero-section {
    padding-top: 150px;
    padding-bottom: 110px;
  }

  .hero-subheadline,
  .section-heading > p,
  .content-column > p,
  .footer-section .narrow > p {
    font-size: 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .waitlist-form .button {
    width: auto;
  }

  .modal-card {
    right: 50%;
    bottom: 50%;
    left: auto;
    width: min(620px, calc(100vw - 48px));
    transform: translate(50%, 50%);
    padding: 42px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-media,
  .hero-video,
  .hero-overlay {
    min-height: 100%;
  }
}

/* Small mobile refinement */

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.35rem, 10.6vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.06em;
  }

  .hero-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-subheadline {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Desktop */

@media (min-width: 1100px) {
  .site-header {
    padding: 24px var(--side-pad-desktop);
  }

  .brand-mark {
    width: 104px;
  }

  .section {
    padding: var(--section-pad-desktop) var(--side-pad-desktop);
  }

  .hero-section {
    min-height: 100vh;
    padding-top: 170px;
    padding-bottom: 120px;
  }

  .hero-inner {
    max-width: 1120px;
  }

  h1 {
    font-size: 5.45rem;
  }

  h2 {
    font-size: 4rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 72px;
  }

  .reverse-on-desktop {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .reverse-on-desktop .content-column {
    order: 2;
  }

  .reverse-on-desktop .image-column {
    order: 1;
  }

  .experience-section .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    gap: 72px;
    align-items: center;
  }

  .section-heading {
    margin-bottom: 0;
  }

  .carousel-track {
    min-height: 620px;
  }

  .carousel-slide img {
    min-height: 620px;
  }

  .sticky-cta {
    display: none;
  }

  .footer-section {
    padding-bottom: var(--section-pad-desktop);
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}