/* ========================================
   ARETE PERFORMANCE DESIGN SYSTEM
   ======================================== */

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --arete-primary: #ECB613;
  --arete-dark: #221D10;
  --arete-light: #FFFEFA;
  --arete-black: #221D10;
  --arete-white: #FFFEFA;
  
  /* Text Colors */
  --arete-text-primary: #221D10;
  --arete-text-light: #FFFEFA;
  --arete-text-accent: #ECB613;
  --arete-text-muted: rgba(34, 29, 16, 0.7);
  --arete-text-muted-light: rgba(255, 254, 250, 0.7);
  
  /* Border Colors */
  --arete-border-light: rgba(34, 29, 16, 0.2);
  --arete-border-overlay: rgba(255, 254, 250, 0.2);
  --arete-border-accent: #ECB613;
  
  /* Background Colors */
  --arete-bg-dark: #221D10;
  --arete-bg-light: #FFFEFA;
  --arete-bg-white: #FFFEFA;
  
  /* Border Radius */
  --arete-radius-sm: 12px;
  --arete-radius-md: 48px;
  --arete-radius-lg: 54px;
  --arete-radius-full: 100px;
  
  /* Spacing */
  --arete-spacing-xs: 4px;
  --arete-spacing-sm: 8px;
  --arete-spacing-md: 16px;
  --arete-spacing-lg: 24px;
  --arete-spacing-xl: 32px;
  --arete-spacing-2xl: 40px;
  --arete-spacing-3xl: 48px;
  
  /* Typography */
  --arete-font-family: 'FK Grotesk Neue Trial', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --arete-font-black: 900;
  --arete-font-bold: 700;
  --arete-font-medium: 500;
  --arete-font-regular: 400;
  --arete-font-light: 300;
}

/* Base Typography */
body {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  color: var(--arete-text-primary);
  background-color: var(--arete-bg-light);
  line-height: 1.5;
}

/* Display Styles */
.display-large {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-black);
  font-size: 93.75px;
  line-height: 80px;
  letter-spacing: 0.9375px;
}

.display-medium {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 60px;
  line-height: 68px;
  letter-spacing: 0.6px;
}

/* Headings - 1.25 Scale */
h1 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-black);
  font-size: 85px;
  line-height: 92px;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 68px;
  line-height: 62px;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 54px;
  line-height: 62px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h4 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 43px;
  line-height: 50px;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h5 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 35px;
  line-height: 42px;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h6 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0;
  margin-bottom: 12px;
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}

h6 {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 10px;
}

/* Body Text */
p {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
}

.body-large {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-light);
  font-size: 24px;
  line-height: 32px;
}

.body-medium {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 18px;
  line-height: 28px;
}

.body-regular {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
}

.body-small {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 14px;
  line-height: 20px;
}

/* Font Weight Utilities */
.fw-black { font-weight: var(--arete-font-black) !important; }
.fw-bold { font-weight: var(--arete-font-bold) !important; }
.fw-medium { font-weight: var(--arete-font-medium) !important; }
.fw-regular { font-weight: var(--arete-font-regular) !important; }
.fw-light { font-weight: var(--arete-font-light) !important; }

/* Text Color Utilities */
.text-primary { color: var(--arete-text-primary) !important; }
.text-light { color: var(--arete-text-light) !important; }
.text-accent { color: var(--arete-text-accent) !important; }
.text-muted {     color: #d4a311
!important; }
.text-muted-light { color: var(--arete-text-muted-light) !important; }

/* Background Colors */
.bg-dark { background-color: var(--arete-bg-dark) !important; }
.bg-light { background-color: var(--arete-bg-light) !important; }
.bg-primary { background-color: var(--arete-primary) !important; }
.bg-white { background-color: var(--arete-bg-white) !important; }

