/*--------------------------------------------------------------
# LGEOM theme: tokens and pieces shared by every page.
# Loaded after main.css on pages whose body has the .lg-theme class.
# home.css and inner.css add the page-specific sections.
--------------------------------------------------------------*/

.lg-theme {
  --ink: #0b1020;
  --ink-2: #131a33;
  --indigo: #3646a6;
  --periwinkle: #8b98f2;
  --coral: #ff5443;
  --coral-deep: #c7361f;
  --paper: #f6f3ec;
  --paper-2: #ece7db;
  --text: #1a2035;
  --muted: #565d75;
  --hairline: rgba(11, 16, 32, 0.14);
  --hairline-light: rgba(255, 255, 255, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type scale: every size on the page comes from here */
  --type-display: clamp(2rem, min(3.4vw, 6vh), 3.2rem); /* hero headline */
  --type-cta: clamp(1.85rem, 3.3vw, 2.85rem); /* closing call to action */
  --type-h2: clamp(1.7rem, 2.75vw, 2.5rem); /* section titles */
  --type-figure: clamp(1.75rem, 2.55vw, 2.3rem); /* large statistics */
  --type-statement: clamp(1.3rem, 2.05vw, 1.85rem); /* About statement */
  --type-inner-h1: clamp(1.85rem, 3.1vw, 2.85rem); /* inner page headline */
  --type-h2-sm: clamp(1.4rem, 2.1vw, 1.85rem); /* titles inside an article */
  --type-h3: clamp(1.2rem, 1.7vw, 1.45rem); /* item titles */
  --type-proof: 1.25rem; /* hero project figures */
  --type-h4: clamp(1rem, 1.2vw, 1.1rem); /* small titles */
  --type-lead: 1rem; /* intro paragraphs */
  --type-body: 0.9375rem; /* body text */
  --type-small: 0.875rem; /* lists and descriptions */
  --type-caption: 0.75rem; /* captions */
  --type-label: 0.75rem; /* small uppercase labels */
  --type-micro: 0.6875rem; /* map annotations */

  font-family: var(--default-font);
  font-size: var(--type-body);
  line-height: 1.6;
}

.h-dark {
  --background-color: var(--ink);
  --default-color: #c4cadd;
  --heading-color: #ffffff;
}

.h-paper {
  --background-color: var(--paper);
  --default-color: var(--muted);
  --heading-color: var(--text);
}

.h-white {
  --background-color: #ffffff;
  --default-color: var(--muted);
  --heading-color: var(--text);
}

.lg-theme h1,
.lg-theme h2,
.lg-theme h3 {
  font-weight: 300;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lg-theme main section {
  padding: clamp(3.75rem, 6.5vw, 6rem) 0;
  scroll-margin-top: 70px;
  position: relative;
}

.lg-theme main section > .container-xl {
  position: relative;
  z-index: 1;
}

.lg-theme :focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/*--------------------------------------------------------------
# Shared pieces
--------------------------------------------------------------*/
.h-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--periwinkle);
}

.lg-theme h2.h-eyebrow {
  font-family: var(--mono-font);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.h-eyebrow::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--coral), var(--coral)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--coral), var(--coral)) center / 1.5px 100% no-repeat;
}

.h-eyebrow--dark {
  color: var(--coral-deep);
}

.h-title {
  margin: 0;
  font-size: var(--type-h2);
  line-height: 1.12;
}

.h-title em {
  font-style: italic;
  color: var(--coral);
}

.h-lead {
  margin: 0;
  font-size: var(--type-lead);
  line-height: 1.6;
  max-width: 34rem;
}

.h-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(1.75rem, 3.2vw, 3rem);
}

.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease), translate 0.5s var(--ease);
}

.h-btn i {
  transition: transform 0.4s var(--ease);
}

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

.h-btn:hover i {
  transform: translateX(5px);
}

.h-btn--coral {
  background: var(--coral);
  color: var(--ink);
}

.h-btn--coral:hover {
  background: #ff7263;
  color: var(--ink);
}

.h-btn--line {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.h-btn--line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.h-btn--ink {
  background: var(--ink);
  color: #fff;
}

.h-btn--ink:hover {
  background: var(--indigo);
  color: #fff;
}

.h-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--coral-deep);
}

.h-more i {
  transition: transform 0.4s var(--ease);
}

a:hover > .h-more i,
.h-sol:hover .h-more i,
.h-more:hover i {
  transform: translateX(5px);
}

.h-more--light {
  color: #ff8a7d;
}

