/* Fenton Prosperity LLC — landing page
   Custom properties carry the `--fenton-` qualifier: :root is a flat
   namespace, so every name on it needs one. */

:root {
  --fenton-ink:        #12302A;
  --fenton-ink-deep:   #0B211D;
  --fenton-ink-soft:   #4C6259;
  --fenton-ink-faint:  #7B8D85;

  --fenton-cream:      #FAF7F1;
  --fenton-cream-deep: #F2ECE1;
  --fenton-white:      #FFFDFA;

  --fenton-gold:       #A97524;
  --fenton-gold-warm:  #D3AC63;
  --fenton-gold-pale:  #F0E3C9;

  --fenton-line:       rgba(18, 48, 42, .13);
  --fenton-line-soft:  rgba(18, 48, 42, .07);

  --fenton-shell:      1160px;
  --fenton-gutter:     clamp(1.25rem, 5vw, 3rem);

  --fenton-serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --fenton-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fenton-lift:  0 1px 2px rgba(18, 48, 42, .05), 0 12px 32px -12px rgba(18, 48, 42, .16);
  --fenton-lift-high: 0 2px 4px rgba(18, 48, 42, .06), 0 28px 60px -22px rgba(18, 48, 42, .30);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fenton-cream);
  color: var(--fenton-ink);
  font-family: var(--fenton-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--fenton-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

.shell {
  width: 100%;
  max-width: var(--fenton-shell);
  margin-inline: auto;
  padding-inline: var(--fenton-gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fenton-ink);
  color: var(--fenton-cream);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--fenton-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fenton-gold);
  margin-bottom: 1.1rem;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--fenton-sans);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .005em;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease,
              border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button--primary {
  background: var(--fenton-ink);
  color: var(--fenton-cream);
  box-shadow: var(--fenton-lift);
}
.button--primary:hover {
  background: var(--fenton-ink-deep);
  transform: translateY(-1px);
  box-shadow: var(--fenton-lift-high);
}

.button--quiet {
  background: transparent;
  color: var(--fenton-ink);
  border-color: var(--fenton-line);
}
.button--quiet:hover {
  border-color: var(--fenton-ink);
  background: rgba(18, 48, 42, .04);
}

.button--gold {
  background: var(--fenton-gold-warm);
  color: var(--fenton-ink-deep);
  font-weight: 600;
  padding-inline: 2rem;
}
.button--gold:hover {
  background: var(--fenton-gold-pale);
  transform: translateY(-1px);
}

.button--compact { padding: .7rem 1.25rem; font-size: .875rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--fenton-line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}

.wordmark__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--fenton-ink);
  color: var(--fenton-gold-warm);
  flex: none;
}
.wordmark__mark svg { width: 21px; height: 21px; }

.wordmark__text { display: inline-flex; align-items: baseline; gap: .4rem; }

.wordmark__name {
  font-family: var(--fenton-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.wordmark__suffix {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--fenton-ink-faint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fenton-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  color: var(--fenton-ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover { border-color: var(--fenton-ink); background: rgba(18, 48, 42, .04); }

/* Three bars from one element: the middle is the box, the outer two are its
   pseudo-elements. On open they rotate into a cross. */
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; gap: 2.1rem; }

.site-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fenton-ink-soft);
  text-decoration: none;
  position: relative;
  padding-block: .25rem;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--fenton-gold);
  transition: right .25s ease;
}
.site-nav a:hover { color: var(--fenton-ink); }
.site-nav a:hover::after { right: 0; }

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 55% at 82% 22%,
              rgba(211, 172, 99, .22), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__headline {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--fenton-ink-soft);
  max-width: 30rem;
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.15rem;
}

.hero__note {
  font-size: .875rem;
  color: var(--fenton-ink-faint);
}

/* hero visual */

.hero__visual { display: flex; justify-content: center; }

.plan-card {
  width: min(100%, 420px);
  background: var(--fenton-white);
  border: 1px solid var(--fenton-line);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.35rem;
  box-shadow: var(--fenton-lift-high);
}

.plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.plan-card__label {
  font-family: var(--fenton-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.plan-card__status {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fenton-gold);
  background: var(--fenton-gold-pale);
  padding: .3rem .6rem;
  border-radius: 999px;
}

.plan-card__chart { width: 100%; height: auto; display: block; }
.plan-card__grid { stroke: var(--fenton-line-soft); stroke-width: 1; }
.plan-card__line {
  stroke: var(--fenton-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}
.plan-card__dot {
  fill: var(--fenton-white);
  stroke: var(--fenton-gold);
  stroke-width: 2.5;
}
.plan-card__dot--last { fill: var(--fenton-gold); }

.plan-card__milestones {
  margin-top: 1.35rem;
  border-top: 1px solid var(--fenton-line-soft);
  padding-top: 1.1rem;
  display: grid;
  gap: .7rem;
}

.plan-card__milestones li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.plan-card__milestones span {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fenton-ink-faint);
  flex: none;
}

.plan-card__milestones strong {
  font-size: .9375rem;
  font-weight: 500;
  text-align: right;
}

/* ---------- creed ---------- */

.creed {
  background: var(--fenton-ink);
  color: var(--fenton-cream);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.creed__text {
  font-family: var(--fenton-serif);
  font-size: clamp(1.35rem, 2.9vw, 2rem);
  line-height: 1.32;
  letter-spacing: -.01em;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.creed__text em { color: var(--fenton-gold-warm); font-style: italic; }

/* ---------- section heads ---------- */

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head__title { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.section-head__lede {
  margin-top: 1.1rem;
  color: var(--fenton-ink-soft);
  font-size: 1.0625rem;
}

/* ---------- services ---------- */

.services { padding-block: clamp(4rem, 9vw, 7rem); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service {
  background: var(--fenton-white);
  border: 1px solid var(--fenton-line);
  border-radius: 18px;
  padding: 2rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 117, 36, .35);
  box-shadow: var(--fenton-lift);
}

.service__index {
  font-family: var(--fenton-serif);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--fenton-gold);
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
}

.service__title { font-size: 1.6rem; margin-bottom: .6rem; }

.service__pitch {
  font-family: var(--fenton-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--fenton-gold);
  margin-bottom: 1rem;
}

.service__body {
  color: var(--fenton-ink-soft);
  font-size: .9375rem;
  margin-bottom: 1.4rem;
}

.service__points {
  margin-top: auto;
  border-top: 1px solid var(--fenton-line-soft);
  padding-top: 1.15rem;
  display: grid;
  gap: .55rem;
}

.service__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .875rem;
  color: var(--fenton-ink-soft);
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fenton-gold-warm);
}

/* ---------- approach ---------- */

.approach {
  background: var(--fenton-cream-deep);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 1.75rem;
  counter-reset: step;
}

.step { position: relative; padding-top: 3.4rem; }

.step__number {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fenton-white);
  border: 1px solid var(--fenton-line);
  font-family: var(--fenton-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fenton-gold);
}

.step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -1.75rem;
  height: 1px;
  background: var(--fenton-line);
}
.step:last-child::after { display: none; }

.step__title { font-size: 1.3rem; margin-bottom: .55rem; }

.step__body { font-size: .9375rem; color: var(--fenton-ink-soft); }

/* ---------- about ---------- */

.about { padding-block: clamp(4rem, 9vw, 7rem); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.about__portrait {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--fenton-cream-deep);
  box-shadow: var(--fenton-lift-high);
}
.about__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about__copy .section-head__title { margin-bottom: 1.4rem; }

.about__copy p {
  color: var(--fenton-ink-soft);
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fenton-line);
}

.about__facts dt {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fenton-ink-faint);
  margin-bottom: .4rem;
}

.about__facts dd {
  margin: 0;
  font-family: var(--fenton-serif);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* ---------- closing call ---------- */

.closing-call {
  background: var(--fenton-ink);
  color: var(--fenton-cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.closing-call::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(211, 172, 99, .22), transparent 60%);
}

.closing-call__inner {
  position: relative;
  text-align: center;
  max-width: 40rem;
}
.closing-call__inner { margin-inline: auto; }

.closing-call__title { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-bottom: 1.1rem; }

.closing-call__lede {
  color: rgba(250, 247, 241, .74);
  font-size: 1.0625rem;
  margin-bottom: 2.1rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--fenton-ink-deep);
  color: rgba(250, 247, 241, .72);
  padding-block: clamp(2.75rem, 5vw, 3.75rem) 2rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250, 247, 241, .12);
}

.site-footer__brand .wordmark__name { color: var(--fenton-cream); }
.site-footer__brand .wordmark__suffix { color: rgba(250, 247, 241, .5); }

.site-footer__tagline { margin-top: .5rem; font-size: .875rem; }

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.3rem;
}

.site-footer__nav { display: flex; gap: 1.75rem; }

.social { display: flex; gap: .6rem; }

.social__link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(250, 247, 241, .68);
  border: 1px solid rgba(250, 247, 241, .16);
  transition: color .2s ease, border-color .2s ease,
              background-color .2s ease, transform .2s ease;
}
.social__link svg { width: 17px; height: 17px; display: block; }

.social__link:hover {
  color: var(--fenton-ink-deep);
  background: var(--fenton-gold-warm);
  border-color: var(--fenton-gold-warm);
  transform: translateY(-2px);
}

.site-footer__nav a {
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer__nav a:hover { color: var(--fenton-gold-warm); }

.site-footer__fine {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: .8125rem;
  color: rgba(250, 247, 241, .5);
}

.site-footer__disclaimer { max-width: 46rem; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .site-header .button--compact { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__portrait { max-width: 320px; }
  .step::after { display: none; }
}

@media (max-width: 720px) {
  .site-footer__links { align-items: flex-start; }
  .site-header__inner { gap: 1rem; }

  .nav-toggle { display: grid; }

  /* Visibility is derived from the button's aria-expanded — the sibling
     selector is why the toggle sits before the nav in the markup. */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--fenton-gutter) 1.25rem;
    background: var(--fenton-cream);
    border-bottom: 1px solid var(--fenton-line);
    box-shadow: var(--fenton-lift);
  }
  .nav-toggle[aria-expanded="true"] ~ .site-nav { display: flex; }

  .site-nav a {
    padding-block: .85rem;
    font-size: 1.0625rem;
    color: var(--fenton-ink);
    border-bottom: 1px solid var(--fenton-line-soft);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a::after { display: none; }
  .hero__lede { max-width: none; }
  .site-footer__fine { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
