:root {
  --phi: 1.618;
  --space-1: 0.618rem;
  --space-2: 1rem;
  --space-3: 1.618rem;
  --space-4: 2.618rem;
  --space-5: 4.236rem;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #1f2a25;
  --accent: #3f5a4f;
}

html,
body {
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body .wrapper {
  max-width: 1260px;
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: 0 16px 42px rgba(14, 34, 23, 0.18);
}

body .header-wrap .nav-wrap {
  background: var(--panel-strong);
  border-bottom: 1px solid rgba(42, 61, 51, 0.12);
  backdrop-filter: blur(3px);
}

body .header-wrap #logo img {
  max-height: 82px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(24, 41, 32, 0.2));
}

body .header-wrap .menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

body .header-wrap .search {
  margin-left: auto;
}

/* Remove search from header */
body .header-wrap .search {
  display: none !important;
}

body .header-wrap .wsite-search-input {
  border: 1px solid rgba(70, 96, 81, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  padding-inline: 1rem;
}

body .wsite-menu-default {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
}

body .wsite-menu-default .wsite-menu-item {
  letter-spacing: 0.16em !important;
  font-weight: 500 !important;
  transition: color 200ms ease, transform 200ms ease;
  padding: 0.25rem 0.2rem;
}

body .wsite-menu-default .wsite-menu-item:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}

body #main-wrap .wsite-section-content .container {
  max-width: 1100px;
}

body #wsite-content .paragraph {
  max-width: 74ch;
  margin-inline: auto;
}

/* Home page composition */
body.wsite-page-index .header-wrap {
  padding-top: 110px;
}

body.wsite-page-index .header-wrap .nav-wrap {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-inline: clamp(0.8rem, 2vw, 2rem);
}

body.wsite-page-index .header-wrap #logo {
  display: none;
}

body.wsite-page-index .header-wrap .menu {
  width: 100%;
}

body.wsite-page-index .header-wrap .menu .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
  justify-content: unset;
  padding-right: 0;
  max-width: 1060px;
  margin-inline: auto;
}

body.wsite-page-index .header-wrap .search {
  margin-left: 0;
}

body.wsite-page-index .header-wrap .wsite-search-input {
  width: clamp(125px, 10vw, 165px);
}

body.wsite-page-index .wsite-menu-default {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) repeat(3, auto);
  grid-template-areas:
    "home welcome myinfo ."
    "home healthy functional links";
  justify-content: end;
  align-items: center;
  column-gap: clamp(0.9rem, 1.5vw, 1.8rem);
  row-gap: 0.35rem;
}

body.wsite-page-index .wsite-menu-default .wsite-menu-item {
  font-size: clamp(12px, 0.9vw, 14px) !important;
  letter-spacing: 0.12em !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

body.wsite-page-index .wsite-menu-default .wsite-menu-item:hover,
body.wsite-page-index .wsite-menu-default #active .wsite-menu-item {
  border-bottom-color: rgba(58, 88, 74, 0.6);
}

body.wsite-page-index .wsite-menu-default #active {
  grid-area: home;
  justify-self: start;
  align-self: center;
}

body.wsite-page-index .wsite-menu-default #pg644342290433334877 {
  grid-area: welcome;
}

body.wsite-page-index .wsite-menu-default #pg518790656201308363 {
  grid-area: myinfo;
}

body.wsite-page-index .wsite-menu-default #pg102182495937192583 {
  grid-area: healthy;
}

body.wsite-page-index .wsite-menu-default #pg419206717714504932 {
  grid-area: functional;
}

body.wsite-page-index .wsite-menu-default #pg667953982430571780 {
  grid-area: links;
}

body.wsite-page-index .banner-wrap,
body.wsite-page-index .banner,
body.wsite-page-index .header-wrap {
  overflow: visible !important;
}

body.wsite-page-index .wsite-header-section {
  min-height: 510px;
}

body.wsite-page-index .banner .wsite-section-elements > .wsite-multicol .wsite-multicol-table-wrap {
  max-width: 1040px;
  margin-inline: auto !important;
}

/* Golden-ratio style hero split: image column visually dominant ~62/38 */
body.wsite-page-index .banner .wsite-multicol-col:first-child {
  width: 62% !important;
}

body.wsite-page-index .banner .wsite-multicol-col:last-child {
  width: 38% !important;
}

body.wsite-page-index .banner .wsite-multicol-col:first-child .wsite-image-border-thick {
  position: relative;
  top: -245px;
  margin-bottom: -245px;
  z-index: 24;
  box-shadow: 0 14px 30px rgba(16, 35, 26, 0.28);
  animation: floatIn 700ms ease-out;
}

body.wsite-page-index .banner .wsite-multicol-col:first-child img {
  max-width: min(44vw, 420px);
}

body.wsite-page-index .banner .wsite-multicol-col:last-child h2 {
  font-size: clamp(2.7rem, 4vw, 4.4rem) !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.55);
  animation: fadeUp 700ms ease-out;
}

body.wsite-page-index .banner .wsite-multicol-col:last-child .paragraph {
  font-size: clamp(1.22rem, 1.8vw, 1.7rem) !important;
  line-height: 1.55 !important;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
  animation: fadeUp 950ms ease-out;
}

body.wsite-page-index #wsite-content .wsite-image-border-none {
  margin: 0 auto var(--space-4) auto;
  width: 40%;
  max-width: 360px;
}

body.wsite-page-index #wsite-content .paragraph:first-of-type {
  margin-top: var(--space-3);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  body .header-wrap .menu .container {
    justify-content: center;
    gap: var(--space-2);
  }

  body.wsite-page-index .header-wrap {
    padding-top: 0;
  }

  body.wsite-page-index .header-wrap .nav-wrap {
    grid-template-columns: 1fr;
    padding-block: 0.6rem;
  }

  body.wsite-page-index .header-wrap #logo {
    justify-self: center;
    padding-left: 0;
  }

  body.wsite-page-index .header-wrap .menu .container {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-right: 0;
  }

  body.wsite-page-index .wsite-menu-default {
    justify-content: center;
    display: flex;
    width: auto;
  }

  body.wsite-page-index .banner .wsite-multicol-col:first-child,
  body.wsite-page-index .banner .wsite-multicol-col:last-child {
    width: 100% !important;
  }

  body.wsite-page-index .banner .wsite-multicol-col:first-child .wsite-image-border-thick {
    top: -96px;
    margin-bottom: -96px;
  }

  body.wsite-page-index .banner .wsite-multicol-col:first-child img {
    max-width: min(70vw, 360px);
  }
}
