/* ============================================================
   Sentir Solutions® — Holding Company Stylesheet
   Deep Navy + Gold palette — distinct from all four Wholly brands
   ============================================================ */

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

:root {
  --bg:        #F5F2EC;  /* Warm white — background / fills */
  --bg-alt:    #FFFFFF;  /* White — base */
  --dark:      #0F1F3D;  /* Deep Navy — primary dominant */
  --darker:    #070F20;  /* Deeper Navy — footer */
  --text:      #1A1A1A;
  --muted:     #5C5852;
  --accent:    #C9A84C;  /* Gold — accent / contrast */
  --accent-lt: #D4B86A;  /* Gold light — for use on dark navy backgrounds */
  --border:    #DDD8CE;
  --max:       1100px;
  --nav-h:     64px;

  /* Four Wholly brand colors — used in portfolio brand cards */
  --fare-accent:  #3A8C4E;   /* WhollyFare green */
  --ware-accent:  #4A94BB;   /* WhollyWare blue */
  --paws-accent:  #C47D2E;   /* WhollyPaws amber */
  --care-accent:  #2F6FA5;   /* WhollyCare plum */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sentir Solutions wordmark — Navy bg: pipe1=white, pipe2=gold */
.mark-pipe1 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.mark-pipe2 {
  color: var(--accent-lt);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-right: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #9A9690;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: #FFFFFF; }
.nav-link.active { color: #FFFFFF; }

.nav-link.cta {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.45rem 1rem;
  transition: background 0.2s;
}

.nav-link.cta:hover { background: var(--accent-lt); color: var(--dark); }
.nav-link.cta.active { background: var(--accent-lt); }

/* ── HERO ── */
.hero {
  background: var(--dark);
  color: #FFFFFF;
  padding: 7rem 2rem 6rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto 1.75rem;
  color: #FFFFFF;
}

.hero h1 em { font-style: italic; color: var(--accent-lt); }

.hero-intro {
  font-size: 1.35rem;
  color: #D4CFC9;
  white-space: nowrap;
  margin: 0 auto 1.1rem;
  line-height: 1.5;
}

.hero-sub {
  font-size: 1.1rem;
  color: #B8B4AF;
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 4rem auto 0;
  opacity: 0.5;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover { background: var(--accent-lt); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-ghost:hover { border-color: var(--accent-lt); color: var(--accent-lt); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover { background: var(--accent); color: var(--dark); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
}

section { padding: 6rem 2rem; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--dark); color: #FFFFFF; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label.light { color: var(--accent-lt); }

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.22;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

h2.light { color: #FFFFFF; }
h2 em { font-style: italic; color: var(--accent); }
h2.light em { color: var(--accent-lt); }

h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.85;
}

.lead.light { color: #9A9690; }

p { line-height: 1.85; }

.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0 2rem;
}

/* ── CARDS ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.25rem;
  border-radius: 2px;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.card-number {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--border);
  margin-bottom: 1rem;
  line-height: 1;
}

/* ── STAT CARDS ── */
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem;
  border-radius: 2px;
}

.stat-card .number {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card .label {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── PORTFOLIO BRAND CARDS ── */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.brand-card {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.brand-card-header {
  padding: 1.75rem 2rem 1.5rem;
  color: #FFFFFF;
}

.brand-card-header h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.brand-card-header p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.5;
}

.brand-card-body {
  padding: 1.5rem 2rem;
  flex: 1;
}

.brand-card-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.brand-card-footer {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Per-brand card header gradients */
.brand-fare .brand-card-header  { background: linear-gradient(135deg,#1E3A25 0%,#2C3A2F 100%); border-top: 3px solid var(--fare-accent); }
.brand-ware .brand-card-header  { background: linear-gradient(135deg,#112A40 0%,#1A3D5C 100%); border-top: 3px solid var(--ware-accent); }
.brand-paws .brand-card-header  { background: linear-gradient(135deg,#3D2208 0%,#5C3A0E 100%); border-top: 3px solid var(--paws-accent); }
.brand-care .brand-card-header  { background: linear-gradient(135deg,#11293F 0%,#1C4569 100%); border-top: 3px solid var(--care-accent); }

/* ── PLATFORM THESIS PILLARS ── */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.platform-pillar {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}

.platform-pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.platform-pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CALLOUT BOX ── */
.callout {
  background: var(--dark);
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: 2px;
}

.callout .callout-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 1.25rem;
}


/* ── CALLOUT BLOCKQUOTE (completed) ── */
.callout blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.65;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0;
}

.callout blockquote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  color: var(--accent-lt);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ── FOOTER ── */
footer {
  background: var(--darker);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer p {
  font-size: 0.82rem;
  color: #6A6660;
  line-height: 1.8;
}

footer a {
  color: #8A8680;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--accent-lt); }

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  border-radius: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.08); }

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #0A1528;
  border-bottom: 2px solid var(--accent);
  z-index: 99;
  padding: 0;  /* no top padding — first link sits flush at the top */
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-mobile-menu a {
  display: block;
  color: #B8B4AF;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
  min-height: 44px; /* iOS touch target minimum */
  display: flex;
  align-items: center;
}

.nav-mobile-menu a:last-child { border-bottom: none; }

.nav-mobile-menu a:hover { background: rgba(255,255,255,0.05); color: #FFFFFF; }

.nav-mobile-menu a.mob-cta {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  margin: 0.75rem 1rem 0.5rem;
  text-align: center;
  border-bottom: none;
  border-radius: 2px;
}

.nav-mobile-menu a.mob-cta:hover { background: var(--accent-lt); }
.nav-mobile-menu.open { display: block; }

/* ── RESPONSIVE — 900px (tablets) ── */
@media (max-width: 900px) {
  .brand-grid    { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .round-grid    { grid-template-columns: 1fr; }
  .three-entity  { grid-template-columns: 1fr; }
  .roadmap-grid  { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: 1fr 1fr; }
  .entities-grid { grid-template-columns: 1fr; }
  .sincere-bar   { grid-template-columns: 1fr; }
  .sincere-item  { border-right: none; border-bottom: 1px solid var(--border); }
  .sincere-item:last-child { border-bottom: none; }
  .parallel-grid { overflow-x: auto; font-size: 0.82rem; }
}

/* ── RESPONSIVE — 768px (phones) ── */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* Nav — stays sticky; overflow:visible lets dropdown escape nav bounds */
  nav { overflow: visible; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  /* Hero */
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; max-width: 320px; text-align: center; }

  /* Sections */
  section { padding: 3.5rem 1.25rem; }
  .engine-section, .platform-section, .entities-section,
  .sincere-callout, .cta-section { padding: 3.5rem 1.25rem; }

  /* Typography */
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Pilot stats — vertical on phones */
  .pilot-stats { padding: 1.25rem 1.25rem; }
  .pilot-stats-inner { flex-direction: column; gap: 0.85rem; align-items: flex-start; }
  .pilot-stat-divider { display: none; }

  /* Engine grid */
  .engine-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Platform grid */
  .platform-grid  { grid-template-columns: 1fr; }
  .entities-grid  { grid-template-columns: 1fr; }
  .brand-grid     { grid-template-columns: 1fr; }
  .round-grid     { grid-template-columns: 1fr; }
  .roadmap-grid   { grid-template-columns: 1fr; }
  .investor-grid  { grid-template-columns: 1fr 1fr; }
  .three-entity   { grid-template-columns: 1fr; }
  .sincere-bar    { grid-template-columns: 1fr; }
  .sincere-item   { border-right: none; border-bottom: 1px solid var(--border); }
  .sincere-item:last-child { border-bottom: none; }
  .etab-row       { grid-template-columns: 1fr; }

  /* Parallel grid — scroll horizontally */
  .parallel-grid { overflow-x: auto; min-width: 0; }

  /* CTA pairs */
  .cta-pair { flex-direction: column; align-items: center; }
  .cta-pair a { width: 100%; max-width: 320px; text-align: center; }
  .engine-actions { flex-direction: column; }
  .engine-actions a { text-align: center; }

  /* Found money card — full width */
  .found-money-card { margin-top: 0; }

  /* Track legend */
  .track-legend { flex-direction: column; gap: 0.6rem; }
}
