/* ===== HOME PAGE ===== */
:root {
  --home-font-body: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --home-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --home-text: #31420F;
  --home-muted: #607437;
  --home-olive: #899D31;
  --home-green: #5B7917;
}

body {
  font-family: var(--home-font-body);
  background:
    linear-gradient(135deg, rgba(137, 157, 49, 0.09) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F1E6 78%);
  background-size: 100% 100%, 100% 100%;
  color: var(--home-green);
  line-height: 1.65;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

html body {
  font-family: var(--home-font-body);
}

body .main-header,
body .site-sidebar,
body .header-brand,
body .site-sidebar a {
  font-family: var(--home-font-body);
}

body .header-brand {
  font-weight: 800;
  letter-spacing: 0.015em;
}

body .site-sidebar a {
  font-size: 0.96rem;
  letter-spacing: 0.005em;
}

/* ===== PAGE WRAPPER ===== */
.page-shell {
  width: 100%;
  min-height: min(720px, calc(100vh - 74px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vw, 68px) 20px 46px;
  overflow: hidden;
}

/* ===== HERO ===== */
.home-hero {
  position: relative;
  width: min(100%, 1040px);
  text-align: center;
  isolation: isolate;
}

/* ===== CONTENT ===== */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: clamp(16px, 4vw, 40px) 0;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 94vw);
  height: min(420px, 64vw);
  border: 1px solid rgba(137, 157, 49, 0.16);
  border-radius: 46% 54% 50% 50% / 58% 42% 58% 42%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(246, 241, 230, 0.18));
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  animation: heroBackdropIn 0.9s ease 0.05s both;
}

.hero-leaf-accent {
  position: absolute;
  z-index: -1;
  --leaf-rotation: -16deg;
  width: clamp(90px, 14vw, 150px);
  height: clamp(54px, 8vw, 88px);
  border: 1px solid rgba(137, 157, 49, 0.22);
  border-radius: 100% 0 100% 0;
  opacity: 0;
  transform: rotate(var(--leaf-rotation));
  animation: heroLeafIn 1.1s ease 0.45s both, heroLeafFloat 7s ease-in-out 1.6s infinite;
}

.hero-leaf-accent::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 50%;
  height: 1px;
  background: rgba(137, 157, 49, 0.22);
  transform: rotate(-18deg);
}

.hero-leaf-one {
  left: min(3vw, 24px);
  top: 12%;
}

.hero-leaf-two {
  --leaf-rotation: 164deg;
  right: min(3vw, 24px);
  bottom: 13%;
  animation-delay: 0.62s, 1.7s;
}

/* ===== LOGO ===== */
.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 17vw, 198px);
  height: clamp(132px, 17vw, 198px);
  margin-bottom: 20px;
  border: 1px solid rgba(133, 152, 100, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 24px 60px rgba(65, 83, 33, 0.14),
    inset 0 0 0 12px rgba(246, 241, 230, 0.52);
  animation: heroLogoReveal 0.85s cubic-bezier(.2,.75,.2,1) both;
}

.hero-logo {
  width: 76%;
  max-width: 150px;
  margin: 0;
  filter: drop-shadow(0 8px 14px rgba(65, 83, 33, 0.16));
  animation: heroLogoBreathe 5.5s ease-in-out 1.2s infinite;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--home-olive);
  font-family: var(--home-font-body);
  font-size: clamp(0.72rem, 1.05vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: heroSlideUp 0.7s ease 0.22s both;
}

