@charset "UTF-8";
/* Entry point for dart-sass. */
/* Consolidated SCSS: edit declarations here, never append overrides. */
:root {
  --ink: #14232b;
  --deep: #102c35;
  --slate: #31444A;
  --green: #009940;
  --green-deep: #007d35;
  --soft: #edf1f3;
  --paper: #FFFFFF;
  --muted: #4c626d;
  --line: #d6dfe3;
  --max: 1180px;
  --sage: #718D9E;
  --copper: transparent;
  --copper-ink: #526b79;
  --stone: #f1f4f5;
  --accent: #718D9E;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  line-height: 1.13;
  letter-spacing: -0.048em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 910px;
}

h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.65rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.25rem;
}

input, textarea {
  max-width: 100%;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #67dfaa;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.skip {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  padding: 10px;
  z-index: 99;
}

.skip:focus {
  top: 0;
}

.header {
  background: #fff;
  color: #152b31;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e1e8e5;
  box-shadow: 0 2px 15px rgba(20, 46, 48, 0.062745098);
  border-bottom-color: #e0e7e9;
}

.nav {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.brand img {
  width: 182px;
  max-height: 84px;
  object-fit: contain;
  display: block;
  filter: none;
}

.brand .brandtext {
  font-weight: 800;
  font-size: 1.2rem;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.8vw, 13px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.navlinks a {
  font-weight: 650;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: #20353b;
  white-space: nowrap;
}

.navlinks a[aria-current=page] {
  color: #7ce0ac;
}

.navlinks .nav-cta {
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: 3px;
}

.mobile-header-actions {
  display: none;
}

.mobile-header-action, .toggle {
  width: 48px;
  height: 48px;
  border: 1px solid #d4e2da;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  color: #007e48;
  text-decoration: none;
  cursor: pointer;
}

.mobile-header-action svg, .toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

.mobile-header-action:focus-visible, .toggle:focus-visible {
  outline: 3px solid #007e48;
  outline-offset: 2px;
}

.mobile-header-action:hover, .toggle:hover {
  background: #eef8f1;
  color: #006e3c;
}

.toggle {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.navlinks a:hover, .navlinks a[aria-current=page] {
  color: var(--green-deep);
}

.navlinks .nav-cta, .navlinks .nav-cta:hover {
  color: white;
}

.header .nav {
  gap: 24px;
}

.navlinks > li {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-parent > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  line-height: 1.25;
}

.has-submenu.is-open > .nav-parent .submenu-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-phone-item {
  display: flex;
  align-items: center;
}

.navlinks .nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #123a33;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  min-height: 44px;
}

.nav-phone svg {
  flex-shrink: 0;
  color: var(--green);
  stroke-width: 2.3;
}

.nav-phone:hover, .nav-phone:focus-visible {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-phone-short {
  display: none;
}

.header .navlinks > li > a[aria-current=page]:not(.nav-cta),
.header .navlinks .nav-parent > a[aria-current=page] {
  color: #007e48;
  font-weight: 800;
  text-decoration: none;
  position: relative;
}

.header .navlinks > li > a[aria-current=page]:not(.nav-cta)::after,
.header .navlinks .nav-parent > a[aria-current=page]::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: clamp(7px, 0.73vw, 13px);
  right: clamp(7px, 0.73vw, 13px);
  height: 2px;
  background: var(--green);
}

.header .navlinks .nav-parent > a[aria-current=page]::after {
  left: clamp(7px, 0.73vw, 13px);
  right: 3px;
}

.header .navlinks .nav-cta[aria-current=page] {
  background: #006e3c;
  color: #fff;
  box-shadow: inset 0 -3px 0 #b8efcb;
}

.header .submenu a[aria-current=page] {
  background: #eef8f1;
  color: #006f40;
  font-weight: 800;
}

.header .navlinks a:hover:not(.nav-cta) {
  color: #007e48;
  text-decoration: none;
}

.navlinks .nav-cta, .btn {
  background: var(--green);
}

.header .navlinks > li > a[aria-current=page]:not(.nav-cta)::after, .header .navlinks .nav-parent > a[aria-current=page]::after {
  background: var(--green);
}

@media (min-width: 1261px) {
  .has-submenu:hover > .nav-parent .submenu-chevron, .has-submenu:focus-within > .nav-parent .submenu-chevron {
    transform: translateY(2px) rotate(225deg);
  }
  .header .nav {
    width: 100%;
    max-width: none;
    padding-inline: clamp(24px, 3vw, 64px);
    gap: clamp(12px, 1.6vw, 32px);
    min-height: 92px;
  }
  .header .brand {
    flex: 0 0 auto;
    min-width: 0;
  }
  .header .brand img {
    width: clamp(158px, 12vw, 192px);
  }
  .header #site-nav {
    margin-left: auto;
    min-width: 0;
  }
  .navlinks {
    gap: 0;
  }
  .navlinks > li {
    display: flex;
    align-items: center;
  }
  .navlinks > li > a:not(.nav-cta), .navlinks .nav-parent > a {
    padding: 10px clamp(7px, 0.73vw, 13px);
    font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  }
  .navlinks > li + li:not(.nav-phone-item):not(:last-child)::before {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background: #dce5e1;
    flex-shrink: 0;
  }
  .navlinks .nav-parent {
    gap: 0;
  }
  .navlinks .ruane-more-menu > .submenu {
    left: 0;
    right: auto;
    min-width: 180px;
    width: max-content;
    max-width: min(280px, 90vw);
  }
  .navlinks .nav-parent > a {
    padding-right: 3px;
  }
  .navlinks .submenu-toggle {
    margin-left: 0;
    margin-right: clamp(5px, 0.65vw, 12px);
  }
  .navlinks .nav-phone {
    margin-left: clamp(10px, 1.2vw, 22px);
    padding-inline: clamp(8px, 1vw, 17px);
    border-left: 1px solid #dce5e1;
  }
  .navlinks .nav-cta {
    margin-left: clamp(10px, 0.8vw, 16px);
  }
}
@media (max-width: 1260px) {
  .header .nav {
    min-height: 76px;
    width: 100%;
    max-width: none;
    padding-inline: clamp(18px, 3vw, 38px);
    gap: 12px;
  }
  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .toggle {
    display: inline-flex;
    position: relative;
    z-index: 24;
  }
  .navlinks {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(420px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    box-sizing: border-box;
    margin: 0;
    padding: 106px 24px 35px;
    background: #0e2931;
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: -22px 0 58px rgba(6, 26, 34, 0.6666666667);
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.28s;
    z-index: 22;
  }
  .navlinks.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .navlinks > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1333333333);
  }
  .navlinks > li > a, .navlinks .nav-parent > a {
    display: block;
    flex: 1;
    padding: 17px 8px;
    color: #f5faf8;
    border-radius: 0;
    font-size: 1.11rem;
    font-weight: 650;
  }
  .navlinks .nav-parent {
    justify-content: space-between;
  }
  .navlinks .nav-parent > a {
    min-height: 56px;
  }
  .navlinks .submenu-toggle {
    width: 48px;
    height: 54px;
    min-width: 48px;
    flex-basis: 48px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1411764706);
    color: #f5faf8;
  }
  .navlinks .submenu-chevron {
    border-color: currentColor;
  }
  .navlinks .submenu {
    background: #173943;
    border: 0;
    box-shadow: none;
    border-radius: 8px;
    margin: 0 0 12px;
  }
  .navlinks .submenu a {
    color: #e3f2eb;
    font-size: 0.95rem;
    padding: 12px 14px;
  }
  .header .navlinks > li > a[aria-current=page]:not(.nav-cta),
  .header .navlinks .nav-parent > a[aria-current=page] {
    color: #9de8c1;
  }
  .header .navlinks > li > a[aria-current=page]:not(.nav-cta)::after,
  .header .navlinks .nav-parent > a[aria-current=page]::after {
    left: 8px;
    right: auto;
    width: 34px;
    bottom: 8px;
  }
  .navlinks .nav-cta {
    display: inline-block;
    margin: 10px 0 12px;
    padding: 12px 18px;
  }
  .nav-phone-item, .navlinks > li:last-child {
    display: none;
  }
  .header .navlinks > li + li::before {
    display: none;
  }
  .header .navlinks a:hover:not(.nav-cta) {
    color: #a8edc8;
  }
  .ruane-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(8, 26, 34, 0.6666666667);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s;
  }
  .ruane-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  body.ruane-menu-open {
    overflow: hidden;
  }
  body.ruane-menu-open .header {
    z-index: 30;
  }
  .toggle[aria-expanded=true] {
    background: #143740;
    border-color: #46666b;
    color: #fff;
  }
}
@media (max-width: 680px) {
  .brand img {
    width: clamp(116px, 31vw, 150px);
    max-height: 67px;
  }
  .brand {
    min-width: 0;
  }
  .header .nav {
    min-height: 76px;
    gap: 12px;
    padding-inline: 14px;
  }
  .mobile-header-action, .toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }
  .mobile-header-actions {
    gap: 8px;
  }
  .navlinks {
    width: min(380px, 90vw);
    padding: 100px 21px 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .navlinks, .ruane-menu-overlay {
    transition: none;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.wrap {
  width: min(var(--max), 100% - 72px);
  margin: auto;
}

/* Homepage hero and rotating project photographs. */
.hero {
  background: #102b34;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(390px, 36vw, 490px);
  padding: clamp(42px, 5vw, 74px) 0;
}

.hero-inner {
  position: relative;
}

.hero-copy {
  max-width: min(44%, 490px);
}

.hero h1 {
  font-size: clamp(1.85rem, 3vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.hero h1 em {
  font-style: normal;
}

.hero p {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  color: #e1ece9;
  max-width: 450px;
}

.hero .eyebrow {
  color: #f1f5f4;
  font-size: clamp(0.9rem, 1.25vw, 1.15rem);
  line-height: 1.35;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}

.hero .btn.secondary {
  border-color: #c5d7dc;
  background: rgba(15, 36, 44, 0.18);
}

.hero-photo-panel {
  position: absolute;
  inset: 0 0 0 48%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

@media (max-width: 960px) {
  .hero-photo-panel {
    left: 53%;
  }
  .hero-copy {
    max-width: 49%;
  }
}
@media (max-width: 680px) {
  .hero {
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }
  .hero-inner {
    padding-block: 36px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-photo-panel {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(200px, 55vw, 330px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}
.trust {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #dae3df;
}

.trustgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 31px 0;
}

.trustgrid div {
  border-left: 2px solid #c8d9df;
  padding-left: 18px;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trustgrid small {
  display: block;
  color: #586a6b;
  font-weight: 400;
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.section {
  padding: clamp(48px, 5.2vw, 78px) 0;
}

.section.alt {
  background: var(--soft);
}

.sectionhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.sectionhead p {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 14px;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 95px;
  align-items: center;
}

.proof {
  background: var(--deep);
  border-radius: 2px;
  padding: 36px 42px;
  color: #fff;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.proof p {
  color: #cddfda;
  font-size: 0.94rem;
}

.proof strong {
  font-size: clamp(4.8rem, 6.6vw, 6.5rem);
  display: block;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.08em;
  margin: 8px 0;
}

.pagehero {
  background: linear-gradient(130deg, #0c252b, #24454a);
  color: #fff;
  padding: clamp(30px, 3.5vw, 48px) 0 22px;
}

.pagehero h1 {
  font-size: clamp(2.45rem, 3.45vw, 3.6rem);
  max-width: none;
  letter-spacing: -0.045em;
  line-height: 1.11;
  margin-bottom: 9px;
  text-wrap: balance;
}

.pagehero p {
  max-width: 740px;
  color: #d4e4e6;
  font-size: 1.1rem;
}

.trustgrid strong {
  display: block;
  font-size: clamp(0.75rem, 0.9vw, 0.96rem);
  line-height: 1.3;
  font-weight: 700;
}

.sectionhead h2 {
  margin-top: 12px;
  max-width: 670px;
  font-size: clamp(2.3rem, 4.1vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.proof:before {
  content: "";
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.0823529412);
  position: absolute;
  right: -80px;
  top: -80px;
  transform: rotate(30deg);
}

.proof .tag {
  color: #c0d6df;
}

.proof-dot {
  color: #76caa6;
}

.proof h3 {
  font-size: 1.3rem;
}

.proof-line {
  display: block;
  background: var(--green);
  height: 3px;
  width: 82px;
  margin-top: 24px;
}

.pagehero .eyebrow {
  margin-bottom: 12px;
}

.trust-number {
  color: var(--green-deep);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section.alt, .services-section {
  background: var(--soft);
}

.projects-section .tag:before, .about-section > .wrap .tag:before {
  content: "";
  display: none;
  width: 15px;
  height: 2px;
  background: var(--copper);
  vertical-align: middle;
  margin-right: 9px;
}

.sectors-section .sectionhead {
  margin-bottom: 25px;
}

.about-section .split {
  align-items: center;
}

.home .trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.home .trustgrid {
  padding: 17px 0;
  gap: 22px;
}

.home .trustgrid > div {
  border-left: 0;
  padding-left: 58px;
  position: relative;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home .trustgrid > div + div {
  border-left: 1px solid #d7e0e4;
  padding-left: 76px;
}

.home .trust-number {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 0;
  line-height: 1;
  color: var(--green);
  letter-spacing: 0;
  font-weight: 500;
}

.home .trustgrid > div + div .trust-number {
  left: 24px;
}

.home .trust-number::before {
  content: none !important;
  font-size: 1.65rem;
}

.home .trustgrid > div:nth-child(2) .trust-number::before {
  content: "♙";
}

.home .trustgrid > div:nth-child(3) .trust-number::before {
  content: "▱";
}

.home .trustgrid strong {
  font-size: 0.94rem;
}

.home .trustgrid small {
  font-size: 0.78rem;
}

.home .section {
  padding: clamp(42px, 4.7vw, 70px) 0;
}

.home .sectionhead {
  margin-bottom: 22px;
  gap: 22px;
}

.home .sectionhead h2 {
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.12;
  max-width: 700px;
  margin: 8px 0 0;
}

.home .sectionhead p {
  display: none;
}

.home .sectors-section > .wrap {
  display: grid;
  grid-template-columns: minmax(245px, 0.7fr) minmax(0, 1.7fr);
  align-items: center;
  column-gap: clamp(22px, 4vw, 75px);
}

.home .sectors-section .sectionhead {
  display: block;
  margin: 0;
}

.home .sectors-section .sectionhead p {
  display: block;
  font-size: 0.91rem;
  margin: 14px 0 0;
}

.home .sectors-section .sectionhead .text-link {
  display: none;
}

.home .about-section .split {
  grid-template-columns: 1.12fr 0.9fr;
  gap: clamp(28px, 6vw, 98px);
}

.home .proof {
  min-height: 0;
  padding: 30px 36px;
  background: #10313a;
  border-radius: 0;
}

.home .proof::before {
  display: none;
}

.home .proof .tag {
  color: #d4e3e6;
}

.home .proof strong {
  font-size: clamp(4rem, 5.4vw, 5.5rem);
  line-height: 1;
  margin: 10px 0 3px;
}

.home .proof-dot {
  color: var(--green);
}

.home .proof h3 {
  font-size: 1.05rem;
}

.home .proof p {
  font-size: 0.83rem;
  margin-bottom: 0;
}

.home .proof-line {
  height: 2px;
  width: 38px;
  margin-top: 12px;
  background: var(--green);
}

.home .trust-number svg {
  width: 27px;
  height: 27px;
  display: block;
}

.trustgrid > div {
  min-width: 0;
}

@media (max-width: 1100px) {
  .home .sectors-section > .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home .sectors-section .sectionhead {
    display: flex;
  }
  .home .sectors-section .sectionhead p {
    display: none;
  }
}
@media (max-width: 900px) {
  .split {
    gap: 34px;
  }
  .wrap {
    width: min(var(--max), 100% - 46px);
  }
  .proof {
    padding: 38px 30px;
  }
  .section {
    padding: 55px 0;
  }
  .trustgrid strong {
    font-size: 0.77rem;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: min(var(--max), 100% - 34px);
  }
  .trustgrid {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 24px 0;
  }
  .section {
    padding: 42px 0;
  }
  .sectionhead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 22px;
  }
  .sectionhead h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .sectionhead .text-link {
    margin-top: 8px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .proof strong {
    font-size: 5rem;
  }
  .pagehero {
    padding: 32px 0 22px;
  }
  .pagehero h1 {
    font-size: clamp(1.9rem, 5.6vw, 2.5rem);
  }
  .trustgrid div {
    padding-left: 15px;
  }
  .proof {
    padding: 30px;
    min-height: auto;
  }
  .home .trustgrid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0;
  }
  .home .trustgrid > div, .home .trustgrid > div + div {
    padding: 10px 0 10px 46px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .home .trust-number, .home .trustgrid > div + div .trust-number {
    left: 2px;
    top: 12px;
  }
  .home .section {
    padding: 40px 0;
  }
  .home .sectionhead h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.5rem);
  }
  .home .about-section .split {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .home .proof {
    padding: 26px;
  }
}
/* Homepage accreditation strip — one component, same shared container. */
.ruane-home-accreditations {
  padding: clamp(30px, 3.5vw, 48px) 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.ruane-home-accreditations-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.ruane-home-accreditation-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}

.ruane-accreditation-mark {
  display: block;
  width: auto;
  height: 58px;
  max-width: 110px;
  object-fit: contain;
}

.ruane-home-accreditations p {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 650;
  margin: 0;
  max-width: 610px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .ruane-home-accreditations-inner {
    gap: 12px;
  }
  .ruane-accreditation-mark {
    height: 48px;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.band {
  background: #12323c;
  color: #fff;
  padding: 38px 0;
}

.bandinner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.band p {
  color: #d2dfe0;
}

.footer {
  background: #0e2029;
  color: #c2d1d5;
  padding: 52px 0 24px;
}

.footergrid {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) minmax(180px, 1fr) minmax(260px, 1.2fr);
  gap: 50px;
  column-gap: clamp(32px, 6vw, 110px);
}

.footer h3 {
  color: white;
}

.footer a {
  color: #eaf3f3;
  overflow-wrap: anywhere;
}

.footend {
  border-top: 1px solid rgba(255, 255, 255, 0.1568627451);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 0.84rem;
}

.band h2 {
  font-size: 2.65rem;
}

.footergrid h3 {
  font-size: 1.1rem;
}

.footer > .wrap, .band > .wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 4.1vw, 80px);
}

.footergrid > * {
  min-width: 0;
}

.home .band {
  background: #12323c;
}

@media (max-width: 1180px) {
  .footergrid {
    grid-template-columns: 1.5fr 1fr 1.3fr;
  }
}
@media (max-width: 680px) {
  .split, .contactgrid, .footergrid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sectionhead, .bandinner {
    display: block;
  }
  .band .btn {
    margin-top: 12px;
  }
  .band h2 {
    font-size: 2.2rem;
  }
  .footergrid {
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .footer > .wrap, .band > .wrap {
    padding-inline: 20px;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  display: flex;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #94e7b5;
  margin-bottom: 26px;
  align-items: center;
  gap: 13px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 31px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  font-weight: 750;
  border-radius: 3px;
  padding: 15px 22px;
  min-height: 47px;
  font-size: 0.94rem;
  gap: 20px;
}

.btn:hover {
  background: var(--green-deep);
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #a3b5b7;
  border-color: rgba(255, 255, 255, 0.3764705882);
}

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

.card {
  display: block;
  background: #fff;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 1px rgba(20, 45, 42, 0.0509803922);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(18, 43, 44, 0.1019607843);
  text-decoration: none;
}

.cardimg {
  aspect-ratio: 4/3;
  background: #304d50;
  display: block;
  width: 100%;
  object-fit: cover;
}

.cardbody {
  padding: 23px 22px 28px;
}

.cardbody p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  min-height: 3em;
}

.cardbody .more {
  color: var(--green-deep);
  font-weight: 750;
  font-size: 0.88rem;
  display: inline-flex;
  padding-top: 10px;
}

.tag {
  color: var(--green-deep);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Respect the shared site container; editorial elements can constrain their own line length. */
.bodycopy {
  max-width: none;
  margin-inline: auto;
}

.bodycopy p, .bodycopy li {
  font-size: 1.06rem;
}

.ruane-contact-intro {
  margin-bottom: 32px;
}

.ruane-contact-intro p {
  max-width: 640px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contactgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.ruane-contact-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: clamp(25px, 3.2vw, 42px);
  background: #fff;
}

.ruane-contact-kicker {
  display: block;
  color: var(--green-deep);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-bottom: 12px;
}

.ruane-contact-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.ruane-contact-panel-description {
  color: var(--muted);
  margin: 0 0 27px;
}

.ruane-contact-form-panel form {
  display: grid;
  gap: 16px;
}

.ruane-contact-form-panel label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.ruane-contact-form-panel input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), .ruane-contact-form-panel textarea, .ruane-contact-form-panel select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd6da;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.ruane-contact-form-panel textarea {
  min-height: 148px;
  resize: vertical;
}

.ruane-contact-form-panel input:focus-visible, .ruane-contact-form-panel textarea:focus-visible {
  border-color: var(--green-deep);
  outline: 2px solid rgba(0, 153, 64, 0.2);
  outline-offset: 1px;
}

.ruane-contact-form-panel button, .ruane-contact-form-panel input[type=submit] {
  border: 0;
  border-radius: 4px;
  min-height: 48px;
  padding: 12px 23px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.ruane-contact-form-panel button:hover, .ruane-contact-form-panel input[type=submit]:hover {
  background: var(--green-deep);
}

.ruane-contact-details {
  background: var(--stone);
  display: flex;
  flex-direction: column;
}

.ruane-contact-company {
  margin-top: 15px;
  font-weight: 750;
}

.ruane-contact-address {
  margin: 10px 0 18px;
  line-height: 1.7;
  color: var(--muted);
}

.ruane-contact-links {
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.ruane-contact-links a {
  color: var(--green-deep);
  font-weight: 750;
  text-decoration: none;
}

.ruane-contact-links a:hover {
  text-decoration: underline;
}

.ruane-contact-map {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-height: 225px;
  background: #dfe9e6;
}

.ruane-contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(225px, 23vw, 310px);
  border: 0;
}

@media (max-width: 760px) {
  .contactgrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ruane-contact-panel {
    padding: 24px;
  }
  .ruane-contact-map iframe {
    height: 280px;
  }
}
.notice {
  border-left: 3px solid var(--green);
  padding: 16px;
  background: #f1f7f2;
}

.wp-block-image img {
  border-radius: 7px;
}

.text-link {
  font-weight: 750;
  color: var(--green-deep);
  padding-bottom: 5px;
  border-bottom: 2px solid var(--green);
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: none;
  color: #005d37;
}

.text-link span {
  margin-left: 16px;
}

.accent-line {
  display: inline-block;
  background: #53d797;
  width: 30px;
  height: 3px;
}

.cardimg-empty {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #24464b, #49655f);
}

.cardimg-empty:before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, 0.1019607843);
  transform: rotate(27deg);
}

.image-placeholder-mark {
  position: absolute;
  left: 20px;
  bottom: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(208, 229, 220, 0.4901960784);
}

.cardbody h3 {
  font-size: 1.21rem;
  margin: 0 0 12px;
}

.about-section p {
  max-width: 630px;
  font-size: 1.05rem;
  color: var(--muted);
}

.submenu-toggle {
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #20353b;
  border-radius: 3px;
  min-width: 24px;
  min-height: 40px;
  font-size: inherit;
  line-height: normal;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 40px;
  margin: 0 0 0 2px;
  vertical-align: middle;
}

.submenu-toggle:hover, .submenu-toggle:focus-visible {
  color: var(--green-deep);
}

.submenu {
  display: none;
  position: absolute;
  left: -16px;
  top: 100%;
  z-index: 15;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 245px;
  box-shadow: 0 16px 36px rgba(0, 26, 27, 0.1333333333);
  border: 1px solid #dce6e1;
  border-radius: 4px;
}

.submenu li a {
  display: block;
  padding: 10px 12px;
  white-space: normal;
  line-height: 1.35;
  color: #20353b;
  font-size: 0.87rem;
}

.submenu li a:hover, .submenu li a:focus-visible {
  background: #eff7f1;
  color: #006b3f;
  text-decoration: none;
}

.submenu-chevron {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.cardbody .more, .text-link {
  color: var(--green-deep);
}

.safety-strip {
  background: #E4EAED;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-top-color: var(--line);
}

.safety-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.safety-strip h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  margin: 12px 0 12px;
}

.safety-strip p {
  max-width: 590px;
  color: var(--muted);
  margin: 0;
}

.safety-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outline-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 21px;
  background: #fff;
  border-left: 0;
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #b7cbd4;
}

.outline-link:hover {
  background: var(--deep);
  color: #fff;
  text-decoration: none;
}

.outline-link span {
  color: var(--green-deep);
}

.outline-link:hover span {
  color: #a1e2be;
}

.ruane-project-gallery {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  grid-template-rows: repeat(2, minmax(185px, 1fr));
  gap: 16px 20px;
}

.ruane-project-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.ruane-project-tile:first-child {
  grid-row: span 2;
}

.ruane-project-photo {
  display: block;
  width: 100%;
  height: clamp(140px, 15vw, 175px);
  object-fit: cover;
  background: #cbd7dd;
  transition: filter 0.25s, transform 0.25s;
  object-position: center;
}

.ruane-project-tile:first-child .ruane-project-photo {
  height: clamp(245px, 27vw, 340px);
}

.ruane-project-caption {
  display: grid;
  grid-template-columns: 25px 1fr 22px;
  gap: 12px;
  padding: 17px 2px 4px;
  align-items: start;
  padding-top: 11px;
  width: 100%;
  text-decoration: none !important;
}

.ruane-project-number {
  font-weight: 800;
  font-size: 0.72rem;
  color: #6d8796;
  padding-top: 5px;
}

.ruane-project-name {
  font-weight: 720;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.ruane-project-arrow {
  font-size: 1.25rem;
  color: var(--green-deep);
}

.ruane-project-sector {
  display: block;
  margin-left: 37px;
  color: var(--muted);
  font-size: 0.82rem;
}

.ruane-project-tile:hover .ruane-project-name {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 5px;
}

:focus-visible {
  outline: 3px solid #009940;
  outline-offset: 3px;
}

.ruane-project-gallery .ruane-project-photo {
  aspect-ratio: auto;
}

.ruane-portfolio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ruane-portfolio-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(17, 46, 53, 0.06);
}

.ruane-portfolio-item img.ruane-project-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #d8e2e6;
}

/* Project card photograph controls: reusable existing viewer, no carousel movement. */
.ruane-portfolio-image {
  position: relative;
}

.ruane-portfolio-image .ruane-project-photo-button {
  width: 100%;
}

.ruane-portfolio-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 5px;
  background: rgba(15, 39, 45, 0.9);
  color: #fff;
  overflow: hidden;
}

.ruane-portfolio-controls button {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ruane-portfolio-controls button:hover {
  background: #007c45;
}

.ruane-portfolio-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.ruane-portfolio-count {
  min-width: 42px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ruane-portfolio-info {
  padding: 20px 22px 22px;
  flex: 1;
}

.ruane-portfolio-info h3 {
  margin: 0 0 16px;
  font-size: clamp(1.14rem, 1.5vw, 1.4rem);
  line-height: 1.25;
}

.ruane-project-facts {
  margin: 0;
  font-size: 0.91rem;
}

.ruane-project-facts div {
  display: grid;
  grid-template-columns: minmax(105px, 0.34fr) 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.ruane-project-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.ruane-project-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ruane-projects-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: #d4e3e5;
  font-size: 0.85rem;
}

.ruane-projects-breadcrumb a {
  color: inherit;
  text-underline-offset: 3px;
}

.ruane-portfolio-caption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  padding-top: 12px;
  font-size: 1.03rem;
  line-height: 1.3;
}

.ruane-portfolio-caption strong {
  font-weight: 750;
}

.ruane-portfolio-caption > span {
  color: var(--green);
  font-weight: 800;
}

.ruane-portfolio-item:hover .ruane-portfolio-caption strong {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 5px;
}

.ruane-portfolio-location {
  color: var(--muted);
  font-size: 0.86rem;
}

.ruane-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 35px;
  max-width: 740px;
  width: 100%;
}

.ruane-detail-gallery figure, .ruane-project-lead {
  margin: 0;
}

.ruane-detail-gallery figure:first-child {
  grid-column: 1/-1;
}

.ruane-detail-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  display: block;
  background: #edf1f2;
}

.ruane-detail-gallery figure:first-child img {
  aspect-ratio: 3/2;
}

.ruane-project-lead img {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: contain;
  margin-bottom: 18px;
  max-width: 740px;
}

.ruane-projects-intro {
  max-width: 840px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.ruane-projects-intro p {
  margin-bottom: 13px;
}

.ruane-project-photo-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  overflow: hidden;
}

.ruane-photo-cue {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(24, 43, 54, 0.92);
  color: white;
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  border-radius: 3px;
  pointer-events: none;
}

.ruane-gallery-trigger {
  position: relative;
  cursor: zoom-in;
}

.ruane-project-photo-button:hover .ruane-photo-cue, .ruane-project-photo-button:focus-visible .ruane-photo-cue {
  background: #007c45;
}

.ruane-portfolio-caption a {
  color: inherit;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.ruane-portfolio-caption a:hover, .ruane-portfolio-caption a:focus-visible {
  color: var(--green-deep);
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.ruane-portfolio-caption a:hover:after {
  display: none !important;
}

.ruane-project-tile:hover, .ruane-project-tile:focus-visible {
  text-decoration: none !important;
}

.ruane-project-tile:hover .ruane-project-name, .ruane-project-tile:focus-visible .ruane-project-name {
  color: var(--green-deep);
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.ruane-project-tile:hover .ruane-project-name:after {
  display: none !important;
}

.ruane-viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 20px;
  margin: 0;
  border: 0;
  background: rgba(9, 23, 29, 0.94);
  color: #fff;
}

.ruane-viewer::backdrop {
  background: rgba(9, 23, 29, 0.94);
}

.ruane-viewer-shell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 26px);
}

.ruane-viewer-close, .ruane-viewer-nav {
  color: #fff;
  background: #203941;
  border: 1px solid rgba(255, 255, 255, 0.3764705882);
  border-radius: 3px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
}

.ruane-viewer-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 1;
}

.ruane-viewer-nav {
  font-size: 1.75rem;
  line-height: 1;
}

.ruane-viewer-nav[hidden] {
  display: none;
}

.ruane-viewer-figure {
  margin: 0;
  text-align: center;
}

.ruane-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 150px);
  max-height: calc(100dvh - 110px);
  object-fit: contain;
  margin: auto;
}

.ruane-viewer figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: #fff;
  font-size: 0.92rem;
  padding: 10px 0 0;
}

.ruane-viewer figcaption strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.project-unassigned {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 0;
  background: #16343e;
  color: #fff;
  overflow: hidden;
}

.project-unassigned::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.project-unassigned::after {
  content: "✦";
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

.project-unassigned .ruane-placeholder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.project-unassigned .ruane-placeholder-symbol {
  display: block;
  color: #84e5ac;
  font-size: 2.1rem;
  line-height: 1;
}

.ruane-project-gallery .ruane-project-tile {
  min-width: 0;
}

.ruane-project-gallery .ruane-project-photo-button {
  width: 100%;
  max-width: 100%;
}

.ruane-project-gallery .ruane-project-photo-button .ruane-project-photo {
  width: 100%;
  height: clamp(140px, 15vw, 175px);
}

.ruane-project-gallery .ruane-project-tile:first-child .ruane-project-photo-button .ruane-project-photo {
  height: clamp(245px, 27vw, 340px);
}

.ruane-project-caption:hover .ruane-project-name, .ruane-project-caption:focus-visible .ruane-project-name {
  color: var(--green-deep);
  text-decoration: none !important;
}

.ruane-detail-gallery .ruane-project-photo-button {
  width: 100%;
  height: 100%;
}

.ruane-detail-gallery .ruane-project-photo-button img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  background: #edf1f2;
}

.ruane-detail-gallery figure:first-child .ruane-project-photo-button img {
  aspect-ratio: 3/2;
}

.home .accent-line {
  background: var(--green);
}

.home .actions {
  margin-top: 20px;
}

.home .btn {
  padding: 12px 19px;
  min-height: 44px;
  gap: 14px;
}

.home .tag {
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  color: var(--green-deep);
}

.home :is(.services-section, .projects-section, .sectors-section) .tag {
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  letter-spacing: 0.09em;
}

.home .text-link {
  font-size: 0.87rem;
  border-bottom: 1px solid var(--green);
  text-decoration: none;
}

.home .text-link:hover {
  text-decoration: none;
  color: var(--green);
}

.home .ruane-project-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: clamp(12px, 2vw, 23px);
}

.home .ruane-project-tile:first-child {
  grid-column: auto;
  grid-row: auto;
}

.home .ruane-project-gallery .ruane-project-photo-button .ruane-project-photo, .home .ruane-project-gallery .ruane-project-tile:first-child .ruane-project-photo-button .ruane-project-photo {
  height: auto;
  aspect-ratio: 2.05;
  object-fit: cover;
}

.home .ruane-project-gallery .ruane-project-photo-button {
  cursor: zoom-in;
}

.home .ruane-project-caption {
  grid-template-columns: 1fr 18px;
  gap: 5px;
  padding: 9px 0 0;
}

.home .ruane-project-number {
  display: none;
}

.home .ruane-project-name {
  font-size: clamp(0.88rem, 1.12vw, 1.07rem);
  line-height: 1.25;
  font-weight: 750;
}

.home .ruane-project-arrow {
  font-size: 1.12rem;
}

.home .ruane-project-sector {
  font-size: 0.78rem;
  margin-left: 0;
}

.home .ruane-project-tile:hover .ruane-project-name {
  text-decoration: none;
  color: var(--green-deep);
}

.home .about-section {
  background: #fff;
}

.home .about-section h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.home .about-section p {
  font-size: 0.92rem;
  line-height: 1.56;
}

.home .safety-strip {
  padding: 25px 0;
  background: #eaf0f3;
}

.home .safety-strip h2 {
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  margin: 6px 0;
}

.home .safety-strip p {
  font-size: 0.85rem;
}

.home .outline-link {
  padding: 11px 16px;
  border-left: 0;
  font-size: 0.86rem;
}

.single-nmc_service .nmc-service-details__summary,
.single-nova_service .nmc-service-details__summary {
  display: none;
}

@media (min-width: 1261px) {
  .has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.is-open > .submenu {
    display: block;
  }
}
@media (max-width: 1260px) {
  .submenu-toggle {
    width: 48px;
    min-height: 46px;
    text-align: center;
    border-left: 1px solid #e9efeb;
    min-width: 48px;
    flex-basis: 48px;
    height: 46px;
    margin-left: 0;
  }
  .submenu {
    display: none;
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1098039216);
    border-radius: 8px;
    padding: 4px 0 9px 16px;
    background: #173943;
  }
  .has-submenu.is-open > .submenu {
    display: block;
  }
}
@media (max-width: 950px) {
  .safety-inner {
    gap: 30px;
  }
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ruane-portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ruane-project-tile:first-child .ruane-project-photo {
    height: 360px;
  }
}
@media (max-width: 850px) {
  .ruane-project-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ruane-project-tile:first-child {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .ruane-project-tile:first-child .ruane-project-photo {
    height: clamp(320px, 45vw, 480px);
  }
  .ruane-project-gallery .ruane-project-tile:first-child .ruane-project-photo-button .ruane-project-photo {
    height: 320px;
  }
  .home .ruane-project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .cardimg {
    aspect-ratio: 1.7;
  }
  .cardbody {
    padding: 22px;
  }
  .cardbody p {
    min-height: 0;
  }
  .safety-strip {
    padding: 30px 0;
  }
  .safety-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .safety-actions {
    gap: 8px;
  }
  .ruane-project-gallery {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .ruane-project-tile:first-child {
    grid-column: auto;
  }
  .ruane-project-photo, .ruane-project-tile:first-child .ruane-project-photo {
    height: auto;
    aspect-ratio: 1.4;
    object-fit: cover;
  }
  .ruane-project-tile:first-child .ruane-project-photo, .ruane-project-photo {
    height: auto;
    aspect-ratio: 3/2;
  }
  .ruane-portfolio {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .ruane-detail-gallery {
    gap: 8px;
  }
  .ruane-portfolio-item img.ruane-project-photo {
    aspect-ratio: 3/2;
  }
  .ruane-project-gallery .ruane-project-photo-button .ruane-project-photo, .ruane-project-gallery .ruane-project-tile:first-child .ruane-project-photo-button .ruane-project-photo {
    height: auto;
    aspect-ratio: 3/2;
  }
  .home .ruane-project-gallery {
    grid-template-columns: 1fr;
  }
  .home .ruane-project-gallery .ruane-project-photo-button .ruane-project-photo, .home .ruane-project-gallery .ruane-project-tile:first-child .ruane-project-photo-button .ruane-project-photo {
    aspect-ratio: 2.05;
  }
  .home .safety-inner {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card, .ruane-project-photo {
    transition: none;
  }
  .submenu-chevron {
    transition: none;
  }
}
/* One reusable heading treatment for primary section titles only. */
.ruane-section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 15px;
  background: var(--green);
}

/* Portfolio filter and accessible server-side pagination. */
.ruane-project-filter {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.ruane-project-filter label {
  font-weight: 700;
}

.ruane-project-filter select {
  min-height: 44px;
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%232b4347' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 40px 8px 14px;
}

.ruane-project-filter button {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  background: var(--green-deep);
  color: #fff;
  padding: 8px 18px;
  font-weight: 700;
  cursor: pointer;
}

.ruane-project-filter button:focus-visible, .ruane-project-pagination a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.ruane-project-results {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.ruane-project-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0;
}

.ruane-project-pagination a, .ruane-project-pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
}

.ruane-project-pagination span[aria-current=page] {
  background: var(--green-deep);
  color: #fff;
}

/* Contextual navigation: displayed inside the compact interior page hero. */
.ruane-context-navigation {
  background: transparent;
  border: 0;
  margin-top: clamp(18px, 2.2vw, 26px);
}

.ruane-context-navigation .wrap {
  max-width: none;
  padding: 0;
}

.ruane-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #b4c9ce;
  font-size: 0.76rem;
}

.ruane-crumbs li:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: #91acb4;
}

.ruane-crumbs a {
  color: #c7d9de;
  text-decoration: none;
}

.ruane-crumbs a:hover, .ruane-crumbs a:focus-visible {
  color: #fff;
}

.ruane-crumbs [aria-current=page] {
  color: #fff;
  font-weight: 650;
}

.ruane-context-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  overflow: visible;
  padding: 2px 0 6px;
}

.ruane-context-more {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.ruane-context-more > summary {
  cursor: pointer;
  list-style: none;
  gap: 10px;
}

.ruane-context-more > summary::-webkit-details-marker {
  display: none;
}

.ruane-context-more[open] > summary {
  background: rgba(255, 255, 255, 0.18);
}

.ruane-context-more-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: 0;
  width: max-content;
  min-width: 185px;
  max-width: min(320px, 100vw - 40px);
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  color: #18343c;
  border: 1px solid #cddcde;
  border-radius: 7px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
}

.ruane-context-more-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #18343c;
  text-decoration: none;
  font-size: 0.85rem;
}

