/* Qadri Group — brand extensions beyond Tailwind */
:root {
  --orange: #f04a0c;
  --orange-deep: #c63a05;
  --cobalt: #3e4852;
  --ink: #0d0f11;
  --paper: #ffffff;
  --mist: #e7eaed;
  --steel: #b2bac2;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Inter Tight", "Segoe UI", Helvetica, Arial, sans-serif;
  /* Sitewide body copy — keep p tags consistent */
  --copy-size: 1.125rem;
  --copy-weight: 500;
  --copy-leading: 1.65;
  --copy-color: var(--cobalt);
}

html {
  scroll-behavior: smooth;
}

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

  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  font-family: var(--body);
  font-size: var(--copy-size);
  font-weight: var(--copy-weight);
  line-height: var(--copy-leading);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Default paragraph rhythm — used across home, industries, news, etc. */
p {
  font-family: var(--body);
  font-size: var(--copy-size);
  font-weight: var(--copy-weight);
  line-height: var(--copy-leading);
  color: var(--copy-color);
}

.section-lede,
.home-stat-desc,
.body-copy {
  font-family: var(--body);
  font-size: var(--copy-size);
  font-weight: var(--copy-weight);
  line-height: var(--copy-leading);
  color: var(--copy-color);
}

::selection {
  background: var(--orange);
  color: #fff;
}

.font-display {
  /* font-family: var(--display); */
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.eyebrow-orange {
  color: var(--orange-deep);
}

.eyebrow-light {
  color: var(--steel);
}

.eyebrow-light::before {
  background: var(--orange);
}

.rule-dim {
  position: relative;
  height: 1px;
  background: var(--steel);
  max-width: 1280px;
  margin-inline: auto;
}

.rule-dim::before,
.rule-dim::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--steel);
}

.rule-dim::before {
  left: 0;
}

.rule-dim::after {
  right: 0;
}

.frame {
  position: relative;
  background:
    repeating-linear-gradient(135deg, #dfe3e7 0 1px, transparent 1px 14px),
    var(--mist);
  border: 1px solid var(--steel);
  overflow: hidden;
}

.frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  z-index: 2;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Brand video play — orange CTA match */
.brand-video {
  position: relative;
  overflow: hidden;
}

.brand-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: cover;
  background: #0d0f11;
}

.brand-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--orange, #f04a0c);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 36px -10px rgba(240, 74, 12, 0.55);
  transition:
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease;
}

.brand-video-play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.brand-video-play:hover {
  background: var(--orange-deep, #c63a05);
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 18px 40px -8px rgba(240, 74, 12, 0.65);
}

.brand-video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.brand-video.is-playing .brand-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}

.btn-arrow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    gap 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s;
}

.btn-arrow:hover {
  gap: 1.1rem;
}

.btn-arrow .arr {
  width: 18px;
  height: 10px;
  position: relative;
}

.btn-arrow .arr::before,
.btn-arrow .arr::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.btn-arrow .arr::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.btn-arrow .arr::after {
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}

/* Sticky on the real header element. Do NOT put backdrop-filter on this
   same box — browsers clip overflowing dropdowns when filter/backdrop-filter
   is on the ancestor. Frosted glass lives on ::before instead. */
.site-header,
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(178, 186, 194, 0.35);
  transition:
    box-shadow 0.35s,
    background 0.35s,
    border-color 0.35s;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.site-header.is-scrolled,
#site-header.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px -20px rgba(13, 15, 17, 0.22);
  border-bottom-color: rgba(178, 186, 194, 0.25);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-header-inner {
    padding: 0 1.75rem;
    height: 5.75rem;
  }
}

/* Mid desktops (~1100–1520): keep logo · nav · CTA from colliding */
@media (min-width: 1100px) and (max-width: 1520px) {
  .site-header-inner {
    gap: 0.55rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .site-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    gap: 0;
  }

  .nav-link {
    padding: 0.45rem 0.38rem;
    font-size: 0.8rem;
  }

  .header-cta {
    padding: 0.6rem 0.75rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    flex-shrink: 0;
  }

  .site-brand-text .name {
    font-size: 1rem;
  }

  .site-brand-text .tag {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

.site-header.is-scrolled .site-header-inner,
#site-header.is-scrolled .site-header-inner,
#siteHeader.is-scrolled .site-header-inner {
  height: 4.5rem;
}

@media (min-width: 768px) {
  .site-header.is-scrolled .site-header-inner,
  #site-header.is-scrolled .site-header-inner,
  #siteHeader.is-scrolled .site-header-inner {
    height: 5rem;
  }
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.site-brand img {
  height: 3.5rem;
  width: auto;
  max-width: none;
  transition: height 0.3s;
}

@media (min-width: 768px) {
  .site-brand img {
    height: 4.25rem;
  }
}

.site-header.is-scrolled .site-brand img,
#site-header.is-scrolled .site-brand img,
#siteHeader.is-scrolled .site-brand img {
  height: 3.15rem;
}

