/* =========================================================
   HITTERZ LAB — page-specific styles
   The Lab · Memberships · Training · Careers · Contact
   ========================================================= */

/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
  position: relative; overflow: hidden;
  min-height: clamp(360px, 44vw, 560px);
  display: grid; align-items: center;
}
.page-hero .ph-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-media image-slot, .page-hero .ph-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.05); animation: heroZoom 24s ease-in-out infinite alternate;
}
.page-hero .ph-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,14,17,.6), rgba(12,14,17,.82));
}
.page-hero .ph-inner {
  position: relative; z-index: 2;
  max-width: var(--w-content); width: 100%; margin: 0 auto;
  padding: clamp(60px,8vw,110px) var(--pad-x);
}
.page-hero h1 {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; line-height: .94;
  font-size: clamp(54px, 8vw, 120px); margin: 6px 0 0; color: #fff;
}
.page-hero .ph-sub { max-width: 56ch; margin-top: 18px; color: var(--text-soft); font-size: clamp(16px,1.5vw,19px); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .page-hero .ph-media image-slot, .page-hero .ph-media img { animation: none; transform: none; } }

/* ============ THE LAB — story rows ============ */
.story-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(64px, 9vw, 130px);
}
.story-row:last-child { margin-bottom: 0; }
.story-row.flip { grid-template-columns: 1fr 1.05fr; }
.story-row.flip .story-figure { order: 2; }
.story-figure {
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  aspect-ratio: 4/3; background: #0c0e11;
}
.story-figure image-slot, .story-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-figure .fig-cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: rgba(12,14,17,.6); border: 1px solid var(--line); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.story-text h2 { margin-bottom: 18px; }
.story-text p { color: var(--text-soft); font-size: 17px; line-height: 1.75; margin: 0 0 16px; max-width: 50ch; }
.story-text .mini-stats { display: flex; gap: clamp(24px,4vw,48px); margin-top: 26px; }
.story-text .mini-stats .ms .n { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px,4vw,48px); color: var(--blue-bright); line-height: 1; }
.story-text .mini-stats .ms .l { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); margin-top: 8px; }

/* ============ MEMBERSHIPS — tier cards ============ */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.tier-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-3), #14171c);
  border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(30px, 3vw, 44px) clamp(26px, 2.4vw, 38px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tier-card.featured {
  border-color: rgba(91,196,241,.55);
  box-shadow: var(--shadow-blue);
  background: linear-gradient(180deg, #1b2b3c, #12161c 60%);
}
.tier-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  background: var(--blue); color: #fff; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-blue);
}
.tier-name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(30px,3.2vw,40px); line-height: 1; color: var(--text); margin: 0; }
.tier-card .tier-sub { font-family: var(--f-script); font-size: 26px; color: var(--blue-bright); line-height: 1; margin-top: 4px; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 4px; }
.tier-price .amt { font-family: var(--f-display); font-weight: 700; font-size: clamp(54px,6vw,76px); line-height: .85; color: #fff; }
.tier-price .per { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.tier-commit { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 24px; }
.tier-feats { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; }
.tier-feats li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--text); }
.tier-feats li .mk { color: var(--blue-bright); font-weight: 800; line-height: 1.3; }
.tier-feats li.muted { color: var(--text-soft); }
.tier-feats li.muted .mk { color: var(--text-soft); }
.tier-card .btn, .tier-card .btn-outline { width: 100%; justify-content: center; }
.tier-note { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-soft); margin-top: 36px; }

/* ============ TRAINING — lesson list + packages ============ */
.lesson-list { display: grid; gap: 0; }
.lesson {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: clamp(16px,3vw,36px);
  padding: clamp(22px,2.6vw,30px) 0; border-top: 1px solid var(--line);
}
.lesson:last-child { border-bottom: 1px solid var(--line); }
.lesson .ln { font-family: var(--f-mono); font-size: 13px; color: var(--blue-bright); letter-spacing: .1em; padding-top: 6px; }
.lesson .lmain h4 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(26px,3vw,40px); line-height: 1; margin: 0 0 8px; color: var(--text); transition: color .2s ease; }
.lesson:hover .lmain h4 { color: var(--blue-bright); }
.lesson .lmain p { margin: 0; color: var(--text-soft); font-size: 15px; max-width: 52ch; }
.lesson .lprice { text-align: right; font-family: var(--f-mono); }
.lesson .lprice .p { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px,3vw,38px); color: #fff; line-height: 1; }
.lesson .lprice .u { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); display: block; margin-top: 6px; }

