/*
Theme Name: TSK Child
Theme URI: https://theseasonalking.com
Description: The Seasonal King child theme for GeneratePress
Author: The Seasonal King
Template: generatepress
Version: 3.0.0
*/

/* ══════════════════════════════════════════════════════════════════════════════
   TSK GLOBAL CSS — child theme style.css
   Single source of truth for: design tokens, resets, GP suppression, nav, footer.
   Loaded globally on every page via functions.php (tsk-global handle).
   WPCode snippets handle page-specific CSS only (hub, community, guide).
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ────────────────────────────────────────────────────────────
   All colours, typography, and spacing live here.
   Reference via var(--token) throughout every CSS file and snippet.             */
:root {
  --navy:   #12243a;
  --navy-d: #0d1b2a;
  --navy-m: #1a3252;
  --gold:   #c9a84c;
  --gold-h: #b8963e;
  --white:  #ffffff;
  --cream:  #f9f7f4;
  --gray:   #6b7280;
  --gray-l: #e5e7eb;

  --serif:  "Cormorant Garamond", Georgia, serif;
  --sans:   "Montserrat", Arial, sans-serif;
  --script: "Great Vibes", cursive;

  /* Fixed header stack — single source so body offsets, sub-nav positions, and
     page-type top spacing stay in sync. The body reserves --nav-h globally;
     the breadcrumb bar (fixed on all non-home pages) is --crumb-h tall and any
     light/plain page type must reserve it explicitly (dark heroes absorb it). */
  --nav-h:        80px;
  --nav-h-mobile: 60px;
  --crumb-h:      36px; /* .tsk-crumb: 9px padding ×2 + .78rem line */
}

/* ── GLOBAL RESETS ────────────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); color: #1a1a1a; background: #fff; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(28px, 3.5vw, 48px); }
h2 { font-size: clamp(22px, 2.8vw, 38px); }
h3 { font-size: clamp(18px,  2vw, 28px);  }

/* ── GENERATEPRESS ELEMENT SUPPRESSION ────────────────────────────────────────
   GP renders its own header, footer, sidebars, and entry titles.
   TSK header.php / footer.php replace them — hide any GP remnants globally.      */
.site-header, #masthead, .main-header, .header-wrap,
.header-inner, .site-branding, .main-navigation,
.nav-menu-wrap, .header-search         { display: none !important; }

.site-footer, #colophon, .footer-widgets, .footer-wrap,
.widget_nav_menu, .widget_recent_entries,
.widget_categories, .site-info, .powered-by { display: none !important; }

.entry-header, .entry-title, .page-header,
.post-thumbnail, .post-image           { display: none !important; }

#secondary, .widget-area               { display: none !important; }

#primary, .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.site, .site-content, #page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── BODY NAV OFFSET ──────────────────────────────────────────────────────────
   Non-hub / non-community pages need padding so content starts below fixed nav.
   Hub + community pages manage their own top spacing internally (hero, fixed crumb). */
body { padding-top: var(--nav-h); }

body.tsk-hub-page,
body.tsk-community-page,
body.page-id-146,
body.page-id-1453,
body.parent-pageid-1453,
body.parent-pageid-146,
body.page-id-2134,
body.page-id-203,
body.page-id-397 { padding-top: 0; }

/* inside-article / entry-content padding reset for custom-rendered pages */
body.tsk-hub-page .inside-article, body.tsk-hub-page .entry-content,
body.tsk-community-page .inside-article, body.tsk-community-page .entry-content,
body.page-id-146 .inside-article, body.page-id-146 .entry-content,
body.page-id-1453 .inside-article, body.page-id-1453 .entry-content,
body.page-id-2134 .inside-article, body.page-id-2134 .entry-content,
body.page-id-2130 .inside-article, body.page-id-2130 .entry-content,
body.page-id-203 .inside-article, body.page-id-203 .entry-content,
body.page-id-397 .inside-article, body.page-id-397 .entry-content
  { padding: 0 !important; margin: 0 !important; }


