/* =========================================================
   Home page — Industrial Athletic editorial layout
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 120px);
  overflow: hidden;
}

.hero::before {
  /* Mega ghost numeral behind hero */
  content: "01";
  position: absolute;
  top: 30%;
  right: -2vw;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(280px, 44vw, 640px);
  line-height: 0.8;
  color: var(--ink);
  opacity: 0.035;
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hero-meta .mono-micro { white-space: nowrap; }
.hero-meta-sep { color: var(--ink-faint); }
.hero-meta-dotmark {
  color: var(--brand-red);
  margin-left: auto;
  font-size: 8px;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.hero-title {
  margin-top: var(--sp-6);
  font-size: clamp(44px, 9vw, 148px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero-title .red-underline { line-height: 1; }
.hero-title .br-desktop { display: block; }
@media (max-width: 640px) { .hero-title .br-desktop { display: inline; }
  .hero-title .br-desktop::before { content: " "; } }

.hero-lead {
  margin-top: var(--sp-6);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin: var(--sp-8) 0 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.hero-stats dt { margin-bottom: var(--sp-2); }
.hero-stats dd {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.hero-stats-unit {
  font-size: 0.45em;
  color: var(--ink-muted);
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Hero right — image + sidecard */
.hero-right {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--sp-4);
  align-self: stretch;
}
.hero-image {
  aspect-ratio: 3 / 4;
  min-height: 480px;
}
.hero-image-mark {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  padding: 6px 10px;
  background: var(--brand-red);
  color: #fff;
}
.hero-image-mark .mono-micro {
  color: #fff;
  font-size: 10px;
}

.hero-sidecard {
  background: var(--bg-elev-1);
  border: 1px solid var(--rule);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.hero-sidecard-name {
  font-family: var(--ff-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}
.hero-sidecard-note {
  color: var(--ink-muted);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { grid-row: 1; margin-bottom: var(--sp-5); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-image { min-height: 380px; }
}

/* Hero variant: MEGA — gigantic display type, image moves below */
.hero[data-variant="mega"] .hero-grid { grid-template-columns: 1fr; }
.hero[data-variant="mega"] .hero-title {
  font-size: clamp(80px, 15vw, 240px);
  letter-spacing: -0.03em;
}
.hero[data-variant="mega"] .hero-right {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.hero[data-variant="mega"] .hero-image {
  aspect-ratio: 16 / 9;
  min-height: 360px;
}
.hero[data-variant="mega"] .hero-sidecard { align-self: stretch; }

/* Hero variant: STACKED — everything centered, type-forward */
.hero[data-variant="stacked"] .hero-grid { grid-template-columns: 1fr; text-align: left; }
.hero[data-variant="stacked"] .hero-right {
  grid-row: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  margin-bottom: 0;
}
.hero[data-variant="stacked"] .hero-image {
  aspect-ratio: 21 / 9;
  min-height: 320px;
}
.hero[data-variant="stacked"] .hero-stats { order: 5; }

/* ---------- Ethos ---------- */
.ethos {
  background: var(--bg-elev-1);
  border-block: 1px solid var(--rule);
}
.ethos-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ethos-title {
  margin-top: var(--sp-4);
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.ethos-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7) var(--sp-6);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
}
.ethos-bullet .mono-micro {
  color: var(--brand-red);
  margin-bottom: var(--sp-3);
  display: block;
}
.ethos-bullet h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  letter-spacing: 0.005em;
}
.ethos-bullet p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ethos-grid { grid-template-columns: 1fr; }
  .ethos-bullets { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ---------- Pillars ---------- */
.pillars-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-6);
  align-items: end;
  margin-bottom: var(--sp-8);
}
.pillars-head .eyebrow { grid-column: 1; grid-row: 1; align-self: start; }
.pillars-head h2 {
  grid-column: 1 / 3;
  grid-row: 2;
  font-size: clamp(44px, 5.2vw, 80px);
}
.pillars-head .btn {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}
@media (max-width: 820px) {
  .pillars-head { grid-template-columns: 1fr; }
  .pillars-head .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: var(--sp-4); }
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 1100px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } }
@media (max-width: 560px)  { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}
.pillar-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.pillar-image {
  aspect-ratio: 4 / 5;
  margin-bottom: var(--sp-2);
}
.pillar h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.pillar p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 28ch;
}

/* ---------- Founder ---------- */
.founder {
  background: var(--bg);
}
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.founder-portrait {
  position: relative;
}
.founder-ph {
  aspect-ratio: 4 / 5;
  min-height: 480px;
}
.founder-caption {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
}
.founder-caption p {
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

.founder-title {
  margin-top: var(--sp-4);
  font-size: clamp(32px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-style: italic;
  font-weight: 500;
}
.founder-title .red-underline { line-height: 1.05; }
.founder-title br { display: none; }
@media (min-width: 720px) { .founder-title br { display: inline; } }
.founder-text {
  margin-top: var(--sp-6);
  max-width: 58ch;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.65;
}
.founder-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.founder-facts dt { margin-bottom: var(--sp-2); }
.founder-facts dd {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-facts { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---------- Schedule strip ---------- */
.schedule-strip {
  background: var(--bg-elev-1);
  border-block: 1px solid var(--rule);
}
.schedule-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
.schedule-head h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-top: var(--sp-3);
}
.schedule-table {
  border-top: 1px solid var(--rule-strong);
}
.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.schedule-row-head {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--rule-strong);
}
.schedule-row strong {
  font-family: var(--ff-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.pill {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  margin-right: var(--sp-2);
  margin-bottom: 4px;
}
.pill:first-child { border-color: var(--brand-red); color: var(--ink); }

@media (max-width: 720px) {
  .schedule-head { flex-direction: column; align-items: flex-start; }
  .schedule-row { grid-template-columns: 60px 1fr; }
  .schedule-row > div:nth-child(3) { grid-column: 2; margin-top: 4px; }
  .schedule-row-head > div:nth-child(3) { grid-column: 2; }
}

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}
.visit-copy h2 {
  margin-top: var(--sp-3);
  font-size: clamp(48px, 5.8vw, 96px);
  line-height: 0.92;
}
.visit-copy .lead { margin-top: var(--sp-5); }
.visit-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.visit-info dt { margin-bottom: var(--sp-2); }
.visit-info dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.visit-info a { border-bottom: 1px solid var(--rule-strong); }
.visit-info a:hover { color: var(--brand-red); border-color: var(--brand-red); }
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.visit-map {
  position: relative;
  min-height: 480px;
  background: var(--bg-elev-2);
  color: var(--ink-muted);
}
.visit-map::after { display: none; } /* override auto-label */
.visit-map-deco {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--ink-muted);
}
.visit-map-pin {
  position: absolute;
  top: 46%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
}
.visit-map-pin-dot {
  position: absolute;
  inset: 0; margin: auto;
  width: 14px; height: 14px;
  background: var(--brand-red);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--brand-red);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.visit-map-pin-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--brand-red);
  border-radius: 50%;
  animation: mapPulse 2.4s ease-out infinite;
}
@keyframes mapPulse {
  0%   { transform: scale(0.3); opacity: 1; }
  80%  { transform: scale(1); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.visit-map-label {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  background: var(--bg);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visit-map-label p {
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-info { grid-template-columns: 1fr; gap: var(--sp-4); }
  .visit-map { min-height: 360px; }
}