.ruane-context-more-list a:hover, .ruane-context-more-list a:focus-visible {
  background: #eaf3ef;
  color: #006b35;
}

.ruane-context-more-list a[aria-current=page] {
  background: #e2f5e9;
  color: #006b35;
  font-weight: 700;
}

.ruane-context-tab {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  color: #e4f0f2;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ruane-context-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.ruane-context-tab:focus-visible {
  outline: 2px solid #77dfaa;
  outline-offset: 2px;
}

.ruane-context-tab.is-active {
  background: #009940;
  border-color: #009940;
  color: #fff;
}

@media (max-width: 680px) {
  .ruane-context-navigation {
    margin-top: 18px;
  }
  .ruane-context-navigation .wrap {
    width: min(var(--max), 100% - 34px);
  }
  .ruane-context-tab {
    font-size: 0.78rem;
    padding: 8px 11px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ruane-context-tab {
    transition: none;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.service-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-section {
  background: #fff;
}

.ruane-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(22px, 3vw, 44px);
}

.ruane-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44% 18px;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.ruane-service-row:hover, .ruane-service-row:focus-visible {
  background: #f5f8f9;
  text-decoration: none;
}

.service-copy {
  display: grid;
  gap: 4px;
}

.service-name {
  font-size: clamp(1.08rem, 1.65vw, 1.45rem);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-summary {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: 58ch;
}

.service-media {
  display: block;
  width: 100%;
  aspect-ratio: 2.65;
  overflow: hidden;
  background: #dce5e9;
}

.service-arrow {
  justify-self: end;
  font-size: 1.2rem;
  color: var(--green-deep);
  line-height: 1;
}

@media (max-width: 1049px) {
  .ruane-service-list {
    grid-template-columns: 1fr;
  }
  .ruane-service-row {
    grid-template-columns: minmax(0, 1fr) clamp(172px, 28vw, 300px) 20px;
  }
}
@media (max-width: 680px) {
  .ruane-service-row {
    grid-template-columns: minmax(0, 1fr) clamp(94px, 28vw, 172px) 16px;
    min-height: 72px;
    gap: 9px;
  }
  .service-media {
    aspect-ratio: 1.8;
  }
}
.service-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 0.25s ease, transform 0.35s ease;
}

.ruane-service-row:hover .service-thumb, .ruane-service-row:focus-visible .service-thumb {
  filter: saturate(1);
  transform: scale(1.045);
}

.service-thumb-empty {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: #e1e8ec;
  color: #718d9e;
}

.home .services-section {
  background: #eef2f4;
}

.service-thumb-empty svg {
  width: 42%;
  height: 50%;
}

.rce-lead {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #172e38;
}

.rce-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 24px 0 32px;
  border-top: 1px solid #dae2e6;
}

.rce-facts > div {
  padding: 14px 0;
  border-bottom: 1px solid #dae2e6;
}

.rce-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667880;
  font-weight: 750;
}

