/* FitInFinance — one header for every inner page, in the logo's navy, cream and gold.
   (The home page keeps its own hero nav, with the same destinations.) */
.sh {
  background: #17243A; color: #F3F0E8; border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sh-in { width: min(1200px, calc(100vw - 80px)); margin: 0 auto; display: flex; align-items: center; gap: 14px 24px; padding: 14px 0; }
.sh a { color: inherit; text-decoration: none; }
.sh a:focus-visible { outline: 2px solid #C9A227; outline-offset: 2px; box-shadow: 0 0 0 2px #101010; border-radius: 10px; }

/* Logo lockup: mark | FitInFinance + tagline */
.sh-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-height: 44px; }
.sh-mark { width: 50px; height: 30px; flex: none; }
.sh-div { width: 1.5px; height: 34px; background: #F3F0E8; opacity: .85; flex: none; }
.sh-word { display: flex; flex-direction: column; gap: 5px; }
.sh-name { font: 800 22px/1 "Archivo", "Arial Narrow", Arial, sans-serif; letter-spacing: -.02em; color: #F3F0E8; }
.sh-name b { color: #C9A227; font-weight: 800; }
.sh-word small { font: 600 8.5px/1 "Inter Tight", system-ui, sans-serif; letter-spacing: .26em; color: #F3F0E8; white-space: nowrap; }
.sh-word small i { font-style: normal; color: #C9A227; }

.sh-nav { margin-left: auto; }
.sh-nav ul { display: flex; gap: 2px; margin: 0; padding: 4px; list-style: none; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.sh-nav a { display: flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(243,240,232,.82); white-space: nowrap; transition: background-color .3s, color .3s; }
.sh-nav a:hover { color: #F3F0E8; background: rgba(255,255,255,.06); }
.sh-nav a[aria-current="page"], .sh-nav a.is-section { background: #F3F0E8; color: #17243A; }
.sh-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #C9A227; color: #101010 !important; font-size: 14px; font-weight: 700; flex: none; transition: transform .3s, background-color .3s; }
.sh-cta:hover { transform: translateY(-1px); background: #D6B03A; }
.sh-cta[aria-current="page"] { background: #F3F0E8; }

@media (max-width: 1280px) { .sh-nav a { padding: 0 12px; } }
/* Up to 1100px the eight links get their own row under the logo */
@media (max-width: 1100px) {
  .sh-in { flex-wrap: wrap; }
  .sh-cta { margin-left: auto; }
  .sh-nav { order: 3; width: 100%; margin-left: 0; }
  .sh-nav ul { justify-content: space-between; }
  .sh-nav a { min-height: 44px; padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 420px) {
  .sh-mark { width: 40px; height: 24px; }
  .sh-div { height: 28px; }
  .sh-name { font-size: 18px; }
  .sh-word small { font-size: 7px; letter-spacing: .2em; }
  .sh-cta { padding: 0 14px; font-size: 13px; }
  .sh-nav ul { padding: 3px; }
  .sh-nav a { padding: 0 5px; font-size: 13px; }
}
@media (max-width: 360px) { .sh-nav a { padding: 0 4px; font-size: 12.5px; } }

@media (max-width: 760px) { .sh-in { width: calc(100vw - 32px); } }

/* Phone menu (assets/nav.js adds .has-menu-js): the links fold behind a Menu button and open as a list. */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .has-menu-js .sh-in { flex-wrap: nowrap; }
  .has-menu-js .sh-nav { order: 0; width: auto; margin-left: auto; position: relative; z-index: 30; }
  .has-menu-js .sh-cta { margin-left: 0; }
  .has-menu-js .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
    border: 1px solid rgba(243,240,232,.4); background: transparent; color: #F3F0E8; cursor: pointer;
    font: 600 14px/1 "Inter Tight", system-ui, sans-serif;
  }
  .has-menu-js .menu-btn:focus-visible { outline: 2px solid #C9A227; outline-offset: 2px; box-shadow: 0 0 0 2px #101010; }
  .menu-btn svg { width: 16px; height: 16px; flex: none; }
  .is-open .menu-btn { background: #F3F0E8; color: #17243A; }
  .has-menu-js .sh-nav ul { display: none; }
  .has-menu-js .sh-nav.is-open ul {
    display: flex; flex-direction: column; gap: 2px; position: absolute; top: calc(100% + 10px); right: 0;
    width: max-content; min-width: 220px; max-width: calc(100vw - 32px); padding: 6px; border-radius: 16px;
    background: #17243A; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6);
  }
  .has-menu-js .sh-nav.is-open a { min-height: 48px; padding: 0 16px; border-radius: 10px; font-size: 16px; justify-content: flex-start; }
}
/* Small phones: "Work with me" moves from the header bar into the menu list */
.menu-only { display: none; }
@media (max-width: 480px) {
  .has-menu-js .sh-cta { display: none; }
  .has-menu-js .sh-nav.is-open .menu-only { display: block; }
}
@media (max-width: 420px) {
  .has-menu-js .sh-word small { display: none; }
  .has-menu-js .sh-in { gap: 10px; }
  .has-menu-js .menu-btn { padding: 0 12px; }
}

/* Self Assessment countdown bar (assets/deadline.js) */
.deadline-bar { background: #101010; color: #F3F0E8; font: 500 14px/1.4 "Inter Tight", "Inter", system-ui, sans-serif; }
.deadline-bar p { margin: 0 auto; max-width: none; color: inherit; font-size: inherit; line-height: inherit; width: min(1200px, calc(100vw - 32px)); min-height: 40px; padding: 8px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; text-align: center; }
.deadline-bar b { font-weight: 700; }
.deadline-bar .db-days { color: #E3CF8A; font-weight: 700; }
.deadline-bar a { color: #F3F0E8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
.deadline-bar a:hover { color: #E3CF8A; }
.deadline-bar a:focus-visible { outline: 2px solid #C9A227; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 480px) { .deadline-bar p { gap: 2px 10px; } }

/* Phones: sticky "Free tax guide" bar (assets/nav.js) */
.guide-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(16,16,16,.94); border-top: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.guide-bar a { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 10px; min-height: 48px; padding: 6px 16px; border-radius: 999px; background: #C9A227; color: #101010; font: 700 15px/1.2 "Inter Tight", "Inter", system-ui, sans-serif; text-decoration: none; }
.guide-bar .gb-note { font-weight: 500; font-size: 13.5px; }
.guide-bar a:focus-visible { outline: 2px solid #F3F0E8; outline-offset: 2px; }
@media (min-width: 761px) { .guide-bar { display: none !important; } }
