/*
Theme Name: Financially with Rita
Theme URI: https://projectacorn.com
Author: Project Acorn
Author URI: https://projectacorn.com
Description: Custom WordPress theme for Financially with Rita — a Roseville Life & Health practice. Care first. Then the numbers. No page builder, no WooCommerce, no blog.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: financially-with-rita
*/

@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: block; }
@font-face { font-family: Outfit; src: url("assets/fonts/Outfit.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: block; }

:root {
  --bg: #0e100f;
  --bg-2: #151916;
  --bg-3: #1c211e;
  --text: #f2ece2;
  --muted: #9b968c;
  --faint: #6e6a62;
  --line: #2a2f2c;
  --cream: #e8e0d4;
  --cream-2: #cfc6b8;
  --ink: #0e100f;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.home::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.serif { font-family: "Instrument Serif", Georgia, serif; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(720px, calc(100% - var(--pad) * 2)); margin-inline: auto; }

/* NAV */
header.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad);
}
body.home header.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 28px var(--pad) 0;
}
.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.wordmark b {
  font-weight: 500;
  letter-spacing: .28em;
  font-size: 11px;
  text-transform: uppercase;
}
.wordmark em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cream-2);
}
.nav-links a:hover { color: var(--text); }
.nav-links .lic {
  color: var(--cream-2);
  letter-spacing: .08em;
  font-size: 11px;
  text-transform: uppercase;
}
.nav-links .back { color: var(--muted); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
}
.hero-copy {
  padding: 140px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 760px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .96;
  letter-spacing: -0.02em;
  max-width: 11ch;
}
.hero h1 span { display: block; }
.hero .lede {
  margin-top: 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}
