/* ============================================
   AETHU GROUP — DESIGN SYSTEM v2
   Stripe-inspired industrial engineering aesthetic
   ============================================ */

/* ---- TOKENS ---- */
:root {
  --primary: #d96b50;
  --primary-h: 13;
  --primary-s: 62%;
  --primary-l: 58%;
  --primary-light: #e8886f;
  --primary-dark: #b8503a;
  --primary-glow: rgba(217, 107, 80, 0.25);
  --primary-ghost: rgba(217, 107, 80, 0.08);

  --bg: #09090b;
  --bg-elevated: #111114;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --bg-light: #fafafa;
  --bg-light-card: #ffffff;

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-inverse: #09090b;

  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-accent: rgba(217, 107, 80, 0.3);
  --border-light: rgba(0,0,0,0.06);

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-y: clamp(6rem, 14vh, 10rem);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-weight: 400; line-height: 1.65; color: var(--text-primary); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.text-gradient { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #e8a06f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mono { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.label::before { content: ''; width: 24px; height: 1px; background: var(--primary); }

/* ---- LAYOUT ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

.section--dark { background: var(--bg); color: var(--text-primary); }
.section--darker { background: var(--bg-elevated); color: var(--text-primary); }
.section--light { background: var(--bg-light); color: var(--text-inverse); }
.section--light .label { color: var(--primary-dark); }
.section--light .label::before { background: var(--primary-dark); }
.section--light .section__title { color: var(--text-inverse); }
.section--light .section__body { color: #52525b; }

.section__title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.section__body { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--text-secondary); line-height: 1.75; max-width: 560px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: var(--radius-xs); transition: all 0.4s var(--ease); white-space: nowrap; position: relative; overflow: hidden; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 100%); opacity: 0; transition: opacity 0.4s; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--primary-glow), 0 2px 8px var(--primary-glow); }
.btn--primary:hover::before { opacity: 1; }

.btn--outline { border: 1px solid var(--border-hover); color: var(--text-secondary); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }

.btn--ghost { color: var(--primary); padding: 0; }
.btn--ghost::after { content: '→'; transition: transform 0.3s var(--ease); display: inline-block; margin-left: 0.5rem; }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--lg { padding: 1.1rem 2.8rem; font-size: 0.78rem; }
.btn--full { width: 100%; }

/* ---- HEADER ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 0; transition: all 0.5s var(--ease-smooth); }
.site-header.is-scrolled { background: rgba(9,9,11,0.85); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.header-inner { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 0.75rem; z-index: 101; }
.logo-mark { transition: transform 0.3s var(--ease); }
.logo:hover .logo-mark { transform: scale(1.05); }
.logo-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: var(--text-primary); display: block; }
.logo-sub { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.2em; color: var(--text-tertiary); display: block; margin-top: 1px; }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 900px) { .main-nav { display: flex; } .menu-btn { display: none !important; } }

.nav-link { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--text-tertiary); padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: all 0.3s var(--ease); }
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.is-active { color: var(--text-primary); }
.nav-link--cta { background: var(--primary); color: #fff !important; margin-left: 0.5rem; }
.nav-link--cta:hover { background: var(--primary-light); box-shadow: 0 4px 20px var(--primary-glow); }

/* Hamburger */
.menu-btn { width: 28px; height: 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; z-index: 101; }
.menu-btn__line { width: 100%; height: 1.5px; background: var(--text-primary); transition: all 0.4s var(--ease); transform-origin: center; }
.menu-btn.is-open .menu-btn__line:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn.is-open .menu-btn__line:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay { position: fixed; inset: 0; background: var(--bg); z-index: 99; display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-smooth); }
.mobile-overlay.is-open { opacity: 1; pointer-events: all; }
.mobile-link { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 700; color: var(--text-primary); display: block; padding: 0.4rem 0; opacity: 0; transform: translateY(20px); transition: color 0.3s; }
.mobile-link:hover { color: var(--primary); }
.mobile-overlay.is-open .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-footer { position: absolute; bottom: 3rem; left: var(--gutter); }
.mobile-footer-link { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 0.5rem; }

/* ---- HERO ---- */
.hero { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; position: relative; overflow: hidden; }

/* Animated mesh gradient background */
.hero__gradient { position: absolute; inset: 0; z-index: 0; }
.hero__gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform; }
.hero__gradient-orb--1 { width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; background: radial-gradient(circle, var(--primary) 0%, rgba(217,107,80,0) 70%); top: -15%; right: -10%; animation: orb-drift-1 18s ease-in-out infinite; }
.hero__gradient-orb--2 { width: 50vw; height: 50vw; max-width: 500px; max-height: 500px; background: radial-gradient(circle, #e8a06f 0%, rgba(232,160,111,0) 70%); bottom: -10%; left: -5%; animation: orb-drift-2 22s ease-in-out infinite; opacity: 0.35; }
.hero__gradient-orb--3 { width: 35vw; height: 35vw; max-width: 400px; max-height: 400px; background: radial-gradient(circle, #b8503a 0%, rgba(184,80,58,0) 70%); top: 40%; left: 30%; animation: orb-drift-3 15s ease-in-out infinite; opacity: 0.25; }

@keyframes orb-drift-1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-40px, 30px) scale(1.05); } 66% { transform: translate(20px, -20px) scale(0.95); } }
@keyframes orb-drift-2 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.08); } 66% { transform: translate(-20px, 20px) scale(0.92); } }
@keyframes orb-drift-3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, -30px) scale(1.1); } }

