/* The original home uses style.css unchanged; only the approved navigation is enhanced. */
.site-nav {
  --gray: #aaa;
  --border: #303332;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --content-width: 1320px;
  position: sticky;
  top: 0;
  padding: .6rem max(var(--gutter), calc((100vw - var(--content-width)) / 2 + var(--gutter)));
  min-height: 72px;
  gap: 1.5rem;
  font-weight: 400;
  line-height: 1.65;
}
.site-nav .nav-logo { flex-shrink: 0; font-size: 1.25rem; display: inline-flex; align-items: center; gap: .25em; min-height: 44px; }
.site-nav .nav-links { gap: clamp(.75rem, 2vw, 1.75rem); }
.site-nav .nav-links a { font-size: .72rem; letter-spacing: .06em; min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.site-nav .nav-links a.active { border-bottom-color: var(--green); }
.site-nav .menu-toggle { display: none; font: inherit; color: var(--white); border: 1px solid var(--border); background: var(--card); min-height: 44px; padding: .5rem .9rem; border-radius: 4px; }
.site-nav :where(a,button):focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
/* Account for the sticky header's height without shifting the original hero. */
main { padding-top: calc(6rem - 72px); }
@media (max-width: 760px) {
  .site-nav { padding: .6rem var(--gutter); flex-wrap: wrap; gap: .25rem 1rem; }
  .site-nav .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .75rem; }
  .site-nav .nav-links { width: 100%; flex-wrap: wrap; gap: 0; padding-top: .5rem; }
  .site-nav .nav-links li { flex: 1 0 33%; }
  .site-nav .nav-links a { padding: .6rem .5rem; font-size: .75rem; }
  .site-nav.nav-enhanced .nav-links { display: none; }
  .site-nav.nav-enhanced .nav-links.is-open { display: flex; }
}
@media (max-width: 380px) { .site-nav .nav-links li { flex-basis: 50%; } }

/* Home-only trial: a shorter hero, with the original ornament above the contacts. */
.hero {
  min-height: 72vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-illustration {
  width: clamp(150px, 17vw, 240px);
  top: 1rem;
  right: 3rem;
  transform: none;
  opacity: .65;
  animation: none;
}
.hero-right { margin-top: 6rem; }
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 3rem 1.5rem; gap: 2rem; }
  .hero-right { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before { animation: none !important; transition: none !important; }
  .hero-label, .hero-title, .hero-sub, .hero-cta, .hero-right { opacity: 1; }
}

/* A quiet signal along the bottom edge: separate from text and contacts. */
.hero-trace {
  position: absolute;
  bottom: .75rem;
  left: 0;
  width: 100%;
  height: clamp(80px, 10vw, 140px);
  pointer-events: none;
}
.trace-guide { stroke: var(--green); stroke-width: .5; opacity: .08; }
.trace-line { stroke: var(--green); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; opacity: .55; vector-effect: non-scaling-stroke; }
.trace-node { fill: var(--green); opacity: .75; }
.hero::before { opacity: .35; }
@media (max-width: 768px) {
  .hero { padding-bottom: 5rem; }
  .hero-trace { height: 65px; bottom: 0; }
}
