
/* ==========================================================================
   NAV 2 — one layout everywhere: burger left, mark centre, Contact us right,
   no text tabs (they live in the menu). Phone extras: full-width wordmark,
   black transition blinds, no scroll glow. Tune in the NAV2 values below.
   ========================================================================== */
:root { --nav2-w: 360px; --nav2-pad: 8px; --nav2-mark: 28px; }   /* NAV2: desktop pill width, inset of the left item from the edge, desktop mark size */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; width: var(--nav2-w); padding: 6px 6px 6px var(--nav2-pad); }
.nav__links { display: none; }
.nav__burger { justify-self: start; margin: 0; }
.nav__mark { justify-self: center; }
.nav__cta { justify-self: end; }
@media (min-width: 561px) {   /* desktop: mark on the left, a little bigger; burger in the centre */
  html:not(.is-mobile) .nav__mark { grid-column: 1; grid-row: 1; justify-self: start; margin-left: var(--nav2-mark-nudge, 6px); width: var(--nav2-mark, 28px); height: var(--nav2-mark, 28px); }   /* NAV2: --nav2-mark-nudge moves the desktop mark right */
  html:not(.is-mobile) .nav__mark img { width: var(--nav2-mark, 28px); height: var(--nav2-mark, 28px); }
  html:not(.is-mobile) .nav__burger { grid-column: 2; grid-row: 1; justify-self: center; }
}
/* home (scaled canvas): full width on phones, Contact us stays */
.is-mobile .nav { width: calc(var(--pw) - 24px); padding-left: 8px; }
.is-mobile .nav__cta { display: flex; }
/* phone wordmark on the home hero: full nav width, parked at the bottom of the viewport; hero text and buttons move up */
.is-mobile .hero__logo { left: 12px; right: 12px; top: auto; bottom: 22px; width: auto; height: auto; }
.is-mobile .hero__logo img { height: auto; display: block; }
.is-mobile .hero { padding-bottom: 124px; }
/* phone: no warm glow along the rising edge while scrolling, and black blinds for page transitions */
.is-mobile .hero-glow { display: none; }
.is-mobile .curtain i { background: #0e0e0e; }
/* inner pages (responsive): same rules at their phone breakpoints */
@media (max-width: 560px) { .nav { width: 100%; padding-left: 8px; } .nav__cta { display: flex; } }
@media (max-width: 720px) {
  html:not(.is-mobile) .hero__logo { left: 12px; right: 12px; top: 92px; width: auto; height: auto; }
  html:not(.is-mobile) .hero__logo img { height: auto; display: block; }
  .hero-glow { display: none; }
  .curtain i { background: #0e0e0e; }
}
