:root {
  /* V3 palette sampled from the supplied Jessella Roofing logo. */
  --brand-navy: #0b4a70;
  --brand-blue: #467da5;
  --brand-cyan: #69cff2;
  --brand-white: #ffffff;
  --ink: #123247;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #edf3f6;
  --muted: #576d7a;
  --line: #d2dee4;
  --focus: #69cff2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: #fff;
  padding: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  height: 96px;
  padding: 0 clamp(24px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand {
  height: auto;
  display: inline-flex;
  align-items: center;
  width: 230px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand:hover { opacity: 0.88; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-nav > a:not(.button) {
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--brand-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 31px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.button-dark {
  background: var(--brand-navy);
  color: var(--brand-white);
}

.button-dark:hover {
  background: var(--brand-blue);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--brand-navy);
  margin: 6px;
}

.hero {
  height: min(690px, calc(100vh - 96px));
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img,
.hero-media video {
  object-fit: cover;
  object-position: 50% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(5 43 66 / 0.94) 0%,
    rgb(11 74 112 / 0.78) 38%,
    rgb(11 74 112 / 0.08) 72%
  );
}

.hero-content {
  position: relative;
  margin-left: clamp(30px, 8vw, 120px);
  max-width: 500px;
  color: var(--brand-white);
}

.hero-content .button-dark {
  background: var(--brand-blue);
}

.hero-content .button-dark:hover {
  background: var(--brand-cyan);
  color: var(--brand-navy);
}

.eyebrow {
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
}

.hero .eyebrow {
  display: none;
}

.hero h1 {
  font-size: clamp(54px, 5.3vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 0 0 25px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 390px;
  color: #e3eef3;
  font-size: 17px;
  margin: 0 0 38px;
}

.section {
  padding: 90px clamp(28px, 7.5vw, 120px);
}

.section-heading {
  text-align: center;
  margin-bottom: 62px;
}

.section-heading h2,
.projects h2,
.about h2,
.contact h2 {
  font-weight: 400;
  letter-spacing: -0.035em;
}

.section-heading h2 {
  font-size: 45px;
  margin: 7px;
}

.section-heading > span {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--brand-cyan);
  margin: 17px auto;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10vw;
  align-items: center;
  background: var(--surface-soft);
}

.about-mark {
  height: 320px;
  background: #dceaf1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(25px, 4vw, 55px);
}

.about-mark img {
  width: min(440px, 100%);
  height: auto;
  object-fit: contain;
}

.about-copy {
  max-width: 650px;
}

.about h2 {
  font-size: clamp(39px, 4vw, 57px);
  line-height: 1.1;
  margin: 10px 0 27px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.text-link,
.service > a,
.project-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 8px;
}

.text-link:hover,
.service > a:hover,
.project-link:hover {
  color: var(--brand-blue);
}

.text-link {
  display: inline-block;
  margin-top: 19px;
}

.text-link span,
.service > a span,
.project-link span {
  margin-left: 12px;
}

.services {
  background: var(--surface);
}

.service-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.service-heading > p:last-child {
  max-width: 660px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service {
  min-width: 0;
  padding: 46px clamp(30px, 4vw, 62px) 50px;
  border-left: 1px solid var(--line);
}

.service:first-child {
  border-left: 0;
}

.service-topline {
  min-height: 60px;
  margin-bottom: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
}

.service-topline > span {
  color: var(--brand-blue);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.service svg {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  color: var(--brand-blue);
}

.service h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.service > p {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.capability-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capability-list li {
  position: relative;
  padding: 11px 20px 11px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.capability-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brand-cyan);
}

.manufacturer-note {
  margin-top: 50px;
  padding: clamp(31px, 4vw, 50px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
  background: var(--surface-soft);
  border-left: 4px solid var(--brand-cyan);
}

.manufacturer-note h3 {
  max-width: 440px;
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.manufacturer-note > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.supporting-capabilities {
  margin-top: 36px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.supporting-capabilities > p {
  margin: 0;
}

.supporting-capabilities ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.supporting-capabilities li {
  min-width: 0;
  padding: 6px 17px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.section-dark {
  padding: 84px clamp(28px, 7.5vw, 120px) 94px;
  background: var(--brand-navy);
  color: var(--brand-white);
}

.section-dark .eyebrow,
.contact .eyebrow,
.site-footer .eyebrow {
  color: var(--brand-cyan);
}

.projects-intro {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1.25fr) auto;
  align-items: end;
  gap: clamp(30px, 5vw, 76px);
}

.projects h2 {
  margin: 3px 0 0;
  font-size: clamp(43px, 5vw, 65px);
  line-height: 1;
}

.projects-intro > p {
  max-width: 580px;
  margin: 0;
  color: #d7e5ec;
  font-size: 14px;
}

.button-outline {
  border-color: var(--brand-cyan);
  color: var(--brand-white);
  white-space: nowrap;
}

.button-outline:hover {
  background: var(--brand-cyan);
  color: var(--brand-navy);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.projects-v4 .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.projects-v4 .project-card-feature { grid-column: span 2; }
.partner-marquee { margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: 2rem; overflow: hidden; }
.marquee-group + .marquee-group { margin-top: 1.75rem; }
.marquee-track { display: flex; width: max-content; animation: partner-scroll 34s linear infinite; }
.marquee-sequence { --marquee-gap: clamp(2.75rem, 5vw, 5rem); display: flex; align-items: center; gap: var(--marquee-gap); padding-right: var(--marquee-gap); flex: 0 0 auto; }
.marquee-track-reverse { animation-direction: reverse; animation-duration: 40s; }
.marquee-item { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 12px; color: #fff; font-size: clamp(1.05rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.marquee-item.logo-tile { min-width: 150px; border-radius: 5px; background: #fff; }
.marquee-item.sig-roofing-tile { background: var(--brand-navy); }
.marquee-item.text-tile { color: var(--brand-navy); font-size: clamp(.95rem, 1.7vw, 1.25rem); }
a.marquee-item.text-tile[href="https://axter.co.uk/"] { background: #fff url("assets/images/partners/axter.png") center / 136px auto no-repeat; font-size: 0; }
.marquee-link { text-decoration: none; cursor: pointer; }
.marquee-link:hover { transform: translateY(-2px); }
.marquee-link:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 4px; }
.marquee-item img { display: block; width: auto; max-width: 170px; height: 42px; object-fit: contain; }
.marquee-item.logo-tile img { max-width: 180px; }
.marquee-group-clients .marquee-item.logo-tile img { max-width: 150px; height: 42px; }
.marquee-group-clients .marquee-sequence { --marquee-gap: clamp(3.5rem, 6vw, 5rem); }
.marquee-group-clients .marquee-item { min-width: 170px; min-height: 64px; padding: 10px 16px; }
.marquee-group-clients .marquee-item img { max-width: 138px; height: 38px; }
@media (max-width: 700px) { .marquee-sequence { --marquee-gap: 2rem; } .marquee-item.logo-tile { min-width: 122px; } .marquee-item img { max-width: 136px; height: 34px; } }
@media (max-width: 700px) { a.marquee-item.text-tile[href="https://axter.co.uk/"] { background-size: 110px auto; } }
@media (max-width: 700px) { .marquee-group-clients .marquee-sequence { --marquee-gap: 2.25rem; } .marquee-group-clients .marquee-item { min-width: 132px; min-height: 56px; padding: 8px 12px; font-size: 1rem; } .marquee-group-clients .marquee-item img { max-width: 112px; height: 32px; } .marquee-item.text-tile { font-size: .9rem; } }
@media (max-width: 700px) { .marquee-group-clients .marquee-item.logo-tile img { max-width: 118px; height: 34px; } }

.page-hero { padding: clamp(8rem, 16vw, 13rem) clamp(24px, 6vw, 84px) clamp(4rem, 8vw, 7rem); }
.page-hero > div { max-width: 760px; }
.page-hero h1 { margin: .5rem 0 1rem; font-size: clamp(3.25rem, 8vw, 7rem); line-height: .95; letter-spacing: -.055em; }
.page-hero p:last-child { max-width: 620px; color: rgba(255,255,255,.78); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; }
.project-archive { padding-top: clamp(4rem, 8vw, 8rem); }
.project-archive .project-grid { max-width: 1400px; margin-inline: auto; }
.projects-teaser .partner-marquee { margin-top: 0; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }
.linkedin-link { display: inline-flex; align-items: center; margin-top: 1.25rem; color: inherit; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee-sequence { flex-wrap: wrap; } .marquee-sequence + .marquee-sequence { display: none; } }

.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--brand-white);
  color: var(--ink);
}

.project-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-navy);
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.025);
}

.project-card-content {
  min-width: 0;
  padding: 27px clamp(21px, 2vw, 30px) 30px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-card-content header {
  min-height: 87px;
}

.project-location {
  margin: 0 0 5px;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.project-card h2 {
  margin: 0;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.project-meta {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-meta > div {
  min-width: 0;
  padding: 12px 0 13px;
  border-top: 1px solid var(--line);
}

.project-meta > div:nth-child(-n + 2) {
  border-top: 0;
}

.project-meta > div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.project-meta > div:nth-child(odd) {
  padding-right: 12px;
}

.project-meta dt {
  margin-bottom: 3px;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-meta dt {
  margin-bottom: 3px;
  color: var(--brand-blue);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-detail-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-summary {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 13px;
}

.project-link {
  align-self: flex-start;
  margin-top: auto;
}

.accreditations {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: 76px;
  padding-bottom: 80px;
}

.accreditations .section-heading {
  margin-bottom: 46px;
}

.accreditations .section-heading h2 {
  font-size: clamp(32px, 3.5vw, 45px);
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.accreditation {
  min-width: 0;
  padding: 30px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  border-left: 1px solid var(--line);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.accreditation:first-child {
  border-left: 0;
}

.accreditation:hover {
  background: var(--surface-soft);
  transform: translateY(-3px);
}

.accreditation:focus-visible {
  position: relative;
  z-index: 1;
}

.accreditation-logo {
  height: 88px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accreditation-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.accreditation:nth-child(3) .accreditation-logo img {
  max-height: 88px;
}

.accreditation-name {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recruitment {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-soft);
}

.recruitment-image {
  min-height: 480px;
}

.recruitment-image img,
.work-hero-image img {
  height: 100%;
  object-fit: cover;
}

.recruitment-copy {
  padding: clamp(65px, 8vw, 120px);
  align-self: center;
}

.recruitment-copy .eyebrow {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.recruitment-copy h2 {
  max-width: 600px;
  margin: 9px 0 25px;
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.recruitment-copy > p:not(.eyebrow):not(.recruitment-note) {
  max-width: 570px;
  color: var(--muted);
}

.recruitment-copy .button {
  margin-top: 25px;
}

.recruitment-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-link {
  display: inline-block;
  margin-top: 9px;
  color: var(--brand-white);
}

.work-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface-soft);
}

.work-hero-copy {
  padding: clamp(65px, 8vw, 125px);
  align-self: center;
}

.work-hero h1 {
  max-width: 690px;
  margin: 10px 0 25px;
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.work-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 16px;
}

.expectation-note {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
}

.application-section {
  padding: 90px clamp(24px, 8vw, 130px) 110px;
  background: var(--surface);
}

.application-intro {
  max-width: 720px;
  margin-bottom: 55px;
}

.application-intro h2 {
  margin: 7px 0 12px;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.application-intro > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.application-form {
  max-width: 980px;
}

.contact-page {
  padding: 90px clamp(24px, 8vw, 130px) 110px;
  background: var(--surface);
}

.contact-page-intro {
  max-width: 790px;
  margin-bottom: 60px;
}

.contact-page-intro h1 {
  margin: 9px 0 25px;
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.contact-page-intro > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.contact-form {
  max-width: 850px;
}

.office-location {
  max-width: 1180px;
  margin: 0 0 75px;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  background: var(--brand-white);
  border: 1px solid var(--line);
}

.office-details {
  padding: clamp(32px, 5vw, 60px);
}

.office-details h2 {
  margin: 9px 0 28px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.office-details address {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
}

.office-contact-links {
  margin: 25px 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.office-map {
  min-height: 420px;
  background: #dce8ed;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.application-form fieldset {
  margin: 0;
  padding: 45px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.application-form legend {
  width: 100%;
  margin-bottom: 32px;
  padding: 0;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.application-form legend span {
  display: inline-block;
  width: 48px;
  color: var(--brand-blue);
  font-size: 11px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 30px;
}

.field {
  margin: 0 0 27px;
}

.field label:not(.choice-row label),
.field-label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  min-height: 52px;
  padding: 0 15px;
}

.field textarea {
  padding: 14px 15px;
  resize: vertical;
}

.field input[type="file"] {
  padding: 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--brand-blue);
}

.field [aria-invalid="true"] {
  border-color: #9b3029;
}

.field-help,
.character-count,
.field-error {
  display: block;
  margin-top: 7px;
  font-size: 11px;
}

.field-help,
.character-count {
  color: var(--muted);
}

.character-count {
  text-align: right;
}

.field-error {
  min-height: 1em;
  color: #8b251f;
  font-weight: 600;
}

.choice-row,
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-row label,
.check-grid label,
.consent label {
  min-height: 48px;
  padding: 12px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.choice-row input,
.check-grid input,
.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand-blue);
  flex: 0 0 auto;
}

.conditional[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.privacy-note {
  max-width: 780px;
  color: var(--muted);
  font-size: 12px;
}

.form-actions {
  padding-top: 15px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  max-width: 760px;
  margin-top: 22px;
  padding: 0;
}

.form-status.success,
.form-status.error {
  padding: 18px 20px;
  border-left: 3px solid #356845;
  background: #edf3ee;
}

.form-status.error {
  border-color: #9b3029;
  background: #f7eceb;
}

.project-detail-hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--surface-soft);
}

.project-detail-copy {
  padding: clamp(65px, 8vw, 125px);
  align-self: center;
}

.project-detail-copy h1 {
  max-width: 680px;
  margin: 9px 0 12px;
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.project-detail-location {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-detail-status {
  display: inline-block;
  margin-top: 32px;
  padding: 9px 12px;
  border: 1px solid var(--brand-blue);
  color: var(--brand-navy);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-image {
  min-height: 430px;
}

.project-detail-image img {
  height: 100%;
  object-fit: cover;
}

.project-detail-body {
  padding: 90px clamp(28px, 8vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: start;
  gap: clamp(55px, 9vw, 140px);
  background: var(--surface);
}

.project-detail-overview h2 {
  max-width: 600px;
  margin: 8px 0 23px;
  font-size: clamp(37px, 4vw, 55px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.project-detail-overview > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.project-detail-meta {
  margin: 0;
  padding: 8px clamp(24px, 3vw, 42px);
  background: var(--surface-soft);
  border-top: 4px solid var(--brand-cyan);
}

.project-detail-meta > div {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.project-detail-meta > div:first-child {
  border-top: 0;
}

.project-detail-meta dd {
  font-size: 14px;
}

.contact {
  padding: 85px clamp(28px, 8vw, 130px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  background: var(--brand-navy);
  color: var(--brand-white);
}

.contact h2 {
  margin: 9px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
}

.contact-action {
  max-width: 420px;
}

.contact-action p {
  color: #d7e5ec;
}

.contact-email {
  display: block;
  margin-top: 18px;
  color: var(--brand-white);
  font-size: 14px;
}

.button-light {
  margin-top: 12px;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  text-transform: none;
  font-size: 14px;
}

.site-footer {
  padding: 52px clamp(28px, 7.5vw, 120px) 25px;
  background: #063753;
  color: var(--brand-white);
  border-top: 1px solid rgb(105 207 242 / 0.35);
}

.footer-main {
  padding-bottom: 43px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr 0.95fr;
  align-items: center;
  gap: 32px;
}

.footer-main .brand {
  width: min(260px, 100%);
  padding: 8px;
  background: var(--brand-white);
}

.footer-intro {
  color: #c7dbe5;
  font-size: 13px;
}

.footer-address {
  color: #c7dbe5;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.footer-address strong {
  color: var(--brand-white);
  font-size: 13px;
}

.footer-address a {
  color: inherit;
}

.footer-contact {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.footer-contact a {
  width: fit-content;
}

.footer-base {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgb(105 207 242 / 0.25);
  color: #a9c5d3;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .projects-intro {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .projects-intro .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-v4 .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-v4 .project-card-feature { grid-column: span 1; }

  .supporting-capabilities ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supporting-capabilities li:nth-child(3) {
    margin-top: 9px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 78px;
  }

  .site-header .brand {
    width: 190px;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    padding: 25px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    background: var(--brand-white);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a {
    padding: 14px;
  }

  .hero {
    height: 650px;
  }

  .hero-media img,
  .hero-media video {
    object-position: 30% center;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-mark {
    height: 300px;
  }

  .service {
    padding-right: 30px;
    padding-left: 30px;
  }

  .manufacturer-note {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .projects-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 23px;
  }

  .projects-intro .button {
    grid-column: auto;
  }

  .accreditation-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .accreditation:nth-child(4) {
    border-left: 0;
  }

  .accreditation:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-contact {
    grid-column: 2;
  }

  .contact {
    align-items: start;
    flex-direction: column;
  }

  .recruitment,
  .work-hero,
  .project-detail-hero,
  .project-detail-body {
    grid-template-columns: 1fr;
  }

  .recruitment-image,
  .work-hero-image {
    min-height: 380px;
  }

  .work-hero-image {
    order: -1;
  }

  .project-detail-image {
    min-height: 420px;
    order: -1;
  }
}

@media (max-width: 680px) {
  .brand {
    width: 185px;
  }

  .hero {
    height: 620px;
    min-height: 0;
    align-items: end;
  }

  .hero-media img,
  .hero-media video {
    object-position: 20% center;
  }

  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgb(5 43 66 / 0.98) 0%,
      rgb(11 74 112 / 0.86) 42%,
      rgb(11 74 112 / 0.08) 78%
    );
  }

  .hero-content {
    margin: 0;
    padding: 0 25px 55px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 15px;
  }

  .section {
    padding: 68px 24px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .about-mark {
    height: 230px;
    padding: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service,
  .service:first-child {
    padding: 36px 4px 41px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .service:first-child {
    border-top: 0;
  }

  .manufacturer-note {
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .supporting-capabilities {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .supporting-capabilities ul {
    grid-template-columns: 1fr;
  }

  .supporting-capabilities li {
    padding: 9px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .supporting-capabilities li:nth-child(3) {
    margin-top: 0;
  }

  .section-dark {
    padding: 68px 24px 74px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-content header {
    min-height: auto;
    margin-bottom: 25px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-meta > div,
  .project-meta > div:nth-child(even),
  .project-meta > div:nth-child(odd) {
    padding: 12px 0 13px;
    border-left: 0;
  }

  .project-meta > div:first-child {
    border-top: 0;
  }

  .accreditations {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accreditation:nth-child(odd) {
    border-left: 0;
  }

  .accreditation:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .accreditation:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .accreditation {
    padding: 25px 15px 20px;
  }

  .accreditation-logo {
    height: 78px;
  }

  .accreditation-logo img {
    max-height: 68px;
  }

  .contact {
    padding: 65px 24px;
  }

  .button-light {
    width: 100%;
    padding: 0 13px;
    font-size: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-base {
    gap: 15px;
    flex-direction: column;
  }

  .recruitment-image,
  .work-hero-image,
  .project-detail-image {
    min-height: 270px;
  }

  .recruitment-copy,
  .work-hero-copy,
  .project-detail-copy {
    padding: 60px 24px;
  }

  .recruitment-copy h2 {
    font-size: 43px;
  }

  .work-hero h1,
  .project-detail-copy h1 {
    font-size: 48px;
  }

  .application-section,
  .contact-page,
  .project-detail-body {
    padding: 65px 24px 85px;
  }

  .office-location {
    margin-bottom: 55px;
    grid-template-columns: 1fr;
  }

  .office-map,
  .office-map iframe {
    min-height: 330px;
  }

  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .application-form fieldset {
    padding: 37px 0;
  }

  .application-form legend {
    font-size: 22px;
  }

  .choice-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .project-image img {
    transition: none;
  }
}
