/* Metric-matched fallback so swapping in Inter does not reflow/resize text */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

:root {
  --green: #53bfc4;
  --green-dark: #3aa3a8;
  --green-deep: #2c8a8f;
  --ink: #231f20;
  --ink-soft: #3a3637;
  --muted: #5f6365;
  --muted-light: #909496;
  --line: #e9eaea;
  --line-strong: #dcdedf;
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --bg-tint: #eef7f7;
  --white: #ffffff;

  --maxw: 1280px;
  --maxw-text: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3rem, 5vw, 5rem);
  --radius: 0;
  --radius-lg: 0;

  --shadow-xs: 0 1px 2px rgba(35, 31, 32, 0.04);
  --shadow-sm: 0 2px 8px rgba(35, 31, 32, 0.05);
  --shadow-md: 0 14px 40px rgba(35, 31, 32, 0.08);
  --shadow-lg: 0 30px 70px rgba(35, 31, 32, 0.1);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 78px;

  --sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  font-size: 93.75%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
.btn,
.nav__link,
.nav-toggle,
.dropdown__link,
.pillar,
.equip-card,
label {
  touch-action: manipulation;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

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

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ---------- Eyebrow (mono, no dash) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.1rem;
}

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

/* Hero-specific eyebrow variant: dark block with white text */
.hero-slide .eyebrow-light {
  background: #000;
  color: #fff;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), transform 0.16s var(--ease-out);
}

.btn:active {
  transform: scale(0.975);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

.btn--sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

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

.btn--dark:hover {
  background: #000;
}

.btn--primary {
  background: var(--green-deep);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

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

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
}

.btn-light:hover {
  background: #fff;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(83, 191, 196, 0.25);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover svg.arrow {
    transform: translateX(3px);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg {
    transform: translateX(3px);
  }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 25px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--ink);
}

.nav__chev {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease-out);
  opacity: 0.7;
}

.nav__item.has-dropdown:hover .nav__chev {
  transform: rotate(180deg);
}

/* Invisible bridge spanning the gap so hover does not drop between link and menu */
@media (hover: hover) and (pointer: fine) {
  .nav__item.has-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -0.5rem;
    right: -0.5rem;
    height: 16px;
  }

  .nav__item.has-dropdown:hover .dropdown,
  .nav__item.has-dropdown:focus-within .dropdown {
    transition-delay: 0s;
  }
}

/* Dropdown (origin-aware) */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.nav__item.has-dropdown:hover .dropdown,
.nav__item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown__link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease-out);
}

.dropdown__link:hover {
  background: var(--bg-alt);
}

.dropdown__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.dropdown__desc {
  display: block;
  font-size: 0.82rem;
  color: var(--muted-light);
  margin-top: 0.15rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Single contact entry: nav link only on mobile, button only on desktop */
@media (min-width: 881px) {
  .nav__link--contact {
    display: none;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.7px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
/* ---------- Hero Slider (Accordion) ---------- */
.hero-slider {
  position: relative;
  height: 75vh;
  min-height: 700px;
  max-height: 750px;
  display: flex;
  flex-direction: row;
  color: #fff;
  padding-top: var(--header-h);
  overflow: hidden;
  /* background: #0b0d10; */
}

.hero-slide {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.8s var(--ease-soft);
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  /* background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.15) 30%,
      rgba(255, 255, 255, 0.15) 70%,
      rgba(255, 255, 255, 0.02)); */
  z-index: 5;
  pointer-events: none;
}

.hero-slide:last-child::after {
  display: none;
}

.hero-slide.is-active {
  flex: 7 7 0%;
  cursor: default;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.02) saturate(0.85);
  transition: transform 1.5s var(--ease-soft), filter 0.8s var(--ease-soft);
  transform: scale(1.05);
}

.hero-slide:not(.is-active):hover .hero-slide__bg img {
  filter: brightness(0.72) contrast(1.05) saturate(1.1);
  transform: scale(1.08);
}

.hero-slide.is-active .hero-slide__bg img {
  transform: scale(1.12);
  filter: brightness(0.85) contrast(1.04) saturate(1.15);
  animation: slideKenBurns 30s linear infinite alternate;
}

@keyframes slideKenBurns {
  0% {
    transform: scale(1.12) translate(0, 0);
  }

  100% {
    transform: scale(1.22) translate(-1%, -1%);
  }
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity 0.8s var(--ease-soft), background 0.8s var(--ease-soft);
}

.hero-slide.is-active .hero-slide__overlay {
  background: linear-gradient(
    180deg,
    rgba(11, 13, 16, 0.45) 0%,
    rgba(11, 13, 16, 0.20) 35%,
    rgba(11, 13, 16, 0.55) 100%
  );
}

.hero-slide:not(.is-active) .hero-slide__overlay {
  background: rgba(11, 13, 16, 0.42);
  backdrop-filter: blur(2px) grayscale(20%);
  -webkit-backdrop-filter: blur(2px) grayscale(20%);
}

.hero-slide:not(.is-active):hover .hero-slide__overlay {
  background: rgba(11, 13, 16, 0.18);
  backdrop-filter: blur(0px) grayscale(0%);
  -webkit-backdrop-filter: blur(0px) grayscale(0%);
}

.hero-slide__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green), #a7f3d0);
  box-shadow: 0 0 8px rgba(83, 191, 196, 0.8), 0 0 15px rgba(83, 191, 196, 0.3);
  z-index: 10;
  transition: width 0.1s linear;
}