.h-more--light:hover {
  color: #ffb1a8;
}

.h-bg-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Scroll reveals. Gated on .js so content is never hidden without JavaScript. */
.js [data-r] {
  opacity: 0.01; /* not 0: fully transparent content isn't counted as painted, which delays the page's load metrics */
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}

.js [data-r="wipe"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease) var(--d, 0s);
}

.js [data-r].is-in {
  opacity: 1;
  transform: none;
}

.js [data-r="wipe"].is-in {
  clip-path: inset(-6%);
}

/* Section titles: each word rises out of its own clip box */
.js [data-r="title"] {
  opacity: 1;
  transform: none;
  transition: none;
}

.js [data-r="title"] .h-w > span {
  transform: translateY(112%);
  transition: transform 1.15s var(--ease) calc(var(--n) * 60ms);
}

.js [data-r="title"].is-in .h-w > span {
  transform: none;
}

.h-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.h-w > span {
  display: inline-block;
}

[data-tilt] {
  transform: perspective(1100px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.6s var(--ease);
}

/* Small animated map scenes (home-scenes/*.svg) */
.h-scene {
  display: block;
  width: 100%;
  height: 100%;
}

.h-scene text,
.s-text {
  font-family: var(--mono-font);
  font-size: 10px;
  letter-spacing: 0.08em;
  fill: rgba(255, 255, 255, 0.62);
}

.s-faint,
.s-faint * {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}

.s-dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-dasharray: 3 6;
}

.s-dashline {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
}

.s-trace {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s-trace--blue {
  stroke: var(--periwinkle);
}

.s-swath {
  fill: rgba(255, 84, 67, 0.12);
  stroke: rgba(255, 84, 67, 0.55);
}

.s-solid {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}

.s-dot {
  fill: var(--coral);
}

.s-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 1.3;
}

.s-fill {
  fill: var(--coral);
}

.s-nodes circle {
  fill: var(--ink);
  stroke: var(--coral);
  stroke-width: 2;
}

.s-ticks rect {
  fill: var(--coral);
}

.s-panel {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.24);
}

.s-bar {
  fill: rgba(255, 255, 255, 0.2);
}

.s-growbars rect,
.s-growbars path,
.s-solar path {
  fill: var(--periwinkle);
}

.s-map {
  fill: rgba(139, 152, 242, 0.1);
  stroke: rgba(255, 255, 255, 0.14);
}

.s-road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 4;
}

.s-pins circle {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 1.5;
}

.s-cursor {
  fill: #fff;
  stroke: var(--ink);
}

.s-cells rect {
  fill: var(--coral);
  opacity: 0.12;
}

.s-pipe {
  fill: none;
  stroke: rgba(139, 152, 242, 0.5);
  stroke-width: 5;
}

.s-flow {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-dasharray: 4 10;
  stroke-linecap: round;
}

.s-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
}

.s-parcels path {
  fill: var(--coral);
  stroke: var(--coral);
  opacity: 0.14;
}

.s-towers rect {
  fill: rgba(139, 152, 242, 0.55);
}

.s-towers rect:nth-child(3n) {
  fill: var(--coral);
}

/*--------------------------------------------------------------
# Header (shared markup, restyled for this page only)
--------------------------------------------------------------*/
.h-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1000;
  pointer-events: none;
}

.lg-theme .header {
  padding: 12px 0;
  background-color: transparent;
  transition: background-color 0.4s, padding 0.4s var(--ease), box-shadow 0.4s, transform 0.55s var(--ease);
}

.lg-theme.h-nav-hidden .header {
  transform: translateY(-105%);
}

.lg-theme.scrolled .header {
  padding: 6px 0;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--hairline);
}

.lg-theme .header .logo img {
  max-height: 44px;
}

.lg-theme #navmenu ul li a.active {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink) !important;
}

.lg-theme .mobile-nav-toggle {
  color: #fff;
}

.lg-theme.scrolled .mobile-nav-toggle {
  color: var(--ink);
}

.lg-theme.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
}

@media (min-width: 1200px) {
  .lg-theme .navmenu > ul > li > a:not(.active) {
    position: relative;
  }

  .lg-theme .navmenu > ul > li > a:not(.active)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 1.5px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.45s var(--ease);
  }

  .lg-theme .navmenu > ul > li:last-child > a:not(.active)::after {
    right: 0;
  }

  .lg-theme .navmenu > ul > li:hover > a:not(.active)::after {
    transform: scaleX(1);
  }

  .lg-theme .navmenu .dropdown ul {
    background: var(--ink);
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: 0 24px 60px rgba(11, 16, 32, 0.28);
  }

  .lg-theme .navmenu .dropdown ul li {
    border-radius: 9px;
    margin: 0 8px;
  }

  .lg-theme .navmenu .dropdown ul a {
    font-size: var(--type-small);
    padding: 9px 14px;
  }
}

