:root {
  --bg: #F6F1E7;
  --surface: #FFFDF7;
  --ink: #17251B;
  --muted: #5D6B5F;
  --line: rgba(23, 37, 27, 0.13);
  --green: #2E5E3E;
  --green-deep: #1C3A28;
  --lime: #CBDC6F;
  --lime-strong: #AFC94D;
  --citrus: #E0762F;
  --honey: #EBA83F;
  --dark: #14231A;
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 34px;
  --shadow-s: 0 4px 18px rgba(23, 37, 27, 0.08);
  --shadow-m: 0 14px 44px rgba(23, 37, 27, 0.13);
  --font-display: "Prata", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;
  --header-h: 82px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

[hidden] {
  display: none !important;
}

fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

legend {
  padding: 0;
}

::selection {
  background: var(--lime);
  color: var(--green-deep);
}

:focus-visible {
  outline: 3px solid var(--lime-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #b9c9ad;
  border-radius: 99px;
  border: 3px solid var(--bg);
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.noscript-note {
  padding: 14px 20px;
  text-align: center;
  background: var(--honey);
  font-weight: 600;
}

.section {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
}

.section--tint {
  background:
    linear-gradient(180deg, rgba(203, 220, 111, 0.14), rgba(203, 220, 111, 0.03)), var(--surface);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

.section-title--light {
  color: var(--bg);
}

.section-title--light em {
  color: var(--lime);
}

.eyebrow {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.watermark {
  position: absolute;
  top: 42px;
  right: 2%;
  font-family: var(--font-display);
  font-size: clamp(90px, 14vw, 190px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 37, 27, 0.09);
  user-select: none;
  pointer-events: none;
}

.handwritten {
  font-family: var(--font-hand);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  color: var(--green-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-s);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--green-deep);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--green);
}

.btn--outline {
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  box-shadow: inset 0 0 0 2px var(--green);
  color: var(--green);
  background: rgba(46, 94, 62, 0.06);
}

.btn--ghost {
  box-shadow: inset 0 0 0 2px rgba(246, 241, 231, 0.35);
  color: inherit;
  padding: 11px 22px;
  font-size: 14px;
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 2px rgba(246, 241, 231, 0.7);
}

.btn--lime {
  background: var(--lime);
  color: var(--green-deep);
}

.btn--lime:hover {
  background: #dbe88b;
}

.btn--wide {
  width: 100%;
}

.btn__arrow {
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.link-arrow,
.link-inline {
  color: var(--green);
  font-weight: 700;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-arrow svg {
  transition: transform 0.25s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-inline {
  text-decoration: underline;
  text-decoration-color: rgba(46, 94, 62, 0.4);
  text-underline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 241, 231, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 231, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px rgba(23, 37, 27, 0.25);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.06em;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  transition: transform 0.4s ease;
}

.brand:hover .brand__mark {
  transform: rotate(-14deg) scale(1.05);
}

.brand--light {
  color: var(--bg);
}

.brand--light .brand__mark {
  background: var(--lime);
  color: var(--green-deep);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 2px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.scroll-progress {
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), var(--lime));
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line);
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 34px;
  padding: calc(var(--header-h) + 20px) 8% 8%;
  background: linear-gradient(160deg, var(--dark), #1d3625 78%);
  color: var(--bg);
  opacity: 0;
  translate: 0 4vh;
  pointer-events: none;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(26px, 6.4vw, 34px);
  padding: 8px 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu nav a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu nav a:active::after {
  opacity: 1;
}

.mobile-menu__note {
  margin: 0;
  color: rgba(246, 241, 231, 0.66);
  font-size: 14.5px;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  padding-block: clamp(46px, 6vw, 84px) clamp(56px, 7vw, 96px);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56vw 44vh at 108% 12%, rgba(203, 220, 111, 0.4), transparent 62%),
    radial-gradient(40vw 40vh at -6% 88%, rgba(235, 168, 63, 0.16), transparent 60%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.squiggle {
  position: relative;
  white-space: nowrap;
}

.squiggle svg {
  position: absolute;
  left: -2%;
  bottom: -0.14em;
  width: 104%;
  height: 0.24em;
  overflow: visible;
}

.squiggle path {
  stroke: var(--citrus);
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s ease-out 0.9s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 480px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.hero__stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
}

.hero__stats > div {
  min-width: 128px;
}

.hero__stats dt {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 33px);
  color: var(--green-deep);
  line-height: 1.1;
}

.hero__stats dd {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.hero__photo {
  margin: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.hero__photo--main {
  position: relative;
  width: min(420px, 82%);
  aspect-ratio: 4 / 5;
  margin-left: auto;
  z-index: 2;
}

.hero__card {
  position: absolute;
  z-index: 3;
}

.hero__card--photo {
  left: 0;
  bottom: 8%;
  width: clamp(200px, 24vw, 270px);
  background: var(--surface);
  padding: 10px 10px 14px;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  animation: floaty 6s ease-in-out infinite;
}

.hero__card--photo img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  border-radius: 15px;
}

.hero__card--photo figcaption {
  padding: 10px 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.hero__card--note {
  top: 4%;
  left: clamp(8px, 3vw, 40px);
  background: var(--lime);
  color: var(--green-deep);
  padding: 16px 20px 13px;
  border-radius: var(--radius-m);
  border-top-left-radius: 4px;
  box-shadow: var(--shadow-s);
  max-width: 250px;
  transform: rotate(-3deg);
  animation: floaty 7s ease-in-out 1s infinite;
}

.hero__card--note p {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.2;
}

.hero__card--note small {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  opacity: 0.75;
}

@keyframes floaty {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

.hero__blob {
  position: absolute;
  z-index: 1;
  filter: blur(2px);
  opacity: 0.75;
}

.hero__blob--lime {
  width: 190px;
  height: 190px;
  right: -4%;
  top: 2%;
  background: radial-gradient(circle at 35% 35%, #e3edaa, var(--lime));
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  animation: morph 9s ease-in-out infinite alternate;
}

.hero__blob--green {
  width: 130px;
  height: 130px;
  left: 30%;
  bottom: -6%;
  background: radial-gradient(circle at 30% 30%, #47774f, var(--green));
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
  animation: morph 11s ease-in-out infinite alternate-reverse;
}

@keyframes morph {

  0% {
    border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
    scale: 1;
  }

  100% {
    border-radius: 43% 57% 40% 60% / 60% 42% 58% 40%;
    scale: 1.07;
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(46, 94, 62, 0.3);
  animation: bounce 2.4s ease-in-out infinite;
}

.hero__scroll:hover {
  background: rgba(46, 94, 62, 0.08);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

.marquee {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(23, 37, 27, 0.55);
  white-space: nowrap;
}

.marquee__track i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--honey);
  flex-shrink: 0;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.about__media {
  position: relative;
  min-height: 460px;
}

.about__photo {
  margin: 0;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.about__photo--main {
  width: min(400px, 86%);
  aspect-ratio: 3 / 4;
  margin-left: auto;
}

.about__photo--small {
  position: absolute;
  left: 0;
  bottom: -8%;
  width: clamp(180px, 21vw, 240px);
  aspect-ratio: 4 / 5;
  border: 8px solid var(--bg);
}

.about__badge {
  position: absolute;
  top: 6%;
  left: 4%;
  background: var(--surface);
  padding: 12px 18px 9px;
  border-radius: var(--radius-m);
  border-top-right-radius: 4px;
  box-shadow: var(--shadow-s);
  transform: rotate(-4deg);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 30px 0 34px;
  display: grid;
  gap: 14px;
}

.ticks li {
  position: relative;
  padding-left: 40px;
  font-weight: 500;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(175, 201, 77, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23234A31' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.principle {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.principle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: transparent;
}

.principle__icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px 18px 18px 6px;
  background: rgba(175, 201, 77, 0.22);
  color: var(--green);
  margin-bottom: 20px;
}

.principle__icon svg {
  width: 30px;
  height: 30px;
}

.principle h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.principle p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.principle__num {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(23, 37, 27, 0.22);
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.program {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-m);
}

.program--featured {
  outline: 3px solid var(--green);
  outline-offset: -3px;
  transform: scale(1.02);
}

.program--featured:hover {
  transform: scale(1.02) translateY(-7px);
}

.program__flag {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: -6px;
  background: var(--citrus);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px 0 0 99px;
}

.program__img {
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.program__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.program:hover .program__img img {
  transform: scale(1.06);
}

.program__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px 24px 22px;
  gap: 12px;
}

.program__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program__tags span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(175, 201, 77, 0.24);
  color: var(--green-deep);
}

.program:nth-child(2) .program__tags span {
  background: rgba(235, 168, 63, 0.2);
}

.program:nth-child(3) .program__tags span {
  background: rgba(224, 118, 47, 0.14);
}

.program h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
}

.program p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  flex-grow: 1;
}

.program__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.program__foot b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  white-space: nowrap;
}

.program__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--green);
}

.program__more svg {
  transition: transform 0.25s ease;
}

.program__more:hover svg {
  transform: translateX(3px);
}

.programs__note {
  margin: clamp(26px, 4vw, 40px) 0 0;
  text-align: center;
  color: var(--muted);
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr));
  gap: 22px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--card-delay, 0s);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.article-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.article-card:hover .article-card__img img {
  transform: scale(1.07);
}

.article-card.no-img .article-card__img {
  background: linear-gradient(135deg, #dfe9c3, #a9c98c 55%, #76a368);
  display: grid;
  place-items: center;
}

.article-card.no-img .article-card__img::after {
  content: attr(data-cat);
  font-family: var(--font-display);
  font-size: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.article-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 253, 247, 0.92);
  color: var(--green-deep);
  padding: 5px 11px;
  border-radius: 99px;
}

.article-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.article-card h3 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.3;
}

.article-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--muted);
  flex-grow: 1;
}

.article-card time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}

.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding-bottom: 22px;
  overflow: hidden;
}

