/* ═══════════════════════════════════════════
   WHAT IS ECKWIP — PAGE STYLES
═══════════════════════════════════════════ */

/* ── Page header H3 ────────────────────────── */
.pg-h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 17px; color: var(--ink);
  margin-bottom: 10px; line-height: 1.4;
}
.pg-h3 + .pg-desc { margin-top: 4px; }

/* ── Node section ──────────────────────────── */
.node-section { margin-bottom: 56px; }

.node-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.node-card {
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.node-card:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--ink); }
.node-card:focus { outline: 2px solid var(--yellow); outline-offset: 2px; }
.node-card[aria-expanded="true"] { border-color: var(--teal); background: #fff; }
.node-card[aria-expanded="true"]::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--yellow);
}

.node-face {
  padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 170px;
}
.node-card[aria-expanded="true"] .node-face { display: none; }

.node-mark {
  font-family: var(--serif); font-weight: 700;
  font-size: 12px; color: var(--n-400);
  letter-spacing: 0.06em;
}
.node-question {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.25; color: var(--ink);
  flex: 1;
}

.node-tap {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--teal);
  font-weight: 500; letter-spacing: 0.04em;
}
.tap-line {
  display: inline-block; width: 20px; height: 1px;
  background: var(--yellow); flex-shrink: 0;
}

.node-body {
  display: none;
  padding: 22px;
  flex-direction: column; gap: 12px;
}
.node-card[aria-expanded="true"] .node-body { display: flex; }

.node-body h3 {
  font-family: var(--serif); font-weight: 700;
  font-size: 14px; line-height: 1.3;
  color: var(--teal);
}
.node-body p {
  font-size: 12.5px; line-height: 1.75;
  color: var(--n-600); font-weight: 300;
}
.node-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ── Identity section ──────────────────────── */
.identity-section { margin-bottom: 48px; }

.identity-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.identity-cell {
  border: 1px solid var(--ink);
  padding: 28px 24px;
  background: var(--paper);
}
.identity-cell--not { background: var(--ink); }
.identity-cell--what { background: var(--teal); }
.identity-cell--what .ic-label { color: rgba(255,255,255,0.45); }
.identity-cell--what .identity-list--yes li { color: rgba(255,255,255,0.85); }
.identity-cell--what .identity-list--yes li::before { color: var(--yellow); }

.ic-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.identity-cell--not .ic-label { color: rgba(255,255,255,0.4); }

.identity-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.identity-list li {
  font-size: 14px; line-height: 1.4; font-weight: 300;
  padding-left: 18px; position: relative;
}
.identity-list li::before { position: absolute; left: 0; font-family: var(--serif); }
.identity-list--yes li { color: var(--ink); }
.identity-list--yes li::before { content: '→'; color: var(--teal); }
.identity-list--no li { color: rgba(255,255,255,0.65); }
.identity-list--no li::before { content: '×'; color: rgba(255,255,255,0.25); }

/* ── Principles section ────────────────────── */
.principles-section { margin-bottom: 56px; }
.principles-header  { margin-bottom: 16px; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.principle-card {
  border: 1px solid var(--ink);
  padding: 28px 24px;
  background: var(--paper);
  transition: transform 0.15s, box-shadow 0.15s;
}
.principle-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.pc-mark {
  font-family: var(--serif); font-weight: 700;
  font-size: 26px; color: var(--teal);
  opacity: 0.5; line-height: 1; margin-bottom: 14px;
}
.pc-title {
  font-size: 15px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.pc-body {
  font-size: 13px; line-height: 1.75;
  color: var(--n-600); font-weight: 300;
}

/* ── Tagline block ─────────────────────────── */
.tagline-block {
  border: 1px solid var(--ink);
  background: var(--ink);
  padding: 48px;
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.tagline-quote {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.3; color: #fff;
  max-width: 600px; border: none; padding: 0; margin: 0;
}
.tagline-nav .btn-cta { background: var(--yellow); color: var(--ink); }

/* ── Animation ─────────────────────────────── */
@keyframes nodeReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.node-body { animation: nodeReveal 0.18s ease-out; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .node-track          { grid-template-columns: 1fr 1fr; }
  .identity-grid--two  { grid-template-columns: 1fr; }
  .principles-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .node-track          { grid-template-columns: 1fr; }
  .principles-grid     { grid-template-columns: 1fr; }
  .tagline-block       { flex-direction: column; align-items: flex-start; padding: 28px; }
}
