* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, sans-serif;
  color: #f5f5f5;
  background: #000;
}

/* Fixed video background, sits behind the whole site */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bg-video.is-active {
  opacity: 1;
}

/* Frosted layer that crawls up over the video as the page scrolls */
.blur-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: inset(calc((1 - var(--progress, 0)) * 100%) 0 0 0);
  -webkit-clip-path: inset(calc((1 - var(--progress, 0)) * 100%) 0 0 0);
}

/* Splash section — also the trigger for jumping to the Offers modal */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  cursor: pointer;
}

.hero:focus-visible {
  outline: 2px solid rgba(245, 245, 245, 0.6);
  outline-offset: -4px;
}

.hero-copy {
  transform: translateY(calc(var(--progress, 0) * -12vh));
  opacity: calc(1 - var(--progress, 0));
}

.hero-logo {
  display: block;
  width: min(1760px, 85vw);
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.line {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.line-1 {
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  animation-delay: 0s;
}

.line-2 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  animation-delay: 3s;
}

.line-3 {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: #cfcfcf;
  animation-delay: 4s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  color: #f5f5f5;
  opacity: 0;
  transform: translateX(-50%);
  animation:
    fadeIn 1s ease 5s forwards,
    pulse 2.2s ease-in-out 6s infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.55; }
}

/* Scrolling content */
.content {
  position: relative;
  z-index: 1;
}

.content section {
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.content p {
  line-height: 1.7;
  color: #e2e2e2;
}

.text-italic {
  font-style: italic;
}

.content a {
  color: inherit;
  font-weight: 600;
  text-decoration-color: rgba(245, 245, 245, 0.4);
  text-underline-offset: 0.15em;
}

.content a:hover,
.content a:focus-visible {
  text-decoration-color: currentColor;
}

.cta-line {
  text-align: center;
}

.inline-link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(245, 245, 245, 0.4);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s ease;
}

.inline-link-button:hover,
.inline-link-button:focus-visible {
  text-decoration-color: currentColor;
}

/* Club Athleten hover plate: reveals on hovering/focusing the link itself,
   which still clicks straight through to their site. Blurred, but kept
   colorless (grayscale) rather than tinted like the modals. */
.plate-trigger {
  position: relative;
}

.hover-plate {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(4px);
  margin-top: 0.5rem;
  width: min(420px, 85vw);
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 245, 245, 0.12);
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f5f5f5;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.plate-trigger:hover .hover-plate,
.plate-trigger:focus-within .hover-plate {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Techno Reclamation reveal modal */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: none;
  border-radius: 12px;
  padding: 0;
  width: min(640px, 90vw);
  max-height: 80vh;
  background: rgba(17, 26, 19, 0.88);
  color: #f5f5f5;
}

.modal::backdrop {
  background: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Belle Histoire: neutral tile, not the default green */
#movement-modal {
  background: rgba(23, 24, 28, 0.88);
}

.modal-content {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
  max-height: 80vh;
}

.modal-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.modal-content p {
  line-height: 1.7;
  color: #e2e2e2;
}

.modal-content p + p {
  margin-top: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.1);
  color: #f5f5f5;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(245, 245, 245, 0.25);
}

/* Two Books reveal modal — same shape as Techno Reclamation, maroon plate.
   Dialog itself goes transparent so only the content div's translucent
   maroon shows, instead of stacking two semi-transparent layers. */
.modal--maroon {
  background: transparent;
}

.modal--maroon .modal-content {
  background: rgba(46, 17, 22, 0.88);
}

.book-panels {
  display: flex;
  justify-content: center;
  gap: 1.75rem 1.5rem;
  flex-wrap: wrap;
}

.book-panel {
  flex: 1 1 240px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.book-cover {
  flex: 0 0 64px;
  width: 64px;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  background: rgba(245, 245, 245, 0.1);
  border: 1px solid rgba(245, 245, 245, 0.2);
  display: block;
  object-fit: cover;
}

.book-text {
  flex: 1;
  min-width: 0;
}

.book-title {
  font-size: 1rem;
  font-weight: 600;
}

.book-title span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(245, 245, 245, 0.6);
  margin-top: 0.2rem;
}

