.home-page-content { display: block; width: 100%; max-width: none; margin: 0; padding: 0; overflow: hidden; color: var(--home-ink, #182a35); text-align: left; }
.home-page-content .home-section, .home-page-content .transition-products { position: relative; box-sizing: border-box; width: 100vw; left: 50%; margin: 0; transform: translateX(-50%); scroll-margin-top: 70px; }
.home-page-content .home-section { min-height: calc(100vh - 70px); padding: clamp(64px, 9vw, 120px) clamp(24px, 8vw, 130px); overflow: hidden; }
.home-page-content h1, .home-page-content h2, .home-page-content h3, .home-page-content p { position: relative; z-index: 1; text-align: left; }
.home-page-content h1, .home-page-content h2, .home-page-content h3, .home-page-content p, .home-page-content ul { max-width: none; }
.home-page-content > * { min-width: 0; }
.home-page-content h2 { margin: 0 0 22px; font-size: clamp(2.1rem, 4.5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.home-page-content h3 { margin: 0 0 15px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.home-page-content p { line-height: 1.65; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: #22877e; font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }

/* Hero */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: clamp(30px, 7vw, 110px); background: var(--home-cream, #f7f4ed); isolation: isolate; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-copy h1 { max-width: 700px; margin: 0 0 25px; color: var(--home-ink, #182a35); font-size: clamp(3.3rem, 7vw, 7.6rem); line-height: .88; letter-spacing: -.075em; }
.hero-copy h1 em { color: #e77761; font-style: normal; }
.hero-lede { max-width: 590px; margin: 0 0 30px; color: var(--home-muted, #5c6c72); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.home-button:hover { transform: translateY(-3px); box-shadow: 0 11px 25px rgba(24, 42, 53, .14); }
.home-button--primary { color: #fff; background: var(--home-ink, #182a35); }
.home-button--ghost { color: var(--home-ink, #182a35); border-color: var(--home-line, rgba(24, 42, 53, .13)); background: transparent; }
.home-page-content .home-button--light {
  color: #182a35 !important;
  -webkit-text-fill-color: #182a35 !important;
  background: #fff !important;
  border: 1px solid #182a35 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-page-content .home-button--light:hover,
.home-page-content .home-button--light:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #182a35 !important;
  border-color: #182a35 !important;
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 42px; color: var(--home-muted, #5c6c72); font-size: .78rem; }
.hero-proof span::before { content: '✦'; margin-right: 7px; color: var(--home-coral, #f28a71); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: min(66vw, 650px); }
.hero-visual img { position: relative; z-index: 2; width: min(100%, 560px); max-height: 650px; object-fit: contain; filter: drop-shadow(20px 24px 22px rgba(24, 42, 53, .17)); }
.hero-orbit { position: absolute; border: 1px solid rgba(34, 135, 126, .28); border-radius: 50%; transform: rotate(-24deg); }
.hero-orbit--one { width: 82%; height: 52%; }
.hero-orbit--two { width: 65%; height: 75%; border-color: rgba(242, 138, 113, .35); transform: rotate(34deg); }
.hero-note { position: absolute; z-index: 3; padding: 9px 13px; border-radius: 7px; color: var(--home-ink, #182a35); background: rgba(255,255,255,.84); box-shadow: 0 8px 25px rgba(24, 42, 53, .12); font-size: .75rem; font-weight: 700; }
.hero-note--top { top: 16%; right: 2%; background: var(--home-yellow, #f5c86a); transform: rotate(4deg); }
.hero-note--bottom { bottom: 15%; left: 1%; background: var(--home-blue, #93b9e8); transform: rotate(-4deg); }

/* The keyword constellation is an independent background animation for the hero. */
.keyword-constellation { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.constellation-word { position: absolute; display: block; color: rgba(34, 135, 126, .42); font-size: clamp(.7rem, 1.2vw, 1rem); font-weight: 700; letter-spacing: .04em; opacity: 0; animation: constellationDrift 9s ease-in-out infinite; }
.constellation-word:nth-child(3n) { color: rgba(231, 119, 97, .38); font-size: clamp(.85rem, 1.55vw, 1.25rem); }
.constellation-word:nth-child(4n) { color: rgba(141, 115, 193, .4); }
.word-01 { top: 14%; left: 8%; animation-delay: 0s; }
.word-02 { top: 26%; left: 22%; animation-delay: .45s; }
.word-03 { top: 72%; left: 9%; animation-delay: .9s; }
.word-04 { top: 18%; right: 9%; animation-delay: 1.35s; }
.word-05 { top: 42%; right: 18%; animation-delay: 1.8s; }
.word-06 { bottom: 18%; left: 21%; animation-delay: 2.25s; }
.word-07 { top: 58%; left: 7%; animation-delay: 2.7s; }
.word-08 { bottom: 24%; right: 8%; animation-delay: 3.15s; }
.word-09 { top: 11%; left: 48%; animation-delay: 3.6s; }
.word-10 { bottom: 15%; left: 49%; animation-delay: 4.05s; }
.word-11 { top: 34%; left: 5%; animation-delay: 4.5s; }
.word-12 { bottom: 31%; right: 13%; animation-delay: 4.95s; }
@keyframes constellationDrift {
  0%, 100% { opacity: 0; transform: translate(-12px, 10px); }
  25% { opacity: .2; transform: translate(-4px, 4px); }
  50%, 68% { opacity: .6; transform: translate(0, 0); }
  86% { opacity: .12; transform: translate(9px, -7px); }
}

/* Moving product bridge */
.transition-products { display: grid; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); align-items: center; min-height: 490px; padding: 44px clamp(24px, 8vw, 130px); background: #d8eee9 url("../images/flowing-waves.svg") center / cover no-repeat; }
.transition-intro { max-width: 380px; }
.transition-intro h2 { font-size: clamp(2rem, 4vw, 4.2rem); }
.product-image-stage { position: relative; width: calc(100% + 80px); height: 445px; margin-left: -80px; overflow: hidden; }
.product-image-carousel, .product-image-carousel a { position: absolute; inset: 0; }
.product-image-carousel { inset: 0 35px; }
.product-image-carousel a { top: 10%; right: auto; bottom: auto; left: 0; display: grid; width: 70%; height: 80%; place-items: center; opacity: 0; animation: productImageTravel 36s ease-in-out infinite; }
.product-image-carousel a:nth-child(2) { animation-delay: 12s; }
.product-image-carousel a:nth-child(3) { animation-delay: 24s; }
.product-image-carousel img { display: block; width: 62%; height: 100%; max-width: 62%; max-height: 100%; padding: 0; object-fit: contain; object-position: center; }
@keyframes productImageTravel {
  0% { opacity: 0; transform: translateX(-100%); }
  6% { opacity: .05; transform: translateX(-80%); }
  14% { opacity: 1; transform: translateX(calc(21.429% - 200px)); }
  22.333% { opacity: 1; transform: translateX(calc(21.429% - 200px)); }
  29% { opacity: 1; transform: translateX(42.857%); }
  33% { opacity: 0; transform: translateX(75%); }
  100% { opacity: 0; transform: translateX(100%); }
}

/* Products */
.products-section { background: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 8%; align-items: end; margin-bottom: 55px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 450px; margin: 0; color: var(--home-muted, #5c6c72); font-size: 1.05rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 28px; border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .25s ease; }
.product-card:hover { transform: translateY(-7px); }
.product-card h3 { margin-top: auto; }
.product-card p { max-width: 300px; margin: 0 0 25px; }
.product-card--teal { background: var(--home-teal, #58c9bb); }
.product-card--coral { background: var(--home-coral, #f28a71); }
.product-card--ink { color: #fff; background: var(--home-ink, #182a35); }
.card-number { font-size: .75rem; font-weight: 800; letter-spacing: .1em; opacity: .6; }
.card-link { margin-top: auto; color: inherit; font-size: .83rem; font-weight: 800; }
.card-link b { margin-left: 7px; font-size: 1.2rem; }
.card-button { width: max-content; padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }

/* Impact and principles */
.impact-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(35px, 8vw, 120px); background: #edf0f8; }
.impact-visual { padding: 20px; border-radius: 22px; background: var(--home-lilac, #c8b9e7); transform: rotate(-2deg); }
.impact-visual img { display: block; width: 100%; border-radius: 10px; box-shadow: 0 20px 40px rgba(24, 42, 53, .18); transform: rotate(2deg); }
.impact-copy > p:not(.eyebrow) { max-width: 560px; color: var(--home-muted, #5c6c72); font-size: 1.08rem; }
.benefit-list { display: grid; gap: 0; padding: 0; margin: 38px 0 0; list-style: none; }
.benefit-list li { display: flex; gap: 20px; padding: 17px 0; border-top: 1px solid var(--home-line, rgba(24, 42, 53, .13)); }
.benefit-list strong { color: #8d73c1; font-size: .8rem; }
.benefit-list span { font-weight: 700; }
.about-section { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: 10%; align-items: center; background: #fff8e8; }
.about-intro > p:not(.eyebrow) { max-width: 420px; color: var(--home-muted, #5c6c72); font-size: 1.08rem; }
.principles-grid { display: grid; gap: 14px; }
.principles-grid article { display: grid; grid-template-columns: 45px 1fr; column-gap: 15px; padding: 20px 0; border-top: 1px solid var(--home-line, rgba(24, 42, 53, .13)); }
.principles-grid article span { grid-row: span 2; color: #e77761; font-size: 1.7rem; }
.principles-grid h3, .principles-grid p { margin: 0; }
.principles-grid p { color: var(--home-muted, #5c6c72); }

/* Footer */
.site-footer { position: relative; width: 100vw; left: 50%; box-sizing: border-box; padding: clamp(55px, 8vw, 95px) clamp(24px, 8vw, 130px) 25px; transform: translateX(-50%); color: #fff; background: #182a35; background: var(--home-ink, #182a35); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(130px, .55fr) minmax(190px, .85fr); gap: clamp(35px, 7vw, 100px); padding-bottom: 65px; }
.footer-mark { margin: 0 0 26px; color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; }
.footer-mark span { color: var(--home-teal, #58c9bb); }
.footer-brand h2 { max-width: 650px; margin: 0 0 20px; color: #fff; font-size: clamp(2.2rem, 4vw, 4.8rem); line-height: .96; letter-spacing: -.06em; }
.footer-brand > p:not(.footer-mark) { max-width: 520px; margin: 0 0 26px; color: rgba(255,255,255,.68); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column h3, .footer-legal h3 { margin: 0 0 10px; color: var(--home-teal, #58c9bb); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a, .footer-column span { color: rgba(255,255,255,.78); font-size: .9rem; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.footer-socials a { color: var(--home-yellow, #f5c86a); font-size: .78rem; font-weight: 700; }
.footer-legal { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 8vw, 110px); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-legal p { max-width: 700px; margin: 0 0 12px; color: rgba(255,255,255,.54); font-size: .73rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255,255,255,.45); font-size: .7rem; }

/* Keep the existing popup usable above every homepage layer. */
.home-page-content .popup { z-index: 10000; }
.home-page-content .popup-content { color: var(--home-ink, #182a35); }

@media (max-width: 850px) {
  .home-page-content .home-section { min-height: auto; }
  .home-hero, .impact-section, .about-section { grid-template-columns: 1fr; }
  .home-hero { padding-top: 95px; }
  .hero-visual { min-height: 470px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading h2 { margin-bottom: 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 250px; }
  .transition-products { grid-template-columns: 1fr; gap: 18px; }
  .transition-intro { max-width: 550px; }
  .product-image-stage { width: 100%; height: 400px; margin-left: 0; }
}

@media (max-width: 520px) {
  .home-page-content .home-section { padding: 65px 22px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-visual { min-height: 360px; }
  .hero-note { font-size: .65rem; }
  .hero-proof { margin-top: 28px; }
  .transition-products { padding: 48px 22px; }
  .product-image-stage { height: 320px; }
  .footer-main, .footer-legal { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
