/* =========================================================
   BE YOU FOR YOU — Shared Design System
   Brand colors + fonts confirmed via project memory.
   Font notes: "Perandory Condensed" and "Hero Light" are
   licensed/custom fonts — substituted below with close
   Google Fonts stand-ins (Oswald / Jost). Swap the @font-face
   block near the top with the real files whenever you have them.
   "Alex Brush" is a real Google Font and is loaded directly.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Jost:wght@300;400;500&family=Alex+Brush&display=swap');

/* Uncomment + point at real files when licensed fonts are available:
@font-face { font-family: 'Perandory Condensed'; src: url('../fonts/PerandoryCondensed.woff2') format('woff2'); font-weight: 400 700; }
@font-face { font-family: 'Hero Light'; src: url('../fonts/HeroLight.woff2') format('woff2'); font-weight: 300; }
*/

:root {
  /* Brand palette */
  --plum: #472950;
  --lilac: #c0a4c4;
  --rose: #d46a79;
  --wine: #78201b;
  --blush: #f6cbb6;

  --plum-deep: #2e1a35;
  --cream: #fdf8f5;
  --ink: #241521;
  --white: #ffffff;

  /* Fonts — swap left-most family name for licensed fonts when available */
  --font-display: 'Perandory Condensed', 'Oswald', sans-serif;
  --font-body: 'Hero Light', 'Jost', sans-serif;
  --font-script: 'Alex Brush', cursive;

  --shadow-soft: 0 20px 50px rgba(71, 41, 80, 0.16);
  --shadow-card: 0 10px 30px rgba(36, 21, 33, 0.08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--plum-deep);
  line-height: 1.05;
  text-transform: uppercase;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  color: var(--rose);
  letter-spacing: 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
  display: inline-block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 110px 0; position: relative; }
@media (max-width: 720px) { section { padding: 70px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
/* .btn-primary uses --wine (not --rose) as its solid fill: white text on --rose is only
   ~3.4:1 contrast (fails WCAG AA 4.5:1 for small text); --wine gives ~10:1. */
.btn-primary { background: var(--wine); color: var(--white); box-shadow: 0 10px 25px rgba(120,32,27,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(120,32,27,0.45); background: var(--plum-deep); }
/* .btn-outline gets a translucent dark scrim + solid border so it stays legible
   regardless of what's behind it in the hero photo (not just transparent-on-image). */
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.9);
  color: var(--white);
  background: rgba(36,21,33,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(36,21,33,0.78); border-color: var(--white); transform: translateY(-3px); }
.btn-plum { background: var(--plum); color: var(--white); }
.btn-plum:hover { background: var(--plum-deep); transform: translateY(-3px); }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 26px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; }
.site-nav.scrolled {
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(36,21,33,0.06);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color .4s var(--ease);
  display: inline-flex;
  align-items: center;
}
.site-nav.scrolled .nav-logo { color: var(--plum-deep); }
.nav-logo-img {
  height: 116px;
  width: auto;
  border-radius: 0;
  transition: height .4s var(--ease);
}
.site-nav.scrolled .nav-logo-img { height: 92px; }
/* Swap light logo (for the dark/transparent hero nav) for the color logo once scrolled to a light background */
.nav-logo-img.light { display: block; }
.nav-logo-img.dark { display: none; }
.site-nav.scrolled .nav-logo-img.light { display: none; }
.site-nav.scrolled .nav-logo-img.dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  position: relative;
  padding-bottom: 4px;
  transition: color .4s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--rose);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.site-nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a.current { color: var(--rose) !important; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); transition: all .3s var(--ease); }
.site-nav.scrolled .nav-toggle span { background: var(--plum-deep); }

@media (max-width: 940px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw);
    background: var(--plum-deep); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px; transition: right .45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,0.25); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--white) !important; font-size: 14px; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum-deep);
  color: var(--white);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,26,53,0.55) 0%, rgba(46,26,53,0.72) 60%, rgba(46,26,53,0.92) 100%);
  z-index: 1;
}
.hero-circle {
  position: absolute; border-radius: 50%;
  opacity: 0.14; z-index: 1;
  filter: blur(2px);
}
.hero-circle.c1 { width: 420px; height: 420px; background: var(--rose); top: -140px; right: -100px; }
.hero-circle.c2 { width: 280px; height: 280px; background: var(--lilac); bottom: -100px; left: -60px; }
.hero-circle.c3 { width: 160px; height: 160px; background: var(--blush); top: 30%; left: 55%; opacity: 0.1; }

.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-content h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  margin-bottom: 20px;
  /* The plain (non-script) words default to --plum-deep, which reads flat against
     the dark hero photo. Make those words hollow — transparent fill, white outline
     only — while the .script accent word keeps its normal solid rose fill below. */
  color: transparent;
  -webkit-text-stroke: 3px var(--white);
}
.hero-content h1 .script {
  -webkit-text-stroke: 0px transparent;
}
.hero-content p.lead {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.82);
  max-width: 520px; margin-bottom: 34px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px; border-radius: 40px; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.hero-pill.accent { border-color: rgba(212,106,121,0.6); color: var(--blush); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); animation: scrolldrop 1.8s ease-in-out infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (shorter, for inner pages) */
