/* =====================================================
   AXILON DESIGN SYSTEM
   - One font (Montserrat), one accent (#f7a823)
   - Centralized tokens, typography scale, buttons, motion
   ===================================================== */

:root {
  /* Brand colors */
  --accent: #f7a823;
  --accent-hover: #e89818;
  --accent-soft: #fff4e0;

  /* Neutrals */
  --ink-900: #1a1a1a;
  --ink-700: #2a2a2a;
  --ink-500: #525252;
  --ink-400: #737373;
  --ink-300: #a3a3a3;
  --ink-200: #d4d4d4;
  --ink-100: #e5e5e5;
  --ink-50:  #f5f5f5;
  --ink-25:  #fafafa;

  /* Surfaces */
  --topbar: #3a3a3a;
  --footer: #1f1f1f;
  --footer-2: #2a2a2a;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-glow: 0 12px 28px rgba(247, 168, 35, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { font-family: 'Montserrat', system-ui, sans-serif; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* =====================================================
   TYPOGRAPHY SCALE — use these everywhere
   ===================================================== */

.t-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.t-display {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--ink-900);
  text-transform: uppercase;
}
.t-headline {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink-900);
  text-transform: uppercase;
}
.t-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.t-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-500);
  font-weight: 400;
}
.t-caption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-400);
}

/* =====================================================
   BUTTON SYSTEM — three variants, same shape
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: #000;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 13px; }

/* =====================================================
   SECTION HEADING (eyebrow + title + underline)
   ===================================================== */

.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading .eyebrow { margin-bottom: 0.75rem; display: block; }
.section-heading .underline {
  width: 56px; height: 3px; background: var(--accent);
  margin: 1rem auto 0; border-radius: 2px;
}

/* =====================================================
   CARDS — used by JobList, Testimonials
   ===================================================== */

.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.card:hover {
  border-color: var(--ink-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-flat { background: transparent; border: 0; box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: none; }

/* Image with fixed aspect for job cards */
.media-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .media-cover { transform: scale(1.04); }

/* Subtle orange accent bar (under city, etc) */
.accent-bar {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}

/* =====================================================
   NAV LINK active underline (like the original)
   ===================================================== */

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-700);
  padding: 8px 4px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { width: 100%; left: 0; }
.nav-link:hover::after { width: 100%; left: 0; }

/* =====================================================
   ICON CIRCLE (Stats, Contact rows)
   ===================================================== */

.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.icon-circle.is-accent { background: var(--accent); color: #fff; }
.icon-circle.is-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.icon-circle.is-dark { background: var(--ink-900); color: var(--accent); }
.icon-circle:hover { transform: scale(1.06) rotate(-4deg); }

/* =====================================================
   ANIMATIONS (kept from previous + new utilities)
   ===================================================== */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Letter-by-letter typewriter on hero title */
@keyframes heroCharIn {
  from { opacity: 0; transform: translateY(0.4em); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0); }
}
.hero-char {
  display: inline-block;
  opacity: 0;
  animation: heroCharIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  will-change: transform, opacity, filter;
}

.hero-anim {
  opacity: 0;
  animation-duration: 0.8s;
  animation-timing-function: var(--ease);
  animation-fill-mode: forwards;
}
.hero-anim-1 { animation-name: heroFadeIn; animation-delay: 0.05s; }
.hero-anim-2 { animation-name: heroFadeUp; animation-delay: 0.25s; }
.hero-anim-3 { animation-name: heroFadeUp; animation-delay: 0.40s; }
.hero-anim-4 { animation-name: heroFadeUp; animation-delay: 0.55s; }
.hero-anim-5 { animation-name: heroFadeUp; animation-delay: 0.70s; }

@keyframes compassFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-anim-1 img {
  animation: compassFloat 4.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes kenBurns {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.slide-zoom { animation: kenBurns 8s ease-out forwards; will-change: transform; }

/* Subtle pulse on numbers (Stats) */
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.pulse-soft { animation: softPulse 4s ease-in-out infinite; }

/* Soft underline on hover for inline links */
.link-soft {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s ease;
}
.link-soft:hover {
  background-size: 100% 1px;
  color: var(--accent);
}

/* =====================================================
   TESTIMONIAL ARROWS & DOTS — original-inspired
   ===================================================== */
.testimonial-arrow {
  width: 44px;
  height: 72px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.testimonial-arrow:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px -8px rgba(247, 168, 35, 0.45);
}
.testimonial-arrow--active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px -8px rgba(247, 168, 35, 0.45);
}
.testimonial-arrow--active:hover {
  background: var(--accent-hover);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s var(--ease);
}
.testimonial-dot[data-active='true'] {
  background: var(--accent);
  transform: scale(1.15);
}
.testimonial-dot:hover {
  background: var(--accent);
}

@keyframes testimonialProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* =====================================================
   ACCESSIBILITY — respect reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-anim-1 img,
  .slide-zoom,
  .pulse-soft {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .card:hover, .btn:hover { transform: none !important; }
}
