:root{
  /* Brand */
  --emerald: #0f5f4a;
  --emerald-dark: #0b4a39;
  --champagne: #f5f1ea;

  /* System */
  --bg: #ffffff;                 /* global bg back to white */
  --text: var(--emerald);
  --muted: #4f6f65;
  --line: rgba(15, 95, 74, 0.15);
  --max: 1200px;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding-bottom: 50px;          /* 👈 pushes divider down */
  border-bottom: 1px solid var(--line);
}

.top-nav{
  height: 72px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
  gap: 18px;
}

.nav-link{
  text-decoration: none;
  color: var(--emerald);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  justify-self: center;
  font-weight: 500;
}

.nav-link:hover{ color: var(--emerald-dark); }

.brand{
  justify-self: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo{
  height: 90px;
  width: auto;
  display: block;
}

.hero{
  min-height: 60vh;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #ffffff;                 /* force white so logo square disappears */
}

.hero-inner{
  width: min(var(--max), calc(100% - 48px));
  padding: 64px 0;
}

.hero-logo{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-logo img{
  height: 450px;                 /* BIG, confident */
  width: auto;
  opacity: 0;
  transform: translateY(12px);
  animation: logoFade 1.6s ease-out forwards;
  pointer-events: none;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;             /* centre CTAs under logo */
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--emerald);
  text-decoration: none;
  background: var(--emerald);
  color: #ffffff;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.btn:hover{
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
}

.btn:active{ transform: translateY(1px); }

.btn-ghost{
  background: transparent;
  color: var(--emerald);
}

.btn-ghost:hover{
  background: rgba(15, 95, 74, 0.08);
  border-color: var(--emerald);
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}

/* Mobile: keep it clean */
@media (max-width: 720px){
  .top-nav{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    padding: 14px 0;
  }

  .brand{
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 6px;
  }

  .nav-link{
    justify-self: center;
    padding: 10px 0;
  }

  .hero-logo img{
    height: 110px;
  }
}
@keyframes logoFade{
  from{
    opacity: 0;
    transform: translateY(12px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-actions{
  animation: actionsFade 1.2s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

@keyframes actionsFade{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---- One-page sections + reveal animation ---- */

.section{
  padding: clamp(48px, 6vw, 96px) 0;
}

.section h2{
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.hero-sub{
  margin: 18px 0 0;
  text-align: center;
  opacity: 0.8;
}

.muted{ opacity: 0.8; }
.tiny{ font-size: 0.85rem; }

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; transform: none; opacity: 1; }
}

/* cards */
.cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}

.card-muted{
  opacity: 0.92;
}

.bullets{
  margin: 12px 0 0;
  padding-left: 18px;
  opacity: 0.9;
}

.card-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* contact layout */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-box{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.7);
}

.contact-form{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.7);
  display: grid;
  gap: 12px;
}

.contact-form label{
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.contact-form input,
.contact-form textarea{
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.9);
  font: inherit;
}

.link{
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.link:hover{
  border-bottom-color: currentColor;
}

/* Fix hero logo sizing if you still have 500px set somewhere */
.hero-logo img{
  height: clamp(140px, 35vw, 420px);
  width: auto;
}
/* --- Page switcher (fade out/in) --- */
main{
  min-height: calc(100vh - 140px); /* header+footer allowance; tweak if needed */
}

.page{
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.page.is-active{
  display: block;
}

.page.is-enter{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

.page.is-exit{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

@media (prefers-reduced-motion: reduce){
  .page, .page.is-enter, .page.is-exit{ transition: none; transform: none; }
}
.hero-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Move the sub-line closer to the logo */
.hero-sub{
  margin-top: 12px;     /* was likely much larger via defaults */
  margin-bottom: 18px;
}

/* Pull the whole text+buttons block upward slightly */
.hero-actions{
  margin-top: 6px;
}

/* Optional: nudge everything up as a group */
.hero-inner{
  transform: translateY(-40px);
}
/* --- About section enhancements --- */

.about-lead{
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.about-points{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.about-point{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  opacity: 0.9;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.about-foot{
  opacity: 0.85;
}
.about > *{
  opacity: 0;
  transform: translateY(10px);
  animation: aboutFade 420ms ease forwards;
}

.about > *:nth-child(2){ animation-delay: 60ms; }
.about > *:nth-child(3){ animation-delay: 120ms; }
.about > *:nth-child(4){ animation-delay: 180ms; }
.about > *:nth-child(5){ animation-delay: 240ms; }

@keyframes aboutFade{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.about-principle{
  margin: 18px 0;
  font-style: italic;
  opacity: 0.85;
  max-width: 52ch;
}
.products-lead{
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin: 10px 0 18px;
  opacity: 0.9;
  max-width: 68ch;
}

.card-lead{
  margin-top: 6px;
  opacity: 0.9;
}

.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.chip{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  opacity: 0.9;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.card-foot{
  margin-top: 14px;
}
/* --- Product logo treatment --- */

.product-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.product-logo{
  height: 34px;
  width: auto;
  opacity: 0.95;
}
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