/* Blueprint grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.45;

  background-image:
    linear-gradient(rgba(217,107,80,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,107,80,0.03) 1px, transparent 1px),
    url("/images/herobackground2.jpg");

  background-size:
    60px 60px,
    60px 60px,
    cover;

  background-position:
    center,
    center,
    center;

  background-repeat:
    repeat,
    repeat,
    no-repeat;

  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

/* Noise texture overlay */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0.03; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); pointer-events: none; }

/* Two-column hero layout — same max-width as all other sections */
.hero__container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding-top: 8rem; padding-bottom: 5rem; }
@media (min-width: 960px) {
  .hero__container { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 4vw, 4rem); }
}

/* LEFT COLUMN — copy */
.hero__copy { max-width: 540px; }
.hero__label { margin-bottom: 2rem; }
.hero__title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.hero__title span { display: block; }
.hero__subtitle { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--text-secondary); line-height: 1.75; max-width: 460px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero__stat-value { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.hero__stat-label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }

/* ---- HERO BENTO — values tiles with bg images ---- */
/*
  ┌──────────────┬──────────────┐
  │  UBUNTU       │  INTEGRITY   │
  │  (tall)       ├──────────────┤
  │               │  EXCELLENCE  │
  ├───────┬───────┴──────────────┤
  │ OWNER │    SUSTAINABILITY    │
  └───────┴──────────────────────┘
*/
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 6px;
}
@media (min-width: 480px) {
  .hero-bento {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 6px;
  }
  .hb-tile--ubuntu     { grid-column: 1 / 2; grid-row: 1 / 3; }
  .hb-tile--integrity  { grid-column: 2 / 3; grid-row: 1 / 2; }
  .hb-tile--excellence { grid-column: 2 / 3; grid-row: 2 / 3; }
  .hb-tile--ownership  { grid-column: 1 / 2; grid-row: 3 / 4; }
  .hb-tile--sustain    { grid-column: 2 / 3; grid-row: 3 / 4; }
}

/* Individual tile */
.hb-tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 110px;
  cursor: default;
  border: 1px solid var(--border);
  perspective: 600px;
}

