/* ==========================================================
   REWIRED FINANCE | FIELD NOTES
   Responsive homepage styles
   Breakpoints: 1100px, 820px, 640px, 420px
   ========================================================== */

:root {
  --rf-teal: #09c1b3;
  --rf-teal-dark: #079f98;
  --rf-pink: #ff0b82;
  --rf-slate: #35465f;
  --rf-slate-mid: #526176;
  --rf-copy: #778395;
  --rf-offwhite: #f5f5ef;
  --rf-pale-mint: #e9f8f6;
  --rf-pale-pink: #fff0f7;
  --rf-line: #d8dedb;
  --rf-max-width: 1440px;
  --rf-page-gutter: clamp(22px, 6vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: #fff;
  color: var(--rf-slate);
  font-family: "Varela Round", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--rf-pink); outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Navigation */
.site-header { background: #fff; }
.site-header__inner {
  width: min(calc(100% - var(--rf-page-gutter) - var(--rf-page-gutter)), var(--rf-max-width));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
}
.brand-mark { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-mark img { display: block; width: clamp(66px, 6vw, 92px); height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 44px); margin-left: auto; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rf-slate-mid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--rf-teal-dark); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgb(53 70 95 / 14%); }
.button--pink { background: var(--rf-pink); color: #fff; }
.button--pink:hover { background: #df006f; }
.button--nav { flex: 0 0 auto; }

/* Hero: editorial headline, right-side rings, and brand-colour dash accent */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: clamp(350px, 34vw, 485px);
  align-items: center;
  justify-content: flex-start;
  padding: clamp(42px, 5vw, 76px) var(--rf-page-gutter);
  background: linear-gradient(112deg, #293e57 0%, #354a65 52%, #2e425b 100%);
  color: #fff;
  text-align: left;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 10% 100%, rgb(9 193 179 / 8%), transparent 48%);
  content: "";
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
}
.hero__brand { color: var(--rf-teal); }

/* Shared page sections */
.section-shell { padding-right: var(--rf-page-gutter); padding-left: var(--rf-page-gutter); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--rf-slate-mid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.9px;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow__dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--rf-teal); vertical-align: 1px; }
.eyebrow__slash { color: #96a0ad; padding-left: 4px; }
.body-copy { color: var(--rf-copy); font-size: 13px; line-height: 1.85; }
.text-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 13px;
  padding: 7.5px 0;
  border-bottom: 2px solid var(--rf-teal);
  color: #00a99f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}
.text-link span { display: inline-block; font-size: 21px; font-weight: 400; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Latest Field Note: deliberate type-led treatment, no image needed */
.latest-note {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
  align-items: center;
  gap: clamp(22px, 5vw, 76px);
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(50px, 6vw, 80px);
  background: #fff;
}
.latest-note__copy { min-width: 0; }
.latest-note h2 {
  margin: 0 0 18px;
  color: var(--rf-slate-mid);
  font-size: clamp(39px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.03;
  overflow-wrap: anywhere;
}
.latest-note__lead { margin: 0 0 13px; color: var(--rf-slate-mid); font-size: clamp(19px, 2vw, 25px); line-height: 1.4; }
.latest-note .body-copy { max-width: 480px; margin: 0 0 25px; }

/* Minimal pull quote: no card, icon or paragraph */
.pullquote { padding-top: clamp(48px, 5.5vw, 73px); padding-bottom: clamp(50px, 5.8vw, 77px); background: var(--rf-offwhite); }
.pullquote h2 { margin: 0; color: var(--rf-slate); font-size: clamp(44px, 7.1vw, 86px); font-weight: 900; letter-spacing: -.055em; line-height: 1.05; }
.pullquote__underlined { position: relative; display: inline-block; white-space: nowrap; }
.pullquote__underlined::after { position: absolute; right: 1%; bottom: -3px; left: 0; height: 5px; border-radius: 80% 25% 70% 20%; background: var(--rf-pink); content: ""; transform: rotate(-1.7deg); }

/* Teal subscription close */
.signup { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; overflow: hidden; padding: clamp(36px, 4vw, 49px) var(--rf-page-gutter); background: var(--rf-teal); color: #fff; }
.signup::after { position: absolute; right: 8%; bottom: -38px; color: rgb(255 255 255 / 12%); content: "FIELD NOTES"; font-size: clamp(53px, 9.5vw, 116px); font-weight: 900; letter-spacing: -.06em; line-height: 1; white-space: nowrap; pointer-events: none; }
.signup__copy { position: relative; z-index: 1; }
.signup .eyebrow { margin-bottom: 11px; color: #174e55; }
.signup h2 { max-width: 650px; margin: 0 0 10px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4.25vw, 50px); font-weight: 400; letter-spacing: -1px; line-height: 1.08; }
.signup p:not(.eyebrow) { max-width: 490px; margin: 0; color: #174e55; font-size: 13px; line-height: 1.7; }
.signup .button { position: relative; z-index: 1; }

/* Dark footer */
.site-footer { padding: 38px var(--rf-page-gutter) 19px; background: var(--rf-slate); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 50px); padding-bottom: 28px; }
.site-footer__logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: 1.3px; line-height: 1.06; text-decoration: none; }
.site-footer__logo img { display: block; width: 57px; height: auto; }
.site-footer__logo small { display: block; margin-top: 5px; color: var(--rf-teal); font-size: 8px; letter-spacing: 1.9px; }
.site-footer__accent { display: block; width: 36px; height: 4px; margin: 14px 0; background: var(--rf-teal); }
.site-footer p { margin: 0; color: #d5dfea; font-size: 12px; line-height: 1.8; }
.footer-heading { margin: 4px 0 14px; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 1.6px; line-height: 1.5; text-transform: uppercase; }
.site-footer__links { display: grid; align-content: start; justify-items: start; gap: 10px; }
.site-footer__links a { color: #e0e7ef; font-size: 12px; text-decoration: none; }
.site-footer__links a:hover { color: var(--rf-pink); }
.social-links { display: flex; gap: 9px; margin-top: 14px; }
.social-link { display: inline-flex; width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 1px solid #91a1b2; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 900; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.social-link:hover { border-color: var(--rf-pink); background: var(--rf-pink); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 15px; border-top: 1px solid #738196; color: #cbd5e0; font-size: 10px; line-height: 1.6; }

/* Medium laptops and landscape Surface Pro: keep content breathable */
@media (max-width: 1100px) {
  :root { --rf-page-gutter: clamp(26px, 4.5vw, 56px); }
  .latest-note { grid-template-columns: minmax(0, 1.05fr) minmax(250px, .95fr); }
  .story { padding: 22px; }
}

/* Surface Pro portrait / compact tablet / narrow laptop */
@media (max-width: 820px) {
  :root { --rf-page-gutter: 30px; }
  .site-header__inner { min-height: 72px; gap: 18px; }
  .brand-mark img { width: 68px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 10px; letter-spacing: .8px; }
  .button--nav { padding: 12px 18px; font-size: 12px; }
  .hero { min-height: 360px; }
  .latest-note { grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); gap: 25px; }
  .latest-note h2 { font-size: clamp(36px, 5vw, 48px); }
  .section-intro { gap: 25px; }
}

/* Mobile and smaller tablets */
@media (max-width: 640px) {
  :root { --rf-page-gutter: 22px; }
  .site-header__inner { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding-top: 10px; padding-bottom: 11px; }
  .brand-mark { grid-column: 1; grid-row: 1; }
  .brand-mark img { width: 57px; }
  .button--nav { grid-column: 2; grid-row: 1; min-height: 43px; padding: 11px 16px; font-size: 11px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; gap: 24px; }
  .main-nav a { min-height: 32px; font-size: 9px; }
  .latest-note { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 47px; padding-bottom: 45px; }
  .latest-note h2 { max-width: 570px; font-size: clamp(38px, 10vw, 51px); letter-spacing: -1.4px; }
  .latest-note__lead { font-size: 20px; }
  .latest-note .body-copy { margin-bottom: 22px; }
  .pullquote { padding-top: 43px; padding-bottom: 47px; }
  .pullquote h2 { font-size: clamp(41px, 10.4vw, 59px); letter-spacing: -.055em; }
  .pullquote__underlined::after { bottom: -2px; height: 4px; }
  .field-notes { padding-top: 45px; padding-bottom: 48px; }
  .field-notes__all { margin-top: 20px; }
  .signup { grid-template-columns: minmax(0, 1fr); gap: 21px; padding-top: 36px; padding-bottom: 38px; }
  .signup h2 { font-size: 36px; }
  .signup .button { justify-self: start; }
  .signup::after { right: -30px; bottom: -12px; font-size: 57px; }
  .site-footer { padding-top: 31px; padding-bottom: 17px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 18px; }
  .site-footer__connect { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: 4px; }
}

/* Small phones */
@media (max-width: 420px) {
  :root { --rf-page-gutter: 18px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 8px; letter-spacing: .65px; }
  .button--nav { padding: 10px 13px; font-size: 10px; }
  .hero { min-height: 335px; }
  .latest-note h2 { font-size: 38px; }
  .pullquote h2 { font-size: 40px; }
  .site-footer__logo img { width: 45px; }
  .site-footer__logo { gap: 7px; font-size: 12px; }
}

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


/* ==========================================================
   REFINED TYPE, BUTTON HOVER, PILLAR ICONS + FOOTER UPDATE
   These overrides intentionally appear at the end of the file.
   ========================================================== */

/* Navigation links should be comfortably readable. */
.main-nav a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .7px;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--rf-teal-dark);
}

/* Subscribe buttons: pink by default, teal on hover/focus. */
.button--pink,
.button--nav {
  background-color: var(--rf-pink);
  color: #fff;
}
.button--pink:hover,
.button--pink:focus-visible,
.button--nav:hover,
.button--nav:focus-visible {
  background-color: var(--rf-teal);
  color: #fff;
  box-shadow: 0 8px 20px rgb(9 193 179 / 25%);
  transform: translateY(-2px);
}

/* Make section labels such as Latest Field Note and archive label clearer. */
.eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.15px;
  line-height: 1.5;
}
.eyebrow__slash {
  font-weight: 900;
}
.latest-note .body-copy,
.section-intro .body-copy,
.section-intro--archive .body-copy,
.signup p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
}
.section-intro--archive .eyebrow {
  margin-bottom: 12px;
}
.latest-note__lead {
  font-size: clamp(21px, 2.2vw, 27px);
}


/* Footer: closer to the supplied three-column reference. */
.site-footer {
  padding: 26px var(--rf-page-gutter) 20px;
  background: #35465f;
  color: #fff;
}
.site-footer__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(24px, 3.4vw, 48px);
  padding-bottom: 30px;
}
.site-footer__brand,
.site-footer__links,
.site-footer__connect {
  min-width: 0;
}
.site-footer__links,
.site-footer__connect {
  min-height: 100%;
  padding-left: clamp(20px, 2.5vw, 38px);
  border-left: 1px solid #718096;
}
.site-footer__links {
  border-left: 3px solid var(--rf-teal);
  gap: 13px;
}
.footer-heading {
  margin: 4px 0 13px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.5;
}
.site-footer__links a {
  font-size: 16px;
  line-height: 1.65;
  transition: color .2s ease;
}
.site-footer p {
  font-size: 16px;
  line-height: 1.8;
}
.site-footer__connect p {
  max-width: 370px;
}
.site-footer__accent {
  width: 52px;
  height: 6px;
  margin: 20px 0 24px;
}
.site-footer__logo {
  font-size: 20px;
  letter-spacing: 2px;
}
.site-footer__logo img {
  width: 65px;
}
.site-footer__logo small {
  font-size: 9px;
  letter-spacing: 2px;
}
.social-links {
  gap: 12px;
  margin-top: 18px;
}
.social-link {
  width: 48px;
  min-height: 48px;
  border-width: 1.5px;
  font-size: 17px;
}
.social-link:hover,
.social-link:focus-visible {
  border-color: var(--rf-teal);
  background: var(--rf-teal);
  color: #fff;
}
.site-footer__bottom {
  padding-top: 17px;
  font-size: 13px;
}

@media (max-width: 820px) {
  .main-nav a { font-size: 13px; }
  .eyebrow { font-size: 13px; }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__links { padding-left: 20px; }
  .site-footer__connect { padding-left: 20px; }
}

@media (max-width: 640px) {
  .main-nav { gap: clamp(16px, 5vw, 25px); }
  .main-nav a { font-size: 12px; letter-spacing: .35px; }
  .button--nav { font-size: 12px; }
  .eyebrow { font-size: 12px; letter-spacing: .8px; }
  .latest-note .body-copy,
  .section-intro .body-copy,
  .section-intro--archive .body-copy,
  .signup p:not(.eyebrow) { font-size: 15px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__links,
  .site-footer__connect {
    grid-column: auto;
    padding: 20px 0 0;
    border-top: 1px solid #718096;
    border-left: 0;
  }
  .site-footer__links { border-top: 3px solid var(--rf-teal); }
  .footer-heading { font-size: 13px; }
  .site-footer__links a,
  .site-footer p { font-size: 15px; }
  .site-footer__bottom { font-size: 12px; }
}

@media (max-width: 420px) {
  .main-nav a { font-size: 11px; }
  .button--nav { padding: 10px 13px; font-size: 11px; }
}




/* Latest Field Note: keep the headline balanced and make the FP&A / Reporting / Clarity tags easier to read. */
.latest-note h2 {
  font-size: clamp(39px, 5vw, 62px);
  letter-spacing: -1.8px;
  line-height: 1.03;
  max-width: 650px;
}
.latest-note__lead {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.4;
  font-weight: 700;
}
.issue-art__tags { gap: 8px; max-width: 100%; }
.issue-art__tags span {
  padding: 9px 12px;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.2;
  letter-spacing: .8px;
}
@media (max-width: 640px) {
  .latest-note h2 { font-size: clamp(36px, 8vw, 48px); letter-spacing: -1.2px; }
  .latest-note__lead { font-size: clamp(19px, 5vw, 23px); }
  .issue-art__tags span { padding: 8px 10px; font-size: 10px; }
}

/* Complete styles for the revised rf-footer-dark HTML supplied by you. */
.rf-footer-dark {
  width: 100%;
  padding: 54px var(--rf-page-gutter, clamp(20px, 5vw, 76px)) 20px;
  background: #35465f;
  color: #fff;
  box-sizing: border-box;
}
.rf-footer-dark *, .rf-footer-dark *::before, .rf-footer-dark *::after { box-sizing: border-box; }
.rf-footer-dark-inner { width: min(100%, 1440px); margin: 0 auto; }
.rf-footer-dark-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .85fr) minmax(220px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  padding-bottom: 42px;
}
.rf-footer-dark-brand, .rf-footer-dark-nav, .rf-footer-dark-connect { min-width: 0; }
.rf-footer-dark-logo {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  font-family: "Varela Round", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -1.2px;
  text-decoration: none;
}
.rf-footer-dark-logo span:first-child { color: #09c1b3; }
.rf-footer-dark-accent {
  display: block;
  width: 58px;
  height: 4px;
  margin: 20px 0 17px;
  background: #09c1b3;
}
.rf-footer-dark-brand p, .rf-footer-dark-connect > p {
  margin: 0;
  color: #e1e7ee;
  font-size: 16px;
  line-height: 1.7;
}
.rf-footer-dark-nav h3, .rf-footer-dark-connect h3 {
  margin: 4px 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.rf-footer-dark-rule {
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 0 17px;
  background: #09c1b3;
}
.rf-footer-dark-nav ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.rf-footer-dark-nav a, .rf-footer-dark-contact-link {
  color: #e1e7ee;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}
.rf-footer-dark-nav a:hover, .rf-footer-dark-nav a:focus-visible,
.rf-footer-dark-contact-link:hover, .rf-footer-dark-contact-link:focus-visible { color: #09c1b3; }
.rf-footer-dark-socials { display: flex; gap: 10px; margin: 20px 0 18px; }
.rf-footer-dark-social {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  background: transparent;
  color: #fff !important;
  font-size: 18px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.rf-footer-dark-social:hover, .rf-footer-dark-social:focus-visible {
  border-color: #09c1b3;
  background: #09c1b3;
  color: #35465f !important;
}
.rf-footer-dark-contact-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.rf-footer-dark-contact-link span { color: #09c1b3; font-size: 20px; }
.rf-footer-dark-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}
.rf-footer-dark-bottom p { margin: 0; color: #c8d1dc; font-size: 13px; line-height: 1.6; }
@media (max-width: 760px) {
  .rf-footer-dark { padding-top: 42px; }
  .rf-footer-dark-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 28px; }
  .rf-footer-dark-brand { grid-column: 1 / -1; }
  .rf-footer-dark-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .rf-footer-dark { padding: 34px 20px 18px; }
  .rf-footer-dark-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .rf-footer-dark-brand { grid-column: auto; }
  .rf-footer-dark-logo { font-size: 32px; }
  .rf-footer-dark-nav h3, .rf-footer-dark-connect h3 { font-size: 14px; }
  .rf-footer-dark-nav a, .rf-footer-dark-brand p, .rf-footer-dark-connect > p { font-size: 15px; }
}

/* ==========================================================
   FIELD NOTE ARTICLE + KIT NEWSLETTER EMBED
   Added to the existing Rewired Finance stylesheet.
   ========================================================== */


/* Sensible defaults for Kit form controls when the embed uses regular HTML fields. */
.rf-kit-embed form { width:100%; }
.rf-kit-embed input[type="text"],.rf-kit-embed input[type="email"],.rf-kit-embed input[type="name"],.rf-kit-embed select,.rf-kit-embed textarea { width:100%; min-height:50px; padding:12px 15px; border:1px solid #d7dfe3; border-radius:7px; background:#fff; color:var(--rf-slate); font:inherit; }
.rf-kit-embed input:focus,.rf-kit-embed select:focus,.rf-kit-embed textarea:focus { outline:3px solid rgba(9,193,179,.22); border-color:var(--rf-teal); }
.rf-kit-embed button,.rf-kit-embed input[type="submit"],.rf-kit-embed [type="submit"] { display:inline-flex; justify-content:center; align-items:center; min-height:50px; padding:13px 25px; border:0; border-radius:7px; background:var(--rf-teal); color:#fff; font:inherit; font-weight:800; cursor:pointer; transition:background-color .2s ease,transform .2s ease; }
.rf-kit-embed button:hover,.rf-kit-embed input[type="submit"]:hover,.rf-kit-embed [type="submit"]:hover { background:var(--rf-teal-dark); }
.rf-kit-embed button:focus-visible,.rf-kit-embed [type="submit"]:focus-visible { outline:3px solid var(--rf-pink); outline-offset:3px; }
.rf-kit-embed label { display:block; margin-bottom:6px; color:var(--rf-slate); font-size:14px; }
.rf-kit-embed .formkit-field,.rf-kit-embed .formkit-form > div { margin-bottom:12px; }
.rf-kit-embed .formkit-submit,.rf-kit-embed .formkit-submit > span { width:auto; }

/* ==========================================================
   DEDICATED SUBSCRIBE PAGE
   Uses the shared Rewired Finance stylesheet and brand palette.
   ========================================================== */
.rf-subscribe-page { background:#f7f9fa; color:var(--rf-slate); }
.rf-subscribe-main { width:min(100% - 40px,1000px); margin:44px auto 64px; }
.rf-subscribe-intro { max-width:720px; margin:0 auto 28px; text-align:center; }
.rf-subscribe-eyebrow { margin:0 0 10px; color:var(--rf-teal-dark); font-size:12px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; }
.rf-subscribe-intro h1 { margin:0 0 12px; color:var(--rf-slate); font-size:clamp(34px,5vw,54px); line-height:1.1; letter-spacing:-1.4px; }
.rf-subscribe-intro > p:last-child { max-width:620px; margin:0 auto; color:var(--rf-slate-mid); font-size:clamp(16px,2vw,19px); line-height:1.7; }
.rf-subscribe-card { overflow:hidden; border:1px solid #e4e9ec; border-radius:16px; background:#fff; box-shadow:0 14px 42px rgba(53,70,95,.09); }
.rf-subscribe-banner { height:clamp(110px,16vw,175px); background:#f4f5f2 url("/assets/newsletter-banner.png") center 48%/cover no-repeat; }
.rf-subscribe-card-body { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(24px,5vw,54px); padding:clamp(24px,5vw,52px); align-items:start; }
.rf-subscribe-message h2 { margin:0 0 12px; color:var(--rf-slate); font-size:clamp(23px,3vw,30px); line-height:1.25; }
.rf-subscribe-message p { margin:0 0 14px; color:var(--rf-slate-mid); font-size:15px; line-height:1.75; }
.rf-subscribe-benefits { display:grid; gap:11px; margin:22px 0 0; padding:0; list-style:none; }
.rf-subscribe-benefits li { display:flex; align-items:flex-start; gap:10px; color:var(--rf-slate-mid); font-size:14px; line-height:1.55; }
.rf-subscribe-benefits li::before { content:"✓"; flex:0 0 22px; display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#e0f8f4; color:var(--rf-teal-dark); font-weight:800; }
.rf-subscribe-form-panel { min-width:0; padding:clamp(18px,3vw,28px); border:1px solid #e7ecef; border-radius:12px; background:#fcfdfd; }
.rf-subscribe-form-heading { margin:0 0 7px; color:var(--rf-slate); font-size:20px; }
.rf-subscribe-form-description { margin:0 0 20px; color:var(--rf-slate-mid); font-size:14px; line-height:1.6; }
.rf-subscribe-kit { width:100%; }
.rf-subscribe-kit form { width:100%; }
.rf-subscribe-kit input[type="text"],.rf-subscribe-kit input[type="email"],.rf-subscribe-kit input[type="name"],.rf-subscribe-kit select,.rf-subscribe-kit textarea { box-sizing:border-box; width:100%; min-height:50px; padding:12px 14px; border:1px solid #d7dfe3; border-radius:7px; background:#fff; color:var(--rf-slate); font:inherit; }
.rf-subscribe-kit input:focus,.rf-subscribe-kit select:focus,.rf-subscribe-kit textarea:focus { outline:3px solid rgba(9,193,179,.2); border-color:var(--rf-teal); }
.rf-subscribe-kit label { display:block; margin-bottom:6px; color:var(--rf-slate); font-size:14px; }
.rf-subscribe-kit .formkit-field,.rf-subscribe-kit .formkit-form > div { margin-bottom:12px; }
.rf-subscribe-kit button,.rf-subscribe-kit input[type="submit"],.rf-subscribe-kit [type="submit"] { display:flex; justify-content:center; align-items:center; box-sizing:border-box; width:100%; min-height:50px; padding:13px 22px; border:0; border-radius:7px; background:var(--rf-teal); color:#fff; font:inherit; font-weight:800; cursor:pointer; transition:background-color .2s ease,transform .2s ease; }
.rf-subscribe-kit button:hover,.rf-subscribe-kit input[type="submit"]:hover,.rf-subscribe-kit [type="submit"]:hover { background:var(--rf-teal-dark); }
.rf-subscribe-kit button:focus-visible,.rf-subscribe-kit [type="submit"]:focus-visible { outline:3px solid var(--rf-pink); outline-offset:3px; }
.rf-subscribe-privacy { margin:14px 0 0; color:var(--rf-copy); text-align:center; font-size:12px; line-height:1.6; }
.rf-subscribe-back { display:inline-flex; margin-top:25px; color:var(--rf-slate-mid); text-decoration:none; font-size:14px; font-weight:700; }
.rf-subscribe-back:hover { color:var(--rf-teal-dark); }
@media (max-width:700px) { .rf-subscribe-main { width:calc(100% - 28px); margin:28px auto 38px; } .rf-subscribe-card-body { grid-template-columns:1fr; gap:22px; padding:22px; } .rf-subscribe-intro { margin-bottom:22px; } .rf-subscribe-intro h1 { letter-spacing:-.8px; } .rf-subscribe-banner { height:112px; } }


/* Subscribe page header and final layout safeguards. */
.rf-article-header__inner { width:min(calc(100% - var(--rf-page-gutter) - var(--rf-page-gutter)),var(--rf-max-width)); min-height:78px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.rf-article-wordmark { display:inline-flex; flex-direction:column; flex:0 0 auto; color:var(--rf-slate); font-size:clamp(21px,2.5vw,29px); font-weight:800; letter-spacing:-.8px; line-height:.98; text-decoration:none; }
.rf-article-wordmark span:first-child { color:var(--rf-teal-dark); }
.rf-article-wordmark i { display:block; width:34px; height:4px; margin-top:9px; background:var(--rf-pink); }
.rf-article-nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:clamp(16px,2.8vw,36px); }
.rf-article-nav a { display:inline-flex; min-height:44px; align-items:center; color:var(--rf-slate-mid); font-size:12px; font-weight:800; letter-spacing:.7px; text-decoration:none; text-transform:uppercase; }
.rf-article-nav a:hover,.rf-article-nav a:focus-visible { color:var(--rf-teal-dark); }
.rf-kit-placeholder { padding:20px; border:1px dashed #bdc9d0; border-radius:8px; background:#fff; color:var(--rf-slate-mid); font-size:14px; line-height:1.65; }
.rf-kit-placeholder p { margin:0 0 8px; }
.rf-kit-placeholder p:last-child { margin-bottom:0; }
.rf-subscribe-form-panel .rf-subscribe-form-heading { font-size:clamp(21px,2.4vw,27px); line-height:1.25; }
.rf-subscribe-card { border-radius:14px; }
@media (max-width:640px) { .rf-article-header__inner { width:calc(100% - 36px); min-height:70px; align-items:flex-start; padding:14px 0; gap:14px; } .rf-article-wordmark { font-size:22px; } .rf-article-nav { gap:12px; } .rf-article-nav a { min-height:32px; font-size:10px; letter-spacing:.2px; } }
@media (max-width:420px) { .rf-article-header__inner { flex-direction:column; align-items:flex-start; } .rf-article-nav { width:100%; justify-content:flex-start; gap:18px; } }



/* Cookie consent */
.cookie-banner[hidden],
.cookie-settings[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  color: #35465f;
  background: #fff;
  border: 1px solid rgba(53, 70, 95, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(20, 31, 48, 0.22);
  font-family: inherit;
}

.cookie-eyebrow {
  margin: 0 0 10px;
  color: #d94f83;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin: 0 0 12px;
  color: #35465f;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.cookie-banner p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.cookie-privacy-link,
.footer-cookie-link {
  color: #35465f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.cookie-button {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #35465f;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.cookie-button-primary {
  color: #fff;
  background: #35465f;
}

.cookie-button-primary:hover {
  background: #253448;
}

.cookie-button-secondary {
  color: #35465f;
  background: #fff;
}

.cookie-button-secondary:hover {
  background: #f2f4f7;
}

.cookie-settings-link {
  justify-self: center;
  padding: 8px;
  color: #35465f;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-settings {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e5e8ed;
}

.cookie-settings h3 {
  margin: 0;
  font-size: 1.1rem;
}

.cookie-settings > p {
  margin-bottom: 16px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e5e8ed;
  cursor: pointer;
}

.cookie-option span {
  display: grid;
  gap: 4px;
}

.cookie-option strong {
  font-size: 0.92rem;
}

.cookie-option small {
  color: #697586;
  font-size: 0.8rem;
  line-height: 1.4;
}

.cookie-option input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #d94f83;
  cursor: pointer;
}

.cookie-option input:disabled {
  cursor: not-allowed;
}

.cookie-button:focus-visible,
.cookie-settings-link:focus-visible,
.cookie-privacy-link:focus-visible,
.footer-cookie-link:focus-visible,
.cookie-option input:focus-visible {
  outline: 3px solid #d94f83;
  outline-offset: 3px;
}

.footer-cookie-link {
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 22px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-button {
    transition: none;
  }
}



/* Keep Latest Field Note compact and editorial */
section.latest-note.section-shell {
  width: calc(100% - 80px);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  section.latest-note.section-shell {
    width: calc(100% - 40px);
  }
}


/* Full-width section, with a narrower text area */
.pullquote h2 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Give the signup section consistent side breathing room */
section.signup {
  padding-left: max(var(--rf-page-gutter), calc((100% - 1440px) / 2));
  padding-right: max(var(--rf-page-gutter), calc((100% - 1440px) / 2));
  box-sizing: border-box;
}

/* ==========================================================
   LATEST FIELD NOTE: screenshot-matched editorial layout
   White background, oversized issue number, mint brushstroke
   behind the headline, pink underline and right-hand summary.
   ========================================================== */
.latest-note.section-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(145px, .58fr) minmax(0, 1.9fr) minmax(245px, .82fr);
  align-items: center;
  column-gap: clamp(30px, 4vw, 62px);
  padding: clamp(70px, 7.3vw, 112px) max(var(--rf-page-gutter), calc((100% - 1430px) / 2));
  background: #fff;
}
.latest-note__index {
  align-self: stretch;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid var(--rf-teal);
}
.latest-note__index span {
  display: block;
  color: #09c1b3;
  font-size: clamp(110px, 13.5vw, 205px);
  font-weight: 900;
  letter-spacing: -.105em;
  line-height: .9;
  user-select: none;
}
.latest-note__copy { min-width: 0; }
.latest-note .eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 20px;
  color: #718096;
  font-size: clamp(11px, .9vw, 14px);
  font-weight: 900;
  letter-spacing: 1.15px;
  line-height: 1.5;
}
.latest-note .eyebrow__dot { width: 9px; height: 9px; margin-right: 9px; }
.latest-note .eyebrow__slash { padding-left: 5px; color: #8793a3; }
.latest-note h2 {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 28px;
  color: var(--rf-slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.05vw, 63px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
}
.latest-note h2::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3.5%;
  right: -2%;
  top: 2%;
  height: 78%;
  background: #d9efec;
  opacity: .96;
  border-radius: 48% 15% 39% 12% / 34% 18% 29% 24%;
  transform: rotate(-1.2deg);
  clip-path: polygon(3% 20%, 12% 7%, 34% 3%, 52% 8%, 74% 0, 94% 13%, 100% 33%, 96% 47%, 100% 66%, 91% 80%, 72% 75%, 53% 86%, 31% 78%, 13% 91%, 1% 71%, 4% 49%, 0 36%);
}
.latest-note h2::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 1%;
  bottom: -13px;
  width: min(56%, 390px);
  height: 8px;
  border-radius: 90% 22% 70% 30%;
  background: var(--rf-pink);
  transform: rotate(-3.1deg);
}
.latest-note__lead {
  margin: 0;
  color: #718096;
  font-size: clamp(15px, 1.28vw, 21px);
  line-height: 1.8;
}
.latest-note__aside {
  min-width: 0;
  padding-left: clamp(0px, 1.3vw, 18px);
}
.latest-note__aside .body-copy {
  max-width: 370px;
  margin: 0 0 36px;
  color: #718096;
  font-size: clamp(15px, 1.22vw, 20px);
  line-height: 1.8;
}
.latest-note__aside .text-link {
  font-size: clamp(15px, 1.15vw, 19px);
  color: #00aaa0;
  border-bottom-width: 2px;
  padding-bottom: 5px;
}

.text-link:hover {
  color: #ff0b82;
  border-color: #ff0b82;
}

@media (max-width: 1050px) {
  .latest-note.section-shell {
    grid-template-columns: minmax(115px, .45fr) minmax(0, 1.65fr) minmax(200px, .8fr);
    column-gap: clamp(22px, 3vw, 34px);
  }
  .latest-note__index span { font-size: clamp(105px, 13vw, 155px); }
  .latest-note h2 { font-size: clamp(34px, 4vw, 45px); }
}
@media (max-width: 760px) {
  .latest-note.section-shell {
    grid-template-columns: 105px minmax(0, 1fr);
    column-gap: 25px;
    row-gap: 28px;
    padding-top: 56px;
    padding-bottom: 58px;
  }
  .latest-note__index { grid-row: 1 / span 2; }
  .latest-note__index span { font-size: clamp(95px, 16vw, 145px); }
  .latest-note h2 { font-size: clamp(34px, 6vw, 48px); }
  .latest-note__aside { grid-column: 2; padding-left: 0; }
  .latest-note__aside .body-copy { max-width: 520px; margin-bottom: 20px; }
  .latest-note__lead { font-size: 16px; }
  .desktop-break { display: none; }
}
@media (max-width: 520px) {
  .latest-note.section-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px var(--rf-page-gutter) 48px;
  }
  .latest-note__index {
    grid-row: auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--rf-teal);
    padding-bottom: 12px;
  }
  .latest-note__index span { font-size: 82px; }
  .latest-note .eyebrow { margin-bottom: 15px; }
  .latest-note h2 { font-size: clamp(34px, 9vw, 44px); margin-bottom: 24px; }
  .latest-note h2::after { bottom: -10px; height: 6px; }
  .latest-note__aside { grid-column: 1; }
  .latest-note__aside .body-copy { font-size: 15px; }
}


/* ==========================================================
   LATEST FIELD NOTE: layout correction
   Keep the three columns stable and prevent headline collapse.
   ========================================================== */
section.latest-note.section-shell {
  display: grid !important;
  grid-template-columns: minmax(135px, 175px) minmax(340px, 1fr) minmax(220px, 285px) !important;
  align-items: center !important;
  column-gap: clamp(24px, 3.2vw, 48px) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(64px, 7vw, 104px) max(28px, calc((100% - 1430px) / 2)) !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
section.latest-note .latest-note__index {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: auto !important;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-right: 2px solid #09c1b3 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
}
section.latest-note .latest-note__index span {
  display: block !important;
  white-space: nowrap !important;
  font-size: clamp(112px, 13vw, 190px) !important;
  line-height: .85 !important;
  letter-spacing: -.10em !important;
}
section.latest-note .latest-note__copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
section.latest-note .latest-note__copy h2 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  font-size: clamp(36px, 4.1vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}
section.latest-note .latest-note__aside {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 285px !important;
  padding-left: 0 !important;
  align-self: center !important;
}
section.latest-note .latest-note__aside .body-copy {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
}
@media (max-width: 1050px) {
  section.latest-note.section-shell {
    grid-template-columns: minmax(110px, 145px) minmax(280px, 1fr) minmax(190px, 235px) !important;
    column-gap: 24px !important;
    padding-left: 34px !important;
    padding-right: 34px !important;
  }
  section.latest-note .latest-note__copy h2 {
    font-size: clamp(34px, 4.2vw, 46px) !important;
  }
  section.latest-note .latest-note__index span {
    font-size: clamp(105px, 13vw, 145px) !important;
  }
}
@media (max-width: 760px) {
  section.latest-note.section-shell {
    grid-template-columns: 105px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 24px !important;
    row-gap: 24px !important;
    padding: 54px 28px 58px !important;
  }
  section.latest-note .latest-note__index {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  section.latest-note .latest-note__index span {
    font-size: clamp(90px, 15vw, 135px) !important;
  }
  section.latest-note .latest-note__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  section.latest-note .latest-note__copy h2 {
    font-size: clamp(34px, 5.5vw, 44px) !important;
  }
  section.latest-note .latest-note__aside {
    grid-column: 2 !important;
    grid-row: 2 !important;
    max-width: 520px !important;
  }
}
@media (max-width: 520px) {
  section.latest-note.section-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    row-gap: 20px !important;
    padding: 42px 22px 48px !important;
  }
  section.latest-note .latest-note__index {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: flex-start !important;
    border-right: 0 !important;
    border-bottom: 1px solid #09c1b3 !important;
    padding-bottom: 10px !important;
  }
  section.latest-note .latest-note__index span {
    font-size: 76px !important;
  }
  section.latest-note .latest-note__copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  section.latest-note .latest-note__copy h2 {
    font-size: clamp(34px, 9vw, 43px) !important;
  }
  section.latest-note .latest-note__aside {
    grid-column: 1 !important;
    grid-row: 3 !important;
    max-width: none !important;
  }
}


/* HEADER CORRECTION: align elephant beside wordmark and restore wider gutters */
.site-header__inner {
  width: min(calc(100% - clamp(40px, 8vw, 120px)), 1680px);
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
}
.header-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}
.rf-article-wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  color: var(--rf-slate);
  font-size: clamp(21px, 1.55vw, 29px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: .98;
  text-decoration: none;
}
.rf-article-wordmark span:first-child { color: var(--rf-teal-dark); }
.rf-article-wordmark i { display: none !important; }
.header-brand .brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 0;
}
.header-brand .brand-mark img {
  display: block;
  width: clamp(58px, 4.4vw, 78px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.site-header__inner > .main-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
  margin-left: auto;
}
.site-header__inner > .button--nav {
  flex: 0 0 auto;
  margin-left: clamp(10px, 1.5vw, 24px);
}
@media (max-width: 760px) {
  .site-header__inner {
    width: calc(100% - 36px);
    min-height: 76px;
    gap: 14px;
  }
  .header-brand { gap: 9px; }
  .rf-article-wordmark { font-size: clamp(17px, 3.5vw, 22px); }
  .header-brand .brand-mark img { width: clamp(45px, 9vw, 60px); max-height: 52px; }
  .site-header__inner > .main-nav { gap: clamp(10px, 2vw, 18px); }
  .site-header__inner > .main-nav a { font-size: 10px; letter-spacing: .35px; }
  .site-header__inner > .button--nav { margin-left: 0; padding: 10px 14px; font-size: 11px; }
}
@media (max-width: 520px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 0;
    padding-block: 10px;
    gap: 8px 12px;
  }
  .header-brand { grid-column: 1; grid-row: 1; }
  .site-header__inner > .button--nav { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-header__inner > .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    margin: 0;
  }
}

.button-prefooter:hover {
  background-color: #fff;
  color:  #ff0b82;
}

/* ==========================================================
   HERO v2: matches the "Finance lessons I wish I'd learned sooner"
   banner. Left: kicker, serif headline, sub-line, button.
   Right: ruler illustration. Keep this block LAST in the file so
   it overrides the older hero rules above.
   ========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(320px, 28vw, 450px);
  padding: clamp(40px, 4vw, 70px) var(--rf-page-gutter);
  /* sampled from the banner: #2c415b (top-left) to #3e5069 (bottom-right) */
  background: linear-gradient(to bottom right, #2c415b 0%, #3e5069 100%);
  color: #fff;
  text-align: left;
}
.hero .hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 52%);
}
.hero .hero__kicker {
  margin: 0 0 clamp(10px, 1.2vw, 20px);
  color: var(--rf-teal);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(10px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero .hero__title {
  margin: 0 0 clamp(10px, 1.1vw, 18px);
  color: #fff;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.hero .hero__accent { color: var(--rf-pink); }
.hero .hero__sub {
  margin: 0 0 clamp(18px, 1.7vw, 28px);
  color: #c5cddb;
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(14px, 1.25vw, 21px);
  font-weight: 400;
  line-height: 1.4;
}
.hero .button--pink {
  min-height: clamp(42px, 3.1vw, 54px);
  padding: 0 clamp(22px, 2vw, 34px);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
}
.hero .hero__art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  width: clamp(320px, 37vw, 720px);
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Ruler sits on the right page margin (matches the text's left margin).
   The image has ~4.3% empty space on its right, so nudge it back by that much. */
.hero .hero__art {
  right: var(--rf-page-gutter);
  width: clamp(280px, 37vw, 720px);
  transform: translate(4.3%, -50%);
}

/* Phones only (650px and below): stack the ruler under the text */
@media (max-width: 650px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 36px var(--rf-page-gutter) 28px;
  }
  .hero .hero__content { width: 100%; }
  .hero .hero__art {
    position: static;
    width: min(100%, 440px);
    margin: 22px 0 0 auto;
    transform: translateX(4.3%);
  }
}
@media (max-width: 420px) {
  .hero .hero__kicker { letter-spacing: .26em; }
}

/* ==========================================================
   LATEST NOTE: align with the page gutter used by the hero and
   other sections (the older block above used a different, much
   smaller side padding). Keep this block LAST.
   ========================================================== */
section.latest-note.section-shell {
  padding-left: var(--rf-page-gutter) !important;
  padding-right: var(--rf-page-gutter) !important;
}
section.latest-note .latest-note__index {
  justify-content: flex-start !important;
}

/* ==========================================================
   WHAT'S INSIDE: dark slate band (replaces the old .pillars look)
   ========================================================== */
.inside {
  padding-top: clamp(44px, 5vw, 76px);
  padding-bottom: clamp(48px, 5.4vw, 80px);
  background: linear-gradient(to bottom right, #2c415b 0%, #3e5069 100%);
  color: #fff;
}
.inside__inner { max-width: 1440px; margin: 0 auto; }
.inside__kicker {
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  color: var(--rf-teal);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.inside__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px clamp(24px, 5vw, 72px);
  margin-bottom: clamp(26px, 3vw, 44px);
}
.inside__head h2 {
  margin: 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.08;
}
.inside__head p {
  max-width: 340px;
  margin: 0;
  color: #c5cddb;
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.7;
}
.inside__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 22%);
}
.inside__item { min-width: 0; padding: clamp(20px, 2.4vw, 32px) clamp(18px, 2.4vw, 36px) 0 0; }
.inside__item + .inside__item { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid rgb(255 255 255 / 22%); }
.inside__num {
  display: block;
  margin-bottom: clamp(10px, 1.2vw, 16px);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.inside__num--teal { color: var(--rf-teal); }
.inside__num--pink { color: #ff4fa3; }
.inside__item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}
.inside__item p {
  max-width: 290px;
  margin: 0;
  color: #c5cddb;
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .inside__head { flex-direction: column; align-items: flex-start; }
  .inside__grid { grid-template-columns: minmax(0, 1fr); }
  .inside__item,
  .inside__item + .inside__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    align-items: baseline;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
  }
  .inside__item:last-child { border-bottom: 0; padding-bottom: 0; }
  .inside__item { align-items: baseline; row-gap: 6px; }
  .inside__num { grid-column: 1; grid-row: 1; margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
  .inside__item h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 22px; line-height: 1.2; }
  .inside__item p { grid-column: 2; grid-row: 2; max-width: none; }
}

/* ==========================================================
   LATEST ARTICLE: heading brought into line with the other
   section headings (was noticeably larger). Keep this LAST.
   ========================================================== */
section.latest-note .latest-note__copy h2 {
  font-size: clamp(32px, 3.6vw, 48px) !important;
  letter-spacing: -.03em !important;
}

/* ==========================================================
   FROM THE ARCHIVE: dark feature card + numbered index list
   (replaces the old .field-notes / .story look)
   ========================================================== */
.archive {
  padding-top: clamp(48px, 5.5vw, 84px);
  padding-bottom: clamp(52px, 6vw, 92px);
  background: #fff;
}
.archive__inner { max-width: 1440px; margin: 0 auto; }
.archive__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(22px, 2.6vw, 36px);
}
.archive__kicker {
  margin: 0 0 12px;
  color: var(--rf-slate-mid);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.archive__head h2 {
  margin: 0;
  color: var(--rf-slate);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.08;
}
.archive__all {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--rf-teal);
  color: var(--rf-teal-dark);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.archive__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.archive__grid--with-list { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }

/* Feature card */
.archive-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 38px);
  border-radius: 8px;
  background: linear-gradient(to bottom right, #2c415b 0%, #3e5069 100%);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.archive-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(22 33 74 / 18%); }
.archive-feature__tag {
  grid-area: tag;
  margin: 0;
  color: var(--rf-teal);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.archive-feature h3 {
  grid-area: title;
  margin: 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.archive-feature__text {
  grid-area: text;
  max-width: 46ch;
  margin: 0;
  color: #c5cddb;
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.7;
}
.archive-feature__link {
  grid-area: link;
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--rf-teal);
  color: var(--rf-teal);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

/* Mini heat map: quiet cells, colour only the exceptions */
.archive-heat {
  grid-area: heat;
  display: grid;
  grid-template-columns: 1.6fr repeat(6, 1fr);
  gap: 4px;
  width: min(100%, 320px);
  margin: 4px 0;
}
.archive-heat span { display: block; height: 16px; border-radius: 2px; background: rgb(255 255 255 / 12%); }
.archive-heat span:first-child { background: transparent; }
.archive-heat .h { height: 8px; align-self: end; background: rgb(255 255 255 / 30%); }
.archive-heat .l { width: 72%; height: 6px; align-self: center; border-radius: 3px; background: rgb(255 255 255 / 42%); }
.archive-heat .m { background: rgb(255 255 255 / 24%); }
.archive-heat .t { background: var(--rf-teal); }
.archive-heat .p { background: var(--rf-pink); }

/* One article only: card spans the full width, heat map on the right */
@media (min-width: 761px) {
  .archive__grid:not(.archive__grid--with-list) .archive-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
      "tag   heat"
      "title heat"
      "text  heat"
      "link  heat";
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(24px, 5vw, 72px);
    row-gap: 14px;
    align-items: start;
    padding: clamp(28px, 3.4vw, 52px);
  }
  .archive__grid:not(.archive__grid--with-list) .archive-heat {
    justify-self: end;
    align-self: center;
    width: min(100%, 480px);
    gap: 6px;
  }
  .archive__grid:not(.archive__grid--with-list) .archive-heat span { height: clamp(18px, 2.2vw, 28px); }
  .archive__grid:not(.archive__grid--with-list) .archive-heat .h { height: 10px; }
  .archive__grid:not(.archive__grid--with-list) .archive-heat .l { height: 8px; }
}

/* Numbered list for article 02 onwards */
.archive-list {flex-direction: column; justify-content: center; }
.archive-row {
  --row-size: clamp(19px, 1.7vw, 23px);
  display: grid;
  grid-template-columns: clamp(36px, 3.4vw, 48px) minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--rf-line);
  color: inherit;
  text-decoration: none;
}
.archive-row:last-child { border-bottom: 1px solid var(--rf-line); }
.archive-row__num {
  color: var(--rf-teal);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: var(--row-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}
.archive-row__num--pink { color: var(--rf-pink); }
.archive-row h3 {
  margin: 0;
  color: var(--rf-slate);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: var(--row-size);
  font-weight: 700;
  line-height: 1.25;
  transition: color .2s ease;
}
.archive-row:hover h3 { color: var(--rf-teal-dark); }
.archive-row__meta {
  margin: 4px 0 0;
  color: var(--rf-copy);
  font-family: "Poppins", "Trebuchet MS", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .archive__head { align-items: flex-start; }
  .archive__grid--with-list { grid-template-columns: minmax(0, 1fr); }
  .archive-feature__tag { order: 1; }
}

/* ==========================================================
   LATEST ARTICLE: stop two-digit numbers (02, 03...) overlapping.
   The number column is now sized from the number itself.
   Keep this block LAST in the file.
   ========================================================== */
section.latest-note.section-shell {
  --num-size: clamp(100px, 12vw, 176px);
  grid-template-columns: calc(var(--num-size) * 1.2) minmax(340px, 1fr) minmax(220px, 285px) !important;
}
section.latest-note .latest-note__index span {
  font-size: var(--num-size) !important;
}

@media (max-width: 1050px) {
  section.latest-note.section-shell {
    --num-size: clamp(88px, 11vw, 130px);
    grid-template-columns: calc(var(--num-size) * 1.2) minmax(280px, 1fr) minmax(190px, 235px) !important;
  }
}
@media (max-width: 760px) {
  section.latest-note.section-shell {
    --num-size: clamp(72px, 12vw, 100px);
    grid-template-columns: calc(var(--num-size) * 1.2) minmax(0, 1fr) !important;
  }
}
@media (max-width: 520px) {
  section.latest-note.section-shell {
    --num-size: 76px;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}