.pkg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,2.6vw,34px); }
.pkg {
  background: var(--cream-soft); color: var(--ink-cream); border-radius: 16px;
  padding: clamp(30px,3.4vw,48px); display: flex; flex-direction: column; gap: 16px;
}
.pkg.alt { background: linear-gradient(180deg, var(--ink-3), #14171c); color: var(--text); border: 1px solid var(--line); }
.pkg h4 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(28px,3vw,40px); margin: 0; line-height: 1; }
.pkg .pk-ey { font-family: var(--f-script); font-size: 26px; color: var(--blue); line-height: 1; }
.pkg.alt .pk-ey { color: var(--blue-bright); }
.pkg p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--soft-cream); }
.pkg.alt p { color: var(--text-soft); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pkg li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; }
.pkg li .mk { color: var(--blue); font-weight: 800; }
.pkg.alt li .mk { color: var(--blue-bright); }

/* ============ CAREERS — application form ============ */
.form-wrap { max-width: 860px; margin: 0 auto; }
.form-card {
  background: linear-gradient(180deg, var(--ink-3), #14171c);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(30px, 4vw, 56px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 26px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe);
}
.field label .req { color: var(--blue-bright); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 16px; color: var(--text);
  background: #0e1115; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #5a5e66; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,143,224,.22);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%235BC4F1' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field .hint { font-size: 12.5px; color: var(--text-soft); }
.form-section-label {
  grid-column: 1 / -1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue-bright); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px;
}
.form-section-label:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.form-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
.form-actions .note { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-soft); letter-spacing: .04em; }
.consent { grid-column: 1/-1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.consent input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 3px; }
.consent label { font-family: var(--f-body); font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--text-soft); line-height: 1.5; }
.form-success {
  display: none; text-align: center; padding: clamp(40px,6vw,80px) 20px;
}
.form-success.show { display: block; }
.form-success .ck { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: rgba(30,143,224,.14); border: 1.5px solid var(--blue); color: var(--blue-bright); font-size: 38px; }
.form-success h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(32px,4vw,48px); margin: 0 0 12px; color: #fff; }
.form-success p { color: var(--text-soft); max-width: 44ch; margin: 0 auto; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: start; }
.contact-list { display: grid; gap: 4px; }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: none; }
.contact-item .ci-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(30,143,224,.12); border: 1px solid rgba(91,196,241,.3); display: grid; place-items: center; color: var(--blue-bright); }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item .ci-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.contact-item .ci-v { font-size: 18px; color: var(--text); margin-top: 4px; }
.contact-item .ci-v a { text-decoration: none; }
.contact-item .ci-v a:hover { color: var(--blue-bright); }
.card-feature {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  background: var(--ink-2);
}
.card-feature .cf-pic { aspect-ratio: 740/412; background: #0c0e11; }
.card-feature .cf-pic image-slot, .card-feature .cf-pic img { width: 100%; height: 100%; object-fit: cover; }
.card-feature .cf-body { padding: 22px 26px; }
.card-feature .cf-name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 24px; color: var(--text); }
.card-feature .cf-role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); margin-top: 4px; }
.hours-table { display: grid; gap: 0; margin-top: 10px; }
.hours-table .hr { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hours-table .hr:first-child { border-top: none; }
.hours-table .hr .d { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.hours-table .hr .t { color: var(--text); }
.hours-table .hr .t b { color: var(--blue-bright); font-weight: 600; }

/* ============ PAGE RESPONSIVE ============ */
@media (max-width: 940px) {
  .story-row, .story-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .story-row.flip .story-figure { order: 0; }
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pkg-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .lesson { grid-template-columns: auto 1fr; }
  .lesson .lprice { grid-column: 2; text-align: left; margin-top: 6px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .page-hero h1 { font-size: clamp(44px, 11vw, 60px); }
  .page-hero .ph-inner { padding: clamp(44px, 7vh, 80px) var(--pad-x); }
  .tier-grid { max-width: 100%; }
  .lesson { gap: clamp(10px, 2vw, 18px); }
  .pkg-cards { gap: 16px; }
}
