/* Page layout */
main { overflow: hidden; }

/* Hero */
.hero { aspect-ratio: 2 / 1; margin: auto; max-width: none; overflow: hidden; position: relative; width: 100%; }
.hero-copy { align-self: center; max-width: 570px; position: relative; z-index: 1; }
.eyebrow { align-items: center; display: flex; font: 600 11px var(--display); gap: 10px; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { background: var(--orange); display: inline-block; height: 7px; width: 7px; }
.hero h1 { font: 600 clamp(56px, 7vw, 100px)/.94 var(--display); letter-spacing: -.07em; margin: 26px 0; color: #082B22;}
.hero h1 em, .section-heading h2 em, .about-copy h2 em, .contact h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; color: #e7a998 !important }
.hero-text { font-size: 18px; max-width: 440px; }
.hero-actions { align-items: center; display: flex; gap: 28px; margin-top: 38px; }
.button { align-items: center; display: inline-flex; font: 600 13px var(--display); padding: 17px 22px; }
.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: #d9542e; }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: var(--cream); color: var(--ink); }
.text-link { border-bottom: 1px solid var(--ink); font-size: 13px; padding-bottom: 4px; }
.text-link span { font-size: 17px; margin-left: 10px; }
.hero-proof { align-items: center; display: flex; gap: 12px; margin-top: 66px; }
.hero-proof p { font-size: 11px; line-height: 1.35; margin: 0; }
.avatar-stack { display: flex; }
.avatar-stack span { align-items: center; background: var(--ink); border: 2px solid var(--cream); border-radius: 50%; color: var(--cream); display: flex; font: 600 11px var(--display); height: 31px; justify-content: center; margin-left: -7px; width: 31px; }
.avatar-stack span:first-child { background: var(--orange); margin-left: 0; }
.avatar-stack span:nth-child(2) { background: #568494; }
.hero-visual { min-height: 520px; position: relative; }
.sun-disc { display: none; }
.hero-slider { inset: 0; position: absolute; z-index: 1; }
.hero-slides { height: 100%; width: 100%; position: relative; }
.hero-slide { inset: 0; opacity: 0; pointer-events: none; position: absolute; transform: translateX(24px) scale(.98); transition: opacity .45s ease, transform .45s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
.hero-slide img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hero-slider-button { background: rgba(245, 240, 231, .9); border: 0; color: var(--ink); cursor: pointer; font-size: 20px; height: 42px; position: absolute; top: 50%; transition: background .2s ease, color .2s ease; transform: translateY(-50%); width: 42px; z-index: 2; }
.hero-slider-button:hover, .hero-slider-button:focus-visible { background: var(--orange); color: #fff; }
.hero-slider-prev { left: 2%; }
.hero-slider-next { right: 2%; }
.hero-slider-dots { bottom: 4%; display: flex; gap: 7px; left: 50%; position: absolute; transform: translateX(-50%); z-index: 2; }
.hero-slider-dot { background: rgba(23,33,30,.4); border: 0; border-radius: 50%; cursor: pointer; height: 7px; padding: 0; transition: background .2s ease, transform .2s ease; width: 7px; }
.hero-slider-dot.is-active { background: var(--orange); transform: scale(1.4); }
.stat-card { align-items: center; background: var(--ink); bottom: 6%; color: var(--cream); display: flex; gap: 12px; padding: 16px 21px; position: absolute; right: -2%; z-index: 2; }
.stat-number { font: 600 24px var(--display); }
.stat-card span:last-child { font-size: 11px; line-height: 1.1; }
.location-tag { bottom: 3%; font: 600 10px var(--display); letter-spacing: .1em; position: absolute; right: 31%; text-transform: uppercase; }
.pulse { background: var(--orange); border-radius: 50%; display: inline-block; height: 7px; margin-right: 7px; width: 7px; }

/* Specialty marquee */
.marquee { background: var(--ink); color: var(--cream); font: 600 13px var(--display); letter-spacing: .50em; overflow: hidden; padding: 19px 0; white-space: nowrap; }
.marquee div { animation: scroll 26s linear infinite; word-spacing: 25px; }
.marquee span { color: var(--orange); }

/* Solutions */
.section { margin: auto; max-width: 1280px; padding: 125px 5vw; }
.section-heading { align-items: end; display: grid; gap: 30px; grid-template-columns: 1fr 1.4fr .9fr; margin-bottom: 54px; }
.section-heading h2 { font: 600 clamp(43px, 5vw, 68px)/.95 var(--display); letter-spacing: -.07em; margin: 0; }
.section-heading > p:last-child { font-size: 14px; margin: 0; max-width: 270px; }
.solutions { background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 34%); border-top: 1px solid rgba(23, 33, 30, .08); }
.solutions .section-heading { margin-bottom: 34px; }
.solutions .section-heading h2 { color: var(--header-green); }
.solutions .section-heading > p:last-child { border-left: 2px solid var(--orange); padding-left: 18px; }
.solution-search { align-items: center; border-bottom: 1px solid var(--ink); display: flex; gap: 12px; margin: 0 0 18px; max-width: 360px; padding: 8px 0; }
.solution-search span { color: #657069; font: 600 10px var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.solution-search input { background: transparent; border: 0; color: var(--ink); font: 13px var(--sans); min-width: 0; outline: 0; width: 100%; }
.solution-search input::placeholder { color: #8b948f; }
.solution-search:focus-within { border-bottom-color: var(--orange); }
.solution-filters { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; margin: -4px 0 30px; }
.solution-filter { background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; font: 600 11px var(--display); padding: 10px 14px; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.solution-filter:hover, .solution-filter:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.solution-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.solution-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solution-card { box-shadow: 0 8px 0 rgba(23, 33, 30, .08); min-height: 430px; padding: 25px 27px; position: relative; transition: box-shadow .25s ease, transform .25s ease; }
.solution-card:hover, .solution-card:focus-within { box-shadow: 0 14px 0 rgba(23, 33, 30, .12); transform: translateY(-5px); }
.solution-card.is-filtered { display: none; }
.card-orange { background: var(--orange); }
.card-blue { background: #b8d9e4; }
.card-green { background: #c9dfbd; }
.card-top { display: flex; font: 600 12px var(--display); justify-content: space-between; position: relative; z-index: 1; }
.arrow { font-size: 23px; transition: transform .25s ease; }
.solution-card:hover .arrow, .solution-card:focus-within .arrow { transform: translate(4px, -4px); }
.solution-card img { display: block; height: 230px; margin: 10px auto; object-fit: contain; transition: transform .3s ease; width: 74%; }
.solution-card:hover img, .solution-card:focus-within img { transform: scale(1.05); }
.solution-card h3 { font: 600 30px/.97 var(--display); letter-spacing: -.06em; margin: 8px 0; }
.solution-card p { font-size: 13px; max-width: 230px; }
.solution-card a { border-bottom: 1px solid var(--ink); bottom: 25px; font: 600 12px var(--display); padding-bottom: 4px; position: absolute; transition: padding-right .25s ease; }
.solution-card a span { font-size: 16px; margin-left: 10px; }
.solution-card a:hover, .solution-card a:focus-visible { padding-right: 7px; }

/* About */
.about { align-items: center; background: var(--ink); color: var(--cream); display: grid; gap: 11%; grid-template-columns: 1fr 1fr; max-width: none; padding-left: calc((100% - 1180px) / 2); padding-right: calc((100% - 1180px) / 2); }
.about-visual { background: var(--orange); height: 460px; overflow: hidden; padding: 30px; position: relative; }
.about-number { font: 600 170px/.8 var(--display); letter-spacing: -.13em; position: absolute; right: 13px; top: 45px; }
.about-caption { bottom: 31px; font: 600 27px/1 var(--display); letter-spacing: -.06em; position: absolute; }
.about-caption em { font-family: var(--serif); font-weight: 400; }
.grid-lines { background-image: linear-gradient(rgba(255, 255, 255, .23) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .23) 1px, transparent 1px); background-size: 40px 40px; height: 160%; left: -20%; position: absolute; top: -30%; transform: rotate(27deg); width: 160%; }
.about-copy h2, .contact h2 { font: 600 clamp(43px, 5vw, 70px)/.95 var(--display); letter-spacing: -.07em; margin: 24px 0; }
.about-copy > p:not(.eyebrow) { color: rgba(245, 240, 231, .72); font-size: 14px; max-width: 450px; }
.about-copy .button { margin-top: 20px; }

/* Principles and contact */
.why-us { padding-bottom: 135px; }
.principles { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.principle { border-right: 1px solid var(--line); min-height: 190px; padding: 25px 25px 0 0; }
.principle:not(:first-child) { padding-left: 25px; }
.principle:last-child { border: 0; }
.principle-icon { color: var(--orange); font-size: 30px; }
.principle h3 { font: 600 20px var(--display); letter-spacing: -.04em; margin: 19px 0 7px; }
.principle p { font-size: 13px; margin: 0; max-width: 180px; }
.contact { background: var(--orange); color: var(--ink); max-width: none; overflow: hidden; padding-left: calc((100% - 1180px) / 2); padding-right: calc((100% - 1180px) / 2); position: relative; }
.contact-inner { position: relative; z-index: 1; }
.contact h2 { margin-bottom: 23px; }
.contact p:not(.eyebrow) { font-size: 15px; max-width: 340px; }
.contact-orbit { border: 1px solid rgba(23, 33, 30, .35); border-radius: 50%; height: 600px; position: absolute; right: -5%; top: -28%; width: 600px; }
.orbit-two { height: 380px; right: 7%; top: -7%; width: 380px; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Motion */
@keyframes scroll { to { transform: translateX(-40%); } }

/* Tablet layout */
@media (max-width: 750px) {
    .hero { aspect-ratio: 16 / 9; display: block; padding: 0; }
    .hero-slide img { object-position: center; }
    .hero-slider-button { font-size: 17px; height: 40px; width: 40px; }
    .hero-slider-prev { left: 3%; }
    .hero-slider-next { right: 3%; }
    .hero-slider-dots { bottom: 5%; }
    .hero h1 { font-size: 64px; }
    .hero-visual { margin-top: 30px; min-height: 360px; }
    .sun-disc { height: 72%; width: 92%; }
    .hero-slider { height: 92%; right: 0; width: 100%; }
    .stat-card { right: 0; }
    .location-tag { bottom: 0; right: 18%; }
    .section { padding: 80px 6vw; }
    .section-heading { display: block; }
    .section-heading h2 { margin: 22px 0; }
    .section-heading > p:last-child { max-width: 350px; }
    .solutions { padding-top: 80px; }
    .solutions .section-heading { margin-bottom: 28px; }
    .solutions .section-heading > p:last-child { margin-top: 24px; }
    .solution-search { max-width: none; }
    .solution-filters { gap: 8px; margin: 0 0 24px; }
    .solution-filter { padding: 10px 12px; }
    .solution-grid { grid-template-columns: 1fr; }
    .solution-card { min-height: 390px; }
    .solution-card img { height: 190px; width: 70%; }
    .about { display: block; padding: 80px 6vw; }
    .about-visual { height: 350px; margin-bottom: 50px; }
    .about-number { font-size: 140px; }
    .principles { grid-template-columns: 1fr 1fr; }
    .principle { border-bottom: 1px solid var(--line); min-height: 180px; }
    .principle:nth-child(2) { border-right: 0; }
    .principle:nth-child(3) { padding-left: 0; }
}

/* Small-screen layout */
@media (max-width: 500px) {
    .hero { aspect-ratio: 4 / 3; }
    .hero-slider-button { font-size: 15px; height: 36px; width: 36px; }
    .hero-slider-prev { left: 4%; }
    .hero-slider-next { right: 4%; }
    .hero-slider-dots { bottom: 6%; }
    .hero h1 { font-size: 55px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .hero-proof { margin-top: 45px; }
    .hero-visual { min-height: 290px; }
    .sun-disc { height: 72%; width: 92%; }
    .stat-card { padding: 11px 14px; }
    .location-tag { font-size: 8px; }
    .section-heading h2 { font-size: 47px; }
    .solutions { padding-top: 64px; }
    .solutions .section-heading > p:last-child { font-size: 13px; padding-left: 13px; }
    .solution-search { align-items: flex-start; flex-direction: column; gap: 5px; max-width: none; }
    .solution-search input { width: 100%; }
    .solution-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solution-filter { width: 100%; }
    .solution-card { min-height: 380px; padding: 22px; }
    .solution-card img { height: 165px; margin: 7px auto 12px; width: 76%; }
    .solution-card h3 { font-size: 28px; }
    .principles { grid-template-columns: 1fr; }
    .principle, .principle:nth-child(2), .principle:nth-child(3) { border-right: 0; padding-left: 0; }
}