.page-hero {
  min-height: 52vh;
  padding-top: 140px;
}
.page-hero .hero-content { max-width: 680px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal.delay-1.active { transition-delay: .12s; }
.reveal.delay-2.active { transition-delay: .24s; }
.reveal.delay-3.active { transition-delay: .36s; }

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.section-head p { color: #6b5a68; font-size: 15px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--lilac), var(--blush)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-logo { display: flex; align-items: center; justify-content: center; height: 92px; padding: 24px 24px 0; }
.card-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.card-body { padding: 26px; }
.card-body .tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; display: block; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; text-transform: none; }
.card-body p { font-size: 13.5px; color: #6b5a68; }

/* ---------- Callout / banner block ---------- */
.callout {
  background: var(--plum-deep);
  color: var(--white);
  border-radius: 28px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.callout::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,106,121,0.28) 0%, transparent 72%);
}
.callout::before {
  content: '';
  position: absolute; top: -80px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,164,196,0.22) 0%, transparent 70%);
}
.callout-inner { position: relative; z-index: 1; max-width: 620px; }
.callout .eyebrow { color: var(--blush); }
.callout h2 { color: var(--white); font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.callout p { color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 28px; }
@media (max-width: 640px) { .callout { padding: 40px 28px; } }

/* ---------- Founder / split section ---------- */
.split {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center;
}
.split-media { border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(160deg, var(--lilac), var(--rose)); box-shadow: var(--shadow-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .eyebrow { display: block; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: #6b5a68; font-size: 15px; margin-bottom: 16px; }
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Carousel (swipeable event gallery) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 14px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto;
  width: min(300px, 72vw);
  aspect-ratio: 4/5;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, var(--lilac), var(--blush));
  position: relative;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, rgba(46,26,53,0) 0%, rgba(46,26,53,0.85) 100%);
}
.carousel-caption .t-date { color: var(--blush); margin-bottom: 4px; }
.carousel-caption h4 { color: var(--white); font-size: 15px; text-transform: none; margin: 0; }
.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: var(--plum-deep); z-index: 2;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.carousel-arrow:hover { background: var(--wine); color: var(--white); }
.carousel-arrow.prev { left: -14px; }
.carousel-arrow.next { right: -14px; }
@media (max-width: 900px) { .carousel-arrow { display: none; } }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lilac);
  padding: 0; transition: all .3s var(--ease);
}
.carousel-dots button.active { background: var(--rose); width: 22px; border-radius: 6px; }

/* ---------- Timeline ---------- */
.timeline { border-left: 2px solid var(--lilac); padding-left: 30px; margin-top: 10px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: ''; position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--rose);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline-item .t-date { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 4px; }
.timeline-item h4 { font-size: 17px; text-transform: none; margin-bottom: 4px; }
.timeline-item p { font-size: 13.5px; color: #6b5a68; }

/* ---------- Tiers / pricing style cards ---------- */
.tier-card { background: var(--white); border-radius: 20px; padding: 34px 28px; box-shadow: var(--shadow-card); text-align: center; transition: transform .4s var(--ease); }
.tier-card:hover { transform: translateY(-8px); }
.tier-card.featured { background: var(--plum); color: var(--white); transform: scale(1.04); }
.tier-card .tier-name { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.tier-card.featured .tier-name { color: var(--blush); }
.tier-card .tier-price { font-family: var(--font-display); font-size: 32px; margin-bottom: 18px; }
.tier-card ul { text-align: left; margin-top: 18px; }
.tier-card ul li { font-size: 13px; padding: 6px 0; padding-left: 22px; position: relative; color: inherit; opacity: 0.85; }
.tier-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--rose); }
.tier-card.featured ul li::before { color: var(--blush); }

/* ---------- Subscribe / newsletter ---------- */
.subscribe {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lilac) 100%);
  border-radius: 28px;
  padding: 70px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.subscribe h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.subscribe p { color: #5b3f56; font-size: 14px; margin-bottom: 24px; }
.subscribe-form { display: flex; gap: 12px; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1; min-width: 220px; padding: 16px 20px; border-radius: 40px; border: none;
  font-family: var(--font-body); font-size: 14px; background: rgba(255,255,255,0.85);
}
.subscribe-form input:focus { outline: 2px solid var(--rose); }
.subscribe-media { display: flex; justify-content: center; }
.subscribe-media .device {
  width: 100%; max-width: 320px; aspect-ratio: 3/4; border-radius: 24px;
  background: var(--plum-deep); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 20px;
}
.form-note { font-size: 12px; margin-top: 10px; color: #5b3f56; }
@media (max-width: 800px) { .subscribe { grid-template-columns: 1fr; padding: 44px 30px; } .subscribe-media { order: -1; } }

/* ---------- Generic forms (contact / apply) ---------- */
.form-block { background: var(--white); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-block { padding: 30px 24px; } }
.form-block label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); margin-bottom: 8px; }
.form-block input, .form-block textarea, .form-block select {
  width: 100%; padding: 14px 18px; border-radius: 12px; border: 1.5px solid #e9ddea;
  font-family: var(--font-body); font-size: 14px; background: var(--cream);
  transition: border-color .3s var(--ease);
}
.form-block input:focus, .form-block textarea:focus, .form-block select:focus { outline: none; border-color: var(--rose); }
.form-block textarea { min-height: 140px; resize: vertical; }
.form-success { display: none; background: #eef7ee; border: 1px solid #bfe3bf; color: #2a6b2a; padding: 16px 20px; border-radius: 12px; font-size: 13.5px; margin-top: 18px; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,0.7); padding: 90px 0 30px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 30px; color: var(--white); margin-bottom: 14px; }
.footer-logo-img { height: 84px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; max-width: 260px; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blush); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 12px; color: rgba(255,255,255,0.7); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--rose); }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 18px; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-bottom a { margin-left: 0; margin-right: 16px; } }

/* ---------- Utilities ---------- */
.center-text { text-align: center; }
.mt-lg { margin-top: 60px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { background: var(--blush); color: var(--wine); font-size: 11px; padding: 6px 14px; border-radius: 20px; }
.tag-pill.plum { background: var(--lilac); color: var(--plum-deep); }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--lilac), var(--rose), transparent); opacity: 0.4; margin: 0 auto; max-width: 1180px; }