.sk {
  background: linear-gradient(90deg, #ece5d6 25%, #f6f1e6 45%, #ece5d6 65%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.sk--img {
  aspect-ratio: 16 / 10;
}

.sk--tag {
  width: 88px;
  height: 22px;
  border-radius: 99px;
  margin: 16px 20px 0;
}

.sk--line {
  height: 14px;
  border-radius: 7px;
  margin: 12px 20px 0;
}

.sk--line--short {
  width: 55%;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.articles__more-wrap {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.articles__more-wrap .btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--muted);
}

.section--dark {
  background:
    radial-gradient(46vw 40vh at 112% 0%, rgba(175, 201, 77, 0.14), transparent 60%),
    radial-gradient(38vw 38vh at -8% 96%, rgba(224, 118, 47, 0.1), transparent 55%), var(--dark);
  color: var(--bg);
}

.calc__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.calc__copy > p {
  color: rgba(246, 241, 231, 0.72);
  max-width: 460px;
  margin-bottom: 30px;
}

.calc__form {
  display: grid;
  gap: 22px;
}

.chip-group legend {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.66);
  margin-bottom: 10px;
}

.chip-group {
  display: block;
}

.chip-group label {
  display: inline-flex;
}

.chip-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chip-group span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: inset 0 0 0 1.5px rgba(246, 241, 231, 0.28);
  transition: all 0.22s ease;
  margin: 0 10px 10px 0;
}