/* Background image layer — zoom target */
.hb-tile__bg {
  position: absolute;
  inset: -1px;
  background: var(--hb-img, none) center / cover no-repeat;
  transition: transform 0.7s var(--ease);
  will-change: transform;
  z-index: 0;
}
/* Fallback atmospheric gradients when no image loaded */
.hb-tile--ubuntu .hb-tile__bg     { background-color: #1a1410; background-image: var(--hb-img, linear-gradient(135deg, #2a1a0f 0%, #181210 100%)); }
.hb-tile--integrity .hb-tile__bg  { background-color: #0f141a; background-image: var(--hb-img, linear-gradient(135deg, #0f1a2a 0%, #0f1218 100%)); }
.hb-tile--excellence .hb-tile__bg { background-color: #1a140f; background-image: var(--hb-img, linear-gradient(135deg, #1a1408 0%, #18100a 100%)); }
.hb-tile--ownership .hb-tile__bg  { background-color: #140f1a; background-image: var(--hb-img, linear-gradient(135deg, #1c1022 0%, #130e18 100%)); }
.hb-tile--sustain .hb-tile__bg    { background-color: #0f1a14; background-image: var(--hb-img, linear-gradient(135deg, #0a1a10 0%, #0e1810 100%)); }

/* Hover zoom on bg image */
.hb-tile:hover .hb-tile__bg { transform: scale(1.08); }

/* Scrim overlay — bottom-heavy for text legibility */
.hb-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(9,9,11,0.92) 0%,
    rgba(9,9,11,0.55) 40%,
    rgba(9,9,11,0.25) 100%
  );
  transition: background 0.5s var(--ease);
  pointer-events: none;
}
.hb-tile:hover::before {
  background: linear-gradient(
    to top,
    rgba(9,9,11,0.85) 0%,
    rgba(9,9,11,0.4) 40%,
    rgba(9,9,11,0.15) 100%
  );
}

/* Accent edge glow on hover */
.hb-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid transparent;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  pointer-events: none;
}
.hb-tile:hover::after {
  border-color: var(--border-accent);
  box-shadow: inset 0 0 30px rgba(217,107,80,0.06);
}

/* Content layer */
.hb-tile__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: clamp(0.8rem, 2vw, 1.25rem);
}

.hb-tile__num {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: auto;
}

.hb-tile__title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  transition: color 0.4s;
}
.hb-tile:hover .hb-tile__title { color: var(--primary-light); }

.hb-tile__desc {
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  color: var(--text-tertiary);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.hb-tile:hover .hb-tile__desc { max-height: 60px; opacity: 1; }

/* Ubuntu tile is tall — give title more room */
.hb-tile--ubuntu .hb-tile__title { font-size: clamp(1rem, 1.8vw, 1.3rem); }
.hb-tile--ubuntu .hb-tile__desc { font-size: clamp(0.68rem, 1.1vw, 0.78rem); }

/* Mobile: all tiles same height */
@media (max-width: 479px) {
  .hb-tile { min-height: 100px; }
  .hb-tile__desc { max-height: none; opacity: 0.8; }
}

/* Scroll indicator */
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; z-index: 2; }
.hero__scroll-line { width: 1px; height: 40px; position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, var(--primary)); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0% { top: -100%; } 100% { top: 100%; } }
.hero__scroll-text { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: 12rem 0 5rem; background: var(--bg); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: -20%; width: 60%; height: 100%; background: radial-gradient(ellipse, var(--primary-ghost) 0%, transparent 70%); pointer-events: none; }
.page-hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; position: relative; }
.page-hero__intro { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-secondary); max-width: 560px; line-height: 1.75; position: relative; }

/* ---- GLASS CARDS ---- */
.glass-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all 0.5s var(--ease); position: relative; overflow: hidden; }
.glass-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(217,107,80,0.05) 0%, transparent 50%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.glass-card:hover { background: var(--bg-card-hover); border-color: var(--border-accent); transform: translateY(-4px); box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--border-accent); }
.glass-card:hover::before { opacity: 1; }