/* ══════════════════════════════════════════════════════════════════════════════
   NAVIGATION — #tsk-nav
   Rendered in header.php (PHP, server-side). Never JS-injected.
   ══════════════════════════════════════════════════════════════════════════════ */

#tsk-nav,
.tsk-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--navy-d);
  border-bottom: 2px solid rgba(201,168,76,.65);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  transition: background .35s, box-shadow .35s, height .3s;
}

.tsk-nav.transparent {
  background: transparent;
  box-shadow: none;
}

/* Logo */
.tsk-nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  flex-shrink: 0;
  text-decoration: none;
}
.tsk-nav-logo .crown {
  font-size: 16px;
  color: var(--gold);
  line-height: 1;
}
.tsk-nav-logo .brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1.1;
  white-space: nowrap;
}
.tsk-nav-logo .tagline {
  font-size: 7.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* Primary links — margin-left: auto pushes links + CTA to the right */
.tsk-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.tsk-nav-links > li { position: relative; }
.tsk-nav-links > li > a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 24px 0;
  white-space: nowrap;
}
.tsk-nav-links > li > a:hover { color: var(--gold); }

/* Dropdown chevron */
.tsk-nav-links .has-dropdown > a::after {
  content: '›';
  display: inline-block;
  transform: rotate(90deg);
  font-size: 14px;
  margin-top: 1px;
  transition: transform .2s;
}
.tsk-nav-links .has-dropdown:hover > a::after { transform: rotate(-90deg); }

/* Dropdown panel */
.tsk-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--navy-d);
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  z-index: 200;
}
.tsk-nav-links .has-dropdown:hover .tsk-nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.tsk-nav-dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.tsk-nav-dropdown a:hover {
  color: var(--gold);
  background: rgba(255,255,255,.05);
}

/* Market not yet launched — non-link "Coming Soon" item (desktop dropdown) */
.tsk-nav-dropdown .tsk-nd-soon {
  display: block;
  padding: 10px 22px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
  cursor: default;
}
.tsk-nd-tag {
  margin-left: 7px;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 3px;
  padding: 1px 5px;
  vertical-align: middle;
}

/* Multi-section dropdown (Communities) */
.tsk-nav-dropdown.tsk-nd-multi {
  min-width: 320px;
  padding: 12px 0;
}
.tsk-nd-group { padding: 4px 0; }
.tsk-nd-group + .tsk-nd-group {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 4px;
  padding-top: 8px;
}
.tsk-nd-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 22px 2px;
}

/* Nav right: phone + CTA */
.tsk-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: 32px;
}
.tsk-nav-phone {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  transition: color .2s;
}
.tsk-nav-phone:hover { color: var(--gold); }
.tsk-btn-nav {
  background: var(--gold);
  color: var(--navy-d) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(201,168,76,.45);
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
  display: inline-block;
}
.tsk-btn-nav:hover {
  background: var(--gold-h);
  box-shadow: 0 0 24px rgba(201,168,76,.65);
}

/* Hamburger (mobile only) */
.tsk-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none !important;
  border: none !important;
  width: auto !important;
  max-width: none !important;
}
.tsk-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.tsk-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tsk-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tsk-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU OVERLAY ─────────────────────────────────────────────────────*/
.tsk-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: #0d1b2a;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.tsk-mobile-menu.open { opacity: 1; pointer-events: all; }

.tsk-mob-logo-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 110px;
  border-bottom: 1px solid rgba(201,168,76,.15);
  flex-shrink: 0;
  position: relative;
}
.tsk-mob-logo-crown { font-size: 28px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.tsk-mob-logo-name  {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--white);
}
.tsk-close-btn {
  position: absolute !important;
  top: 14px !important; right: 20px !important;
  width: auto !important; max-width: none !important;
  font-size: 26px;
  color: var(--white) !important;
  cursor: pointer;
  background: none !important;
  border: none !important;
  line-height: 1;
  padding: 0 !important; margin: 0 !important;
}

