/* CapitalSage at 10 — 10Xcellence landing page */

:root {
  --orange: #FF6600;
  --orange-text: #B84A00;     /* small orange text: passes 4.5:1 on white and both tints */
  --orange-display: #E85A00;  /* large orange headline text on light tints: passes 3:1 */
  --orange-deep: #A13D00;
  --orange-bright: #FF7A21;
  --orange-soft: #FFB27A;
  --blue: #003399;
  --navy: #0E1630;
  --ink: #222222;
  --ink-strong: #1A1A1A;
  --ink-muted: #4A4A4A;
  --grey: #6E6E6E;
  --line: #E3E3E3;
  --white: #FFFFFF;

  --tint-warm: #FFF4EB;
  --tint-cool: #EEF2FB;
  --why-warm: #FFE9D6;
  --why-cool: #E3EAF8;

  --accent: var(--orange);
  --cta-text: var(--ink-strong);

  /* Hero overlay strength (0.3–0.95) */
  --overlay-top: rgba(14, 22, 48, 0.36);
  --overlay-mid: rgba(14, 22, 48, 0.72);
  --overlay-bottom: rgba(14, 22, 48, 0.92);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Didact Gothic', sans-serif;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-text); }
::selection { background: var(--orange); color: var(--ink-strong); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.page {
  font-family: var(--font-body);
  /* Didact Gothic's kerning adds a wide gap before capitals ("Capitalsage  Holdings"). */
  font-kerning: none;
  color: var(--ink);
  background: var(--white);
}
/* Outfit kerns well, so keep it on for every display-font element. */
.h2, .subhead, .eyebrow, .btn, .site-nav, .hero__title, .hero__details, .countdown,
.check-list li, .why-card__num, .why-card__title, .tenx__mark, .tenx__title, .tenx__lead,
.num-list__n, .num-list__t, .countdown-section__title, .closing__title {
  font-kerning: normal;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.section--no-bottom { padding-bottom: 0; }
.band--warm { background: var(--tint-warm); }
.band--cool { background: var(--tint-cool); }

/* Type */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow--light { color: var(--orange-soft); }
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.subhead {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.body-lg { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.65; }
.about__copy .body-lg:first-of-type { margin-top: 24px; }
.brand-blue { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  background: var(--accent);
  color: var(--cta-text);
  font-family: var(--font-display);
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { color: var(--cta-text); filter: brightness(0.94); }
.btn--sm { padding: 12px 22px; min-height: 44px; }
.btn--lg { font-weight: 700; font-size: 1.25rem; padding: 20px 40px; min-height: 64px; }
.cta { display: flex; width: 100%; box-shadow: 0 10px 28px rgba(255, 102, 0, 0.32); }
@media (min-width: 640px) { .cta { display: inline-flex; width: auto; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header__inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: clamp(30px, 3.4vw, 44px); width: auto; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav-link { display: none; text-decoration: none; color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: clamp(600px, 60vw, 860px);
  display: flex;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-top) 0%, var(--overlay-mid) 45%, var(--overlay-bottom) 100%);
}
.hero__content {
  position: relative;
  flex: 1;
  width: 100%;
  padding-top: clamp(48px, 8vw, 112px);
  padding-bottom: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 6.4vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title-accent { display: block; color: var(--orange-bright); }
.hero__inner {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 44rem;
  width: 100%;
}
.hero__lede { margin: 0; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: #F3F3F3; }
.hero-cta { display: none; }
.hero__details {
  list-style: none;
  align-self: stretch;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(20px, 3vw, 28px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.hero__details li { display: flex; align-items: center; gap: 10px; }
.hero__details svg { flex: none; color: var(--orange-soft); }

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  font-family: var(--font-display);
}
.countdown__cell { text-align: center; }
.countdown__num { font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { text-transform: uppercase; color: var(--line); font-size: 0.6875rem; letter-spacing: 0.04em; }
@media (min-width: 640px) { .countdown__label { font-size: 0.875rem; letter-spacing: 0.1em; } }

.countdown--hero {
  margin-top: clamp(28px, 4vw, 44px);
  width: 100%;
  max-width: 520px;
  gap: clamp(8px, 1.2vw, 12px);
}
.countdown--hero .countdown__cell {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  padding: clamp(12px, 1.6vw, 18px) 6px;
}
.countdown--hero .countdown__num { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.countdown--hero .countdown__label { margin-top: 6px; }

.countdown--dark { flex: 1 1 480px; min-width: 0; gap: 12px; }
.countdown--dark .countdown__cell { background: var(--ink); color: var(--white); border-radius: 18px; padding: 20px 8px; }
.countdown--dark .countdown__num { font-size: clamp(2.25rem, 5vw, 4rem); }
.countdown--dark .countdown__label { margin-top: 8px; }

.countdown .countdown__cell.countdown__cell--accent { background: var(--orange); color: var(--ink-strong); border: 0; }
.countdown__cell--accent .countdown__label { color: inherit; }

@media (min-width: 860px) {
  .nav-link { display: inline; }
  .hero-cta { display: inline-flex; }
  .hero--desk-center { justify-content: center; align-items: center; text-align: center; }
  .hero--desk-center .hero__inner { align-items: center; }
  .hero--desk-center .hero__details { justify-content: center; }
}

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.check-list li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='%23FF6600'/%3E%3Cpath d='M8.5 14.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about__gallery { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__img { width: 100%; height: 220px; object-fit: cover; border-radius: 20px; }
.about__img--wide { grid-column: 1 / -1; height: 320px; }
.about__copy { flex: 1 1 420px; min-width: 0; }

/* Why attend */
.why__title { margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.why-card {
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(18px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: clamp(220px, 20vw, 300px);
}
.why-card--warm { background: var(--why-warm); }
.why-card--cool { background: var(--why-cool); }
.why-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.why-card__icon {
  width: clamp(40px, 4vw, 52px);
  height: clamp(40px, 4vw, 52px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__icon--blue { background: var(--blue); color: var(--white); }
.why-card__icon--orange { background: var(--orange); color: var(--ink-strong); }
.why-card__num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.why-card--warm .why-card__num { color: var(--orange-deep); }
.why-card--cool .why-card__num { color: var(--blue); }
.why-card__title {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  line-height: 1.08;
}
.why-card__text { margin: 0; font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); line-height: 1.55; color: var(--ink-muted); }

/* 10X block */
.tenx {
  background: var(--blue);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: center;
}
.tenx__mark {
  flex: 1 1 360px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 20vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
}
.tenx__mark span { color: var(--orange); }
.tenx__copy { flex: 1 1 420px; min-width: 0; }
.tenx__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tenx__lead { margin: 24px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }
.tenx__text { margin: 14px 0 0; font-size: 1.125rem; line-height: 1.65; color: #E3E8F6; }

/* Exhibition */
.exhibition__title { margin-bottom: 40px; }
.exhibition__img { width: 100%; height: clamp(260px, 38vw, 520px); object-fit: cover; border-radius: 20px; }
.exhibition__subhead { margin: 40px 0 16px; }
.num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--ink);
}
.num-list li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.num-list__n { display: block; font-family: var(--font-display); font-weight: 700; color: var(--orange-text); }
.num-list__t { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }

/* Countdown section */
.countdown-section {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: center;
  justify-content: space-between;
}
.countdown-section__copy { flex: 1 1 380px; min-width: 0; }
.countdown-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.countdown-section .body-lg { line-height: 1.6; }

/* Venue map */
.venue {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: center;
}
.venue__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.venue__address { font-style: normal; font-size: 1.125rem; line-height: 1.6; }
.venue__address strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; font-kerning: normal; }
.venue__map { flex: 2 1 480px; min-width: 0; }
.venue__map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 34vw, 460px);
  border: 0;
  border-radius: 20px;
  background: var(--white);
}
.btn--dark { background: var(--ink); color: var(--white); padding: 14px 26px; min-height: 52px; font-weight: 700; font-size: 1.0625rem; gap: 10px; }
.btn--dark:hover { color: var(--white); background: var(--ink-strong); filter: none; }

/* Closing */
.closing {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.closing__title span { color: var(--orange-display); }
.closing__text { margin: 28px 0 0; font-size: 1.25rem; line-height: 1.55; max-width: 36rem; }
.closing__cta { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--line); }
.site-footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__inner p { margin: 0; font-size: 0.9375rem; }
.site-footer a { color: var(--orange-soft); }
.site-footer__logo { display: inline-flex; background: var(--white); border-radius: 14px; padding: 12px 18px; }
.site-footer__logo img { height: 40px; width: auto; }

/* Sticky mobile CTA */
.mobile-bar {
  display: block;
  position: sticky;
  bottom: 0;
  z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}
.mobile-bar__btn { display: flex; width: 100%; min-height: 56px; font-weight: 700; font-size: 1.125rem; gap: 10px; }
@media (min-width: 860px) { .mobile-bar { display: none; } }
