/* ==========================================================================
   01. VARIABLES & RESET
========================================================================== */ :root {
  --bg-main: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --gold-rgb: 255, 215, 0;
  --white-rgb: 255, 255, 255;
  --onyx-rgb: 0, 0, 0;
  --gold: #FFD700;
  --onyx: #000000;
  --green: #046307;
  --white: #FFFFFF;
  --blue: #1238A0;
  --ice: #E0FFFF;
  --ruby: #9B111E;
  --muted: #5b6573;
  --text-main: var(--white);
  --text-muted: #a1a1aa;
  --border-subtle: rgba(var(--white-rgb), 0.08);
  --border-glow: rgba(var(--gold-rgb), 0.3);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 99999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
}
/* ==========================================================================
========================================================================== */
.hero {
  /* Change this from calc(100vh - 70px) to just 100vh */
  min-height: 100vh;
  /* Flexbox automatically centers your content perfectly in that new giant space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0; /* 2rem 0 2rem 0 */
  text-align: center;
  position: relative;
  border: none;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.hero-body {
  color: var(--gold);
  font-size: 1.05rem;
  text-align: left;
  max-width: 650px;
  font-weight: 500;
  margin: 2rem auto; /* 2.5rem auto */
  /* Hides the text on load and smoothly fades it up AFTER the title shatters */
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubFade 3.0s ease-in-out 2.5s forwards;
}
/* Also hides the buttons and fades them in right after the paragraph */
.hero .btn-container {
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubFade 3.0s ease-in-out 3.5s forwards;
}
.hero::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120lvh; /* UPGRADED: Large Viewport Height never resizes */
  transform: translateZ(0); /* Forces GPU Hardware Acceleration */
  will-change: transform; /* Tells the browser this layer is locked */
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.78), rgba(7, 9, 13, 0.62)), url("../img/image_hero_bg.webp"), linear-gradient(135deg, #11161d 0%, #182533 34%, #142d45 55%, #11161d 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroBgFade 5.0s ease-in-out 220ms forwards;
}
.closing-cta::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120lvh; /* UPGRADED */
  transform: translateZ(0); /* UPGRADED */
  will-change: transform; /* UPGRADED */
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.78), rgba(7, 9, 13, 0.62)), url("../img/image_footer_bg.webp"), linear-gradient(135deg, #11161d 0%, #182533 34%, #142d45 55%, #11161d 100%);
  background-size: cover;
  background-position: center;
}
#main-content {
  background: rgba(10, 12, 18, 0.4);
  display: flex;
  flex-direction: column;
  padding-top: 4rem; /* 4.0rem */
  gap: 4rem; /* 4.0rem */
  border: 0px solid blue; /* 0px solid */
}
.section-header {
  margin-bottom: 1rem; /* 2rem */
  border: 0px solid red; /* 0px solid */
}
p.section-subtitle {
  padding-bottom: 1.5rem;
  border: 0px solid purple; /* 0px solid */
}
.content-section p {
  margin-bottom: 1rem; /* 2rem */
  border: 0px solid orange; /* 0px solid */
}
p {
  color: var(--white);
  line-height: 1.75;
}
.grid-2, .grid-3 {
  display: grid;
  gap: 2rem;
  margin-top: 0rem;
  border: 0px solid purple; /* 0px solid */
}
.content-section {
  width: min(1200px, 100% - 8rem);
  margin-inline: auto;
  padding: 2rem; /* 4.0rem */
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 35, 42, 0.8) 0%, rgba(28, 35, 42, 0) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 0px solid green; /* 0px solid */
}
.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(var(--gold-rgb), 0.50);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 2px solid rgba(var(--gold-rgb), 0.75);
  display: block;
  object-fit: cover;
}
ul.check-list {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  margin-top: 0rem;
  margin-bottom: 1rem;
}
ul.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}
.deliver-grid {
  display: grid;
  /* Default to 6 columns for large screens */
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem; /* 1.25 */
  margin-top: 0rem; /* 3rem */
  border: 0px solid yellow; /* 0px solid */
}
.deliver-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 5%;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  aspect-ratio: 1 / 1;
  height: 100%;
  min-height: 100px; /* <--- ADD THIS: Prevents the square from ever shrinking below 140px */
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Tablet / Mid-size: Snap exactly to 3 columns */
@media (max-width: 1100px) {
  .deliver-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Mobile: Snap exactly to 2 columns */
@media (max-width: 600px) {
  .deliver-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mission-vision-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 6%;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  /* --- CHANGED SIZING --- */
  flex: 1 1 300px;
  max-width: 350px; /* Replaces width: 100%. Prevents the centered card from stretching too wide */
  /* ---------------------- */
  max-height: 100%;
  overflow: hidden;
  align-self: stretch;
}
.mission-vision-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  /* --- CHANGED SIZING --- */
  flex: 1 1 300px;
  max-width: 350px; /* Replaces width: 100%. Prevents the centered card from stretching too wide */
  /* ---------------------- */
  max-height: 100%;
  overflow: hidden;
  align-self: stretch;
}
.grid-3 {
  display: flex; /* CHANGED: Overrides the grid to use flexbox */
  flex-wrap: wrap; /* Allows cards to drop to the next line */
  justify-content: center; /* Forces any orphaned cards on the bottom row to the exact center! */
  /* grid-template-columns: ... <-- REMOVE THIS LINE ENTIRELY */
}
.principle-icon-img {
  height: 4.5rem; /* CHANGED: Fixed height instead of a percentage */
  width: auto;
  /* max-height: 4.5rem; <--- REMOVED: No longer needed */
  object-fit: contain;
  margin-bottom: 1rem;
  flex-shrink: 0; /* ADDED: Prevents the icon from ever squishing */
}
.contact-form label {
  font-weight: 650;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 1rem;
}
.contact-form .checkbox-group input {
  width: 1.08rem;
  height: 1.08rem;
  margin-top: 1.15rem;
  cursor: pointer;
  flex: 0 0 auto;
  accent-color: #FFD700;
}
.contact-form .checkbox-group label {
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
  color: var(--text-muted);
}
.closing-cta {
  padding: 2rem 0; /* 2rem 0 */
  overflow: hidden;
  border-top: 1px solid rgba(var(--gold-rgb), 0.75);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.75);
  background-position: center;
  clip-path: inset(0 0 0 0);
}
.section-header p, .closing-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0rem auto 1rem; /* 0rem auto 2rem */
  max-width: 700px;
}
/* ==========================================================================
========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
/* ==========================================================================
   02. GLOBAL TYPOGRAPHY & UTILITIES
========================================================================== */
h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 0;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
h3 {
  font-size: 1.35rem;
}
.text-gold, .text-gold strong {
  color: var(--gold);
}
.text-gradient-gold {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.reveal {
  opacity: 0;
  transform: translateY(80px); /* Increased from 30px for a more pronounced upward float */
  transition: all 1.4s cubic-bezier(0.23, 1, 0.32, 1); /* Increased from 0.8s for a luxuriously smooth glide */
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Layout & Alignment Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.list-title {
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
}
/* ==========================================================================
   03. GLOBAL LAYOUT CONTAINERS
========================================================================== */
header, section, footer {
  position: relative;
  z-index: 10;
}
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.section {
  padding: 0;
}
/* Standard offset for sections that don't animate */
section[id] {
  scroll-margin-top: 110px;
}
/* Offset for animating sections BEFORE they trigger (110px header + 80px transform offset) */
section[id].reveal {
  scroll-margin-top: 190px;
}
/* Returns to the standard 110px offset AFTER the animation snaps into place */
section[id].reveal.active {
  scroll-margin-top: 110px;
}
.section-header h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}
.section-header h2:last-child {
  margin-bottom: 0;
}
.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, #FFD700 0%, rgba(255, 215, 0, 0) 90%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.content-section p:last-of-type {
  margin-bottom: 0;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}
