/* ============================================================
   AKIMO GROUP — Main Stylesheet
   ============================================================ */

:root {
  --red-oil:      #d32f2f;
  --blue-water:   #0288d1;
  --orange-motor: #f57c00;
  --green-eco:    #2e7d32;
  --bg:           #f4f1ea;
  --text-dark:    #1a1a1a;
  --nav-height:   72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 100;
}

.navbar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
}

.navbar__logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* ── CRYSTALLINE SAPWOOD DROPDOWN ───────────────────────── */
.navbar__menu {
  position: relative;
}

/* Navbar actions group: menu + contact */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Home link to the left of Ecosystems */
.navbar__home {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.navbar__home:hover {
  background: #0a0a0a;
  color: white;
  border-color: #0a0a0a;
}

.navbar__home::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(45deg);
  transition: 0.7s;
  pointer-events: none;
}

.navbar__home:hover::before {
  left: 100%;
}

/* Separate Contact link next to Ecosystems */
.navbar__contact {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.navbar__contact:hover {
  background: #0a0a0a;
  color: white;
  border-color: #0a0a0a;
}

.navbar__contact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(45deg);
  transition: 0.7s;
  pointer-events: none;
}

.navbar__contact:hover::before {
  left: 100%;
}

/* Trigger button — glassmorphism with shimmer */
.navbar__menu-btn {
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.navbar__menu-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(45deg);
  transition: 0.7s;
  pointer-events: none;
}

.navbar__menu-btn:hover::before {
  left: 100%;
}

.menu-label {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.menu-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}

.navbar__menu.is-open .menu-icon {
  transform: rotate(-135deg) translate(-4px, -4px);
}

/* Dropdown panel — solid glassmorphism with skew entrance */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: 320px;
  list-style: none;
  margin: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) skewX(-1deg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(25px) saturate(140%);
  -webkit-backdrop-filter: blur(25px) saturate(140%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.3);
  z-index: 200;
}

.navbar__menu.is-open .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) skewX(0);
}

/* Wood refraction corner accent */
.navbar__dropdown::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 40px;
  height: 40px;
  border-right: 1px solid rgba(44, 36, 26, 0.1);
  border-bottom: 1px solid rgba(44, 36, 26, 0.1);
  pointer-events: none;
}

/* Menu items */
.dd-item {
  position: relative;
  margin-bottom: 4px;
  overflow: hidden;
}

.dd-item:last-child {
  margin-bottom: 0;
}

.dd-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
}

.dd-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.dd-index {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

/* Sap overlay — colour sweep on hover */
.dd-sap {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
  opacity: 0.15;
}

.dd-link:hover .dd-sap {
  left: 0;
}

/* Per-item colours */
.dd-item--oil .dd-sap    { background-color: var(--red-oil); }
.dd-item--oil:hover .dd-text { color: var(--red-oil); }

.dd-item--water .dd-sap  { background-color: var(--blue-water); }
.dd-item--water:hover .dd-text { color: var(--blue-water); }

.dd-item--motors .dd-sap { background-color: var(--orange-motor); }
.dd-item--motors:hover .dd-text { color: var(--orange-motor); }

.dd-item--farms .dd-sap  { background-color: var(--green-eco); }
.dd-item--farms:hover .dd-text { color: var(--green-eco); }

.dd-item--all .dd-sap    { background-color: var(--text-dark); opacity: 0.05; }
.dd-item--all:hover .dd-text { color: var(--text-dark); }

/* Hamburger (mobile) — hidden, dropdown works on all sizes */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  padding-top: var(--nav-height);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  margin-bottom: 1.2rem;
}

.hero__title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero__title span {
  display: block;
}

.hero__title .accent--red    { color: var(--red-oil); }
.hero__title .accent--blue   { color: var(--blue-water); }
.hero__title .accent--orange { color: var(--orange-motor); }
.hero__title .accent--green  { color: var(--green-eco); }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.65);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero__dot--red    { background: var(--red-oil); }
.hero__dot--blue   { background: var(--blue-water); }
.hero__dot--orange { background: var(--orange-motor); }
.hero__dot--green  { background: var(--green-eco); }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2.5rem;
  padding: 14px 28px;
  background: var(--text-dark);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.hero__cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(45deg);
  transition: 0.7s;
  pointer-events: none;
}

.hero__cta:hover::after {
  left: 100%;
}

.hero__cta:hover {
  background: var(--orange-motor);
  color: var(--text-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 95, 0, 0.25);
}

