@charset "UTF-8";
/* AgTerra wordmark theme. Shared palette, header, hero and footer. */
:root {
    --ink: #242621;
    --navy: #282b25;
    --green: #726143;
    --lime: #e9dfca;
    --gold: #b39561;
    --paper: #f7f5ef;
    --muted: #66685f;
    --line: #dfdfd6;
}
body { background: #fff; color: var(--ink); }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
em { color: inherit; }
p { line-height: 1.8; }
.wrap { width: min(1240px, calc(100% - 80px)); }
.eyebrow { color: var(--green); letter-spacing: .16em; }
.button { border-radius: 6px; font-size: 12px; padding: 15px 23px; gap: 24px; }
.button:hover { background: #4e503f; }
.text-link { border-bottom-color: #aaa58e; }
.catalog-card, .chemical-product, .vertical-card, .why-grid article { box-shadow: none; border-radius: 12px; }
.catalog-card h3 { font-size: 28px; }
.category-links a, .business-areas>a, .service-tabs a { border-radius: 5px; }
.heading-note { background: #f0ece2; border-color: #dfd9ca; }
.page-banner { background: #292c26; }
.page-banner:after { background: linear-gradient(90deg, #242621ef, #24262180); }
.page-banner h1 { font-size: clamp(32px, 3.3vw, 46px); }
.page-banner p, .breadcrumb { color: #e8e6de; }
.page-banner .banner-mark { color: #d2c5a6; }

/* A white header lets the supplied black wordmark sit naturally. */
.site-header, .page-inner .site-header, .page-home .site-header {
    position: relative;
    inset: auto;
    transform: none;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 20px 0;
    min-height: 108px;
    gap: 30px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    box-shadow: none;
    backdrop-filter: none;
    z-index: 30;
}
.brand, .footer-grid .brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0; }
.brand .brand-wordmark, .site-header .brand .brand-wordmark {
    display: block;
    width: 180px;
    height: auto;
    aspect-ratio: 188 / 65;
    object-fit: contain;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    mix-blend-mode: multiply;
}
.brand .brand-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .25em;
    margin: 1px 0 0;
    color: #55584c;
}
.site-header nav, .page-inner .site-header nav {
    background: transparent;
    padding: 0;
    border-radius: 0;
    gap: 12px;
    margin-left: auto;
}
.site-header nav>a, .nav-services>a {
    font-size: 13px;
    font-weight: 500;
    padding: 12px 9px;
    border-radius: 0;
    background: transparent;
    position: relative;
}
.site-header nav a[aria-current=page], .site-header nav a:hover {
    background: transparent;
    color: var(--ink);
}
.site-header nav>a[aria-current=page]:after, .nav-services>a[aria-current=page]:after {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 5px;
    height: 2px;
    background: var(--gold);
}
.site-header nav a[aria-current=page]:before { display: none; }
.header-cta, .page-inner .header-cta {
    color: #fff;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 13px 23px;
    gap: 25px;
    font-size: 12px;
}
.header-cta:hover { background: #4e503f; }
.dropdown { border: 1px solid var(--line); border-radius: 9px; min-width: 280px; }
.dropdown a { border-radius: 4px; }
.dropdown a:hover { background: transparent; }
.menu-toggle { color: var(--ink); }

/* Split hero: readable copy beside the project imagery. */
.home-hero {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    min-height: 600px;
    height: auto;
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
}
.home-hero .hero-photo {
    inset: 0 0 0 52%;
    background-size: cover;
    background-position: center;
    border-radius: 0 18px 18px 0;
}
.home-hero .hero-shade {
    inset: 0 0 0 52%;
    background: linear-gradient(180deg, #20251b00 25%, #20251b30 55%, #182017e0 100%);
    border-radius: 0 18px 18px 0;
}
.home-hero .hero-content {
    width: 100%;
    padding: 68px 50px 72px;
    margin: 0;
}
.home-hero .eyebrow {
    color: #726143;
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 27px;
    max-width: 46%;
}
.home-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.06;
    letter-spacing: -.045em;
    max-width: 49%;
    margin: 0 0 27px;
}
.home-hero h1 em { color: #887249; font-weight: 400; }
.home-hero .hero-content>p { max-width: 43%; font-size: 15px; color: #66685f; margin-bottom: 0; line-height: 1.85; }
.home-hero .hero-actions { max-width: 48%; gap: 12px; margin-top: 30px; }
.home-hero .hero-actions .button { min-height: 48px; padding: 13px 20px; gap: 18px; }
.home-hero .button:not(.secondary) { background: var(--ink); color: #fff; }
.home-hero .button.secondary { border: 1px solid #b9b7ab; color: var(--ink); background: transparent; backdrop-filter: none; }
.home-hero .button:hover { background: #4e503f; color: #fff; }
.home-hero .hero-note {
    display: block;
    position: absolute;
    right: 35px;
    bottom: 105px;
    width: calc(48% - 70px);
    padding: 0;
    background: transparent;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.hero-note>span { display: block; padding: 0; font-size: 9px; letter-spacing: .18em; color: #e5d9bc; margin-bottom: 14px; }
.hero-note>b { display: block; padding: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.2; }
.hero-note i { font-family: Arial, sans-serif; font-style: normal; float: right; }
.home-hero .hero-controls { left: calc(52% + 35px); right: 35px; bottom: 34px; gap: 10px; color: #fff; border-top: 1px solid #ffffff40; padding-top: 20px; }
.home-hero .slide-dot { background: #ffffff65; }
.home-hero .slide-dot.active { background: #e3d5b5; }
.home-hero #slideLabel { font-size: 9px; letter-spacing: .08em; margin-left: 8px; color: #fff; }
.home-hero #pauseSlides { color: #fff; border-color: #ffffff65; }
.sector-strip { padding-block: 32px; border-bottom-color: var(--line); }
.sector-strip b { color: #b4a27e; font-family: Georgia, serif; font-weight: 400; }
.sector-strip span { color: #55584c; }

/* Shared closing invitation and a light footer for the original wordmark. */
.closing-cta {
    margin: 35px auto 0;
    padding: 45px 50px;
    border-radius: 14px;
    background: #292c26;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}
.closing-cta:after { display: none; }
.closing-cta .closing-copy { display: block; }
.closing-cta .eyebrow { color: #d9c8a4; font-size: 9px; margin-bottom: 20px; }
.closing-cta h2 { font-family: Georgia, serif; font-size: 43px; line-height: 1.1; margin: 0; letter-spacing: -.025em; }
.closing-cta h2 em { color: #e7dcc5; }
.closing-cta .closing-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 17px; flex-shrink: 0; }
.closing-cta .button { background: #e9dfca; color: var(--ink); gap: 34px; }
.closing-cta .button:hover { background: #f8f1e3; }
.closing-phone { font-size: 14px; color: #dedfd8; letter-spacing: .04em; }
.site-footer { background: #f8f7f2; color: var(--ink); margin-top: 44px; padding: 65px 0 0; }
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr 1.05fr 1.1fr;
    gap: 48px;
    padding-bottom: 48px;
    align-items: start;
}
.site-footer .footer-grid>div { min-width: 0; }
.site-footer .footer-brand { align-items: center; }
.site-footer .brand .brand-wordmark { width: 218px; height: auto; border-radius: 0; padding: 0; background: transparent; }
.site-footer .brand .brand-subtitle { font-size: 9px; color: #585b50; }
.site-footer .footer-brand-column>p { color: #64665c; font-size: 14px; line-height: 1.9; margin: 25px 0 19px; }
.footer-brand-note { display: block; font-size: 8px; letter-spacing: .13em; color: #89744c; line-height: 1.9; max-width: 270px; }
.site-footer h3 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .03em; margin: 13px 0 24px; color: #30342a; }
.site-footer .footer-grid>div>a:not(.brand) { font-size: 12px; line-height: 1.65; color: #64665c; margin: 0 0 12px; display: block; }
.site-footer .footer-links>a:hover, .site-footer .footer-office>a:hover { color: #262a20; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-office>p { font-size: 12px; color: #64665c; line-height: 1.9; margin: 0 0 15px; }
.site-footer .footer-office>a.footer-directions { display: inline-flex; gap: 20px; color: #75603b; border-bottom: 1px solid #d6c6a6; padding-bottom: 4px; }
.footer-person { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-person>span { display: block; font-size: 11px; color: #66685f; margin-bottom: 5px; }
.footer-person>a { display: block; font-size: 15px; color: #282b25; letter-spacing: .02em; }
.site-footer .footer-office>a.footer-email { margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; }
.site-footer .footer-bottom { border-top: 1px solid #dbddd2; padding: 21px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #73766a; font-size: 10px; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }
.footer-dot { color: #b5b8aa; }

@media(max-width:1100px) {
    .site-header, .page-inner .site-header { gap: 20px; }
    .site-header nav { gap: 5px; }
    .brand .brand-wordmark, .site-header .brand .brand-wordmark { width: 165px; height: auto; }
    .home-hero .hero-content { padding: 55px 35px 60px; }
    .home-hero .hero-actions .button { padding: 12px 15px; gap: 10px; font-size: 11px; }
    .home-hero .hero-note { right: 25px; width: calc(48% - 50px); }
    .home-hero .hero-controls { left: calc(52% + 25px); right: 25px; }
    .site-footer .footer-grid { gap: 28px; grid-template-columns: 1.05fr .7fr 1fr 1.15fr; }
    .site-footer .brand .brand-wordmark { width: 190px; }
}
@media(max-width:980px) {
    .home-hero { min-height: 570px; }
    .home-hero h1 { font-size: 46px; }
    .home-hero .hero-content>p { font-size: 14px; }
    .home-hero .hero-actions { flex-direction: column; align-items: flex-start; }
    .home-hero .hero-note>b { font-size: 25px; }
    .home-hero #slideLabel { font-size: 8px; margin-left: 1px; letter-spacing: 0; }
    .site-header nav>a, .nav-services>a { padding-inline: 8px; font-size: 12px; }
    .site-footer .footer-grid { grid-template-columns: 1.1fr 1fr; gap: 38px 55px; }
    .site-footer .footer-brand-column { grid-column: auto; }
    .site-footer .footer-grid>div:last-child { grid-column: auto; }
}
@media(max-width:760px) {
    .wrap { width: calc(100% - 36px); }
    .site-header, .page-inner .site-header, .page-home .site-header {
        width: calc(100% - 36px);
        margin: 0 auto;
        padding: 14px 0;
        min-height: 86px;
        border: 0;
        border-radius: 0;
    }
    .site-header .brand .brand-wordmark { width: 148px; height: auto; }
    .site-header .brand .brand-subtitle { font-size: 7px; letter-spacing: .22em; }
    .site-header .menu-toggle { color: var(--ink); font-size: 12px; gap: 10px; }
    .site-header .header-cta { display: none; }
    .site-header nav, .page-inner .site-header nav {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: -5px;
        right: -5px;
        margin-left: 0;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        box-shadow: 0 15px 30px #24262112;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
    }
    .site-header nav.open { display: block; }
    .site-header nav>a, .nav-services>a { padding: 12px; font-size: 14px; border-radius: 5px; }
    .site-header nav a[aria-current=page] { background: #f1eee5; color: var(--ink); }
    .site-header nav>a[aria-current=page]:after, .nav-services>a[aria-current=page]:after { display: none; }
    .dropdown { position: static; border: 0; box-shadow: none; border-radius: 0; background: #faf9f4; padding: 8px 0 8px 8px; }
    .services-toggle { border-radius: 5px; background: var(--paper); }
    .home-hero { width: calc(100% - 24px); border-radius: 13px; min-height: 0; }
    .home-hero .hero-content { padding: 35px 25px 360px; }
    .home-hero .eyebrow { max-width: 100%; font-size: 8px; letter-spacing: .12em; margin-bottom: 22px; }
    .home-hero h1 { max-width: 100%; font-size: clamp(36px, 10.4vw, 52px); line-height: 1.06; margin-bottom: 22px; }
    .home-hero .hero-content>p { max-width: 100%; font-size: 14px; line-height: 1.8; }
    .home-hero .hero-actions { max-width: 100%; flex-direction: row; align-items: stretch; margin-top: 24px; gap: 10px; }
    .home-hero .hero-actions .button { padding: 12px 15px; font-size: 10px; gap: 12px; min-height: 44px; }
    .home-hero .hero-photo, .home-hero .hero-shade { inset: auto 0 0; height: 315px; border-radius: 0 0 13px 13px; }
    .home-hero .hero-photo { background-position: center 52%; }
    .home-hero .hero-note { display: block; right: 25px; left: 25px; bottom: 92px; width: auto; }
    .home-hero .hero-note>span { font-size: 8px; margin-bottom: 11px; }
    .home-hero .hero-note>b { font-size: 26px; }
    .home-hero .hero-controls { left: 25px; right: 25px; bottom: 25px; gap: 9px; padding-top: 18px; }
    .home-hero #slideLabel { font-size: 8px; margin-left: 3px; }
    .sector-strip { padding-block: 24px; gap: 12px; }
    .sector-strip b { font-size: 28px; }
    .sector-strip span { font-size: 10px; }
    .closing-cta { width: calc(100% - 36px); margin-top: 25px; padding: 30px 26px; display: block; border-radius: 11px; }
    .closing-cta .eyebrow { font-size: 8px; line-height: 1.7; margin-bottom: 19px; max-width: 260px; }
    .closing-cta h2 { font-size: 34px; }
    .closing-cta .closing-actions { display: flex; align-items: flex-start; gap: 15px; margin-top: 26px; }
    .closing-cta .button { margin-top: 0; padding: 13px 18px; font-size: 11px; }
    .closing-phone { font-size: 13px; }
    .site-footer { margin-top: 30px; padding-top: 38px; }
    .site-footer .footer-grid { grid-template-columns: .85fr 1.15fr; gap: 30px 25px; padding-bottom: 30px; }
    .site-footer .footer-brand-column { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 27px; }
    .site-footer .brand .brand-wordmark, .site-footer .footer-grid .brand .brand-wordmark { width: 205px; height: auto; }
    .site-footer .brand .brand-subtitle { font-size: 8px; }
    .site-footer .footer-brand-column>p { margin-top: 22px; margin-bottom: 13px; font-size: 13px; }
    .footer-brand-note { font-size: 7px; }
    .site-footer h3 { font-size: 11px; margin: 0 0 19px; }
    .site-footer .footer-grid>div>a:not(.brand) { font-size: 11px; margin-bottom: 11px; }
    .site-footer .footer-grid .footer-office { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); }
    .site-footer .footer-office>p { font-size: 12px; }
    .footer-person { max-width: 290px; margin-top: 18px; padding-top: 15px; }
    .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 11px; padding: 20px 0; font-size: 9px; }
    .footer-legal { gap: 12px; }
}
@media(max-width:360px) {
    .home-hero .hero-content { padding-inline: 21px; }
    .home-hero h1 { font-size: 36px; }
    .home-hero .hero-actions .button { padding: 11px 12px; font-size: 9px; gap: 9px; }
    .home-hero .hero-note, .home-hero .hero-controls { left: 21px; right: 21px; }
    .home-hero #slideLabel { font-size: 7px; }
    .home-hero .hero-controls { gap: 7px; }
    .closing-cta h2 { font-size: 30px; }
}
/* Keep supporting components in the same neutral brand palette. */
.why-grid article:after { background: #f2eee3; }
.contact-method:hover { background: #f0ece1; }
.heading-note strong { color: var(--ink); }
.solar-highlight .button { background: #e9dfca; color: var(--ink); }
.page-inner .menu-toggle { color: var(--ink); }

/* Navigation uses text and a gold active underline only. */
.site-header #mainNav a,
.site-header #mainNav a:hover,
.site-header #mainNav a:focus,
.site-header #mainNav a:active,
.site-header #mainNav a[aria-current=page],
.site-header #mainNav a[aria-current=page]:hover {
    background: transparent;
    background-image: none;
    color: var(--ink);
    box-shadow: none;
    border-radius: 0;
}
.site-header #mainNav a:before { display: none; }
.site-header #mainNav>a[aria-current=page]:after,
.site-header #mainNav .nav-services>a[aria-current=page]:after {
    content: '';
    display: block;
    position: absolute;
    height: 2px;
    left: 9px;
    right: 9px;
    bottom: 5px;
    background: var(--gold);
}
.direct-enquiry { margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper); }
.direct-enquiry .eyebrow { margin-bottom: 12px; }
.direct-enquiry h3 { margin-bottom: 12px; font-size: 28px; }
.direct-enquiry p { margin-bottom: 0; font-size: 14px; }
.direct-enquiry-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; flex-shrink: 0; }
@media(max-width:760px) {
    .direct-enquiry { display: block; padding: 24px; }
    .direct-enquiry-actions { margin-top: 22px; }
    .direct-enquiry .button { font-size: 11px; gap: 12px; padding: 13px 16px; }
}

/* Menu items keep exactly the same geometry on hover and focus. */
.site-header #mainNav a,
.site-header #mainNav a:hover,
.site-header #mainNav a:focus,
.site-header #mainNav a:active {
    transform: none;
    scale: none;
    transition: none;
    animation: none;
    font-weight: 500;
}
.contact-map { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.contact-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 28px; }
.contact-map-heading .eyebrow { margin-bottom: 9px; }
.contact-map-heading h3 { font-size: 28px; margin: 0 0 8px; }
.contact-map-heading p { margin: 0; font-size: 13px; }
.contact-map-heading>a { flex-shrink: 0; }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; background: #eeede7; }
@media(max-width:760px) {
    .contact-map-heading { display: block; padding: 23px; }
    .contact-map-heading h3 { font-size: 25px; }
    .contact-map-heading>a { margin-top: 18px; }
    .contact-map iframe { height: 300px; }
}
