/* EDP corporate system: navy sampled from the supplied official logo (#002468).
   Native Arial is intentional: a familiar corporate face, no third-party font requests. */
:root {
  --navy: #002468;
  --navy-deep: #001b50;
  --ink: #172438;
  --muted: #526174;
  --white: #fff;
  --soft: #f3f5f7;
  --line: #d9e0e8;
  --pale: #c3d5ef;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(22px, 5vw, 80px);
  --section: clamp(64px, 8vw, 112px);
  --ease: 180ms ease;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 4.9vw, 70px);
  letter-spacing: -0.045em;
  font-weight: 700;
}
h2 {
  font-size: clamp(30px, 3.2vw, 45px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
p + p {
  margin-top: 1em;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a,
button {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #b47c08;
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: not-allowed;
}
::selection {
  background: #d2e0f5;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.section-bottom {
  padding-bottom: var(--section);
}
.soft-section {
  background: var(--soft);
}
.eyebrow {
  display: block;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.6;
}
.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--navy);
  padding-block: 10px;
  margin-top: 16px;
}
.text-link:hover {
  text-decoration: none;
  gap: 25px;
}
.text-link span[aria-hidden] {
  font-size: 22px;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  min-height: 52px;
  padding: 12px 22px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition:
    background var(--ease),
    transform var(--ease);
}
.button:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  text-decoration: none;
}
.button span {
  font-size: 20px;
}
.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.button-secondary:hover {
  background: var(--soft);
}
.photo img {
  width: 100%;
  border-radius: var(--radius);
}
figcaption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 12px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--white);
  padding: 12px 22px;
  color: var(--navy);
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Shared navigation — contents remain accessible when JavaScript is disabled. */
.utility-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.035em;
}
.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-inner > a {
  padding-block: 4px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 104px;
}
.brand {
  display: block;
  flex: 0 0 auto;
  padding: 4px 0;
}
.brand img {
  width: 145px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}
.site-header nav > a {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.site-header nav > a[aria-current] {
  color: var(--navy);
}
.site-header nav > a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
}
.site-header nav > a:last-child {
  background: var(--navy);
  color: var(--white);
  padding-inline: 20px;
  border-radius: var(--radius);
}
.site-header nav > a:last-child[aria-current]::after {
  bottom: 7px;
  left: 20px;
  right: 20px;
  background: var(--white);
}
.menu-toggle {
  display: none;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 10px 14px;
  min-height: 46px;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}