.hero__cta::before {
  content: '→';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.hero__cta:hover::before {
  transform: translateX(4px);
}

/* Decorative background logo watermark */
.hero__bg-shape {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
  z-index: 0;
  width: auto;
  height: 60vh;
  max-width: 500px;
  pointer-events: none;
}

/* ── SEDIMENT LAYERS ────────────────────────────────────── */
.sediment-layer {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 8vw 5vw;
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
  margin-top: -8vh;
  border-bottom: 8px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.7s cubic-bezier(0.23, 1, 0.32, 1), z-index 0s;
  overflow: hidden;
  will-change: transform, box-shadow;
  z-index: 1;
}

.sediment-layer:hover {
  transform: scale(1.03) translateY(-12px);
  z-index: 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  filter: brightness(1.04);
}

.layer--red    { background: var(--red-oil);      color: white; }
.layer--blue   { background: var(--blue-water);   color: white; }
.layer--orange { background: var(--orange-motor); color: white; }
.layer--green  { background: var(--green-eco);    color: white; }

/* Grain texture overlay */
.grain-texture {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layer content */
.layer__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.layer__division {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.layer__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 1.4rem;
}

.layer__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.88;
  max-width: 480px;
  margin-bottom: 1.8rem;
}

/* Division tags (sub-brands) */
.layer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.layer__tag {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Eco badge (green layer) */
.eco-badge {
  background: white;
  color: var(--green-eco);
  padding: 8px 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  display: inline-block;
  margin-top: 1.2rem;
}

/* Decorative large number */
.layer__number {
  position: absolute;
  right: 5vw;
  bottom: -0.1em;
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.06;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* ── STRETCHED LINK (entire section clickable) ──────────── */
.sediment-layer {
  cursor: pointer;
}

.sediment-layer .layer__stretched-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-indent: -9999px;
  overflow: hidden;
}

/* Keep tags and eco-badge above the stretched link */
.sediment-layer .layer__tags,
.sediment-layer .eco-badge {
  position: relative;
  z-index: 6;
}

/* ── SUB-PAGE HERO ──────────────────────────────────────── */
.sub-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  color: white;
}

.sub-hero--red    { background: var(--red-oil); }
.sub-hero--blue   { background: var(--blue-water); }
.sub-hero--orange { background: var(--orange-motor); }
.sub-hero--green  { background: var(--green-eco); }

.sub-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.sub-hero__division {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.sub-hero__title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
}

.sub-hero__desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  opacity: 0.88;
  max-width: 520px;
}

.sub-hero__number {
  position: absolute;
  right: 3vw;
  bottom: -0.08em;
  font-size: clamp(12rem, 26vw, 24rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.06;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* ── SUB-PAGE SECTIONS ──────────────────────────────────── */
.sub-section {
  padding: 6rem 5vw;
  max-width: 960px;
  margin: 0 auto;
}

.sub-section--alt {
  background: rgba(0, 0, 0, 0.02);
}

.sub-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  margin-bottom: 1rem;
}

.sub-section__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.sub-section__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.7);
  max-width: 640px;
}

.sub-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.sub-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sub-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sub-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.sub-card__icon--red    { background: rgba(211, 47, 47, 0.1);    color: var(--red-oil); }
.sub-card__icon--blue   { background: rgba(2, 136, 209, 0.1);    color: var(--blue-water); }
.sub-card__icon--orange { background: rgba(245, 124, 0, 0.1);    color: var(--orange-motor); }
.sub-card__icon--green  { background: rgba(46, 125, 50, 0.1);    color: var(--green-eco); }

.sub-card__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.sub-card__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.6);
}

/* ── BACK LINK ──────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.6;
}

.back-link__arrow {
  font-size: 1.1rem;
  line-height: 1;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: -6vh;
}

.footer__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer__copy {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer__divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__divisions span { opacity: 0.5; }
.footer__divisions span:hover { opacity: 1; transition: opacity 0.2s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar__dropdown {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .navbar__menu-btn {
    padding: 8px 16px;
    gap: 12px;
  }

  .menu-label {
    font-size: 10px;
  }

  .sediment-layer {
    clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
    min-height: 60vh;
    padding: 14vw 6vw;
    margin-top: -4vh;
  }

  .layer__number {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    letter-spacing: -0.02em;
  }

  .layer__tags {
    gap: 0.5rem;
  }
}

/* ── NAV PAGE ───────────────────────────────────────────── */
.nav-page {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) 5vw 3rem;
}

.nav-page__logo {
  margin-bottom: 2rem;
}

.nav-page__logo img {
  height: 80px;
  width: auto;
}

.nav-page__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.nav-page__sub {
  font-size: 1rem;
  color: rgba(26, 26, 26, 0.5);
  margin-bottom: 3rem;
  text-align: center;
}

.nav-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
}