/*--------------------------------------------------------------
# Shared components
--------------------------------------------------------------*/
@keyframes h-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.h-spot__chip i::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--coral);
  animation: h-pin-pulse 2.2s ease-out infinite;
}

@keyframes h-pin-pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }

  to {
    transform: scale(3);
    opacity: 0;
  }
}

.h-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.h-chips li {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--hairline-light);
  border-radius: 999px;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  color: #d5d9e8;
  transition: border-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}

.h-chips li:hover {
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Project cards and rail
--------------------------------------------------------------*/
.h-head--rail {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.5rem;
}

.h-rail-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.h-rail-nav .h-more {
  margin-right: 0.9rem;
}

.h-rail-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: none;
  color: var(--text);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.h-rail-nav button:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.h-rail-nav button:disabled {
  opacity: 0.35;
}

.h-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.h-filter {
  padding: 0.42rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: none;
  font-size: var(--type-small);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}

.h-filter:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.h-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.h-rail {
  --edge: max(calc((100vw - 1320px) / 2 + 12px), 16px);
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding: 0.5rem var(--edge) 1rem;
  overflow-x: auto;
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.h-rail::-webkit-scrollbar {
  display: none;
}

.h-rail.has-drag {
  cursor: grab;
}

.h-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.h-rail.is-dragging .h-card {
  pointer-events: none;
}

.h-card {
  flex: none;
  width: clamp(270px, 29vw, 400px);
  scroll-snap-align: start;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}

.h-card[hidden] {
  display: none;
}

.h-card:hover {
  color: var(--text);
}

.h-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.h-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 1.4s var(--ease);
  -webkit-user-drag: none;
}

.h-card__media--cover img {
  object-fit: cover;
}

.h-card__media--contain img {
  object-fit: contain;
  padding: 1rem;
}

.h-card:hover .h-card__media img {
  transform: scale(1.06);
}

.h-card__tag {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.h-card h3 {
  margin: 0 0 0.4rem;
  font-size: var(--type-h4);
  line-height: 1.2;
  transition: color 0.3s;
}

.h-card:hover h3 {
  color: var(--coral-deep);
}

.h-card p {
  margin: 0;
  font-size: var(--type-small);
  line-height: 1.42;
  color: var(--muted);
}

.h-rail-progress {
  height: 2px;
  margin: 0.5rem 0 0;
  background: var(--hairline);
}

.h-rail-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0.2);
  transform-origin: 0 50%;
  transition: transform 0.2s linear;
}

.h-drag-badge {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  border-radius: 50%;
  background: var(--coral);
  font-family: var(--mono-font);
  font-size: var(--type-label);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.h-drag-badge.is-visible {
  opacity: 0.94;
}

/*--------------------------------------------------------------
# Contact CTA
--------------------------------------------------------------*/
.lg-theme main section.h-cta {
  background: var(--coral);
  color: var(--ink);
  padding: clamp(3.75rem, 6.5vw, 6rem) 0;
}

.h-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem clamp(2rem, 6vw, 6rem);
}

.lg-theme .h-cta h2 {
  margin: 0;
  max-width: 15em;
  font-size: var(--type-cta);
  line-height: 1.1;
  color: var(--ink);
}

.h-cta__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-weight: 500;
  color: var(--ink);
}

.h-cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.h-cta__side > a:not(.h-btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.h-cta__side > a:not(.h-btn):hover {
  border-bottom-color: var(--ink);
}

.h-cta__side .h-btn {
  margin-bottom: 0.55rem;
}

.h-cta :focus-visible {
  outline-color: var(--ink);
}

/*--------------------------------------------------------------
# Section index (desktop with a mouse)
--------------------------------------------------------------*/
.h-index {
  --tone: var(--ink);
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  transform: translateY(-50%);
}

.h-index.on-dark {
  --tone: #fff;
}

@media (min-width: 1280px) {
  .h-index {
    display: flex;
  }
}

.h-index button {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.h-index i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--tone);
  opacity: 0.4;
  transition: background-color 0.4s, opacity 0.3s, transform 0.5s var(--ease);
}

.h-index button:hover i {
  opacity: 1;
  transform: scale(1.3);
}

