:root {
  --blue: #3a526a;
  --blue-deep: #18354d;
  --blue-dark: #0d2a3f;
  --green: #398e3f;
  --green-bright: #56b94f;
  --ink: #172633;
  --muted: #65727d;
  --paper: #f7f8f5;
  --white: #fff;
  --line: #d9dfdc;
  --shell: min(1170px, calc(100% - 40px));
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(78px, 8vw, 118px) 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); color: var(--blue-dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 80; background: var(--white); border-bottom: 1px solid rgba(23,38,51,.1); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 9px 28px rgba(13,42,63,.1); }
.utility-bar { background: var(--blue); color: rgba(255,255,255,.92); }
.utility-inner { min-height: 45px; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.utility-contact { display: flex; align-items: center; gap: 34px; font-size: .79rem; }
.utility-contact a { display: flex; align-items: center; gap: 9px; }
.utility-contact span { color: var(--green-bright); font-size: .5rem; }
.utility-cta { display: flex; align-items: center; gap: 18px; padding: 0 25px; background: var(--green); color: var(--white); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.utility-cta:hover, .utility-cta:focus-visible { background: var(--blue-dark); }
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.brand { width: 142px; }
.brand img { width: 142px; height: 61px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 39px; color: #253440; font-size: .91rem; font-weight: 700; }
.site-nav a { position: relative; padding: 18px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 10px; height: 2px; background: var(--green); transition: right .2s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; flex-shrink: 0; align-items: center; gap: 12px; padding: 10px 0; border: 0; background: none; color: var(--blue-dark); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.menu-toggle i, .menu-toggle i::before { width: 25px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-toggle i { display: block; position: relative; }
.menu-toggle i::before { content: ""; position: absolute; left: 0; top: -7px; }

.hero { background: var(--blue-dark); }
.hero-slider { position: relative; height: clamp(580px, 57vw, 720px); min-height: 580px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .65s ease, visibility .65s; }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,25,35,.78) 0%, rgba(11,25,35,.57) 42%, rgba(11,25,35,.15) 78%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 18px; color: var(--white); }
.slide-kicker, .eyebrow { margin: 0 0 19px; color: var(--green-bright); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.slide-content h1, .slide-content h2 { max-width: 760px; margin: 0; font-family: var(--sans); font-size: clamp(3rem, 5.2vw, 4.75rem); font-weight: 750; line-height: 1.04; letter-spacing: -.045em; }
.slide-content > p:not(.slide-kicker) { max-width: 700px; margin: 27px 0 0; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 0; border-radius: 2px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-green { background: var(--green); color: var(--white); }
.button-green:hover, .button-green:focus-visible { background: #2d7433; }
.button-dark { background: rgba(25,39,50,.9); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: var(--white); color: var(--blue-dark); }
.slider-controls { position: absolute; z-index: 5; left: 50%; bottom: 26px; display: flex; justify-content: flex-end; align-items: center; gap: 15px; transform: translateX(-50%); color: var(--white); }
.slider-arrow { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.6); background: rgba(11,25,35,.25); color: var(--white); cursor: pointer; }
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--green); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 27px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.slider-dots button.is-active { background: var(--green-bright); }

.section-heading h2, .services-intro h2, .callback h2, .blog h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.45rem, 4.4vw, 4.45rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.section-heading.centred { max-width: 770px; text-align: center; }
.value-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { position: relative; min-height: 440px; overflow: hidden; background: var(--blue-dark); color: var(--white); }
.value-card > img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; transition: transform .55s; }
.value-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10,30,44,.94) 92%); }
.value-card:hover > img { transform: scale(1.035); }
.value-content { position: absolute; z-index: 2; inset: auto 28px 25px; }
.value-content span { color: var(--green-bright); font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.value-content h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 400; line-height: 1.15; }
.value-content p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: rgba(255,255,255,.82); font-size: .88rem; transition: max-height .35s, opacity .35s, margin .35s; }
.value-card:hover .value-content p, .value-card:focus-within .value-content p { max-height: 130px; margin-top: 10px; opacity: 1; }

