:root {
  --moss: #396245;
  --grass: #7ec34c;
  --honey: #e8b90d;
  --leaf-dark: #2d312b;
  --cream: #fffdf8;
  --mist: #f7fbf4;
  --milk: #ffffff;
  --muted: #65715f;
  --line: rgba(45, 49, 43, 0.14);
  --shadow: 0 24px 80px rgba(45, 49, 43, 0.15);
  --radius: 8px;
  --fs-eyebrow: 13px;
  --fs-nav: 14px;
  --fs-small: 15px;
  --fs-body: 18px;
  --fs-lead: clamp(18px, 1.7vw, 22px);
  --fs-card-title: 22px;
  --fs-section-title: clamp(32px, 3.5vw, 50px);
  --fs-hero-title: clamp(44px, 5.8vw, 80px);
  --lh-body: 1.62;
  --lh-heading: 1.06;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--leaf-dark);
  background:
    linear-gradient(180deg, rgba(126, 195, 76, 0.12), rgba(255, 253, 248, 0.95) 36%),
    var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(57, 98, 69, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 98, 69, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(247, 251, 244, 0.84);
  box-shadow: 0 14px 45px rgba(45, 49, 43, 0.12);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand,
.nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: var(--moss);
  font-size: 16px;
  font-weight: 850;
}

.brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(57, 98, 69, 0.16);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: var(--fs-nav);
  white-space: nowrap;
}

.nav a,
.header-cta,
.button {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav a:hover {
  color: var(--moss);
}

.header-cta {
  justify-self: end;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--milk);
  background: var(--moss);
  font-size: var(--fs-nav);
  font-weight: 800;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 96px 0 56px;
  overflow: hidden;
  background: var(--mist);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 251, 244, 0.95) 0%, rgba(247, 251, 244, 0.76) 43%, rgba(247, 251, 244, 0.18) 100%),
    linear-gradient(180deg, rgba(247, 251, 244, 0.08), rgba(255, 253, 248, 0.96) 96%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(280px, 390px);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  padding-top: 18px;
}

.hero-visual {
  position: relative;
  min-height: 410px;
  pointer-events: none;
}

.hero-image-card {
  position: absolute;
  inset: 20px 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  box-shadow: 0 26px 80px rgba(45, 49, 43, 0.18);
}

.hero-image-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.1), rgba(57, 98, 69, 0.2)),
    radial-gradient(circle at 70% 18%, rgba(232, 185, 13, 0.18), transparent 34%);
}

.hero-image-card img,
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-floating-logo img {
  position: absolute;
  top: 72px;
  left: -18px;
  width: 126px;
  height: 126px;
  border: 8px solid rgba(255, 253, 248, 0.84);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(45, 49, 43, 0.2);
  animation: float-note 6s ease-in-out infinite;
}

@keyframes float-note {
  0%,
  100% {
    translate: 0 0;
  }

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(57, 98, 69, 0.14);
  border-radius: 999px;
  color: var(--moss);
  background: rgba(255, 255, 255, 0.56);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--leaf-dark);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: var(--fs-hero-title);
  font-weight: 900;
}

h2 {
  font-size: var(--fs-section-title);
  font-weight: 870;
}

h3 {
  font-size: var(--fs-card-title);
  font-weight: 850;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
}

.section-lead {
  color: var(--moss);
  font-size: var(--fs-lead);
  font-weight: 800;
}

.hero-actions,
.format-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 850;
}

.button-primary {
  color: var(--milk);
  background: linear-gradient(0.5turn, var(--moss) 0%, var(--grass) 100%);
  box-shadow: 0 16px 34px rgba(57, 98, 69, 0.24);
}

.section {
  padding: 104px 0;
}

.split,
.about-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.soft-list {
  display: grid;
  gap: 14px;
}

.soft-list p,
.schedule-card {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--grass);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 16px 42px rgba(45, 49, 43, 0.08);
}

.soft-list p:last-of-type {
  border-left-color: var(--honey);
  color: var(--leaf-dark);
  background:
    linear-gradient(135deg, rgba(247, 251, 244, 0.98), rgba(255, 253, 248, 0.96)),
    var(--milk);
  font-weight: 650;
}

.about,
.format {
  background: var(--mist);
}

.about-grid {
  align-items: center;
}

.about-grid p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.portrait-card {
  aspect-ratio: 4 / 5;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--moss);
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.gallery {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.slider-track {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.slider-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 260ms ease;
}

.slider-track img.is-active {
  opacity: 1;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--moss);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 10px 24px rgba(45, 49, 43, 0.16);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: -24px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(57, 98, 69, 0.25);
}

.slider-dots span.is-active {
  background: var(--moss);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid article {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.feature-grid article::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 22px;
  height: 22px;
  border-right: 3px solid var(--grass);
  border-bottom: 3px solid var(--grass);
  content: "";
  opacity: 0.38;
  transform: rotate(45deg);
}

.feature-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--leaf-dark);
  background: rgba(232, 185, 13, 0.28);
  font-weight: 900;
}

.final {
  position: relative;
  overflow: hidden;
  color: var(--milk);
  background:
    linear-gradient(135deg, rgba(45, 49, 43, 0.8), rgba(45, 49, 43, 0.32)),
    linear-gradient(180deg, rgba(45, 49, 43, 0.34), rgba(45, 49, 43, 0.84)),
    url("assets/hero.jpg") center 58% / cover no-repeat,
    var(--leaf-dark);
}

.final h2,
.final .eyebrow {
  color: var(--milk);
}

.final-copy {
  align-self: center;
}

.final-lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 253, 248, 0.88);
  font-size: var(--fs-lead);
  font-weight: 520;
  line-height: var(--lh-body);
}

.final-signature {
  display: grid;
  gap: 12px;
}

.final-title {
  font-size: clamp(34px, 4vw, 56px);
}

.final-signature p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
}

.final-signature span {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.18;
}

.final-signature small {
  color: rgba(255, 253, 248, 0.72);
  font-size: var(--fs-small);
  font-weight: 650;
  line-height: 1.35;
}

.schedule-card {
  display: grid;
  gap: 10px;
  border-left-color: var(--honey);
  color: var(--leaf-dark);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(10px);
}

.schedule-card img {
  width: 92px;
  height: 92px;
  margin-bottom: 6px;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-card strong {
  color: var(--moss);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--milk);
  background: var(--moss);
  font-size: var(--fs-nav);
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 253, 248, 0.78);
  background: var(--leaf-dark);
  font-size: var(--fs-nav);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand small {
  font-size: 0.82em;
}

.site-footer a:hover {
  color: var(--milk);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 104px 0 48px;
  }

  .hero-grid,
  .split,
  .about-grid,
  .final-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-image-card {
    inset: 0;
  }

  .portrait-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-cta {
    display: none;
  }

  .brand {
    justify-content: center;
  }

  .hero {
    padding: 92px 0 40px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 251, 244, 0.78) 0%, rgba(247, 251, 244, 0.42) 40%, rgba(247, 251, 244, 0.94) 100%),
      linear-gradient(90deg, rgba(247, 251, 244, 0.9) 0%, rgba(247, 251, 244, 0.48) 66%, rgba(247, 251, 244, 0.18) 100%);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 21px;
  }

  .section {
    padding: 72px 0;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .soft-list p,
  .feature-grid article,
  .schedule-card {
    padding: 22px;
  }

  .slider-track {
    aspect-ratio: 4 / 4.8;
  }

  .hero-floating-logo img {
    top: 28px;
    left: 8px;
    width: 94px;
    height: 94px;
    border-width: 6px;
  }
}
