/*
Theme Name:  AxenForge
Theme URI:   https://axenforge.com
Author:      AxenForge
Author URI:  https://axenforge.com
Description: Custom theme for AxenForge — Digital Growth Systems
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: axenforge
*/

/* ===================================================
   CSS CUSTOM PROPERTIES — BRAND TOKENS
=================================================== */
:root {
  --af-orange:       #E8531D;
  --af-orange-deep:  #BF3E0E;
  --af-orange-tint:  #FAE8DC;
  --af-black:        #161614;
  --af-dark:         #0E0E0C;
  --af-stone:        #F5F3EF;
  --af-chalk:        #ECEAE4;
  --af-ash:          #6B6960;
  --af-rule:         #D4D2CC;
  --af-offwhite:     #F2F0EC;

  --af-font-display: 'Cormorant Garamond', Georgia, serif;
  --af-font-body:    'DM Sans', system-ui, sans-serif;
  --af-font-mono:    'DM Mono', 'Courier New', monospace;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.axenforge-body {
  font-family: var(--af-font-body);
  background: var(--af-dark);
  color: var(--af-stone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--af-font-body);
  border: none;
  background: none;
}

/* ===================================================
   NAV
=================================================== */
.af-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.af-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.af-nav__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.af-nav__wordmark {
  font-family: var(--af-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--af-stone);
}

.af-nav__wordmark span {
  color: var(--af-orange);
}

.af-nav__links {
  display: flex;
  gap: 32px;
}

.af-nav__links a {
  font-size: 13px;
  color: rgba(245, 243, 239, 0.55);
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
  font-weight: 400;
}

.af-nav__links a:hover {
  color: var(--af-stone);
}

.af-nav__cta {
  background: var(--af-orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
  display: inline-block;
}

.af-nav__cta:hover {
  background: var(--af-orange-deep);
  color: #fff;
}

/* Mobile nav toggle (hidden by default) */
.af-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.af-nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--af-stone);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===================================================
   BUTTONS (GLOBAL)
=================================================== */
.af-btn-primary {
  background: var(--af-orange);
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.15s ease;
}

.af-btn-primary:hover {
  background: var(--af-orange-deep);
  color: #fff;
  transform: translateY(-1px);
}

.af-btn-ghost {
  color: rgba(245, 243, 239, 0.5);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  transition: color 0.2s ease;
  background: none;
  border: none;
}

.af-btn-ghost::after {
  content: '→';
  transition: transform 0.2s ease;
}

.af-btn-ghost:hover {
  color: var(--af-stone);
}

.af-btn-ghost:hover::after {
  transform: translateX(4px);
}

.af-btn-outline {
  border: 0.5px solid rgba(245, 243, 239, 0.25);
  color: var(--af-stone);
  background: transparent;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.af-btn-outline:hover {
  border-color: rgba(245, 243, 239, 0.5);
  color: #fff;
}

/* ===================================================
   HERO
=================================================== */
.af-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}

.af-hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(245, 243, 239, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 239, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.af-hero__eyebrow {
  font-family: var(--af-font-mono);
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--af-orange);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: af-fadeUp 0.8s ease both;
}

.af-hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--af-orange);
  flex-shrink: 0;
}

.af-hero__h1 {
  font-family: var(--af-font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2px;
  max-width: 820px;
  margin-bottom: 32px;
  color: var(--af-stone);
  animation: af-fadeUp 0.8s 0.1s ease both;
}

.af-hero__h1 em {
  font-style: normal;
  color: var(--af-orange);
}

.af-hero__sub {
  font-size: 17px;
  color: var(--af-ash);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 48px;
  font-weight: 300;
  animation: af-fadeUp 0.8s 0.2s ease both;
}

.af-hero__sub strong {
  color: rgba(245, 243, 239, 0.7);
  font-weight: 400;
}

.af-hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  animation: af-fadeUp 0.8s 0.3s ease both;
}

.af-hero__stats {
  display: flex;
  gap: 0;
  margin-top: 72px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
  animation: af-fadeUp 0.8s 0.4s ease both;
}

.af-hero__stat {
  flex: 1;
  padding-right: 32px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  margin-right: 32px;
}

.af-hero__stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.af-hero__stat-num {
  font-family: var(--af-font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--af-stone);
  line-height: 1;
}

.af-hero__stat-num span {
  color: var(--af-orange);
}

