:root {
    --ink: #0f1d1e;
    --teal: #003c3c;
    --teal-deep: #002c2d;
    --accent: #ffc400;
    --paper: #f5f4ef;
    --white: #fff;
    --line: rgba(15, 29, 30, .16);
    --muted: #607071;
    --display: "Manrope", sans-serif;
    --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); letter-spacing: -.04em; }
.container-site { max-width: 1480px; padding-left: clamp(1.4rem, 4vw, 4.5rem); padding-right: clamp(1.4rem, 4vw, 4.5rem); }
.section-space { padding-top: clamp(5rem, 10vw, 10rem); padding-bottom: clamp(5rem, 10vw, 10rem); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .7rem 1rem; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled, body:not(.home) .site-header { background: rgba(245,244,239,.94); border-color: var(--line); backdrop-filter: blur(16px); }
.home .site-header:not(.scrolled) { color: white; }
.home .site-header:not(.scrolled) .nav-link { color: white; }
.home .site-header:not(.scrolled) .logo-dark { display: none; }
.home .site-header:not(.scrolled) .logo-light { display: block; }
.home .site-header:not(.scrolled) .btn-brand { border-color: white; background: transparent; }
.navbar { min-height: 92px; padding: 0; }
.navbar-brand img { width: 170px; height: 58px; object-fit: contain; object-position: left center; }
.logo-light { display: none; }
.nav-link { position: relative; margin: 0 .75rem; padding: 2.15rem 0 !important; color: var(--ink); font-size: .92rem; font-weight: 600; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 1.7rem; height: 2px; background: var(--accent); transition: right .25s; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.btn { border-radius: 0; padding: .85rem 1.25rem; font-weight: 700; }
.btn-brand { border-color: var(--teal); background: var(--teal); color: white; }
.btn-brand:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.btn-accent { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: white; border-color: white; }
.btn-outline-brand { border: 1px solid var(--teal); color: var(--teal); }
.btn-outline-brand:hover { background: var(--teal); color: white; }
.navbar-toggler { border: 0; border-radius: 0; padding: 1rem 0 1rem 1rem; box-shadow: none !important; }
.navbar-toggler span { display: block; width: 28px; height: 2px; margin: 7px 0; background: currentColor; }
.mega-menu { left: 50% !important; right: auto; width: min(1100px, 92vw); margin-top: -2px !important; padding: 0; border: 0; border-radius: 0; box-shadow: 0 24px 60px rgba(0,0,0,.16); transform: translateX(-52%); }
.mega-menu.show { display: grid; grid-template-columns: 1fr 2fr; }
.mega-intro { padding: 2.5rem; color: white; background: var(--teal); }
.mega-intro span, .mega-intro a { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.mega-intro h2 { margin: 2rem 0 4rem; font-size: 2rem; }
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); padding: 1rem 2rem; background: white; }
.mega-links a { display: grid; grid-template-columns: 35px 1fr; padding: 1.25rem .5rem; border-bottom: 1px solid var(--line); transition: transform .2s; }
.mega-links a:hover { transform: translateX(5px); }
.mega-links small { color: var(--muted); }
.mega-links span { font-weight: 700; }
.mega-links em { grid-column: 2; color: var(--muted); font-size: .8rem; font-style: normal; }

.hero-home { position: relative; min-height: 100svh; overflow: hidden; color: white; background: var(--teal-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.06); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,31,32,.92), rgba(0,31,32,.4) 58%, rgba(0,31,32,.62)), linear-gradient(0deg, rgba(0,20,21,.6), transparent 65%); }
.hero-gridlines { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(90deg, transparent calc(25% - 1px), #fff 25%, transparent calc(25% + 1px)), linear-gradient(90deg, transparent calc(50% - 1px), #fff 50%, transparent calc(50% + 1px)), linear-gradient(90deg, transparent calc(75% - 1px), #fff 75%, transparent calc(75% + 1px)); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100svh; padding-top: 12rem; padding-bottom: 4rem; flex-direction: column; justify-content: space-between; }
.hero h1 { max-width: 1300px; font-size: clamp(3.4rem, 7.7vw, 8.5rem); font-weight: 500; line-height: .95; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-bottom p { max-width: 620px; font-size: clamp(1.05rem, 1.3vw, 1.35rem); }
.section-kicker { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; color: var(--teal); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.section-kicker.light { color: white; }
.text-link { display: inline-flex; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link span { color: var(--accent); }
.text-link.light { color: white; }
.intro-statement .statement { font-family: var(--display); font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1.1; letter-spacing: -.05em; }
.intro-statement .statement.muted { margin-top: 1rem; color: #93a0a0; }

.business-stack { border-top: 1px solid var(--line); }
.business-row { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); transition: background .25s, color .25s; }
.business-row:hover { color: white; background: var(--teal); }
.business-row-inner { position: relative; display: grid; grid-template-columns: 70px 1.2fr 1fr 50px; gap: 2rem; align-items: center; min-height: 170px; }
.business-no, .business-name small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.business-row:hover .business-no, .business-row:hover .business-name small { color: rgba(255,255,255,.65); }
.business-name h2 { margin: .3rem 0 0; font-size: clamp(1.8rem, 3.5vw, 3.7rem); font-weight: 500; }
.business-row p { max-width: 430px; margin: 0; color: var(--muted); }
.business-row:hover p { color: rgba(255,255,255,.76); }
.business-arrow { font-size: 2rem; color: var(--accent); }
.business-hover-image { position: absolute; z-index: 2; right: 11%; bottom: -25px; width: 260px; height: 165px; object-fit: cover; opacity: 0; pointer-events: none; transform: rotate(-3deg) translateY(15px); transition: opacity .2s, transform .25s; }
.business-row:hover .business-hover-image { opacity: 1; transform: rotate(-3deg) translateY(0); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; }
.feature-card { display: grid; grid-template-columns: 1.55fr .75fr; min-height: 570px; color: white; background: var(--teal); }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.feature-card:hover .feature-media img { transform: scale(1.03); }
.status-pill { position: absolute; top: 1.5rem; left: 1.5rem; padding: .55rem .8rem; color: var(--ink); background: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.feature-copy { display: flex; padding: clamp(2rem, 4vw, 4rem); flex-direction: column; }
.feature-copy > span { color: #9fc0bf; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.feature-copy h2 { margin: 3rem 0 1rem; font-size: clamp(2.4rem, 4.5vw, 5rem); font-weight: 500; line-height: 1; }
.feature-copy p { color: rgba(255,255,255,.74); }
.feature-copy b { margin-top: auto; color: var(--accent); }
.responsibility-band { padding: clamp(5rem, 9vw, 9rem) 0; color: white; background: var(--teal-deep); }
.responsibility-band h2 { margin: 0; font-size: clamp(3rem, 6vw, 7rem); font-weight: 500; line-height: .98; }
.responsibility-band p { color: rgba(255,255,255,.72); font-size: 1.12rem; }
.insight-card { display: flex; min-height: 360px; padding: 2rem; border: 1px solid var(--line); flex-direction: column; transition: color .25s, background .25s, transform .25s; }
.insight-card:hover { color: white; background: var(--teal); transform: translateY(-7px); }
.insight-card > span { color: #737f80; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.insight-card h3 { margin: 4rem 0 1rem; font-size: clamp(1.6rem, 2.2vw, 2.5rem); font-weight: 500; }
.insight-card p { color: var(--muted); }
.insight-card:hover p, .insight-card:hover small { color: rgba(255,255,255,.7); }
.insight-card small { margin-top: auto; }

.page-hero { padding: clamp(11rem, 17vw, 15rem) 0 clamp(5rem, 9vw, 9rem); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding-bottom: 5rem; }
.page-hero.dark { color: white; background: var(--teal-deep); }
.page-hero h1 { max-width: 1230px; margin-bottom: 3rem; font-size: clamp(3.3rem, 7vw, 8rem); font-weight: 500; line-height: .98; }
.page-hero p { font-size: clamp(1.1rem, 1.6vw, 1.45rem); }
.display-copy { font-size: clamp(2.4rem, 4.5vw, 5rem); font-weight: 500; line-height: 1.08; }
.lead-copy { margin-bottom: 1.5rem; font-size: 1.3rem; }
.principles { color: white; background: var(--teal); }
.principles .section-kicker, .principles .section-head { color: white; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.principle-grid article { min-height: 300px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.25); }
.principle-grid article:last-child { border: 0; }
.principle-grid b { color: var(--accent); }
.principle-grid h3 { margin: 5rem 0 1rem; font-size: 1.7rem; }
.principle-grid p { color: rgba(255,255,255,.7); }
.section-space > .container-site > .principle-grid article { color: var(--ink); border-color: var(--line); }
.section-space > .container-site > .principle-grid p { color: var(--muted); }

.business-index { padding-bottom: 8rem; }
.business-index-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); padding: 5rem 0; border-top: 1px solid var(--line); align-items: center; }
.business-index-card:nth-child(even) .business-index-image { order: 2; }
.business-index-image { position: relative; overflow: hidden; }
.business-index-image img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .7s; }
.business-index-card:hover img { transform: scale(1.035); }
.business-index-image span { position: absolute; top: 1.5rem; left: 1.5rem; padding: .5rem .7rem; background: var(--accent); font-weight: 700; }
.business-index-card small { color: var(--teal); text-transform: uppercase; letter-spacing: .1em; }
.business-index-card h2 { margin: 1rem 0; font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 500; }
.business-index-card p { max-width: 560px; color: var(--muted); }
.business-index-card b { display: inline-block; margin-top: 1rem; border-bottom: 1px solid; }
.business-hero { position: relative; min-height: 88svh; padding: 13rem 0 5rem; overflow: hidden; color: white; background: var(--teal); }
.business-hero-media { position: absolute; inset: 0; }
.business-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.business-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,35,36,.92), rgba(0,35,36,.2)), linear-gradient(0deg, rgba(0,25,26,.82), transparent 65%); }
.business-hero .container-site { position: relative; z-index: 2; }
.business-hero h1 { max-width: 1050px; margin: 2rem 0 7rem; font-size: clamp(3.5rem, 7vw, 8rem); font-weight: 500; line-height: .96; }
.business-hero p { font-size: 1.2rem; }
.service-lines h2 { font-size: 3rem; }
.service-lines article { display: grid; grid-template-columns: 70px 1fr; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.service-lines article > span { color: var(--muted); }
.service-lines h3 { font-size: 1.7rem; }
.service-lines p { max-width: 680px; color: var(--muted); }

.listing-section { padding: 3rem 0 9rem; }
.filter-row { display: flex; gap: .6rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-row button { padding: .6rem 1rem; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.filter-row button.active, .filter-row button:hover { color: white; background: var(--teal); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5rem 2rem; }
.project-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .7s; }
.project-card > a > div { position: relative; overflow: hidden; }
.project-card:hover img { transform: scale(1.03); }
.project-card small { display: block; margin-top: 1.5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.project-card h2 { margin: .8rem 0; font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; }
.project-card p { color: var(--muted); }
.insight-list { border-top: 1px solid var(--line); }
.insight-list a { display: grid; grid-template-columns: 200px 1fr 130px; gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--line); transition: padding .2s; }
.insight-list a:hover { padding-left: 1rem; }
.insight-list span { color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; }
.insight-list h2 { font-size: clamp(1.8rem, 3.4vw, 3.7rem); font-weight: 500; }
.insight-list p { max-width: 720px; color: var(--muted); }
.insight-list small { text-align: right; }
.article-page { padding: 12rem 0 8rem; }
.article-page h1 { max-width: 1000px; margin: 1rem 0 2rem; font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 500; line-height: 1; }
.article-meta, .back-link { display: block; margin-bottom: 2rem; color: var(--muted); }
.article-body { max-width: 760px; margin: 5rem auto 0; font-size: 1.1rem; }
.job-list { border-top: 1px solid var(--line); }
.job-list article { display: flex; justify-content: space-between; gap: 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.job-list h3 { margin: .5rem 0; font-size: 2rem; }
.job-list p { max-width: 720px; color: var(--muted); }
.job-list small { color: var(--teal); text-transform: uppercase; }
.contact-section { padding: 2rem 0 9rem; }
.contact-section h2 { font-size: 2.5rem; }
.contact-section a { font-weight: 700; border-bottom: 1px solid; }
.enquiry-form { display: grid; gap: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-control, .form-select { border: 1px solid #abb4b3; border-radius: 0; background: transparent; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(0,60,60,.12); background: white; }
textarea.form-control { min-height: 170px !important; }
.hp-field { position: absolute; left: -9999px; }
.file-field { display: grid; gap: .5rem; padding: 1rem 0; font-weight: 700; }
.file-field small { color: var(--muted); font-weight: 400; }
.file-field input { padding: .8rem; border: 1px dashed #93a09f; background: rgba(255,255,255,.4); }

.site-footer { padding-top: 8rem; color: white; background: #001f20; }
.footer-lead { padding-bottom: 7rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-lead h2 { margin: 0; font-size: clamp(3.5rem, 7vw, 8rem); font-weight: 500; }
.circle-link { display: inline-flex; width: 170px; height: 170px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; flex-direction: column; justify-content: space-between; text-align: left; transition: color .25s, background .25s; }
.circle-link b { align-self: flex-end; color: var(--accent); font-size: 2rem; }
.circle-link:hover { color: var(--ink); background: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; padding: 5rem 0; }
.footer-brand img { width: 210px; margin-bottom: 2rem; }
.footer-brand p { max-width: 300px; color: rgba(255,255,255,.62); }
.footer-grid h3 { margin-bottom: 1rem; color: rgba(255,255,255,.45); font-family: var(--body); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a { display: block; margin: .65rem 0; color: rgba(255,255,255,.82); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.48); font-size: .8rem; }
.footer-bottom a { margin-left: 1rem; }

.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s ease forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1199.98px) {
    .navbar { min-height: 76px; }
    .navbar-brand img { width: 145px; height: 48px; }
    .offcanvas { top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; width: min(430px, 92vw) !important; height: 100dvh !important; min-height: 100vh; color: var(--ink) !important; background: var(--paper) !important; overflow-y: auto; }
    .offcanvas-header { flex: 0 0 auto; padding: 1.5rem; border-bottom: 1px solid var(--line); background: var(--paper); }
    .offcanvas-header img { width: 150px; }
    .offcanvas-body { display: flex !important; flex: 1 1 auto; width: 100%; padding: 1rem 1.5rem 2rem; flex-direction: column; align-items: stretch !important; overflow-y: auto; background: var(--paper); }
    .offcanvas-body .navbar-nav { width: 100%; margin: 0 !important; align-items: stretch !important; }
    .home .site-header:not(.scrolled) .offcanvas .nav-link { color: var(--ink); }
    .home .site-header:not(.scrolled) .offcanvas .btn-brand { border-color: var(--teal); color: white; background: var(--teal); }
    .offcanvas-backdrop.show { opacity: .72; }
    .nav-link { margin: 0; padding: 1rem 0 !important; font-size: 1.35rem; }
    .mega-menu { position: static !important; width: auto; transform: none !important; box-shadow: none; }
    .mega-menu.show { display: block; }
    .mega-intro { display: none; }
    .mega-links { display: block; padding: 0 0 1rem 1rem; }
    .mega-links a { grid-template-columns: 30px 1fr; padding: .7rem 0; }
    .business-hover-image { display: none; }
}

@media (max-width: 767.98px) {
    .section-space { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .hero-content { padding-top: 9rem; padding-bottom: 2.5rem; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
    .hero-gridlines { display: none; }
    .business-row-inner { grid-template-columns: 35px 1fr 30px; gap: 1rem; min-height: 140px; }
    .business-row p { display: none; }
    .business-name h2 { font-size: 1.65rem; }
    .feature-card { grid-template-columns: 1fr; }
    .feature-media { min-height: 330px; }
    .feature-copy { min-height: 380px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .principle-grid { grid-template-columns: 1fr; }
    .principle-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
    .principle-grid h3 { margin-top: 2rem; }
    .business-index-card { grid-template-columns: 1fr; padding: 3.5rem 0; }
    .business-index-card:nth-child(even) .business-index-image { order: 0; }
    .business-hero { min-height: auto; padding-top: 10rem; }
    .business-hero h1 { margin-bottom: 4rem; }
    .project-grid { grid-template-columns: 1fr; }
    .insight-list a { grid-template-columns: 1fr; gap: .8rem; }
    .insight-list small { text-align: left; }
    .job-list article { align-items: flex-start; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { gap: 1rem; flex-direction: column; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 3.25rem; }
    .circle-link { width: 140px; height: 140px; }
}