/* Light variant */
.section--light .glass-card { background: var(--bg-light-card); border-color: var(--border-light); backdrop-filter: none; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.section--light .glass-card:hover { border-color: var(--primary); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }

/* ---- BENTO GRID ---- */
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 600px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__item--lg { grid-column: span 2; } }
@media (min-width: 960px) { .bento { grid-template-columns: repeat(12, 1fr); gap: 1rem; }
  .bento__item--lg { grid-column: span 8; }
  .bento__item--md { grid-column: span 4; }
  .bento__item--sm { grid-column: span 4; }
  .bento__item--wide { grid-column: span 6; }
  .bento__item--full { grid-column: span 12; }
}

.bento__item { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.bento__icon { width: 48px; height: 48px; color: var(--primary); margin-bottom: 1.5rem; }
.bento__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.bento__desc { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.6; flex: 1; }
.bento__arrow { font-size: 1.25rem; color: var(--primary); opacity: 0; transform: translateX(-8px); transition: all 0.4s var(--ease); margin-top: 1rem; }
.glass-card:hover .bento__arrow { opacity: 1; transform: translateX(0); }

/* Accent tile */
.bento__item--accent { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important; border-color: var(--primary) !important; }
.bento__item--accent .bento__title { color: #fff; }
.bento__item--accent .bento__desc { color: rgba(255,255,255,0.8); }
.bento__item--accent .mono { color: rgba(255,255,255,0.6); }
.bento__item--accent:hover { box-shadow: 0 24px 80px var(--primary-glow); }

/* ---- ENGINEERING ANIMATION CANVAS ---- */
.eng-canvas { width: 100%; aspect-ratio: 3/2; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; }
.eng-canvas::before { content: ''; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(217,107,80,0.02) 1px, transparent 1px),
  linear-gradient(90deg, rgba(217,107,80,0.02) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none; }
.eng-svg { width: 100%; height: 100%; }

/* ---- FEATURE CHIPS ---- */
.features { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-secondary); }
.feature__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ---- TAGS ---- */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 100px; color: var(--text-tertiary); transition: all 0.3s; }
.tag:hover { border-color: var(--primary); color: var(--primary); }

/* ---- VALUES GRID ---- */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value__number { font-family: var(--font-mono); font-size: 0.65rem; color: var(--primary); letter-spacing: 0.1em; }
.value__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0.5rem 0; }
.value__desc { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.6; }

/* ---- TESTIMONIAL ---- */
.testimonial { text-align: center; max-width: 680px; margin: 0 auto; }
.testimonial__quote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.8vw, 1.65rem); font-weight: 400; line-height: 1.55; color: var(--text-primary); font-style: italic; margin-bottom: 2rem; }
.testimonial__cite { font-size: 0.9rem; color: var(--text-secondary); }
.testimonial__company { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--primary); display: block; margin-top: 0.5rem; }
.testimonial__mark { color: var(--primary); opacity: 0.2; margin-bottom: 1.5rem; }

/* ---- LEADERSHIP ---- */
.leader-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 600px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .leader-grid { grid-template-columns: repeat(3, 1fr); } }
.leader__role { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.leader__creds { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--primary); text-transform: uppercase; margin-bottom: 0.75rem; }
.leader__bio { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; }