.nav-card {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.nav-card--red    { background: var(--red-oil); }
.nav-card--blue   { background: var(--blue-water); }
.nav-card--orange { background: var(--orange-motor); }
.nav-card--green  { background: var(--green-eco); }
.nav-card--home   { background: var(--text-dark); }

.nav-card__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.nav-card__title {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.nav-card__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

.nav-card__arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-card:hover .nav-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .nav-page__grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════
   OIL & GAS — TECTONIC INDUSTRIAL DESIGN
   ════════════════════════════════════════════════════════════════ */

.og-page {
  --og-light: #FFF1F1;
  --og-flux: #FF3E3E;
  --og-deep: #3D0A0A;
  --og-grey: #2A2A2A;
  --og-stroke: rgba(255, 62, 62, 0.15);
  --og-ease: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

  background-color: var(--og-light);
  color: var(--og-grey);
  line-height: 1.2;
}

/* Tint navbar on Oil & Gas page */
.og-page .navbar {
  background: rgba(255, 241, 241, 0.92);
  border-bottom: 1px solid rgba(255, 62, 62, 0.08);
}

.og-page .navbar__menu-btn {
  background: rgba(255, 241, 241, 0.85);
  border: 1px solid rgba(255, 62, 62, 0.1);
}

.og-page .navbar__dropdown {
  background: rgba(255, 241, 241, 0.95);
  border: 1px solid rgba(255, 62, 62, 0.1);
}

/* Noise overlay */
.og-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Animated flux background lines */
.og-flux-bg {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  top: 0;
  left: 0;
}

.og-flux-line {
  position: absolute;
  background: var(--og-flux);
  height: 1px;
  width: 100%;
  transform-origin: left;
  animation: ogFlux 4s infinite alternate ease-in-out;
}

@keyframes ogFlux {
  0%   { transform: scaleX(0.1); opacity: 0.05; }
  100% { transform: scaleX(1);   opacity: 0.2; }
}

/* Mono label */
.og-mono {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--og-flux);
}

/* System status bar (replaces the reference nav) */
.og-statusbar {
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--og-stroke);
  margin-top: var(--nav-height);
}

.og-statusbar__title {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--og-deep);
}

/* Main content */
.og-main {
  padding: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero grid */
.og-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-top: 4rem;
}

.og-hero h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--og-deep);
  margin-bottom: 2rem;
}

.og-hero .og-desc {
  font-size: 1.5rem;
  color: var(--og-grey);
  max-width: 600px;
  margin-top: 4rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Tectonic data grid */
.og-tectonic {
  border-left: 1px solid var(--og-flux);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.og-data-point {
  margin-bottom: 3rem;
  position: relative;
}

.og-data-point::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 1.5rem;
  height: 1px;
  background: var(--og-flux);
}

.og-data-value {
  font-family: 'Courier New', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--og-flux);
}

/* CTA button */
.og-cta {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.5rem 4rem;
  background: var(--og-flux);
  color: white;
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: var(--og-ease);
}

.og-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 62, 62, 0.2);
}

.og-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.og-cta:hover::after {
  left: 100%;
}

/* Energy flow visual */
.og-flow {
  height: 500px;
  width: 100%;
  border: 1px solid var(--og-stroke);
  margin-top: 6rem;
  position: relative;
  background: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.og-pressure-bar {
  flex: 1;
  background: var(--og-flux);
  margin: 0 2px;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-height: 5%;
}

.og-pressure-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--og-deep);
}

.og-section-tag {
  writing-mode: vertical-rl;
  position: absolute;
  right: 0;
  top: 0;
  padding: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--og-flux);
  border-left: 1px solid var(--og-stroke);
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.og-stats-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--og-flux);
}

.og-stats-overlay__title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-top: 0.5rem;
  color: var(--og-deep);
}

.og-stats-overlay__coord {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: #666;
  margin-top: 0.3rem;
}

/* Capabilities section */
.og-caps {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.og-caps__heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--og-deep);
  margin-bottom: 3rem;
}

.og-caps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--og-stroke);
  border-left: 1px solid var(--og-stroke);
}

.og-cap-card {
  padding: 2.5rem;
  border-right: 1px solid var(--og-stroke);
  border-bottom: 1px solid var(--og-stroke);
  position: relative;
  transition: var(--og-ease);
}

.og-cap-card:hover {
  background: rgba(255, 62, 62, 0.03);
}

.og-cap-card__num {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--og-flux);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.og-cap-card__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--og-deep);
  margin-bottom: 0.75rem;
}

.og-cap-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--og-grey);
  opacity: 0.75;
}

/* Back link */
.og-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--og-deep);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  transition: opacity 0.2s ease;
}

.og-back:hover {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .og-hero {
    grid-template-columns: 1fr;
  }
  .og-main, .og-caps {
    padding: 2rem;
  }
  .og-statusbar {
    padding: 1rem 2rem;
  }
}

