/* ============================================================
   ARTEMIS DIGITAL — pages.css
   Shared styles for services.html and about.html
   ============================================================ */

/* ========== NAV ACTIVE STATE ========== */
.nav-active {
  color: var(--gold) !important;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  min-height: 56vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--section-pad);
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(196,168,74,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.page-eyebrow {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.page-eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ivory);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.page-hero-title em {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05em;
  font-weight: 300;
}
.page-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 620px;
}

/* ========== PAGE SECTIONS ========== */
.page-section {
  padding: var(--section-pad) 0;
}
.bg-light {
  background: var(--ivory);
  border-bottom: 1px solid rgba(13, 27, 46, 0.08);
}
.bg-white {
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 27, 46, 0.08);
}
.bg-white .section-title { color: var(--navy); }
.bg-white .section-title em { color: var(--gold); }
.bg-white .section-body { color: #3a4a5c; }
.bg-dark {
  background: var(--navy-700);
  border-bottom: 1px solid var(--border);
}
.bg-light .section-title,
.bg-light .section-title { color: var(--navy); }
.bg-light .section-title em { color: var(--gold); }
.bg-light .section-body { color: #3a4a5c; }
.on-dark { color: var(--ivory); }
.bg-dark .section-title { color: var(--ivory); }
.bg-dark .section-title em { color: var(--gold-light); }
.bg-dark .section-body { color: var(--text-secondary); }
.page-intro {
  max-width: 680px;
  margin-bottom: 64px;
}

/* ========== STEPS LIST (engagement model) ========== */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(13, 27, 46, 0.1);
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(13, 27, 46, 0.1);
  transition: background 0.2s;
}
.step-item:hover { background: rgba(196, 168, 74, 0.02); }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: rgba(196, 168, 74, 0.25);
  line-height: 1;
  padding-top: 6px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.step-content p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: #3a4a5c;
  line-height: 1.9;
}

/* ========== SERVICES DEEP GRID ========== */
.services-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: var(--border);
}
.service-deep-card {
  background: var(--navy-800);
  padding: 48px 44px;
  position: relative;
  transition: background 0.3s;
}
.service-deep-card:hover { background: var(--navy-700); }
.service-deep-num {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-deep-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.service-deep-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0.6;
}
.service-deep-card > p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-deep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.service-deep-list li {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-deep-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ========== FIT SECTION (who this is for) ========== */
.fit-narrative {
  max-width: 680px;
  margin-bottom: 72px;
}
.fit-narrative .section-body {
  margin-bottom: 20px;
}
.fit-narrative .section-body:last-child {
  margin-bottom: 0;
}
.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(13, 27, 46, 0.08);
}
.fit-col {
  background: var(--ivory);
  padding: 48px 44px;
}
.fit-col-label {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.fit-list li {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: #3a4a5c;
  line-height: 1.75;
  padding-left: 22px;
  position: relative;
}
.fit-list--for li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
.fit-list--not li {
  color: rgba(58, 74, 92, 0.65);
}
.fit-list--not li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 1px;
  background: rgba(58, 74, 92, 0.35);
}
.fit-closing {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-style: italic;
  color: var(--navy);
  font-weight: 400;
  border-top: 1px solid rgba(13, 27, 46, 0.1);
  padding-top: 28px;
  margin-top: 0;
}

/* ========== CTA BAND ========== */
.cta-band-section {
  padding: var(--section-pad) 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.cta-band-inner {
  max-width: 720px;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.cta-band-title em {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05em;
  font-weight: 300;
}
.cta-band-body {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 580px;
}
.cta-band-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== PILLARS (about page) ========== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: var(--border);
}
.pillar-card {
  background: var(--navy-800);
  padding: 44px 40px;
  transition: background 0.3s;
}
.pillar-card:hover { background: var(--navy-700); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: rgba(196, 168, 74, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}
.pillar-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.pillar-card p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.9;
}
.model-statement {
  margin-top: 64px;
  padding: 48px 52px;
  border-left: 3px solid var(--gold);
  background: rgba(196, 168, 74, 0.04);
}
.model-statement p {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.85;
}
.model-statement em {
  color: var(--gold-light);
  font-style: normal;
}

/* ========== FOUNDER LAYOUT (about page) ========== */
.founder-layout-page {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}
.founder-caption {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(13, 27, 46, 0.5);
  margin-top: 16px;
  line-height: 1.6;
}
.founder-story-content .section-title {
  color: var(--navy);
  margin-bottom: 28px;
}
.founder-story-content .section-body {
  color: #3a4a5c;
}

/* ========== PRINCIPLES LIST (about page) ========== */
.principles-list {
  list-style: none;
  margin-top: 56px;
  border-top: 1px solid rgba(13, 27, 46, 0.1);
}
.principle-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(13, 27, 46, 0.1);
  align-items: start;
}
.principle-dash {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  padding-top: 4px;
  flex-shrink: 0;
}
.principle-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.principle-content p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: #3a4a5c;
  line-height: 1.9;
}

/* ========== REVEAL CHILDREN ========== */
.reveal-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-deep-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero { min-height: 50vh; padding-top: 88px; }
  .step-item { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 1.5rem; }
  .timeline-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder-layout-page { grid-template-columns: 1fr; gap: 40px; }
  .cta-band-actions { flex-direction: column; }
}

/* ========== LEGAL PAGES ========== */
.legal-body { max-width: 760px; }
.legal-updated {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.legal-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 44px 0 14px;
}
.legal-heading:first-of-type { margin-top: 0; }
.legal-body .section-body { margin-bottom: 18px; }
.legal-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-link:hover { opacity: 0.7; }