/* Buttons */
.btn-primary,
button.primary,
.button-primary {
  background-color: var(--arete-primary);
  color: var(--arete-dark);
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  line-height: 24px;
  padding: 16px 32px;
  border-radius: var(--arete-radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover,
button.primary:hover,
.button-primary:hover {
  background-color: var(--arete-primary);
  color: var(--arete-dark);
  opacity: 0.9;
}

.btn-large {
  padding: 16px 32px;
  border-radius: var(--arete-radius-lg);
}

.btn-small {
  padding: 12px 24px;
  font-size: 16px;
}

/* Cards */
.card-light,
.card {
  background-color: var(--arete-bg-white);
  border: 1px solid var(--arete-border-light);
  border-radius: var(--arete-radius-sm);
  padding: 32px;
  margin-bottom: 24px;
}

.card-featured {
  background-color: var(--arete-bg-dark);
  border: 3px solid var(--arete-border-accent);
  border-radius: var(--arete-radius-sm);
  padding: 32px;
  color: var(--arete-text-light);
}

.card-title {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 16px;
}

.card-text {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 18px;
  line-height: 24px;
}

/* Border Utilities */
.border-light { border-color: var(--arete-border-light) !important; }
.border-overlay { border-color: var(--arete-border-overlay) !important; }
.border-accent { border-color: var(--arete-border-accent) !important; }

.rounded-sm { border-radius: var(--arete-radius-sm) !important; }
.rounded-md { border-radius: var(--arete-radius-md) !important; }
.rounded-lg { border-radius: var(--arete-radius-lg) !important; }
.rounded-full { border-radius: var(--arete-radius-full) !important; }

/* Spacing Utilities */
.gap-xs { gap: var(--arete-spacing-xs) !important; }
.gap-sm { gap: var(--arete-spacing-sm) !important; }
.gap-md { gap: var(--arete-spacing-md) !important; }
.gap-lg { gap: var(--arete-spacing-lg) !important; }
.gap-xl { gap: var(--arete-spacing-xl) !important; }
.gap-2xl { gap: var(--arete-spacing-2xl) !important; }
.gap-3xl { gap: var(--arete-spacing-3xl) !important; }

.mb-xs { margin-bottom: var(--arete-spacing-xs) !important; }
.mb-sm { margin-bottom: var(--arete-spacing-sm) !important; }
.mb-md { margin-bottom: var(--arete-spacing-md) !important; }
.mb-lg { margin-bottom: var(--arete-spacing-lg) !important; }
.mb-xl { margin-bottom: var(--arete-spacing-xl) !important; }
.mb-2xl { margin-bottom: var(--arete-spacing-2xl) !important; }
.mb-3xl { margin-bottom: var(--arete-spacing-3xl) !important; }

.p-xs { padding: var(--arete-spacing-xs) !important; }
.p-sm { padding: var(--arete-spacing-sm) !important; }
.p-md { padding: var(--arete-spacing-md) !important; }
.p-lg { padding: var(--arete-spacing-lg) !important; }
.p-xl { padding: var(--arete-spacing-xl) !important; }
.p-2xl { padding: var(--arete-spacing-2xl) !important; }
.p-3xl { padding: var(--arete-spacing-3xl) !important; }

/* Section Styles */
section {
  /* padding: 48px 0; */
}

.section-dark {
  background-color: var(--arete-bg-dark);
  color: var(--arete-text-light);
}

.section-light {
  background-color: var(--arete-bg-light);
  color: var(--arete-text-primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  background-color: transparent;
  padding: 16px 24px;
}

nav a {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  color: var(--arete-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-bold);
  font-size: 18px;
  color: var(--arete-text-primary);
}

nav a:hover {
  color: var(--arete-text-accent);
}

nav a.active {
  color: var(--arete-text-accent);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-regular);
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--arete-border-light);
  border-radius: var(--arete-radius-sm);
  background-color: var(--arete-bg-white);
  color: var(--arete-text-primary);
  width: 100%;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--arete-primary);
  outline-offset: 2px;
}

label {
  font-family: var(--arete-font-family);
  font-weight: var(--arete-font-medium);
  font-size: 16px;
  color: var(--arete-text-primary);
  display: block;
  margin-bottom: 8px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .display-large {
    font-size: 48px;
    line-height: 52px;
  }
  
  .display-medium {
    font-size: 36px;
    line-height: 42px;
  }
  
  h1 {
    font-size: 32px;
    line-height: 38px;
  }
  
  h2 {
    font-size: 28px;
    line-height: 34px;
  }
  
  h3 {
    font-size: 22px;
    line-height: 28px;
  }
  
  .body-large {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .btn-primary,
  button.primary,
  .button-primary {
    width: 100%;
    text-align: center;
  }
}