.rce-facts dd {
  margin: 5px 0 0;
  font-weight: 650;
}

.rce-enquire {
  display: inline-flex;
  padding: 12px 20px;
  background: #009940;
  color: white !important;
  text-decoration: none !important;
  border-radius: 3px;
  font-weight: 700;
}

.rce-enquire:hover {
  background: #007832;
  text-decoration: none !important;
  color: #fff !important;
}

@media (max-width: 1120px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .rce-facts {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-thumb {
    transition: none;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.detailmeta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.detailmeta span {
  background: #e9f4ed;
  color: #14623d;
  padding: 7px 12px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.85rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 25px;
}

.gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 7px;
  width: 100%;
}

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

.projects-section {
  background: #EDF1F2;
}

.project-cards .cardimg {
  aspect-ratio: 1.42;
}

.projects-section .tag, .about-section .tag {
  color: var(--copper-ink);
}

.project-cards .card {
  border-top: 3px solid var(--copper);
}

.project-cards .card:hover {
  box-shadow: 0 18px 36px rgba(17, 46, 53, 0.1254901961);
}

.tag, .projects-section .tag, .about-section .tag {
  color: var(--green-deep);
}

.home .projects-section {
  background: #fff;
}

@media (max-width: 900px) {
  .project-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-cards, .project-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-cards .cardimg {
    aspect-ratio: 1.5;
  }
}
/* Consolidated SCSS: edit declarations here, never append overrides. */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border: 0;
}

.sector {
  background: #f4f7f8;
  padding: 17px 19px;
  border: 1px solid #d7e0e5;
  border-radius: 0;
  font-weight: 750;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.13rem;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector:before {
  content: "";
  display: none;
  height: 4px;
  width: 32px;
  background: var(--green);
  margin-bottom: 15px;
}

.sectors-section {
  background: #fff;
}

.sector span {
  font-size: 0.78rem;
  color: var(--green-deep);
  letter-spacing: 0.12em;
  font-weight: 800;
}

.sector:hover {
  background: var(--deep);
  color: #fff;
  text-decoration: none;
}

.sector:hover span {
  color: #87dfad;
}

.card:focus-visible, .sector:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.sector strong {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.sector span:first-child {
  color: var(--copper-ink);
  font-weight: 800;
  letter-spacing: 0.15em;
}

.sector .sector-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--green);
  font-size: 1.16rem;
}

.sector:hover span:first-child {
  color: #647c8a;
}

.sector:hover .sector-arrow {
  color: var(--green-deep);
}

.sector span:first-child {
  font-size: 0.71rem;
  color: #647d8b;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.sector:hover, .sector:focus-visible {
  background: #e7eff2;
  color: var(--ink);
  text-decoration: none;
  border-color: #89acb8;
  transform: translateY(-2px);
}

.home .sectors-section {
  background: #edf1f3;
}

.home .sectors {
  border: 0;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .sector {
  background: #fff;
  border: 1px solid #e5ebed;
  min-height: 72px;
  padding: 12px 29px 12px 57px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  position: relative;
  transition: background-color 0.18s;
}

.home .sector::before {
  display: none;
}

.home .sector-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-deep);
  display: flex;
}

