/* ══════════════════════════════════════════════════════════
   INDEX.CSS — Styles specific to index.html
   Hero, combined section, identity tabs, pathway,
   skill tree, notes/OCEAN, orgs section
   ══════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  padding: 120px 80px 80px;
  display: flex; flex-direction: row; align-items: center;
  gap: 64px; background: var(--ink);
  overflow: hidden;
}
.hero-text {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.hero-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: var(--amber); }
.hero-hed {
  font-family: 'EB Garamond', serif;
  font-size: clamp(36px, 4.5vw, 72px); font-weight: 400; line-height: 1.0;
  letter-spacing: -.01em; color: var(--cream);
  max-width: 760px; margin-bottom: 28px;
}
.hero-hed em { color: var(--amber); font-style: italic; }
.hero-body {
  font-family: 'EB Garamond', serif;
  font-size: clamp(15px, 1.6vw, 19px); line-height: 1.75;
  color: var(--muted); max-width: 520px; margin-bottom: 32px;
}
.hero-belief {
  border-left: 3px solid var(--amber); padding: 14px 22px;
  background: rgba(232,170,61,.05); max-width: 520px; margin-bottom: 0;
}
.hero-belief p {
  font-family: 'EB Garamond', serif; font-style: italic;
  font-size: clamp(13px, 1.4vw, 16px); line-height: 1.72; color: rgba(234,229,208,.6);
}

/* ── HERO CAROUSEL ────────────────────────────────────── */
.hero-carousel {
  width: 380px; flex-shrink: 0;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-frame {
  width: 100%; aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  background: #111;
}
.carousel-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0; transition: opacity .9s ease;
}
.carousel-frame img.active { opacity: 1; }
.carousel-dots {
  display: flex; gap: 5px; justify-content: center;
  margin-top: 12px; flex-wrap: wrap; padding: 0 4px;
}
.carousel-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(234,229,208,.18); cursor: pointer;
  transition: background .2s, transform .2s;
  border: none; padding: 0;
}
.carousel-dot.active {
  background: var(--amber); transform: scale(1.3);
}
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(234,229,208,.45); text-align: right;
}

@keyframes bob { to { transform: translateY(4px); } }

/* ── COMBINED: IDENTITY TABS + PATHWAY ────────────────── */
.combined {
  background: var(--bg); border-top: 3px solid var(--amber);
  padding: 0 0 80px;
}

