/* ============================================================
   Sandbox Group LLC — Landing Page Styles
   Light mode only · Institutional aesthetic
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #1A3558;
  --navy-light:  #2E5080;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --stone:       #EAE8E2;
  --muted:       #8A8F99;
  --text:        #1A1A2E;
  --text-light:  #4A4E5A;
  --accent:      #C8A96E;          /* warm gold accent */
  --rule:        #D6D3CB;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1200px;
  --section-pad: 100px 24px;
}

html {
  color-scheme: light;            /* persistently light */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);  font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw,  1.75rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

p  { color: var(--text-light); font-size: 1.05rem; line-height: 1.75; }

strong { color: var(--navy); }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section--alt {
  background-color: var(--off-white);
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255,255,255,0.75);
}

.section--navy .rule { border-color: rgba(255,255,255,0.15); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

@media (max-width: 680px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 24px 100px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: var(--off-white);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__headline {
  max-width: 720px;
  margin-bottom: 28px;
}

.hero__sub {
  max-width: 520px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 48px;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.pillar-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  text-decoration: none;
}

.pillar-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Brand cards (companies) ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--stone);
}

.brand-card {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.25s;
}

.brand-card:hover { background: var(--off-white); }

.brand-card__logo {
  height: 48px;
  display: flex;
  align-items: center;
}

.brand-card__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

/* Placeholder shown when no logo file is present */
.brand-card__logo-placeholder {
  height: 40px;
  display: flex;
  align-items: center;
}

.brand-card__logo-placeholder span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.brand-card h3 { font-size: 1.3rem; margin-bottom: 4px; }

.brand-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.brand-card__divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Philosophy section ---------- */
.philosophy__intro {
  max-width: 700px;
  margin-bottom: 64px;
}

.philosophy__intro p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.belief-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.belief-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}

.belief-list li::before {
  content: attr(data-n);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
}

.belief-list li p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
}

/* ---------- Pillar detail sections ---------- */
.pillar-section {
  padding: var(--section-pad);
}

.pillar-section__header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

@media (max-width: 820px) {
  .pillar-section__header { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { display: none; }
}

.pillar-section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pillar-section__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--stone);
  line-height: 1;
  user-select: none;
}

.pillar-section__abbr {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.component-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.component-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.component-list li:first-child { border-top: 1px solid var(--rule); }

.component-list__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.component-list__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Stat/pull-quote blocks ---------- */
.pull-quote {
  background: var(--navy);
  color: var(--white);
  padding: 64px 48px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.pull-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

/* ---------- How it connects ---------- */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--stone);
  margin-top: 48px;
}

.connect-item {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect-item__arrow {
  font-size: 1.5rem;
  color: var(--accent);
  font-family: var(--font-display);
}

.connect-item h3 {
  font-size: 1.4rem;
}

.connect-item__role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.connect-item p {
  font-size: 0.9rem;
}

/* ---------- Economic loop ---------- */
.loop-container {
  max-width: 640px;
  margin: 0 auto;
}

.loop-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.loop-step + .loop-step {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.loop-step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.loop-step p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}

.loop-step p strong {
  color: var(--white);
}

/* ---------- Forge Intelligence pipeline ---------- */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--stone);
  margin-top: 48px;
  counter-reset: stage;
}

.pipeline-stage {
  background: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-increment: stage;
  position: relative;
}

.pipeline-stage::before {
  content: "0" counter(stage);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--stone);
  line-height: 1;
}

.pipeline-stage h4 {
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

.pipeline-stage p {
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ---------- Positioning section ---------- */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--stone);
  margin-top: 48px;
}

@media (max-width: 600px) {
  .vs-grid { grid-template-columns: 1fr; }
}

.vs-col {
  background: var(--white);
  padding: 40px 32px;
}

.vs-col--sandbox { background: var(--navy); }

.vs-col--sandbox h3,
.vs-col--sandbox li,
.vs-col--sandbox p { color: var(--white); }

.vs-col--sandbox .vs-col__heading { color: var(--accent); }

.vs-col__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.vs-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- Vision section ---------- */
.vision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vision-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.vision-list li::before {
  content: '↗';
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: 64px 24px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
  line-height: 1.6;
  margin: 0;
}

.footer__companies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer__companies span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer__companies span:hover { color: rgba(255,255,255,0.8); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ---------- Utilities ---------- */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 480px) {
  :root { --section-pad: 72px 20px; }
  .pull-quote { padding: 40px 28px; }
  .brand-card { padding: 36px 28px; }
}