.home .sector-icon svg {
  display: block;
}

.home .sector strong {
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: -0.018em;
}

.home .sector .sector-arrow {
  right: 9px;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--green-deep);
}

.home .sector:hover, .home .sector:focus-visible {
  background: #f8fafb;
  transform: none;
  border-color: #bfced2;
}

@media (max-width: 1120px) {
  .sectors {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 950px) {
  .sectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .sectors {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .home .sectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sector {
    min-height: 92px;
    padding: 14px;
    font-size: 1rem;
  }
  .sector strong {
    font-size: 1.1rem;
  }
  .sector .sector-arrow {
    right: 16px;
    bottom: 15px;
  }
  .home .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .sector {
    padding-left: 48px;
    min-height: 70px;
  }
  .home .sector-icon {
    left: 10px;
  }
  .home .sector-icon svg {
    width: 21px;
    height: 21px;
  }
}
@media (max-width: 390px) {
  .sectors {
    grid-template-columns: 1fr;
  }
  .sector {
    min-height: 75px;
  }
  .home .sectors {
    grid-template-columns: 1fr;
  }
  .home .sector {
    min-height: 58px;
  }
}
@media (max-width: 380px) {
  .sectors {
    grid-template-columns: 1fr;
  }
  .sector {
    min-height: 92px;
  }
}
@media (max-width: 370px) {
  .sectors {
    grid-template-columns: 1fr;
  }
  .sector {
    min-height: 95px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sector {
    transition: none;
  }
  .home .sector {
    transition: none;
  }
}
/* Sector directory: photographic cards share the homepage visual language. */
.sector-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin-inline: 0;
}

.sector-index-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 18px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 140px;
  padding: 11px 14px 11px 20px;
  background: #f4f7f8;
  border: 1px solid #dce5e9;
  border-radius: 9px;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(18, 43, 53, 0.035);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sector-index-card:hover, .sector-index-card:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #a8bec4;
  box-shadow: 0 5px 15px rgba(18, 43, 53, 0.09);
  text-decoration: none;
}

.sector-index-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.sector-index-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.sector-index-card-label {
  color: #54737d;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sector-index-card-copy strong {
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.sector-index-card-photo, .sector-index-card-placeholder {
  width: 170px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #e4ebee;
  object-fit: cover;
}

.sector-index-card-placeholder {
  color: #667e87;
}

.sector-index-card-placeholder svg {
  width: 29px;
  height: 29px;
}

.sector-index-card-arrow {
  color: var(--green);
  align-self: center;
  font-size: 1.15rem;
}

@media (max-width: 800px) {
  .sector-index {
    grid-template-columns: 1fr;
    max-width: none;
  }
}
@media (max-width: 460px) {
  .sector-index-card {
    grid-template-columns: minmax(0, 1fr) 88px 15px;
    min-height: 96px;
    padding: 10px 12px;
    gap: 10px;
  }
  .sector-index-card-photo, .sector-index-card-placeholder {
    width: 88px;
    height: 69px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sector-index-card {
    transition: none;
  }
}
/* Sector detail text shares the 850px editorial measure of Services. */
.ruane-sector-pagehero > .wrap,
.ruane-sector-detail-section > .wrap,
.ruane-sector-indexhero > .wrap {
  max-width: none;
  margin-inline: auto;
}

/* Single source of truth for service hero and photographs. */
.ruane-service-pagehero {
  background: #102c34;
  padding: clamp(32px, 3.5vw, 48px) 0 22px;
}

.ruane-service-pagehero > .wrap {
  max-width: none;
}

.ruane-service-pagehero h1 {
  font-size: clamp(2.45rem, 3.45vw, 3.6rem);
  line-height: 1.12;
  max-width: none;
  margin-bottom: 10px;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.ruane-service-pagehero .eyebrow {
  margin-bottom: 12px;
  color: #a7e6be;
}

.ruane-service-pagehero p {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 670px;
  margin: 0;
}

.ruane-service-content {
  padding: clamp(32px, 4vw, 56px) 0 clamp(38px, 4.3vw, 58px);
}

.ruane-service-content > .wrap {
  max-width: none;
  margin-inline: auto;
}

.ruane-service-content .rce-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 650;
  line-height: 1.55;
}

.ruane-service-content .rce-work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  padding-left: 20px;
}

.ruane-service-content .ruane-service-photo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin: 24px 0 10px;
  padding: 0;
  width: 100%;
}

.ruane-service-content .ruane-service-photo-wall figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e3e8ea;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(18, 43, 53, 0.075);
  overflow: hidden;
}

