/* =========================================================
   Women Prosperity Agency — shared design system
   Palette + type from brand brief
   ========================================================= */

:root {
  /* Brand palette */
  --umber:        #8b674d;  /* primary, headings, logo */
  --umber-dark:   #6f4f39;
  --almond:       #f3ece5;  /* page background */
  --cream:        #f5edd6;  /* card / section background */
  --cream-soft:   #faf6ee;
  --gold:         #c9a84c;  /* accents, CTA */
  --gold-deep:    #b08f37;
  --brown:        #2c1a00;  /* body text, dark headings */
  --brown-soft:   #4a3a26;
  --line:         rgba(139,103,77,0.22);
  --line-soft:    rgba(139,103,77,0.12);

  /* Type */
  --display: "Cinzel", Georgia, serif;
  --body:    "Lato", "Helvetica Neue", Arial, sans-serif;
  --ui:      "Poppins", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 132px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--almond);
  color: var(--brown);
  font-family: var(--body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--umber);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.6;
  color: var(--brown-soft);
  font-weight: 300;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

section { position: relative; }
.section { padding-block: var(--section-y); }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* botanical divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--line));
}
.divider::after { background: linear-gradient(90deg, var(--line), transparent); }
.divider svg { width: 18px; height: 18px; opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 0 8px 24px -12px rgba(176,143,55,0.7);
}
.btn--gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--umber);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--umber); background: rgba(139,103,77,0.06); }

.btn--ghost-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
}
.btn--ghost-light:hover { background: #fff; color: var(--brown); }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,236,229,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; color: var(--umber); flex: none; }
img.brand__mark { width: 50px; height: 50px; margin: -8px -6px -8px -8px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--umber);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--ui);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 5px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--brown-soft);
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav__links a:hover { color: var(--umber); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--umber); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__cta .btn { padding: 11px 20px; font-size: 13px; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 24px;
  background: var(--umber);
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 1180px) {
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: flex;
    position: fixed;
    inset: 64px 0 auto 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--almond);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-120%);
    transition: transform .35s cubic-bezier(.4,0,.2,1), visibility .35s;
    box-shadow: 0 24px 40px -24px rgba(44,26,0,0.35);
    visibility: hidden;
    z-index: 60;
  }
  .nav.open .nav__links { transform: translateY(0); visibility: visible; }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__links a { display: block; padding: 16px 0; font-size: 16px; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  background: var(--umber);
  color: var(--cream);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  text-decoration: none;
  transition: background .2s ease;
}
.announce:hover { background: var(--umber-dark); color: #fff; }
.announce .arrow { color: var(--gold); transition: transform .2s ease; }
.announce:hover .arrow { transform: translateX(4px); }
.announce__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__media.ph {
  position: absolute; inset: 0; z-index: 0;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 26px;
  background:
    linear-gradient(100deg, rgba(38,22,2,0.88) 0%, rgba(38,22,2,0.66) 52%, rgba(38,22,2,0.46) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 16px),
    linear-gradient(155deg, #5d4632 0%, #3a2a1a 100%);
}
.hero__overlay { display: none; }
.hero__media .ph__label {
  position: relative; z-index: 1;
  background: rgba(38,22,2,0.5);
  color: #f3ece5;
  border-color: rgba(245,237,214,0.35);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(60px, 12vw, 120px); }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(20,12,2,0.45);
}
.hero__sub, .hero .eyebrow { text-shadow: 0 1px 14px rgba(20,12,2,0.5); }
.hero .eyebrow { color: #e7d9a8; }
.hero .eyebrow::before { background: var(--gold); }
.hero__sub {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 24px);
  color: rgba(255,255,255,0.9);
  margin: 24px 0 38px;
  max-width: 40ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* page hero (interior pages) */
.pagehero {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(72px, 11vw, 140px);
  text-align: center;
}
.pagehero h1 { font-size: clamp(34px, 5vw, 60px); }
.pagehero .lead { margin: 22px auto 0; max-width: 60ch; }

/* ---------- Tagline strip ---------- */
.strip {
  background: var(--umber);
  color: var(--cream);
  padding-block: 22px;
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 60px);
  flex-wrap: wrap;
  font-family: var(--display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.6vw, 17px);
}
.strip__inner span { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: clamp(14px,5vw,60px); }
.strip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(139,103,77,0.07) 0 2px,
      transparent 2px 14px),
    linear-gradient(160deg, var(--cream) 0%, #e9ddcd 100%);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--umber);
}