.chip-group input:checked + span {
  background: var(--lime);
  color: var(--green-deep);
  box-shadow: none;
  font-weight: 700;
}

.chip-group input:focus-visible + span {
  outline: 3px solid var(--lime-strong);
  outline-offset: 3px;
}

.calc__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.field {
  position: relative;
  display: block;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 24px 16px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section--dark .field input,
.section--dark .field select {
  color: var(--bg);
  background: rgba(246, 241, 231, 0.07);
  border-color: rgba(246, 241, 231, 0.22);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  padding-top: 24px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 94, 62, 0.14);
}

.section--dark .field input:focus,
.section--dark .field select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(203, 220, 111, 0.18);
}

.field span {
  position: absolute;
  left: 16px;
  top: 17px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.18s ease;
}

.section--dark .field span {
  color: rgba(246, 241, 231, 0.55);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.field select + span {
  top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.select-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23F6F1E7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(rgba(246, 241, 231, 0.07), rgba(246, 241, 231, 0.07));
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px, auto;
}

.select-field option {
  color: var(--ink);
  background: var(--surface);
}

.field.invalid input {
  border-color: #d4593f;
  animation: shake 0.35s ease;
}

@keyframes shake {

  0%,
  100% {
    translate: 0 0;
  }

  25% {
    translate: -5px 0;
  }

  75% {
    translate: 5px 0;
  }
}

.field__error {
  display: none;
  font-style: normal;
  font-size: 12.5px;
  color: #f2a48f;
  margin-top: 6px;
}

.field.invalid .field__error {
  display: block;
}

.calc__error {
  margin: 0;
  color: #f2a48f;
  font-size: 14px;
  font-weight: 600;
}

.calc__result {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.calc__result-inner {
  background: linear-gradient(165deg, rgba(203, 220, 111, 0.16), rgba(203, 220, 111, 0.05)), rgba(246, 241, 231, 0.05);
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 40px);
  backdrop-filter: blur(6px);
  animation: cardIn 0.6s ease both;
}

.calc__result-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
  margin-bottom: 8px;
}

.calc__bmi strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  margin-bottom: 10px;
}

.calc__bmi-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(246, 241, 231, 0.12);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.calc__kcal {
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  padding-top: 22px;
}

.calc__kcal strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--lime);
}

.macros {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}

.macros li span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.macros b {
  color: var(--bg);
}

.macros__bar {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: rgba(246, 241, 231, 0.1);
  position: relative;
  overflow: hidden;
}