.ruane-service-content .ruane-service-photo-wall figure .ruane-project-photo-button {
  display: block;
  position: relative;
  line-height: 0;
  overflow: hidden;
  border-radius: 5px;
}

.ruane-service-content .ruane-service-photo-wall img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 5px;
}

.ruane-service-content .ruane-service-photo-wall figcaption {
  font-size: 0.83rem;
  padding: 8px 6px 2px;
  margin: 0;
  color: #53646b;
}

.ruane-service-content .ruane-service-photo-wall:has(figure:only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 500px;
}

/* Three or more images retain the staggered masonry column flow. */
.ruane-service-content .ruane-service-photo-wall:has(figure:nth-child(3)) {
  display: block;
  columns: 2;
  column-gap: 14px;
}

.ruane-service-content .ruane-service-photo-wall:has(figure:nth-child(3)) figure {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 14px;
  break-inside: avoid;
}

.ruane-sector-gallery {
  padding: 0;
  margin: 28px 0 0;
  width: 100%;
}

.ruane-sector-gallery .ruane-service-photo-wall {
  margin: 0;
}

@media (max-width: 700px) {
  .ruane-service-pagehero {
    padding: 32px 0 18px;
  }
  .ruane-service-pagehero h1 {
    font-size: clamp(1.9rem, 6vw, 2.5rem);
  }
  .ruane-service-content .ruane-service-photo-wall {
    grid-template-columns: minmax(0, 1fr);
  }
  .ruane-service-content .ruane-service-photo-wall:has(figure:nth-child(3)) {
    columns: 1;
  }
  .ruane-service-content .rce-work-list {
    grid-template-columns: 1fr;
  }
}
/* Original pages: one media component, layout variants only. */
.ruane-page-media {
  width: 100%;
  margin: 28px 0 0;
  gap: 16px;
}