.h-index button.is-active i {
  background: var(--coral);
  opacity: 1;
  transform: scale(1.5);
}

.h-index.on-coral button.is-active i {
  background: var(--ink);
}

.h-index span {
  position: absolute;
  right: 26px;
  top: 50%;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  background: var(--ink);
  font-family: var(--mono-font);
  font-size: var(--type-micro);
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity 0.25s, transform 0.4s var(--ease);
  pointer-events: none;
}

.h-index button:hover span,
.h-index button:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

/*--------------------------------------------------------------
# Footer (shared markup, restyled for this page only)
--------------------------------------------------------------*/
.lg-theme .lg-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  font-size: var(--type-small);
  color: #c4cadd;
}

.lg-footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.25rem clamp(1.5rem, 3.5vw, 3.5rem);
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.lg-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.lg-footer__logo img {
  display: block;
  width: 132px;
  height: auto;
}

.lg-footer__brand p {
  margin: 0 0 1.25rem;
  max-width: 24rem;
  line-height: 1.6;
}

.lg-footer__partner {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lg-footer__partner span {
  font-family: var(--mono-font);
  font-size: var(--type-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--periwinkle);
}

/* The Esri badge has dark lettering, so it sits on a white plate */
.lg-footer__partner img {
  display: block;
  width: auto;
  height: 42px;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: #fff;
}

.lg-theme .lg-footer h4 {
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--periwinkle);
}

.lg-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lg-footer__col li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.lg-theme .lg-footer a {
  color: #e4e7f1;
  transition: color 0.3s, transform 0.5s var(--ease);
}

.lg-footer__col li a {
  display: inline-block;
}

.lg-theme .lg-footer a:hover {
  color: #ff8a7d;
}

.lg-footer__col li a:hover {
  transform: translateX(4px);
}

.lg-footer__contact address {
  margin: 0 0 0.8rem;
  font-style: normal;
  line-height: 1.55;
  text-wrap: balance;
}

.lg-footer__contact > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.lg-footer__contact i {
  color: var(--coral);
}

.lg-theme .lg-footer .copyright {
  position: relative;
  z-index: 1;
  padding: 0;
  border-top: 1px solid var(--hairline-light);
  background: none;
  color: #a7aec6;
  font-size: var(--type-caption);
}

.lg-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  /* Clear of the fixed scroll-to-top button */
  padding-right: 4.5rem;
}

.lg-footer__bar p {
  margin: 0;
}

.lg-footer__bar b {
  color: #fff;
}

.lg-footer__bar ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lg-theme .lg-footer__bar a {
  color: #c4cadd;
}

@media (max-width: 991.98px) {
  .lg-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg-footer__brand,
  .lg-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479.98px) {
  .lg-footer__main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lg-theme .scroll-top {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 22px rgba(11, 16, 32, 0.28);
}

.lg-theme .scroll-top i {
  color: var(--ink);
}

.lg-theme .scroll-top:hover {
  background: var(--ink);
}

.lg-theme .scroll-top:hover i {
  color: #fff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  /* main.css forces white links here; the panel background it relies on has a typo'd variable */
  .lg-theme .navmenu ul {
    background-color: var(--ink);
    border-radius: 14px;
  }

  .lg-theme .navmenu .dropdown ul {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--hairline-light);
  }

  .lg-theme .navmenu .dropdown ul a {
    white-space: normal;
    line-height: 1.3;
  }

  .lg-theme #navmenu ul li a.active {
    margin: 0 12px;
  }

  .lg-theme #navmenu .dropdown > a.active {
    margin: 0;
    padding: 10px 20px;
    border-radius: 0;
    background: none;
    color: #fff !important;
  }
}

@media (max-width: 991.98px) {
  .h-head,
  .h-head--rail,
  .h-cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 575.98px) {
  .h-eyebrow {
    font-size: var(--type-micro);
    letter-spacing: 0.08em;
  }

  .h-rail-nav button {
    display: none;
  }

  .h-card {
    width: 78vw;
  }

}

/*--------------------------------------------------------------
# Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .js [data-r],
  .js [data-r="wipe"] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .js [data-r="title"] .h-w > span {
    animation: none;
    transform: none;
  }

  .h-btn:hover,
  .h-card:hover .h-card__media img,
  [data-tilt] {
    transform: none;
  }
}

/*--------------------------------------------------------------
# Menu: section highlight on inner pages
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .lg-theme .navmenu > ul > li > a.is-section:not(.active)::after {
    transform: scaleX(1);
  }
}
