/* =========================================================
   Face the FACS: sitewide styles (soft retro)
   Loaded on every page: fonts, colors, buttons, windows,
   and the GeneratePress header, announcement bar and footer.
   ========================================================= */

/* ---------- Fonts (self-hosted, Latin only) ---------- */
@font-face {
  font-family: "Monomaniac FTF";
  src: url("../fonts/monomaniac-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans FTF";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Fallbacks resized to match the real fonts, so text doesn't
   jump when the fonts finish loading. */
@font-face {
  font-family: "Monomaniac Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 85.9%;
  ascent-override: 135%;
  descent-override: 33.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 102.7%;
  ascent-override: 94.4%;
  descent-override: 24.3%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --ftf-navy: #1B1B9A;
  --ftf-navy-dark: #10106B;
  --ftf-ink: #1E1C5C;
  --ftf-body: #3A3874;
  --ftf-l1: #F7F5FF;   /* lightest lavender */
  --ftf-l2: #EFEAFE;   /* pale lavender */
  --ftf-l3: #D9D0F8;   /* lavender */
  --ftf-l4: #B4A8EC;   /* deep lavender */
  --ftf-lime: #E4F8A6;
  --ftf-white: #FFFFFF;

  --ftf-display: "Monomaniac FTF", "Monomaniac Fallback", sans-serif;
  --ftf-sans: "Instrument Sans FTF", "Instrument Fallback", system-ui, sans-serif;

  --ftf-r: 20px;       /* cards and windows */
  --ftf-r-sm: 12px;    /* inputs and inner panels */
  --ftf-line: 3px solid var(--ftf-navy);
  --ftf-shadow: 6px 6px 0 0 var(--ftf-navy);
  --ftf-gutter: clamp(16px, 5vw, 120px);
}

body {
  background: var(--ftf-l1);
  color: var(--ftf-ink);
  font-family: var(--ftf-sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Emoji safety net ----------
   WordPress turns emoji into small images. Keep them text-sized
   everywhere, whatever else styles images on the page. */
img.emoji,
img.wp-smiley {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  max-width: none !important;
  margin: 0 .07em !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  vertical-align: -0.1em !important;
}

/* ---------- Buttons (pills) ---------- */
.ftf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: var(--ftf-line);
  border-radius: 999px;
  font-family: var(--ftf-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .1s ease;
}
.ftf-btn--light { background: var(--ftf-white); color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-navy); }
.ftf-btn--dark  { background: var(--ftf-navy);  color: var(--ftf-white); box-shadow: 4px 4px 0 0 var(--ftf-l4); }
.ftf-btn--lime  { background: var(--ftf-lime);  color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-l4); }
.ftf-btn--lav   { background: var(--ftf-l3);    color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-lime); }
/* Lock button text colors in every link state. GeneratePress styles
   a:visited and a:hover with your link color, which otherwise turns
   button text purple after someone has clicked it once. */
a.ftf-btn--light, a.ftf-btn--light:visited, a.ftf-btn--light:hover, a.ftf-btn--light:focus,
a.ftf-btn--lime,  a.ftf-btn--lime:visited,  a.ftf-btn--lime:hover,  a.ftf-btn--lime:focus,
a.ftf-btn--lav,   a.ftf-btn--lav:visited,   a.ftf-btn--lav:hover,   a.ftf-btn--lav:focus,
.ftf-btn--light:hover, .ftf-btn--lime:hover, .ftf-btn--lav:hover { color: var(--ftf-navy); }
a.ftf-btn--dark, a.ftf-btn--dark:visited, a.ftf-btn--dark:hover, a.ftf-btn--dark:focus,
button.ftf-btn--dark, button.ftf-btn--dark:hover, button.ftf-btn--dark:focus { color: var(--ftf-white); }

/* Sitewide headings in Monomaniac One */
h1, h2, h3, .entry-title, .page-title {
  font-family: var(--ftf-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}
.ftf-btn:hover { transform: translate(-1px, -1px); }
.ftf-btn:active { transform: translate(2px, 2px); }

/* ---------- Windows (rounded, striped title bar) ---------- */
.ftf-win {
  background: var(--ftf-white);
  border: var(--ftf-line);
  border-radius: var(--ftf-r);
  box-shadow: var(--ftf-shadow);
  overflow: hidden;
}
.ftf-win__bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: var(--ftf-line);
  background-color: var(--ftf-l3);
  background-image: repeating-linear-gradient(0deg, transparent 0 4px, rgba(27, 27, 154, .25) 4px 6px);
}
.ftf-win__dots { display: flex; gap: 5px; }
.ftf-win__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ftf-white);
  border: 2px solid var(--ftf-navy);
  box-sizing: border-box;
}
.ftf-win__title {
  padding: 0 8px;
  border-radius: 6px;
  background: var(--ftf-l3);
  font-family: var(--ftf-display);
  font-size: 15px;
  color: var(--ftf-navy);
}

