:root {
  --navy: #101a2b;
  --navy-2: #142238;
  --navy-3: #1f304c;
  --charcoal: #252b34;
  --yellow: #f4c318;
  --yellow-2: #ffd93d;
  --blue: #315f85;
  --white: #ffffff;
  --off-white: #f6f8fa;
  --grey-100: #eef1f4;
  --grey-200: #dce2e8;
  --grey-400: #9aa6b3;
  --grey-600: #5f6b77;
  --text: #202a35;
  --shadow: 0 18px 45px rgba(16, 26, 43, .12);
  --shadow-sm: 0 8px 24px rgba(16, 26, 43, .09);
  --radius: 5px;
  --container: 1240px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 1.02;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(3.1rem, 7vw, 6.1rem); text-transform: uppercase; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
p { margin: 0 0 18px; }
ul { padding-left: 1.2rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-150%);
  transition: transform .2s;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(74px, 9vw, 128px) 0; }
.section-alt { background: var(--off-white); }
.eyebrow {
  margin-bottom: 14px;
  color: #a97900;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.centred { margin-top: 42px; text-align: center; }
.icon { width: 44px; height: 44px; color: var(--yellow); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--yellow); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.btn-secondary:hover { color: var(--navy); background: var(--white); }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-dark:hover { background: var(--navy-3); }
.btn-sm { min-height: 44px; padding: 12px 17px; font-size: .75rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link, .service-card a, .project-card a, .blog-card a {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.text-link:hover, .service-card a:hover, .project-card a:hover, .blog-card a:hover { color: #8c6800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,26,43,.08);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s, height .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(16,26,43,.11); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; width: min(245px, 36vw); flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  position: relative;
  padding: 30px 0;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 20px;
  height: 3px;
  background: var(--yellow);
  transition: right .2s;
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: var(--navy); }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; transition: .2s; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9,17,30,.95) 0%, rgba(12,23,40,.78) 53%, rgba(12,23,40,.25) 100%),
    var(--hero-image) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 72%;
  width: 5px;
  background: var(--yellow);
  transform: skewX(-12deg);
}
.hero-content { position: relative; z-index: 2; max-width: 930px; padding-block: 110px 150px; }
.hero h1 { max-width: 920px; color: var(--white); text-wrap: balance; }
.hero-copy { max-width: 760px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero .eyebrow { color: var(--yellow); }
.hero-badge {
  position: absolute;
  z-index: 3;
  right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  width: min(720px, 80%);
  background: rgba(16,26,43,.94);
}
.hero-badge span { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-align: center; }

.engineering-strip { padding: 50px 0; background: var(--navy); color: var(--white); }
.engineering-inner { display: grid; grid-template-columns: 60px 1fr auto 60px; align-items: center; gap: 28px; }
.engineering-strip h2 { margin: 0; color: var(--white); font-size: clamp(2rem, 3.4vw, 3.5rem); }
.engineering-strip .eyebrow { color: var(--yellow); }
.mini-mark { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.15); }
.mini-mark .icon { width: 30px; height: 30px; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(48px, 8vw, 100px); }
.split-layout.reverse .media-panel { order: 2; }
.split-layout.reverse .content-panel { order: 1; }
.media-panel { position: relative; min-height: 520px; overflow: hidden; background: var(--grey-100); box-shadow: var(--shadow); }
.media-panel::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; border-right: 10px solid var(--yellow); border-bottom: 10px solid var(--yellow); }
.media-panel img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.media-label { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 18px 24px; background: var(--yellow); color: var(--navy); }
.media-label strong, .media-label span { display: block; }
.media-label strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; text-transform: uppercase; }
.media-label span { font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.content-panel > .icon { margin-bottom: 18px; }
.content-panel > p:not(.eyebrow) { color: var(--grey-600); }
.content-panel blockquote { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--yellow); background: var(--off-white); color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.1; }

.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 45px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--grey-600); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 34px; border: 1px solid var(--grey-200); background: var(--white); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card::after { content: ""; position: absolute; right: -45px; bottom: -45px; width: 100px; height: 100px; border: 10px solid rgba(244,195,24,.25); transform: rotate(45deg); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(244,195,24,.8); box-shadow: var(--shadow-sm); }
.service-card h3 { margin-top: 26px; }
.service-card p { color: var(--grey-600); }
.service-card a { position: absolute; left: 34px; bottom: 28px; }