.macros__bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.macros__bar--p::after {
  background: var(--lime);
}

.macros__bar--f::after {
  background: var(--honey);
}

.macros__bar--c::after {
  background: #8fb7d1;
}

.macros li.animate .macros__bar::after {
  width: var(--w);
}

.calc__hint {
  margin: 24px 0 0;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.6);
}

.slider {
  position: relative;
  padding: 0 clamp(46px, 6vw, 80px);
}

.slider__viewport {
  overflow-x: auto;
  border-radius: var(--radius-l);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider__viewport::-webkit-scrollbar {
  display: none;
}

.slider__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(30px, 4.6vw, 54px) clamp(26px, 5vw, 66px);
}

.slide blockquote {
  margin: 0 0 26px;
  font-size: clamp(16.5px, 1.7vw, 21px);
  line-height: 1.55;
  font-weight: 500;
}

.slide footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slide footer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--lime);
}

.slide footer b {
  display: block;
  font-size: 16px;
}

.slide footer span {
  font-size: 13.5px;
  color: var(--muted);
}

.slider__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px var(--line);
  transition: all 0.25s ease;
  z-index: 20;
}

.slider__arrow:hover {
  background: var(--green-deep);
  color: var(--bg);
  box-shadow: none;
}

.slider__arrow--prev {
  left: 0;
}

.slider__arrow--next {
  right: 0;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(23, 37, 27, 0.2);
  transition: all 0.3s ease;
}

.slider__dots button.is-active {
  width: 30px;
  background: var(--green);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.faq__copy .btn {
  margin-top: 28px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(46, 94, 62, 0.45);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(175, 201, 77, 0.26) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%231C3A28' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(135deg);
}

.faq__body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  animation: fadeDown 0.35s ease both;
}

.faq__body p {
  margin: 0;
  max-width: 60ch;
}

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

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.contact__copy > p {
  color: var(--muted);
  max-width: 440px;
  margin: 16px 0 34px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.contact-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(175, 201, 77, 0.24);
  color: var(--green-deep);
  flex-shrink: 0;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.4vw, 42px);
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-s);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check i {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px var(--line);
  transition: all 0.2s ease;
  position: relative;
}

.check input:checked + i {
  background: var(--green);
  box-shadow: none;
}

.check input:checked + i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23F6F1E7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.check input:focus-visible + i {
  outline: 3px solid var(--lime-strong);
  outline-offset: 3px;
}

.contact__success {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--green);
  animation: fadeDown 0.4s ease both;
}

#contact-submit {
  position: relative;
}

#contact-submit.loading span {
  visibility: hidden;
}

#contact-submit.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(246, 241, 231, 0.35);
  border-top-color: var(--bg);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  background: var(--dark);
  color: rgba(246, 241, 231, 0.78);
  padding: clamp(48px, 6vw, 76px) 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.14);
}

.site-footer__brand p {
  margin: 18px 0 0;
  max-width: 260px;
}

.site-footer__nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__nav a {
  width: fit-content;
  transition: color 0.2s ease, translate 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--lime);
  translate: 4px 0;
}

.site-footer__misc {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}

.site-footer__misc a {
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(246, 241, 231, 0.3);
  text-underline-offset: 4px;
}

.site-footer__misc a:hover {
  color: var(--lime);
}

.site-footer__misc .handwritten {
  color: var(--lime);
  margin-top: 10px;
  transform: rotate(-2deg);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.5);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-deep);
  color: var(--bg);
  box-shadow: var(--shadow-m);
  opacity: 0;
  translate: 0 14px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.to-top.show {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--green);
  transform: translateY(-3px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {

  .hero__visual {
    min-height: 460px;
  }
}

@media (max-width: 980px) {

  .nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .site-header__inner {
    justify-content: flex-start;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: 2;
    min-height: 0;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__photo--main {
    width: 76%;
    margin-right: 0;
    margin-left: auto;
  }

  .calc__grid {
    grid-template-columns: 1fr;
  }

  .calc__result {
    position: static;
  }

  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
    min-height: 420px;
  }
}

@media (max-width: 640px) {

  :root {
    --header-h: 68px;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__actions .btn {
    flex-grow: 1;
  }

  .hero__card--note {
    max-width: 210px;
    top: -14px;
  }

  .hero__card--photo {
    bottom: -20px;
  }

  .hero__blob--lime {
    width: 130px;
    height: 130px;
  }

  .calc__fields {
    grid-template-columns: 1fr;
  }

  .slider {
    padding: 0;
  }

  .slider__arrow {
    display: none;
  }

  .about__photo--small {
    bottom: -5%;
  }

  .watermark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
