/* Hero Section */
.hero {
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #F0F4F1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.energy-path {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: energyDraw 4s ease-out 0.5s forwards;
}

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

.particle {
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(odd)  { animation-duration: 5s;   animation-delay: 0.5s; }
.particle:nth-child(3n)   { animation-duration: 7s;   animation-delay: 1s; }
.particle:nth-child(4n)   { animation-duration: 4.5s; animation-delay: 1.5s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50%       { opacity: 0.6; transform: translateY(-8px); }
}

.hero-content {
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    padding: 3rem 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #F0F4F1;
    text-shadow: 0 4px 12px rgba(10, 30, 20, 0.4);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 3.5rem;
    color: #F0F4F1;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.subtitle-low {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.hero .btn-outline {
    border: 1px solid #F0F4F1;
    color: #F0F4F1;
    background-color: transparent;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.hero .btn-outline:hover {
    background-color: #F0F4F1;
    color: #1A2E22;
}

/* Carousel Section */
.carousel-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, #FDFCF8 0%, #F5EDE3 100%);
}

.carousel-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-label {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.carousel-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    margin-bottom: 2rem;
}

.carousel-center {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    transform: scale(1.1);
    opacity: 1;
}

.carousel-arrow img {
    width: 32px;
    height: 32px;
    display: block;
}

.carousel-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 180px;
    margin-bottom: 1.5rem;
}

.svg-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.svg-frame.loaded {
    opacity: 1;
}

.carousel-intro {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: #4A5F4B;
    margin-bottom: 2rem;
}

.carousel-text-track {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.text-slide h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0 auto;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
}

.dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-section { padding: 4rem 0 3rem; }
    .carousel-content-wrapper { gap: 0.5rem; }
    .carousel-arrow { padding: 0.5rem; }
    .carousel-arrow img { width: 24px; height: 24px; }
    .carousel-visual { height: 140px; margin-bottom: 1rem; }
    .carousel-text-track { height: 160px; }
    .text-slide h3 { font-size: 1.4rem; }
    .carousel-label { font-size: 1.8rem; margin-bottom: 2rem; }
}

/* Organ Energetics Section */
.organ-energetics-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(to bottom, #E6EBE8 0%, #B8C5BC 100%);
    text-align: center;
    overflow: hidden;
    position: relative;
    color: #1A2E22;
}

#connection-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.oe-grid {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oe-header-block {
    background-color: transparent;
    padding: 0;
    width: 100%;
    margin-bottom: 4rem;
    box-shadow: none;
    text-align: center;
}

.oe-header-block h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #1A2E22;
    margin-bottom: 1.5rem;
    font-weight: 400;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.oe-lead {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: #4A5F4B;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.oe-methodology-block {
    margin-bottom: 2rem;
}

.oe-intro-text, .oe-summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: #2C3E30;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.oe-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .oe-list { gap: 3rem; }
}

.oe-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1A2E22;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(26, 46, 34, 0.15);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.oe-list li:hover {
    transform: translateY(-3px);
    background-color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(26, 46, 34, 0.1);
}

.oe-flow-block {
    width: 100%;
    margin-top: 2rem;
}

.oe-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.oe-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 1px;
    background-color: var(--color-accent);
    opacity: 0.4;
    z-index: 0;
}

.oe-step {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    color: #1A2E22;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 46, 34, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(8px);
}

.oe-step:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 163, 115, 0.5);
    box-shadow: 0 15px 50px rgba(26, 46, 34, 0.12);
}

.step-label {
    display: inline-block;
    background-color: #1A2E22;
    color: #F0F4F1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(26, 46, 34, 0.2);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #1A2E22;
    margin-bottom: 0.8rem;
}

.step-card p {
    font-size: 1.1rem;
    color: #4A5F4B;
    margin-bottom: 0;
    line-height: 1.6;
}

.step-card a {
    color: var(--color-accent);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.step-card a:hover {
    color: var(--color-accent-dark);
    border-bottom-color: var(--color-accent-dark);
}

@media (max-width: 768px) {
    .organ-energetics-section { padding: 2rem 0 3rem; }
    .oe-header-block h2 { font-size: 2.5rem; }
    .oe-steps::before { display: none; }
    .oe-step { width: 100%; }
}

@media (max-width: 480px) {
    #connection-canvas { display: none; }
}

/* Animal Spirits Section */
.animal-spirits-section {
    padding: 6rem 0;
    background-color: #ffffff;
    text-align: center;
}

.oe-animals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.animal-card {
    position: relative;
    perspective: 800px;
}

.animal-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.animal-card.is-flipped .animal-card-inner {
    transform: rotateY(180deg);
}

.animal-card-front,
.animal-card-back {
    width: 100%;
    backface-visibility: hidden;
}

.animal-card-front {
    position: relative;
}

.animal-card-back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #1A2E22, #2C4A35);
    border-radius: 8px;
}

