/* =========================================================
   BASE / RESET
========================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body{
  margin: 0;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   TOKENS
========================================================= */
:root{
  /* Colors (LIGHT THEME) */
  --bg: #ffffff;                 /* main page background (white) */
  --text: rgba(0, 0, 0, 0.92);    /* primary text (black) */
  --muted: rgba(0, 0, 0, 0.72);   /* secondary text (dark gray) */
  --faint: rgba(0, 0, 0, 0.55);   /* fine print (lighter gray) */
  --line: rgba(0, 0, 0, 0.12);    /* subtle borders */
  --brand: #cd9a26;              /* gold */

  /* Layout */
  --container: 1120px;
  --radius: 18px;
  --radius-lg: 26px;
  --svc-gap: 16px;

  /* Effects */
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-body: "Red Hat Text", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Back-compat if any older rules use var(--font) */
  --font: var(--font-body);

  /* Header / Menu */
  --topbar-h: 22px;

  /* Mega menu motion */
  --mega-dur: 1000ms; /* how fast the menu pull down is */
  --mega-ease: cubic-bezier(0.2, 1, 0.2, 1); /* snappy (fast start, gentle stop) */

  /* Alternatives:
     --mega-ease: cubic-bezier(.4, 0, .2, 1);     material smooth
     --mega-ease: cubic-bezier(.16, 1, .3, 1);    floaty
  */
}

/* Mobile header height token */
@media (max-width: 980px){
  :root{
    --topbar-h: 72px; /* set to your real mobile header height */
  }
}

/* =========================================================
   GLOBAL TYPOGRAPHY RULES
   - Body text = Red Hat Text
   - Headings = system sans stack
========================================================= */
html, body{
  font-family: var(--font-body);
}

/* Headings */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-head);
}

/* Optional: if you have “headline” elements that aren’t h1–h6,
   add them here so they follow header typography. */
.hero__kicker,
.hero__title,
.sectionTitle,
.card__title,
.mega__section{
  font-family: var(--font-head);
}

/* =========================================================
   BODY BACKGROUND + DEFAULT TEXT COLOR (LIGHT)
========================================================= */
body{
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;

  /* y.co-ish subtle glow on white */
  background:
    radial-gradient(
      1200px 700px at 20% 0%,
      rgba(205, 154, 38, 0.12),
      transparent 60%
    ),
    radial-gradient(
      1100px 800px at 90% 10%,
      rgba(138, 211, 255, 0.10),
      transparent 60%
    ),
    var(--bg);

  background-attachment: fixed;
}

/* Menu open lock */
body.menu-open{
  overflow: hidden;
  padding-right: var(--sbw, 0px);
  position: fixed;
  top: -123px;
}

/* Content max width helper */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.dksBreadcrumb{
  position:relative;
  width:min(var(--container, 1320px), calc(100% - 40px));
  margin:4px auto;
  font-size:14px;
  line-height:1.5;
}
.dksBreadcrumb ol{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;padding:0;margin:0}
.dksBreadcrumb li{display:inline-flex;align-items:center;gap:8px;min-height:24px;max-width:100%;overflow-wrap:anywhere}
.dksBreadcrumb li + li::before{content:"›";color:#6c737d}
.dksBreadcrumb a{color:#5a491f;text-decoration:none}
.dksBreadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.dksBreadcrumb [aria-current="page"]{color:#4b515b}


.skiplink{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

a.skiplink{
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 9999;

  padding: 10px 14px;
  border-radius: 12px;

  background: #2c3a50;  /* navy */
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;

  /* hide visually but keep accessible */
  transform: translateY(-200%);
  transition: transform .18s ease;
}

a.skiplink:focus,
a.skiplink:focus-visible{
  transform: translateY(0);
  outline: 3px solid #cd9a26; /* gold */
  outline-offset: 3px;
}


a.skiplink{ display:none !important; }

/* Mobile: keep form inputs at 16px so iOS Safari doesn't auto-zoom on focus */
@media (max-width: 600px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Short pages (thanks, legal, sparse indexes): pin the footer to the viewport
   bottom instead of letting it float mid-screen. Block children of a column
   flex body lay out exactly as before; main absorbs the slack. */
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }

/* Robustness: long unbroken strings (user review text, pasted URLs) wrap
   instead of overflowing their containers. break-word does not affect
   intrinsic min-content sizing (unlike 'anywhere'). */
h1, h2, h3, h4, p, li, blockquote, figcaption, a, button {
  overflow-wrap: break-word;
}