/* ---------- Icons ----------
   In text:  [icon check]  (see the README for all names)
   As list bullets: give a List block the class ftf-list-check
   (or ftf-list-cross, ftf-list-star, ftf-list-sparkle, ftf-list-folder,
   ftf-list-file, ftf-list-play, ftf-list-heart). */
.ftf-ico {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.25em;
  background: no-repeat center / contain;
}
[class*="ftf-list-"] { list-style: none; padding-left: 0; }
[class*="ftf-list-"] > li { position: relative; padding-left: 1.9em; margin: .45em 0; }
[class*="ftf-list-"] > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.3em;
  height: 1.3em;
  background: no-repeat center / contain;
}


.ftf-ico--check, [class*="ftf-list-check"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.5 12.3l3 3 6-6.8' fill='none' stroke='%231B1B9A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--cross, [class*="ftf-list-cross"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='%23EFEAFE' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.6 8.6l6.8 6.8M15.4 8.6l-6.8 6.8' fill='none' stroke='%231B1B9A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--folder, [class*="ftf-list-folder"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5h5l2 2h8A1.5 1.5 0 0 1 21 8.5V18a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--file, [class*="ftf-list-file"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3h7.5l4.5 4.5V20a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 3v4.5h4.5' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.5 12.5h7M8.5 16h5' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--play, [class*="ftf-list-play"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='4' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.3 9.3v5.4l4.6-2.7z' fill='%231B1B9A' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--lock, [class*="ftf-list-lock"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='5' y='10.5' width='14' height='10' rx='3' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='15.5' r='1.4' fill='%231B1B9A'/%3E%3C/svg%3E"); }
.ftf-ico--calendar, [class*="ftf-list-calendar"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.5 8a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v2h-17z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 3v4M16 3v4' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8.5' cy='14.5' r='1.1' fill='%231B1B9A'/%3E%3Ccircle cx='12' cy='14.5' r='1.1' fill='%231B1B9A'/%3E%3Ccircle cx='15.5' cy='14.5' r='1.1' fill='%231B1B9A'/%3E%3C/svg%3E"); }
.ftf-ico--clock, [class*="ftf-list-clock"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 7.5V12l3 2' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--team, [class*="ftf-list-team"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='16.5' cy='9' r='2.6' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.3 14.3a4.6 4.6 0 0 1 6.7 4.2' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='8.5' r='3.2' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 19.5a6 6 0 0 1 12 0z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--course, [class*="ftf-list-course"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 11.5V16c0 1.4 2.5 2.7 5.5 2.7s5.5-1.3 5.5-2.7v-4.5' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 5L2.5 9.5 12 14l9.5-4.5z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21.5 9.5V14' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--mail, [class*="ftf-list-mail"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='13' rx='3' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.8 7.8L12 13.5l8.2-5.7' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--star, [class*="ftf-list-star"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.8.8-4.2 4.1 1 5.8L12 16.8l-5.2 2.7 1-5.8-4.2-4.1 5.8-.8z' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--sparkle, [class*="ftf-list-sparkle"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3.5c.6 4.3 2.4 6.1 6.7 6.7-4.3.6-6.1 2.4-6.7 6.7-.6-4.3-2.4-6.1-6.7-6.7 4.3-.6 6.1-2.4 6.7-6.7z' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 14.5c.25 1.6.9 2.25 2.5 2.5-1.6.25-2.25.9-2.5 2.5-.25-1.6-.9-2.25-2.5-2.5 1.6-.25 2.25-.9 2.5-2.5z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--heart, [class*="ftf-list-heart"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19.8S4.3 15.2 4.3 9.8A3.9 3.9 0 0 1 12 8a3.9 3.9 0 0 1 7.7 1.8c0 5.4-7.7 10-7.7 10z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--question, [class*="ftf-list-question"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.8 9.6a2.3 2.3 0 1 1 3.2 2.1c-.6.3-1 .8-1 1.5v.4' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='16.6' r='1.1' fill='%231B1B9A'/%3E%3C/svg%3E"); }
.ftf-ico--download, [class*="ftf-list-download"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3.5' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 4v10.5M8 10.8l4 3.7 4-3.7' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--eye, [class*="ftf-list-eye"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3.6' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='1.3' fill='%231B1B9A'/%3E%3C/svg%3E"); }
.ftf-ico--face, [class*="ftf-list-face"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9.2' cy='10.4' r='1.1' fill='%231B1B9A'/%3E%3Ccircle cx='14.8' cy='10.4' r='1.1' fill='%231B1B9A'/%3E%3Cpath d='M8.8 14.2c.8 1.3 1.9 2 3.2 2s2.4-.7 3.2-2' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--lips, [class*="ftf-list-lips"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.2c2-2.9 4.1-4.5 6-4.5 1.2 0 2.2.6 3 1.5.8-.9 1.8-1.5 3-1.5 1.9 0 4 1.6 6 4.5-3 .8-6 1.2-9 1.2s-6-.4-9-1.2z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 12.2c3 .8 6 1.2 9 1.2s6-.4 9-1.2c-2.2 4-5.2 6.1-9 6.1s-6.8-2.1-9-6.1z' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--books, [class*="ftf-list-books"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='4.5' height='15' rx='1.2' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='8' y='3.5' width='4.5' height='16.5' rx='1.2' fill='%23E4F8A6' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.3 6.5l3.6-.9a1 1 0 0 1 1.2.7l3.2 12.6a1 1 0 0 1-.7 1.2l-3.6.9a1 1 0 0 1-1.2-.7L13.6 7.7a1 1 0 0 1 .7-1.2z' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.5 8.5H8M3.5 16.5H8M8 7h4.5' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ftf-ico--notes, [class*="ftf-list-notes"] > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='17' rx='2.5' fill='%23FFFFFF' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 6.5A2.5 2.5 0 0 1 7.5 4h9A2.5 2.5 0 0 1 19 6.5V8H5z' fill='%23D9D0F8' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.5 2.6v3M12 2.6v3M15.5 2.6v3M8.5 11.5h7M8.5 14.5h7M8.5 17.5h4.5' fill='none' stroke='%231B1B9A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Focus ---------- */
:where(.ftf, .site-header, .ftf-announce, .site-footer) a:focus-visible,
:where(.ftf, .site-header) button:focus-visible,
.ftf input:focus-visible {
  outline: 3px solid var(--ftf-navy);
  outline-offset: 4px;
}

/* ---------- Announcement bar (added by functions.php) ---------- */
.ftf-announce {
  background: var(--ftf-lime);
  border-bottom: var(--ftf-line);
  padding: 10px var(--ftf-gutter);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ftf-navy);
}
.ftf-announce a { color: var(--ftf-navy); font-weight: 700; margin-left: 8px; }

/* ---------- GeneratePress header ---------- */
.site-header {
  background: var(--ftf-l3);
  border-bottom: var(--ftf-line);
}
.site-header .inside-header {
  padding-top: 16px;
  padding-bottom: 16px;
  align-items: center;
}
.main-title {
  font-family: var(--ftf-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: 30px;
  line-height: 1;
}
.main-title a, .main-title a:hover { color: var(--ftf-navy); }
.site-logo img { height: 40px; width: auto; }

.main-navigation,
.main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
  color: var(--ftf-navy);
  font-family: var(--ftf-sans);
  font-weight: 600;
  font-size: 16px;
}
/* Top-level items only: underline on hover and for the current section */
.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
  color: var(--ftf-navy);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

/* Dropdowns (desktop only): white rounded panel, lavender highlight.
   On phones GeneratePress stacks sub-items inside the menu instead. */
@media (min-width: 769px) {
  .main-navigation:not(.slideout-navigation) .main-nav ul ul {
    background: var(--ftf-white);
    border: var(--ftf-line);
    border-radius: var(--ftf-r-sm);
    box-shadow: 4px 4px 0 0 var(--ftf-navy);
    padding: 6px;
    margin-top: 0;
  }
  /* Invisible strip above the panel so the mouse never "falls off"
     between the menu item and its dropdown. */
  .main-navigation:not(.slideout-navigation) .main-nav ul ul::before {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: -14px;
    height: 14px;
  }
  .main-navigation:not(.slideout-navigation) .main-nav ul ul li a {
    background: var(--ftf-white);
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.35;
  }
}
.main-navigation .main-nav ul ul li a {
  color: var(--ftf-navy);
  text-decoration: none;
}
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus-within > a,
.main-navigation .main-nav ul ul li.current-menu-item > a {
  background: var(--ftf-l2);
  color: var(--ftf-navy);
  text-decoration: none;
}
.main-navigation .main-nav ul ul li.current-menu-item > a { font-weight: 700; }

/* Mobile menu: stacked sub-items get a light lavender fill and indent */
@media (max-width: 768px) {
  .main-navigation.toggled .main-nav ul ul { background: var(--ftf-l2); }
  .main-navigation.toggled .main-nav ul ul li a { padding-left: 32px; line-height: 44px; }
}

/* Menu Plus off-canvas panel: lavender background so navy links stay readable */
.main-navigation.slideout-navigation,
.main-navigation.slideout-navigation .main-nav ul ul,
.slideout-navigation.main-navigation .main-nav ul li a {
  background: var(--ftf-l3);
}
.slideout-navigation.main-navigation .main-nav ul li a,
.slideout-navigation .slideout-exit,
.slideout-navigation button.slideout-exit {
  color: var(--ftf-navy);
}

/* Menu Plus: sticky navigation and mobile header need a solid
   background, or the page shows through as you scroll. */
.main-navigation.navigation-stick,
.main-navigation.is_stuck,
#sticky-navigation,
#mobile-header,
.main-navigation.toggled {
  background: var(--ftf-l3);
}
.main-navigation.navigation-stick,
.main-navigation.is_stuck,
#sticky-navigation,
#mobile-header {
  border-bottom: var(--ftf-line);
}
#mobile-header .site-logo img,
#mobile-header .mobile-header-logo img { height: 36px; width: auto; }

/* Add the CSS class "ftf-nav-cta" to one menu item in
   Appearance > Menus to turn it into the navy pill button. */
.main-navigation .main-nav ul li.ftf-nav-cta > a {
  background: var(--ftf-navy);
  color: var(--ftf-white);
  border: var(--ftf-line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 0 var(--ftf-l4);
  font-family: var(--ftf-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 40px;
  padding: 0 20px;
  margin-left: 12px;
  text-decoration: none;
}
.main-navigation .main-nav ul li.ftf-nav-cta > a:visited,
.main-navigation .main-nav ul li.ftf-nav-cta > a:focus,
.main-navigation .main-nav ul li.ftf-nav-cta[class*="current-menu-"] > a { color: var(--ftf-white); background: var(--ftf-navy); }
.main-navigation .main-nav ul li.ftf-nav-cta:hover > a,
.main-navigation .main-nav ul li.ftf-nav-cta > a:hover { color: var(--ftf-white); background: var(--ftf-navy-dark); }

.menu-toggle, .menu-toggle:hover, .menu-toggle:focus {
  color: var(--ftf-navy);
  background: transparent;
  font-weight: 700;
}
@media (max-width: 768px) {
  .main-navigation.toggled .main-nav ul li a { line-height: 52px; }
  .main-navigation .main-nav ul li.ftf-nav-cta > a { margin: 8px 0 14px; display: inline-block; }
}

/* ---------- GeneratePress footer ---------- */
.site-footer .site-info {
  background: var(--ftf-navy);
  color: var(--ftf-l3);
  border-top: 2px solid #3A3AB0;
}
.site-footer .site-info a { color: var(--ftf-l3); }

@media (prefers-reduced-motion: reduce) {
  .ftf-btn { transition: none; }
  .ftf-btn:hover, .ftf-btn:active { transform: none; }
}

/* ---------- Newsletter confirmation message ---------- */
.ftf-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 9999; display: flex; align-items: center; gap: 14px;
  max-width: calc(100vw - 32px); padding: 14px 18px;
  background: var(--ftf-lime); color: var(--ftf-navy);
  border: var(--ftf-line); border-radius: var(--ftf-r-sm); box-shadow: 4px 4px 0 var(--ftf-navy);
  font: 600 16px/1.4 var(--ftf-sans);
}
.ftf-toast--bad, .ftf-toast--err { background: var(--ftf-l3); }
.ftf-toast button {
  background: none; border: 0; padding: 0 4px; cursor: pointer;
  color: var(--ftf-navy); font-size: 22px; line-height: 1;
}
/* Hidden spam trap field */
.ftf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Block editor buttons ----------
   Select a Button block, open Advanced > Additional CSS class(es)
   and type one of: ftf-button-dark  ftf-button-light  ftf-button-lime  ftf-button-lav
   For a small pill link (like the proof points) use: ftf-chip-link */
.wp-block-button[class*="ftf-button-"] > a.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: var(--ftf-line); border-radius: 999px;
  font-family: var(--ftf-display); font-weight: 400; font-synthesis: none;
  font-size: 18px; line-height: 1; text-decoration: none;
  transition: transform .1s ease;
}
.wp-block-button.ftf-button-dark > a.wp-block-button__link,
.wp-block-button.ftf-button-dark > a.wp-block-button__link:visited,
.wp-block-button.ftf-button-dark > a.wp-block-button__link:hover,
.wp-block-button.ftf-button-dark > a.wp-block-button__link:focus { background: var(--ftf-navy); color: var(--ftf-white); box-shadow: 4px 4px 0 0 var(--ftf-l4); }
.wp-block-button.ftf-button-light > a.wp-block-button__link,
.wp-block-button.ftf-button-light > a.wp-block-button__link:visited,
.wp-block-button.ftf-button-light > a.wp-block-button__link:hover,
.wp-block-button.ftf-button-light > a.wp-block-button__link:focus { background: var(--ftf-white); color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-navy); }
.wp-block-button.ftf-button-lime > a.wp-block-button__link,
.wp-block-button.ftf-button-lime > a.wp-block-button__link:visited,
.wp-block-button.ftf-button-lime > a.wp-block-button__link:hover,
.wp-block-button.ftf-button-lime > a.wp-block-button__link:focus { background: var(--ftf-lime); color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-l4); }
.wp-block-button.ftf-button-lav > a.wp-block-button__link,
.wp-block-button.ftf-button-lav > a.wp-block-button__link:visited,
.wp-block-button.ftf-button-lav > a.wp-block-button__link:hover,
.wp-block-button.ftf-button-lav > a.wp-block-button__link:focus { background: var(--ftf-l3); color: var(--ftf-navy); box-shadow: 4px 4px 0 0 var(--ftf-lime); }
.wp-block-button[class*="ftf-button-"] > a.wp-block-button__link:hover { transform: translate(-1px, -1px); }
.wp-block-button[class*="ftf-button-"] > a.wp-block-button__link:active { transform: translate(2px, 2px); }

.wp-block-button.ftf-chip-link > a.wp-block-button__link,
.wp-block-button.ftf-chip-link > a.wp-block-button__link:visited {
  display: inline-block; padding: 6px 14px; border: 0; border-radius: 999px;
  background: var(--ftf-l3); color: var(--ftf-navy); box-shadow: none;
  font: 700 14px/1.4 var(--ftf-sans); text-decoration: none;
  transition: background-color .15s ease;
}
.wp-block-button.ftf-chip-link > a.wp-block-button__link:hover,
.wp-block-button.ftf-chip-link > a.wp-block-button__link:focus-visible {
  background: var(--ftf-lime); color: var(--ftf-navy);
  text-decoration: underline; text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-button[class*="ftf-button-"] > a.wp-block-button__link { transition: none; transform: none; }
}
