/* ============================================================
   Swerve Games — Main Stylesheet
   Fonts: Michroma (headings), Montserrat (body)
   Colors: Navy #060050, Red #a80026
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --navy:        #060050;
  --navy-mid:    #0a0070;
  --red:         #a80026;
  --red-dark:    #8a001f;
  --white:       #ffffff;
  --off-white:   #f7f7fb;
  --grey-light:  #e4e4ee;
  --grey-mid:    #999;
  --text:        #1a1a2e;

  --font-head: 'Michroma', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --max-w:    1300px;
  --nav-h:    68px;
  --pad-sec:  100px;
  --radius:   8px;
  --ease:     0.25s ease;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem,   5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1rem,   2vw, 1.35rem); }
p  { color: #444; line-height: 1.75; }

/* ----- Layout utilities ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section         { padding: var(--pad-sec) 0; }
.section--dark   { background: var(--navy); }
.section--grey   { background: var(--off-white); }
.text-center     { text-align: center; }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p   { color: rgba(255,255,255,0.72); }

.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section--dark .section-label { color: var(--white); }

.section-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-intro h2  { margin-bottom: 14px; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: transparent;
  color: var(--red);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav--transparent {
  position: relative;
  background: transparent;
  border-bottom: none;
}
.page-home {
  padding-top: 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  flex-shrink: 0;
}
.nav__logo-swerve { color: var(--white); }
.nav__logo-games  { color: var(--red); }
.nav__logo img {
  height: 64px;
  width: auto;
  display: block;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
  border-bottom-color: var(--red);
}
.nav__links .btn {
  border-bottom: none;
  padding: 9px 20px;
  font-size: 0.72rem;
}

/* Social icons in nav */
.nav__social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.nav__social a:hover { color: var(--white); }
.nav__social svg { width: 17px; height: 17px; fill: currentColor; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--ease);
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile .nav__social {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 18px;
}
.nav__mobile .nav__social a { color: rgba(255,255,255,0.55); }

/* ============================================================
   HERO — HOME (cinematic full-width image)
   ============================================================ */
.hero {
  background: #000;
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
}
.hero__image-wrap {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}
.hero__racer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  animation: hero-bob 2s ease-in-out infinite;
}
.hero__scroll-hint img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--ease);
}
.hero__scroll-hint:hover img {
  opacity: 0.9;
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
.hero__text {
  background: var(--navy);
  text-align: center;
  padding: 60px 24px 80px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}
.hero p {
  color: rgba(255,255,255,0.65);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168,0,38,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero--light {
  background: var(--white);
  padding: 20px 0 10px;
}
.page-hero--light::after { display: none; }
.page-hero--light h1 { color: var(--navy); }
.page-hero p  {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Workshop hero image */
.workshop-hero-img {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 40px auto 0;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}

/* ============================================================
   ABOUT STRIP (homepage band)
   ============================================================ */
.about-strip {
  background: var(--red);
  padding: 52px 0;
}
.about-strip p {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  color: var(--white);
  line-height: 1.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================================
   DESIGN PRINCIPLES
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.principle {
  padding: 32px 28px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.principle:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(168,0,38,0.1);
}
.principle__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--red);
  opacity: 0.22;
  margin-bottom: 14px;
  line-height: 1;
}
.principle h3 { margin-bottom: 10px; }
.principle p  { font-size: 0.92rem; }

/* ============================================================
   GAME CARDS
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

/* Compact 2-up preview on homepage */
.games-grid--preview {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(6,0,80,0.13);
}
.game-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.game-card__img--light {
  background: var(--white) !important;
}
.game-card__img--light img {
  padding: 16px;
}
/* Placeholder shown when no image is present */
.game-card__img-placeholder {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.18);
  text-align: center;
  padding: 16px;
}
.game-card__body { padding: 28px; }
.game-card__status {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.game-card__status--out {
  background: rgba(6,0,80,0.07);
  color: var(--navy);
}
.game-card__status--soon {
  background: rgba(168,0,38,0.1);
  color: var(--red);
}
.game-card__body h3 { margin-bottom: 10px; }
.game-card__body p  { font-size: 0.93rem; margin-bottom: 20px; }
.game-card__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.platform-tag {
  font-size: 0.68rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  color: var(--grey-mid);
}

/* Dark variant used on homepage */
.section--dark .game-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.section--dark .game-card:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.section--dark .game-card__body h3 { color: var(--white); }
.section--dark .game-card__body p  { color: rgba(255,255,255,0.65); }
.section--dark .game-card__status--out {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}
.section--dark .game-card__status--soon {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.game-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}
.section--dark .platform-tag {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   PLATFORM ICONS
   ============================================================ */
.platform-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.platform-icons a { display: flex; align-items: center; }
.platform-icons img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity var(--ease);
}
.platform-icons a:hover img { opacity: 0.7; }
.platform-icons--greyed { opacity: 0.2; }
.platform-icon--inactive { opacity: 0.2; }
.section--grey .platform-icons img {
  filter: brightness(0);
}

/* ============================================================
   GAME DETAIL SECTIONS
   ============================================================ */
.game-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.game-detail--reverse .game-detail__media { order: -1; }
.game-detail__content h2 { margin-bottom: 16px; }
.game-detail__content p  { margin-bottom: 16px; }
.game-detail__content .platform-icons { margin-top: 20px; }
.game-detail__media img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}

/* ============================================================
   MAILING LIST SIGNUP
   ============================================================ */
.signup__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.signup__inner h2  { margin-bottom: 12px; }
.signup__inner > p { margin-bottom: 32px; }

.form-inline {
  display: flex;
  gap: 10px;
}
.form-inline input[type="email"] {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--ease);
}
.form-inline input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.form-inline input[type="email"]:focus        { outline: none; border-color: var(--red); }
.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
/* Success message */
.form-success {
  display: none;
  color: #6effa0;
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ============================================================
   WORKSHOP — BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.benefit-card {
  padding: 30px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  box-shadow: 0 4px 24px rgba(6,0,80,0.07);
}
.benefit-card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.benefit-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.benefit-card p  { font-size: 0.91rem; }

/* ============================================================
   WORKSHOP — CURRICULUM
   ============================================================ */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.curriculum-item {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: border-color var(--ease), transform var(--ease);
}
.curriculum-item:hover {
  border-color: rgba(168,0,38,0.5);
  transform: translateY(-3px);
}
.curriculum-item__num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--red);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}
.curriculum-item h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.curriculum-item p  { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.carousel-wrap {
  max-width: 780px;
  margin: 52px auto 0;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.carousel__slide { min-width: 100%; }

.testimonial {
  background: var(--white);
  padding: 44px 48px;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
}
.testimonial__quote {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #333;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}
.testimonial__quote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--red);
  line-height: 0;
  vertical-align: -0.55em;
  margin-right: 6px;
  opacity: 0.6;
}
.testimonial__name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--navy);
}
.testimonial__role {
  font-size: 0.82rem;
  color: var(--grey-mid);
  margin-top: 4px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.carousel__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background var(--ease), color var(--ease);
}
.carousel__btn:hover { background: var(--navy); color: var(--white); }
.carousel__btn svg   { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--grey-light);
  transition: background var(--ease), width var(--ease), border-radius var(--ease);
  cursor: pointer;
}
.carousel__dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: 52px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--grey-light);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--ease);
}
.faq-item__q:hover { color: var(--red); }
.faq-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  color: var(--red);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
  top: 50%; left: 50%;
}
.faq-item__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item__a p {
  padding-bottom: 22px;
  font-size: 0.95rem;
  color: #555;
}
.faq-item.open .faq-item__a { max-height: 400px; }