@media (max-width: 768px) {
  .og-flow {
    height: 300px;
  }
  .og-section-tag {
    display: none;
  }
  .og-stats-overlay {
    padding: 1rem;
    bottom: 1rem;
    left: 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   WATER & BEVERAGES — HYDRO-LOGISTICS DESIGN
   ════════════════════════════════════════════════════════════════ */

.wb-page {
  --wb-cobalt: #0047AB;
  --wb-cobalt-deep: #002D6B;
  --wb-cobalt-light: #4D88FF;
  --wb-cream: #f4f1ea;
  --wb-cream-light: #faf8f3;
  --wb-cream-dark: #e8e2d6;
  --wb-gray: #d6cfc2;
  --wb-text: #1a1a1a;
  --wb-ease: cubic-bezier(0.23, 1, 0.32, 1);

  background-color: var(--wb-cream);
  color: var(--wb-cobalt-deep);
}

.wb-mono {
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

/* Background liquid blobs */
.wb-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wb-liquid-blob {
  position: absolute;
  background: var(--wb-cobalt);
  filter: blur(80px);
  opacity: 0.05;
  border-radius: 50%;
  animation: wb-pulse 15s infinite alternate var(--wb-ease);
}

@keyframes wb-pulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.5) translate(10%, 10%); }
}

/* Status bar */
.wb-statusbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  border-bottom: 1px solid var(--wb-gray);
  background: var(--wb-cream);
}

.wb-statusbar__title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--wb-cobalt-deep);
}

/* Main content */
.wb-main {
  position: relative;
  z-index: 2;
  padding: 0 5vw;
}

.wb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wb-cobalt-deep);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.5rem 0;
  transition: opacity 0.2s ease;
}

.wb-back:hover {
  opacity: 0.6;
}

/* Hero */
.wb-hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 2rem 0;
}

.wb-hero-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wb-status-dot {
  width: 8px;
  height: 8px;
  background: var(--wb-cobalt);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--wb-cobalt);
  animation: wb-dot-pulse 2s ease-in-out infinite;
}

@keyframes wb-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.wb-hero h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--wb-cobalt);
  margin-bottom: 2rem;
}

.wb-hero-sub {
  max-width: 600px;
  font-size: 1.25rem;
  color: var(--wb-cobalt-deep);
  font-weight: 300;
  line-height: 1.5;
}

.wb-cta {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.25rem 3rem;
  background: var(--wb-cobalt);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.wb-cta:hover {
  background: var(--wb-cobalt-deep);
  padding-right: 4rem;
}

/* Pneumatic grid overlay */
.wb-pneumatic-grid {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: var(--wb-cobalt);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wb-flow-line {
  position: absolute;
  width: 1px;
  height: 200%;
  background: rgba(255,255,255,0.1);
  left: calc(var(--wb-i, 0) * 10%);
  animation: wb-flow-down 10s linear infinite;
}

@keyframes wb-flow-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0%); }
}

.wb-glass-module {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  border-radius: 2px;
  width: 280px;
  transform: translateX(50px) translateY(0px);
}

.wb-glass-module__label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.wb-glass-module__value {
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
}

.wb-glass-module__unit {
  font-size: 1rem;
  opacity: 0.6;
}

.wb-glass-module__bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 1.5rem 0;
}

.wb-glass-module__bar-fill {
  width: 65%;
  height: 100%;
  background: white;
}

.wb-glass-module__flow {
  color: rgba(255,255,255,0.7);
}

/* Stats strip */
.wb-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--wb-gray);
  border-bottom: 1px solid var(--wb-gray);
  padding: 4rem 5vw;
  background: var(--wb-cream);
  position: relative;
  z-index: 2;
}

.wb-stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--wb-cobalt);
  margin: 0.5rem 0;
}

.wb-stat-item p {
  color: #5a5a5a;
}

/* Logistics section */
.wb-logistics {
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wb-hydro-card {
  background: var(--wb-cream-light);
  padding: 3rem;
  border-left: 4px solid var(--wb-cobalt);
  position: relative;
  transition: transform 0.6s var(--wb-ease);
}

.wb-hydro-card:hover {
  transform: translateY(-10px);
}

.wb-pressure-gauge {
  width: 60px;
  height: 60px;
  border: 2px solid var(--wb-cobalt);
  border-radius: 50%;
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wb-gauge-needle {
  width: 2px;
  height: 25px;
  background: var(--wb-cobalt);
  transform-origin: bottom;
  animation: wb-needle 4s ease-in-out infinite;
}

@keyframes wb-needle {
  0%, 100% { transform: rotate(-45deg); }
  50% { transform: rotate(45deg); }
}

.wb-hydro-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--wb-cobalt-deep);
}

.wb-hydro-card__text {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.wb-hydro-card__list {
  list-style: none;
  padding: 0;
}

.wb-hydro-card__list li {
  margin-bottom: 0.5rem;
}

/* Logistics radar */
.wb-radar {
  position: relative;
}

.wb-radar svg {
  width: 100%;
  height: auto;
  stroke: var(--wb-cobalt);
  stroke-width: 1;
  fill: none;
  opacity: 0.2;
}

.wb-radar__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.wb-radar__center h3 {
  font-size: 1.5rem;
  color: var(--wb-cobalt-deep);
}

/* Capabilities */
.wb-caps {
  padding: 4rem 5vw 6rem;
  position: relative;
  z-index: 2;
}

.wb-caps__heading {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--wb-cobalt-deep);
  margin-bottom: 2rem;
}

