:root {
  --violet: #A855C7;
  --violet-dark: #8C3EA9;
  --mauve: #8B5A6B;
  --cream: #F5F0E8;
  --cream-deep: #EDE8E0;
  --charcoal: #2B2320;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Scroll-reveal system. Hidden-until-revealed state only applies once the
   early inline script confirms JS is running (html.js) -- so a page where
   JS fails to load or run never gets stuck with invisible content. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--delay, 0) * 100ms);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
html.js .img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.65,0,.35,1);
  transition-delay: calc(var(--delay, 0) * 100ms);
}
html.js .img-reveal.is-visible { clip-path: inset(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, letter-spacing 0.3s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); letter-spacing: 0.012em; }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(168, 85, 199, 0.28);
}
.btn-primary:hover { background: var(--violet-dark); box-shadow: 0 12px 28px rgba(168, 85, 199, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: var(--white); color: var(--mauve); }

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 35, 32, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.logo img { height: 40px; }
nav.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}
nav.nav-links a {
  position: relative;
  text-decoration: none;
  opacity: 0.85;
  padding-bottom: 2px;
}
nav.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1.5px;
  background: var(--violet);
  transition: right 0.3s cubic-bezier(.22,.61,.36,1);
}
nav.nav-links a:hover { opacity: 1; }
nav.nav-links a:hover::after { right: 0; }
@media (max-width: 720px) {
  nav.nav-links { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-content { text-align: left; }
.hero .eyebrow {
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin-bottom: 1.4rem;
  color: var(--charcoal);
}
.hero .lede {
  font-size: 1.18rem;
  max-width: 520px;
  margin-bottom: 2.2rem;
  color: #4a3f3a;
}
.hero .btn-row { margin-bottom: 1.75rem; }
.hero .credit-line {
  font-size: 0.9rem;
  color: #6b5d56;
}
.hero-visual {
  position: relative;
  min-height: 380px;
}
.hero-blob {
  position: absolute;
  inset: 6%;
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  background: radial-gradient(circle at 32% 28%, rgba(168,85,199,0.4), rgba(139,90,107,0.22) 55%, transparent 78%);
  animation: blobDrift 15s ease-in-out infinite;
}
.hero-photo-frame {
  position: absolute;
  inset: 12% 16%;
  border-radius: 44% 56% 50% 50% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(43, 35, 32, 0.22);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-accent-ring {
  position: absolute;
  top: 4%;
  right: 6%;
  width: 74px;
  height: 74px;
  color: rgba(168,85,199,0.55);
  animation: floatSlow 8s ease-in-out infinite;
}
.hero-accent-star {
  position: absolute;
  bottom: 6%;
  left: 2%;
  width: 32px;
  height: 32px;
  color: rgba(139,90,107,0.6);
  animation: floatSlow 10s ease-in-out infinite reverse;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%; }
  33% { transform: translate(10px,-14px) scale(1.03); border-radius: 55% 45% 50% 50% / 50% 55% 45% 52%; }
  66% { transform: translate(-8px,10px) scale(0.98); border-radius: 45% 55% 48% 52% / 52% 45% 55% 48%; }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-visual { min-height: 260px; order: -1; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 200px; }
}

/* Texture overlay */
.textured { position: relative; }
.textured::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.textured > .container,
.textured > .hero-inner { position: relative; z-index: 1; }

/* Bands */
.band {
  padding: 4.5rem 0;
}
.band-mauve {
  background: var(--mauve);
  color: var(--white);
}
.band-mauve h2, .band-mauve h3 { color: var(--white); }
.band-cream { background: var(--cream); }
.band-cream-deep { background: var(--cream-deep); }

/* Mauve band with a photo bleeding through a color wash, instead of flat color */
.bg-photo-band {
  position: relative;
  background-size: cover;
  background-position: center;
}
.bg-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(139, 90, 107, 0.84);
}
.bg-photo-band > .container { position: relative; z-index: 1; }
.bg-photo-band .section-heading .eyebrow { color: rgba(255,255,255,0.85); }
.bg-photo-band .section-heading h2 { color: #fff; }
.bg-photo-band .section-heading p { color: rgba(255,255,255,0.92); }

/* Full-bleed editorial photo band with a centered quote */
.photo-band {
  position: relative;
  height: 52vh;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 35, 32, 0.45);
}
.photo-band .caption {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  max-width: 640px;
  padding: 0 1.5rem;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-heading .eyebrow {
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.band-mauve .section-heading .eyebrow { color: rgba(255,255,255,0.85); }
.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}
.section-heading p { font-size: 1.08rem; color: #4a3f3a; }
.band-mauve .section-heading p { color: rgba(255,255,255,0.92); }

/* Relationship feature grid: top row of 3, centered row of 2 below */
.feature-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  max-width: 980px;
  margin: 0 auto 2.2rem;
}
.feature-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .feature-grid-top, .feature-grid-bottom { grid-template-columns: 1fr; max-width: 400px; }
}
.feature {
  text-align: left;
}
.feature .icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(168, 85, 199, 0.12);
  margin-bottom: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.feature:hover .icon-badge {
  background: rgba(168, 85, 199, 0.2);
  transform: translateY(-2px);
}
.feature .icon {
  width: 26px;
  height: 26px;
  color: var(--violet);
}
.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.feature p {
  font-size: 0.98rem;
  color: #4a3f3a;
}

/* Tracks */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}
.track-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.4rem 2rem;
  box-shadow: 0 12px 30px rgba(43, 35, 32, 0.06);
  border-top: 4px solid var(--violet);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
}
.track-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(43, 35, 32, 0.12);
}
@media (min-width: 780px) {
  .track-grid { align-items: start; }
  .track-grid .track-card:last-child { margin-top: 2.75rem; }
}
.track-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.track-card .track-for {
  font-size: 0.88rem;
  color: var(--mauve);
  font-weight: 600;
  margin-bottom: 1rem;
}
.track-card p { color: #4a3f3a; margin-bottom: 0.9rem; }
.track-card .includes {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  border-top: 1px solid rgba(43,35,32,0.1);
  padding-top: 0.9rem;
  margin-top: 1rem;
}
.track-photo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.track-photo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.track-photo span { font-size: 0.85rem; color: #6b5d56; }
.track-cta { text-align: center; }

/* About / founder */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.about-grid img {
  border-radius: 18px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.about-grid .credentials {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.about-grid h2 { margin-bottom: 0.9rem; }
.about-grid p { margin-bottom: 1rem; color: rgba(255,255,255,0.95); }
.stat-row {
  display: flex;
  gap: 2rem;
  margin: 1.6rem 0;
  flex-wrap: wrap;
}
.stat-row .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
}
.stat-row .stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 280px; margin: 0 auto; }
}

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto 2.5rem;
}
.compare-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(43,35,32,0.08);
  border-top: 3px solid var(--mauve);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(43, 35, 32, 0.08);
}
.compare-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--mauve);
}
.compare-card p { font-size: 0.95rem; color: #4a3f3a; }

.pull-quote {
  position: relative;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 1rem;
  color: var(--charcoal);
}
.pull-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--violet);
  opacity: 0.55;
  margin-bottom: -0.4rem;
}

