/* =========================================
   Orange Collar Academy — Theme Stylesheet
   Industrial. Direct. Built to work.
   ========================================= */

:root {
  --orange: #E87A1E;
  --orange-dark: #C4650F;
  --orange-light: #F5A623;
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --steel: #6B6B6B;
  --concrete: #F5F3F0;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --border: #E0DDD9;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--orange);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  background: rgba(232, 122, 30, 0.08);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 6rem 0;
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  max-width: 640px;
  flex: 1 1 auto;
}

.hero-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: 340px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
  border-radius: 12px;
}

.hero-image {
  flex: 0 0 auto;
  max-width: 520px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.text-orange { color: var(--orange); }

.hero-sub {
  font-size: 1.25rem;
  color: #B0B0B0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 640px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
  margin-top: 1rem;
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
}

/* ---- Manifesto ---- */
.manifesto {
  background: var(--concrete);
  border-left: 4px solid var(--orange);
}

.manifesto-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.manifesto-image {
  border-radius: 8px;
  overflow: hidden;
}

.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.manifesto-content {
  max-width: 720px;
}

.manifesto-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.manifesto-content p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--steel);
}

.manifesto-content strong {
  color: var(--charcoal);
}

/* ---- Pillar Grid ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 2rem;
  border-radius: 0 0 6px 6px;
  transition: box-shadow 0.2s;
}

.pillar-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pillar-icon {
  color: var(--orange);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--steel);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.pillar-link {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Benefits Grid ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefit-item {
  padding: 1.5rem;
  border-left: 3px solid var(--orange);
}

.benefit-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--steel);
  font-size: 0.9375rem;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.125rem;
  color: #B0B0B0;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Page Headers ---- */
.page-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--orange);
  margin-top: 0.5rem;
}

/* ---- Page Content ---- */
.page-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--steel);
  font-size: 1.0625rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.page-content strong {
  color: var(--charcoal);
}

/* Content cards for list pages */
.content-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  margin-bottom: 1rem;
  border-radius: 0 6px 6px 0;
  transition: box-shadow 0.2s;
}

.content-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.content-card h3 { margin-top: 0; }

.content-card h3 a {
  color: var(--charcoal);
}

.content-card h3 a:hover {
  color: var(--orange);
}

/* ---- Service Grid ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 6px 6px;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.service-card li:last-child {
  border-bottom: none;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item h3 {
  color: var(--charcoal);
  cursor: pointer;
  margin-top: 0;
  font-size: 1.125rem;
}

.faq-item p {
  margin-top: 0.75rem;
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 720px;
  margin: 2rem 0 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-group label .required {
  color: var(--orange);
}

.form-group label .optional {
  color: var(--steel);
  font-weight: 400;
  font-size: 0.8125rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---- Contact ---- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-block {
  padding: 2rem;
  background: var(--concrete);
  border-radius: 6px;
}

.contact-block h3 {
  margin-top: 0;
  color: var(--charcoal);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: #999;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-nav h4,
.footer-social h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-nav a {
  display: block;
  color: #999;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.footer-nav a:hover { color: var(--orange); }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #999;
  transition: color 0.2s;
}

.social-links a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-founders {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #666;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--orange);
  color: var(--white);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Pain Points ---- */
.pain-points {
  background: var(--white);
}

.pain-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pain-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pain-feature-image {
  border-radius: 8px;
  overflow: hidden;
}

.pain-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.pain-item {
  text-align: center;
}

.pain-icon {
  color: var(--orange);
  margin-bottom: 1rem;
}

.pain-item h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.pain-item p {
  color: var(--steel);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Founders Strip ---- */
.founders-strip {
  background: var(--concrete);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.founder-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 6px 6px;
}

.founder-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.founder-names {
  color: var(--steel);
  font-size: 0.9375rem;
}

.founders-tagline {
  text-align: center;
  color: var(--steel);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Partner Tiers ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tier-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: box-shadow 0.2s;
}

.tier-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tier-card.tier-founding {
  border-top: 4px solid var(--orange);
  background: linear-gradient(to bottom, rgba(232, 122, 30, 0.04), transparent);
}

.tier-card.tier-gold {
  border-top: 4px solid #C9A834;
}

.tier-card.tier-silver {
  border-top: 4px solid #8E8E8E;
}

.tier-card.tier-supporting {
  border-top: 4px solid var(--charcoal-light);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--steel);
}

.tier-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}

.tier-amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.tier-card ul {
  list-style: none;
  padding: 0;
}

.tier-card li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--steel);
  border-bottom: 1px solid var(--border);
}

.tier-card li:last-child { border-bottom: none; }

.tier-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 4rem 0; }
  .hero-split {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .hero-logo img { width: 220px; }
  .hero-image { max-width: 100%; }
  .hero-image img { max-height: 260px; object-fit: cover; }
  .page-feature-split { grid-template-columns: 1fr; gap: 1rem; }
  .page-feature-split .page-feature-logo { text-align: center; }
  .page-feature-split .page-feature-logo img { width: 100px; margin: 0 auto; }
  .page-feature-split .page-feature-photo { height: 140px; }
  .hero-cta { justify-content: center; }
  .hero h1 { font-size: 1.875rem; }
  .hero-sub { font-size: 1.0625rem; }

  .section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header h1 { font-size: 1.875rem; }

  .manifesto-split {
    grid-template-columns: 1fr;
  }

  .manifesto-image img {
    height: 260px;
  }

  .pain-split {
    grid-template-columns: 1fr;
  }

  .pain-cards {
    grid-template-columns: 1fr;
  }

  .pain-feature-image img {
    height: 260px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tier-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Page Feature Image ---- */
.page-feature {
  background: var(--concrete);
  padding: 1.5rem 0;
}

.page-feature > .container > img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.page-feature-split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
}

.page-feature-split .page-feature-logo img {
  width: 160px;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 10px;
}

.page-feature-split .page-feature-photo {
  border-radius: 8px;
  overflow: hidden;
  height: 310px;
}

.page-feature-split .page-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 55%;
  border-radius: 8px;
}

/* ---- Content Image (inline figure) ---- */
.content-image {
  margin: 2.5rem 0;
}

.content-image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.content-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--steel);
  text-align: center;
  font-style: italic;
}

/* Contact form status messages */
.form-status {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-status--error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