@media (min-width: 768px) {
  .site-header.is-scrolled .site-brand img,
  #site-header.is-scrolled .site-brand img,
  #siteHeader.is-scrolled .site-brand img {
    height: 3.65rem;
  }
}

.site-brand-text {
  line-height: 1.05;
  padding-left: 0.75rem;
  border-left: 1px solid var(--mist);
  overflow: visible;
  flex-shrink: 0;
}

.site-brand-text .name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-brand-text .tag {
  display: block !important;
  margin-top: 0.32rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

@media (min-width: 1100px) {
  .site-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-radius: 2px;
  transition:
    color 0.25s,
    background 0.25s;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.group:hover>.nav-link::after,
.group:focus-within>.nav-link::after {
  transform: scaleX(1);
}

.nav-link.is-active,
.group:hover>.nav-link,
.group:focus-within>.nav-link {
  color: var(--orange);
}

/* Mobile: prevent uppercase display h2 lines from sticking/overlapping */
@media (max-width: 640px) {

  h1.font-display,
  h2.font-display,
  h1.letter-reveal,
  h2.letter-reveal {
    line-height: 1.14 !important;
  }
}

.nav-link .chev {
  width: 0.55rem;
  height: 0.55rem;
  opacity: 0.5;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s;
}

.group:hover>.nav-link .chev,
.group:focus-within>.nav-link .chev {
  transform: rotate(180deg);
  opacity: 0.85;
}

/* =========================================================
   Mega menus — cinematic open / stagger / hover motion
   ========================================================= */
.mega-panel {
  --mega-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mega-out: cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Use translate/scale props — do NOT set `transform` here or it wipes
     Tailwind utilities like -translate-x-1/2 on the Company panel. */
  translate: 0 10px;
  scale: 0.98;
  transition:
    opacity 0.28s var(--mega-out),
    translate 0.32s var(--mega-out),
    scale 0.32s var(--mega-out),
    visibility 0.28s;
  z-index: 1100;
}

.group:hover>.mega-panel,
.group:focus-within>.mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  scale: 1;
}

/* Closed via visibility/opacity only — display:none was fighting hover
   open and made Company / Industries / More panels appear to "vanish". */
.site-nav>.group>.mega-panel {
  padding-top: 0.75rem;
}

.site-nav>.group:hover>.mega-panel,
.site-nav>.group:focus-within>.mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  scale: 1;
}

.site-nav>.group>.mega-panel .mega-card {
  display: block;
  min-height: 8rem;
  background: #fff;
  opacity: 1;
}

.site-nav>.group:hover>.mega-panel .mega-label,
.site-nav>.group:hover>.mega-panel .mega-links a,
.site-nav>.group:hover>.mega-panel .mega-feature,
.site-nav>.group:focus-within>.mega-panel .mega-label,
.site-nav>.group:focus-within>.mega-panel .mega-links a,
.site-nav>.group:focus-within>.mega-panel .mega-feature {
  opacity: 1;
  transform: none;
}

/* Keep desktop flyouts above hero/video stacking contexts. */
.site-header,
.site-header-inner,
.site-nav,
.site-nav>.group {
  overflow: visible !important;
}

.mega-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(178, 186, 194, 0.45);
  box-shadow:
    0 28px 60px -28px rgba(13, 15, 17, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 1.15rem 1.2rem;
  transform-origin: top center;
}

/* Orange draw-bar on open */
.mega-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), #ff7a3d, var(--orange));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--mega-out) 0.05s;
}

.group:hover>.mega-panel .mega-card::before,
.group:focus-within>.mega-panel .mega-card::before {
  transform: scaleX(1);
  animation: megaBarShine 1.8s ease 0.5s infinite;
}

