/* ============================================================
   AXEON STUDIO — OUR STORY PAGE STYLES
   css/story.css
   ============================================================ */

/* ── Hero ── */
.hero {
  min-height: 70vh;
  background: var(--bk);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

#story-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .5;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 90px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bl);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--bl); }

.hero-title {
  font-family: var(--fd);
  font-size: clamp(72px, 10vw, 148px);
  line-height: .88;
  color: #f2f0eb;
  margin-bottom: 24px;
}
.hero-title em { color: var(--bl); font-style: normal; }

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(242,240,235,.45);
  max-width: 400px;
}
.hero-sub strong { color: rgba(242,240,235,.78); font-weight: 400; }

.hero-right {
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.hero-quote {
  font-family: var(--fd);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
  color: rgba(242,240,235,.18);
  margin-bottom: 28px;
}
.hero-quote em { color: rgba(26,74,255,.6); font-style: normal; }

.hero-founded { display: flex; flex-direction: column; gap: 2px; }
.hf-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.06); padding: 14px 0; }
.hf-label { font-family: var(--fm); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(242,240,235,.25); }
.hf-val   { font-family: var(--fd); font-size: 18px; color: rgba(242,240,235,.6); letter-spacing: .02em; }

/* ── Origin ── */
.origin-section { background: var(--bg); }

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 52px;
}

.origin-body p { font-size: 15px; line-height: 1.95; color: var(--bkl); margin-bottom: 22px; }
.origin-body p strong { color: var(--bkm); font-weight: 500; }

/* Stats column replaces old right-col pull quote */
.origin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.origin-stat {
  background: var(--bg2);
  border: 1px solid var(--br);
  padding: 28px 24px;
  transition: background .2s;
}
.origin-stat:hover { background: #fff; }
.origin-stat-n {
  font-family: var(--fd);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  color: var(--bk);
  margin-bottom: 6px;
}
.origin-stat-n em { color: var(--bl); font-style: normal; }
.origin-stat-l {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bkl);
}

/* Pull quote — full-width band below the grid */
.origin-pull-band {
  margin-top: 2px;
  background: var(--bk);
  position: relative;
}
.origin-pull-band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--bl);
}
.origin-pull-inner {
  padding: 44px 60px;
  display: flex;
  align-items: baseline;
  gap: 60px;
}
.origin-pull-text {
  font-family: var(--fd);
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.1;
  color: #f2f0eb;
  flex: 1;
}
.origin-pull-attr {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(242,240,235,.3);
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .origin-pull-inner { flex-direction: column; gap: 16px; padding: 36px 40px; }
  .origin-pull-attr { white-space: normal; }
}
@media (max-width: 768px) {
  .origin-grid { grid-template-columns: 1fr; gap: 40px; }
  .origin-pull-inner { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .origin-stats { grid-template-columns: 1fr 1fr; }
  .origin-pull-inner { padding: 28px 20px; }
}

/* ── Timeline ── */
.timeline-section { background: var(--bg2); border-top: 1px solid var(--br); }

.timeline { display: flex; flex-direction: column; margin-top: 52px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 119px; top: 0; bottom: 0; width: 1px; background: var(--br); }

.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--br); }
.tl-item:last-child { border-bottom: none; }

.tl-year { font-family: var(--fd); font-size: 28px; color: var(--bl); line-height: 1; padding-top: 4px; text-align: right; position: relative; }
.tl-year::after { content: ''; position: absolute; right: -21px; top: 10px; width: 10px; height: 10px; background: var(--bl); border-radius: 50%; border: 2px solid var(--bg2); }

.tl-title { font-family: var(--fd); font-size: 22px; color: var(--bk); margin-bottom: 8px; letter-spacing: .01em; }
.tl-body  { font-size: 14px; line-height: 1.85; color: var(--bkl); max-width: 600px; }

/* ── Team ── */
.team-section { background: var(--bg); }

.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 52px; }
.founder-card { background: #fff; border: 1px solid var(--br); overflow: hidden; transition: box-shadow .3s; }
.founder-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.08); }

.founder-visual { height: 280px; background: var(--bk); position: relative; overflow: hidden; }
.founder-visual-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.founder-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: clamp(80px,10vw,130px); color: transparent; -webkit-text-stroke: 1px rgba(26,74,255,.3); user-select: none; }

.founder-info { padding: 32px 36px 36px; }
.founder-role { font-family: var(--fm); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--bl); margin-bottom: 8px; }
.founder-name { font-family: var(--fd); font-size: 32px; color: var(--bk); margin-bottom: 14px; line-height: 1; }
.founder-bio  { font-size: 14px; line-height: 1.85; color: var(--bkl); }

.team-secondary { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 2px; }
.team-card { background: var(--bg2); border: 1px solid var(--br); padding: 28px 26px; transition: background .2s; }
.team-card:hover { background: #fff; }
.team-role { font-family: var(--fm); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--bl); margin-bottom: 8px; }
.team-name { font-family: var(--fd); font-size: 20px; color: var(--bk); margin-bottom: 6px; }
.team-desc { font-size: 12px; line-height: 1.7; color: var(--bkl); }

