/* ===== Tokens ===== */
:root {
  --bg:        #0a0c0a;
  --bg-soft:   #11140f;
  --surface:   #14180f;
  --surface-2: #1a1f15;
  --line:      #232a1d;
  --text:      #eef2e9;
  --muted:     #9aa394;
  --green:     #2fe34d;
  --green-2:   #27c142;
  --green-deep:#0e3b16;
  --radius:    16px;
  --maxw:      1200px;
  --display:   'Montserrat', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ===== Shared bits ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow--center { justify-content: center; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px 2px var(--green);
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-family: var(--display); }

.accent { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn--primary {
  background: var(--green);
  color: #07210b;
  box-shadow: 0 10px 34px -8px rgba(47,227,77,.55);
}
.btn--primary:hover { background: #44ec60; transform: translateY(-2px); }
.btn--outline {
  background: rgba(10,12,10,.35);
  color: var(--text);
  border-color: rgba(238,242,233,.25);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--book {
  padding: 11px 22px;
  font-size: 12.5px;
  background: var(--green);
  color: #07210b;
  box-shadow: 0 8px 24px -10px rgba(47,227,77,.6);
}
.btn--book:hover { background: #44ec60; transform: translateY(-1px); }
.btn--block { width: 100%; text-transform: none; letter-spacing: 0; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled,
.nav.open {
  background: rgba(10,12,10,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 40px;
  border: 1px solid rgba(238,242,233,.25);
  border-radius: 8px;
  background: rgba(10,12,10,.5);
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: #fff;
  padding: 2px;
}
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .01em;
  font-size: 22px;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(238,242,233,.78);
  padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active { color: var(--green); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    url("images/screen.png")
    center center / cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,8,.82) 0%, rgba(8,10,8,.35) 22%, rgba(8,10,8,.55) 70%, rgba(8,10,8,.95) 100%);
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 90px;
}
.badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  text-shadow: 0 0 14px rgba(47,227,77,.55);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #f3f6f0;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  margin-bottom: 22px;
}
.hero__title em {
  font-style: italic;
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 30px rgba(47,227,77,.45);
}
.hero__lead {
  color: rgba(238,242,233,.82);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Section heads ===== */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-head__sub { color: var(--muted); font-size: 17px; }

/* ===== Engineered / Gear Specs ===== */
.engineered { padding: 90px 0; background: #0d0f0d; }
.engineered__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.badge--specs {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: none;
  margin-bottom: 18px;
}
.engineered__copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 360px;
}
.engineered__copy > p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 440px;
}
.spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 480px;
}
.spec-card {
  background: #161917;
  border-radius: 10px;
  padding: 24px 22px;
}
.spec-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.spec-card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.engineered__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.engineered__media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(1) contrast(1.05);
}
.engineered__media img:last-child { max-height: 400px; }

/* ===== Services (bento) ===== */
.services {
  position: relative;
  padding: 70px 0 90px;
  background: #101210;
}
.services::before {
  content: "";
  position: absolute;
  left: 10px; top: 60px; bottom: 60px;
  width: 26px;
  background-image: radial-gradient(rgba(238,242,233,.18) 1.2px, transparent 1.2px);
  background-size: 9px 9px;
  pointer-events: none;
}
.services .section-head { margin-bottom: 42px; }
.services .section-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.bento {
  display: grid;
  grid-template-columns: 1fr .49fr .51fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "main light light"
    "main visual truss";
  gap: 14px;
  min-height: 420px;
}
.bento__main {
  grid-area: main;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,10,8,.25) 0%, rgba(8,10,8,.45) 55%, rgba(8,10,8,.92) 100%),
    url("images/screen.png") center 70% / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.bento__main-content { padding: 26px 28px; }
.num-badge {
  display: inline-block;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green);
  border: 1px solid rgba(47,227,77,.45);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
  background: rgba(8,10,8,.5);
}
.bento__main h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bento__main p {
  color: rgba(238,242,233,.75);
  font-size: 13.5px;
  max-width: 380px;
}
.bento__card {
  border-radius: 8px;
  background: #1c1f1c;
  border: 1px solid #262a26;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento__card--wide { grid-area: light; }
.bento__card--visual { grid-area: visual; background: #181b18; }
.bento__card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bento__card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.bento__card--visual p { color: #7fcf8e; }
.bento__card--green {
  grid-area: truss;
  background: #4ade63;
  border: none;
  justify-content: flex-end;
}
.bento__card--green h3 { color: #0b2410; }
.bento__card--green p { color: #1e5a2c; }

/* ===== Experience / Gallery ===== */
.experience { padding: 70px 0 90px; background: #0d0f0d; }
.experience__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.experience__head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
}
.experience__head p {
  color: var(--green);
  font-size: 13.5px;
  max-width: 420px;
  line-height: 1.7;
}
.experience__nav { display: flex; gap: 10px; flex: none; }
.arrow-btn {
  width: 42px; height: 38px;
  border-radius: 9px;
  border: 1px solid #2c312c;
  background: #181b18;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.arrow-btn:hover { border-color: var(--green); color: var(--green); }
.experience__slide { margin: 0; }
.experience__slide img {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #232723;
  transition: opacity .22s ease;
}
.experience__slide figcaption {
  margin-top: 14px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Contact ===== */
.contact { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact__copy h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 18px; }
.contact__copy > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; max-width: 420px; }
.contact__list { list-style: none; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.contact__ic {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(54,197,55,.12);
  color: var(--green);
  font-weight: 700;
}
.contact__list a { transition: color .2s ease; }
.contact__list a:hover { color: var(--green); }
.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #5e6657; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links { display: flex; gap: 26px; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color .2s ease; }
.footer__links a:hover { color: var(--green); }
.footer__copy { color: #5e6657; font-size: 14px; }

/* ===== Responsive ===== */
/* ---- Tablet & below ---- */
@media (max-width: 900px) {
  .engineered__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .experience__head { flex-direction: column; }
  .engineered__media { order: 2; }
  .engineered__copy h2 { max-width: none; }
  .engineered__copy > p { max-width: none; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "light light"
      "visual truss";
  }
  .bento__main { min-height: 300px; }
  .hero { min-height: 92svh; }

  /* mobile dropdown menu */
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 80px; left: 16px; right: 16px;
    flex-direction: column;
    gap: 2px;
    background: rgba(12,14,12,.97);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  }
  .nav.open .nav__links { display: flex; }
  .nav__links a {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 16px;
  }
  .nav__links a:hover { background: rgba(47,227,77,.08); }
  .nav__links a.active::after { display: none; }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav__inner { height: 64px; }
  .nav__links { top: 68px; }
  .nav__cta { display: none; }
  .brand__name { font-size: 19px; }

  .hero__content { padding-top: 80px; }
  .hero__title { font-size: clamp(30px, 9vw, 40px); }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .badge { font-size: 11px; letter-spacing: .2em; }

  .engineered, .services, .experience, .contact { padding: 56px 0; }
  .engineered__media { gap: 12px; }
  .engineered__media img { max-height: 300px; }
  .engineered__media img:last-child { max-height: 260px; }
  .spec-cards { grid-template-columns: 1fr; max-width: none; }

  .services::before { display: none; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "light" "visual" "truss";
    min-height: 0;
  }
  .bento__main { min-height: 260px; }
  .bento__card { min-height: 110px; }

  .experience__slide img { height: 260px; }
  .arrow-btn { width: 46px; height: 42px; }

  .contact__form { padding: 22px 18px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
}

/* ---- Short landscape phones ---- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 110px 0 60px; }
  .hero__content { padding-top: 0; }
}

/* ---- Very large screens ---- */
@media (min-width: 1700px) {
  .hero__content { max-width: 820px; }
  .hero__title { font-size: 60px; }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
