:root {
  --green: #063f24;
  --green-soft: rgba(6, 63, 36, 0.08);
  --green-line: rgba(6, 63, 36, 0.16);
  --cream: #fbf6ea;
  --paper: #fffdf6;
  --text: #183626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(14px, 3vw, 38px);
  background: rgba(251, 246, 234, 0.94);
  border-bottom: 1px solid var(--green-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: clamp(260px, 24vw, 390px);
  height: 112px;
  overflow: visible;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.top-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 4px;
}
.top-nav::-webkit-scrollbar { display: none; }

.top-nav a,
.header-contact,
.float-contact {
  font: inherit;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 800;
}

.top-nav a {
  color: var(--green);
  border: 1px solid var(--green-line);
  background: rgba(255, 253, 246, 0.82);
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.top-nav a:hover,
.top-nav a.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.header-contact {
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(6, 63, 36, 0.18);
}
.header-contact:hover,
.float-contact:hover { background: #0b5a33; }

.page-main { min-height: calc(100vh - 119px); }

.visual-wrap {
  width: 100%;
  padding: clamp(10px, 2vw, 24px);
}
.visual-wrap img {
  width: 100%;
  max-width: 1500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  color: #fff;
  background: var(--green);
  padding: 13px 20px;
  box-shadow: 0 12px 28px rgba(6, 63, 36, 0.25);
}

.contact-page {
  padding: clamp(22px, 5vw, 70px) clamp(16px, 4vw, 42px);
}
.contact-card {
  width: min(100%, 860px);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--green-line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 42px);
}
.contact-card h1 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.contact-card p {
  margin: 0 0 24px;
  max-width: 720px;
  line-height: 1.55;
  color: rgba(6, 63, 36, 0.72);
}
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--green-line);
  border-radius: 20px;
  background: #fff;
  color: var(--green);
  text-decoration: none;
}
.contact-link:hover {
  background: var(--green-soft);
  border-color: rgba(6, 63, 36, 0.32);
}
.contact-label {
  font-weight: 800;
  color: rgba(6, 63, 36, 0.62);
}
.contact-link strong {
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.02em;
  text-align: right;
}

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; gap: 8px 12px; }
  .brand { width: 240px; height: 92px; }
  .header-contact { margin-left: auto; padding: 11px 15px; font-size: 13px; }
  .top-nav { order: 3; width: 100%; flex-basis: 100%; justify-content: flex-start; }
  .top-nav a { padding: 10px 13px; font-size: 13px; }
}

@media (max-width: 640px) {
  .brand { width: 200px; height: 78px; }
  .visual-wrap { padding: 8px; }
  .float-contact { right: 12px; bottom: 12px; padding: 12px 16px; }
  .contact-link { align-items: flex-start; flex-direction: column; gap: 6px; }
  .contact-link strong { text-align: left; }
}


.visual-stack {
  display: grid;
  gap: clamp(10px, 2vw, 20px);
}
.visual-wrap + .visual-wrap {
  padding-top: 0;
}
.visual-panel img {
  box-shadow: none;
  border-radius: 0;
}


/* Premium motion layer
   Purpose: polish and guided attention only. No redesign, no copy changes,
   no new visual style, and no change to the SVG artwork. */
.site-header {
  animation: headerReveal 520ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes headerReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-nav a,
.header-contact,
.float-contact,
.contact-link {
  transition:
    transform 220ms ease-out,
    background 220ms ease-out,
    color 220ms ease-out,
    border-color 220ms ease-out,
    box-shadow 220ms ease-out;
}

.top-nav a:hover,
.header-contact:hover,
.float-contact:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

html.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 560ms cubic-bezier(.2,.8,.2,1),
    transform 560ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

html.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-enabled .visual-panel.motion-reveal img,
html.motion-enabled .visual-wrap.motion-reveal img {
  transform: translateZ(0);
  transition:
    transform 640ms cubic-bezier(.2,.8,.2,1),
    opacity 560ms cubic-bezier(.2,.8,.2,1);
}

html.motion-enabled .visual-panel.motion-reveal.is-visible img,
html.motion-enabled .visual-wrap.motion-reveal.is-visible img {
  transform: translateZ(0);
}

/* Contact details are useful action items, so they receive a soft sequential reveal. */
html.motion-enabled .contact-card.motion-reveal .contact-link {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 500ms cubic-bezier(.2,.8,.2,1),
    transform 500ms cubic-bezier(.2,.8,.2,1),
    background 220ms ease-out,
    border-color 220ms ease-out;
}

html.motion-enabled .contact-card.motion-reveal.is-visible .contact-link {
  opacity: 1;
  transform: translateY(0);
}

html.motion-enabled .contact-card.motion-reveal.is-visible .contact-link:nth-child(1) { transition-delay: 90ms; }
html.motion-enabled .contact-card.motion-reveal.is-visible .contact-link:nth-child(2) { transition-delay: 170ms; }
html.motion-enabled .contact-card.motion-reveal.is-visible .contact-link:nth-child(3) { transition-delay: 250ms; }

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .top-nav a,
  .header-contact,
  .float-contact,
  .contact-link,
  .motion-reveal,
  .motion-reveal img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }
}

