/* ============================================
   FIT LLC — Futuristic Infrastructure Technologies
   Design Language: Luxury Pacific Modernism
   Palette: Obsidian, Bronze, Volcanic Green, Bone
   ============================================ */

:root {
  /* Core palette */
  --obsidian: #0a0d0a;
  --obsidian-deep: #050706;
  --obsidian-soft: #131713;
  --charcoal: #1d211d;
  --bone: #f4efe6;
  --bone-dim: #d8d2c4;
  --silver: #c8c8c8;
  --silver-bright: #e8e8e8;

  /* Accent colors from logo */
  --green: #a3d955;
  --green-bright: #c8f06d;
  --green-deep: #6b9a2d;
  --green-glow: rgba(163, 217, 85, 0.4);

  /* Bronze / copper Polynesian frame */
  --bronze: #a87b3f;
  --bronze-light: #d4a866;
  --bronze-dark: #6e4a1f;

  /* Functional */
  --ink: #0a0d0a;
  --paper: #f4efe6;
  --line: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.25);

  /* Type */
  --font-display: 'Cinzel', 'Cormorant Garamond', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, sans-serif;

  /* Spacing rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-elegant: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--obsidian);
  color: var(--bone);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
}

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

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ============================================
   TOP ACCENT — bronze tribal-pattern inspired
   ============================================ */
.top-accent {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--bronze-dark) 10%,
    var(--bronze) 25%,
    var(--green) 50%,
    var(--bronze) 75%,
    var(--bronze-dark) 90%,
    transparent 100%);
  position: relative;
  z-index: 100;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 13, 10, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10, 13, 10, 0.95);
  border-bottom-color: var(--line-strong);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--bronze);
  box-shadow: 0 0 24px rgba(163, 217, 85, 0.15);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--bone);
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
  color: var(--bone-dim);
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: all 0.4s var(--ease);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bone);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--bronze);
  padding: 0.7rem 1.4rem !important;
  border-radius: 0;
  color: var(--bone) !important;
  background: linear-gradient(135deg, transparent, rgba(163, 217, 85, 0.08));
  transition: all 0.4s var(--ease) !important;
}

.nav-cta:hover {
  background: var(--green);
  color: var(--obsidian) !important;
  border-color: var(--green);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--bone);
  transition: all 0.3s var(--ease);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2.5rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,13,10,0.4) 0%, rgba(10,13,10,0.85) 70%, var(--obsidian) 100%),
    linear-gradient(180deg, rgba(10,13,10,0.5) 0%, rgba(10,13,10,0.3) 40%, rgba(10,13,10,0.95) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  animation: fadeUp 1.4s var(--ease-elegant);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  animation: fadeUp 1.2s var(--ease-elegant) 0.2s backwards;
}

.eyebrow-line {
  width: 60px;
  height: 1px;
  background: var(--green);
}

.eyebrow-text {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--green-bright);
  font-weight: 500;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.hero-line-1,
.hero-line-2,
.hero-line-3 {
  display: block;
  animation: fadeUp 1.4s var(--ease-elegant) backwards;
}

.hero-line-1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--bone);
  animation-delay: 0.4s;
}

.hero-line-2 {
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--green);
  text-shadow: 0 0 80px var(--green-glow);
  animation-delay: 0.6s;
  margin: -0.2rem 0;
}

.hero-line-3 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--bone);
  animation-delay: 0.8s;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 700px;
  margin: 0 auto 3rem;
  animation: fadeUp 1.4s var(--ease-elegant) 1s backwards;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.4s var(--ease-elegant) 1.2s backwards;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--green);
  color: var(--obsidian);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  box-shadow: 0 10px 40px var(--green-glow);
  transform: translateY(-2px);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

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

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-outline {
  color: var(--bone);
  border: 1px solid var(--bone);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bone);
  color: var(--obsidian);
}

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 10, 0.4);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1.4s var(--ease-elegant) 1.5s backwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 120px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line-strong);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.hero-scroll span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ============================================
   SECTION MARKS (numbered eyebrows)
   ============================================ */
.section-mark,
.intro-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-mark-line,
.intro-mark-line {
  width: 50px;
  height: 1px;
  background: var(--green);
}

.section-mark-text,
.intro-mark-text {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--green);
  font-weight: 500;
  text-transform: uppercase;
}

.section-mark.light .section-mark-line { background: var(--green-bright); }
.section-mark.light .section-mark-text { color: var(--green-bright); }

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .section-mark {
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--bone-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro {
  padding: 8rem 0;
  background: var(--obsidian);
  position: relative;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--green), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--bone);
}

.intro-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

.intro-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--bone-dim);
  max-width: 620px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.intro-body em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-bright);
}

.intro-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze-light);
}

.sig-line {
  width: 40px;
  height: 1px;
  background: var(--bronze-light);
}

/* ============================================
   CAPABILITIES
   ============================================ */
.capabilities {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--obsidian) 0%, var(--obsidian-soft) 100%);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  grid-template-areas:
    "large two three"
    "large four wide"
    "large four wide";
}

.cap-large { grid-area: large; }
.cap-card:nth-child(2) { grid-area: two; }
.cap-card:nth-child(3) { grid-area: three; }
.cap-card:nth-child(4) { grid-area: four; }
.cap-wide { grid-area: wide; }