@keyframes megaBarShine {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Soft wash rising behind panel */
.mega-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 0% 0%,
      rgba(240, 74, 12, 0.08),
      transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--mega-out) 0.1s;
}

.group:hover>.mega-panel .mega-card::after,
.group:focus-within>.mega-panel .mega-card::after {
  opacity: 1;
}

.mega-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.65rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--mega-out),
    transform 0.4s var(--mega-out);
}

.group:hover>.mega-panel .mega-label,
.group:focus-within>.mega-panel .mega-label {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.mega-card a.mega-link,
.mega-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.35rem;
  margin: 0 -0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--mega-out),
    transform 0.4s var(--mega-out),
    color 0.2s,
    background 0.2s,
    padding-left 0.25s;
}

.group:hover>.mega-panel .mega-links a,
.group:focus-within>.mega-panel .mega-links a,
.group:hover>.mega-panel a.mega-link,
.group:focus-within>.mega-panel a.mega-link {
  opacity: 1;
  transform: none;
}

.group:hover>.mega-panel .mega-links a:nth-child(1),
.group:focus-within>.mega-panel .mega-links a:nth-child(1) {
  transition-delay: 0.1s;
}

.group:hover>.mega-panel .mega-links a:nth-child(2),
.group:focus-within>.mega-panel .mega-links a:nth-child(2) {
  transition-delay: 0.16s;
}

.group:hover>.mega-panel .mega-links a:nth-child(3),
.group:focus-within>.mega-panel .mega-links a:nth-child(3) {
  transition-delay: 0.22s;
}

.group:hover>.mega-panel .mega-links a:nth-child(4),
.group:focus-within>.mega-panel .mega-links a:nth-child(4) {
  transition-delay: 0.28s;
}

.mega-links a:not(.mega-sector)::before,
a.mega-link::before {
  content: "";
  width: 0;
  height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
  transition: width 0.28s var(--mega-ease);
}

.mega-links a:not(.mega-sector):hover,
a.mega-link:hover {
  color: var(--orange);
  background: rgba(240, 74, 12, 0.05);
  padding-left: 0.55rem;
}

.mega-links a:not(.mega-sector):hover::before,
a.mega-link:hover::before {
  width: 0.7rem;
}

.mega-links a.is-active:not(.mega-sector),
a.mega-link.is-active {
  color: var(--orange);
  background: rgba(240, 74, 12, 0.07);
  padding-left: 0.55rem;
  font-weight: 700;
}

.mega-links a.is-active:not(.mega-sector)::before,
a.mega-link.is-active::before {
  width: 0.7rem;
}

/* Two-column About / Industries layout */
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.mega-feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f6f8 0%, #e7eaed 100%);
  border: 1px solid rgba(178, 186, 194, 0.5);
  padding: 1rem 1rem 1.1rem;
  opacity: 0;
  transform: translateX(18px) scale(0.96);
  transition:
    opacity 0.45s var(--mega-out),
    transform 0.5s var(--mega-out);
  padding-top: 100px;
}

.group:hover>.mega-panel .mega-feature,
.group:focus-within>.mega-panel .mega-feature {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

.mega-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--mega-out) 0.28s;
}

.group:hover>.mega-panel .mega-feature::before,
.group:focus-within>.mega-panel .mega-feature::before {
  transform: scaleY(1);
}

.mega-feature .kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}

.mega-feature .title {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.mega-feature .desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--cobalt);
}

/* Industry row cards inside mega */
.mega-sector {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.4rem;
  margin: 0 -0.4rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--mega-out),
    transform 0.4s var(--mega-out),
    background 0.25s,
    padding-left 0.28s var(--mega-ease);
}

.mega-sector::before {
  content: "";
  width: 0;
  height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
  transition: width 0.28s var(--mega-ease);
}

.group:hover>.mega-panel .mega-sector,
.group:focus-within>.mega-panel .mega-sector {
  opacity: 1;
  transform: none;
}

.group:hover>.mega-panel .mega-sector:nth-child(1),
.group:focus-within>.mega-panel .mega-sector:nth-child(1) {
  transition-delay: 0.1s;
}

.group:hover>.mega-panel .mega-sector:nth-child(2),
.group:focus-within>.mega-panel .mega-sector:nth-child(2) {
  transition-delay: 0.16s;
}

