/* ============================================================
   JTR.org — Landing page (redesign)
   New sections layered on styles.css + home.css
   Narrative: Equipment · Grading · Education, one connected institute
   ============================================================ */

/* ---------- shared section intro ---------- */
.hp .sec-head .h-sec.tight { max-width: 16ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   THE MODEL — three connected disciplines
   ============================================================ */
.hp-model { background: #fff; }
.hp-model .lede { text-align: center; max-width: 900px; margin: 0 auto; }
.hp-model .lead-statement {
  font-weight: var(--hp-h-weight);
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1.16; letter-spacing: -.02em; color: var(--hp-ink);
}
.hp-model .lead-statement b { font-weight: 500; color: var(--hp-accent); }

.model-flow {
  display: flex; align-items: stretch; gap: 8px;
  margin-top: 76px;
}
.model-node {
  flex: 1; position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px 32px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.model-node:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line-2); }
.model-node .step {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-accent);
}
.model-node .step::before {
  content: attr(data-n); display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--hp-accent-tint); color: var(--hp-accent); font-size: 12px; letter-spacing: 0;
}
.model-node .ic {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--hp-accent-tint); color: var(--hp-accent);
  display: grid; place-items: center; margin: 22px 0 20px;
}
.model-node .ic .i { width: 30px; height: 30px; }
.model-node h3 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.model-node p { font-size: 15px; line-height: 1.62; color: var(--sub); margin-top: 10px; }
.model-node .node-link {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--hp-ink);
}
.model-node .node-link .i { width: 18px; height: 18px; color: var(--hp-accent); transition: transform .25s; }
.model-node:hover .node-link .i { transform: translate(3px, -3px); }

.model-arrow {
  flex: none; width: 40px; display: grid; place-items: center; color: var(--line-2);
}
.model-arrow .i { width: 26px; height: 26px; }

.model-loop {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 14.5px; color: var(--muted);
}
.model-loop .i { width: 18px; height: 18px; color: var(--hp-accent); }
.model-loop b { color: var(--body); font-weight: 500; }

/* ============================================================
   EDUCATION
   ============================================================ */
.hp-edu { background: var(--surface-alt); }
.hp-edu .grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.hp-edu h2 { margin: 18px 0 20px; }
.hp-edu .elead { font-size: 18px; line-height: 1.62; color: var(--sub); max-width: 42ch; }
.hp-edu .estat { display: flex; gap: 40px; margin-top: 36px; }
.hp-edu .estat .m b { display: block; font-size: 40px; font-weight: 300; color: var(--hp-ink); letter-spacing: -.02em; line-height: 1; }
.hp-edu .estat .m span { font-size: 14px; color: var(--muted); margin-top: 8px; display: block; }

.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.course {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.course:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
.course .c-top { display: flex; align-items: center; justify-content: space-between; }
.course .c-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--hp-accent-tint); color: var(--hp-accent); display: grid; place-items: center; }
.course .c-ic .i { width: 24px; height: 24px; }
.course .c-fmt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.course h4 { font-size: 19px; font-weight: 500; color: var(--hp-ink); margin-top: 22px; letter-spacing: -.01em; }
.course p { font-size: 14.5px; line-height: 1.55; color: var(--sub); margin-top: 8px; }
.course .c-meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--hp-accent); font-weight: 500; }
.course .c-meta .i { width: 16px; height: 16px; }

/* ============================================================
   GLOBAL OFFICES (dark band)
   ============================================================ */
.hp-offices { background: var(--hp-accent-deep); color: #fff; overflow: hidden; }
.hp-offices::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 85% -10%, rgba(150,110,255,.34), transparent 55%);
}
.hp-offices .wrap { position: relative; }
.hp-offices .o-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.hp-offices .eyebrow-lbl { color: #c9b8ff; }
.hp-offices h2 { color: #fff; margin-top: 16px; max-width: 18ch; }
.hp-offices .o-head p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 40ch; }

.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office {
  position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  padding: 32px 30px 30px; background: rgba(255,255,255,.05);
  transition: background .25s, border-color .25s, transform .25s;
}
.office:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); transform: translateY(-4px); }
.office .o-idx { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: rgba(201,184,255,.8); }
.office .o-city { font-size: 30px; font-weight: 400; color: #fff; letter-spacing: -.02em; margin-top: 20px; }
.office .o-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.1);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #e6ddff;
}
.office .o-tag .i { width: 15px; height: 15px; color: #c9b8ff; }
.office .o-role { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); margin-top: 20px; }
.office .o-line { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 14px; color: rgba(255,255,255,.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .model-flow { flex-direction: column; }
  .model-arrow { width: 100%; height: 40px; transform: rotate(90deg); }
  .hp-edu .grid { grid-template-columns: 1fr; gap: 44px; }
  .office-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .model-flow { margin-top: 48px; }
  .course-grid { grid-template-columns: 1fr; }
  .hp-edu .estat { gap: 28px; }
}
