/*
Theme Name: Chick'Hen Show
Theme URI: https://chickhenshow.com/
Author: Chick'Hen Show Team
Author URI: https://chickhenshow.com/
Description: One-page WordPress theme for the party game Chick'Hen Show. Colorful TV-show look with sticker panels, tilted marquees and a Steam wishlist call to action.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chickhen-show
Tags: one-page, custom-logo, custom-colors, full-width-template, video, portfolio
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Core palette */
  --chick-blue: oklch(0.7169 0.1524 243.74);
  --chick-red: oklch(0.6519 0.2316 26.53);
  --chick-red-deep: oklch(0.319 0.105 1.6);
  --chick-cream: oklch(0.983765 0.015858 82.7923);
  --chick-cream-deep: oklch(0.3427 0.105 74.24);
  --chick-blue-deep: oklch(0.5134 0.105 245.11);
  --chick-ink: oklch(0.2847 0.0583 252.92);
  --chick-yellow: oklch(0.8593 0.158 89.9);
  --chick-orange: oklch(0.5906 0.1252 73.9);
  --chick-violet: oklch(0.5009 0.0808 306.15);
  --chick-green: oklch(0.5879 0.0821 214.86);
  --chick-shadow: oklch(0.1667 0.0489 265.76);

  /* Shared surface and typography colors */
  --chick-panel: #ffffff;
  --chick-muted: var(--chick-ink);
  --chick-description: oklch(0.2847 0.0583 252.92);
  --chick-description-yellow: oklch(0.5906 0.1252 73.9);
  --chick-text-red: oklch(0.3066 0.0958 24.8);
  --chick-studio-red: oklch(0.6456 0.2048 24.98);
  --chick-press-yellow: oklch(0.8077 0.1397 78.25);
  --chick-logo-outline: oklch(0.9243 0.1085 81.53);

  /* Separator colors */
  --chick-separator: oklch(0.4384 0.1086 253.61);
  --chick-team-separator-color: oklch(0.7257 0.1294 79.59);
  --chick-press-separator-color: oklch(0.6391 0.1686 250.31);
  --chick-team-separator-width: 3px;
  --chick-team-separator-height: 8rem;

  /* Typography and geometry */
  --font-display: "Lilita One", ui-rounded, system-ui, sans-serif;
  --font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --radius: 0.75rem;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--chick-ink);
  background-color: var(--chick-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#content {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container { width: 100%; margin: 0 auto; padding: 0 1rem; }
.container--sm { max-width: 64rem; }
.container--md { max-width: 72rem; }
.container--lg { max-width: 80rem; }

.text-red { color: var(--chick-red); }
.text-yellow { color: var(--chick-yellow); }
.text-white { color: var(--chick-panel); }
.text-cream { color: var(--chick-cream); }
.text-orange { color: var(--chick-orange); }
.text-blue { color: var(--chick-blue); }
.text-green { color: var(--chick-green); }
.text-ink { color: var(--chick-ink); }

/* ==========================================================================
   3. Shared components
   ========================================================================== */
.panel-pop {
  background-color: var(--chick-panel);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 5px var(--chick-panel), 0 0 0 8px var(--chick-ink);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.8, 0.64, 1), box-shadow 0.25s ease,
    filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn--wishlist {
  position: relative;
  overflow: hidden;
  background-color: var(--chick-blue);
  color: var(--chick-panel);
  box-shadow: 0 0 0 4px var(--chick-panel), 0 0 0 8px var(--chick-shadow);
}

.btn--wishlist::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.55) 55%,
    transparent 70%
  );
  transform: translateX(-130%) skewX(-22deg);
}

.btn--wishlist:hover::before { animation: shine-sweep 0.85s ease-in-out; }

.btn--primary {
  background-color: var(--chick-yellow);
  color: var(--chick-ink);
  box-shadow: 0 0 0 4px var(--chick-panel), 0 0 0 8px var(--chick-ink);
}