/* ---------- Real images ---------- */
.imgbox {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--cream);
}
.imgbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgbox--contain { background: #fff; }
.imgbox--contain img { object-fit: contain; padding: clamp(22px, 4vw, 48px); }
.imgbox--dark { background: #16100a; border-color: rgba(245,237,214,0.12); }
.imgbox--dark img { object-fit: cover; }

/* hero with photo */
.hero__media--breakfast {
  background:
    linear-gradient(180deg, rgba(20,12,2,0.1) 0%, rgba(20,12,2,0) 40%, rgba(20,12,2,0.55) 100%),
    linear-gradient(100deg, rgba(26,16,2,0.9) 0%, rgba(26,16,2,0.62) 46%, rgba(26,16,2,0.32) 100%),
    url('img/hero.jpg') center / cover no-repeat !important;
}
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,12,2,0.1) 0%, rgba(20,12,2,0) 40%, rgba(20,12,2,0.55) 100%),
    linear-gradient(100deg, rgba(26,16,2,0.9) 0%, rgba(26,16,2,0.62) 46%, rgba(26,16,2,0.32) 100%);
}
.ph__label {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--umber);
  background: rgba(245,237,214,0.85);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 2px;
  text-align: center;
  max-width: 80%;
}
.ph--dark { color: #fff; }
.ph--dark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(44,26,0,0.55), rgba(44,26,0,0.3));
}
.ph--dark .ph__label {
  position: relative; z-index: 1;
  background: rgba(44,26,0,0.45);
  color: #f3ece5;
  border-color: rgba(255,255,255,0.25);
}

/* ---------- Cards ---------- */
.card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 38px 34px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(44,26,0,0.4);
  border-color: var(--line);
}
.card h3 { font-size: 24px; margin-bottom: 12px; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* pillar */
.pillar { text-align: left; }
.pillar__icon {
  width: 48px; height: 48px;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--umber);
  margin-bottom: 8px;
}
.pillar p { font-size: 16px; color: var(--brown-soft); }

/* quote */
.quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--umber);
  text-wrap: balance;
}
.quote--small { font-size: clamp(19px, 2.4vw, 26px); }

/* meta list (event details) */
.meta {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ui);
  font-size: 15px;
  color: var(--brown-soft);
}
.meta svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 6px 14px;
}
.badge--diamond { color: var(--umber); border-color: var(--line); }

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--media-first .split__media { order: -1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--media-first .split__media { order: 0; }
}

/* CTA band */
.cta-band {
  background: var(--brown);
  color: var(--cream);
  scroll-margin-top: 84px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.cta-band .lead { color: rgba(245,237,214,0.82); }
.cta-band .meta { justify-items: center; }
.cta-band .meta li { color: rgba(245,237,214,0.9); justify-content: center; }
.cta-email-label {
  font-family: var(--ui); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(245,237,214,0.7); margin-bottom: 14px;
}
.cta-email {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 3vw, 32px); color: var(--gold);
  border-bottom: 2px solid rgba(201,168,76,0.5); padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease; word-break: break-word;
}
.cta-email:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--umber);
  color: var(--cream);
  padding-block: clamp(54px, 7vw, 80px) 32px;
}
.footer a { color: var(--cream); transition: color .2s ease; }
.footer a:hover { color: #fff; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,237,214,0.18);
}
.footer .brand__name, .footer .brand__mark { color: var(--cream); }
.footer .brand__sub { color: var(--gold); }
.footer__tagline { max-width: 34ch; margin-top: 18px; color: rgba(245,237,214,0.78); font-weight: 300; }
.footer__col h4 {
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 15px; color: rgba(245,237,214,0.86); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(245,237,214,0.68);
  font-family: var(--ui);
  letter-spacing: 0.03em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
