@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --background: #fbfaf7;
  --foreground: #17202e;
  --primary: #0f2a4a;
  --accent: #0a54a4;
  --ember: #e85d2b;
  --surface: #f2efea;
  --surface-2: #e4e0d8;
  --muted: #596474;
  --border: rgba(23, 32, 46, 0.12);
  --border-strong: rgba(23, 32, 46, 0.25);
  --shadow: 0 18px 55px rgba(15, 42, 74, 0.1);
  --shell: 1440px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  margin: 0;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.screen-reader-text {
  position: absolute;
  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: 0;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--ember {
  color: var(--ember);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ember);
  color: #fff;
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 0.7rem 1.15rem;
}

.button--ember {
  background: var(--ember);
}

.button--ember:hover,
.button--ember:focus-visible {
  background: #fff;
  color: var(--primary);
}

.button__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

.text-link {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.86);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  color: var(--primary);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.is-front-page .site-header:not(.is-scrolled) {
  color: #fff;
}

.site-header.is-scrolled,
body:not(.is-front-page) .site-header {
  border-color: var(--border);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 1px 0 rgba(15, 42, 74, 0.02);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
}

.brand__logo {
  width: auto;
  height: 36px;
}

.brand__logo--white {
  display: none;
}

.is-front-page .site-header:not(.is-scrolled) .brand__logo--color {
  display: none;
}

.is-front-page .site-header:not(.is-scrolled) .brand__logo--white {
  display: block;
}

.brand__divider {
  width: 1px;
  height: 18px;
  background: var(--border-strong);
}

.is-front-page .site-header:not(.is-scrolled) .brand__divider {
  background: rgba(255, 255, 255, 0.35);
}

.brand__group {
  width: auto;
  height: 22px;
}

.brand__group--white {
  display: none;
}

.is-front-page .site-header:not(.is-scrolled) .brand__group--color {
  display: none;
}

.is-front-page .site-header:not(.is-scrolled) .brand__group--white {
  display: block;
}

.primary-nav {
  margin-left: auto;
}

.site-menu,
.footer-menu,
.mobile-menu__links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-menu a {
  position: relative;
  display: block;
  padding-block: 1rem;
  color: currentColor;
  font-size: 0.84rem;
}

.site-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.65rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-menu a:hover::after,
.site-menu .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__cta {
  border-radius: 999px;
}

.is-front-page .site-header:not(.is-scrolled) .site-header__cta {
  background: var(--ember);
}

.is-front-page .site-header:not(.is-scrolled) .site-header__cta .button__dot {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  overflow-y: auto;
  padding-block: 2rem;
  background: var(--background);
  color: var(--foreground);
}

.mobile-menu__links a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 700;
}

.mobile-menu__cta {
  width: 100%;
  margin-top: 2rem;
}

.home-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}

.home-hero__media-wrap,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
  opacity: 0;
  animation: home-hero-fade 20s infinite;
}

.home-hero__media:nth-child(1) { animation-delay: 0s; }
.home-hero__media:nth-child(2) { animation-delay: 5s; }
.home-hero__media:nth-child(3) { animation-delay: 10s; }
.home-hero__media:nth-child(4) { animation-delay: 15s; }

@keyframes home-hero-fade {
  0%, 100% { opacity: 0; }
  3% { opacity: 1; }
  22% { opacity: 1; }
  25% { opacity: 0; }
}

.home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(10, 31, 57, 0.98) 0%, rgba(15, 42, 74, 0.87) 52%, rgba(15, 42, 74, 0.5) 100%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 8rem);
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.home-hero__eyebrow span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ember);
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-hero h1 em {
  color: var(--ember);
  font-family: inherit;
  font-weight: 700;
}

.home-hero__lead {
  max-width: 690px;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.8rem;
}

.home-hero__panel {
  border-left: 2px solid var(--ember);
  background: rgba(12, 32, 58, 0.82);
  backdrop-filter: blur(12px);
}