.cap-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
  min-height: 320px;
  transition: all 0.6s var(--ease);
  cursor: pointer;
}

.cap-large {
  min-height: 100%;
}

.cap-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: brightness(0.6) saturate(1.1);
}

.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,13,10,0.4) 50%, var(--obsidian-deep) 100%);
  z-index: 1;
}

.cap-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}

.cap-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.cap-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--bone);
  line-height: 1.2;
}

.cap-body p {
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

/* On touch devices (no hover), always show description */
@media (hover: none) {
  .cap-body p {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
  }
}

.cap-card:hover {
  border-color: var(--green);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}

.cap-card:hover .cap-img img {
  transform: scale(1.08);
  filter: brightness(0.8) saturate(1.2);
}

.cap-card:hover .cap-body p {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* ============================================
   FLAGSHIP
   ============================================ */
.flagship {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.flagship-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.flagship-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.flagship-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,13,10,0.96) 0%, rgba(10,13,10,0.85) 50%, rgba(10,13,10,0.7) 100%);
}

.flagship-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

.flagship-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.flagship-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

.flagship-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--bronze-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.flagship-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--bone-dim);
  margin-bottom: 3rem;
  max-width: 620px;
  font-weight: 300;
}

.flagship-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.ff-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ff-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--green);
  font-weight: 500;
  line-height: 1;
}

.ff-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 1.4;
}

.flagship-neighbors {
  background: rgba(20, 25, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  padding: 2.5rem;
}

.flagship-neighbors h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--bone);
  font-weight: 500;
}

.neighbors-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.flagship-neighbors ul {
  list-style: none;
}

.flagship-neighbors li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--bone-dim);
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s var(--ease);
}

.flagship-neighbors li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.6rem;
  top: 1.1rem;
}

.flagship-neighbors li:last-child {
  border-bottom: none;
}

.flagship-neighbors li:hover {
  color: var(--bone);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: 8rem 0;
  background: var(--obsidian);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px 220px;
  gap: 1rem;
  margin-bottom: 4rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s var(--ease);
  filter: saturate(0.9);
}

.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 10, 0.2);
  transition: background 0.5s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.portfolio-item:hover::after {
  background: rgba(10, 13, 10, 0);
}

.p1 { grid-column: span 2; grid-row: span 2; }
.p2 { grid-column: span 2; grid-row: span 1; }
.p3 { grid-column: span 1; grid-row: span 2; }
.p4 { grid-column: span 1; grid-row: span 1; }
.p5 { grid-column: span 2; grid-row: span 1; }
.p6 { grid-column: span 2; grid-row: span 1; }

.portfolio-cta {
  text-align: center;
}

/* ============================================
   VALUES
   ============================================ */
.values {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--obsidian) 0%, var(--obsidian-soft) 50%, var(--obsidian) 100%);
  position: relative;
}

.values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

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

.value {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: all 0.5s var(--ease);
}

.value:last-child {
  border-right: none;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--green);
  transition: transform 0.5s var(--ease);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--bone);
  letter-spacing: 0.05em;
}

.value p {
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.7;
  font-weight: 300;
}

.value:hover {
  background: rgba(163, 217, 85, 0.04);
}

.value:hover .value-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

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

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,13,10,0.95) 0%, rgba(10,13,10,0.85) 100%),
    radial-gradient(circle at center, rgba(163, 217, 85, 0.1), transparent);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--bone);
}

.cta-inner p {
  font-size: 1.1rem;
  color: var(--bone-dim);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--obsidian-deep);
  padding: 6rem 0 2rem;
  position: relative;
  border-top: 1px solid var(--line-strong);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bronze-dark), var(--bronze), var(--green), var(--bronze), var(--bronze-dark));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.footer-addr {
  font-size: 0.9rem;
  color: var(--bone-dim);
  line-height: 1.8;
}

.footer h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a,
.footer-contact a {
  color: var(--bone-dim);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--green);
}

.footer-contact p {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--bone-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-motto {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bronze-light);
  letter-spacing: 0.1em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .intro-grid,
  .flagship-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "large large"
      "two three"
      "four wide";
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .p1, .p2, .p3, .p4, .p5, .p6 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .p1 { grid-column: span 2; }

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

  .value {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .value:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

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

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 0.8rem 1.5rem; }
  .nav-logo-text { display: none; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--obsidian-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2.5rem;
    gap: 2rem;
    transition: right 0.4s var(--ease);
    border-left: 1px solid var(--line-strong);
  }

  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }

  .hero { padding: 7rem 1.5rem 4rem; }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .cap-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "two"
      "three"
      "four"
      "wide";
  }

  .cap-card {
    min-height: 280px;
  }

  .cap-large {
    min-height: 360px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }

  .p1 { grid-column: span 1; }

  .flagship-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .value:nth-child(odd) {
    border-right: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .intro,
  .capabilities,
  .flagship,
  .portfolio,
  .values,
  .cta {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

/* Scroll reveal */
/* Reveal animation only applies if JS adds .js-reveal-enabled to <html>,
   so non-JS / screenshot / reduced-motion users always see content. */
.js-reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s var(--ease-elegant);
}

.js-reveal-enabled .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