/* ── Values ── */
.values-section { background: var(--bk); }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 52px; }
.val-card { border: 1px solid rgba(255,255,255,.07); padding: 36px 30px; transition: background .25s; position: relative; overflow: hidden; }
.val-card:hover { background: rgba(26,74,255,.07); }
.val-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(26,74,255,.5), transparent); opacity: 0; transition: opacity .3s; }
.val-card:hover::after { opacity: 1; }
.val-num  { font-family: var(--fd); font-size: 44px; line-height: 1; color: rgba(26,74,255,.2); margin-bottom: 14px; }
.val-name { font-family: var(--fd); font-size: 22px; color: #f2f0eb; margin-bottom: 10px; }
.val-desc { font-size: 13px; line-height: 1.8; color: rgba(242,240,235,.4); }

/* ── Midwest Band ── */
.mw-band { background: var(--bl); padding: 52px 60px; }
.mw-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mw-left  { font-family: var(--fd); font-size: clamp(34px, 4.5vw, 64px); line-height: .95; color: #fff; }
.mw-right p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.mw-right p:last-child { margin-bottom: 0; }
.mw-right strong { color: #fff; font-weight: 400; }

/* ── Des Moines Stats ── */
.iowa-stats { background: var(--bg); border-top: 1px solid var(--br); }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 52px; }
.stat-box { background: #fff; border: 1px solid var(--br); padding: 36px 28px; text-align: center; transition: background .2s; }
.stat-box:hover { background: var(--blp); }
.stat-val    { font-family: var(--fd); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--bk); margin-bottom: 6px; }
.stat-val em { color: var(--bl); font-style: normal; }
.stat-label  { font-family: var(--fm); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--bkl); }

/* ============================================================
   RESPONSIVE — STORY (story.css)
   ============================================================ */

@media (max-width: 1024px) {
  /* Hero: stack */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 80px 32px 60px; }
  .hero-right { border-left: none; border-top: 1px solid rgba(255,255,255,.06); padding: 40px 32px 56px; }

  /* Origin */
  .origin-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Timeline: simplify columns */
  .timeline::before { left: 79px; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 28px; }
  .tl-year::after { right: -15px; }

  /* Team */
  .founders-grid { grid-template-columns: 1fr; }
  .team-secondary { grid-template-columns: repeat(2,1fr); }

  /* Values: 2 col */
  .values-grid { grid-template-columns: repeat(2,1fr); }

  /* Midwest band */
  .mw-inner { grid-template-columns: 1fr; gap: 32px; }
  .mw-band { padding: 52px 32px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); }

  /* CTA */
  .cta-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .hero-left { padding: 72px 24px 52px; }
  .hero-right { padding: 32px 24px 48px; }
  .hero-title { font-size: clamp(56px, 13vw, 96px); }

  .origin-section .pad,
  .timeline-section .pad,
  .team-section .pad,
  .values-section .pad,
  .iowa-stats .pad { padding: 56px 24px; }

  .timeline::before { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .tl-year::after { display: none; }
  .tl-year { text-align: left; font-size: 22px; }

  .team-secondary { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .mw-band { padding: 48px 24px; }
  .mw-left { font-size: clamp(28px, 7vw, 48px); }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .hero-left { padding: 64px 20px 44px; }
  .hero-right { padding: 24px 20px 40px; }
  .hero-title { font-size: clamp(48px, 14vw, 76px); }

  .origin-section .pad,
  .timeline-section .pad,
  .team-section .pad,
  .values-section .pad,
  .iowa-stats .pad { padding: 48px 20px; }

  .team-secondary { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .stat-box { padding: 28px 16px; }
  .mw-band { padding: 40px 20px; }
}

/* ============================================================
   STORY — WHY LOCAL + REMOTE SECTIONS
   ============================================================ */

/* ── Why Local ── */
.story-local-section {
  background: var(--bg2);
  border-top: 1px solid var(--br);
}

.story-local-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 52px;
}

.story-local-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--br);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.story-local-item:hover { background: rgba(26,74,255,.02); }
.story-local-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--bl);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s;
}
.story-local-item:hover::after { transform: scaleY(1); }

.sli-num {
  font-family: var(--fd);
  font-size: 44px;
  line-height: 1;
  color: rgba(26,74,255,.1);
  flex-shrink: 0;
  width: 54px;
  padding-top: 3px;
}

.sli-name {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--bk);
  letter-spacing: .01em;
  margin-bottom: 10px;
  line-height: 1;
}

.sli-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--bkl);
  margin: 0;
}

/* ── Remote Section ── */
.story-remote-section {
  background: var(--bk);
  border-top: 1px solid rgba(255,255,255,.05);
}

.story-remote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-remote-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(242,240,235,.44);
  margin-top: 20px;
  max-width: 440px;
}
.story-remote-desc:first-of-type { margin-top: 24px; }

.story-remote-feats {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}

.srf-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.srf-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }

.srf-label {
  font-family: var(--fd);
  font-size: 18px;
  color: #f2f0eb;
  flex-shrink: 0;
  letter-spacing: .01em;
}

.srf-val {
  font-size: 13px;
  color: rgba(242,240,235,.38);
  text-align: right;
  line-height: 1.55;
  max-width: 220px;
}

.srf-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(26,74,255,.1);
  border: 1px solid rgba(26,74,255,.25);
}

.srf-stat-num {
  font-family: var(--fd);
  font-size: 52px;
  line-height: 1;
  color: var(--bl);
  flex-shrink: 0;
}

.srf-stat-label {
  font-size: 13px;
  color: rgba(242,240,235,.5);
  line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .story-local-grid  { grid-template-columns: 1fr; }
  .story-remote-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  .story-local-item { padding: 28px 24px; gap: 20px; }
  .sli-num  { font-size: 32px; width: 42px; }
  .sli-name { font-size: 19px; }
  .srf-label { font-size: 16px; }
  .srf-val   { max-width: 160px; }
  .story-remote-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .story-local-item { flex-direction: column; gap: 8px; padding: 24px 20px; }
  .sli-num  { font-size: 26px; width: auto; }
  .srf-item { flex-direction: column; gap: 4px; }
  .srf-val  { text-align: left; max-width: 100%; }
  .srf-stat { flex-direction: column; gap: 10px; text-align: center; }
}
