/* ==========================================================================
   Strike Padel — Intro to Padel campaign landing page
   ========================================================================== */

/* --- Reset / base --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-body);
  background: var(--white);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dim);
}

:focus-visible {
  outline: var(--border-thick) solid var(--focus-ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- SectionHeading ------------------------------------------------------
   The brand's signature heading: uppercase Black Italic display type closed
   by a green period. Mirrors components/core/SectionHeading.jsx at size="l".
   -------------------------------------------------------------------------- */
.heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 40px;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-on-light);
}

.heading--dark {
  color: var(--text-on-dark);
}

.heading__dot {
  color: var(--green);
}

/* --- Hero ----------------------------------------------------------------
   Full-bleed venue photograph behind a black scrim, logo pinned high and the
   headline block below it. The two scrim stops were dialled in on the
   prototype's tweak sliders — adjust here, they feed the gradient below.
   -------------------------------------------------------------------------- */
.hero {
  --hero-overlay-start: 0.7;
  --hero-overlay-end: 1;
  --hero-min-height: 700px;

  position: relative;
  min-height: var(--hero-min-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, var(--hero-overlay-start)) 0%,
    rgba(0, 0, 0, calc(var(--hero-overlay-start) * 0.7)) 30%,
    rgba(0, 0, 0, calc(var(--hero-overlay-start) * 0.7)) 60%,
    rgba(0, 0, 0, var(--hero-overlay-end)) 95%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: var(--hero-min-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  text-align: center;
}

.hero__logo {
  height: 72px;
  width: auto;
}

/* Holds the headline clear of the logo; scales with viewport height so the
   hero stays composed from short phones up to desktop. */
.hero__spacer {
  height: clamp(60px, 20vh, 200px);
  flex: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: var(--lh-tight);
}

/* Block-level so each line sets its own line box from its own font-size,
   rather than sharing one line box with the parent's strut. */
.hero__title-line {
  display: block;
}

.hero__title-line--sm {
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 0.1em;
}

.hero__title-line--lg {
  font-size: clamp(56px, 7vw, 96px);
}

.hero__lede {
  max-width: 600px;
  margin: 0;
  color: var(--text-on-dark);
  font-size: var(--fs-body-l);
  font-weight: 900;
  line-height: var(--lh-body);
}

/* --- Shared section furniture -------------------------------------------- */
.section {
  padding: var(--space-9) var(--space-5);
}

.section--light {
  background: var(--white);
}

.section--dark {
  background: var(--black);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.body-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--text-on-light);
}

/* --- CTA button ----------------------------------------------------------
   The green primary action, following components/core/Button.jsx at size="l"
   (including its opacity-on-hover / scale-on-press convention).
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-m);
  padding: 16px 32px;
  font-size: 18px;
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.btn--primary,
.btn--primary:hover {
  background: var(--green);
  color: var(--black);
}

.btn:hover {
  opacity: 0.85;
}

.btn:active {
  transform: scale(0.97);
}

/* --- Intro ---------------------------------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.intro__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Awaiting the Intro to Padel photo/video — see index.html. */
.media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5);
  border: var(--border-thin) dashed var(--gray-200);
  border-radius: var(--radius-m);
  color: var(--gray-600);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.media-slot--intro {
  aspect-ratio: 4 / 3;
}

.intro__media {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
}

/* --- What you'll learn ---------------------------------------------------- */
.learn__container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-7);
}

.learn__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.learn__index {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-style: italic;
  color: var(--green);
  font-size: 48px;
  line-height: 1;
}

.learn__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-body-medium);
  font-size: var(--fs-heading-m);
  color: var(--text-on-dark);
  text-transform: uppercase;
}

.learn__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--gray-400);
}

/* --- Form ----------------------------------------------------------------- */
.form-section {
  padding: var(--space-9) var(--space-5) var(--space-8);
  background: var(--white);
  display: flex;
  justify-content: center;
  scroll-margin-top: var(--space-5);
}

.form-section__inner {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.form-slot {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5);
  border: var(--border-thin) dashed var(--gray-200);
  border-radius: var(--radius-m);
  color: var(--gray-600);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq__container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.faq__item {
  border-bottom: var(--border-thin) solid var(--gray-800);
  padding: 20px 0;
}

.faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-weight: var(--fw-body-medium);
  font-size: var(--fs-body-l);
  color: var(--text-on-dark);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__marker {
  flex: none;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 24px;
}

.faq__a {
  margin: var(--space-3) 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  color: var(--gray-400);
}

/* --- Footer --------------------------------------------------------------- */
.footer {
  background: var(--gray-800);
  color: var(--gray-400);
  padding: var(--space-5);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-body-s);
}