/* Collapsed Slide Elements (Desktop) */
.hero-slide__collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3.5rem 0;
  opacity: 1;
  z-index: 2;
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}

.hero-slide.is-active .hero-slide__collapsed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.hero-slide__collapsed-num {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease-out), text-shadow 0.3s var(--ease-out);
}

.hero-slide__collapsed-title {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: center center;
  margin-bottom: 7rem;
  transition: color 0.3s var(--ease-out), text-shadow 0.3s var(--ease-out);
}

.hero-slide:hover .hero-slide__collapsed-num {
  color: var(--green);
  text-shadow: 0 0 8px rgba(83, 191, 196, 0.35);
}

.hero-slide:hover .hero-slide__collapsed-title {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Expanded Slide Elements (Desktop) */
.hero-slide__container {
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-soft) 0.15s, transform 0.6s var(--ease-soft) 0.15s;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
  width: 100%;
  z-index: 3;
}

.hero-slide.is-active .hero-slide__container {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slide__content {
  max-width: 720px;
  position: relative;
  padding-left: 2rem;
}

.hero-slide__content>* {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}

.hero-slide.is-active .hero-slide__content>* {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.is-active .hero-slide__content>*:nth-child(1) {
  transition-delay: 0.1s;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(2) {
  transition-delay: 0.2s;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(3) {
  transition-delay: 0.3s;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(4) {
  transition-delay: 0.4s;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(5) {
  transition-delay: 0.5s;
}

.hero-slide__num {
  position: absolute;
  top: -5.5rem;
  left: 2rem;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  display: inline-block;
  text-shadow: 0 0 15px rgba(83, 191, 196, 0.35);
}

.text-gradient {
  background: linear-gradient(135deg, #adfae1 0%, var(--green) 50%, #29abaf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-slide h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-top: 0.5rem;
  line-height: 1.05;
  /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); */
  display: block;
  padding: 0;
  background: none;
}

/* Split H2 into visually separate lines with independent backgrounds */
.hero-slide h2 .h2-line {
  display: block;
  position: relative;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.9rem;
  border-radius: 0.25rem;
}

.hero-slide h2 .h2-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  z-index: -1;
  border-radius: 0.25rem;
}

/* Preserve gradient text for the highlighted phrase while keeping the solid block behind it */
.hero-slide h2 .h2-line.text-gradient {
  /* gradient is clipped to the text; the ::before provides the solid block */
  background: linear-gradient(135deg, #adfae1 0%, var(--green) 50%, #29abaf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide__lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-top: 1.1rem;
  max-width: 580px;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

/* Hero scroll cue */
.hero__cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  z-index: 15;
}

.hero__cue span {
  width: 1px;
  height: 38px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
  position: relative;
  overflow: hidden;
}

.hero__cue span::after {
  content: "";
  position: absolute;
  top: -38px;
  left: 0;
  width: 1px;
  height: 38px;
  background: linear-gradient(transparent, #fff);
  animation: cue 2.2s var(--ease-in-out) infinite;
}

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

  60%,
  100% {
    transform: translateY(76px);
  }
}

/* Responsive Accordion Styles */
@media (max-width: 880px) {
  .hero-slider {
    flex-direction: column;
    height: calc(100vh - var(--header-h));
    min-height: 520px;
    max-height: 680px;
    padding-top: 0;
  }

  .hero-slide {
    flex: 0 0 60px;
    width: 100%;
    height: 60px;
    transition: flex 0.75s var(--ease-soft), height 0.75s var(--ease-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    justify-content: center;
  }

  .hero-slide::after {
    display: none;
  }

  .hero-slide.is-active {
    flex: 1 1 auto;
    height: auto;
    border-bottom: none;
    justify-content: flex-end;
  }

  .hero-slide__collapsed {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1.5rem;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-slide.is-open .hero-slide__collapsed,
  .hero-slide.is-active .hero-slide__collapsed {
    opacity: 0;
    transform: translateY(-10px);
  }

  .hero-slide__collapsed-num {
    margin-right: 1.5rem;
  }

  .hero-slide__collapsed-title {
    transform: none;
    writing-mode: horizontal-tb;
    margin-bottom: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .hero-slide__container {
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
    transform: translateY(15px);
  }

  .hero-slide__content {
    padding-left: 0;
  }

  .hero-slide__num {
    display: none;
  }

  .hero-slide__content .eyebrow {
    margin-bottom: 0.6rem;
  }

  .hero-slide h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  }

  .hero-slide__lead {
    margin-top: 0.8rem;
    font-size: 0.96rem;
  }

  .hero-slide__actions {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .hero-slide__actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero__cue {
    display: none;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12);
  }
}

/* page hero */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  color: #fff;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s var(--ease-soft) forwards;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 18, 18, 0.02) 0%, rgba(20, 18, 18, 0.52) 100%);
}

.page-hero h1 {
  color: #fff;
  max-width: 14ch;
}

.page-hero__lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-top: 1.2rem;
  max-width: 640px;
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: var(--green);
  font-weight:700;
}

.page-hero .breadcrumb,
.page-hero h1,
.page-hero__lead {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.8s var(--ease-soft) forwards;
}

.page-hero .breadcrumb {
  animation-delay: 0.05s;
}

.page-hero h1 {
  animation-delay: 0.15s;
}

.page-hero__lead {
  animation-delay: 0.27s;
}

/* ---------- Section header ---------- */
.section-head {
  max-width: var(--maxw-text);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 1.2rem;
  font-size: 1.12rem;
  color: var(--muted);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg);
}

.stat__num {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat__num .unit {
  color: var(--green-deep);
}

.stat__label {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  transition: border-color 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: var(--line-strong);
  }

  .card:hover .card__icon {
    background: var(--green-deep);
    color: #fff;
  }
}

.card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--bg-tint);
  color: var(--green-deep);
  margin-bottom: 1.4rem;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.98rem;
}

.fw-card__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.2rem;
}

/* ---------- 3S framework ---------- */
.framework {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.framework__item {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3.25rem);
}

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

.framework__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.framework__num {
  display: block;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--line-strong);
  transition: color 0.4s var(--ease-out);
}

@supports ((-webkit-text-stroke: 1px black)) {
  .framework__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--line-strong);
    transition: -webkit-text-stroke-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
  }
}