.wb-caps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.wb-cap-card {
  background: var(--wb-cream-light);
  padding: 2.5rem;
  border-left: 4px solid var(--wb-cobalt);
  transition: transform 0.4s var(--wb-ease);
}

.wb-cap-card:hover {
  transform: translateY(-6px);
}

.wb-cap-card__num {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wb-cobalt);
  margin-bottom: 1rem;
}

.wb-cap-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wb-cobalt-deep);
  margin-bottom: 0.75rem;
}

.wb-cap-card__text {
  color: #5a5a5a;
  line-height: 1.6;
}

.wb-cap-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.wb-radar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .wb-pneumatic-grid { display: none; }
  .wb-stats-strip { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .wb-logistics { grid-template-columns: 1fr; }
  .wb-radar { min-height: 300px; }
  .wb-caps__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wb-hero h1 { font-size: 3rem; }
  .wb-hero-sub { font-size: 1rem; }
  .wb-stat-item h3 { font-size: 2rem; }
  .wb-hydro-card { padding: 2rem; }
  .wb-cap-card { padding: 1.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   MOTORS & LOGISTICS — KINETIC MOTION DESIGN
   ════════════════════════════════════════════════════════════════ */

.ml-page {
  --ml-orange: #FF5F00;
  --ml-white: #FFFFFF;
  --ml-black: #0A0A0A;
  --ml-gray: #F2F2F2;
  --ml-piston-speed: 0.7s;
  --ml-piston-ease: cubic-bezier(0.85, 0, 0.15, 1);

  background-color: var(--ml-white);
  color: var(--ml-black);
  line-height: 1.1;
}

.ml-mono {
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Tint navbar on Motors & Logistics page */
.ml-page .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 95, 0, 0.08);
}

.ml-page .navbar__menu-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 95, 0, 0.1);
}

.ml-page .navbar__dropdown {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 95, 0, 0.1);
}

/* Main container */
.ml-main {
  position: relative;
  z-index: 2;
}

.ml-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ml-black);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.5rem 5vw;
  transition: opacity 0.2s ease;
}

.ml-back:hover {
  opacity: 0.6;
}

/* Hero */
.ml-hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--nav-height) + 4rem) 5vw 3rem;
  position: relative;
}

.ml-hero-label {
  margin-bottom: 1rem;
  color: var(--ml-orange);
}

.ml-hero h1 {
  font-size: clamp(3rem, 12vw, 15rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--ml-orange);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

/* Piston gridwork */
.ml-piston-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 70vh;
  border-top: 1px solid var(--ml-black);
  background: var(--ml-black);
  gap: 1px;
  overflow: hidden;
}

.ml-piston-cell {
  background: var(--ml-white);
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --base-y: 0px;
  --parallax-y: 0px;
  --reveal-y: 0px;
  transform: translateY(calc(var(--base-y) + var(--parallax-y) + var(--reveal-y)));
  transition: transform var(--ml-piston-speed) var(--ml-piston-ease), color 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.ml-piston-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--ml-orange);
  transition: height var(--ml-piston-speed) var(--ml-piston-ease);
  z-index: 0;
}

.ml-piston-cell:hover {
  --base-y: -20px;
}

.ml-piston-cell:hover::after {
  height: 100%;
}

.ml-piston-cell:nth-child(even) {
  --base-y: 20px;
}

.ml-piston-cell:nth-child(even):hover {
  --base-y: 0px;
}

.ml-cell-content {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.ml-piston-cell:hover .ml-cell-content {
  color: var(--ml-white);
}

.ml-piston-cell:hover .ml-mono {
  color: rgba(255,255,255,0.7);
}

.ml-cell-num {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.ml-cell-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 150px;
}

.ml-cell-footer {
  margin-top: auto;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.ml-piston-cell:hover .ml-cell-footer {
  color: var(--ml-white);
}

/* Orchestration section */
.ml-orchestration {
  padding: 4rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.ml-orchestration h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  max-width: 500px;
  color: var(--ml-black);
}

.ml-orchestration-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ml-orchestration-details p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 450px;
  color: #555;
  line-height: 1.6;
}

.ml-orchestration-status {
  border-left: 4px solid var(--ml-orange);
  padding-left: 1rem;
}

/* Unit detail subsections */
.ml-units {
  padding: 4rem 5vw;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ml-unit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  background: var(--ml-white);
  border: 1px solid var(--ml-gray);
  transition: transform 0.5s var(--ml-piston-ease), box-shadow 0.5s var(--ml-piston-ease);
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.ml-unit-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.ml-unit-section:nth-child(even) {
  direction: rtl;
}

.ml-unit-section:nth-child(even) > * {
  direction: ltr;
}

.ml-unit__num {
  font-size: 6rem;
  font-weight: 900;
  color: var(--ml-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ml-unit__label {
  margin-bottom: 1rem;
  color: var(--ml-orange);
}

.ml-unit-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ml-black);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.ml-unit-section p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}

.ml-unit-section ul {
  list-style: none;
  padding: 0;
}

.ml-unit-section li {
  margin-bottom: 0.75rem;
}

.ml-unit__visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ml-black);
  color: var(--ml-white);
  position: relative;
  overflow: hidden;
}