.services { background: var(--white); }
.services-layout { display: grid; grid-template-columns: .78fr 1.35fr; gap: clamp(60px, 8vw, 120px); align-items: start; }
.services-intro { position: sticky; top: 160px; }
.services-intro > p:not(.eyebrow) { margin: 28px 0 25px; color: var(--muted); font-size: 1.03rem; }
.inline-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--blue-deep); font-weight: 800; }
.inline-link span { color: var(--green); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 240px; padding: 31px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.service-grid article:hover { background: #f1f5ef; transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; background: var(--green); color: var(--white); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); font-size: .65rem; font-weight: 900; letter-spacing: .05em; }
.service-grid h3 { margin: 37px 0 9px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.service-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.service-card-link { display: inline-block; margin-top: 16px; color: var(--green); font-size: .8rem; font-weight: 850; }
.service-card-link:hover, .service-card-link:focus-visible { color: var(--blue-deep); }

.callback { background: #3e3d40; color: var(--white); }
.callback-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 125px); align-items: center; }
.eyebrow.light { color: #80d978; }
.callback-copy > p:not(.eyebrow) { max-width: 510px; margin: 25px 0; color: rgba(255,255,255,.75); }
.direct-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 36px; color: #80d978; font-weight: 750; }
.callback-form { padding: 38px; background: var(--white); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 6px; color: #33424e; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #aeb8bd; border-radius: 1px; background: #fbfcfa; color: var(--ink); }
.field input { height: 49px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,142,63,.16); }
.form-submit { width: 100%; justify-content: space-between; }
.form-note, .form-status { margin: 10px 0 0; color: var(--muted); font-size: .77rem; }
.form-status { min-height: 1.25em; color: #27702f; font-weight: 700; }

.blog { background: var(--paper); }
.blog-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 70px; }
.blog-rule { height: 1px; margin-bottom: 10px; background: var(--line); }
.featured-post { margin-top: 50px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--white); box-shadow: 0 18px 48px rgba(13,42,63,.08); }
.post-image { position: relative; min-height: 390px; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-image:hover img { transform: scale(1.025); }
.post-image > span { position: absolute; right: 20px; top: 20px; min-width: 58px; padding: 11px 8px; background: var(--green); color: var(--white); text-align: center; font-size: 1.15rem; font-weight: 850; line-height: 1; }
.post-image small { font-size: .6rem; letter-spacing: .1em; }
.post-copy { padding: clamp(35px, 5vw, 70px); align-self: center; }
.post-meta { margin: 0 0 15px; color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.post-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 400; line-height: 1.12; }
.post-copy > p:not(.post-meta) { margin: 24px 0; color: var(--muted); }

.site-footer { background: var(--blue); color: rgba(255,255,255,.75); }
.footer-contact { display: grid; grid-template-columns: .8fr .7fr 1.5fr; padding-top: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-contact > * { margin: 0; padding: 3px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.footer-contact > *:first-child { padding-left: 0; }.footer-contact > *:last-child { border-right: 0; }
.footer-contact span { display: block; color: #80d978; font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-main { display: grid; grid-template-columns: 1.4fr .65fr .9fr 1fr; gap: 55px; padding-top: 65px; padding-bottom: 60px; }
.footer-about img { width: 150px; height: 64px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.footer-about p { max-width: 390px; }
.footer-main h2 { margin: 0 0 17px; color: var(--white); font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { display: block; margin: 6px 0; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--white); }
.footer-news p { margin: 0 0 20px; }
.footer-news .button { min-height: 48px; width: 100%; justify-content: space-between; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 22px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 26px; }

/* Inner SEO pages */
.inner-hero { padding: clamp(75px, 9vw, 125px) 0; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: var(--white); }
.inner-hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.inner-hero > .shell > p:not(.eyebrow) { max-width: 760px; margin: 25px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; color: rgba(255,255,255,.68); font-size: .76rem; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--white); }
.breadcrumbs i { font-style: normal; opacity: .5; }
.inner-section { padding: clamp(75px, 8vw, 115px) 0; background: var(--paper); }
.inner-grid { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.65fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.inner-aside { position: sticky; top: 145px; padding: 30px; background: var(--white); border-top: 4px solid var(--green); box-shadow: 0 16px 40px rgba(13,42,63,.07); }
.inner-aside h2 { margin: 0 0 18px; font: 400 1.75rem/1.1 var(--serif); }
.inner-aside ul { margin: 0 0 25px; padding-left: 20px; color: var(--muted); }
.inner-aside li { margin: 9px 0; }
.inner-aside .button { width: 100%; }
.inner-content > h2, .contact-details h2, .legal-copy h2, .article-copy h2 { margin: 0 0 18px; font: 400 clamp(2rem, 3.6vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.025em; }
.inner-content > p { color: var(--muted); font-size: 1.04rem; }
.detail-list { margin-top: 45px; border-top: 1px solid var(--line); }
.detail-list article { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-list span { color: var(--green); font-size: .68rem; font-weight: 850; letter-spacing: .12em; }
.detail-list h3 { margin: 0 0 8px; font: 400 1.65rem/1.1 var(--serif); }
.detail-list p { margin: 0; color: var(--muted); }
.content-cta { margin-top: 55px; padding: 36px; background: var(--blue); color: var(--white); }
.content-cta h2 { margin: 0 0 12px; font: 400 clamp(1.8rem,3vw,2.7rem)/1.08 var(--serif); }
.content-cta p { color: rgba(255,255,255,.75); }
.content-cta .inline-link { color: var(--white); }
.seo-service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.seo-service-card { min-height: 330px; padding: 35px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.seo-service-card > span { display: grid; place-items: center; width: 48px; height: 48px; background: var(--green); color: var(--white); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); font-size: .65rem; font-weight: 900; }
.seo-service-card h2 { margin: 35px 0 12px; font: 400 1.75rem/1.1 var(--serif); }
.seo-service-card p { color: var(--muted); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 55px; }
.mission-grid article { padding: 28px; background: var(--white); border-top: 3px solid var(--green); }
.mission-grid h3 { margin: 0 0 10px; font: 400 1.65rem/1.1 var(--serif); }
.mission-grid p:last-child { color: var(--muted); }
.leadership-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.leadership-compact article { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--white); }
.leadership-compact span { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--serif); }
.leadership-compact h3 { margin: 0; font: 400 1.45rem/1.1 var(--serif); }
.leadership-compact p { margin: 4px 0 0; color: var(--muted); }
.contact-page-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px,8vw,110px); align-items: start; }
.contact-details { padding-top: 15px; }
.contact-details address { margin: 25px 0; color: var(--muted); font-style: normal; }
.contact-details > a { display: block; margin: 12px 0; color: var(--green); font-size: 1.08rem; font-weight: 780; }
.legal-copy, .article-copy { max-width: 850px; }
.legal-copy h2, .article-copy h2 { margin-top: 48px; font-size: clamp(1.7rem,3vw,2.5rem); }
.legal-copy p, .legal-copy li, .article-copy p { color: #4d5d68; }
.legal-copy a, .article-copy a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-image { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 32px; }
.article-disclaimer { padding: 20px 22px; border-left: 4px solid var(--green); background: #eef4ec; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s, transform .65s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --shell: min(760px, calc(100% - 32px)); }
  .utility-contact a:first-child { display: none; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px max(16px, calc((100vw - 760px) / 2)); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(13,42,63,.1); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; }
  .site-nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(90deg); }
  .hero-slider { height: 650px; }
  .hero-slide > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(11,25,35,.82), rgba(11,25,35,.47)); }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-card:last-child { grid-column: 1 / -1; }
  .value-card .value-content p { max-height: 130px; margin-top: 10px; opacity: 1; }
  .services-layout, .callback-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .featured-post { grid-template-columns: 1fr; }
  .post-image { min-height: 360px; }
  .footer-contact { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-contact p { grid-column: 1 / -1; padding-left: 0; border-right: 0; }
  .footer-main { grid-template-columns: 1.3fr .7fr .8fr; }
  .footer-news { grid-column: 1 / -1; }
  .inner-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .inner-aside { position: static; }
  .seo-service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  .utility-inner { width: 100%; min-height: 40px; gap: 0; justify-content: space-between; }
  .utility-contact { display: flex; padding-left: 14px; font-size: .67rem; }
  .utility-cta { padding: 0 13px; font-size: .67rem; }
  .nav-wrap { min-height: 80px; }
  .brand, .brand img { width: 122px; }
  .hero-slider { height: 650px; min-height: 650px; }
  .hero-slide > img { object-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,26,38,.88), rgba(10,26,38,.56)); }
  .slide-content { justify-content: flex-end; padding-bottom: 110px; }
  .slide-content h1, .slide-content h2 { font-size: clamp(2.45rem, 11.6vw, 3.25rem); }
  .slide-content > p:not(.slide-kicker) { font-size: .95rem; }
  .slide-content br { display: none; }
  .slide-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .slide-actions .button { width: 100%; }
  .slider-controls { bottom: 27px; justify-content: center; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card:last-child { grid-column: auto; }
  .value-card, .value-card > img { min-height: 430px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .callback-form { padding: 25px 18px; }
  .blog-heading { grid-template-columns: 1fr; gap: 30px; }
  .post-image { min-height: 270px; }
  .footer-contact, .footer-main { grid-template-columns: 1fr; }
  .footer-contact > *, .footer-contact > *:first-child, .footer-contact p { grid-column: auto; padding: 9px 0; border-right: 0; }
  .footer-news { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .seo-service-grid, .mission-grid, .leadership-compact { grid-template-columns: 1fr; }
  .inner-hero h1 { font-size: clamp(2.7rem,13vw,4rem); }
  .detail-list article { grid-template-columns: 40px 1fr; gap: 12px; }
}

@media (max-width: 430px) {
  .utility-contact { display: none; }
  .utility-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid #80d978; outline-offset: 4px; }