.group:hover>.mega-panel .mega-sector:nth-child(3),
.group:focus-within>.mega-panel .mega-sector:nth-child(3) {
  transition-delay: 0.22s;
}

.mega-sector:hover {
  background: rgba(240, 74, 12, 0.05);
  padding-left: 0.55rem;
}

.mega-sector:hover::before {
  width: 0.7rem;
}

.mega-sector.is-active {
  background: rgba(240, 74, 12, 0.07);
  padding-left: 0.55rem;
}

.mega-sector.is-active::before {
  width: 0.7rem;
}

.mega-sector.is-active strong {
  color: var(--orange);
}

.mega-sector .mega-sector-copy {
  display: block;
  min-width: 0;
}

.mega-sector strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}

.mega-sector:hover strong {
  color: var(--orange);
}

.mega-sector .mega-sector-copy>span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--cobalt);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {

  .mega-panel,
  .mega-card::before,
  .mega-card::after,
  .mega-label,
  .mega-links a,
  a.mega-link,
  .mega-feature,
  .mega-feature::before,
  .mega-sector {
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }

  .mega-panel {
    translate: 0 0;
    scale: 1;
  }

  .group:hover>.mega-panel,
  .group:focus-within>.mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Language switcher — global globe dropdown (EN / ES) */
.lang-switch {
  position: relative;
  z-index: 40;
}

.lang-switch-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem 0.45rem 0.55rem;
  border: 1px solid rgba(14, 16, 18, 0.12);
  background:
    linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.lang-switch-toggle:hover,
.lang-switch.is-open .lang-switch-toggle {
  border-color: rgba(240, 74, 12, 0.45);
  box-shadow: 0 10px 22px -16px rgba(240, 74, 12, 0.45);
}

.lang-switch-globe {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--orange);
  flex-shrink: 0;
}

.lang-switch-code {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.lang-switch-chev {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
  transition: transform 0.25s, opacity 0.25s;
}

.lang-switch.is-open .lang-switch-chev {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
  color: var(--orange);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 11.5rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid rgba(240, 74, 12, 0.16);
  box-shadow:
    0 18px 40px -22px rgba(13, 15, 17, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
}

.lang-switch.is-open .lang-switch-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop: open language menu on hover (bridge gap so it doesn't flicker) */
@media (hover: hover) and (pointer: fine) {

  .site-header .lang-switch:hover .lang-switch-toggle,
  .site-header .lang-switch:focus-within .lang-switch-toggle {
    border-color: rgba(240, 74, 12, 0.45);
    box-shadow: 0 10px 22px -16px rgba(240, 74, 12, 0.45);
  }

  .site-header .lang-switch:hover .lang-switch-chev,
  .site-header .lang-switch:focus-within .lang-switch-chev {
    transform: rotate(225deg) translateY(-1px);
    opacity: 1;
    color: var(--orange);
  }

  .site-header .lang-switch:hover .lang-switch-menu,
  .site-header .lang-switch:focus-within .lang-switch-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header .lang-switch-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.55rem;
    height: 0.55rem;
  }
}

.lang-switch-option {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch-option:hover {
  background: rgba(240, 74, 12, 0.06);
}

.lang-switch-option.is-active {
  background: rgba(240, 74, 12, 0.1);
  color: var(--orange);
}

.lang-switch-flag {
  width: 1.35rem;
  height: 1rem;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  background-size: cover;
  background-position: center;
}

.lang-switch-flag[data-flag="en"] {
  background-image: linear-gradient(180deg,
      #012169 0 33%,
      #fff 33% 66%,
      #c8102e 66% 100%);
}

.lang-switch-flag[data-flag="es"] {
  background-image: linear-gradient(180deg,
      #aa151b 0 25%,
      #f1bf00 25% 75%,
      #aa151b 75% 100%);
}

.lang-switch-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.lang-switch-option-copy strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-switch-option-copy span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  opacity: 0.8;
}

.lang-switch-option.is-active .lang-switch-option-copy span {
  color: var(--orange);
  opacity: 1;
}

.mobile-drawer .lang-switch {
  display: none !important;
}

.mobile-drawer .lang-switch-toggle {
  display: none !important;
}

.mobile-drawer .lang-switch-menu {
  display: none !important;
}

@media (max-width: 639px) {
  .site-header .lang-switch-toggle {
    padding: 0.45rem 0.55rem;
    min-width: 2.5rem;
    justify-content: center;
  }

  .site-header .lang-switch-chev {
    display: none;
  }
}

.header-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  transition:
    background 0.25s,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s,
    border-color 0.25s;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.header-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.header-cta:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 5px rgba(240, 74, 12, 0.16),
    0 12px 28px rgba(240, 74, 12, 0.32);
}

.header-cta:hover::after {
  left: 130%;
}

.header-cta .arr {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}

.header-cta .arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--mist);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: #fff;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.menu-toggle:hover {
  border-color: var(--orange);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.25s,
    opacity 0.25s;
}

@media (min-width: 1100px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-backdrop {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--mist);
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--orange);
}

