:root {
  --pink: #F5C9C3;
  --pink-soft: #FBE4E0;
  --dark: #2B0A12;
  --dark-2: #300D16;
  --mauve: #6B4A50;
  --magenta: #C2255C;
  --gold: #B4884E;
  --cream: #FFF8F5;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(43, 10, 18, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  transition: color 0.35s ease;
  letter-spacing: 0.5px;
}

.site-header.scrolled .brand-mark { color: var(--dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.35s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.main-nav a:hover { opacity: 1; }

.site-header.scrolled .main-nav a { color: var(--dark); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.7);
  padding: 9px 18px;
  border-radius: 999px;
}

.site-header.scrolled .nav-cta {
  border-color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,10,18,0.25) 0%, rgba(43,10,18,0.35) 55%, rgba(43,10,18,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 90px;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin-bottom: 6px;
}

.hero-sub {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  letter-spacing: 0.5em;
  font-weight: 400;
  margin-top: 10px;
  color: var(--pink-soft);
}

.hero-tag {
  max-width: 480px;
  font-size: 1.05rem;
  margin: 22px 0 32px;
  color: rgba(255,255,255,0.9);
}

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

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194,37,92,0.35); }

.btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

.kicker.light { color: var(--pink); }

.center { text-align: center; }

.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-style: italic; }

.section h2.light { color: var(--white); }

.lede {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--mauve);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-text p { color: var(--mauve); font-size: 1.05rem; margin: 20px 0; }

.split-media img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(43,10,18,0.18);
}

.fact-list { margin: 30px 0 0; padding: 0; }

.fact-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(107,74,80,0.18);
}

.fact-list dt {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--dark);
}

.fact-list dd { margin: 0; color: var(--mauve); font-size: 0.95rem; }

/* ---------- Products ---------- */
.products { background: var(--pink); }

.product-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 45px rgba(43,10,18,0.14);
  transition: transform 0.35s ease;
}

.product-card:hover { transform: translateY(-6px); }

.product-card img { aspect-ratio: 3/4; object-fit: cover; }

.product-card figcaption {
  padding: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  color: var(--dark);
}

/* ---------- Dark section utility ---------- */
.dark {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Franchise ---------- */
.franchise { background: var(--cream); }

.franchise.dark { background: var(--dark); color: var(--white); }
.franchise.dark .lede.light { color: rgba(255,255,255,0.82); }
.franchise.dark .support-item p { color: rgba(255,255,255,0.75); }
.franchise.dark .pstep-num { border-color: var(--pink); color: var(--pink); }
.franchise.dark .pstep-title { color: var(--white); }
.franchise.dark .profile-list li { color: rgba(255,255,255,0.82); }
.franchise.dark .profile-list li::before { color: var(--pink); }

.support-block, .process-block, .profile-block { margin-top: 100px; }

.support-block h3, .process-block h3, .profile-block h3 {
  font-size: 1.7rem;
  font-style: italic;
  margin-bottom: 46px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.support-item { text-align: left; }

.support-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.support-item strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }

.support-item p { margin: 0; color: var(--mauve); font-size: 0.92rem; }

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.pstep-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0 auto 14px;
}

.pstep-title { font-size: 0.85rem; color: var(--dark); font-weight: 500; }

.profile-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.profile-list li {
  position: relative;
  padding-left: 32px;
  color: var(--mauve);
  font-size: 0.98rem;
}

.profile-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 600;
}

/* ---------- Location ---------- */
.location { background: var(--pink-soft); }

.link-arrow {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--magenta);
}

/* ---------- Application form ---------- */
.application { background: var(--cream); }

.app-form { max-width: 760px; margin: 56px auto 0; }

.app-form fieldset {
  border: none;
  border-top: 1px solid rgba(107,74,80,0.18);
  padding: 34px 0;
  margin: 0;
}

.app-form legend {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  padding: 0;
  margin-bottom: 22px;
  color: var(--dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.form-row label.full { grid-column: 1 / -1; }

.app-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--mauve);
  font-weight: 500;
}

.app-form input[type="text"],
.app-form input[type="email"],
.app-form input[type="tel"],
.app-form input[type="date"],
.app-form input[type="number"],
.app-form textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(107,74,80,0.28);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  resize: vertical;
}

.app-form input:focus, .app-form textarea:focus {
  outline: 2px solid var(--magenta);
  outline-offset: 1px;
  background: var(--white);
}

.radio-label {
  font-size: 0.82rem;
  color: var(--mauve);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.radio {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  font-weight: 400 !important;
}

.radio input { width: auto; }

.consent-row { margin: 30px 0; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--mauve);
}

.checkbox input { margin-top: 3px; }

.checkbox a { color: var(--magenta); text-decoration: underline; font-weight: 500; }

.btn-submit {
  width: 100%;
  border: none;
  font-size: 0.95rem;
  padding: 17px;
}

.form-status {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.form-status.success { background: #e6f4ea; color: #1e6b34; }
.form-status.error { background: #fbe7e7; color: #a3273a; }
.form-status.loading { background: var(--pink-soft); color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 56px 28px 40px;
}

.brand-mark.small {
  font-size: 1.4rem;
  color: var(--white);
}

.brand-mark.small em { font-style: italic; opacity: 0.7; font-size: 0.7em; }

.site-footer p { margin: 10px 0 0; font-size: 0.88rem; }

.site-footer a { text-decoration: none; color: var(--pink); }

.copyright { margin-top: 26px; font-size: 0.75rem; opacity: 0.55; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px 28px 30px;
    gap: 18px;
  }
  .main-nav.open a { color: var(--dark); }

  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media, .split.reverse .split-text { order: initial; }

  .product-grid, .support-grid { grid-template-columns: 1fr 1fr; }

  .process-row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }

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

@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .product-grid, .support-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .fact-list > div { grid-template-columns: 1fr; }
}