.ml-unit__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ml-orange);
  opacity: 0.1;
}

.ml-unit__visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ml-unit__visual-num {
  font-size: 8rem;
  font-weight: 900;
  color: var(--ml-orange);
  line-height: 1;
}

/* Make piston cells link to unit sections */
.ml-piston-cell {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.ml-piston-cell:focus {
  outline: 3px solid var(--ml-orange);
  outline-offset: -3px;
}

/* Unit detail page layout */
.ml-unit-detail {
  padding: 4rem 5vw;
}

.ml-unit-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  background: var(--ml-white);
  border: 1px solid var(--ml-gray);
  transition: transform 0.5s var(--ml-piston-ease), box-shadow 0.5s var(--ml-piston-ease);
}

.ml-unit-detail__grid:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.ml-unit-detail__grid:nth-child(even) {
  direction: rtl;
}

.ml-unit-detail__grid:nth-child(even) > * {
  direction: ltr;
}

.ml-unit-detail h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ml-black);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.ml-unit-detail p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}

.ml-unit-detail ul {
  list-style: none;
  padding: 0;
}

.ml-unit-detail li {
  margin-bottom: 0.75rem;
}

/* Unit highlights */
.ml-unit-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ml-black);
  border-top: 1px solid var(--ml-black);
  border-bottom: 1px solid var(--ml-black);
}

.ml-unit-highlight {
  background: var(--ml-white);
  padding: 3rem;
  text-align: center;
  transition: background 0.3s ease;
}

.ml-unit-highlight:hover {
  background: var(--ml-gray);
}

.ml-unit-highlight__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ml-orange);
  margin-bottom: 0.5rem;
}

/* Unit CTA */
.ml-unit-cta {
  padding: 6rem 5vw;
  text-align: center;
}

.ml-unit-cta h2 {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--ml-black);
}