.btn__icon { width: 1.35rem; height: 1.35rem; }
.btn:hover .btn__icon { animation: mini-bounce 0.6s cubic-bezier(0.34, 1.6, 0.64, 1) infinite; }


/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--chick-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header__inner {
	position: relative;
	z-index: 51;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1.5rem;
}

.site-header__logo {
  position: relative;
  display: inline-block;
  isolation: isolate;
  overflow: hidden;
}

.site-header__logo img {
  height: 3rem;
  width: auto;
  display: inline-block;
}

.site-content {	padding-top: 2.5rem; }

.site-nav { display: none; align-items: center; gap: 1.5rem; }

.site-nav a,
.site-nav .menu-item a {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--chick-cream);
  transition: color 0.2s ease;
}


/* Header links: Blog, Press Kit and language switch.
   Wishlist remains excluded because it has .btn. */
.site-nav .menu-item a,
.site-nav > a:not(.btn),
.lang-switch {
  display: inline-flex;
  align-items: center;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.6, 0.64, 1),
    color 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-nav .menu-item a:hover,
  .site-nav .menu-item a:focus-visible,
  .site-nav > a:not(.btn):hover,
  .site-nav > a:not(.btn):focus-visible,
  .lang-switch:hover,
  .lang-switch:focus-visible {
    color: var(--chick-yellow);
    transform: translateY(-2px) scale(1.06);
  }
}

.site-nav ul { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }



.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	background-color: var(--chick-cream);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.site-nav-mobile {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--chick-ink);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	overflow-y: auto;
	z-index: 49;
}

.site-nav-mobile.is-open {	transform: translateX(0); }

.site-nav-mobile__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	min-height: 100vh;
	padding: 6rem 1.5rem 3rem;
}

.site-nav-mobile__inner a,
.site-nav-mobile__inner .menu-item a {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--chick-cream);
}

.site-nav-mobile__inner a:hover {	color: var(--chick-yellow); }

.site-nav-mobile__inner ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav-mobile__socials {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1rem;
}

.site-nav-mobile__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.1);
}

body.nav-open {	overflow: hidden; }



/* Language switch button */
.lang-switch { display: inline-flex; align-items: center; margin-left: 0.75rem; text-decoration: none; }
.lang-switch img { height: 32px; width: auto; display: block; border-radius: 6px; transition: transform 0.15s ease; }
.lang-switch:hover img { transform: scale(1.08); }
.lang-switch__text { font-family: var(--font-display); font-size: 1rem; line-height: 1; padding: 0.4rem 0.65rem; border-radius: 6px; background: rgba(255, 255, 255, 0.15); color: var(--chick-cream); transition: background 0.15s ease; }
.lang-switch:hover .lang-switch__text { background: rgba(255, 255, 255, 0.28); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: ken-burns 1s ease-out forwards;
}

.hero__content { position: relative; z-index: 10; max-width: 68rem; margin: 0 auto; width: 100%; }

.hero__logo {
  width: auto;
  max-width: clamp(20rem, 85vw, 62rem);
  height: auto;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 20px var(--chick-logo-outline)) drop-shadow(0 0 5px var(--chick-logo-outline)) ;
}

.hero__cta { 
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.25s; 
}
.hero__cta .btn {
  animation: logo-bounce 2s ease-in-out infinite;
  animation-delay: 1.25s;
  font-size: clamp(1.05rem, 1rem + 1vw, 1.5rem);
  text-shadow: 1px 2px 0 var(--chick-blue-deep);
  padding: clamp(0.8rem, 0.7rem + 1vw, 1.25rem)    clamp(1.5rem, 1.2rem + 3vw, 3rem);
  white-space: nowrap;
  filter: drop-shadow(0 0 8px var(--chick-shadow));
}

.hero__cta .btn:hover,
.hero__cta .btn:focus-visible {
  animation: none;
  transform: translateY(-4px) scale(1.10);
  filter: brightness(1.08) drop-shadow(0 0 10px var(--chick-shadow));
}