.home-hero__panel > p {
  padding: 1.4rem 1.5rem 0;
}

.home-hero__panel > p:nth-child(2) {
  padding-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-hero__mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__mini-stats div {
  padding: 1.25rem 1.4rem;
}

.home-hero__mini-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__mini-stats strong,
.home-hero__mini-stats span {
  display: block;
}

.home-hero__mini-stats strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.home-hero__mini-stats span {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero__status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 42, 74, 0.68);
  backdrop-filter: blur(10px);
}

.home-hero__status .shell {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero__status span:first-child {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.home-hero__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(232, 93, 43, 0.12);
}

.stats {
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  display: block;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem);
  color: inherit;
  text-decoration: none;
}

a.stat:hover strong {
  color: var(--accent);
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat strong,
.stat > span {
  display: block;
}

.stat strong {
  margin: 1rem 0 0.65rem;
  color: var(--primary);
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.stat > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section--bordered {
  border-bottom: 1px solid var(--border);
}

.intro-section {
  border-bottom: 1px solid var(--border);
}

.intro-section__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.intro-section h2 {
  max-width: 960px;
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.2;
}

.intro-section__grid > div > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-section__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.intro-section__media img {
  display: block;
  width: 100%;
  height: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 900px;
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.card-grid {
  display: grid;
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-strong);
  background: var(--border-strong);
  gap: 1px;
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.content-card {
  min-width: 0;
  background: var(--background);
}

.taxonomy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  background: var(--border-strong);
  gap: 1px;
}

.taxonomy-grid__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--background);
  color: inherit;
  text-decoration: none;
  transition: background 250ms ease;
}

.taxonomy-grid__item:hover {
  background: var(--surface);
}

.taxonomy-grid__item h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.05rem;
}

.taxonomy-grid__item p {
  color: var(--muted);
  font-size: 0.82rem;
}

.taxonomy-grid__item > span[aria-hidden] {
  flex-shrink: 0;
  color: var(--muted);
}

.content-card__link {
  display: block;
  height: 100%;
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.content-card__link:hover {
  background: var(--surface);
}

.card-grid--three .content-card__link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.content-card__link:hover .card-media img,
.project-card a:hover .card-media img {
  transform: scale(1.045);
}

.card-media--portrait {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.25rem;
}

.card-media__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(15, 42, 74, 0.08), rgba(10, 84, 164, 0.16)),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(15, 42, 74, 0.06) 40px);
}

.content-card__body {
  padding: clamp(1.5rem, 2.8vw, 2.4rem);
}

.content-card__body h2,
.content-card__body h3 {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
}

