:root {
  --avanoq-green: #4f6657;
  --ink: #18231d;
  --paper: #f6f7f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 5.8rem;
  align-items: center;
  gap: clamp(2.8rem, 6vw, 5rem);
  padding: 1.2rem clamp(2rem, 5vw, 3rem);
  background: var(--avanoq-green);
}

.nav-tab {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: rgb(246 247 244 / 78%);
  background: transparent;
  font: inherit;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 560;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav-tab:hover,
.nav-tab:focus-visible {
  color: var(--paper);
  outline: none;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  margin-left: 0.68rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

.nav-menu[open] summary::after {
  transform: translateY(0.08rem) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 14rem;
  padding: 0.45rem 0;
  border: 1px solid rgb(246 247 244 / 16%);
  border-radius: 0;
  background: var(--avanoq-green);
  box-shadow: 0 16px 36px rgb(24 35 29 / 18%);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: rgb(246 247 244 / 82%);
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.1;
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--paper);
  background: rgb(246 247 244 / 8%);
  outline: none;
}

.page {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--avanoq-green) 0 60%, var(--paper) 60% 100%);
}

.brand-panel {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--avanoq-green);
}

.logo {
  display: block;
  width: min(50vw, 520px);
  max-width: 86%;
  height: auto;
}

.intro-panel {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--paper);
}

.text-box {
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}

.text-box p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.text-box p + p {
  margin-top: 1rem;
}

.contact-panel {
  min-height: 40vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--paper);
}

.email-link {
  color: var(--avanoq-green);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 560;
  text-underline-offset: 0.25em;
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 4.2rem;
    gap: clamp(1rem, 4vw, 1.5rem);
    overflow-x: auto;
    padding: 0.75rem 1.1rem;
  }

  .nav-tab {
    flex: 0 0 auto;
    min-width: 0;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-menu {
    flex: 0 0 auto;
  }

  .dropdown-menu {
    right: 0;
    left: auto;
    min-width: min(12rem, 100vw - 1.5rem);
  }

  .brand-panel {
    min-height: 60vh;
  }

  .page {
    background: linear-gradient(to bottom, var(--avanoq-green) 0 60%, var(--paper) 60% 100%);
  }

  .logo {
    width: min(78vw, 360px);
  }

  .intro-panel {
    min-height: 40vh;
    padding: 2rem 1.35rem;
  }

  .contact-panel {
    min-height: 40vh;
    padding: 2rem 1.35rem;
  }
}

.site-footer {
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.35rem, 5vw, 4rem);
  color: rgb(246 247 244 / 82%);
  background: var(--ink);
  font-size: 0.9rem;
}
main.page { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.footer-inner { width: min(1120px, 100%); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.footer-company p { margin: 0; }
.footer-company a, .footer-links a { color: inherit; text-underline-offset: 0.25em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 0.65rem; }
.footer-links a { white-space: nowrap; }
.legal-page { min-height: 100vh; padding-top: 5.8rem; background: var(--paper); }
.legal-content { width: min(840px, calc(100% - 2.7rem)); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.legal-content h1 { margin: 0 0 0.35rem; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.legal-content h2 { margin: 2.5rem 0 0.55rem; font-size: 1.2rem; }
.legal-content p { margin: 0 0 1rem; }
.legal-content .updated { margin-bottom: 2.5rem; opacity: 0.65; }
.legal-content ul { padding-left: 1.3rem; }
@media (max-width: 680px) {
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .legal-page { padding-top: 4.2rem; }
}