.section-divider {
  position: relative;
  z-index: 30; 
  height: 2rem; 
  background-color: #fff;
  box-shadow: 0 12px 20px -6px rgba(0, 0, 0, 0.25);
}


/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { position: relative; }

/* Pitch */
.section-trailer { z-index: 20; background-color: var(--chick-sky-deep); }



.burst-bg {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.trailer__frame {
  overflow: hidden;
  border-radius: 1rem;
  border: 4px solid var(--chick-panel);
  background-color: var(--chick-ink);
}

.trailer__ratio { position: relative; width: 100%; padding-top: 56.25%; }
.trailer__ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.deco {
  position: absolute;
  pointer-events: none;
  display: none;
  object-fit: contain;
}

@media (min-width: 1024px) { .deco { display: block; } }

.deco--camera { right: 0; top: 50%; width: 10rem; transform: translate(15%, -50%); }
.deco--bush { left: 0; bottom: 0; width: 12rem; transform: translate(-10%, 10%); }


.section-pitch { z-index: 20; padding-bottom: 0rem; padding-top: 2rem;}
.section-pitch {background-image: var(--chick-pitch-background); background-position: center; background-size: 100% 100%; background-repeat: no-repeat; background-blend-mode: normal;}

.section-pitch::before {
	 content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--chick-pitch-tiling);
  background-position: center top;
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
	
	-webkit-mask-image: linear-gradient(
	  to bottom,
	  transparent 0%,
	  #000 10%,
	  #000 90%,
	  transparent 100%
	);
	mask-image: linear-gradient(
	  to bottom,
	  transparent 0%,
	  #000 10%,
	  #000 90%,
	  transparent 100%
	);
}

.section-pitch > .container {
  position: relative;
  z-index: 1;
}

.pitch__panel { max-width: 56rem; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.pitch__eyebrow {  display: inline-block;  margin-bottom: 0.5rem;  color: var(--chick-studio-red);  font-family: var(--font-display);  font-size: 1.1rem;  letter-spacing: 0.08em;  text-transform: uppercase;}
.pitch__panel h2 { font-size: 1.5rem; line-height: 1.1; color: var(--chick-cream); text-shadow: 2px 3px 0 var(--chick-description-yellow);}
.pitch__panel p { max-width: 48rem; margin: 1.5rem auto 0; font-size: .8rem; font-weight: 600; color: var(--chick-cream); text-shadow: 2px 2px 0 var(--chick-description-yellow);}

@media (min-width: 640px) { 
	.pitch__panel { padding: 3rem; } 
	.pitch__panel h2 { text-shadow: 4px 5px 0 var(--chick-description-yellow);}
	.section-pitch .pitch__panel h2 { font-size: 2rem; }
	.section-pitch .pitch__panel p { font-size: 1rem; }
    .section-pitch { z-index: 20; padding-top: 6rem; }
	.pitch__eyebrow { font-size: 1.35rem; }
}

@media (min-width: 1024px) {
	.section-pitch .container--sm { display: flex; align-items: center; gap: 4rem; max-width: 100rem; }
	.section-pitch .trailer__frame { flex: 1 1 56%; margin: 0; }
	.section-pitch .pitch__panel { flex: 1 1 44%; max-width: none; margin: 0; text-align: left; }
	.section-pitch .pitch__panel h2 { font-size: 3rem; }
	.section-pitch .pitch__panel p { margin-left: 0; margin-right: 0; font-size: 1rem; }
	.section-pitch { z-index: 20; padding-bottom: 5rem; padding-top: 5rem;}
	.pitch__eyebrow { font-size: 1.5rem; }
}


/* Marquee bands */
.marquee-section { position: relative; margin: 0rem 0; padding: 1rem 0; overflow: hidden; }
.marquee-section--shots { z-index: 39; }

/* Blue background (top) / orange background (bottom) behind the tilted band, meeting in the middle */
.marquee-section--shots {
  background: linear-gradient(to bottom, var(--chick-blue) 0 50%, var(--chick-orange) 50% 100%);
}
.marquee-section--gifs { z-index: 40; }

.marquee-band {
  transform: rotate(-2.2deg) scale(1.06);
  background-color: var(--chick-panel);
  padding-block: 0.6rem;
}

.marquee-viewport { position: relative; overflow: hidden; }

.marquee-track,
.marquee-track--reverse {
  display: flex;
  width: max-content;
  gap: 0.5rem;
  padding-block: 0.25rem;
}

.marquee-track { animation: marquee-slide 25s linear infinite; }
.marquee-track--reverse { gap: 1rem; animation: marquee-slide-reverse 25s linear infinite; }

.marquee-track figure,
.marquee-track--reverse figure {
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.8);
  background-color: var(--chick-ink);
}

