/* =========================================================
   Mirai Capital Partners — Homepage
   Visual DNA preserved from miraicapitalpartners.com:
   - Cormorant Garamond (serif, often italic) for display
   - Inter for body and nav
   - Cream #FDFBF7 background, gold #C9A96E accent
   - Dark text #2A2520, muted #5A5550 / #8A857D
   - Mountain hero, small-caps eyebrows, bordered cards
   ========================================================= */

:root {
  --cream: #FDFBF7;
  --cream-2: #F8F4EC;
  --ink: #2A2520;
  --ink-soft: #4A453F;        /* slightly darker than before for legibility */
  --ink-mute: #6F6A62;        /* darker mute so italics remain readable */
  --gold: #C9A96E;
  --gold-soft: #D9BE8B;
  --gold-faint: #EBD9B6;
  --line: #E8DFCE;
  --line-soft: #EFE8D8;
  --quote-bg: #FBF6EA;        /* warm parchment for highlight boxes */
  --quote-edge: #C9A96E;
  --shadow: 0 1px 2px rgba(42,37,32,0.04), 0 8px 24px rgba(42,37,32,0.04);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16.5px;        /* up from 15px for readability */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-header nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: color .2s ease;
}
.site-header nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253,251,247,0.35) 0%, rgba(253,251,247,0.45) 60%, var(--cream) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
  max-width: 880px;
}
.hero-mark {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
  margin: 0 auto 48px;
  opacity: 0.95;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  transition: color .25s ease, border-color .25s ease, letter-spacing .25s ease;
}
.hero-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.hero-link span { transition: transform .25s ease; }
.hero-link:hover span { transform: translateX(4px); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold);
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ---------- Section primitives ---------- */
section {
  padding: 110px 0;
  position: relative;
}
section + section { border-top: 1px solid var(--line-soft); }

.section-tag {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}
.section-description {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 0 56px;
  line-height: 1.7;
}
.section-description-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Pull-quote / highlight (used inline within text blocks) ---------- */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--quote-bg);
  border-left: 3px solid var(--quote-edge);
  padding: 18px 22px;
  margin: 22px 0 0;
  letter-spacing: 0.005em;
}
.pull-quote-center {
  text-align: center;
  border-left: none;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  padding: 22px 28px;
  font-size: 20px;
  background: var(--quote-bg);
  max-width: 760px;
  margin: 28px auto 0 !important;
}

/* ---------- Insights ---------- */
.insights { background: var(--cream); }
.insights .container { text-align: center; }
.insights .section-title { text-align: center; }
.insights .insights-grid { text-align: left; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.insight-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.insight-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.insight-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #fff 0%, var(--cream-2) 100%);
}
.insight-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.insight-issue {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.insight-date {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.insight-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 8px;
}
.insight-card-featured h3 { font-size: 34px; }
.insight-subtitle {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 20px;
  line-height: 1.5;
}
.insight-excerpt {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.insight-cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
}

/* ---------- What We Do (3 pillars) ---------- */
.services { background: var(--cream-2); }
.services-grid-three {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-card-feature {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-color: var(--gold-soft);
}
.service-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.service-icon {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 22px;
}
.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
}
.service-card .service-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 22.5px);
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.45;
}
.service-card p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- The Mirai Circle ---------- */
.circle {
  background: var(--cream);
  text-align: center;
}
.circle .container { max-width: 880px; }
.circle-body { margin-top: 8px; }
.circle-body .circle-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 22.5px);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin: 0 auto 36px;
  max-width: 820px;
}
.circle-body p {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 auto 22px;
  max-width: 740px;
  text-align: left;
}
.circle-body .pull-quote-center {
  font-size: 20px;
}