.animal-card-back p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: #F0F4F1;
    line-height: 1.4;
    text-align: center;
    padding: 1rem;
}

.animal-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .animal-card-back p { font-size: 0.7rem; padding: 0.25rem; }
    .oe-animals-grid { gap: 0.5rem; }
    .animal-spirits-section { padding: 2rem 0; }
}

/* The Missing Layer */
.fall-short-section {
    padding: 6rem 0;
    background-color: #EEF1EC;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fall-short-block {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fall-short-block h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: #1A2E22;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.fall-short-lead {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: #4A5F4B;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.fall-short-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: #2C3E30;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin: 0 auto;
}

.fall-short-divider {
    width: 100px;
    height: 100px;
    margin: 2rem auto;
    background: url('../img/seed-mandala.svg') center / contain no-repeat;
    opacity: 0.2;
}

.fall-short-anchor {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: #1A2E22;
}

@media (max-width: 768px) {
    .fall-short-section { padding: 3rem 0; }
    .fall-short-block h2 { font-size: 2.5rem; }
}

/* Meet Emily */
.meet-emily-section {
    background-color: #1A2E22;
    padding: 6rem 0;
    color: #F0F4F1;
}

.meet-emily-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emily-image-wrapper img {
    border-radius: 200px 200px 20px 20px;
    object-fit: cover;
    object-position: center top;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
}

.emily-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: #F0F4F1;
    margin-bottom: 1.5rem;
}

.emily-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(240, 244, 241, 0.85);
    margin-bottom: 1.5rem;
}

.emily-content .btn-text {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.emily-content .btn-text:hover {
    color: #F0F4F1;
    border-bottom-color: #F0F4F1;
}

@media (max-width: 768px) {
    .meet-emily-grid { grid-template-columns: 1fr; gap: 2rem; }
    .emily-content { text-align: center; }
    .emily-image-wrapper { display: flex; justify-content: center; }
}

/* Client Stories */
.client-stories-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #E6EBE8 0%, #B8C5BC 100%);
}

.client-stories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.client-stories-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: #1A2E22;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.client-stories-lead {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: #4A5F4B;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.client-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.story-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 46, 34, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(26, 46, 34, 0.08);
}

.story-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F0F4F1;
    background-color: #1A2E22;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.story-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: #2C3E30;
}

.client-stories-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-dark {
    border-color: #1A2E22;
    color: #1A2E22;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: #F0F4F1;
}

@media (max-width: 768px) {
    .client-stories-section { padding: 3rem 0; }
    .client-stories-grid { grid-template-columns: 1fr; max-width: 500px; }
}

/* Work Together */
.work-together-section {
    padding: 6rem 0;
    background-color: #FDFCF8;
    background-image: url('../img/flowing-branches.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.work-together-header {
    margin-bottom: 3rem;
}

.work-together-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.work-together-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: #1A2E22;
    margin-bottom: 1.5rem;
}

.work-together-lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #2C3E30;
    max-width: 600px;
    margin: 0 auto;
}

.work-together-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.work-together-card {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.5;
    color: #1A2E22;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(26, 46, 34, 0.15);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(6px);
}

.work-together-card:hover {
    background-color: rgba(26, 46, 34, 0.95);
    border-color: #1A2E22;
    color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(26, 46, 34, 0.2);
}

@media (max-width: 768px) {
    .work-together-section { padding: 3rem 0; }
    .work-together-grid { gap: 1.5rem; }
    .work-together-card { width: 120px; height: 120px; font-size: 0.65rem; }
}

/* You're Invited */
.invited-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--color-bg) 0%, #EEF1EC 100%);
    text-align: center;
}

.invited-block {
    max-width: 600px;
    margin: 0 auto;
}

.invited-divider {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: url('../img/seed-mandala.svg') center / contain no-repeat;
    opacity: 0.3;
}

.invited-lead {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
    color: #4A5F4B;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.btn-invited {
    border-color: #1A2E22;
    color: #1A2E22;
    transition: all 0.3s ease;
}

.btn-invited:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #F0F4F1;
}

@media (max-width: 768px) {
    .invited-section { padding: 3rem 0; }
}