/* Who this is for: two-color contrast cards, on-brand (not white/black) */
.fit-grid-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 920px; margin: 0 auto; }
.fit-card { border-radius: 18px; padding: 2rem; }
.fit-card.yes { background: #F6EEF8; border-top: 4px solid var(--violet); }
.fit-card.no { background: #DCD2CC; border-top: 4px solid rgba(139,90,107,0.35); }
.fit-card h3 { margin-bottom: 1rem; color: var(--charcoal); }
.fit-card.no h3 { color: rgba(43,35,32,0.8); }
.fit-list { list-style: none; }
.fit-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.9rem; font-size: 0.98rem; }
.fit-card.yes .fit-list li { color: #4a3f3a; }
.fit-card.yes .fit-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--violet); }
.fit-card.no .fit-list li { color: rgba(43,35,32,0.62); }
.fit-card.no .fit-list li::before { content: "\2715"; position: absolute; left: 0; top: 0; font-weight: 700; color: rgba(43,35,32,0.35); }
@media (max-width: 780px) { .fit-grid-contrast { grid-template-columns: 1fr; } }

/* What happens next: horizontal steps with a connecting line */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1.5px; background: rgba(168,85,199,0.25); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--violet); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; margin: 0 auto 1rem; }
.step h4 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: #4a3f3a; }
@media (max-width: 780px) { .steps-row { grid-template-columns: 1fr; } .steps-row::before { display: none; } }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--violet);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.16), transparent 60%);
  animation: driftGlow 16s ease-in-out infinite;
}
@keyframes driftGlow {
  0%, 100% { transform: translate(-6%, -4%); }
  50% { transform: translate(6%, 4%); }
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--white); margin-bottom: 1rem; }
.final-cta p { max-width: 560px; margin: 0 auto 2rem; color: rgba(255,255,255,0.92); font-size: 1.08rem; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-outline-white { border-color: rgba(255,255,255,0.8); }

/* Apply form */
.apply-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: 0 20px 50px rgba(43,35,32,0.08);
}
.form-row { margin-bottom: 1.3rem; }
.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(43,35,32,0.15);
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(168,85,199,0.14);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 560px) {
  .form-two { grid-template-columns: 1fr; }
  .apply-wrap { padding: 2rem 1.4rem; }
}
.form-submit {
  width: 100%;
  border: none;
  font-size: 1.05rem;
  padding: 1rem;
}
.form-note {
  font-size: 0.85rem;
  color: #7a6d66;
  margin-top: 1rem;
  text-align: center;
}
#form-status {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  text-align: center;
  font-weight: 600;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin-top 0.35s ease;
}
#form-status.success, #form-status.error {
  margin-top: 1.2rem;
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}
#form-status.success { color: #3f7a4a; }
#form-status.error { color: #b6402f; }

/* Footer */
footer.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
}
footer.site-footer img { height: 32px; margin: 0 auto 1.2rem; }
footer.site-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}
footer.site-footer a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease; }
footer.site-footer a:hover { opacity: 1; }
footer.site-footer .copyright {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Reduced motion: disable all animation/transition-driven movement, show final state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .img-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: inset(0) !important;
  }
}