/* ---------- Audience ---------- */
.audience { background: var(--cream-2); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}
.audience-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 18px;
}
.audience-card p {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.card-highlight {
  position: relative !important;
  margin: 24px 0 0 !important;
  padding: 22px 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  color: var(--ink-soft) !important;
  letter-spacing: 0.005em;
}
.card-highlight::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Global Reach ---------- */
.global-reach { background: var(--cream); }
.global-reach .container { text-align: center; }
.global-reach .section-tag,
.global-reach .section-title {
  text-align: center;
}
.global-lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: center;
}
.global-map {
  max-width: 1100px;
  width: 100%;
  margin: 12px auto 28px;
  opacity: 1;
}
.locations {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  padding: 0;
  margin: 12px 0 0;
}
.locations li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  position: relative;
}
.locations li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -22px;
  color: var(--gold);
}

/* ---------- Partners / How We Work ---------- */
.partners { background: var(--cream-2); }
.partners .container { max-width: 880px; text-align: center; }
.partners p {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 auto;
  max-width: 780px;
  color: var(--ink-soft);
}

/* ---------- Founder ---------- */
.founder { background: var(--cream); }
.founder .container { max-width: 880px; }
.founder-body p {
  font-size: 16.5px;
  line-height: 1.85;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.founder-link {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.founder-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Board ---------- */
.board { background: var(--cream-2); }
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.board-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
}
.board-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 14px;
}
.board-card p { margin: 0; font-size: 15.5px; line-height: 1.8; }

/* Sectors & Capabilities — a quiet grid of icon tiles */
.board-sectors {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.board-sectors .section-tag {
  margin-bottom: 14px;
}
.sectors-heading {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 auto 36px;
  max-width: 780px;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
  text-align: left;
}
.sector-tile {
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.sector-tile:hover {
  background: #fff;
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.sector-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.sector-tile h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.005em;
}
.sector-tile p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */
.contact { background: var(--cream); text-align: center; }
.contact-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 28px;
}
.contact-email {
  font-family: var(--serif);
  font-size: 28px;
  margin: 16px 0 12px;
}
.contact-email a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.contact-email a:hover { color: var(--gold); border-color: var(--gold); }
.contact-loc {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer-inner { text-align: center; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 32px;
}
.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.footer-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 12.5px; }
}
@media (max-width: 1024px) {
  body { font-size: 16px; }
  section { padding: 96px 0; }
  .services-grid-three { grid-template-columns: 1fr 1fr; }
  .service-card-feature { grid-column: 1 / -1; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-card:last-child { grid-column: 1 / -1; }
  .insight-card-featured h3 { font-size: 30px; }
  .global-lede { max-width: 760px; }
  .site-header nav { display: none; } /* nav hides earlier — link list is long now */
}
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.75; }
  section { padding: 76px 0; }
  .container { padding: 0 22px; }
  .site-header { padding: 18px 0; }
  .site-header nav { display: none; }
  .hero-inner { padding: 110px 0 90px; }
  .hero-mark { width: clamp(120px, 28vw, 160px); margin-bottom: 36px; }
  .hero h1 { font-size: clamp(30px, 7vw, 40px); }
  .hero-sub { font-size: 16.5px; }
  .insights-grid { grid-template-columns: 1fr; }
  .services-grid-three { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card:last-child { grid-column: auto; }
  .board-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; gap: 14px; }
  .sector-tile { padding: 24px 22px 22px; }
  .sector-tile h4 { font-size: 18px; }
  .sectors-heading { font-size: 23px; margin-bottom: 28px; }
  .locations { gap: 12px 28px; }
  .locations li { font-size: 17px; }
  .locations li:not(:last-child)::after { display: none; }
  .insight-card { padding: 28px 24px 26px; }
  .insight-card-featured h3 { font-size: 26px; }
  .insight-card h3 { font-size: 23px; }
  .service-card { padding: 32px 26px 28px; }
  .service-card h3 { font-size: 26px; }
  .service-card .service-deck { font-size: 18.5px; }
  .audience-card { padding: 30px 24px 26px; }
  .audience-card h3 { font-size: 22px; }
  .pull-quote, .pull-quote-center { font-size: 17px; padding: 16px 18px; }
  .circle-body .circle-lede { font-size: 18.5px; }
  .circle-body p { font-size: 16px; }
  .global-lede { font-size: 16px; }
  .partners p { font-size: 16px; }
  .founder-body p { font-size: 16px; line-height: 1.8; }
  .contact-email { font-size: 24px; }
}