.framework__item h3 {
  margin: 1.5rem 0 0.7rem;
}

.framework__item p {
  font-size: 0.98rem;
}

.framework__tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}

@media (hover: hover) and (pointer: fine) {
  .framework__item:hover::before {
    transform: scaleX(1);
  }

  .framework__item:hover .framework__num {
    color: var(--green-deep);
    -webkit-text-stroke-color: var(--green-deep);
  }
}

@media (max-width: 760px) {
  .framework {
    grid-template-columns: 1fr;
  }

  .framework__item+.framework__item {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Media split ---------- */
.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.media--reverse .media__text {
  order: 2;
}

.media__img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media__img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media__text h2 {
  margin-bottom: 1.2rem;
}

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

/* Clip-path image reveal */
.img-reveal img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-soft), transform 1.2s var(--ease-soft);
  transform: scale(1.06);
}

.img-reveal.is-in img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.carousel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  max-height: 420px;
  border-radius: var(--radius-lg);
}

.carousel__viewport {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.carousel__slides {
  display: flex;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-soft);
}

.carousel__slides img {
  /* width: 100%; */
  flex: 0 0 100%;
  min-height: 0;
  max-height: 420px;
  object-fit: cover;
}

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  transform: translateX(-50%);
  z-index: 2;
}

.carousel__dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.carousel__dot.is-active {
  background: var(--green);
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(83, 191, 196, 0.16);
}