.ruane-page-media figure {
  margin: 0;
  padding: 7px;
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(18, 43, 53, 0.075);
  overflow: hidden;
  break-inside: avoid;
}

.ruane-page-media .ruane-project-photo-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 5px;
}

.ruane-page-media .ruane-project-photo-button:focus-visible {
  outline: 3px solid #009940;
  outline-offset: 2px;
}

.ruane-page-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

/* Training uses the same shared container with an editorial text/photo split. */
.ruane-training-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.ruane-training-prose {
  min-width: 0;
}

.ruane-page-media--training {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
}

.ruane-page-media--training figure {
  width: 100%;
}

/* Clients use the same pale surfaces as the existing Sectors cards. No links. */
.ruane-page-media--logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
}

.ruane-page-media--logos figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 138px;
  padding: 14px;
  margin: 0;
  background: var(--stone);
  border: 0;
  border-radius: 7px;
  box-shadow: none;
}

.ruane-page-media--logos img {
  display: block;
  width: auto;
  max-width: min(100%, 210px);
  max-height: 108px;
  object-fit: contain;
}

.ruane-clients-intro {
  max-width: 830px;
}

.ruane-clients-intro h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.ruane-clients-intro p {
  color: var(--muted);
  max-width: 730px;
  font-size: 1rem;
  line-height: 1.6;
}

