*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 128px 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--white);
  background: var(--forest-900);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green-700); box-shadow: 0 16px 34px rgba(8, 124, 66, .22); }
.button-primary:hover { background: var(--forest-800); box-shadow: 0 20px 45px rgba(8, 124, 66, .28); }
.button-dark { color: var(--white); background: var(--forest-900); }
.button-light { color: var(--forest-900); background: var(--white); box-shadow: var(--shadow-sm); }
.button-small { min-height: 48px; padding-inline: 20px; }
.button-product { align-self: flex-start; color: var(--white); background: var(--forest-900); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  font-weight: 800;
}

.text-link span:last-child { transition: transform .25s var(--ease); }
.text-link:hover span:last-child { transform: translateX(5px); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 54px;
}

.section-heading h2,
.principles-intro h2,
.contact-card h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.section-heading p,
.principles-intro p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