.book-text p {
  margin-top: 0.75rem;
}

/* Space out consecutive paragraphs within a section */
.content p + p {
  margin-top: 1.25rem;
}

.quote-attribution {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.6);
}

.pull-quote-right {
  text-align: right;
}

/* Haiku diagonal: shrink-wrapped to the middle line's own width, so the top
   line (right-aligned) hugs the middle line's right edge and the bottom
   line (left-aligned) hugs its left edge — a visual staircase continuing
   the diagonal from the right-aligned quote above down to the left-aligned
   paragraph below. */
.haiku-diagonal {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.haiku-line {
  display: block;
}

.haiku-line--top {
  text-align: right;
}

.haiku-line--bottom {
  text-align: left;
}

/* Testimonials strip — squared photo tiles, center pair full strength,
   outer pair fading out to round out the row */
.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 1536px; /* 960px widened 60% so it breaks past the other sections' margins */
  margin: 0 auto;
  padding: 4rem 1.5rem;
  overflow-x: auto;
  perspective: 1400px;
}

.testimonial-tile {
  flex: 0 0 clamp(120px, 20vw, 200px);
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.testimonial-tile:nth-child(2),
.testimonial-tile:nth-child(3) {
  transform: translateZ(24px) scale(1.06);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 6px 14px rgba(0, 0, 0, 0.35);
}

.testimonial-tile.fade {
  opacity: 0.4;
}

.testimonial-tile.fade:first-child {
  transform: translateZ(-12px) rotateY(16deg) scale(0.9);
}

.testimonial-tile.fade:last-child {
  transform: translateZ(-12px) rotateY(-16deg) scale(0.9);
}

.testimonial-tile:hover {
  transform: translateZ(30px) scale(1.1);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55), 0 8px 16px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.testimonial-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(245, 245, 245, 0.14), rgba(245, 245, 245, 0.04));
  border: 1px solid rgba(245, 245, 245, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(245, 245, 245, 0.6);
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
  color: #e2e2e2;
}

.testimonial-name {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: #cfcfcf;
}

.testimonial-name span {
  color: rgba(207, 207, 207, 0.6);
}

/* Mid-page section breaks ("Movement is Life", "Always... Pocket") —
   echo the splash-copy treatment from the hero */
.section-break {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem 0;
  text-align: center;
}

.movement-portrait-wrap {
  position: relative;
  /* Font-size mirrors .section-break h2's clamp so the "ch" width below
     tracks the title's own text size across viewports, keeping it wide
     enough for "Movement is Life" to stay on one line. */
  font-size: clamp(1.75rem, 5vw, 3rem);
  width: min(100%, clamp(260px, 24ch, 560px));
  margin: 0 auto;
}

.movement-portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.88;
}

.movement-portrait-wrap h2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  margin: 0;
  padding: 0 0.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.section-break h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

/* "ALWAYS on BEAT and in the POCKET" is long enough to wrap at the shared
   section-break size, so it gets its own smaller scale, kept to one line
   at every viewport width. */
.section-break--tight h2 {
  font-size: clamp(0.95rem, 4.5vw, 2rem);
  white-space: nowrap;
}

.section-break-subtitle {
  position: relative;
  margin-top: 0.5rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(245, 245, 245, 0.6);
}

.section-break-cta {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: rgba(245, 245, 245, 0.4);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s ease;
}

.section-break--trigger:hover .section-break-cta,
.section-break--trigger:focus-visible .section-break-cta {
  text-decoration-color: currentColor;
}