/* ---- STATS ---- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.75rem; text-align: center; }
.stat-card__value { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat-card__label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); margin-top: 0.25rem; }

/* ---- PROJECTS GRID ---- */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } .projects-grid .glass-card--featured { grid-column: span 2; } }
.project__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.project__desc { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.project__disciplines { display: flex; gap: 0.75rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ---- SERVICE NUMBER ---- */
.service-num { font-family: var(--font-display); font-size: clamp(8rem, 18vw, 14rem); font-weight: 900; color: var(--primary); opacity: 0.06; line-height: 1; text-align: center; user-select: none; }

/* ---- EQUIPMENT BANNER ---- */
.equipment-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); border-radius: var(--radius); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.equipment-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.05; }
.equipment-banner .section__title { color: #fff; position: relative; }
.equipment-banner .section__body { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 2rem; position: relative; }
.equipment-banner .label { color: rgba(255,255,255,0.6); }
.equipment-banner .label::before { background: rgba(255,255,255,0.4); }
.equipment-banner .btn--primary { background: #fff; color: var(--primary-dark); }
.equipment-banner .btn--primary:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ---- CONTACT ---- */
.contact-block { margin-bottom: 2.5rem; }
.contact-block__heading { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.contact-block__text { font-size: 0.9rem; color: var(--text-tertiary); line-height: 1.7; }
.contact-block__text a { color: var(--primary); transition: opacity 0.3s; }
.contact-block__text a:hover { opacity: 0.7; }

.bbee-badge { display: inline-flex; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1rem; border: 2px solid var(--primary); color: var(--primary); border-radius: var(--radius-xs); }

.form-wrap { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-wrap__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 0.5rem; }
.form-input { width: 100%; padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--text-primary); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xs); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ghost); }
.form-textarea { resize: vertical; min-height: 120px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2371717a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* ---- CSR ---- */
.csr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.csr-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); transition: all 0.3s; }
.csr-item:hover { border-color: var(--primary); background: var(--primary-ghost); }
.csr-item svg { color: var(--primary); }

/* ---- FOOTER ---- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-top { padding: var(--section-y) 0; text-align: center; }
.footer-cta__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 2rem; }

.footer-main { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }

.footer-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 0.75rem; }
.footer-badge { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em; color: var(--primary); text-transform: uppercase; }

.footer-heading { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 1rem; }
.footer-link { display: block; font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 0.6rem; transition: color 0.3s; }
.footer-link:hover { color: var(--text-primary); }
.footer-link--accent { color: var(--primary); }
.footer-link--accent:hover { color: var(--primary-light); }
.footer-address { font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.5; margin-bottom: 1rem; }
.footer-address strong { color: var(--text-secondary); font-weight: 500; }

.footer-bottom { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--text-tertiary); }
.footer-bottom__links { display: flex; gap: 1.5rem; }
.footer-bottom__links a { color: var(--text-tertiary); transition: color 0.3s; }
.footer-bottom__links a:hover { color: var(--primary); }

/* ---- ERROR PAGES ---- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 900; color: var(--primary); opacity: 0.12; line-height: 1; }
.error-page__title { font-size: 1.5rem; margin-bottom: 1rem; }
.error-page__desc { color: var(--text-tertiary); margin-bottom: 2rem; }

/* ---- REVEAL SYSTEM ---- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .hero__stats { gap: 1.5rem; }
  .hero__stat-value { font-size: 1.5rem; }
  .bento { gap: 0.75rem; }
  .glass-card { padding: 1.5rem; }
  .eng-canvas { aspect-ratio: 4/3; }
}


.bento__item{
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* dark readability overlay */
.bento__item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.55),
    rgba(0,0,0,.45)
  );
  z-index:1;
}

/* ensure content sits above overlay */
.bento__item > div,
.bento__arrow{
  position:relative;
  z-index:2;
}

.bento__title{
  color:var(--primary);
}

.bento__desc{
  color:#fff;
}

.bento__icon{
  color:var(--primary);
}

.bento__item:nth-child(1){
  background-image:url("/images/electrical.jpg");
}

.bento__item:nth-child(2){
  background-image:url("/images/civil.jpg");
}

.bento__item:nth-child(3){
  background-image:url("/images/mechanical.jpg");
}

.bento__item:nth-child(4){
  background-image:url("/images/process.jpg");
}

.bento__item:nth-child(5){
  background-image:url("/images/construction.jpg");
}

.bento__item:nth-child(6){
  background-image:url("/images/valves.jpg");
}

.bento__item{
  transition:transform .35s ease, box-shadow .35s ease;
}

.bento__item:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}