.tsk-mob-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.tsk-mob-item-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  cursor: pointer;
  user-select: none;
}
.tsk-mob-arrow { display: inline-block; font-size: 18px; transition: transform .25s; color: var(--gold); }
.tsk-mob-item.open .tsk-mob-arrow { transform: rotate(90deg); }

.tsk-mob-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.tsk-mob-item.open .tsk-mob-sub { max-height: 700px; }
.tsk-mob-sub a {
  display: block;
  padding: 10px 28px 10px 42px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.tsk-mob-sub a:hover { color: var(--gold); }
/* Market not yet launched — mobile "Coming Soon" item */
.tsk-mob-sub .tsk-mob-soon {
  display: block;
  padding: 10px 28px 10px 42px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  cursor: default;
}
.tsk-mob-sub-label {
  padding: 8px 28px 4px 42px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}

.tsk-mob-link {
  display: block;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.tsk-mob-link:hover { color: var(--gold); }
.tsk-mob-cta {
  display: block;
  margin: 16px 28px 0;
  padding: 15px 0;
  text-align: center;
  background: var(--gold);
  color: var(--white) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.tsk-mob-phone {
  display: block;
  text-align: center;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
}

/* ─────────────────────────────────────────────────────────────────────
   BREADCRUMB — .tsk-crumb
   Rendered in header.php after </header> on all inner pages.
   Homepage excluded via PHP: if ( ! is_front_page() && ! is_home() )
   Fixed below nav on all inner pages via body:not(.home).
   Label truncation: tsk_crumb_label() in functions.php.
   Owner: style.css only. Never add breadcrumb CSS to WPCode.
   ───────────────────────────────────────────────────────────────────── */

.tsk-crumb {
    background:  var(--navy-m);
    padding:     9px 0;
    font-size:   .78rem;
}

.tsk-crumb ol {
    list-style:  none;
    display:     flex;
    flex-wrap:   wrap;
    gap:         4px;
    align-items: center;
    margin:      0;
    padding:     0;
}

.tsk-crumb li { color: rgba(255,255,255,.55); }
.tsk-crumb li + li::before {
    content:      "›";
    margin-right: 4px;
    color:        var(--gold);
}

.tsk-crumb a       { color: rgba(255,255,255,.55) !important; text-decoration: none !important; }
.tsk-crumb a:hover { color: #fff !important; }
.tsk-crumb .cur    { color: var(--gold); font-weight: 500; }
.tsk-crumb .tsk-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Fixed below nav on all inner pages — no page IDs, scales automatically */
body:not(.home) .tsk-crumb {
    position:   fixed;
    top:        calc(var(--nav-h) + var(--wp-admin--admin-bar--height, 0px));
    left:       0;
    width:      100%;
    z-index:    999;
    margin-top: 0;
}

/* Hub sub-nav sits below the fixed breadcrumb (~34px tall) */
body.tsk-hub-page .tsk-sub-nav {
    top: calc(var(--nav-h) + var(--wp-admin--admin-bar--height, 0px) + 34px);
}

/* Mobile: single line prevents height variance across page depths.
   Current page label truncated with ellipsis via .cur rule. */
@media (max-width: 768px) {
    .tsk-crumb ol {
        flex-wrap: nowrap;
        overflow:  hidden;
    }
    .tsk-crumb li {
        white-space: nowrap;
        overflow:    hidden;
    }
    .tsk-crumb .cur {
        max-width:      55vw;
        overflow:       hidden;
        text-overflow:  ellipsis;
        white-space:    nowrap;
        display:        inline-block;
        vertical-align: middle;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   SUB-NAV — .tsk-sub-nav
   Quick-access section bar on hub pages. Fixed below nav.
   ══════════════════════════════════════════════════════════════════════════════ */
.tsk-sub-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0; width: 100%;
  z-index: 999;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.15);
  overflow: hidden;
}
.tsk-sub-nav .tsk-sn-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 40px;
  -webkit-overflow-scrolling: touch;
}
.tsk-sub-nav .tsk-sn-inner::-webkit-scrollbar { display: none; }
.tsk-sub-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  transition: color .2s;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.tsk-sub-nav a:hover { color: var(--gold); }
.tsk-sub-nav a.tsk-sn-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Pages with sub-nav: add extra padding to body so content clears both nav + sub-nav */
body.tsk-has-sub-nav { padding-top: calc(var(--nav-h) + 38px) !important; }


/* ══════════════════════════════════════════════════════════════════════════════
   PRE-FOOTER CTA — .tsk-pre-footer-cta
   Appears above every footer.
   ══════════════════════════════════════════════════════════════════════════════ */
.tsk-pre-footer-cta {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 56px 80px;
  text-align: center;
}
.tsk-pf-cta-eye {
  font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.tsk-pf-cta-h {
  font-family: var(--serif);
  font-size: 32px; font-weight: 400;
  color: var(--white); letter-spacing: .03em;
  margin-bottom: 14px; line-height: 1.25;
}
.tsk-pf-cta-sub {
  font-size: 13px; color: rgba(255,255,255,.55);
  max-width: 520px; margin: 0 auto 28px; line-height: 1.75;
}
.tsk-pf-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tsk-btn-cta-primary {
  background: var(--gold); color: var(--white) !important;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 32px; display: inline-block; transition: background .2s;
}
.tsk-btn-cta-primary:hover { background: var(--gold-h); }
.tsk-btn-cta-secondary {
  background: transparent; color: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(201,168,76,.45);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 32px; display: inline-block; transition: color .2s, border-color .2s;
}
.tsk-btn-cta-secondary:hover { border-color: var(--gold); color: var(--gold) !important; }


/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER — #tsk-footer / .tsk-footer
   Rendered in footer.php (PHP, server-side). Never JS-injected.
   ══════════════════════════════════════════════════════════════════════════════ */
.tsk-footer { background: var(--navy-d); }

.tsk-footer-cols {
  padding: 60px 80px 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid rgba(201,168,76,.12);
}

/* Column header */
.tsk-fc-h {
  font-size: 10px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}

/* Column list */
.tsk-fc ul { list-style: none; margin: 0; padding: 0; }
.tsk-fc ul li { margin-bottom: 11px; }
.tsk-fc ul li a {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.82); transition: color .2s; line-height: 1.6;
}
.tsk-fc ul li a:hover { color: var(--gold); }
.tsk-fc-cta { color: var(--gold) !important; font-weight: 600 !important; }

/* Contact column */
.tsk-fc-contact { display: flex; flex-direction: column; gap: 12px; }
.tsk-fcc-phone {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.82); transition: color .2s; display: block;
}
.tsk-fcc-phone:hover { color: var(--gold); }
.tsk-fcc-email {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.78); transition: color .2s; display: block;
}
.tsk-fcc-email:hover { color: var(--gold); }

/* License */
.tsk-fc-lic { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.tsk-fc-lic-label { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tsk-fc-lic-num   { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 5px; letter-spacing: .06em; }

/* Brand column */
.tsk-fc-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tsk-fc-crown { font-size: 38px; color: var(--gold); margin-bottom: 10px; }
.tsk-fc-bname {
  font-family: var(--serif);
  font-size: 23px; font-weight: 700;
  color: var(--white); letter-spacing: .12em;
  line-height: 1.15; margin-bottom: 5px;
}
.tsk-fc-btag {
  font-size: 8px; font-weight: 600;
  letter-spacing: .28em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.tsk-fc-social { display: flex; gap: 10px; margin-bottom: 20px; }
.tsk-fc-social a {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(201,168,76,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.55); transition: border-color .2s, color .2s;
}
.tsk-fc-social a:hover { border-color: var(--gold); color: var(--gold); }

/* Newsletter */
.tsk-fc-nl-label {
  font-size: 9px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px;
}
.tsk-nl-wrap { width: 100%; }
.tsk-nl-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white); font-size: 11px;
  padding: 10px 12px; outline: none;
  display: block; margin-bottom: 8px;
}
.tsk-nl-input::placeholder { color: rgba(255,255,255,.3); }
.tsk-nl-btn {
  width: 100%; background: var(--gold);
  color: var(--white) !important; border: none;
  padding: 12px; font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.tsk-nl-btn:hover { background: var(--gold-h); }

/* Equal housing bar */
.tsk-fh-bar {
  background: var(--navy-d);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 80px;
  display: flex; align-items: center; gap: 18px;
}
.tsk-fh-badge {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; color: rgba(255,255,255,.45);
}
.tsk-fh-bar p { font-size: 10.5px; color: rgba(255,255,255,.5); line-height: 1.65; }

/* Copyright bar */
.tsk-footer-bar {
  background: #08111c;
  padding: 18px 80px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.tsk-footer-bar .tsk-copy { font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.tsk-footer-bar .tsk-copy a { color: rgba(255,255,255,.62); transition: color .2s; text-decoration: underline; text-underline-offset: 3px; }
.tsk-footer-bar .tsk-copy a:hover { color: var(--gold); }
.tsk-footer-bar nav { display: flex; gap: 22px; }
.tsk-footer-bar nav a { font-size: 10.5px; color: rgba(255,255,255,.55); transition: color .2s; text-decoration: underline; text-underline-offset: 3px; }
.tsk-footer-bar nav a:hover { color: var(--gold); }


/* ══════════════════════════════════════════════════════════════════════════════
   GLOBAL UTILITY — skip link, hero h1 colour
   ══════════════════════════════════════════════════════════════════════════════ */
.skip-link.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link.screen-reader-text:focus {
  background: var(--gold); clip: auto; clip-path: none;
  color: var(--navy-d); display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 6px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 7px; width: auto; z-index: 100000;
}

.tsk-hero h1, .cb-hero__content h1 { color: #fff !important; }


/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --nav-h:        var(--nav-h-mobile);  /* override to 60px */
  }

   body.home .tsk-nav-logo .brand-name { font-size: 20px !important; }
   body.home .tsk-nav-logo .crown { font-size: 22px !important; }
   body.home .tsk-nav-logo .tagline { font-size: 9px !important; }
  #tsk-nav, .tsk-nav {  
    padding: 0 20px;
    height: var(--nav-h-mobile);
  }
  .tsk-nav-links, .tsk-nav-phone, .tsk-btn-nav { display: none; }
  .tsk-hamburger { display: flex !important; }
  .tsk-nav-logo { gap: 0; }
  .tsk-nav-logo .brand-name { font-size: 18px; }
  .tsk-nav-right { margin-left: auto; }
  .tsk-pre-footer-cta { padding: 44px 28px; }
  .tsk-pf-cta-h { font-size: 24px; }
  .tsk-footer-cols { grid-template-columns: 1fr 1fr; padding: 44px 28px; }
  .tsk-fh-bar { padding: 16px 28px; }
  .tsk-footer-bar { padding: 16px 28px; flex-direction: column; align-items: flex-start; }
  .tsk-sub-nav .tsk-sn-inner { padding: 0 16px; }
}

@media (max-width: 600px) {
  .tsk-footer-cols { grid-template-columns: 1fr; }
  .tsk-pf-cta-btns { flex-direction: column; align-items: center; }
}
/* Homepage — suppress GeneratePress entry header H1 */
body.home .entry-header { display: none !important; }
/* Homepage — transparent nav with scroll-to-solid */
body.home #tsk-nav {
  background: transparent;
  box-shadow: none;
  transition: background .35s, box-shadow .35s;
}
body.home #tsk-nav.scrolled {
  background: var(--navy-d);
  box-shadow: 0 2px 16px rgba(0,0,0,.28);
}
/* Homepage — logo enhancement for transparent nav */
body.home .tsk-nav-logo .crown {
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
body.home .tsk-nav-logo .brand-name {
  font-size: 30px;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
body.home .tsk-nav-logo .tagline {
  font-size: 11px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  letter-spacing: .22em;
}