.ruane-clients-work {
  background: var(--soft);
}

.ruane-clients-work .sectionhead {
  margin-bottom: 22px;
}

.ruane-clients-work .sectionhead h2 {
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.12;
}

.ruane-clients-work .sectionhead p {
  display: block;
  font-size: 1rem;
  margin-top: 12px;
}

/* The original Training copy remains fully editable in WordPress. */
.ruane-original-page--training {
  max-width: none;
}

.ruane-original-page--training > p:first-child {
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.58;
  font-weight: 600;
  color: var(--ink);
  max-width: 980px;
}

.ruane-original-page--training > ul {
  background: #f3f6f7;
  border-left: 3px solid var(--green);
  padding: 22px 25px 22px 43px;
  border-radius: 0 7px 7px 0;
  margin-block: 15px 27px;
}

.ruane-original-page--training .ruane-page-media--training {
  margin-top: 0;
}

/* Health & Safety: verified documents use links to WordPress Media Library PDFs, not an image gallery. */
.ruane-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 0;
}

.ruane-document-card {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 152px;
  padding: 24px;
  background: var(--stone);
  border: 1px solid #dce5e8;
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
}

.ruane-document-card:hover, .ruane-document-card:focus-visible {
  border-color: var(--green);
}

.ruane-document-card--mark {
  cursor: default;
}