.marquee-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee-track--reverse video {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.shot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, var(--chick-ink) 0 18px, rgba(255, 255, 255, 0.08) 18px 36px);
  color: var(--chick-panel);
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .marquee-section { margin: 0 0; padding: 2rem 0; }

  .marquee-track figure,
  .marquee-track--reverse figure { width: 300px; }

  .marquee-track,
  .marquee-track--reverse { gap: 1rem; }

  .marquee-track--reverse video { height: 175px; }

  .marquee-track { animation: marquee-slide 30s linear infinite; }
  .marquee-track--reverse { animation: marquee-slide-reverse 30s linear infinite; }
}

@media (min-width: 1024px) {
  .marquee-section {  padding: 4rem 0; margin: 0rem 0}

  .marquee-track figure,
  .marquee-track--reverse figure { width: 520px; }s

  .marquee-track,
  .marquee-track--reverse { gap: 1.5rem; }

  .marquee-track--reverse video { height: 300px; }

  .marquee-track { animation: marquee-slide 40s linear infinite; }
  .marquee-track--reverse { animation: marquee-slide-reverse 40s linear infinite; }
}

/* Features */
.section-features { z-index: 20; overflow: hidden; padding-top: 2rem; }
.section-features {background-image: var(--chick-features-background); background-position: center; background-size: 100% 100%; background-repeat: no-repeat; background-blend-mode: normal;}

.section-features::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--chick-features-tiling);
  background-position: center top;
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.05;
  mix-blend-mode: overlay;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

/* Features: remove white panel + colored icon squares, keep the layout */
.features__list.panel-pop { background: transparent; box-shadow: none; border: 0; }
.features__list .feature-row__icon { background-color: transparent; }

.section-heading { text-align: center; }
.section-heading h2 { font-size: clamp(2rem, 5vw, 3.75rem); color: var(--chick-cream); text-shadow: 4px 5px 0 var(--chick-blue-deep);}
.section-heading p { max-width: 40rem; margin: 1rem auto 0; font-size: 1rem; font-weight: 600; color: var(--chick-blue-deep); }

.features__layout { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }

.features__presenter { display: none; }

.features__list { width: 100%; overflow: hidden; }

.feature-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; }  /*border-bottom: 3px solid rgba(31, 41, 71, 0.1); }*/
.feature-row-separator { border: none; height: 5px; background-color: rgba(31, 41, 71, 0.1); border-radius: 5px;}

.feature-row:last-child { border-bottom: 0; }
.feature-row-separator:last-child { height: 0px;}

.feature-row__icon { display: inline-flex; flex-shrink: 0; padding: 0.2rem; border-radius: var(--radius); color: var(--chick-separator); }
.feature-row__icon img { width: 4rem; height: 4rem; object-fit: contain;}
.feature-row h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.feature-row p { font-size: 0.8rem; line-height: 1.45; font-weight: 600; color: var(--chick-description); }

