/* ===============================================================
   Poinsettia Circle — Archive/Craft Themed
   Palette: Deep Navy #1b3a4b | Warm Parchment #f5efe4 | 
            Brass #c17817 | Ink #2c2c2c | Dove Gray #8a8a8a
   Typography: DM Serif Display (display) + Inter (body)
   =============================================================== */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c2c2c;
  background: #f5efe4;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { 
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.2;
  color: #1b3a4b;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.35rem; font-family: 'Inter', sans-serif; font-weight: 600; }

a { color: #c17817; text-decoration: none; transition: color 0.2s; }
a:hover { color: #a66312; }

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

.accent { color: #c17817; }

/* --- Header --- */
.archive-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27, 58, 75, 0.97);
  border-bottom: 2px solid #c17817;
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}

.brand-mark { display: flex; align-items: center; gap: 10px; }

.brand-mark .brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: #c17817; color: #1b3a4b;
  font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 700;
  border-radius: 0; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: #f5efe4; line-height: 1.2; }
.brand-sub { font-size: 0.7rem; color: #c17817; text-transform: uppercase; letter-spacing: 1px; }

.top-nav { display: flex; gap: 4px; }
.top-nav a {
  padding: 6px 14px; font-size: 0.85rem; font-weight: 500;
  color: #b8c9d4; border-radius: 4px; transition: all 0.2s;
}
.top-nav a:hover, .top-nav a.active { color: #f5efe4; background: rgba(193, 120, 23, 0.2); }
.menu-toggle { display: none; background: none; border: none; color: #f5efe4; font-size: 1.4rem; cursor: pointer; }

/* --- Hero --- */
.hero-section {
  position: relative; margin-top: 64px;
  background: #1b3a4b;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(193, 120, 23, 0.03) 20px, rgba(193, 120, 23, 0.03) 21px
  );
}
.hero-content {
  position: relative; max-width: 800px; margin: 0 auto;
  padding: 80px 24px 60px; text-align: center;
}
.hero-badge {
  display: inline-block; margin-bottom: 16px;
  padding: 4px 14px; border: 1px solid rgba(193, 120, 23, 0.4);
  font-size: 0.8rem; color: #c17817; text-transform: uppercase; letter-spacing: 1px;
}
.hero-content h1 { color: #f5efe4; font-size: 3.2rem; margin-bottom: 16px; }
.hero-text { color: #b8c9d4; font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; line-height: 1.8; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 32px; font-size: 0.9rem; font-weight: 600;
  border-radius: 0; transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary { background: #c17817; color: #1b3a4b; border: 2px solid #c17817; }
.btn-primary:hover { background: #a66312; border-color: #a66312; color: #1b3a4b; }
.btn-outline { border: 2px solid rgba(193, 120, 23, 0.5); color: #c17817; background: transparent; }
.btn-outline:hover { border-color: #c17817; background: rgba(193, 120, 23, 0.1); }

.hero-metrics {
  display: flex; justify-content: center; gap: 48px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
}
.metric { text-align: center; }
.metric-val { display: block; font-family: 'DM Serif Display', serif; font-size: 2rem; color: #c17817; }
.metric-lab { font-size: 0.75rem; color: #8a9aa8; text-transform: uppercase; letter-spacing: 1px; }

/* --- Section Common --- */
.section-label {
  font-size: 0.75rem; color: #c17817; text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px; font-weight: 600;
}

.capabilities-section, .approach-section, .testimonial-section {
  max-width: 1100px; margin: 0 auto; padding: 64px 24px;
}

/* --- Capabilities Grid --- */
.cap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px;
}
.cap-card {
  background: #fff; padding: 28px; border: 1px solid #ddd2bf;
  border-left: 4px solid #c17817; transition: box-shadow 0.2s;
}
.cap-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cap-icon { font-size: 1.6rem; margin-bottom: 12px; }
.cap-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #1b3a4b; }
.cap-card p { font-size: 0.9rem; color: #555; line-height: 1.65; margin-bottom: 14px; }
.cap-link { font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* --- Approach Steps --- */
.approach-steps {
  display: flex; align-items: flex-start; gap: 0; margin-top: 36px;
}
.step { flex: 1; background: #fff; padding: 32px 28px; border: 1px solid #ddd2bf; }
.step-num { display: block; font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #c17817; margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; margin-bottom: 10px; color: #1b3a4b; }
.step p { font-size: 0.88rem; color: #555; line-height: 1.65; }
.step-arrow { 
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; font-size: 1.4rem; color: #c17817; font-weight: 300;
}

/* --- Testimonial --- */
.testimonial-section { border-top: 1px solid #ddd2bf; }
.testimonial {
  background: #fff; padding: 40px 36px; margin-top: 24px;
  border: 1px solid #ddd2bf; position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 16px; left: 20px;
  font-family: 'DM Serif Display', serif; font-size: 4rem;
  color: #c17817; line-height: 1; opacity: 0.3;
}
.testimonial-text { font-size: 1.05rem; color: #333; font-style: italic; line-height: 1.8; }
.testimonial-attribution { margin-top: 20px; display: flex; flex-direction: column; }
.attrib-name { font-weight: 600; color: #1b3a4b; font-size: 0.9rem; }
.attrib-org { font-size: 0.8rem; color: #888; }

/* --- Footer --- */
.archive-footer {
  background: #1b3a4b; color: #b8c9d4; border-top: 3px solid #c17817;
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 40px 24px; display: flex; gap: 48px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; flex: 1; }
.footer-brand .brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: #c17817; color: #1b3a4b;
  font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 700;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.footer-brand strong { display: block; color: #f5efe4; font-family: 'DM Serif Display', serif; font-size: 1.05rem; margin-bottom: 4px; }
.footer-addr { font-size: 0.8rem; color: #8a9aa8; }
.footer-links { display: flex; gap: 40px; }
.fl-col h4 { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #c17817; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.fl-col a { display: block; color: #b8c9d4; font-size: 0.85rem; padding: 4px 0; }
.fl-col a:hover { color: #c17817; }
.footer-copy { text-align: center; padding: 14px 24px; font-size: 0.8rem; color: #6a7a88; border-top: 1px solid rgba(255,255,255,0.06); }

/* --- Legal Pages --- */
.legal-page {
  max-width: 800px; margin: 0 auto; padding: 40px 24px 80px;
}
.legal-page h1 {
  font-size: 2rem; margin-bottom: 4px;
}
.legal-page .effective-date {
  color: #888; font-size: 0.85rem; margin-bottom: 36px;
}
.legal-page h2 {
  font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: #1b3a4b; margin-top: 32px; margin-bottom: 12px;
  padding-bottom: 6px; border-bottom: 1px solid #ddd2bf;
}
.legal-page p {
  font-size: 0.92rem; color: #444; line-height: 1.75; margin-bottom: 12px;
}
.legal-page strong { color: #1b3a4b; }

/* --- Mobile --- */
@media (max-width: 768px) {
  .top-nav { display: none; }
  .menu-toggle { display: block; }
  .top-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #1b3a4b; padding: 12px; border-bottom: 2px solid #c17817; }
  
  h1 { font-size: 2rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-metrics { gap: 24px; flex-wrap: wrap; }
  .cap-grid { grid-template-columns: 1fr; }
  .approach-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); min-width: auto; padding: 8px 0; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 32px; }
}