/* ==========================================================================
   04. GLOBAL COMPONENTS
========================================================================== */
.btn-container {
  margin-top: 0.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(var(--onyx-rgb), 0.15);
  --btn-hover-bg: var(--green);
  --btn-hover-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  background: transparent;
  color: var(--btn-fg);
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.2;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(var(--onyx-rgb), 0.22), 0 2px 0 rgba(var(--white-rgb), 0.04) inset;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease, opacity 0.2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -2;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(45deg, var(--ice), var(--gold), var(--white), var(--ruby), var(--muted), var(--blue), var(--onyx));
  background-size: 300% 300%;
  filter: blur(10px);
  transition: opacity 0.75s ease-in-out;
  animation: nv-btn-glow 5s linear infinite;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: var(--btn-bg);
  background-image: linear-gradient(to bottom, rgba(var(--white-rgb), 0.22) 0%, rgba(var(--white-rgb), 0.05) 34%, transparent 48%), linear-gradient(to bottom, rgba(var(--white-rgb), 0.06), rgba(var(--onyx-rgb), 0.22));
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.42), inset 0 -2px 0 rgba(var(--onyx-rgb), 0.28), inset 0 0 0 1px rgba(var(--white-rgb), 0.08);
  transition: background-color 0.75s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--onyx);
  --btn-border: rgba(var(--onyx-rgb), 0.75);
}
.btn-blue {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-border: rgba(var(--onyx-rgb), 0.75);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn:focus-visible {
    color: var(--btn-hover-fg);
    border-color: var(--ruby);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--onyx-rgb), 0.28);
  }
  .btn:hover::before, .btn:focus-visible::before {
    opacity: 1;
  }
  .btn:hover::after, .btn:focus-visible::after {
    background-color: var(--btn-hover-bg);
    filter: brightness(1.04) saturate(1.08);
  }
}
ul.check-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  font-size: 1.15rem;
  margin-top: 0rem;
}
.portrait-frame:hover .img-night {
  opacity: 1;
}
/* Universal rotating text track */
.portrait-frame .rotating-char {
  top: 0;
  left: 0;
  offset-path: inset(0 0 0 0);
  animation: orbitText 120s linear infinite;
}
.image-crossfade {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
}
.image-crossfade .img-day {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.image-crossfade .img-night {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animated-text-overlay {
  position: absolute;
  inset: 1.25rem;
  pointer-events: none;
  z-index: 5;
}
.rotating-char {
  position: absolute;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  width: 14px;
  text-align: center;
}
/* ==========================================================================
   05. BACKGROUND SCENE
========================================================================== */
.nv-bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.50;
}
.nv-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#nv-starfield-canvas, #nv-particles-canvas {
  z-index: 0;
  opacity: 0.50;
}
/* ==========================================================================
   06. HEADER & NAVIGATION
========================================================================== */
.site-header {
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(var(--onyx-rgb), 0.85); /* Slightly darker for legibility when scrolling */
  backdrop-filter: blur(10px);
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  /* Hides the header completely off the top of the screen */
  transform: translateY(-100%);
  transition: transform 3.0s cubic-bezier(0.23, 1, 0.32, 1);
}
/* This class gets added by JavaScript when the user scrolls */
.site-header.is-scrolled {
  transform: translateY(0);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  user-select: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.brand-name {
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 1.05rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav > a {
  color: rgba(var(--white-rgb), 0.9);
  font-size: 0.95rem;
  padding: 0.35rem 0.25rem;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  box-shadow: var(--glow-gold);
  transition: width 0.3s ease;
}
.nav a:hover, .nav > a:focus-visible {
  color: var(--gold);
}
.nav a:hover::after {
  width: 100%;
}
.nav > a:focus-visible {
  border-bottom-color: var(--gold);
  outline: 2px solid rgba(var(--gold-rgb), 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}
.site-nav {
  display: none;
}
.site-header details, .site-header summary {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 920px) {
  .nav {
    display: none;
  }
  .site-nav {
    display: block;
  }
  .nav-details {
    position: relative;
  }
  .site-nav summary::-webkit-details-marker {
    display: none;
  }
  .site-nav summary {
    list-style: none;
  }
  .site-nav .nav-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    background: rgba(var(--white-rgb), 0.78);
    color: #1a2532;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 28px rgba(var(--onyx-rgb), 0.16);
    border-radius: 16px;
    font-size: 1.1rem;
    padding: 0.68rem 1.05rem;
  }
  .site-nav .nav-summary:focus-visible {
    outline: 3px solid rgba(var(--gold-rgb), 0.55);
    outline-offset: 2px;
  }
  .site-nav .nav-summary-label {
    font-weight: 900;
  }
  .site-nav .burger {
    width: 22px;
    height: 16px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .site-nav .burger > span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a2532;
    border-radius: 999px;
  }
  .site-nav .nav-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 20;
    width: min(92vw, 420px);
    background: rgba(10, 12, 16, 0.98);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    box-shadow: 0 22px 55px rgba(var(--onyx-rgb), 0.26);
    border-radius: 14px;
    padding: 0.65rem;
  }
  .site-nav .nav-list {
    display: grid;
    gap: 0.5rem;
  }
  .site-nav .nav-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(var(--white-rgb), 0.1);
    border: 1px solid rgba(var(--white-rgb), 0.08);
    color: rgba(var(--white-rgb), 0.92);
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
  }
  .site-nav .nav-link:hover, .site-nav .nav-link:focus-visible {
    color: var(--white);
    background: rgba(4, 99, 7, 0.35);
  }
  .site-nav .nav-link:focus-visible {
    outline: 2px solid rgba(var(--gold-rgb), 0.35);
    outline-offset: 2px;
  }
  .site-nav .nav-link .hint {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
  }
}
/* ==========================================================================
   07. HERO SECTION
========================================================================== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0), rgba(var(--gold-rgb), 0.75), rgba(var(--gold-rgb), 0)) top / 100% 5px no-repeat, linear-gradient(90deg, rgba(var(--gold-rgb), 0), rgba(var(--gold-rgb), 0.75), rgba(var(--gold-rgb), 0)) bottom / 100% 5px no-repeat, radial-gradient(1050px 340px at 50% 30%, rgba(var(--gold-rgb), 0.10), transparent 65%);
  opacity: 0;
  animation: heroBgFade 5.0s ease-in-out 80ms forwards;
}
.hero-title-shatter {
  isolation: isolate;
  color: var(--white);
  text-shadow: 0 12px 26px rgba(var(--onyx-rgb), 0.5);
}
.hero-title-shatter .shatter-word {
  display: inline-flex;
  white-space: nowrap;
  margin-right: 0.24ch;
}
.hero-title-shatter .shatter-word:last-child {
  margin-right: 0;
}
.hero-title-shatter .shatter-char {
  display: inline-block;
  transform-origin: center;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero > .container.reveal {
  opacity: 0;
  transform: scale(0.92);
}
.hero > .container.reveal.active {
  animation: heroTextFadeZoom 5.0s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
/* ==========================================================================
   08. MAIN LAYOUT SHELL
========================================================================== */
/* ==========================================================================
   09. core-values / PRINCIPLES SECTION
========================================================================== */
.mission-vision-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  background: linear-gradient(0deg, color-mix(in srgb, var(--onyx), transparent 0%), color-mix(in srgb, var(--blue), transparent 25%));
}
.mission-vision-card h3, .deliver-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.mission-vision-card p {
  line-height: 1.55;
  margin: 0;
  text-align: left;
}
/* ==========================================================================
   10. CAPABILITIES SECTION (CORE WORK)
========================================================================== */
.deliver-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  background: linear-gradient(0deg, color-mix(in srgb, var(--onyx), transparent 0%), color-mix(in srgb, var(--green), transparent 25%));
}
.deliver-icon-img {
  width: auto;
  height: 45%;
  max-height: 4.5rem;
  object-fit: contain;
  display: block;
  margin-bottom: 8%;
}
/* ==========================================================================
   11. PRICING & HOSTING SECTION
========================================================================== */
.premium-glass-wrapper {
  width: 100%;
  margin-bottom: 6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 0 2.5rem;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.nv-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: var(--ice);
}
.nv-pricing-table th, .nv-pricing-table td {
  padding: 0.45rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 400;
}
.nv-pricing-table tbody tr:last-child td {
  border-bottom: none;
  padding-bottom: 3.5rem;
}
.nv-pricing-table th {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 3rem;
  vertical-align: bottom;
  color: var(--white);
}
.nv-pricing-table .feature-col {
  text-align: left;
  width: 32%;
}
.nv-pricing-table .feature-name {
  text-align: left;
  color: var(--white);
  line-height: 1.5;
}
.nv-pricing-table .highlight-col {
  background-color: rgba(255, 255, 255, 0.00);
  border-left: 0px solid rgba(255, 215, 0, 0.15);
  border-right: 0px solid rgba(255, 215, 0, 0.15);
}
.nv-pricing-table thead .highlight-col {
  border-top: none;
  border-radius: 0;
}
.nv-pricing-table tfoot .highlight-col {
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.nv-pricing-table tbody td.highlight-col {
  border-bottom: 1px solid var(--border-subtle);
}
.nv-pricing-table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nv-pricing-table tbody tr:hover {
  background: linear-gradient(0deg, color-mix(in srgb, var(--onyx), transparent 100%), color-mix(in srgb, var(--gold), transparent 85%));
}
.nv-pricing-table tbody tr:hover .feature-name {
  color: var(--gold);
  transform: translateX(4px);
  transition: transform 0.2s ease, color 0.2s ease;
}
.nv-check {
  color: var(--green);
  font-weight: 900;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(4, 99, 7, 0.8));
}
.nv-cross {
  color: var(--ruby);
  font-weight: 900;
  font-size: 1.25rem;
  filter: drop-shadow(0 0 6px rgba(155, 17, 30, 0.8));
}
.mobile-pricing-tabs {
  display: none;
}
/* Base Hosting/Summary Grid Styles */
.pricing-grid, .pricing-summaries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-summaries-grid {
  margin-top: 3rem;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  text-align: left;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  background: linear-gradient(0deg, color-mix(in srgb, var(--onyx), transparent 100%), color-mix(in srgb, var(--onyx), transparent 0%));
}
.pricing-card.best-value {
  border-color: #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}
.pricing-card.best-value::before {
  content: "BEST VALUE";
  position: absolute;
  top: 32px;
  right: -56px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
  color: #0a0a0a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 0;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  z-index: 2;
}
.pricing-card .plan-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1;
}
.pricing-target {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.pricing-target strong, .pricing-outcome strong {
  display: block;
  text-align: left;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.pricing-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
  width: 100%;
  flex-shrink: 0;
}
.pricing-outcome {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
ul.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
  flex-grow: 1;
}
ul.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
ul.pricing-features li::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  font-size: 1.15rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}
.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}
/* ==========================================================================
   12. CONTACT FORM
========================================================================== */
.hp-wrap {
  display: none;
}
.contact-header {
  margin-bottom: 1.85rem;
  text-align: left;
}
.contact-header p {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.contact-form {
  display: grid;
  gap: 0.95rem;
}
.contact-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.contact-form .form-group {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  min-width: 0;
}
.contact-form .required {
  color: rgba(255, 0, 0, 1);
}
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #10141b;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-form input:not([type="checkbox"])::placeholder, .contact-form textarea::placeholder {
  color: rgba(16, 20, 27, 0.6);
}
.contact-form input:not([type="checkbox"]):focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 3px solid rgba(255, 215, 0, 0.35);
  outline-offset: 2px;
  border-color: rgba(255, 215, 0, 0.45);
  background: #FFFFFF;
}
.contact-form select option {
  background: #FFFFFF;
  color: #10141b;
}
.contact-form textarea {
  min-height: 148px;
  resize: vertical;
}
.contact-form .checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.contact-form .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.field-error {
  color: #ff3333; /* You could also map this to a CSS variable like var(--ruby) */
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
.form-status {
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.5rem;
}
/* ==========================================================================
   13. CLOSING CTA
========================================================================== */
.closing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: screen;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0), rgba(var(--gold-rgb), 0.75), rgba(var(--gold-rgb), 0)) top / 100% 5px no-repeat, linear-gradient(90deg, rgba(var(--gold-rgb), 0), rgba(var(--gold-rgb), 0.75), rgba(var(--gold-rgb), 0)) bottom / 100% 5px no-repeat, radial-gradient(1050px 340px at 50% 30%, rgba(var(--gold-rgb), 0.10), transparent 65%);
}
.closing-cta > .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.closing-cta h2 {
  display: inline-block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-shadow: 0 12px 26px rgba(var(--onyx-rgb), 0.5);
}
/* ==========================================================================
   14. FOOTER
========================================================================== */
.footer {
  background-color: var(--onyx);
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-item .footer-ico {
  display: flex;
  color: var(--gold);
  flex-shrink: 0;
}
.footer-item a {
  margin-bottom: 0;
}
.footer-item span:not(.footer-ico) {
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-text {
  color: var(--text-muted);
  margin-top: 0.95rem;
  font-size: 0.95rem;
}
.footer-text-special {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-brand {
  margin-bottom: 1rem;
}
.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--text-main);
}
.footer-bottom {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}
@media (min-width: 920px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1.8fr 1fr;
    gap: 4rem;
    align-items: flex-start;
  }
  .footer-grid > div:first-child {
    padding-top: 0;
  }
  .footer-grid > div:first-child .brand {
    position: relative;
    top: 18px;
    margin-bottom: 1rem;
  }
  .footer-links h4 {
    margin-top: 22px;
    margin-bottom: 1rem;
  }
}
/* ==========================================================================
   15. KEYFRAMES
========================================================================== */
@keyframes nv-btn-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes header-drop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes heroSubFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroBgFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes heroBgFadeMobile {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes heroTextFadeZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Travels the exact perimeter at a constant speed */
@keyframes orbitText {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}
/* Fixes the massive outer margins specifically on smaller mobile phones */
@media (max-width: 768px) {
  .content-section {
    width: min(1200px, 100% - 1rem);
    padding: 1.5rem;
  }
}
/* Forces images to stack ABOVE text on mobile AND tablet displays */
@media (max-width: 1050px) {
  #our-story .grid-2, #intro-to-ai-llms .grid-2, #web-hosting .grid-2 {
    display: flex;
    flex-direction: column-reverse;
  }
}