.ruane-document-card--mark:hover {
  border-color: #dce5e8;
}

.ruane-document-brand {
  flex: 0 0 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
}

.ruane-document-brand img {
  display: block;
  max-width: 112px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ruane-document-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 28px;
  padding: 0;
  background: #24343c;
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
}

.ruane-document-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ruane-document-copy strong {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.ruane-document-copy small {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.82rem;
}

.ruane-document-action {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.ruane-original-page--training > p, .ruane-original-page--training > ul,
.ruane-original-page--training > ol {
  max-width: 980px;
}

@media (max-width: 850px) {
  .ruane-page-media--logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ruane-documents {
    grid-template-columns: 1fr;
  }
  .ruane-document-card {
    min-height: 112px;
    padding: 18px;
    gap: 18px;
  }
  .ruane-document-brand {
    flex-basis: 108px;
  }
  .ruane-document-copy strong {
    font-size: 1rem;
  }
  .ruane-document-action {
    margin-left: auto;
  }
}
@media (max-width: 680px) {
  .ruane-training-layout {
    grid-template-columns: 1fr;
  }
  .ruane-page-media--training {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }
  .ruane-page-media--training {
    grid-template-columns: 1fr;
  }
  .ruane-page-media--logos {
    gap: 9px;
  }
  .ruane-page-media--logos figure {
    padding: 10px;
    min-height: 116px;
  }
  .ruane-page-media--logos img {
    max-height: 90px;
    max-width: min(100%, 185px);
  }
  .ruane-document-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 6px 14px;
    align-items: center;
    padding: 16px;
  }
  .ruane-document-brand {
    width: 96px;
    height: auto;
    min-height: 60px;
  }
  .ruane-document-brand img {
    max-width: 96px;
    max-height: 76px;
  }
  .ruane-document-copy {
    gap: 4px;
  }
  .ruane-document-copy strong {
    font-size: 0.98rem;
    line-height: 1.32;
  }
  .ruane-document-badge {
    flex: 0 0 36px;
    width: 36px;
    height: 24px;
    font-size: 10px;
  }
  .ruane-document-action {
    grid-column: 2;
    margin-left: 0;
    justify-self: start;
    padding-block: 4px;
  }
}
/* Shared editorial section heading; same treatment as Clients and Home. */
.ruane-editorial-intro {
  margin: 0 0 clamp(26px, 3vw, 40px);
}

.ruane-editorial-intro .ruane-section-title {
  font-size: clamp(2.05rem, 3vw, 3.25rem);
  line-height: 1.12;
  max-width: 900px;
  margin: 0;
}

.ruane-editorial-intro .ruane-section-title::after {
  margin-top: 16px;
}

/* Privacy: editorial heading hierarchy, scoped to this page only. */
.ruane-policy-copy {
  width: 100%;
  max-width: none;
}

.ruane-policy-copy h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.ruane-policy-copy h3 {
  margin: 1.6rem 0 0.55rem;
  font-size: clamp(1.16rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.ruane-policy-copy h4 {
  margin: 1.3rem 0 0.45rem;
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.ruane-policy-copy p, .ruane-policy-copy li {
  font-size: 1rem;
  line-height: 1.7;
}

.ruane-policy-copy ol, .ruane-policy-copy ul {
  padding-left: 1.6rem;
  margin-block: 0.65rem 1.4rem;
}

.ruane-policy-copy li + li {
  margin-top: 0.55rem;
}

/* Google Maps is opt-in: the iframe is inserted after the visitor clicks Load Google Maps. */
.ruane-map-frame[hidden], .ruane-map-placeholder[hidden] {
  display: none !important;
}

.ruane-map-placeholder {
  padding: 25px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #edf1f3;
}

.ruane-map-placeholder p {
  margin: 0 0 12px;
}

.ruane-map-placeholder .ruane-map-note {
  display: block;
  margin-top: 12px;
  color: #415765;
  font-size: 12px;
  line-height: 1.45;
}

.ruane-map-load {
  border: 1px solid #007d35;
  border-radius: 5px;
  min-height: 40px;
  padding: 7px 10px;
  background: #007d35;
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