.hero-brand-name {
  max-width: 860px;
  margin: 0;
  color: var(--home-green);
  font-family: var(--home-font-display);
  font-size: clamp(2.35rem, 5.8vw, 4.9rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-wrap: balance;
  animation: heroSlideUp 0.78s ease 0.34s both;
}

/* ===== TITLE ===== */
.hero-welcome {
  font-family: var(--home-font-body);
  font-size: clamp(1rem, 1.75vw, 1.26rem);
  color: #5F7434;
  margin: 16px 0 6px;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.32;
  animation: heroSlideUp 0.7s ease 0.48s both;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: var(--home-olive);
  font-size: clamp(0.92rem, 1.45vw, 1.06rem);
  font-weight: 700;
  line-height: 1.45;
  animation: heroSlideUp 0.7s ease 0.58s both;
}

/* ===== SUBTEXT ===== */
.hero-description {
  font-size: clamp(0.96rem, 1.55vw, 1.08rem);
  color: var(--home-muted);
  margin: 0 0 26px;
  font-style: normal;
  max-width: 600px;
  line-height: 1.75;
  font-weight: 500;
  animation: heroSlideUp 0.7s ease 0.68s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  animation: heroSlideUp 0.7s ease 0.8s both;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #5B7917, #899D31);
  color: #FFFFFF;
  min-height: 44px;
  padding: 11px 26px;
  border-radius: 999px;
  font-family: var(--home-font-body);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(91, 121, 23, 0.22);
  transition: all 0.25s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #4E6815, #819529);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(133, 152, 100, 0.5);
}

.btn i {
  font-size: 0.88rem;
  transition: transform 0.25s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(133, 152, 100, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5B7917;
  font-family: var(--home-font-body);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(65, 83, 33, 0.08);
}

.hero-secondary-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(65, 83, 33, 0.14);
}

.hero-scroll-indicator {
  display: inline-flex;
  justify-content: center;
  width: 28px;
  height: 44px;
  margin-top: 26px;
  border: 1px solid rgba(133, 152, 100, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  animation: heroSlideUp 0.7s ease 0.92s both;
}

.hero-scroll-indicator span {
  width: 4px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: #899D31;
  animation: scrollDot 1.7s ease-in-out infinite;
}

@keyframes heroLogoReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes heroBackdropIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes heroLogoBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes heroLeafIn {
  from {
    opacity: 0;
    transform: translateY(14px) rotate(var(--leaf-rotation));
  }
  to {
    opacity: 0.72;
    transform: translateY(0) rotate(var(--leaf-rotation));
  }
}

@keyframes heroLeafFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ===== BROCHURE PREVIEW ===== */
.home-brochure-preview {
  padding: 8px 20px 84px;
}

.home-brochure-preview .brochure-heading {
  max-width: 680px;
}

.home-brochure-preview .brochure-kicker {
  font-family: var(--home-font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.home-brochure-preview .brochure-heading h2 {
  font-family: var(--home-font-display);
  font-size: clamp(2.15rem, 4.8vw, 3.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.home-brochure-preview .brochure-heading p {
  color: var(--home-muted);
  font-family: var(--home-font-body);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  font-weight: 500;
  line-height: 1.65;
}

.home-brochure-preview .brochure-viewer {
  max-width: 960px;
  margin: 0 auto;
}

.home-brochure-preview .brochure-page-image {
  cursor: pointer;
}

.home-brochure-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .page-shell {
    padding: 38px 18px 34px;
  }

  .hero-leaf-accent {
    opacity: 0.38;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .page-shell {
    min-height: auto;
    padding: 36px 14px 30px;
  }

  .home-brochure-preview {
    padding: 0 14px 54px;
  }

  .hero-content {
    padding: 12px 0;
  }

  .hero-logo-wrap {
    width: 122px;
    height: 122px;
    margin-bottom: 18px;
  }

  .hero-brand-name {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 0.98;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    padding: 11px 18px;
    font-size: 0.92rem;
  }

  .hero-secondary-btn {
    width: 100%;
    max-width: 260px;
  }

  .hero-scroll-indicator {
    margin-top: 26px;
  }

  .hero-leaf-accent {
    display: none;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 400px) {
  .hero-content {
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap,
  .hero-logo,
  .hero-eyebrow,
  .hero-brand-name,
  .hero-welcome,
  .hero-subtitle,
  .hero-description,
  .hero-actions,
  .hero-scroll-indicator,
  .hero-content::before,
  .hero-leaf-accent,
  .hero-scroll-indicator span {
    animation: none;
  }
}