/* Clickable section-break banner (e.g. "Movement is Life" -> Belle Histoire) */
.section-break--trigger {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.section-break--trigger:hover,
.section-break--trigger:focus-visible {
  background: rgba(245, 245, 245, 0.06);
  outline: none;
}

/* Shimmer sweep: two small arrow-shaped highlights, confined to the
   subtitle paragraph's own box, stacked one above the other — rolling on
   top, racing underneath. Rolling sweeps right to left, tumbling end over
   end; racing sweeps left to right as a fast, stretched motion-blur
   streak (arrow flipped to still point the way it's travelling). */
.banner-shimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shimmer-arrow {
  position: absolute;
  left: 105%;
  width: 2.25rem;
  height: 1.1rem;
  transform: translate(-50%, -50%);
  opacity: 0;
  background: linear-gradient(90deg,
    rgba(245, 245, 245, 0) 0%,
    rgba(245, 245, 245, 0.95) 45%,
    rgba(245, 245, 245, 0.95) 55%,
    rgba(245, 245, 245, 0) 100%);
  clip-path: polygon(0% 50%, 35% 15%, 35% 40%, 100% 40%, 100% 60%, 35% 60%, 35% 85%);
}

.shimmer-arrow--roll {
  top: 30%;
}

.shimmer-arrow--race {
  top: 70%;
}

@keyframes shimmer-roll {
  0% { left: 105%; opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
  12% { opacity: 1; }
  50% { transform: translate(-50%, -50%) rotate(-180deg); }
  88% { opacity: 1; }
  100% { left: -5%; opacity: 0; transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes shimmer-race {
  0% { left: -5%; opacity: 0; transform: translate(-50%, -50%) scaleX(-1); }
  8% { opacity: 1; transform: translate(-50%, -50%) scaleX(-1.7); }
  50% { transform: translate(-50%, -50%) scaleX(-2.3); }
  92% { opacity: 1; transform: translate(-50%, -50%) scaleX(-1.7); }
  100% { left: 105%; opacity: 0; transform: translate(-50%, -50%) scaleX(-1); }
}

.shimmer-rolling {
  animation: shimmer-roll 2.1s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

.shimmer-racing {
  animation: shimmer-race 0.65s cubic-bezier(0.15, 0, 0.25, 1) forwards;
}

/* Closing pull-quote line, right before the footer */
.closing-line {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  text-align: center;
}

.closing-line p {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: #cfcfcf;
  margin: 0;
}

.closing-line .closing-line-cta {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
}

/* Offers modal: same blurred backdrop as the other modals, but plated in
   the logo's own cream tone with black text instead of the dark palette. */
.modal--offers {
  background: #f4f1df;
  color: #000;
}

.modal--offers .modal-content p {
  color: #000;
}

.modal--offers .modal-close {
  background: rgba(0, 0, 0, 0.1);
  color: #000;
}

.modal--offers .modal-close:hover,
.modal--offers .modal-close:focus-visible {
  background: rgba(0, 0, 0, 0.25);
}

.modal--offers a {
  text-decoration-color: rgba(0, 0, 0, 0.4);
}

.modal--offers a:hover,
.modal--offers a:focus-visible {
  text-decoration-color: currentColor;
}

.offer-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.offer-item p + p {
  margin-top: 0.35rem;
}

.offer-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 600;
}

.offer-price {
  font-weight: 400;
  white-space: nowrap;
}

.offer-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
}

/* Contact call-to-action */
.contact-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.contact-cta p {
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid rgba(245, 245, 245, 0.4);
  border-radius: 999px;
  color: #f5f5f5;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background-color: #f5f5f5;
  color: #111;
  border-color: #f5f5f5;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 1.5rem auto 0;
  border: 1px solid rgba(245, 245, 245, 0.4);
  border-radius: 50%;
  color: #f5f5f5;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Scaled to the social button's 3rem diameter, sitting between it and the
   footer; also a back-to-top link. */
.footer-logo-link {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  opacity: 0.7;
}

.footer-logo {
  display: block;
  height: 3rem;
  width: auto;
  margin: 0;
  opacity: 0.85;
}

.social-button:hover,
.social-button:focus-visible {
  background-color: #f5f5f5;
  color: #111;
  border-color: #f5f5f5;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem 1.5rem 3rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #cfcfcf;
}