/* Identity tab row */
.id-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border-bottom: 1px solid #d8d4c8;
  margin-bottom: 52px;
}
.id-tab {
  padding: 20px 16px; cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: background .14s, border-color .14s;
  background: var(--bg);
}
.id-tab:hover  { background: rgba(232,170,61,.05); }
.id-tab.active { background: var(--white); border-bottom-color: var(--amber); }
.id-tab + .id-tab { border-left: 1px solid #d8d4c8; }
.it-icon  { font-size: 18px; display: block; margin-bottom: 8px; }
.it-label { font-size: 11px; font-weight: 700; color: #444; line-height: 1.3; }
.it-sub   { font-size: 9px; color: #aaa; line-height: 1.4; margin-top: 3px; }
.id-tab.active .it-label { color: var(--amber); }

/* Pathway layout */
.pw-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 80px;
}
.pw-info-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* Left — context */
.pw-id-badge {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.pw-id-icon { font-size: 20px; }
.pw-id-lbl {
  font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber);
}
.pw-change {
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(26,26,26,.3); text-decoration: underline; cursor: pointer;
  background: none; border: none; margin-left: 6px;
}
.pw-hed {
  font-family: 'EB Garamond', serif;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 400;
  line-height: 1.06; color: var(--ink); margin-bottom: 14px;
}
.pw-hed em { font-style: italic; color: var(--amber); }
.pw-body {
  font-family: 'EB Garamond', serif;
  font-size: clamp(14px, 1.5vw, 17px); line-height: 1.76;
  color: var(--mid); margin-bottom: 28px;
}
.pw-skills-lbl {
  font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #aaa; margin-bottom: 12px;
}
.pw-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.pw-skill {
  font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #777; background: #ece8de; padding: 4px 9px;
}
.pw-progress { max-width: 340px; margin-bottom: 0; }
.prog-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.prog-lbl { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.prog-val { font-size: 9px; font-weight: 800; color: var(--amber); }
.prog-track { height: 2px; background: #ddd; display: flex; }
.prog-fill { height: 100%; background: var(--amber); }
.prog-empty { height: 100%; background: #e0ddd4; }

/* ── SKILL TREE ───────────────────────────────────────── */
.tree-panel {
  background: #191919;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  width: 100%; height: 300px;
  flex-shrink: 0;
  overflow: hidden;
}
.tree-hearts {
  position: absolute; top: 14px; right: 16px; z-index: 10;
  display: flex; flex-direction: row; gap: 4px; align-items: center;
}
.heart {
  font-size: 14px; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}
.heart.full  { color: #e05555; }
.heart.empty { color: rgba(255,255,255,.12); }
.tree-svg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 1;
}
.tree-nodes {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 2;
}

/* Player hex */
.player-hex {
  position: absolute;
  width: 52px; height: 52px;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  cursor: default;
  z-index: 5;
}
.player-hex-inner {
  width: 42px; height: 42px;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  background: #191919;
  display: flex; align-items: center; justify-content: center;
}
.player-hex-inner svg { width: 20px; height: 20px; fill: var(--cream); }
.player-lbl {
  position: absolute; top: 58px; left: 50%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
  font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(234,229,208,.4);
}

/* Tree nodes */
.tnode {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: default; z-index: 4;
}
.tnode-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: transform .14s;
}
.tnode.live .tnode-circle {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,90,.25);
  cursor: pointer;
}
.tnode.live:hover .tnode-circle { transform: scale(1.1); }
.tnode.coming .tnode-circle {
  background: transparent;
  border: 2px dashed rgba(255,255,255,.18);
}
.tnode.locked .tnode-circle {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  opacity: .45;
}
.tnode-icon { font-size: 18px; line-height: 1; }
.tnode.coming .tnode-icon,
.tnode.locked .tnode-icon { filter: grayscale(1); opacity: .4; }
.tnode-lbl {
  font-size: 8.5px; font-weight: 700; text-align: center;
  letter-spacing: .04em; max-width: 80px; line-height: 1.3;
}
.tnode.live    .tnode-lbl { color: var(--cream); }
.tnode.coming  .tnode-lbl { color: rgba(234,229,208,.3); }
.tnode.locked  .tnode-lbl { color: rgba(234,229,208,.18); }

/* Tree direction label */
.tree-bottom-lbl {
  position: absolute; bottom: 10px; left: 0; right: 0;
  text-align: center; z-index: 10;
  font-size: 9px; font-weight: 900; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(234,229,208,.12);
}

/* ── WHAT PLAYING GIVES YOU ───────────────────────────── */
.notes-lbl {
  font-size: 8px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: #aaa; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.notes-lbl::after { content: ''; flex: 1; height: 1px; background: #ddd; }
.pb-list { display: flex; flex-direction: column; gap: 20px; }
.pb-item { display: flex; gap: 12px; align-items: flex-start; }
.pb-marker {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(232,170,61,.1); border: 1px solid rgba(232,170,61,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 11px;
}
.pb-txt {
  font-family: 'EB Garamond', serif;
  font-size: 15px; line-height: 1.68; color: var(--mid); margin: 0;
}

/* ── FOR ORGS ─────────────────────────────────────────── */
.orgs-section {
  background: #111; padding: 80px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.orgs-ey {
  font-size: 9px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.orgs-ey::before { content: ''; width: 24px; height: 2px; background: var(--amber); }
.orgs-hed {
  font-family: 'EB Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 400;
  color: var(--cream); line-height: 1.06; max-width: 640px; margin-bottom: 18px;
}
.orgs-hed em { font-style: italic; color: var(--amber); }
.orgs-body {
  font-family: 'EB Garamond', serif;
  font-size: clamp(14px, 1.5vw, 17px); line-height: 1.76;
  color: var(--muted); max-width: 540px; margin-bottom: 40px;
}
.orgs-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06); max-width: 800px;
}
.orgs-card { background: rgba(255,255,255,.03); padding: 24px 20px; }
.oc-icon { font-size: 20px; margin-bottom: 10px; }
.oc-title { font-size: 12px; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
.oc-body { font-family: 'EB Garamond', serif; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ── ABOUT ────────────────────────────────────────────── */
.about-section {
  background: var(--bg); border-top: 3px solid var(--amber);
  padding: 80px;
}
.about-inner { max-width: 680px; }
.about-ey {
  font-size: 9px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.about-ey::before { content: ''; width: 24px; height: 2px; background: var(--amber); }
.about-hed {
  font-family: 'EB Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  color: var(--ink); line-height: 1.0; margin-bottom: 28px;
}
.about-hed em { font-style: normal; color: var(--amber); }
.about-body {
  font-family: 'EB Garamond', serif;
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.76;
  color: var(--mid); margin-bottom: 18px;
}
.about-body:last-child { margin-bottom: 0; }

/* ── RESPONSIVE — index ──────────────────────────────── */
@media (max-width: 1100px) {
  .hero { gap: 40px; }
  .hero-carousel { width: 300px; }
  .pw-layout { padding: 0 48px; }
  .pw-info-row { grid-template-columns: 1fr; }
  .pw-notes { display: none; }
}
@media (max-width: 800px) {
  .hero { flex-direction: column; padding: 80px 24px 52px; gap: 40px; }
  .hero-carousel { width: 100%; max-width: 380px; align-self: center; }
  .id-tabs { grid-template-columns: repeat(3,1fr); }
  .pw-layout { padding: 0 24px; }
  .tree-panel { height: 240px; }
  .orgs-section { padding: 52px 24px; }
  .orgs-grid { grid-template-columns: 1fr; }
  .about-section { padding: 52px 24px; }
}