@media (min-width: 640px) {
  .features__layout { gap: 3rem; }
  .feature-row { gap: 1.25rem; padding: 1.5rem; }
  .feature-row__icon img { width: 5rem; height: 5rem; }
  .feature-row h3 { font-size: 1.5rem; }
  .feature-row p { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .features__layout { flex-direction: row; align-items: flex-end; }
  .features__list { flex: 1; margin-bottom: 3rem; }
  .features__presenter { display: block; width: 520px; height: auto; align-self: flex-end; }
  .section-features { padding-bottom: 0; }
  .section-heading p { font-size: 1.25rem; }
}



/* Podium */
.section-podium {
  position: relative;
  background-color: var(--chick-cream);
  background-image: var(--chick-podium-background);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  overflow: hidden;
  padding: 3rem 1rem;
}

.section-podium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
	
  background-image: var(--chick-podium-tiling);
  background-position: center top;
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section-podium > .podium__grid {
  position: relative;
  z-index: 1;
}

.podium__grid { display: grid; gap: 2.5rem; align-items: center; max-width: 72rem; margin: 0 auto; }
.podium__text { text-align: center; }
.podium__text h2 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.1; color: var(--chick-cream); text-shadow: 4px 5px 0 var(--chick-red-deep);}
.podium__text p { margin: 1rem auto 0; max-width: 36rem; font-size: 0.85rem; line-height: 1.5; font-weight: 600; color: var(--chick-text-red);}
.podium__grid img { display: block; width: 100%; max-width: 24rem; height: auto; margin-inline: auto;}

@media (min-width: 1024px) {
  .section-podium { padding: 7rem 1rem; }
  .podium__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .podium__text { text-align: left; order: 0; }
  .podium__text p { margin-left: 0; margin-right: 0; font-size: 1.25rem; order: 0;}
  .podium__grid img { width: 100%; max-width: 36rem; order: 2; }
}



/* Team */
.section-team {
  position: relative;
  z-index: 10;
  padding: clamp(0rem, 10vw, 2rem) 0;
  background-color: var(--chick-blue);
  background-image: var(--chick-team-background);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
}

.section-team::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--chick-team-tiling);
  background-position: center top;
  background-size: 600px auto;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section-team > .container {
  position: relative;
  z-index: 1;
}

.section-team .section-heading h2 {  color: var(--chick-cream); text-shadow: 4px 5px 0 var(--chick-description-yellow);}

.section-team .section-heading p {  color: var(--chick-description-yellow);}

.team__wrap {  position: relative;  padding-top: 2rem;}

.team__panel {  max-width: 100rem;  margin: 0 auto;}

.team__grid {  display: block;  max-width: 42rem;  margin: 0 auto;  background-color: transparent;}

.team__member {  display: flex;  align-items: flex-start;  gap: 1rem;  padding: 1.25rem 0;  text-align: left;  background-color: transparent;}

.team__member + .team__member {  border-top: 0;  position: relative;}

.team__member + .team__member::before {
  content: "";
  position: absolute;
  top: 0rem;
  left: 50%;
  width: min(80%, 24rem);
  height: 5px;
  background-color: var(--chick-team-separator-color);
  transform: translateX(-50%);
  border-radius: 5px;
}

.team__member-image {  display: block;  flex: 0 0 auto;  width: 3rem;  height: 3rem;  border-radius: 50%;  object-fit: cover;}

.team__member-content {  display: flex;  flex: 1 1 auto;  flex-direction: column;  align-items: flex-start;  min-width: 0;  padding-top: 0;}

.team__member h3 {  margin: 0;  color: var(--chick-ink);  font-size: 1.2rem;  line-height: 1.1;  text-align: left;}


