/* Impact Club page (public/impact_club.php). Layout mirrors the InDesign/PDF
   design: "Impact Club" + tagline on one line, motto beside the illustration,
   then the copy in a ruled grid whose text column lines up with the picture.
   Type and motion follow the restyled homepage (tokens.css). */

.ic-page {
  --ic-impact: #d9502a;   /* "Impact" in the PDF */
  --ic-club: #e3ae8b;     /* "Club" in the PDF */
  --ic-rule: rgba(11, 19, 48, 0.14);
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}
.ic-main { overflow-x: clip; padding-bottom: clamp(48px, 6vw, 88px); }

.ic-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* the PDF's two columns: narrow left, wide right */
.ic-grid { display: grid; grid-template-columns: minmax(0, 0.47fr) minmax(0, 1fr); }

/* ------------------------------------------------------------ motion */
@keyframes ic-rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ic-drift { from { transform: scale(1.02); } to { transform: scale(1.08) translate3d(-1%, -0.6%, 0); } }

.ic-rise { animation: ic-rise 900ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
html.no-js [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------ hero */
.ic-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 56px); }
.ic-hero__head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(20px, 3vw, 44px); row-gap: 4px; margin-bottom: clamp(16px, 2vw, 24px); }
.ic-hero__title {
  margin: 0;
  font: 800 clamp(3rem, 1.8rem + 4.6vw, 5.6rem)/1 var(--font-display);
  letter-spacing: -0.03em;
}
.ic-hero__impact { color: var(--ic-impact); }
.ic-hero__club { color: var(--ic-club); }
.ic-hero__tagline { margin: 0; font: 500 clamp(1.4rem, 1rem + 1.4vw, 2.3rem)/1.2 var(--font-display); color: var(--ink); }

.ic-hero__body { align-items: start; column-gap: clamp(20px, 2.5vw, 32px); }
.ic-hero__motto { margin: 0; font: 400 clamp(1.1rem, 0.6rem + 0.9vw, 1.5rem)/1.6 var(--font-body); color: var(--ink); }
.ic-hero__frame {
  overflow: hidden; border-radius: var(--r-lg);
  aspect-ratio: 1024 / 476; background: #f2c27c;
  box-shadow: var(--shadow-2);
}
.ic-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; animation: ic-drift 22s ease-in-out infinite alternate; }

/* ------------------------------------------------------------ ruled copy grid */
.ic-rows {
  border: 1px solid var(--ic-rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.ic-row { border-top: 1px solid var(--ic-rule); transition: background-color var(--t-med) var(--ease-out), opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.ic-row:first-child { border-top: 0; }
.ic-row:hover { background: var(--paper); }
.ic-row__side { border-right: 1px solid var(--ic-rule); }
.ic-row__body { padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 30px); }
.ic-row__body h2 { margin: 0 0 8px; font: 700 clamp(1.15rem, 1rem + 0.4vw, 1.35rem)/1.3 var(--font-display); color: var(--ink); }
.ic-row__body p { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.65; color: var(--ink); }
.ic-row__body p:last-child { margin-bottom: 0; }
.ic-row__body strong { color: var(--ink); font-weight: 700; }
.ic-row__closing { margin-top: 14px !important; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 991.98px) {
  .ic-grid { grid-template-columns: minmax(0, 1fr); }
  .ic-hero__body { row-gap: 18px; }
  .ic-row__side { display: none; }
}
@media (max-width: 575.98px) {
  .ic-wrap { width: calc(100% - 32px); }
  .ic-hero__frame { border-radius: var(--r-md); }
}
