/* Photography and training board. The surrounding PULSE brand and application stay intact. */
.hero,
html[data-theme="light"] .hero {
  background: #111411;
  min-height: 620px;
}
html[data-theme="light"] .hero { background: #f7f7f2; }
html[data-theme] .hero-photo {
  inset: 0 0 0 50%;
  background: none;
  opacity: 1;
  filter: none;
  overflow: hidden;
}
.hero-photo img,
.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.hero-photo img { object-position: 50% 42%; animation: photo-arrival 1.2s ease-out both; }
.hero-inner { min-height: 620px; padding: 56px 0; }
.hero-copy { width: 46%; max-width: 590px; padding-top: 0; }
.hero h1 { font-size: clamp(82px, 8.1vw, 124px); line-height: .94; letter-spacing: -.025em; margin: 0; }
.hero-copy > p { font-size: 18px; line-height: 1.65; margin: 30px 0; max-width: 395px; color: #e0e5db; }
.hero-buttons { align-items: flex-start; flex-direction: column; gap: 14px; }
.hero-buttons .btn { font-size: 13px; letter-spacing: .5px; }
.hero-buttons .btn-outline { border: 0; background: none; padding: 8px 0; min-height: 44px; }
html[data-theme="light"] .hero .btn-outline { background: none; }

.features-grid { grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
.features-grid .feature-card {
  display: grid;
  grid-template-columns: 44% 56%;
  padding: 0;
  min-height: 280px;
  background: #263025;
  color: #f4f6ee;
}
.features-grid .feature-card::before { content: none; }
.feature-media { min-width: 0; overflow: hidden; background: #20271e; }
.feature-media img { transition: transform .65s ease; }
.feature-card:hover .feature-media img { transform: scale(1.035); }
.features-grid .feature-card-strength { grid-template-columns: 1fr; grid-template-rows: 1fr auto; grid-row: span 2; }
.feature-card-strength .feature-media { aspect-ratio: 3 / 2; }
.feature-card-strength .feature-media img { object-position: 55% 50%; }
.feature-card-hiit .feature-media img { object-position: 28% 50%; }
.feature-card-mobility .feature-media img { object-position: 51% 48%; }
.features-grid .feature-detail { padding: 28px; align-self: center; }
.features-grid .feature-detail h3 { font-size: clamp(36px, 3.4vw, 49px); line-height: .98; margin: 0 0 18px; letter-spacing: -.01em; }
.features-grid .feature-detail p { max-width: 32ch; font-size: 16px; line-height: 1.6; margin: 0; color: #e1e7dc; }
.feature-card-strength .feature-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: start; }
.features-grid .feature-card-strength h3 { margin-bottom: 0; }
html[data-theme="light"] .features-grid .feature-card { background: #e7eadd; color: #1a2416; }
html[data-theme="light"] .features-grid .feature-detail p { color: #35432f; }
.photo-credits { font-size: 14px; line-height: 1.7; max-width: 85ch; color: #c6d0be; margin: 0 0 30px; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
.photo-credits a:focus-visible { outline-offset: 4px; }
html[data-theme="light"] .photo-credits { color: #3e5037; }

@keyframes photo-arrival { from { transform: scale(1.035); opacity: .9; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .feature-media.photo-revealed { animation: board-photo-arrival 800ms cubic-bezier(.16,1,.3,1) both; }
  .feature-detail .photo-revealed { animation: board-copy-arrival 750ms cubic-bezier(.16,1,.3,1) both; }
}
@keyframes board-photo-arrival { from { transform: scale(.98); } to { transform: scale(1); } }
@keyframes board-copy-arrival { from { transform: translateY(18px); opacity: .85; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 1100px) and (min-width: 851px) {
  .hero h1 { font-size: 8.1vw; }
  .features-grid { gap: 16px; }
  .features-grid .feature-detail { padding: 22px; }
  .features-grid .feature-detail h3 { font-size: 36px; }
  .feature-card-strength .feature-detail { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 850px) {
  .hero, html[data-theme="light"] .hero { min-height: 570px; }
  .hero-inner { min-height: 570px; }
  .hero h1 { font-size: clamp(65px, 8.4vw, 82px); }
  .hero-copy > p { font-size: 18px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid .feature-card,
  .features-grid .feature-card-strength { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-row: auto; min-height: 260px; }
  .feature-card-strength .feature-media { aspect-ratio: auto; }
  .feature-card-strength .feature-detail { display: block; }
  .features-grid .feature-card-strength h3 { margin-bottom: 18px; }
  .features-grid .feature-detail h3 { font-size: 43px; }
}
@media (max-width: 650px) {
  .hero, html[data-theme="light"] .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-inner { order: 0; min-height: 0; padding: 38px 0 28px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(64px, 19vw, 108px); line-height: .94; margin: 0; }
  .hero-copy > p { font-size: 18px; line-height: 1.6; margin: 24px 0; max-width: 38ch; }
  .hero-buttons { gap: 8px; max-width: none; }
  .hero-buttons .btn-outline { min-height: 44px; }
  html[data-theme] .hero-photo { position: relative; inset: auto; order: 1; width: 100%; height: 300px; }
  .hero-photo img { object-position: 50% 40%; }
  .features-grid .feature-card,
  .features-grid .feature-card-strength { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .features-grid .feature-media { aspect-ratio: 4 / 3; }
  .feature-card-hiit .feature-media img { object-position: 35% 50%; }
  .features-grid .feature-detail { padding: 24px; }
  .features-grid .feature-detail h3 { font-size: clamp(38px, 11.5vw, 45px); }
  .features-grid .feature-detail p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
  .feature-media img { transition: none; }
  .feature-card:hover .feature-media img { transform: none; }
}
@media (max-width: 359px) { .header-cta { display: none; } }
