/* Layout: container, section rhythm, site header and site footer. */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { position: relative; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn) { font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
/* 1 Nov 2026 (his pick, Option 1): on wide screens the bar's orange button is hidden while the hero is on
   screen (the hero has its own) and slides in once the visitor scrolls past it. Without JavaScript it simply
   shows. In the phone menu it is always listed. */
.js .site-nav [data-nav-cta] { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s; }
.js .site-nav [data-nav-cta].is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-btn); background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: 40px 28px; font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-company { display: flex; flex-direction: column; gap: 6px; }
.footer-company > strong { font-size: 16px; color: var(--white); }
.footer-tagline { font-style: normal; }
.footer-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-links__label { color: var(--on-navy-label); }
.footer-product .wordmark { font-weight: 800; color: var(--white); }
.footer-product__url { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--white); font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-strip { display: flex; height: 4px; margin-block: 24px 16px; }
.footer-strip span:first-child { flex: 1; background: var(--navy-line); }
.footer-strip span:last-child { width: 200px; max-width: 30%; background: var(--orange); }
.footer-copy { font-size: 13px; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-flex; }
  /* Without JavaScript the menu simply stays open below the logo; with it, the button opens and closes it. */
  .header-row { flex-wrap: wrap; gap: 12px; }
  .site-nav { flex-basis: 100%; padding-bottom: 16px; }
  .js .site-nav [data-nav-cta] { opacity: 1; visibility: visible; transform: none; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; font-size: 17px; }
  .site-nav .btn { margin-top: 8px; width: 100%; }
}