.mobile-sec {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.hero-home {
  min-height: min(92vh, 900px);
  background:
    linear-gradient(105deg,
      rgba(13, 15, 17, 0.88) 0%,
      rgba(13, 15, 17, 0.55) 48%,
      rgba(13, 15, 17, 0.35) 100%),
    url("../img/hero-1.jpg") center/cover no-repeat;
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(13, 15, 17, 0.92), rgba(13, 15, 17, 0.7)),
    url("../img/photo-foundry-1.jpg") center/cover no-repeat;
}

.stat-num {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

/* Reveal base lives in motion.css — delays kept here for utility */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5px var(--steel);
}

.ind-card .ind-img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.pulse-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 74, 12, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(240, 74, 12, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(240, 74, 12, 0);
  }
}

/* ========================================================= Site footer — one composition, brand-led ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%,
      rgba(240, 74, 12, 0.14),
      transparent 45%),
    radial-gradient(90% 60% at 100% 20%,
      rgba(62, 72, 82, 0.35),
      transparent 50%),
    linear-gradient(180deg, #111418 0%, #0a0c0e 42%, #070809 100%);
  color: var(--steel);
  isolation: isolate;
}

.footer-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center,
      rgba(240, 74, 12, 0.12),
      transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: footerGlow 8s ease-in-out infinite alternate;
}

@keyframes footerGlow {
  from {
    opacity: 0.55;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(-12px);
  }
}

.footer-statement,
.footer-cta,
.footer-main,
.footer-rail,
.footer-legal {
  position: relative;
  z-index: 1;
}

/* ========================================================= Footer CTA — slim conversion + motion ========================================================= */
.footer-cta {
  position: relative;
  overflow: hidden;
  min-height: clamp(22rem, 46vw, 30rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.footer-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  filter: brightness(1.08) contrast(1.1) saturate(1.05);
  animation: footerCtaKen 24s ease-in-out infinite alternate;
}

@keyframes footerCtaKen {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.footer-cta-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(7, 8, 9, 0.9) 0%,
      rgba(7, 8, 9, 0.68) 38%,
      rgba(7, 8, 9, 0.32) 68%,
      rgba(7, 8, 9, 0.18) 100%),
    linear-gradient(0deg,
      rgba(7, 8, 9, 0.9) 0%,
      rgba(7, 8, 9, 0.28) 45%,
      transparent 72%);
}

.footer-cta-glow {
  position: absolute;
  inset: auto -15% -25% 20%;
  height: 60%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(240, 74, 12, 0.34), transparent 62%);
  mix-blend-mode: screen;
  animation: footerCtaGlow 7s ease-in-out infinite alternate;
}

@keyframes footerCtaGlow {
  from {
    opacity: 0.45;
    transform: translateY(8px);
  }

  to {
    opacity: 0.95;
    transform: translateY(-10px);
  }
}

.footer-cta-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 70%);
}

.footer-cta-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(240, 74, 12, 0.12), transparent);
  animation: footerCtaScan 7.5s ease-in-out infinite;
  opacity: 0;
}

.footer-cta.is-live .footer-cta-scan {
  opacity: 1;
}

@keyframes footerCtaScan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  55% {
    opacity: 0.55;
  }

  100% {
    transform: translateY(380%);
    opacity: 0;
  }
}

.footer-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  min-height: inherit;
  padding: 3.25rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "path";
  gap: 2rem;
  align-content: end;
}

@media (min-width: 900px) {
  .footer-cta-inner {
    padding: 4rem 1.75rem 2rem;
    gap: 2.25rem;
  }
}

