:root {
  --purple: #2d0a57;
  --purple-2: #4a1b7a;
  --lavender: #8f79d9;
  --gold: #f2c94c;
  --pink: #e66ba8;
  --text: #f9f6ff;
  --muted: rgba(249, 246, 255, 0.78);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--purple);
  color: var(--text);
  line-height: 1.65;
}

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

a { color: var(--gold); text-underline-offset: 0.18em; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(45, 10, 87, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(143, 121, 217, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 120px;
  padding: 12px 0;
}

.logo img {
  height: 104px;
  width: auto;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--text); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-family: inherit;
}

/* Header/menu CTAs use the dark style, not the gold-pill default */
.site-header .btn {
  background: #1a0535;
  color: #f2c94c;
  border: 2px solid #f2c94c;
}

.btn:hover { filter: brightness(1.05); }

.btn-pink {
  background: #e7b4d8;
  color: var(--purple);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--lavender);
}

/* Hero */
.hero {
  padding: 56px 0 28px;
  text-align: center;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 auto 18px;
}

.hero h1 .gold { color: var(--gold); }

.hero p {
  max-width: 640px;
  margin: 0 auto 12px;
  color: var(--muted);
}

.hero .lead-strong {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.ridgeline {
  width: min(920px, 92%);
  margin: 36px auto 0;
  opacity: 0.85;
}

/* Sections */
.section { padding: 64px 0; scroll-margin-top: 130px; }
#about, #services, #experience, #areas { scroll-margin-top: 130px; }

.section-alt { background: var(--purple-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.split p {
  margin-bottom: 14px;
}

.split .space-after {
  margin-bottom: 40px !important;
  padding-bottom: 8px;
}

.split .hope-line {
  display: block;
  margin-top: 40px !important;
  padding-top: 8px;
}

h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--gold); margin-bottom: 16px; }
h3 { font-size: 1.45rem; color: var(--gold); margin-bottom: 10px; }

.kicker {
  font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.sapling {
  width: 88px;
  margin: 18px 0 0;
}

/* Cards */
.cards-3, .cards-6 {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: rgba(45, 10, 87, 0.45);
  border: 1px solid rgba(143, 121, 217, 0.35);
  border-radius: 16px;
  padding: 22px;
}

.card ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(143, 121, 217, 0.2);
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* Experience */
.experience {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.portrait {
  width: 100%;
  max-width: 280px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  object-position: center top;
}

/* Areas + CTA */
.areas {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.cta-box {
  background: var(--purple-2);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(143, 121, 217, 0.25);
  padding: 36px 0 24px;
}

.footer-tag {
  color: var(--gold);
  margin: 12px 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0 20px;
}

.footer-links a { color: var(--muted); text-decoration: none; }

/* Forms */
.page-intro { padding: 48px 0 12px; max-width: 720px; }

form {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 24px 0 64px;
}

label { display: grid; gap: 6px; font-weight: 600; }

input, select, textarea {
  background: var(--purple-2);
  color: var(--text);
  border: 1px solid rgba(143, 121, 217, 0.6);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.35);
}

form.tried input:invalid,
form.tried select:invalid,
form.tried textarea:invalid,
input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #ffc2dc;
  box-shadow: 0 0 0 3px rgba(230, 107, 168, 0.45);
  background: #5a1a4a;
}

.checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-weight: 400;
}

.checkboxes label, .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.consent-block {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(143, 121, 217, 0.35);
}

.consent-req {
  color: #f9f6ff;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0 26px;
}

.form-legend {
  color: #f9f6ff;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form.tried .consent-block:has(input:invalid),
.consent-block:has(input:user-invalid) {
  border-color: #ffc2dc;
  box-shadow: 0 0 0 3px rgba(230, 107, 168, 0.35);
  background: rgba(230, 107, 168, 0.12);
}

.checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-weight: 400;
}

.checkboxes label, .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }

.note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 12px 0 24px;
}

.thanks {
  display: none;
  background: var(--purple-2);
  border-radius: 16px;
  padding: 28px;
  max-width: 720px;
  margin: 24px 0 64px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--lavender);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.nav-cta-mobile { display: none; }

.header-cta,
.nav-cta-mobile,
.site-header .btn,
.nav a.btn {
  flex-shrink: 0;
  background: #1a0535 !important;
  color: var(--gold) !important;
  border: 2px solid var(--gold) !important;
  box-shadow: none;
  font-weight: 700;
}

.header-cta:hover,
.nav-cta-mobile:hover,
.site-header .btn:hover,
.nav a.btn:hover {
  background: #2d0a57 !important;
  color: var(--gold) !important;
  filter: none;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 96px;
    position: relative;
  }

  .logo img {
    height: 72px;
  }

  .split, .experience, .areas, .cta-box, .cards-3, .cards-6, .checkboxes {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 200px;
    max-height: 280px;
    margin: 0 auto;
  }

  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--purple);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid rgba(143, 121, 217, 0.35);
  }

  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; }

  /* Dropdown CTA: force gold label on dark fill (beats .btn purple text) */
  .nav.open a.btn,
  .nav.open .nav-cta-mobile {
    background: #1a0535 !important;
    color: #f2c94c !important;
    -webkit-text-fill-color: #f2c94c !important;
    border: 2px solid #f2c94c !important;
  }
}