.btn-primary { background: var(--cream); color: var(--ink); }
.btn-primary:hover { background: #f4eee6; }
.btn-ghost { background: transparent; color: var(--cream); border-color: #4a463e; }
.btn-ghost:hover { border-color: var(--cream); }

.hero-photo {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

section { padding: 112px 0; }
.kicker {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 16px;
}
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* CREDENTIALS */
.credentials {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}
.credentials .split { align-items: start; }
.credentials h2 { max-width: 16ch; }
.credentials h2 a { color: inherit; }
.credentials h2 a:hover { color: var(--cream); }
.credentials .body { color: var(--muted); font-weight: 300; max-width: 46ch; padding-top: 28px; }
.credentials .body p + p { margin-top: 18px; }
.credentials .lic-inline {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.credentials .lic-inline:hover { border-bottom-color: var(--cream); }
.verify {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cream-2);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.verify:hover { color: var(--text); border-bottom-color: var(--cream); }

/* WHO */
.who { background: var(--bg); }
.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.audiences article {
  padding: 36px 36px 8px 0;
  border-right: 1px solid var(--line);
  padding-right: 40px;
  margin-right: 40px;
}
.audiences article:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.audiences h3 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.audiences p { color: var(--muted); font-weight: 300; max-width: 32ch; }
.quiet-link {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cream-2);
  font-weight: 400;
  max-width: none;
}
.quiet-link a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.quiet-link a:hover { color: var(--text); border-bottom-color: var(--cream); }

/* STORY */
.story { background: var(--bg-2); }
.story blockquote {
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  font-style: italic;
  max-width: 18ch;
}
.story .body { color: var(--muted); font-weight: 300; max-width: 46ch; }
.story .body p + p { margin-top: 18px; }

/* HOW */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.steps article { padding: 36px 48px 0 0; }
.num {
  font-family: "Instrument Serif", serif;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.steps h3 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.steps p { color: var(--muted); font-weight: 300; max-width: 32ch; }

/* PATHS */
.paths { background: var(--bg); }
.paths h2 { margin-bottom: 0; }
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-top: 48px;
}
.path { padding: 48px; }
.path + .path { border-left: 1px solid var(--line); }
.path h3 {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}
.path p { color: var(--muted); font-weight: 300; margin-bottom: 28px; max-width: 38ch; }
.path-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--faint);
  font-weight: 300;
}

/* SPECIALTIES */
.spec-intro {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 300;
  max-width: 46ch;
}
.spec-list { margin-top: 48px; }
.spec {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.spec:last-child { border-bottom: 1px solid var(--line); }
.spec h3 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-weight: 400;
}
.spec p { color: var(--muted); font-weight: 300; max-width: 56ch; }

/* FAQ */
.faq-list { margin-top: 48px; }
details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-weight: 300; }
details[open] summary::after { content: "–"; }
details p {
  color: var(--muted);
  font-weight: 300;
  margin-top: 14px;
  max-width: 62ch;
}
details p a { border-bottom: 1px solid var(--line); color: var(--cream-2); }
details p a:hover { color: var(--text); border-bottom-color: var(--cream); }
.faq-cta { margin-top: 40px; }

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 48px var(--pad) 64px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}
.foot-id {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}
.foot-id a { border-bottom: 1px solid var(--line); }
.foot-id a:hover { color: var(--text); }
.fine {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.copy {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.legal-links {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-links a:hover { color: var(--cream-2); }

/* FORMS */
label.field {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 22px 0 8px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 10px 0;
  font: inherit;
  outline: none;
  border-radius: 0;
  appearance: none;
}
input:focus, textarea:focus, select:focus { border-bottom-color: var(--cream); }
textarea { resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.alt-path {
  margin-top: 20px;
  font-size: 14px;
  color: var(--faint);
  font-weight: 300;
}
.alt-path a { border-bottom: 1px solid var(--line); color: var(--cream-2); }
.alt-path a:hover { color: var(--text); }

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 6px 0 4px;
}
.seg label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}
.stack { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.stack label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--cream-2);
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}
input[type="checkbox"] { border-radius: 2px; }
input[type="radio"]:checked {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: inset 0 0 0 3px var(--bg);
}
input[type="checkbox"]:checked {
  background: var(--cream);
  border-color: var(--cream);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0;
  font-size: 22px;
  font-family: "Instrument Serif", serif;
  color: var(--text);
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}
.check-list { margin-top: 12px; border-top: 1px solid var(--line); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { margin-top: 3px; }

/* ANALYSIS LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 88px);
  border-top: 1px solid var(--line);
}
aside.rail-wrap {
  border-right: 1px solid var(--line);
  padding: 48px 36px;
}
aside.rail-wrap p.note {
  font-size: 13px;
  color: var(--faint);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.5;
}
.rail { list-style: none; }
.rail li {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.rail a, .rail span.row-label {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  color: inherit;
}
.rail li.now,
.rail li.now a,
.rail li.now .row-label { color: var(--cream); }
.rail li.now span:first-child { color: var(--cream); }
main.form-main { padding: 64px clamp(24px, 6vw, 96px) 80px; max-width: 720px; }
.progress {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 0 calc(-1 * clamp(24px, 6vw, 96px)) 36px;
  position: relative;
}
.progress i { display: block; height: 1px; background: var(--cream); width: 0; }
h1.page-h,
h2.page-h {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.lede {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 46ch;
}

/* CONVERSATION / DONE */
.page-form { padding: 72px 0 120px; }
.page-form .lede { margin-bottom: 40px; }

@media (min-height: 1200px) {
  .hero, .hero-photo { min-height: 900px; }
  .hero-photo img { height: 100%; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 110px var(--pad) 48px; }
  .hero h1 { max-width: none; }
  .hero-photo { min-height: 72vw; }
  .hero-photo img { position: relative; height: 72vw; }
  .split, .audiences, .steps, .path-grid, .spec { grid-template-columns: 1fr; gap: 24px; }
  .audiences article, .path + .path { border-right: 0; border-left: 0; margin: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .nav-links { gap: 16px; }
  .foot { flex-direction: column; align-items: start; }
  section { padding: 80px 0; }
  .credentials { padding: 72px 0; }
  .credentials .body { padding-top: 0; }
  .row { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  aside.rail-wrap { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px var(--pad); }
}


@media (max-width: 720px) {
  header.nav {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 16px;
  }
  .nav-links {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 12px 20px;
  }
  .nav-links .lic { display: none; }
}
/* WordPress chrome */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.skip-link:focus { left: var(--pad); top: 12px; }
.screen-reader-text,
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.admin-bar header.nav { }
body.home.admin-bar header.nav { top: 32px; }
@media (max-width: 782px) {
  body.home.admin-bar header.nav { top: 46px; }
}
.form-notice {
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 300;
}
.form-notice.is-error { border-color: #6a3a32; color: var(--cream); }
.fna-step[hidden] { display: none !important; }
.save-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--cream-2);
  font-weight: 300;
}
.save-note[hidden] { display: none !important; }
.content-page .body,
.disclosures .body { color: var(--muted); font-weight: 300; max-width: 62ch; }
.content-page .body p + p,
.disclosures .body p + p { margin-top: 18px; }
.content-page .body h2,
.disclosures .body h2 {
  font-size: 28px;
  margin: 40px 0 12px;
}
.content-page .body a:not(.btn),
.disclosures .body a:not(.btn) { border-bottom: 1px solid var(--line); color: var(--cream-2); }
.content-page .body a:not(.btn):hover,
.disclosures .body a:not(.btn):hover { color: var(--text); border-bottom-color: var(--cream); }
.content-page .body p.cta-row { margin-top: 48px; }
.content-page .body blockquote {
  font-family: "Instrument Serif", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  font-style: italic;
  color: var(--text);
  margin: 36px 0 8px;
  max-width: 38ch;
}
.content-page .body p.also-links {
  margin-top: 48px;
  font-size: 14px;
  color: var(--faint);
  font-weight: 300;
}
.spec h3 a:hover { color: var(--cream); }
button.btn { appearance: none; }

/* Form semantics (legend instead of fake labels) */
fieldset { border: 0; min-inline-size: 0; padding: 0; margin: 0; }
legend.field { float: none; width: 100%; padding: 0; }
.form-main { padding: 64px clamp(24px, 6vw, 96px) 80px; max-width: 720px; }
button { font-family: inherit; }

.no-js .fna-step[hidden] { display: block !important; }
.no-js .fna-step { margin-bottom: 72px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.no-js [data-next], .no-js [data-save] { display: none; }
.no-js .progress { display: none; }

.money {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.money:focus-within { border-bottom-color: var(--cream); }
.money span {
  color: var(--cream-2);
  font-size: 18px;
  line-height: 1;
  padding-bottom: 10px;
}
.money input {
  border-bottom: 0;
  flex: 1;
  min-width: 0;
}
.money input:focus { border-bottom: 0; }
.opt {
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

.check-list + fieldset { margin-top: 40px; }
.fna-step[data-step="6"] .row { align-items: end; }
