/* 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; }
.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-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 { 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%; }
}
