/* PPS — Sections, grids, placeholders, cards and the 35+ stat
   Loaded in numeric order; later files may refine earlier ones. */

/* ==========================================================================
   Sections & layout helpers
   ========================================================================== */
.section { padding-block: 110px; }
.section-sm { padding-block: 80px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.split-wide { grid-template-columns: .9fr 1.1fr; }
.split .lead + .lead, .split p + p { margin-block-start: 16px; }
.stack > * + * { margin-block-start: 16px; }

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px dashed #c8c4d4;
  background:
    repeating-linear-gradient(135deg, rgba(34, 48, 71, .025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #f3f1f7, #e9e6f0);
  color: var(--muted);
}
.ph .icon { width: 38px; height: 38px; color: var(--gold); }
.ph strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.ph small { font-size: .85rem; max-width: 320px; }
.ph.tall { min-height: 480px; }
.ph.short { min-height: 200px; }
.ph.dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); }
.ph.dark strong { color: var(--white); }
.media-photo { display: block; width: 100%; aspect-ratio: 9 / 8; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }
.media-photo.featured-img { aspect-ratio: auto; height: 100%; min-height: 380px; border-radius: 0; }
.media-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(25, 36, 58, .7); transition: transform .6s var(--ease); }
.media-img:hover { transform: scale(1.02); }
.ph-frame { position: relative; }
.ph-frame::after { /* gold offset frame */
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
[dir="rtl"] .ph-frame::after { inset: 22px 22px -22px -22px; }
.pending {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: #fbf7ee;
  border: 1px dashed #d9c89c;
  font-size: .9rem;
  color: #7a6a3f;
  margin-block-start: 26px;
}
.pending .icon { width: 20px; height: 20px; color: var(--gold); margin-block-start: 2px; }
.on-dark .pending { background: rgba(170, 137, 59, .1); border-color: rgba(201, 171, 98, .5); color: var(--gold-light); }

/* ---------- Icon cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-block: 20px 10px; font-size: 1.08rem; }
.card p { font-size: .93rem; }
.card .num { position: absolute; top: 26px; inset-inline-end: 26px; font-size: .8rem; font-weight: 600; color: var(--silver); }
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--navy);
  transition: background .3s, color .3s;
}
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge.solid { width: 64px; height: 64px; background: var(--navy); color: var(--gold-light); }
.icon-badge.solid .icon { width: 30px; height: 30px; }
.card:hover .icon-badge { background: var(--navy); color: var(--gold-light); }
.surface-soft .card { border-color: transparent; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }

/* Compact cards with a gold top rule */
.rule-card { background: var(--white); border-radius: var(--radius-sm); padding: 26px 24px; border-block-start: 3px solid var(--gold); }
.surface-soft .rule-card { background: var(--white); }
.section:not(.surface-soft) .rule-card { background: var(--bg-soft); }
.rule-card h3 { font-size: 1.02rem; margin-block-end: 6px; }
.rule-card p { font-size: .92rem; }
.rule-card .icon { color: var(--gold); width: 26px; height: 26px; margin-block-end: 14px; }

/* Dark glass cards */
.glass {
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s, border-color .3s;
}
.glass:hover { background: rgba(255, 255, 255, .08); border-color: rgba(201, 171, 98, .5); }
.glass .icon { color: var(--gold-light); width: 30px; height: 30px; margin-block-end: 18px; }
.glass h3 { font-size: 1.02rem; color: var(--white); margin-block-end: 6px; }
.glass p { font-size: .9rem; }

/* ---------- Stat ---------- */
.stat { border-inline-start: 2px solid var(--gold); padding-inline-start: 28px; }
.stat strong { display: block; font-size: clamp(3.2rem, 7vw, 5.2rem); font-weight: 600; line-height: 1; color: var(--white); }
.stat span { display: block; margin-block-start: 14px; color: rgba(255, 255, 255, .75); }
.hmc-logo { width: 250px; height: auto; margin-block-end: 40px; }
.hmc-mark { width: 104px; height: auto; margin-block-end: 36px; transition: transform .8s var(--ease); } /* alternative: circle mark only */
.hmc-mark:hover { transform: rotate(-12deg) scale(1.05); }
.stat strong span { display: inline; margin: 0; color: inherit; font-size: inherit; }
.stat small { display: block; margin-block-start: 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }

/* Metric tiles (placeholders until verified data arrives) */
.metric { border-radius: var(--radius); padding: 30px 26px; background: var(--white); border: 1px dashed #c8c4d4; }
.metric strong { display: block; font-size: 2.6rem; font-weight: 600; color: var(--silver); line-height: 1; }
.metric span { display: block; margin-block-start: 14px; font-weight: 500; color: var(--navy); }
.metric small { display: block; margin-block-start: 4px; font-size: .78rem; color: var(--muted); }