/* ============================================================
   PRICING CARD
   ============================================================ */
.pricing-card {
  max-width: 460px;
  margin: 52px auto 0;
  background: var(--white);
  border-radius: 12px;
  padding: 44px 40px;
  text-align: center;
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 50px rgba(6,0,80,0.12);
}
.pricing-card h3   { margin-bottom: 8px; }
.pricing-card__big {
  font-family: var(--font-head);
  font-size: 3.2rem;
  color: var(--navy);
  line-height: 1;
  margin: 20px 0 6px;
}
.pricing-card__big sup {
  font-size: 1.4rem;
  vertical-align: super;
}
.pricing-card__sub {
  color: var(--grey-mid);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.pricing-card__extra {
  border-top: 1px solid var(--grey-light);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 28px;
}

/* ============================================================
   INSTRUCTOR
   ============================================================ */
.instructor {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  max-width: 760px;
  margin: 52px auto 0;
}
.instructor__avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-mid);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
.instructor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.instructor__name  { font-size: 1.3rem; margin-bottom: 4px; }
.instructor__title { color: var(--red); font-size: 0.88rem; margin-bottom: 16px; }
.instructor__bio p { font-size: 0.94rem; margin-bottom: 8px; }
.instructor__tags  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 0.72rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  padding: 5px 12px;
  background: rgba(6,0,80,0.07);
  border-radius: 4px;
  color: var(--navy);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 620px;
  margin: 52px auto 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea {
  height: 130px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000;
  padding: 32px 0 24px;
}
.footer__brand {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
  text-align: center;
}
.footer__logo {
  margin-bottom: 12px;
}
.footer__logo img {
  height: 64px;
  width: auto;
  margin: 0 auto;
}
.footer__social { display: flex; gap: 14px; justify-content: center; }
.footer__social a {
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  transition: color var(--ease);
}
.footer__social a:hover { color: var(--white); }
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer__bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  white-space: nowrap;
}
.footer__bottom p + p::before {
  content: "·";
  margin-right: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad-sec: 60px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__text { padding: 40px 24px 60px; }
  .hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  .game-detail { grid-template-columns: 1fr; }
  .game-detail--reverse .game-detail__media { order: 0; }

  .form-inline { flex-direction: column; }

  .instructor { flex-direction: column; align-items: center; text-align: center; }
  .instructor__tags { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .testimonial { padding: 32px 24px; }
  .footer__bottom p { font-size: 0.65rem; }
}

@media (max-width: 600px) {
  .games-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .playtest-hero__inner { flex-direction: column; }
  .playtest-hero__img-wrap { display: none; }
  .how-it-works { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PLAYTESTING PAGE
   ============================================================ */

/* Hero */
.playtest-hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 0 80px;
}

.playtest-hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.playtest-hero__copy {
  flex: 1 1 480px;
}

.playtest-hero__copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 12px 0 20px;
}

.playtest-hero__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 480px;
}

.playtest-hero__img-wrap {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playtest-hero__img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  mix-blend-mode: screen;
}

/* How It Works grid */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.hiw-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(6,0,80,0.07);
}

.hiw-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hiw-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.hiw-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.hiw-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}

/* Playtest signup form extras */
.form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.form-field input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--ease);
}

.form-field input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.form-field input[type="email"]:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
}

.form-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--white);
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

@media (max-width: 900px) {
  .how-it-works { grid-template-columns: 1fr 1fr; }
  .playtest-hero__img-wrap { display: none; }
}

@media (max-width: 600px) {
  .how-it-works { grid-template-columns: 1fr; }
}