.footer-cta-copy {
  grid-area: copy;
  max-width: 40rem;
}

.footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.footer-kicker::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--orange);
  animation: footerKickerPulse 2.4s ease-in-out infinite;
}

@keyframes footerKickerPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.55;
    transform: scaleX(0.7);
    transform-origin: left;
  }
}

.footer-headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.footer-line {
  display: block;
  overflow: hidden;
}

.footer-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-line:nth-child(2) .footer-line-inner {
  transition-delay: 0.14s;
}

.footer-cta.is-live .footer-line-inner {
  transform: translateY(0);
}

.footer-line-accent {
  color: var(--orange);
  background: linear-gradient(105deg, var(--orange) 0%, #ff8a4a 45%, var(--orange) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cta.is-live .footer-line-accent {
  animation: footerOrangeSheen 5s ease-in-out infinite;
}

@keyframes footerOrangeSheen {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.footer-lede {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(230, 234, 238, 0.9);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.6rem;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(240, 74, 12, 0.55);
  padding-bottom: 0.2rem;
  transition: color 0.3s, gap 0.35s, border-color 0.3s;
}

.footer-cta-link:hover {
  color: var(--orange);
  gap: 0.75rem;
  border-bottom-color: var(--orange);
}

.footer-cta-path {
  grid-area: path;
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}

.footer-cta-path::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), rgba(240, 74, 12, 0.15));
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.footer-cta.is-live .footer-cta-path::before {
  width: 100%;
}

@media (min-width: 700px) {
  .footer-cta-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.footer-cta-path li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.95rem 1rem 0.4rem 0;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 700px) {
  .footer-cta-path li {
    padding-right: 1.5rem;
  }

  .footer-cta-path li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 1.7rem;
    width: 0;
    max-width: 4.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(240, 74, 12, 0.85), rgba(255, 255, 255, 0.15));
    pointer-events: none;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .footer-cta.is-live .footer-cta-path li.in:not(:last-child)::after {
    width: calc(100% - 4.5rem);
  }
}

.footer-cta-path li:hover {
  transform: translateY(-4px);
}