.content-card__body p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.content-card__action {
  display: inline-block;
  margin-top: 2rem;
  color: var(--ember);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 0.65rem;
  /* The home-page card has no __body wrapper, so the heading needs its own inset. */
  padding: 0 clamp(1.1rem, 2vw, 1.6rem) clamp(1.3rem, 2.2vw, 1.8rem);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.brand-strip {
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.brand-strip__heading {
  margin-bottom: 1.5rem;
}

.brand-strip__marquee {
  display: flex;
  overflow: hidden;
}

.brand-strip__track {
  display: flex;
  flex: none;
  min-width: max-content;
  align-items: center;
  animation: hatcon-marquee 42s linear infinite;
}

.brand-strip__track a {
  display: flex;
  align-items: center;
  color: rgba(89, 100, 116, 0.75);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 300ms ease;
}

.brand-strip__track a:hover {
  color: var(--primary);
}

.brand-strip__logo {
  height: clamp(28px, 4vw, 44px);
  width: auto;
  max-width: clamp(90px, 10vw, 160px);
  object-fit: contain;
}

.brand-strip__track span {
  margin-inline: 2rem;
  color: var(--accent);
}

.brand-strip__marquee:hover .brand-strip__track {
  animation-play-state: paused;
}

@keyframes hatcon-marquee {
  to {
    transform: translateX(-100%);
  }
}

.home-split-line {
  display: block;
}

.home-split-line > span {
  display: inline-block;
  transform: translateY(115%);
}

.home-split-title.is-visible .home-split-line > span {
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--word-index) * 40ms);
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.closing-cta,
.footer-cta {
  background: var(--surface);
}

.closing-cta__inner,
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.closing-cta h2,
.footer-cta h2 {
  max-width: 850px;
  margin-top: 0.85rem;
}

.page-hero {
  padding-top: calc(var(--header-height) + clamp(5rem, 10vw, 9rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(15, 42, 74, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 74, 0.05) 1px, transparent 1px),
    var(--surface);
  background-size: 80px 80px;
}

.page-hero h1 {
  max-width: 1050px;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
}

.page-hero__lead {
  max-width: 760px;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-hero--project {
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 46vw, 560px);
  background-position: center;
  background-size: cover;
}

.page-hero--project h1,
.page-hero--project .page-hero__lead {
  color: #fff;
}

.archive-hero--image {
  background-position: center;
  background-size: cover;
}

.archive-hero--image h1,
.archive-hero--image .page-hero__lead {
  color: #fff;
}

.page-hero--single h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.single-entry__featured {
  margin-top: clamp(2rem, 5vw, 5rem);
}

.single-entry__featured img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.single-entry__layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.entry-content {
  max-width: 780px;
  font-size: 1.04rem;
}

.entry-content--page {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.8rem;
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
}

.single-entry__aside {
  align-self: start;
  padding: 2rem;
  border-top: 2px solid var(--ember);
  background: var(--surface);
}

.single-entry__aside h2 {
  margin: 0.8rem 0 1.7rem;
  font-size: 1.7rem;
}

.empty-state {
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 1rem;
}

.navigation.pagination {
  margin-top: 3rem;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--border);
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.search-results article {
  padding-block: 2rem;
  border-bottom: 1px solid var(--border);
}

.search-results h2 {
  margin: 0.6rem 0;
  font-size: 1.8rem;
}

.search-form {
  display: flex;
  max-width: 680px;
  margin-top: 2rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 52px;
  padding-inline: 1rem;
  border: 1px solid var(--border-strong);
  background: #fff;
}

.search-submit {
  padding-inline: 1.4rem;
  border: 0;
  background: var(--primary);
  color: #fff;
}

.error-page {
  display: grid;
  min-height: 75vh;
  align-items: center;
  padding-top: var(--header-height);
}

.error-page .shell {
  max-width: 900px;
  padding-block: 6rem;
  text-align: center;
}

.error-page h1 {
  margin-top: 1rem;
}

.error-page p:not(.eyebrow) {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.site-footer__brand img {
  width: auto;
  height: 42px;
  margin-bottom: 1.5rem;
}

.site-footer__brand p,
.site-footer__office p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-menu {
  margin-top: 1.2rem;
  columns: 2;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a,
.site-footer__office a {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-menu a:hover,
.site-footer__office a:hover {
  color: var(--accent);
}

.site-footer__office p:not(.eyebrow) {
  margin: 1.2rem 0;
}

.site-footer__office a {
  display: block;
  color: var(--primary);
}

.site-footer__address {
  max-width: 420px;
  margin: 1.2rem 0;
  font-size: 0.86rem;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.73rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__social a {
  display: inline-flex;
}

.site-footer__social svg {
  width: 24px;
  height: 24px;
}

.site-footer__social a:hover {
  color: var(--accent);
}

.product-filters {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(16px);
}

.product-filters__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1rem;
}

.product-search {
  display: flex;
  min-width: 260px;
  flex: 1;
  align-items: center;
  gap: 0.65rem;
  height: 44px;
  padding-inline: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
}

.product-search > span[aria-hidden] {
  color: var(--muted);
  font-size: 1.2rem;
}

.product-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 0.84rem;
}

.filter-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  padding-inline: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
}

.filter-select > span {
  color: var(--muted);
  font-size: 0.68rem;
}

.filter-select select {
  max-width: 150px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.75rem;
}

.product-filters__reset {
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-results {
  padding-top: 3rem;
}

.product-results__summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.product-card {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--background);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card > a {
  display: block;
  height: 100%;
}

.product-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__body {
  position: relative;
  min-height: 220px;
  padding: 1.5rem 3.2rem 1.5rem 1.5rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
}

.product-card__meta span + span {
  color: var(--muted);
}

.product-card h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.product-card p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.product-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.product-card:hover .product-card__arrow {
  color: var(--ember);
  transform: rotate(45deg);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: calc(var(--header-height) + 2.2rem);
  padding-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--foreground);
}

.product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.product-gallery__main {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 520px;
  place-items: center;
  border: 1px solid var(--border);
  background: #fff;
}

.product-gallery__backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(1.1) brightness(0.92);
  transform: scale(1.15);
}

.product-gallery__main img {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.product-gallery__arrow:hover {
  background: var(--primary);
  color: #fff;
}

.product-gallery__arrow--prev {
  left: 1rem;
}

.product-gallery__arrow--next {
  right: 1rem;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-gallery__thumbs button {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  opacity: 0.68;
}

.product-gallery__thumbs button:hover,
.product-gallery__thumbs button.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__summary {
  align-self: start;
  padding-top: 0.5rem;
}

.product-detail__brand {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-detail__brand:hover {
  color: var(--ember);
}

.product-detail h1 {
  margin-top: 0.65rem;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.product-detail__lead,
.product-detail__description {
  margin-top: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.product-detail__lead {
  color: var(--foreground);
  font-size: 1.08rem;
}

.product-detail__description p + p {
  margin-top: 1rem;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button--outline {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--primary);
}

.button--outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.product-facts {
  margin-top: 2.8rem;
}

.product-facts ol {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.product-facts li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.product-facts li span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
}

.product-detail__data {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.product-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 8rem);
}

.product-data-grid h2,
.product-detail__documents h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.product-data-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-data-grid li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.35rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.product-data-grid li::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--ember);
}

.product-detail__categories,
.product-detail__documents {
  padding-block: 3rem;
  border-bottom: 1px solid var(--border);
}

.product-detail__review {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: #f4f1ec;
  color: var(--primary);
}

.product-detail__review p {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.product-detail__review p span {
  color: var(--muted);
  font-weight: 400;
}

.product-detail__review div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.product-detail__review a {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-detail__categories > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.product-detail__categories a,
.product-detail__documents a {
  display: inline-flex;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.75rem;
}

.product-detail__categories a:hover,
.product-detail__documents a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-detail__documents a + a {
  margin-left: 0.5rem;
}

.product-detail__footer-nav {
  display: flex;
  justify-content: space-between;
  padding-block: 2.5rem;
  font-size: 0.8rem;
}

.product-detail__footer-nav a:hover {
  color: var(--accent);
}

.division-highlights {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.division-highlights li {
  position: relative;
  padding-left: 1.35rem;
}

.division-highlights li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "—";
}

.section--tinted {
  background: var(--surface);
}

.division-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.division-card,
.project-card,
.brand-card {
  border: 1px solid var(--border);
  background: #fff;
}

.division-card a,
.project-card a,
.brand-card a {
  display: block;
  height: 100%;
  color: inherit;
}

.division-card__media,
.project-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--primary);
}

.division-card__media img,
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.division-card:hover img,
.project-card:hover img {
  transform: scale(1.025);
}

.division-card__body,
.project-card__body {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.division-card h2,
.project-card h2,
.brand-card h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.08;
}

.division-card p:not(.eyebrow),
.project-card p:not(.eyebrow) {
  color: var(--muted);
}

.entity-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  padding-block: calc(var(--header-height) + 7rem) 6rem;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}

.entity-hero--image {
  background-image: linear-gradient(90deg, rgba(5, 30, 55, 0.95) 0%, rgba(5, 30, 55, 0.78) 52%, rgba(5, 30, 55, 0.3) 100%), var(--entity-image);
  background-position: center;
  background-size: cover;
}

.entity-hero h1 {
  max-width: 850px;
  margin-block: 0.7rem 1rem;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.95;
  color: #fff;
}

.entity-hero .page-hero__lead {
  color: rgba(255, 255, 255, 0.78);
}

.entity-intro__grid,
.project-story__grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.project-story__grid {
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.prose {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.tag-list a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.75rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* Outer box lives on the container so it always closes, even when the last
     row is partial. Cells then draw only the internal lines (top/left). */
  border: 1px solid var(--border);
}

.partner-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 3 / 2;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: #fff;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

/* Suppress the internal lines that would land on the container's own border. */
.partner-grid a:nth-child(-n + 4) {
  border-top: 0;
}

.partner-grid a:nth-child(4n + 1) {
  border-left: 0;
}

.partner-grid a:hover {
  background: var(--surface);
}

.partner-grid img {
  max-width: 70%;
  max-height: 56px;
  object-fit: contain;
}

.partner-grid__index {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  color: var(--muted);
}

.partner-grid__name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.partner-grid__arrow {
  position: absolute;
  top: 0.9rem;
  inset-inline-end: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-grid a:hover .partner-grid__arrow {
  opacity: 1;
  transform: rotate(0deg);
}

.brand-hero .button {
  margin-top: 2rem;
}

.button--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.project-detail {
  padding-top: var(--header-height);
}

.project-detail__header {
  max-width: 1080px;
  padding-block: 5rem 3.5rem;
}

.project-detail__header h1 {
  margin-block: 0.8rem 1.5rem;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.15;
}

.project-detail__header .button {
  margin-top: 1.2rem;
}

.project-brief {
  margin-bottom: 3rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.project-brief__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
}

.project-brief__meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-brief__meta dd {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.project-brief__problem {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.project-brief__problem p:not(.eyebrow) {
  margin: 0.6rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--foreground);
}

.project-brief__problem p:not(.eyebrow):first-of-type {
  margin-top: 0.4rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.project-gallery__zoom img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.project-gallery__zoom:hover img {
  opacity: 0.85;
}

.project-gallery figcaption {
  padding-top: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.lightbox {
  position: relative;
  width: max-content;
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(5, 30, 55, 0.88);
}

.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 30, 55, 0.3);
}

.lightbox__close {
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  font-size: 1.3rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  padding-bottom: 0.2rem;
}

.lightbox__nav--prev {
  inset-inline-start: 0.75rem;
}

.lightbox__nav--next {
  inset-inline-end: 0.75rem;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: var(--accent);
  color: #fff;
}

.lightbox__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(5, 30, 55, 0.85));
  color: #fff;
  font-size: 0.8rem;
}

.lightbox__counter {
  flex-shrink: 0;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

.project-story__grid .prose {
  max-width: none;
}

.project-story__field {
  margin-top: 2.75rem;
}

.project-story .prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
}

.project-story .prose h2:first-child {
  margin-top: 0;
}

.project-story h2 {
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
}

.project-story .prose p {
  margin-bottom: 1.1rem;
  color: var(--foreground);
  font-size: 1.02rem;
  line-height: 1.8;
}

.project-story .prose ol,
.project-story .prose ul {
  margin: 0 0 1.1rem;
  padding-inline-start: 1.4rem;
  color: var(--foreground);
  font-size: 1.02rem;
  line-height: 1.8;
}

.project-story .prose li {
  margin-bottom: 0.65rem;
  padding-inline-start: 0.3rem;
}

.project-story .prose li::marker {
  color: var(--accent);
  font-weight: 700;
}

.project-story p {
  color: var(--muted);
}

.solution-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--border);
}

.solution-map-card {
  background: #fff;
}

.solution-map-card a {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: inherit;
}

.solution-map-card__number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.solution-map-card h2 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.solution-map-card p:not(.eyebrow) {
  color: var(--muted);
}

.solution-detail .entity-hero .button {
  margin-top: 2rem;
}

.solution-explorer {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.solution-explorer__list {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.solution-explorer__list ul {
  border-top: 1px solid var(--border);
}

.solution-explorer__list li {
  border-bottom: 1px solid var(--border);
}

.solution-explorer__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1rem;
  text-align: start;
  cursor: pointer;
}

.solution-explorer__index {
  display: inline-block;
  min-width: 2rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: var(--muted);
}

.solution-explorer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.solution-explorer__list button.is-active {
  color: var(--primary);
  font-weight: 600;
}

.solution-explorer__list button.is-active .solution-explorer__dot {
  background: var(--accent);
  transform: scale(1.25);
}

.solution-explorer__frame-wrap {
  /* Belzona's map page carries the browser-default 8px body margin. */
  --map-gutter: 8px;
  padding: var(--map-gutter);
  border: 1px solid var(--border);
  background: var(--surface, #f5f5f5);
}

.solution-explorer__frame {
  position: relative;
  /* Measured: the map canvas fits the width and renders exactly 2:1.
     A per-map aspect_ratio meta can override this. */
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.solution-explorer__frame iframe {
  position: absolute;
  /* Pull the frame by the remote body margin so the map sits flush inside our
     padding, instead of being inset at top/left only and clipped at the bottom. */
  top: calc(var(--map-gutter) * -1);
  left: calc(var(--map-gutter) * -1);
  width: calc(100% + var(--map-gutter) * 2);
  height: calc(100% + var(--map-gutter) * 2);
  border: 0;
}

@media (max-width: 900px) {
  .solution-explorer {
    grid-template-columns: 1fr;
  }

  .solution-explorer__list {
    position: static;
  }
}

.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}

.faq-item summary {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: inline-end;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .prose {
  margin-top: 1rem;
  font-size: 1rem;
}

.page-breadcrumbs {
  border-bottom: 1px solid var(--border);
}

.page-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 0;
  list-style: none;
  font-size: 0.8rem;
}

.page-breadcrumbs li {
  display: inline-flex;
  color: var(--muted);
}

.page-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.page-breadcrumbs a:hover {
  color: var(--accent);
}

.page-breadcrumbs span[aria-current] {
  color: var(--primary);
  font-weight: 600;
}

.page-breadcrumbs__sep {
  color: var(--border-strong, var(--border));
}

.resource-toolbar {
  position: sticky;
  z-index: 20;
  top: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.resource-toolbar form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  padding-block: 1rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.document-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.document-card__cover {
  display: block;
}

.document-card__cover img {
  width: 68px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 8px 20px rgba(5, 30, 55, 0.14);
}

.document-card .document-card__icon {
  width: 48px;
  height: 58px;
}

.document-card h2 {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.document-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 72px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.document-card h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.document-card h2 a {
  color: var(--primary);
}

.document-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.75rem;
}

.certificate-card__seal {
  display: grid;
  place-items: center;
  width: clamp(110px, 14vw, 140px);
  height: clamp(110px, 14vw, 140px);
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(5, 30, 55, 0.08);
  flex-shrink: 0;
}

.certificate-card__seal svg {
  width: 40px;
  height: 40px;
}

.certificate-card__seal--logo {
  overflow: hidden;
}

.certificate-card__seal--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.certificate-card h3 {
  max-width: 20ch;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
}

.certificate-card__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.certificate-card__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  transition: color 200ms ease;
}

.certificate-card__actions a:hover {
  color: var(--accent);
}

.certificate-card__actions svg {
  width: 15px;
  height: 15px;
}

.resource-detail .page-hero .button {
  margin-top: 2rem;
}

.catalogue-viewer iframe {
  width: 100%;
  min-height: clamp(520px, 78vh, 920px);
  border: 1px solid var(--border);
  background: #fff;
}

.entity-hero--about {
  background-image: linear-gradient(90deg, rgba(5, 30, 55, 0.88), rgba(5, 30, 55, 0.34)), url("../images/about-hero.png");
  background-position: center;
  background-size: cover;
}

.about-history {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-history__visual {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  min-height: 470px;
  padding: 2.5rem;
  background-image: linear-gradient(180deg, rgba(5, 30, 55, 0.15) 40%, rgba(5, 30, 55, 0.92) 100%), url("../images/about-history.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.about-history__visual span {
  color: var(--accent);
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
}

.about-history h2,
.leadership-grid h2 {
  margin-block: 0.8rem 1.8rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.section-title {
  max-width: 850px;
  margin: 0.75rem 0 3rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.timeline-grid article {
  padding: 2rem;
  border-right: 1px solid var(--border);
}

.timeline-grid article:last-child {
  border-right: 0;
}

.timeline-grid span,
.values-grid span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.timeline-grid h3,
.values-grid h3 {
  margin-block: 1rem 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.timeline-grid p {
  color: var(--muted);
  font-size: 0.82rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.vision-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 38vw, 520px);
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 4px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.vision-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 30, 55, 0.12) 15%, rgba(5, 30, 55, 0.92) 100%);
}

.vision-card--vision {
  background-image: url("../images/vision-bg.png");
  background-position: 75% center;
}

.vision-card--mission {
  background-image: url("../images/mission-bg.png");
}

.vision-card .eyebrow {
  color: #fff;
}

.vision-grid h2 {
  margin-top: 1rem;
  max-width: 18ch;
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.12;
  color: #fff;
}

.vision-card .value-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.8rem;
  border-radius: 50%;
  background: rgba(244, 91, 42, 0.1);
  color: var(--accent);
}

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

.values-grid article,
.values-grid a {
  display: block;
  min-height: 165px;
  padding: 1.8rem;
  border-top: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.values-grid a:hover h3 {
  color: var(--accent);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 9vw, 9rem);
}

.contact-main {
  padding-block: calc(var(--header-height) + 5rem) 5rem;
  border-bottom: 1px solid var(--border);
}

.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.contact-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-intro h1 {
  margin-block: 0.8rem 1.5rem;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.contact-intro > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-direct {
  display: grid;
  gap: 0.65rem;
  margin-top: 2.5rem;
}

.contact-direct > * {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  color: var(--primary);
}

.contact-direct span,
.inquiry-form label > span,
.product-context span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.inquiry-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  background: var(--surface);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.inquiry-form__heading,
.product-context,
.inquiry-form__message,
.inquiry-form__submit {
  grid-column: 1 / -1;
}

.inquiry-form__heading h2,
.form-notice h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.inquiry-form label {
  display: grid;
  gap: 0.55rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--primary);
  font: inherit;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(6, 37, 65, 0.1);
}

.inquiry-form textarea {
  resize: vertical;
}

.product-context {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(244, 91, 42, 0.4);
  background: rgba(244, 91, 42, 0.05);
}

.product-context small {
  color: var(--muted);
}

.inquiry-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inquiry-form__submit p {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding-block: 5rem;
  text-align: center;
}

.form-notice--error {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 3px solid #b42318;
  background: #fff1f0;
  color: #8a1c13;
  text-align: left;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--border);
}

.office-grid article {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.8rem;
  background: #fff;
}

.office-card__top {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.office-grid h3 {
  margin-block: 2rem 0.8rem;
  font-size: 1.5rem;
}

.office-card__address {
  flex: 1;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.office-grid article > div:last-child {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 68px;
  }

  .primary-nav,
  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .home-hero__content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 7rem;
  }

  .home-hero__panel {
    display: none;
  }

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

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

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

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

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

  .product-filters {
    position: static;
  }

  .product-filters__form {
    flex-wrap: wrap;
  }

  .product-search {
    flex-basis: 100%;
  }

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

  .product-detail__hero {
    grid-template-columns: 1fr;
  }

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

  /* Re-target the edge cells for the two-column layout. */
  .partner-grid a:nth-child(-n + 4) {
    border-top: 1px solid var(--border);
  }

  .partner-grid a:nth-child(4n + 1) {
    border-left: 1px solid var(--border);
  }

  .partner-grid a:nth-child(-n + 2) {
    border-top: 0;
  }

  .partner-grid a:nth-child(2n + 1) {
    border-left: 0;
  }

  .solution-map-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-grid article:nth-child(2) {
    border-right: 0;
  }

  .contact-main__grid {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

  .product-detail__summary {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .brand__group,
  .brand__divider {
    display: none;
  }

  .brand__logo {
    height: 30px;
  }

  .home-hero {
    min-height: 720px;
  }

  .home-hero__content {
    min-height: 670px;
    padding-top: calc(var(--header-height) + 4.5rem);
    padding-bottom: 6.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

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

  .home-hero__status .shell span:last-child {
    display: none;
  }

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

  .stat:nth-child(3),
  .stat:nth-child(5) {
    border-left: 0;
  }

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

  .intro-section__grid,
  .single-entry__layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .closing-cta__inner,
  .footer-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid--three,
  .card-grid--four {
    grid-template-columns: 1fr;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .filter-select {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .filter-select select {
    width: 100%;
    max-width: none;
  }

  .product-filters__form .button {
    flex: 1 1 100%;
  }

  .product-grid,
  .product-data-grid,
  .division-grid,
  .project-grid,
  .entity-intro__grid,
  .project-story__grid,
  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-card a {
    grid-template-columns: 110px 1fr;
    gap: 1.2rem;
    padding: 1.4rem;
  }

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

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

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

  .about-history,
  .vision-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

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

  .resource-toolbar {
    position: static;
  }

  .resource-toolbar form {
    align-items: stretch;
    flex-direction: column;
  }

  .timeline-grid,
  .values-grid,
  .office-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .timeline-grid article {
    border-right: 0;
  }

  .inquiry-form__heading,
  .product-context,
  .inquiry-form__message,
  .inquiry-form__submit {
    grid-column: auto;
  }

  .inquiry-form__submit {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-form__submit .button {
    width: 100%;
  }

  .product-gallery__main {
    min-height: 360px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-detail__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand-strip__track {
    animation: none;
  }

  .home-hero__media {
    animation: none;
    opacity: 0;
  }

  .home-hero__media:first-child {
    opacity: 1;
  }

  .home-split-line > span,
  .js-reveal {
    opacity: 1;
    transform: none;
  }
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5, 30, 55, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  background: var(--accent);
}

.back-to-top[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.a11y-widget {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
}

.a11y-widget__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5, 30, 55, 0.25);
}

.a11y-widget__toggle:hover {
  background: var(--accent);
}

.a11y-widget__toggle svg {
  width: 22px;
  height: 22px;
}

.a11y-widget__panel {
  position: absolute;
  bottom: 56px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 220px;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(5, 30, 55, 0.18);
}

.a11y-widget__panel[hidden] {
  display: none;
}

.a11y-widget__title {
  margin: 0 0 0.3rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.a11y-widget__panel button {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  font-size: 0.82rem;
  text-align: start;
  cursor: pointer;
}

.a11y-widget__panel button:hover {
  background: var(--primary);
  color: #fff;
}

html.a11y-contrast {
  filter: contrast(1.3) grayscale(0.2);
}

html.a11y-contrast body {
  background: #fff;
}

html.a11y-underline a {
  text-decoration: underline !important;
}