.team__role {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.375rem;
  color: var(--chick-cream);
  font-family: var(--font-display);
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.team__chicken {
  position: absolute;
  top: 50%;
  right: 0;
  display: none;
  width: 240px;
  transform: translate(25%, -50%);
  pointer-events: none;
}


/* Team role badge colors */
.team__role.team-role--developer {
  background-color: var(--chick-violet);
}

.team__role.team-role--artist {
  background-color: var(--chick-description-yellow);
}

.team__role.team-role--designer {
  background-color: var(--chick-green);
}


/* Tablet: keep the feature-row layout and remove row separators. */
@media (min-width: 640px) and (max-width: 1023px) {
  .team__grid {    display: block;    max-width: 42rem;  }
	
  .team__member {    gap: 1.25rem; padding: 1.5rem 0 1.5rem 3rem;}

  .team__member-image {    flex: 0 0 auto; width: 4.25rem; height: 4.25rem;}

  .team__member-content {     padding-top: 0.2rem;  }

  .team__member h3 {    font-size: 1.35rem;  }

  .team__role {    margin-top: 0.45rem;    font-size: 0.75rem; }
	
	.team__member + .team__member::before {
	left: 3rem;            
    width: min(85%, 32rem);
    height: 5px;
    top: 0rem;
    transform: none;  
  }
}

/* Desktop: restore the four-column layout and vertical separators. */
@media (min-width: 1024px) {
  .team__grid {    display: grid;    grid-template-columns: repeat(4, minmax(0, 1fr));    max-width: none;    margin: 0;  }
	
  .section-team .section-heading p {  font-size: 1.25rem;}

  .team__member {    position: relative;    display: flex;    flex-direction: column;    align-items: center;    gap: 0;    padding: 2rem;    text-align: center;  }

  .team__member + .team__member {    border-top: 0;  }

  /* This makes the PHP content wrapper visually neutral on desktop. */
  .team__member-content {
    display: contents;
  }

  .team__member-image {
    width: 11rem;
    height: 11rem;
    border-radius: 0.5rem;
  }

  .team__member h3 {
    margin-top: 1.25rem;
    color: var(--chick-ink);
    font-size: 1.875rem;
    text-align: center;
  }

	.team__role {
	  align-self: center;
	  margin-top: 0.75rem;
	  padding: 0.25rem 0.75rem;
	  border-radius: 0.375rem;
	  color: var(--chick-cream);
	  font-size: 0.75rem;
	  text-align: center;
	}

  /* Short vertical separators appear only between desktop columns. */
  .team__member + .team__member::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: min(50%, 16rem);
    background-color: var(--chick-team-separator-color);
    transform: translateY(-50%) translateY(-4rem);
    border-radius: 5px;
  }
}



/* Studio */
.section-studio {
  position: relative;
  z-index: 10;
  padding: clamp(5rem, 9vw, 8rem) 1rem;
  overflow: hidden;
  background-color: var(--chick-cream);
  background-image: var(--chick-studio-background);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
}
	
.section-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--chick-studio-tiling);
  background-position: center top;
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section-studio > .studio__container {
  position: relative;
  z-index: 1;
}
	
.studio__container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.studio__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 2.5rem;
}

.studio__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio__logo {
  display: block;
  width: min(100%, 26rem);
  height: auto;
  object-fit: contain;
}

.studio__content {
   display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.studio__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--chick-studio-red);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio__content h2 {
  color: var(--chick-ink);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
}

.studio__content p {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: var(--chick-description);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

.studio__content .btn {
  margin-top: 2rem;
	filter: drop-shadow(0 2px 3px var(--chick-cream-deep));
}

/* Press kit call-to-action button */
.btn--press-kit {
  color: var(--chick-panel);
  background-color: var(--chick-studio-red);
  box-shadow:
    0 0 0 4px var(--chick-panel),
    0 0 0 8px var(--chick-ink);
  
}


@media (min-width: 768px) {
  .studio__grid {    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);    gap: clamp(3rem, 7vw, 7rem);  }

  .studio__logo {    width: min(100%, 32rem);  }

  .studio__content { padding-bottom: 1.5rem;  align-items: flex-start; text-align: left;  }

  .studio__content p {    margin-right: 0;    margin-left: 0;  }
	
  .studio__content .btn {    margin-top: auto;  }
}

