/* === Shared styles for interior pages === */

/* Make logo a link */
a.logo {
  color: var(--color-navy);
  text-decoration: none;
}

a.logo:hover {
  color: var(--color-navy);
}

/* Active nav link */
.nav-links .nav-active {
  color: var(--color-navy);
  font-weight: 600;
}

/* === Page Hero (smaller than homepage hero) === */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  position: relative;
  /* Linen crosshatch texture */
  background-color: var(--color-bg);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(22, 43, 72, 0.02) 10px,
      rgba(22, 43, 72, 0.02) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(22, 43, 72, 0.02) 10px,
      rgba(22, 43, 72, 0.02) 11px
    );
  border-bottom: none;
}

/* Gold gradient bottom accent */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 30%, var(--color-gold) 70%, transparent);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.8;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

/* === Page Main === */
.page-main {
  padding: 4rem 0 5rem;
}

/* === Services Page === */
.service-section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  padding: 0.5rem 0;
  margin-top: 1rem;
  margin-bottom: 0;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-detail-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0;
}

.service-icon-lg {
  color: var(--color-navy);
  flex-shrink: 0;
}

.service-detail p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 720px;
  line-height: 1.8;
}

.service-deliverables {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-deliverables li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-deliverables li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.85rem;
}

.service-target {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  font-size: 0.9rem !important;
}

.service-target strong {
  color: var(--color-navy);
}

/* === Page CTA === */
.page-cta {
  padding: 5rem 0;
  background: var(--color-navy);
  text-align: center;
}

.page-cta h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.page-cta .cta-button {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.page-cta .cta-button:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* === Trust Signoff (CTA sections) === */
.trust-signoff-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-signoff-cta .trust-signoff-name {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.trust-signoff-cta .trust-signoff-title {
  color: var(--color-gold);
  font-size: 0.85rem;
}

/* === About Page === */
.about-founder {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.founder-headshot {
  flex-shrink: 0;
  width: 240px;
}

.headshot-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.02);
}

.founder-bio h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.founder-location {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: 1.5rem !important;
}

.founder-bio p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* === Metrics Strip (About page) === */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === Credentials === */
.credentials-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.credentials-section h2 {
  margin-bottom: 2.5rem;
}

.credential-groups {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.credential-group h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.credential-prose {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 1rem;
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credential-list li {
  padding-left: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.credential-list li strong {
  color: var(--color-navy);
  display: block;
  margin-bottom: 0.2rem;
}

.credential-list li span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* === Why Section === */
.why-section {
  padding: 3rem 0;
}

.why-section h2 {
  margin-bottom: 1.5rem;
}

.why-section > p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.differentiators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.differentiator {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-navy);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.02);
}

.differentiator strong {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: 0.95rem;
}

.differentiator span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* === Demo Page === */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.demo-card {
  display: flex;
  gap: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  align-items: flex-start;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.02);
}

.demo-card:hover {
  border-color: var(--color-gold);
  color: inherit;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06),
    0 6px 12px rgba(0,0,0,0.06),
    0 16px 32px rgba(0,0,0,0.03);
}

.demo-card-icon {
  color: var(--color-navy);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.demo-card-content h3 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.demo-card-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.demo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.6rem;
}

.demo-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* === Demo Detail Pages === */
.stub-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  margin-bottom: 3rem;
}

.stub-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.stub-notice strong {
  color: var(--color-navy);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.stub-notice p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.project-description h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.project-description h2:first-child {
  margin-top: 0;
}

.project-description p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}

.feature-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 640px) {
  .service-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .demo-card {
    flex-direction: column;
    gap: 1rem;
  }

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

  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-founder {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .founder-headshot {
    width: 200px;
  }
}
