﻿/* ============================================================
   PREMIUM HOMEPAGE EFFECTS
   Exclusive, cinematic, and high-trust visual layer
   ============================================================ */

:root {
  --premium: #f2a35e;
  --premium-bright: #ffd7b0;
  --premium-deep: #c65a16;
}

/* ---------- Hero atmosphere ---------- */
.hero {
  isolation: isolate;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .45;
  mix-blend-mode: screen;
  will-change: transform;
}
.orb-a {
  width: 560px;
  height: 560px;
  top: -14%;
  right: -6%;
  background: radial-gradient(circle at 40% 40%, #f28a3a 0%, #e87824 28%, transparent 68%);
  animation: premiumFloatA 16s ease-in-out infinite;
}
.orb-b {
  width: 430px;
  height: 430px;
  bottom: -18%;
  left: -10%;
  background: radial-gradient(circle at 50% 50%, #8d4a1d 0%, #5c2e12 40%, transparent 72%);
  animation: premiumFloatB 19s ease-in-out infinite;
}
.orb-c {
  width: 260px;
  height: 260px;
  top: 28%;
  left: 36%;
  background: radial-gradient(circle, #ffd7b055 0%, transparent 68%);
  filter: blur(42px);
  animation: premiumFloatC 13s ease-in-out infinite;
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    560px circle at var(--mx, 55%) var(--my, 42%),
    rgba(242, 163, 94, .18),
    rgba(232, 120, 36, .06) 38%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity .45s ease;
}
.hero:hover .hero-spotlight { opacity: 1; }

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero-content,
.hero-meta { z-index: 2; }

/* Premium badge */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  margin-bottom: 20px;
  background: rgba(232, 120, 36, .08);
  border: 1px solid rgba(242, 163, 94, .32);
  color: #f2b27c;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: inset 0 0 24px rgba(232, 120, 36, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.premium-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--premium);
  box-shadow: 0 0 12px var(--premium);
  animation: premiumPulse 2s ease-in-out infinite;
}

/* Metallic headline shine */
.hero h1 span {
  background: linear-gradient(
    100deg,
    #f7c08b 0%,
    #e87824 28%,
    #ffd9b0 48%,
    #e87824 66%,
    #c65a16 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: premiumMetal 8s linear infinite;
}

/* Premium CTA shine */
.button-primary {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 12px 34px rgba(232, 120, 36, .2);
}
.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-20deg);
  animation: premiumButtonShine 5s ease-in-out infinite;
}

/* Trust chips + exclusivity line */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(25, 24, 21, .62);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #cfc7bb;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-proof-chip svg { color: var(--premium); flex: none; }
.hero-exclusive {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: #8d8579;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-exclusive::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--premium), transparent);
}
.hero-exclusive strong { color: var(--premium); font-weight: 800; }

/* ---------- Premium section polish ---------- */
.section-heading h2 {
  background: linear-gradient(180deg, #ffffff 0%, #d8cfc2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dispatch-section .section-heading h2,
.equipment-section .section-heading h2,
.why-section .section-heading h2,
.setup-section .section-heading h2 {
  background: linear-gradient(180deg, #fff7ee 0%, #cbbfb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dispatch-card,
.why-card,
.setup-card,
.equipment-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.dispatch-card:hover,
.why-card:hover,
.setup-card:hover {
  border-color: rgba(242, 163, 94, .55) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.dispatch-card,
.why-card,
.setup-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dispatch-card:hover,
.why-card:hover,
.setup-card:hover { transform: translateY(-3px); }

.stats-bar {
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .035) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: premiumStatsSweep 9s ease-in-out infinite;
  pointer-events: none;
}

/* Scroll reveal (added by JS; content stays visible if JS is off) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes premiumFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 36px, 0) scale(1.08); }
}
@keyframes premiumFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, -28px, 0) scale(1.12); }
}
@keyframes premiumFloatC {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .25; }
  50% { transform: translate3d(22px, 18px, 0); opacity: .5; }
}
@keyframes premiumPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--premium); }
  50% { opacity: .35; box-shadow: 0 0 4px var(--premium); }
}
@keyframes premiumMetal {
  from { background-position: 0% center; }
  to { background-position: 220% center; }
}
@keyframes premiumButtonShine {
  0%, 55% { left: -130%; }
  78%, 100% { left: 130%; }
}
@keyframes premiumStatsSweep {
  0%, 55% { transform: translateX(-100%); }
  85%, 100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-spotlight,
  .premium-dot,
  .hero h1 span,
  .button-primary::after,
  .stats-bar::before { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   SITE-WIDE CURSOR SPOTLIGHT
   ============================================================ */
.site-spotlight {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
  background: radial-gradient(
    420px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(242, 163, 94, .09),
    rgba(232, 120, 36, .035) 35%,
    transparent 62%
  );
  mix-blend-mode: screen;
}
.site-spotlight.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .site-spotlight { display: none; }
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 32px 90px;
  background:
    radial-gradient(circle at 82% 22%, #e8782430, transparent 34%),
    radial-gradient(circle at 12% 70%, #5c2e1245, transparent 36%),
    linear-gradient(135deg, #15120f, #0d0c0a);
  border-bottom: 1px solid #34312b;
}
.careers-hero-inner {
  max-width: 1176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.careers-hero h1 {
  text-transform: uppercase;
  letter-spacing: -.06em;
  font-size: clamp(50px, 8vw, 96px);
  line-height: .9;
  margin: 16px 0 24px;
}
.careers-hero h1 span { color: #e87824; }
.careers-hero p {
  color: #c7c0b5;
  font-size: 16px;
  line-height: 1.75;
  max-width: 600px;
}
.careers-hero-aside {
  border: 1px solid #393631;
  background: #191815cc;
  padding: 30px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.careers-hero-aside h3 {
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 0 16px;
}
.careers-hero-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.careers-hero-aside li {
  display: flex;
  gap: 10px;
  color: #cfc7bb;
  font-size: 12px;
  line-height: 1.6;
}
.careers-hero-aside li::before {
  content: "—";
  color: #e87824;
}

.careers-openings { padding: 100px 32px; background: #131210; }
.careers-openings-inner { max-width: 1176px; margin: 0 auto; }
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 40px;
}
.career-card {
  background: linear-gradient(155deg, #24221e, #191815);
  border: 1px solid #393631;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.career-card:hover {
  transform: translateY(-4px);
  border-color: #e87824;
  box-shadow: 0 18px 48px #00000055;
}
.career-card .career-type {
  display: inline-block;
  align-self: flex-start;
  background: #e8782418;
  border: 1px solid #e8782455;
  color: #f2b27c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 9px;
  margin-bottom: 20px;
}
.career-card h3 {
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 12px;
}
.career-card p {
  color: #aaa59b;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.career-card ul {
  margin: 0 0 24px;
  padding-left: 16px;
  color: #cfc7bb;
  font-size: 12px;
  line-height: 1.8;
}
.career-card .career-apply {
  margin-top: auto;
  color: #e87824;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.career-card .career-apply:hover { color: #ffd7b0; }

.application-section {
  background: #0d0c0a;
  border-top: 1px solid #34312b;
  padding: 100px 32px;
}
.application-inner {
  max-width: 1176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.application-side h2 {
  text-transform: uppercase;
  letter-spacing: -.05em;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: .98;
  margin: 14px 0 22px;
}
.application-side p {
  color: #aaa59b;
  font-size: 14px;
  line-height: 1.8;
}
.application-side .application-note {
  margin-top: 24px;
  padding: 18px;
  background: #e8782412;
  border: 1px solid #e8782440;
  color: #d8cfc2;
  font-size: 12px;
  line-height: 1.7;
}
.application-form-box {
  background: #131210;
  border: 1px solid #393631;
  padding: 34px;
}
.application-form-box .form-head {
  color: #e87824;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.job-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.job-form-grid .full { grid-column: 1 / -1; }
.job-form .form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.job-form label {
  color: #cfc7bb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.job-form label em { color: #e87824; font-style: normal; }
.job-form input,
.job-form select,
.job-form textarea {
  width: 100%;
  background: #090807;
  border: 1px solid #393631;
  color: #f0efe9;
  padding: 13px 14px;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  outline: none;
}
.job-form select { color: #aaa59b; }
.job-form input::placeholder,
.job-form textarea::placeholder { color: #6c665c; }
.job-form input:focus,
.job-form select:focus,
.job-form textarea:focus { border-color: #e87824; }
.job-form textarea { resize: vertical; min-height: 110px; }
.job-form .form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.job-form small { color: #8d8579; font-size: 10px; line-height: 1.6; }
.career-form-success,
.career-form-error {
  margin-top: 16px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
}
.career-form-success {
  background: #e8782414;
  border: 1px solid #e8782466;
  color: #f2b27c;
}
.career-form-error {
  background: #ff3b0014;
  border: 1px solid #ff3b0055;
  color: #ff8b66;
}

@media (max-width: 980px) {
  .careers-hero-inner,
  .application-inner { grid-template-columns: 1fr; gap: 36px; }
  .career-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .careers-hero, .careers-openings, .application-section { padding-left: 20px; padding-right: 20px; }
  .job-form-grid { grid-template-columns: 1fr; }
  .application-form-box { padding: 22px; }
}