/* Motion marquee */
.ml-motion-strip {
  background: var(--ml-orange);
  padding: 1.5rem 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.ml-marquee {
  display: flex;
  animation: ml-scroll 20s linear infinite;
}

.ml-marquee span {
  font-size: 5rem;
  font-weight: 900;
  color: var(--ml-white);
  text-transform: uppercase;
  padding: 0 2rem;
}

@keyframes ml-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA */
.ml-cta {
  display: inline-block;
  background: var(--ml-orange);
  color: var(--ml-white);
  padding: 1.5rem 3rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.ml-cta:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .ml-piston-container {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .ml-piston-cell {
    height: 400px;
  }
  .ml-orchestration {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .ml-unit-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .ml-unit-section:nth-child(even) {
    direction: ltr;
  }
  .ml-unit__visual {
    min-height: 200px;
  }
  .ml-unit__visual-num {
    font-size: 5rem;
  }
  .ml-unit-detail__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .ml-unit-detail__grid:nth-child(even) {
    direction: ltr;
  }
  .ml-unit-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ml-hero h1 {
    font-size: 3rem;
  }
  .ml-piston-container {
    grid-template-columns: 1fr;
  }
  .ml-piston-cell {
    height: 300px;
  }
  .ml-marquee span {
    font-size: 3rem;
  }
  .ml-units {
    padding: 2rem 5vw;
  }
  .ml-unit-section {
    padding: 1.5rem;
  }
  .ml-unit-section h2 {
    font-size: 1.8rem;
  }
  .ml-unit__num {
    font-size: 4rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   FARMS — TERRACE & STAGGER GRID DESIGN
   ════════════════════════════════════════════════════════════════ */

.farms-page {
  --farms-green: #166534;
  --farms-green-light: #15803d;
  --farms-green-pale: #dcfce7;
  --farms-green-bg: #f0fdf4;
  --farms-cream: #f6f5f0;
  --farms-black: #052e16;
  --farms-ease: cubic-bezier(0.16, 1, 0.3, 1);

  background-color: var(--farms-cream);
  color: var(--farms-black);
  line-height: 1.1;
}

.farms-page .navbar {
  background: rgba(246, 245, 240, 0.92);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

.farms-page .navbar__menu-btn {
  background: rgba(246, 245, 240, 0.85);
  border: 1px solid rgba(22, 101, 52, 0.1);
}

.farms-page .navbar__dropdown {
  background: rgba(246, 245, 240, 0.95);
  border: 1px solid rgba(22, 101, 52, 0.1);
}

.farms-main {
  position: relative;
  z-index: 2;
}

.farms-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--farms-black);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.5rem 5vw;
  transition: opacity 0.2s ease;
}

.farms-back:hover {
  opacity: 0.6;
}

/* Terrace hero */
.farms-hero {
  min-height: 90vh;
  display: flex;
  padding: 2rem;
  gap: 2rem;
  padding-top: calc(var(--nav-height) + 2rem);
}

.farms-hero__left {
  flex: 1;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  background: var(--farms-green);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.farms-hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.farms-hero__left > * {
  position: relative;
  z-index: 2;
}

.farms-hero__left h1 {
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 1.5rem;
}

.farms-hero__left p {
  max-width: 340px;
  font-size: 1.1rem;
  opacity: 0.85;
  font-family: 'Courier New', monospace;
}

.farms-hero__right {
  width: 33.333%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.farms-hero__card {
  flex: 1;
  background: white;
  border: 2px solid var(--farms-green);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--farms-ease);
  position: relative;
  overflow: hidden;
}

.farms-hero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.8s var(--farms-ease);
}

.farms-hero__card:hover {
  transform: scale(0.98);
}

.farms-hero__card:hover::before {
  opacity: 0.28;
  transform: scale(1.05);
}

.farms-hero__card > * {
  position: relative;
  z-index: 1;
}

.farms-hero__card h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--farms-green);
  line-height: 1;
}

.farms-hero__card span {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.farms-hero__accent {
  height: 1px;
  width: 100%;
  background: var(--farms-green);
}

.farms-hero__text {
  height: 33.333%;
  background: var(--farms-green-pale);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.farms-hero__text p:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Courier New', monospace;
}

.farms-hero__text p:last-child {
  font-size: 1.25rem;
  font-style: italic;
  opacity: 0.8;
}

/* Stagger grid */
.farms-stagger {
  padding: 2rem;
}

.farms-stagger__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  background: var(--farms-green);
  border: 2px solid var(--farms-green);
  min-height: 600px;
}

.farms-stagger__cell {
  background: white;
  transition: transform 0.8s var(--farms-ease), color 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.farms-stagger__cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--farms-green);
  transition: height 0.4s ease;
  z-index: 0;
}

.farms-stagger__cell:hover {
  transform: scale(0.98);
  z-index: 10;
}

.farms-stagger__cell:hover::after {
  height: 100%;
}

.farms-stagger__cell:hover h3,
.farms-stagger__cell:hover p,
.farms-stagger__cell:hover span {
  color: white;
}

.farms-stagger__cell > * {
  position: relative;
  z-index: 2;
}

.farms-stagger__cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.25;
  transition: opacity 0.4s ease, transform 0.8s var(--farms-ease);
}

.farms-stagger__cell:hover img {
  opacity: 0.15;
  transform: scale(1.05);
}

.farms-stagger__cell--wide {
  grid-column: span 4;
  grid-row: span 2;
}

.farms-stagger__cell--tall {
  grid-column: span 8;
  grid-row: span 1;
}

.farms-stagger__cell--small {
  grid-column: span 4;
  grid-row: span 1;
}

.farms-stagger__cell h3 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.farms-stagger__cell p {
  font-size: 0.95rem;
  opacity: 0.7;
  max-width: 280px;
  transition: color 0.4s ease;
}

.farms-stagger__cell span {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

/* Info strip */
.farms-info {
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.farms-info h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--farms-green);
  line-height: 1;
  max-width: 400px;
}

.farms-info p {
  font-size: 1.15rem;
  color: #4a5d4a;
  line-height: 1.7;
  max-width: 520px;
}

/* Stats bar */
.farms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--farms-green);
  border-top: 2px solid var(--farms-green);
  border-bottom: 2px solid var(--farms-green);
}

.farms-stat {
  background: white;
  padding: 2.5rem;
  text-align: center;
  transition: background 0.3s ease;
}

.farms-stat:hover {
  background: var(--farms-green-pale);
}

.farms-stat__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--farms-green);
  margin-bottom: 0.5rem;
}