/* Press, blog and final call to action */
.section-end-content {
  position: relative;
  z-index: 10;
  padding: clamp(3rem, 9vw, 5rem) 1rem;
  background-color: var(--chick-cream);
  background-image: var(--chick-end-content-background);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
}

@media (max-width: 1023px) {
	.section-end-content { padding: clamp(1rem, 6vw, 3rem) 1rem; }
}
	
.section-end-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--chick-end-content-tiling);
  background-position: center top;
  background-size: 600px auto;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section-end-content > .section-end-content__container {
  position: relative;
  z-index: 1;
}
	
.section-end-content__container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

/* Press Kit and Dev Blog */
.press__grid {
  display: grid;
  max-width: 68rem;
  margin: 0 auto;
}

.press__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 100%;
}

.press__card h3 {
  margin-bottom: 0.75rem;
  color: var(--chick-press-yellow);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  text-shadow: 2px 3px 0 var(--chick-blue-deep);
}

.press__card p {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  color: var(--chick-cream);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 1px 2px 0 var(--chick-blue-deep);
}

/* Separator between the two blocks. */
.press__card + .press__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(80%, 24rem);
  height: 3px;
  background-color: var(--chick-press-separator-color);
  transform: translateX(-50%);
  border-radius: 2px;
}

.press__card .btn {
  margin-top: auto;
	filter: drop-shadow(0 3px 5px var(--chick-blue-deep));
}
	
.press__card .btn--primary {
  color: var(--chick-cream);
  background-color: var(--chick-press-yellow);
}

/* Desktop: two centered columns with a short vertical separator. */
@media (min-width: 1024px) {
  .section-end-content__container {
    display: flex;
    flex-direction: column;
  }
	
	.press__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: flex-start;
	flex: 1;
  }

  .press__card {
	text-align: left;
	padding-left: 5rem;
	align-items: flex-start;
  }

  .press__card p {
    margin-right: 0;
    margin-left: 0;
	font-size: 1.125rem;
  }
	
  .press__card + .press__card::before {
    top: 50%;
    left: 0;
    width: 5px;
    height: min(77%, 16rem);
    background-color: var(--chick-press-separator-color);
    transform: translateY(-50%) translateY(0.5rem);
    border-radius: 5px;
  }
}


.press__badge {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: var(--chick-ink);
}

.press__badge svg { width: 2rem; height: 2rem; }


/* Final CTA */