.menu-bars {
  display: block;
  width: 19px;
  height: 12px;
  border-top: 2px solid;
  border-bottom: 2px solid;
  position: relative;
}
.menu-bars:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  border-top: 2px solid;
}
.menu-toggle[aria-expanded="true"] .menu-bars {
  transform: rotate(90deg);
}
/* Home: editorial split hero, then a compact service index. */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: var(--white);
}
.hero-copy {
  padding: clamp(48px, 6vw, 90px) 38px clamp(48px, 6vw, 90px)
    max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  align-self: center;
}
.hero-copy .eyebrow {
  color: var(--pale);
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-copy h1 > span {
  color: var(--pale);
}
.hero-copy > p:not(.eyebrow) {
  color: #d9e4f5;
  max-width: 450px;
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.8;
}
.hero-copy .button {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.hero-copy .button-secondary {
  background: transparent;
  color: var(--white);
  border-color: #829bc4;
}
.hero-copy .button:hover {
  background: #e0e9f7;
  color: var(--navy);
}
.hero-photo {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #dfe5eb;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
  min-height: 510px;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 310px;
  padding: 15px 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}
.hero-photo figcaption > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 3px;
}
.quick-nav {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: center;
}
.quick-nav > span {
  color: var(--muted);
}
.quick-nav > a {
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.quick-nav > a > span {
  font-size: 20px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.profile-copy .lead {
  color: var(--ink);
}
.profile-copy > p + p {
  margin-top: 18px;
}
.service-section {
  background: var(--soft);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 48px;
}
.home-services {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 7%;
  align-items: start;
}
.service-feature img {
  max-height: 650px;
  object-fit: cover;
  object-position: 50% 40%;
}
.service-list {
  border-top: 1px solid #b7c5d8;
}
.service-row {
  display: grid;
  grid-template-columns: 26px 1fr 42px;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #cbd5e1;
  align-items: start;
  scroll-margin-top: 130px;
}
.service-row:hover {
  text-decoration: none;
}
.service-row:hover h3 {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.service-index {
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.service-term {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 9px;
}
.service-row h3 {
  font-size: clamp(22px, 2vw, 28px);
}
.service-row p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 410px;
}
.circle-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #b7c5d8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--navy);
  transition: background var(--ease);
}
.service-row:hover .circle-arrow {
  background: var(--navy);
  color: white;
}
.operations-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.65fr;
  gap: 28px;
  align-items: center;
}
.operations-copy {
  padding-right: 10px;
}
.operations-copy p:not(.eyebrow) {
  margin-top: 24px;
}
.operations-teaser .portrait-photo {
  padding-top: 105px;
}
.operations-teaser .wide-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
}
.operations-teaser .portrait-photo img {
  aspect-ratio: 9/16;
  object-fit: cover;
}
.approach-section {
  background: var(--navy-deep);
  color: white;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.approach-section h2,
.approach-section h3,
.approach-section .eyebrow,
.approach-section .text-link {
  color: white;
}
.approach-section p {
  color: #d3dff2;
}
.approach-section h2 + p {
  margin-top: 24px;
}
.approach-section .text-link {
  border-color: #9db5db;
}
.editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
}
.editorial-list > li {
  position: relative;
  padding: 24px 0 24px 45px;
  border-bottom: 1px solid var(--line);
  counter-increment: item;
}
.editorial-list > li:before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.editorial-list > li:first-child {
  padding-top: 0;
}
.editorial-list > li:first-child:before {
  top: 0;
}
.editorial-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.editorial-list p {
  font-size: 15px;
  margin-top: 12px;
}
.editorial-list h3 {
  font-size: 24px;
}
.approach-section .editorial-list > li {
  border-color: #34517e;
}
.approach-section .editorial-list > li:before {
  color: var(--pale);
}
.contact-band {
  background: #e9eef5;
  padding-block: 60px;
}
.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-band .eyebrow {
  margin-bottom: 12px;
}
.contact-band h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.contact-band p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 16px;
}
.contact-band .button {
  flex: 0 0 auto;
}
/* Interior pages */
.breadcrumb {
  padding-top: 25px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li:before {
  content: "/";
  margin-right: 12px;
  color: #7c8797;
}
.breadcrumb a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.page-intro {
  padding-top: 48px;
  padding-bottom: 55px;
}
.page-intro h1 {
  max-width: 900px;
}
.page-intro .lead {
  max-width: 750px;
  margin-top: 24px;
}
.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10%;
  align-items: center;
}
.story-grid > .photo {
  max-width: 440px;
}
.story-grid h2 + p {
  margin-top: 25px;
}
.timeline {
  margin-top: 35px;
}
.timeline > div {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.timeline span {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.timeline h3 {
  font-size: 21px;
  margin-top: 10px;
}
.timeline p {
  margin-top: 10px;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.vision-grid h2 + p {
  margin-top: 24px;
}
.vision-grid .editorial-list {
  color: var(--muted);
}
.service-jump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.service-jump a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  min-height: 44px;
}
.service-jump a:hover {
  background: var(--soft);
}
.service-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
  padding-block: 70px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.service-feature-row:nth-child(even) .photo {
  order: 1;
}
.service-feature-row > .photo {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}
.service-feature-row .photo img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
  background: var(--soft);
}
.service-feature-row h2 + p {
  margin-top: 24px;
}
.service-feature-row .button {
  margin-top: 28px;
}
.service-feature-row:last-child {
  border: 0;
}
.additional-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  margin-top: 44px;
}
.additional-services > article {
  padding-top: 24px;
  border-top: 1px solid #bdc9d8;
  scroll-margin-top: 130px;
}
.additional-services p {
  margin-top: 20px;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8%;
  align-items: center;
  padding-block: 40px 70px;
}
.detail-hero .lead {
  margin-top: 26px;
}
.detail-hero .photo img {
  max-height: 540px;
  object-fit: contain;
  background: var(--soft);
}
.detail-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12%;
  border-top: 1px solid var(--line);
}
.detail-content aside > p:not(.eyebrow) {
  margin-top: 24px;
}
.small-heading {
  font-size: 28px;
  margin-bottom: 35px;
}
.prepare-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10%;
}
.prepare-grid h2 + p {
  margin-top: 24px;
}
.check-list {
  margin: 0;
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.check-list li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--navy);
}
.related-services > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}
.related-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
/* Gallery uses source aspect ratios, without destructive crop. */
.gallery-toolbar {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.filter-buttons button {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  min-height: 46px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}
.filter-buttons button:hover {
  background: var(--soft);
}
.filter-buttons button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
#gallery-status {
  font-size: 12px;
  margin-top: 18px;
}
.gallery-grid {
  columns: 3;
  column-gap: 30px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 40px;
}
.gallery-image {
  position: relative;
  display: block;
}
.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
}
.image-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: white;
  color: var(--navy);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  transition: transform var(--ease);
}
.gallery-image:hover .image-open {
  transform: rotate(45deg);
}
.gallery-item figcaption {
  font-size: 14px;
  padding-top: 18px;
}
.gallery-item figcaption .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
}
/* Contact: direct real email, no fictitious form submission. */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6%;
  align-items: stretch;
}
.contact-email-panel {
  background: var(--navy);
  padding: clamp(28px, 4.8vw, 66px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.contact-email-panel h2,
.contact-email-panel .eyebrow {
  color: white;
}
.contact-email-panel p {
  color: #d3dff2;
}
.email-display {
  color: white;
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-block: 26px;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.contact-email-panel .button {
  background: white;
  border-color: white;
  color: var(--navy);
  margin-top: 28px;
}
.contact-email-panel .email-help {
  font-size: 12px;
  margin-top: 20px;
  max-width: 370px;
  line-height: 1.7;
}
.contact-visual {
  display: flex;
  align-items: center;
}
.contact-visual .photo {
  width: 100%;
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  margin-top: 40px;
}
.office {
  position: relative;
  padding: 30px 0;
  border-top: 1px solid #bdc9d8;
  scroll-margin-top: 130px;
}
.office-number {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}
.office h3 {
  font-size: 29px;
}
.office address {
  font-style: normal;
  margin-top: 22px;
  max-width: 410px;
  color: var(--muted);
}
.office .text-link {
  font-size: 13px;
}
.map-note {
  font-size: 12px;
  margin-top: 10px;
}
.contact-closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.contact-closing h2 {
  max-width: 650px;
}
/* Footer: official navy logo remains unchanged on a white surface. */
.site-footer {
  border-top: 1px solid var(--line);
  background: white;
  padding-top: 58px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr 1.1fr;
  gap: 40px;
}
.footer-brand img {
  width: 174px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 13px;
  max-width: 240px;
}
.footer-email {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.site-footer h2 {
  font-size: 14px;
  letter-spacing: 0;
  margin-block: 12px 23px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.site-footer nav a {
  font-size: 13px;
  min-height: 34px;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.site-footer address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.site-footer .text-link {
  font-size: 12px;
  gap: 10px;
  margin-top: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 1600px) {
  .home-hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-right: 70px;
  }
  .hero-photo img {
    max-height: 660px;
  }
}
@media (max-width: 1100px) {
  .operations-teaser {
    grid-template-columns: 1.1fr 1fr;
  }
  .operations-teaser .portrait-photo {
    display: none;
  }
  .footer-grid {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .site-header nav {
    gap: 17px;
  }
  .brand img {
    width: 132px;
  }
  .hero-copy {
    padding-right: 26px;
  }
  .home-services {
    gap: 5%;
  }
  .service-row {
    grid-template-columns: 22px 1fr 34px;
    gap: 10px;
  }
  .circle-arrow {
    width: 32px;
    height: 32px;
  }
  .detail-hero {
    gap: 5%;
  }
}
@media (max-width: 950px) {
  html {
    scroll-padding-top: 110px;
  }
  .header-inner {
    min-height: 90px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 4px;
  }
  .brand img {
    width: 125px;
  }
  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 16px;
    gap: 10px 22px;
  }
  .site-header nav > a {
    min-height: 44px;
  }
  .js-ready .menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .js-ready .site-header nav {
    display: none;
  }
  .js-ready .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 100px);
    overflow: auto;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding: 12px 0;
  }
  .js-ready .site-header nav > a {
    padding: 13px 14px;
    min-height: 48px;
  }
  .js-ready .site-header nav > a[aria-current]::after {
    left: 14px;
    right: auto;
    width: 24px;
    bottom: 5px;
  }
  .js-ready .site-header nav > a:last-child {
    margin-top: 10px;
  }
  .hero-copy h1 {
    font-size: clamp(36px, 4.8vw, 50px);
  }
  .hero-photo img {
    min-height: 500px;
  }
  .hero-copy .button-group {
    gap: 10px;
  }
  .hero-copy .button {
    padding: 10px 14px;
    font-size: 12px;
    gap: 15px;
  }
  .quick-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-nav > span {
    grid-column: 1/-1;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .quick-nav > a:first-of-type {
    border-left: 0;
    padding-left: 0;
  }
  .profile-grid,
  .approach-grid,
  .vision-grid {
    gap: 7%;
  }
  .home-services {
    grid-template-columns: 0.7fr 1fr;
  }
  .service-feature img {
    object-fit: contain;
    max-height: none;
  }
  .service-row p {
    font-size: 13px;
  }
  .story-grid {
    gap: 6%;
    align-items: start;
  }
  .story-grid h2 {
    font-size: 30px;
  }
  .contact-layout {
    grid-template-columns: 1fr 0.75fr;
    gap: 25px;
  }
  .email-display {
    font-size: 20px;
  }
  .contact-email-panel {
    padding: 30px;
  }
  .contact-email-panel h2 {
    font-size: 30px;
  }
  .contact-band-inner {
    gap: 25px;
  }
  .related-services > div {
    gap: 18px;
  }
  .related-services a {
    font-size: 16px;
  }
  .gallery-grid {
    columns: 2;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
    --section: 64px;
  }
  .utility-inner {
    justify-content: flex-end;
  }
  .utility-inner > span {
    display: none;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 48px var(--gutter);
  }
  .hero-copy h1 {
    font-size: clamp(42px, 9vw, 60px);
  }
  .hero-copy > p:not(.eyebrow) {
    max-width: 480px;
    font-size: 15px;
  }
  .hero-copy .button {
    padding: 12px 18px;
    font-size: 13px;
    min-height: 50px;
  }
  .hero-photo img {
    min-height: 0;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .hero-photo figcaption {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 20px;
    max-width: 300px;
  }
  .quick-nav {
    gap: 8px 16px;
    padding-block: 20px;
    grid-template-columns: 1fr;
  }
  .quick-nav > span {
    margin-bottom: 4px;
  }
  .quick-nav > a {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    min-height: 50px;
  }
  .quick-nav > a:first-of-type {
    border-top: 0;
  }
  .profile-grid,
  .home-services,
  .approach-grid,
  .story-grid,
  .vision-grid,
  .prepare-grid,
  .detail-content,
  .detail-hero,
  .office-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .profile-copy .lead {
    font-size: 20px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 34px;
  }
  .section-heading .text-link {
    flex-shrink: 0;
    font-size: 12px;
    gap: 8px;
  }
  .home-services > .photo {
    max-width: 420px;
    justify-self: center;
  }
  .service-feature img {
    max-height: 470px;
    width: auto;
  }
  .home-services > .photo figcaption {
    max-width: 310px;
  }
  .service-row {
    grid-template-columns: 26px 1fr 38px;
    gap: 15px;
    padding-block: 24px;
  }
  .service-row h3 {
    font-size: 26px;
  }
  .service-row p {
    font-size: 14px;
  }
  .operations-teaser {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .operations-copy {
    grid-column: 1/-1;
    margin-bottom: 14px;
  }
  .operations-teaser .wide-photo img {
    aspect-ratio: auto;
    object-fit: contain;
  }
  .operations-teaser .portrait-photo {
    display: block;
    padding-top: 40px;
  }
  .operations-teaser .portrait-photo img {
    aspect-ratio: auto;
    object-fit: contain;
  }
  .operations-teaser figcaption {
    font-size: 11px;
  }
  .approach-grid {
    gap: 42px;
  }
  .contact-band {
    padding-block: 48px;
  }
  .contact-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .contact-band h2 {
    font-size: 34px;
  }
  .page-intro {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .page-intro h1 {
    font-size: clamp(38px, 8vw, 52px);
  }
  .page-intro .lead {
    font-size: 19px;
    margin-top: 20px;
  }
  .breadcrumb {
    font-size: 11px;
    padding-top: 20px;
  }
  .story-grid > .photo {
    max-width: 100%;
    order: 1;
  }
  .story-grid > .photo img {
    max-height: 480px;
    object-fit: contain;
    background: var(--soft);
  }
  .timeline > div:last-child {
    padding-bottom: 0;
  }
  .vision-grid {
    gap: 42px;
  }
  .service-jump {
    gap: 8px;
    padding-bottom: 30px;
  }
  .service-jump a {
    font-size: 12px;
    padding: 10px 12px;
  }
  .service-feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 44px;
  }
  .service-feature-row:nth-child(even) .photo {
    order: 0;
  }
  .service-feature-row .photo img {
    max-height: 450px;
  }
  .service-feature-row .eyebrow {
    margin-bottom: 14px;
  }
  .service-feature-row h2 {
    font-size: 34px;
  }
  .additional-services {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }
  .detail-hero {
    padding-block: 32px 45px;
    gap: 36px;
  }
  .detail-hero h1 {
    font-size: 43px;
  }
  .detail-hero .lead {
    font-size: 19px;
  }
  .detail-hero .photo img {
    max-height: 470px;
  }
  .detail-content {
    gap: 40px;
  }
  .prepare-grid {
    gap: 25px;
  }
  .related-services > div {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
  }
  .related-services a {
    padding-block: 20px;
    font-size: 18px;
  }
  .gallery-grid {
    column-gap: 20px;
  }
  .gallery-item {
    margin-bottom: 28px;
  }
  .gallery-item figcaption {
    font-size: 12px;
  }
  .filter-buttons button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .contact-email-panel {
    padding: 32px 26px;
  }
  .contact-email-panel h2 {
    font-size: 36px;
  }
  .email-display {
    font-size: clamp(19px, 4.5vw, 26px);
  }
  .contact-visual .photo img {
    max-height: 400px;
    object-fit: cover;
    object-position: center;
  }
  .office-grid {
    gap: 18px;
    margin-top: 32px;
  }
  .office {
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .office h3 {
    font-size: 27px;
  }
  .contact-closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .contact-closing h2 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 25px;
    align-items: center;
  }
  .footer-brand img {
    width: 140px;
    margin: 0;
  }
  .footer-brand p {
    font-size: 12px;
  }
  .footer-email {
    grid-column: 1/-1;
    margin-top: 5px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .site-footer h2 {
    margin-block: 10px 16px;
  }
  .site-footer nav a {
    min-height: 44px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 6px 20px;
    padding-block: 18px;
    margin-top: 32px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 400px) {
  :root {
    --gutter: 20px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .hero-copy .button-group {
    gap: 8px;
  }
  .hero-copy .button {
    padding: 12px 14px;
    gap: 12px;
    font-size: 12px;
  }
  .section-heading {
    flex-direction: column;
    gap: 5px;
  }
  .gallery-grid {
    columns: 1;
  }
  .gallery-item figcaption {
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-template-columns: 115px 1fr;
    gap: 20px;
  }
  .footer-brand img {
    width: 115px;
  }
  .email-display {
    font-size: 18px;
    gap: 7px;
  }
  .contact-email-panel {
    padding: 28px 22px;
  }
  .service-row h3 {
    font-size: 23px;
  }
  .button {
    gap: 18px;
    padding-inline: 18px;
  }
  .detail-hero h1 {
    font-size: 37px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover,
  .gallery-image:hover .image-open {
    transform: none;
  }
}
@media print {
  .utility-bar,
  .menu-toggle,
  .site-header nav,
  .contact-band,
  .filter-buttons,
  .footer-bottom a {
    display: none !important;
  }
  .site-header {
    position: static;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding: 24px 0;
  }
  .home-hero,
  .contact-email-panel,
  .approach-section {
    background: white;
    color: black;
  }
  .hero-copy h1,
  .hero-copy h1 > span,
  .contact-email-panel h2,
  .contact-email-panel .eyebrow,
  .approach-section h2,
  .approach-section h3 {
    color: black;
  }
  .hero-copy p,
  .contact-email-panel p,
  .approach-section p {
    color: #333;
  }
  .gallery-grid {
    columns: 2;
  }
  .photo,
  .office,
  .service-feature-row {
    break-inside: avoid;
  }
  .site-footer {
    padding-top: 20px;
  }
  .button {
    color: black;
    background: white;
    border: 1px solid #555;
  }
}

/* Language control remains visible on small screens. */
.utility-inner { min-height: 46px; }
.utility-contact { margin-left: auto; }
.language-switch { display: inline-flex; align-items: center; gap: 4px; }
.language-switch a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 3px; line-height: 1; }
.language-switch a[aria-current="true"] { background: white; color: var(--navy); font-weight: 700; }
.language-switch a:hover { text-decoration: underline; }
.language-switch a:focus-visible { outline-color: white; }
@media(max-width:700px) { .utility-inner { justify-content: space-between; gap: 8px; } .utility-contact { margin-left: 0; } }
@media(max-width:380px) { .utility-contact { display: none !important; } .utility-inner { justify-content: flex-end; } }

/* Local video hero; preserve the existing navy/white corporate palette. */
.home-hero[data-hero-slider] { position: relative; display: flex; align-items: center; min-height: 78svh; overflow: hidden; touch-action: pan-y; }
.home-hero[data-hero-slider] .hero-copy { position: relative; z-index: 2; padding: clamp(60px,7vw,100px) 0; }
.home-hero[data-hero-slider] h1 { max-width: 670px; min-height: 2.16em; text-wrap: balance; }
.home-hero[data-hero-slider] [data-hero-description] { max-width: 560px; min-height: 3.6em; }
.hero-backdrop, .hero-overlay, .hero-video-slide { position: absolute; inset: 0; }
.hero-backdrop { background: var(--navy-deep); }
.hero-video-slide { opacity: 0; transform: translateX(5%); transition: opacity .65s ease, transform .65s ease; pointer-events: none; }
.hero-video-slide.is-active { opacity: 1; transform: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video-slide.is-portrait .hero-video { object-fit: contain; object-position: right center; }
.hero-overlay { pointer-events: none; background: linear-gradient(90deg,rgba(0,27,80,.9),rgba(0,27,80,.58) 48%,rgba(0,27,80,.12)),linear-gradient(0deg,rgba(0,27,80,.55),transparent 65%); }
.hero-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-control { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(0,27,80,.4); color: #fff; font-size: 24px; cursor: pointer; }
.hero-control:hover { background: var(--navy); }
.hero-control:focus-visible, .hero-dot:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.hero-dots { display: flex; }
.hero-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.hero-dot::after { content: ''; width: 7px; height: 7px; border-radius: 8px; background: rgba(255,255,255,.55); transition: width .25s ease; }
.hero-dot[aria-current="true"]::after { width: 28px; background: var(--white); }
.hero-count { display: flex; gap: 7px; align-items: baseline; font-variant-numeric: tabular-nums; color: var(--pale); font-size: 14px; }
.hero-count strong { font-size: 18px; color: #fff; }
[data-paused="false"] .hero-play-icon, [data-paused="true"] .hero-pause-icon { display: none; }
.footer-brand img { background: white; padding: 6px; }
@media (max-width: 700px) {
 .home-hero[data-hero-slider] { min-height: 0; }
 .home-hero[data-hero-slider] .hero-copy { padding-block: 56px 32px; }
 .home-hero[data-hero-slider] h1 { font-size: clamp(34px,9vw,48px); }
 .hero-overlay { background: linear-gradient(90deg,rgba(0,27,80,.8),rgba(0,27,80,.46)),linear-gradient(0deg,rgba(0,27,80,.8),transparent); }
 .hero-video-slide.is-portrait .hero-video { object-position: center top; }
 .hero-controls { gap: 12px; margin-top: 28px; }
 .hero-dots { order: 2; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-video-slide, .hero-dot::after { transition: none; transform: none; }
}