.quality-section { background: linear-gradient(90deg, var(--off-white) 0 52%, var(--white) 52%); }
.capability-list { margin: 30px 0; border-top: 1px solid var(--grey-200); }
.capability-list a { display: flex; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--grey-200); color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; transition: padding-left .2s, color .2s; }
.capability-list a:hover { padding-left: 12px; color: #8c6800; }
.capability-list span { width: 36px; color: #967000; font-family: Inter, sans-serif; font-size: .72rem; letter-spacing: .1em; }

.solution-banner { position: relative; min-height: 560px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(8,15,27,.95), rgba(8,15,27,.55)), var(--banner-image) center/cover no-repeat; color: var(--white); }
.solution-banner h2 { max-width: 820px; color: var(--white); font-size: clamp(3.1rem, 7vw, 6.6rem); }
.solution-banner .eyebrow { color: var(--yellow); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 38px; border-top: 5px solid var(--yellow); background: var(--navy); color: rgba(255,255,255,.72); }
.value-card h3 { margin-top: 24px; color: var(--white); font-size: 2.2rem; text-transform: uppercase; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--grey-200); background: var(--white); }
.logo-grid span { display: grid; place-items: center; min-height: 120px; padding: 18px; border-right: 1px solid var(--grey-200); color: var(--grey-400); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-align: center; }
.logo-grid span:last-child { border: 0; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-grid-wide { grid-template-columns: repeat(2, 1fr); }
.project-card { overflow: hidden; border: 1px solid var(--grey-200); background: var(--white); transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.project-card img { width: 100%; height: 285px; object-fit: cover; filter: saturate(.83); transition: transform .4s, filter .4s; }
.project-card:hover img { transform: scale(1.035); filter: saturate(1); }
.project-card-body { padding: 27px; }
.project-card-body > span, .blog-card span, .featured-article span { display: block; margin-bottom: 12px; color: #896800; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-card h2, .project-card h3 { font-size: 2rem; }
.project-card p { color: var(--grey-600); }

.contact-band { background: var(--navy); color: rgba(255,255,255,.78); }
.contact-band h2 { color: var(--white); }
.contact-band .eyebrow { color: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.contact-direct { display: grid; gap: 10px; margin-top: 30px; }
.contact-direct a { color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; font-weight: 700; }
.enquiry-form { padding: 34px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid label > span, .form-grid legend { display: block; margin-bottom: 7px; color: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.form-grid input:not([type=checkbox]):not([type=radio]), .form-grid select, .form-grid textarea, .blog-tools input, .blog-tools select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.form-grid textarea { resize: vertical; }
.form-grid select option { color: var(--text); }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: rgba(255,255,255,.55); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid fieldset { margin: 0; padding: 12px 0; border: 0; }
.check-inline { display: inline-flex !important; align-items: center; gap: 8px; margin-right: 20px; }
.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { margin-top: 5px; }
.form-status { min-height: 24px; margin-top: 16px; color: var(--yellow); font-weight: 700; }
.field-error { border-color: #ff7b72 !important; box-shadow: 0 0 0 2px rgba(255,123,114,.2); }

.page-hero, .project-detail-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: end;
  color: var(--white);
  background: linear-gradient(90deg, rgba(8,15,27,.95), rgba(8,15,27,.55)), var(--page-image) center/cover no-repeat;
}
.page-hero::after, .project-detail-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32%; height: 8px; background: var(--yellow); }
.page-hero .container, .project-detail-hero .container { position: relative; z-index: 2; padding-block: 100px 76px; }
.page-hero h1, .project-detail-hero h1 { color: var(--white); }
.page-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.page-hero .eyebrow, .project-detail-hero .eyebrow { color: var(--yellow); }

.service-index { padding: 30px 0; background: var(--navy); }
.service-index nav { display: flex; flex-wrap: wrap; gap: 8px; }
.service-index a { padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.service-index a:hover { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.service-detail .content-panel > h3 { margin-top: 28px; font-size: 1.5rem; text-transform: uppercase; }
.tick-list { list-style: none; margin: 18px 0 28px; padding: 0; }
.tick-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--grey-200); color: var(--grey-600); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: #9a7200; font-weight: 900; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 30px; }
.info-grid div { padding: 18px; background: var(--off-white); border-left: 3px solid var(--yellow); }
.info-grid strong, .info-grid span { display: block; }
.info-grid strong { margin-bottom: 6px; color: var(--navy); font-size: .78rem; text-transform: uppercase; }
.info-grid span { color: var(--grey-600); font-size: .88rem; }
.cta-panel { padding: 56px 0; background: var(--navy); }
.cta-panel .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta-panel h2 { margin: 0; color: var(--white); font-size: clamp(2rem, 4vw, 3.7rem); }
.cta-panel .eyebrow { color: var(--yellow); }

.project-note { margin-bottom: 26px; padding: 18px 20px; border-left: 4px solid var(--yellow); background: #fff8d9; color: #665216; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-bar button { padding: 10px 14px; border: 1px solid var(--grey-200); color: var(--navy); background: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.filter-bar button:hover, .filter-bar button.is-active { border-color: var(--yellow); background: var(--yellow); }
.no-results { margin: 30px 0; padding: 30px; background: var(--off-white); text-align: center; }

.accordion details { border-top: 1px solid var(--grey-200); }
.accordion details:last-child { border-bottom: 1px solid var(--grey-200); }
.accordion summary { position: relative; padding: 24px 50px 24px 0; color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 5px; top: 18px; color: #917000; font-size: 2rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion details > div { padding: 0 0 24px; color: var(--grey-600); }
.credentials-band { background: var(--navy); }
.credentials-band .eyebrow { color: var(--yellow); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.credentials-grid div { min-height: 140px; padding: 26px; background: var(--navy); }
.credentials-grid span, .credentials-grid strong { display: block; }
.credentials-grid span { color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; }
.credentials-grid strong { margin-top: 8px; color: var(--white); font-size: 1.05rem; }

.blog-tools { display: grid; grid-template-columns: 1fr 320px; gap: 18px; margin-bottom: 34px; padding: 22px; background: var(--navy); }
.blog-tools label span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.featured-article { display: grid; grid-template-columns: 1.2fr .8fr; margin-bottom: 28px; border: 1px solid var(--grey-200); }
.featured-article img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.featured-article > div { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.featured-article h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.featured-article p { color: var(--grey-600); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { border: 1px solid var(--grey-200); background: var(--white); }
.blog-card img { width: 100%; height: 225px; object-fit: cover; }
.blog-card > div { padding: 25px; }
.blog-card h2 { font-size: 1.85rem; }
.blog-card p { color: var(--grey-600); }

.contact-page-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: start; }
.contact-card { padding: 38px; background: var(--navy); color: rgba(255,255,255,.7); }
.contact-card h2 { color: var(--white); }
.contact-card .eyebrow { color: var(--yellow); }
.contact-card address { display: grid; gap: 24px; margin-top: 28px; font-style: normal; }
.contact-card address > div { display: grid; grid-template-columns: 34px 1fr; gap: 15px; }
.contact-card address .icon { width: 28px; height: 28px; }
.contact-card address strong, .contact-card address a { display: block; }
.contact-card address strong { color: var(--white); font-size: .82rem; }
.contact-card address a:hover { color: var(--yellow); }
.licence-mini { display: grid; gap: 6px; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.licence-mini strong { color: var(--yellow); text-transform: uppercase; }
.enquiry-form-light { border: 1px solid var(--grey-200); background: var(--off-white); color: var(--text); }
.enquiry-form-light .form-grid input:not([type=checkbox]):not([type=radio]), .enquiry-form-light .form-grid select, .enquiry-form-light .form-grid textarea { border-color: var(--grey-200); color: var(--text); background: var(--white); }
.enquiry-form-light .form-grid input::placeholder, .enquiry-form-light .form-grid textarea::placeholder { color: #8c98a5; }
.enquiry-form-light .form-status { color: #7a5c00; }
.service-area { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; }
.map-placeholder { position: relative; min-height: 380px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--grey-200); color: var(--navy); background: linear-gradient(135deg, #e9eef3, #fff); font-family: "Barlow Condensed", sans-serif; font-size: 2.8rem; font-weight: 700; letter-spacing: .08em; }
.map-placeholder::before { content: ""; position: absolute; width: 210px; height: 290px; border: 8px solid rgba(49,95,133,.3); clip-path: polygon(38% 0, 74% 7%, 91% 25%, 100% 57%, 78% 100%, 34% 91%, 3% 64%, 0 32%); }
.map-placeholder span, .map-placeholder small { position: relative; z-index: 2; display: block; text-align: center; }
.map-placeholder small { font-family: Inter, sans-serif; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }

.legal-hero { padding: 100px 0 70px; color: var(--white); background: var(--navy); }
.legal-hero h1 { color: var(--white); }
.legal-hero .eyebrow { color: var(--yellow); }
.legal-hero p { max-width: 700px; color: rgba(255,255,255,.72); }
.prose { max-width: 850px; }
.prose h2 { margin-top: 38px; font-size: 2rem; }
.prose p { color: var(--grey-600); }
.prose a { color: #785b00; text-decoration: underline; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-grid > div { padding: 30px; border-top: 5px solid var(--yellow); background: var(--off-white); }
.sitemap-grid h2 { font-size: 2rem; }
.sitemap-grid a { display: block; padding: 8px 0; color: var(--grey-600); }
.sitemap-grid a:hover { color: #7e6000; }

.project-detail-hero { min-height: 650px; }
.back-link { display: inline-block; margin-bottom: 38px; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 35px; background: rgba(255,255,255,.18); }
.project-meta span { padding: 20px; background: rgba(16,26,43,.8); }
.project-meta strong { display: block; margin-bottom: 5px; color: var(--yellow); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.case-study-grid { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.case-main h2 { margin-top: 42px; font-size: 2.4rem; }
.case-main h2:first-child { margin-top: 0; }
.case-main p { color: var(--grey-600); font-size: 1.04rem; }
.case-aside { position: sticky; top: 110px; padding: 30px; border-top: 5px solid var(--yellow); background: var(--off-white); }
.case-aside h2 { font-size: 2rem; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-placeholder { min-height: 280px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed var(--grey-400); color: var(--grey-600); background: var(--white); font-weight: 700; text-align: center; }
.gallery-placeholder small { color: var(--grey-400); font-weight: 500; }
.related-projects a { display: block; padding: 18px 0; border-bottom: 1px solid var(--grey-200); color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.related-projects a:hover { color: #806100; padding-left: 10px; }

.site-footer { padding-top: 78px; color: rgba(255,255,255,.65); background: #0b1320; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .9fr 1fr; gap: 50px; }
.brand-footer { width: 260px; max-width: 100%; margin-bottom: 20px; }
.footer-brand p { max-width: 390px; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 1.5rem; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact address { font-style: normal; line-height: 1.6; }
.footer-contact strong { color: var(--white); }
.social-row { display: flex; gap: 8px; margin-top: 24px; }
.social-row a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: var(--white); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.licence-panel { margin-top: 55px; padding: 24px; border-left: 5px solid var(--yellow); color: rgba(255,255,255,.72); background: rgba(255,255,255,.05); font-size: .84rem; }
.licence-panel strong { color: var(--white); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 36px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { text-align: right; }
.footer-bottom nav { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  :root { --header-height: 76px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
  .nav-link { padding: 16px 24px; border-top: 1px solid var(--grey-100); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 14px 24px 22px; }
  .engineering-inner { grid-template-columns: 50px 1fr auto; }
  .engineering-inner .mini-mark:last-child { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid span:nth-child(3) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(2.9rem, 13vw, 4.8rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 3.7rem); }
  .hero { min-height: 760px; align-items: flex-start; }
  .hero-content { padding-top: 100px; padding-bottom: 180px; }
  .hero::after { left: auto; right: 10%; }
  .hero-badge { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .hero-badge span { border-top: 1px solid rgba(255,255,255,.12); }
  .engineering-inner { grid-template-columns: 48px 1fr; }
  .engineering-inner .btn { grid-column: 1 / -1; }
  .split-layout, .contact-grid, .contact-page-grid, .service-area, .featured-article, .case-study-grid { grid-template-columns: 1fr; }
  .split-layout.reverse .media-panel, .split-layout.reverse .content-panel { order: initial; }
  .media-panel, .media-panel img { min-height: 390px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .project-grid, .project-grid-wide, .blog-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .quality-section { background: var(--off-white); }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-tools { grid-template-columns: 1fr; }
  .featured-article img { min-height: 300px; }
  .featured-article > div { padding: 28px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .case-aside { position: static; }
  .project-gallery { grid-template-columns: 1fr; }
  .cta-panel .container { align-items: flex-start; flex-direction: column; }
  .footer-bottom { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom p:last-child { text-align: left; }
}

@media (max-width: 560px) {
  .brand { width: 220px; max-width: calc(100% - 64px); }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 80px; }
  .hero h1 { font-size: 3rem; }
  .button-row { display: grid; }
  .button-row .btn { width: 100%; }
  .service-grid, .form-grid, .info-grid, .credentials-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid span:nth-child(3) { border-right: 1px solid var(--grey-200); }
  .logo-grid span:nth-child(even) { border-right: 0; }
  .contact-card, .enquiry-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom nav { flex-direction: column; gap: 8px; }
  .page-hero { min-height: 430px; }
  .page-hero .container, .project-detail-hero .container { padding-block: 80px 56px; }
  .project-detail-hero { min-height: 640px; }
}