.farms-stat__label {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
  .farms-hero {
    flex-direction: column;
    min-height: auto;
  }
  .farms-hero__right {
    width: 100%;
    flex-direction: row;
  }
  .farms-hero__card {
    min-height: 250px;
  }
  .farms-hero__text {
    width: 50%;
    height: auto;
  }
  .farms-stagger__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .farms-stagger__cell--wide {
    grid-column: span 6;
    grid-row: span 2;
  }
  .farms-stagger__cell--tall {
    grid-column: span 6;
  }
  .farms-stagger__cell--small {
    grid-column: span 3;
  }
  .farms-info {
    grid-template-columns: 1fr;
  }
  .farms-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .farms-hero {
    padding: 1rem;
    padding-top: calc(var(--nav-height) + 1rem);
  }
  .farms-hero__left {
    padding: 1.5rem;
    min-height: 60vh;
  }
  .farms-hero__right {
    flex-direction: column;
  }
  .farms-hero__text {
    width: 100%;
  }
  .farms-stagger__grid {
    grid-template-columns: 1fr;
  }
  .farms-stagger__cell--wide,
  .farms-stagger__cell--tall,
  .farms-stagger__cell--small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 250px;
  }
  .farms-stats {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE — TECTONIC MONOLITH
   ════════════════════════════════════════════════════════════════ */

.contact-page {
  --bg: #f6f5f0;
  --oil: #e63946;
  --water: #00b4d8;
  --motors: #fca311;
  --farms: #2a9d8f;
  --text: #0a0a0a;
  --mono: 'Space Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  line-height: 1.2;
}

.contact-page .navbar {
  background: rgba(246, 245, 240, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-page .navbar__menu-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0a0a0a;
}

.contact-page .navbar__dropdown {
  background: rgba(246, 245, 240, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-page .menu-label,
.contact-page .dd-link {
  color: #0a0a0a;
}

.contact-page .dd-item--contact .dd-sap {
  background: var(--motors);
}

.contact-page .grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
}

.contact-page .monolith-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.contact-page .strata-nav {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg);
}

.contact-page .brand-header h1 {
  font-size: 1rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(0,0,0,0.5);
}

.contact-page .strata-footer p {
  color: rgba(0,0,0,0.3) !important;
}

.contact-page .sector-list {
  margin-top: 1.5rem;
}

.contact-page .sector-item {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  color: rgba(0,0,0,0.08);
  -webkit-text-stroke: 1px rgba(0,0,0,0.15);
  width: fit-content;
}

.contact-page .sector-item:hover,
.contact-page .sector-item.active {
  color: #0a0a0a;
  -webkit-text-stroke: 0px transparent;
  transform: translateX(20px);
}

.contact-page .sector-item span {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
  -webkit-text-stroke: 0;
  color: rgba(0,0,0,0.4);
}

.contact-page .content-stack {
  position: relative;
  background: white;
}

.contact-page .contact-monolith {
  padding: 4rem;
  background: white;
  min-height: 100vh;
}

.contact-page .form-header {
  margin-bottom: 4rem;
}

.contact-page .form-header h2 {
  font-size: 4rem;
  line-height: 0.8;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.contact-page .contact-info {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--motors);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--motors);
  padding-bottom: 5px;
}

.contact-page .contact-info:hover {
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.contact-page .input-group {
  position: relative;
  margin-bottom: 3rem;
}

.contact-page input,
.contact-page textarea,
.contact-page select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding: 1rem 0;
  color: #0a0a0a;
  font-family: var(--sans);
  font-size: 1.2rem;
  outline: none;
  transition: border-color 0.4s ease;
}

.contact-page select {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.contact-page input:focus,
.contact-page textarea:focus,
.contact-page select:focus {
  border-bottom: 1px solid #0a0a0a;
}

.contact-page select option {
  background: white;
  color: #0a0a0a;
}

.contact-page label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  transition: all 0.4s ease;
  pointer-events: none;
}

.contact-page input:focus + label,
.contact-page input:not(:placeholder-shown) + label,
.contact-page textarea:focus + label,
.contact-page textarea:not(:placeholder-shown) + label {
  top: -1rem;
  color: var(--farms);
}

.contact-page .submit-btn {
  background: #0a0a0a;
  color: white;
  border: none;
  padding: 1.5rem 4rem;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-page .submit-btn:hover {
  background: var(--motors);
  color: #0a0a0a;
  transform: translateY(-5px);
}

.contact-page .contact-details {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-page .contact-details h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
}

.contact-page .contact-details p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: rgba(0,0,0,0.8);
}

/* Ecosystem divider separating contact from sectors */
.contact-page .ecosystem-divider {
  padding: 2rem 4rem;
  background: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-page .ecosystem-divider__label {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.4);
  white-space: nowrap;
}

.contact-page .ecosystem-divider__line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.contact-page .visual-accent {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  width: 100px;
  height: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 10;
}

.contact-page .accent-box {
  width: 100%;
  height: 100%;
}

.contact-page .b1 { background: var(--oil); }
.contact-page .b2 { background: var(--water); }
.contact-page .b3 { background: var(--motors); }
.contact-page .b4 { background: var(--farms); }

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

.contact-page .animate {
  animation: contactSlideUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@media (max-width: 1024px) {
  .contact-page .monolith-container { grid-template-columns: 1fr; }
  .contact-page .strata-nav {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .contact-page .visual-accent {
    display: none;
  }
  .contact-page .form-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-page .strata-nav,
  .contact-page .contact-monolith {
    padding: 2rem;
  }
  .contact-page .sector-item {
    font-size: 2rem;
  }
  .contact-page .contact-details {
    grid-template-columns: 1fr;
  }
  .contact-page .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