.af-hero__stat-label {
  font-size: 12px;
  color: var(--af-ash);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ===================================================
   MARQUEE
=================================================== */
.af-marquee {
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.af-marquee__inner {
  display: flex;
  animation: af-marquee 22s linear infinite;
  white-space: nowrap;
}

.af-marquee__item {
  font-family: var(--af-font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: rgba(245, 243, 239, 0.2);
  padding: 0 32px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.af-marquee__dot {
  color: var(--af-orange);
}

/* ===================================================
   SECTIONS (SHARED)
=================================================== */
.af-section {
  padding: 100px 48px;
}

.af-section--dark  { background: var(--af-dark);     color: var(--af-stone); }
.af-section--light { background: var(--af-stone);    color: var(--af-black); }
.af-section--mid   { background: var(--af-offwhite); color: var(--af-black); }
.af-section--orange{ background: var(--af-orange);   color: #fff; }

.af-label {
  font-family: var(--af-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--af-orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.af-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--af-orange);
  flex-shrink: 0;
}

.af-section--light .af-label,
.af-section--mid .af-label {
  color: var(--af-orange-deep);
}

.af-section--light .af-label::before,
.af-section--mid .af-label::before {
  background: var(--af-orange-deep);
}

.af-h2 {
  font-family: var(--af-font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.af-section-sub {
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 64px;
  color: var(--af-ash);
}

/* ===================================================
   PROCESS GRID
=================================================== */
.af-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--af-rule);
  border: 0.5px solid var(--af-rule);
  border-radius: 8px;
  overflow: hidden;
}

.af-process-card {
  background: var(--af-offwhite);
  padding: 40px 32px;
}

.af-process-card__num {
  font-family: var(--af-font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--af-rule);
  line-height: 1;
  margin-bottom: 20px;
}

.af-process-card__accent {
  width: 32px;
  height: 2px;
  background: var(--af-orange);
  margin-bottom: 20px;
}

.af-process-card__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--af-black);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.af-process-card__body {
  font-size: 14px;
  color: var(--af-ash);
  line-height: 1.6;
}

/* ===================================================
   SERVICES GRID
=================================================== */
.af-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.af-service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 36px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.af-service-card:hover {
  border-color: rgba(232, 83, 29, 0.35);
  background: rgba(232, 83, 29, 0.04);
}

.af-service-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}

.af-service-card__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--af-stone);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.af-service-card__body {
  font-size: 14px;
  color: var(--af-ash);
  line-height: 1.65;
}

.af-service-card__tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--af-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--af-orange);
  text-transform: uppercase;
}

/* ===================================================
   PROOF STRIP
=================================================== */
.af-proof {
  background: var(--af-orange);
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.af-proof__quote {
  font-family: var(--af-font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.5px;
}

.af-proof__quote::before {
  content: '"';
  font-size: 64px;
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
  opacity: 0.4;
}

.af-proof__attr {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.af-proof__attr strong {
  color: #fff;
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.af-proof__numbers {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.af-proof__num-item {
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 20px;
}

.af-proof__num {
  font-family: var(--af-font-display);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.af-proof__num-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ===================================================
   CTA SECTION
=================================================== */
.af-cta {
  padding: 120px 48px;
  text-align: center;
  background: var(--af-dark);
  position: relative;
  overflow: hidden;
}

.af-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background: radial-gradient(circle at 50% 50%, rgba(232, 83, 29, 1) 0%, transparent 70%);
  pointer-events: none;
}

.af-cta__label {
  font-family: var(--af-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--af-orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.af-cta__h2 {
  font-family: var(--af-font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.0;
  max-width: 600px;
  margin: 0 auto 24px;
  color: var(--af-stone);
}

.af-cta__h2 em {
  font-style: normal;
  color: var(--af-orange);
}

.af-cta__sub {
  font-size: 16px;
  color: var(--af-ash);
  max-width: 400px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.af-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* ===================================================
   FOOTER
=================================================== */
.af-footer {
  padding: 40px 48px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--af-dark);
}

.af-footer__logo {
  font-family: var(--af-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--af-stone);
}

.af-footer__logo span {
  color: var(--af-orange);
}

.af-footer__copy {
  font-size: 12px;
  color: rgba(245, 243, 239, 0.25);
  font-family: var(--af-font-mono);
  letter-spacing: 1px;
}

.af-footer__links {
  display: flex;
  gap: 24px;
}

.af-footer__links a {
  font-size: 12px;
  color: rgba(245, 243, 239, 0.3);
  transition: color 0.2s ease;
}

.af-footer__links a:hover {
  color: var(--af-stone);
}

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes af-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes af-marquee {
  to { transform: translateX(-50%); }
}

/* ===================================================
   RESPONSIVE — TABLET (max 900px)
=================================================== */
@media (max-width: 900px) {
  .af-nav {
    padding: 18px 24px;
  }

  .af-nav__links {
    display: none;
  }

  .af-nav__toggle {
    display: flex;
  }

  .af-hero {
    padding: 60px 24px 48px;
    min-height: auto;
    padding-top: 80px;
  }

  .af-hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .af-hero__stat {
    flex: 1 1 40%;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    padding-bottom: 24px;
  }

  .af-hero__stat:last-child {
    border-bottom: none;
  }

  .af-process-grid {
    grid-template-columns: 1fr;
  }

  .af-services-grid {
    grid-template-columns: 1fr;
  }

  .af-proof {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .af-section {
    padding: 72px 24px;
  }

  .af-cta {
    padding: 80px 24px;
  }

  .af-footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE (max 600px)
=================================================== */
@media (max-width: 600px) {
  .af-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .af-hero__stat {
    flex: 1 1 100%;
  }

  .af-cta__actions {
    flex-direction: column;
  }

  .af-proof__numbers {
    gap: 20px;
  }
}