.cta__panel {
  max-width: 56rem;
  margin: 0rem auto 0;
  padding: 4rem 1.5rem;
  text-align: center;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta__panel h2 {  font-size: clamp(2rem, 5vw, 3.75rem); color: var(--chick-press-yellow); text-shadow: 4px 5px 0 var(--chick-blue-deep);}

.cta__panel p {  max-width: 36rem;  margin: 1rem auto 0;  padding: 0;  color: var(--chick-cream);  font-size: 1.125rem;  font-weight: 700; text-shadow: 2px 3px 0 var(--chick-blue-deep);}
	
.cta__panel .btn {  margin-top: 2.25rem;  padding: 1rem 2.5rem;  font-size: 1.25rem; background-color: var(--chick-red);  filter: drop-shadow(0 3px 5px var(--chick-blue-deep));}

.cta__button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.cta__flank {
  display: block;
  width: min(100%, 8rem);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
	
.cta__flank--left {  transform: scaleX(-1);}
	
.cta__button-row .btn {
  margin-top: 0;
}

@media (max-width: 639px) {
	.cta__flank { display: none; }
}
	
.end-content__figure {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0.1rem auto 0;
}

.end-content__figure img {
  display: block;
  width: min(100%, 36rem);
  height: auto;
  object-fit: contain;
}


/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer {
	width: 100%;
	padding: 3.5rem 1rem 1.5rem;
	background-color: var(--chick-ink);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(245, 243, 250, 0.7);
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 2.75rem;
	max-width: 72rem;
	margin: 0 auto;
	text-align: center;
}

.site-footer__partners,
.site-footer__column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-footer__logo {
	display: inline-block;
}

.site-footer__logo img {
	width: auto;
	height: 3.5rem;
	margin: 0 auto;
}

.site-footer__partner-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.site-footer__partner-logos img {
	width: auto;
	max-width: 8rem;
	height: 2.75rem;
	object-fit: contain;
}

.site-footer__heading {
	margin: 0 0 1rem;
	color: var(--chick-panel);
	font-family: var(--font-display);
	font-size: 1.35rem;
	line-height: 1;
}

.site-footer__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.site-footer__nav a,
.site-footer__bottom,
.site-footer__bottom a {
	color: rgba(245, 243, 250, 0.7);
}

.site-footer__nav a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.34, 1.6, 0.64, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-footer__nav a:hover,
  .site-footer__nav a:focus-visible {
    color: var(--chick-yellow);
    transform: scale(1.06);
  }
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	max-width: 72rem;
	margin: 3.5rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(245, 243, 250, 0.12);
	text-align: center;
	font-size: 0.8rem;
	font-weight: 500;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition:
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.34, 1.6, 0.64, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-footer__bottom a:hover,
  .site-footer__bottom a:focus-visible {
    color: var(--chick-yellow);
    transform: translateY(-2px) scale(1.06);
  }
}

@media (min-width: 640px) {
	.site-footer__inner {
		grid-template-columns: repeat(4, auto);
		justify-content: center;
		align-items: start;
		column-gap: clamp(2.5rem, 7vw, 7rem);
	}
}

/* ==========================================================================
   8. Blog / fallback templates (index.php)
   ========================================================================== */
.blog-main { padding: 9rem 1rem 5rem; }
.blog-post { margin-bottom: 3rem; }
.blog-post h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.blog-post .entry-meta { font-size: 0.9rem; font-weight: 600; color: var(--chick-description); margin-bottom: 1rem; }
.blog-post .entry-content p { margin-bottom: 1rem; }

/* ==========================================================================
   9. Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@keyframes logo-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes mini-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-slide-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes shine-sweep {
  from { transform: translateX(-130%) skewX(-22deg); }
  to { transform: translateX(130%) skewX(-22deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero__cta,
  .hero__bg img,
  .marquee-track,/resenter/
	
  .marquee-track--reverse,
  .features__presenter,
  .team__chicken img,
  .btn,
  .btn:hover .btn__icon,
  .btn--wishlist:hover::before {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}





/* Header nav: desktop nav right-aligned; burger menu on tablet + mobile only (<1024px) */
.site-header__inner .site-nav { margin-left: auto; }

@media (min-width: 1024px) {
	.site-header__inner .site-nav { display: flex; }
	.nav-toggle { display: none; }
	.site-nav-mobile { display: none; }
}

@media (max-width: 1023px) {
	.site-header__inner .site-nav { display: none; }
	.nav-toggle { display: flex; }
	.site-nav-mobile { display: block; }
}


/* Keep the burger/close button above the mobile menu overlay so it stays clickable */
.nav-toggle { position: relative; z-index: 60; }

/* Keep the logo above the mobile menu overlay too */
.site-header__logo { position: relative; z-index: 60; }



/* ==========================================================================
   Header: 
   ========================================================================== */

.site-header a:not(.btn),
.site-header button:not(.btn) {
  transition:
    transform 0.22s cubic-bezier(0.34, 1.6, 0.64, 1),
    color 0.2s ease,
    opacity 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header a:not(.btn):hover,
  .site-header a:not(.btn):focus-visible,
  .site-header button:not(.btn):hover,
  .site-header button:not(.btn):focus-visible {
    transform: scale(1.06);
  }
}