.footer-path-num {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.footer-cta-path strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer-cta-path em {
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.footer-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.35rem;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s;
}

.footer-btn-shine {
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.footer-btn:hover .footer-btn-shine {
  left: 130%;
}

.footer-btn .arr {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-btn .arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.footer-btn:hover .arr {
  transform: translateX(4px);
}

.footer-btn-primary {
  background: var(--orange);
  color: #fff;
}

.footer-btn-primary:hover {
  background: #ff642b;
  transform: translateY(-3px);
  box-shadow:
    0 0 0 5px rgba(240, 74, 12, 0.16),
    0 14px 32px rgba(240, 74, 12, 0.35);
}

@media (prefers-reduced-motion: reduce) {

  .footer-cta-media img,
  .footer-cta-glow,
  .footer-cta-scan,
  .footer-kicker::before,
  .footer-line-accent {
    animation: none !important;
  }

  .footer-cta-media img {
    transform: none;
    filter: brightness(1.05) contrast(1.05);
  }

  .footer-line-inner {
    transform: none !important;
  }

  .footer-btn:hover,
  .footer-cta-path li:hover {
    transform: none;
  }

  .footer-btn-shine {
    display: none;
  }

  .footer-cta-path::before,
  .footer-cta-path li:not(:last-child)::after {
    transition: none;
    width: 100%;
  }
}

/* ========================================================= FOOTER SHELL — modern market layout ========================================================= */
.footer-shell {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 120px),
    transparent;
}

/* Subscribe strip */
.footer-subscribe {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-subscribe-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-subscribe-title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}

.footer-subscribe-lede {
  margin: 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(178, 186, 194, 0.85);
}

.footer-subscribe-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 26rem;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.footer-subscribe-form:focus-within {
  border-color: rgba(240, 74, 12, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 74, 12, 0.12);
}

.footer-subscribe-form input {
  flex: 1;
  min-width: 0;
  height: 3.15rem;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.footer-subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.footer-subscribe-form button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0 1.25rem;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s,
    padding 0.3s,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s;
}

.footer-subscribe-form button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.footer-subscribe-form button .arr {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  display: inline-block;
}

.footer-subscribe-form button .arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

.footer-subscribe-form button:hover {
  background: #ff642b;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 5px rgba(240, 74, 12, 0.16),
    0 12px 28px rgba(240, 74, 12, 0.32);
}

.footer-subscribe-form button:hover::after {
  left: 130%;
}

.footer-subscribe-form button:hover .arr::after {
  transform: translateY(-50%) translateX(2px) rotate(45deg);
}

/* Main link grid */
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 2.6fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 0;
  width: 100%;
  min-width: 0;
}

.footer-logo {
  grid-row: auto;
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.35s;
}

.footer-logo img {
  height: 64px;
  width: auto;
  display: block;
  max-width: 100%;
}

.footer-logo:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.footer-tagline {
  margin: 0 0 1.1rem;
  max-width: 17rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(178, 186, 194, 0.88);
}

.footer-place {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-place-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(240, 74, 12, 0.45);
  animation: pulse 2.2s infinite;
}

.footer-col {
  width: 100%;
  min-width: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(13rem, 1.45fr);
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  align-items: start;
}

.footer-col-title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 1.75rem;
  height: 2px;
  background: var(--orange);
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-col:hover .footer-col-title::after {
  width: 2.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(178, 186, 194, 0.92);
  transition: color 0.28s, transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-col ul a::before {
  content: "";
  width: 0;
  height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-col ul a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-col ul a:hover::before {
  width: 0.7rem;
}

/* Connect column */
.footer-connect {
  min-width: 0;
  justify-self: start;
}

.footer-connect-list {
  gap: 0.35rem !important;
  margin-bottom: 1.35rem !important;
}

.footer-connect-link {
  display: flex !important;
  align-items: center;
  gap: 0.65rem !important;
  padding: 0.55rem 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  transform: none !important;
  min-width: 0;
}

.footer-connect-link::before {
  display: none !important;
}

.footer-connect-icon {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--orange);
  font-size: 0.8rem;
  transition:
    color 0.35s,
    border-color 0.35s,
    background 0.35s,
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s;
}

.footer-connect-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(240, 74, 12, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.footer-connect-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.footer-connect-icon i {
  position: relative;
  z-index: 1;
  transition: transform 0.35s;
}

.footer-connect-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.15rem;
}

.footer-connect-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.footer-connect-link:hover {
  color: #fff !important;
}

.footer-connect-link:hover .footer-connect-icon {
  color: #fff;
  border-color: rgba(240, 74, 12, 0.65);
  background: rgba(240, 74, 12, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(240, 74, 12, 0.16);
}

.footer-connect-link:hover .footer-connect-icon::before {
  opacity: 1;
}

.footer-connect-link:hover .footer-connect-icon::after {
  left: 130%;
}

.footer-connect-link:hover .footer-connect-icon i {
  transform: scale(1.1);
}

.footer-follow {
  margin: 0 0 0.65rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Homepage social reveal — global for all static footers */
.social-reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.9);
}

.social-reveal.is-visible {
  animation: socialBottomUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.social-reveal:nth-child(1) {
  animation-delay: 0s;
}

.social-reveal:nth-child(2) {
  animation-delay: 0.25s;
}

.social-reveal:nth-child(3) {
  animation-delay: 0.5s;
}

.social-reveal:nth-child(4) {
  animation-delay: 0.75s;
}

@keyframes socialBottomUp {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.9);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.footer-social {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition:
    color 0.35s,
    border-color 0.35s,
    background 0.35s,
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s;
}

.footer-social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(240, 74, 12, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.footer-social::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.footer-social i {
  position: relative;
  z-index: 1;
  transition: transform 0.35s;
}

.footer-social:hover {
  color: #fff;
  border-color: rgba(240, 74, 12, 0.65);
  background: rgba(240, 74, 12, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(240, 74, 12, 0.16);
}

.footer-social:hover::before {
  opacity: 1;
}

.footer-social:hover::after {
  left: 130%;
}

.footer-social:hover i {
  transform: scale(1.1);
}

@media (max-width: 1100px) {

  .footer-subscribe-form {
    height: 60px;
  }

  .footer-subscribe {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-subscribe-form {
    margin-left: 0;
    max-width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-logo {
    grid-row: auto;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

@media (max-width: 640px) {

  .footer-subscribe-form {
    height: 110px;
  }


}



@media (max-width: 640px) {
  .footer-subscribe {
    padding: 2.25rem 1.15rem 1.85rem;
  }

  .footer-subscribe-form {
    flex-direction: column;
    border: 0;
    background: transparent;
    gap: 0.65rem;
  }

  .footer-subscribe-form:focus-within {
    box-shadow: none;
  }

  .footer-subscribe-form input {
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    padding: 0 0.9rem;
  }

  .footer-subscribe-form button {
    height: 3rem;
    justify-content: center;
  }

  .footer-main {
    padding: 2.25rem 1.15rem 2rem;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }

  .footer-connect {
    grid-column: 1 / -1;
  }
}

/* ========================================================= FOOTER RAIL ========================================================= */
.footer-rail {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
}

.footer-rail-track {
  display: flex;
  width: max-content;
  gap: 2.75rem;
  padding: 0.85rem 0;
  animation: footerRail 28s linear infinite;
}

.footer-rail-track span {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.footer-rail-track span:nth-child(odd) {
  color: rgba(240, 74, 12, 0.55);
}

@keyframes footerRail {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================================================= FOOTER LEGAL — blends into footer black ========================================================= */
.footer-legal,
.footer-legal.reveal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.05rem max(1.5rem, calc(50vw - 640px)) 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  isolation: isolate;
  overflow: visible;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.footer-legal::before,
.footer-legal::after {
  display: none;
}

.footer-legal p,
.footer-legal .text-rise-body {
  position: relative;
  z-index: 1;
  margin: 0;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.footer-legal-meta {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(240, 74, 12, 0.9);
}

@media (max-width: 560px) {

  .footer-legal,
  .footer-legal.reveal {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1.15rem 1.35rem;
  }
}

/* ========================================================= REDUCED MOTION ========================================================= */
@media (prefers-reduced-motion: reduce) {

  .footer-glow,
  .footer-kicker::before,
  .footer-headline span,
  .footer-rail-track,
  .footer-place-dot,
  .footer-cta-media img {
    animation: none !important;
  }

  .footer-cta-media img {
    transform: none;
  }

  .footer-btn:hover,
  .footer-logo:hover,
  .footer-social:hover,
  .footer-col ul a:hover,
  .footer-connect-link:hover .footer-connect-icon,
  .footer-cta-path li:hover {
    transform: none;
  }

  .footer-social::after {
    display: none;
  }

  .footer-connect-link:hover .footer-connect-icon {
    transform: none;
  }

  .footer-connect-icon::after {
    display: none;
  }
}

/* ========== Shared CTA ripple (same family as footer social hover) ========== */
.btn-arrow.bg-orange,
.btn-arrow.btn-solid,
a.bg-orange.inline-flex,
button.bg-orange,
.gc-campus-actions .btn-solid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn-arrow.bg-orange::after,
.btn-arrow.btn-solid::after,
a.bg-orange.inline-flex::after,
button.bg-orange::after,
.gc-campus-actions .btn-solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-arrow.bg-orange:hover,
.btn-arrow.btn-solid:hover,
a.bg-orange.inline-flex:hover,
button.bg-orange:hover,
.gc-campus-actions .btn-solid:hover {
  /* Keep brand orange — never darken to orange-deep on hover */
  background-color: var(--orange, #f04a0c) !important;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 5px rgba(240, 74, 12, 0.16),
    0 14px 32px rgba(240, 74, 12, 0.32);
}

.btn-arrow.bg-orange:hover::after,
.btn-arrow.btn-solid:hover::after,
a.bg-orange.inline-flex:hover::after,
button.bg-orange:hover::after,
.gc-campus-actions .btn-solid:hover::after {
  left: 130%;
}

@media (prefers-reduced-motion: reduce) {

  .header-cta::after,
  .footer-subscribe-form button::after,
  .btn-arrow.bg-orange::after,
  .btn-arrow.btn-solid::after,
  a.bg-orange.inline-flex::after,
  button.bg-orange::after,
  .gc-campus-actions .btn-solid::after {
    display: none;
  }

  .header-cta:hover,
  .footer-subscribe-form button:hover,
  .btn-arrow.bg-orange:hover,
  .btn-arrow.btn-solid:hover,
  a.bg-orange.inline-flex:hover,
  button.bg-orange:hover,
  .gc-campus-actions .btn-solid:hover {
    transform: none;
  }
}