@media (max-width: 880px) {
  .carousel {
    min-height: 280px;
  }
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  margin-top: 1.7rem;
  display: grid;
  gap: 1.15rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-soft);
}

.feature-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid var(--green-deep);
  border-bottom: 1.8px solid var(--green-deep);
  transform: rotate(-45deg);
}

/* ---------- Specialization cards ---------- */
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.specialization-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: grid;
  grid-template-rows: auto 1fr;
}

.specialization-card__img {
  position: relative;
  min-height: 260px;
  height: 260px;
  overflow: hidden;
  background: var(--bg-alt);
}

.specialization-card__img img {
  
  display: block;
}

.specialization-card__body {
  padding: 1.4rem 1.2rem 1.5rem;
}

.specialization-card__body h3 {
  margin-bottom: 0.75rem;
}

.specialization-card__body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.96rem;
}

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

@media (max-width: 680px) {
  .specialization-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  .specialization-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.specialization-card__img {
  width: 100%;
  min-height: 180px;
  overflow: hidden;
   background-color: white !important;
   display: flex;
   align-items: center;
   justify-content: center;
 }
 
 .specialization-card__img img {
   display: block;
   max-width: 100%;
   max-height: 100%;
   margin: 0 auto;
   background-color: white !important;
}

.specialization-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.specialization-card__body p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .specialization-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pillars ---------- */
.pillar {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .pillar:hover .pillar__img img {
    transform: scale(1.05);
  }
}

.pillar__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pillar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.pillar__body {
  padding: 1.85rem;
}

.pillar__index {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--green-deep);
}

.pillar__body h3 {
  margin: 0.6rem 0;
}

.pillar__body p {
  font-size: 0.96rem;
}

.pillar__more {
  margin-top: 1.3rem;
  color: var(--green-deep);
}

.pillar__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pillar:hover .pillar__more svg {
    transform: translateX(3px);
  }
}

/* ---------- Matrix ---------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.matrix__col {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  background: #fff;
}

.matrix__col h3 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.matrix__col h3 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list span {
  font-size: 0.86rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

/* ---------- Brands ---------- */
.brand-group {
  margin-bottom: 2.25rem;
}

.brand-group:last-child {
  margin-bottom: 0;
}

.brand-group__label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 1rem;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.brand-chips span {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  padding: 0.65rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .brand-chips span:hover {
    border-color: var(--green);
    color: var(--ink);
  }
}

/* ---------- Equipment showcase ---------- */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.equip-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s var(--ease-out);
}

.equip-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.equip-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .equip-card:hover {
    border-color: var(--line-strong);
  }
}

.equip-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.equip-card__cat {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.equip-card__name {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 0.3rem;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .equip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .equip-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.logo-wall--clients {
  grid-template-columns: repeat(6, 1fr);
}

.logo-item {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem;
  min-height: 134px;
}

.logo-item img {
  max-height: 70px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

@media (max-width: 860px) {

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

@media (max-width: 460px) {

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

  .logo-item {
    min-height: 110px;
    padding: 1.3rem;
  }
}

/* ---------- Brand matrix (editorial) ---------- */
.brand-matrix {
  border-top: 1px solid var(--line-strong);
}

.brand-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.brand-row__head {
  padding-top: 0.4rem;
}

.brand-row__idx {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--green-deep);
}

.brand-row__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.4rem;
  letter-spacing: -0.01em;
}

.brand-row__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
}

.brand-cell {
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  transition: border-color 0.25s var(--ease-out);
}

.brand-cell img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.brand-cell__name {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .brand-cell:hover {
    border-color: var(--line-strong);
  }
}

@media (max-width: 720px) {
  .brand-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- Marquee (brand ticker) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin: 0 1.75rem;
}

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

/* ---------- Clients ---------- */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.clients span {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.85rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* ---------- Sub-nav ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav__inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.7rem var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 1rem;
  transition: all 0.2s var(--ease-out);
}

.subnav a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.subnav a.is-active {
  color: #fff;
  background: var(--ink);
}

.anchor {
  scroll-margin-top: calc(var(--header-h) + 70px);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(44, 138, 143, 0.92), rgba(44, 138, 143, 0.54));
}

.cta-band__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1.2rem;
  font-size: 1.12rem;
}

.cta-band .hero__actions {
  justify-content: center;
  margin-top: 2.4rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .info-card:hover {
    border-color: var(--line-strong);
  }
}

.info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--bg-tint);
  color: var(--green-deep);
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
}

.info-card h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.info-card a,
.info-card p {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}

.info-card a:hover {
  color: var(--green-deep);
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-wrap h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.form-wrap>p {
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field label .req {
  color: var(--green-deep);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(83, 191, 196, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted-light);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--bg-tint);
  color: var(--green-deep);
  border: 1px solid rgba(83, 191, 196, 0.4);
}

.form-status.is-error {
  background: #fdecec;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}

/* ---------- Map ---------- */
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

/* ---------- Brochure download ---------- */
.brochure {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.brochure__text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.brochure__text p {
  margin-top: 0.7rem;
}

.brochure__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.brochure__row {
  display: flex;
  gap: 0.75rem;
}

.brochure__row input[type="email"] {
  min-width: 250px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.brochure__row input[type="email"]:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(83, 191, 196, 0.16);
}

.brochure__note {
  font-size: 0.85rem;
  color: var(--green-deep);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.brochure__note.is-visible {
  opacity: 1;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .brochure {
    grid-template-columns: 1fr;
  }

  .brochure__row {
    flex-direction: column;
  }

  .brochure__row input[type="email"] {
    min-width: 0;
    width: 100%;
  }

  .brochure__form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 24px;
  margin-bottom: 1.25rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer h5 {
  font-family: var(--mono);
  color: #fff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-out);
}

.footer__links a:hover {
  color: var(--green);
}

.footer__contact {
  display: grid;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom a {
  transition: color 0.2s var(--ease-out);
}

.footer__bottom a:hover {
  color: var(--green);
}

/* ---------- Reveal ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js-reveal .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js-reveal .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .header__actions .btn {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform 0.38s var(--ease-out);
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav__item {
    display: block;
  }

  .nav__link {
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: space-between;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link--parent .nav__chev {
    transition: transform 0.25s var(--ease-out);
  }

  .nav__item.is-expanded .nav__chev {
    transform: rotate(180deg);
  }

  .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: var(--bg-alt);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
  }

  .nav__item.is-expanded .dropdown {
    max-height: 420px;
  }

  .dropdown__link {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .dropdown__desc {
    display: none;
  }

  .grid--3,
  .grid--4,
  .matrix,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .media--reverse .media__text {
    order: 0;
  }

  .media__img img {
    min-height: 300px;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .grid--3,
  .grid--4,
  .grid--2,
  .matrix {
    grid-template-columns: 1fr;
  }

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

  .stat {
    padding: 1.4rem 1.1rem;
  }

  .stat__num {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .stat__label {
    font-size: 0.72rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero__actions .btn,
  .cta-band__inner .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__cue {
    display: none;
  }

  .section-head .lead {
    font-size: 1.02rem;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }

  .img-reveal img {
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  .hero__content>*,
  .page-hero .breadcrumb,
  .page-hero h1,
  .page-hero__lead {
    opacity: 1;
    transform: none;
  }

  /* The brand ticker is an explicitly requested continuous element, keep it rolling */
  .marquee__track {
    animation: marquee 30s linear infinite !important;
  }
}