/*
Theme Name: Beat the Heat Landing
Theme URI:
Author:
Author URI:
Description: Custom WordPress theme for Beat the Heat landing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beat-the-heat
*/

/* ================================================================
   BEAT THE HEAT — style.css
   Mobile-first: 320px → 768px → 1080px+
   Scroll-snap: each .snap-section = 100dvh
   Brand palette from PDF:
     --cream      #f4f1c9   --cream-mid  #ede6b4
     --yellow     #ecee9d   --sky        #5fa8d3
     --sky-dk     #3d8ab8   --green      #5faf6a
     --green-lt   #8bcf7a   --brown      #a97c4c
     --maroon     #8e2b4d   --maroon-dk  #6b1f3a
   Fonts: Poppins (all weights)
================================================================ */

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  --cream:      #f4f1c9;
  --cream-mid:  #ede6b4;
  --yellow:     #ecee9d;
  --sky:        #5fa8d3;
  --sky-dk:     #3d8ab8;
  --green:      #5faf6a;
  --green-lt:   #8bcf7a;
  --brown:      #a97c4c;
  --maroon:     #8e2b4d;
  --maroon-dk:  #6b1f3a;
  --white:      #ffffff;
  --text-dark:  #1e0e08;
  --font:       'Poppins', sans-serif;
  --radius:     12px;
  --shadow:     0 6px 28px rgba(0,0,0,0.18);
  --trans:      0.3s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text-dark);
  overflow: hidden; /* snap wrapper handles scroll */
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Scroll-snap Wrapper ────────────────────────────────── */
.page-wrap {
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-wrap::-webkit-scrollbar { display: none; }

/* Every section is exactly one viewport */
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Shared: Section Title ──────────────────────────────── */
.section-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
}
.section-title--maroon { color: var(--maroon); }
.section-title--center { text-align: center; }

/* ── Shared: Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--trans);
  cursor: pointer;
}
.btn--outline {
  border: 2.5px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
}
.btn--outline:hover { background: var(--yellow); color: var(--maroon); }

.btn--cream {
  background: var(--cream);
  color: var(--maroon);
  font-weight: 800;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 10px;
  width: 70%;
  max-width: 70%;
  align-self: flex-start;
}
.btn--cream:hover { background: var(--yellow); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── Shared: Hex icon ───────────────────────────────────── */
.hex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--yellow);
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0% 50%);
  color: var(--maroon);
  transition: background var(--trans), transform var(--trans);
  flex-shrink: 0;
  overflow: hidden;
}
.hex-icon:hover { background: var(--brown); transform: scale(1.1); }
.hex-icon--sm { width: 40px; height: 40px; }

/* ── Scroll hint ────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2.5px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  position: relative;
}
.scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 18px; }
}

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 1;           /* visible by default — JS upgrades to animated */
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* JS adds .js-reveal-ready to <html> only when observer is working */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveal-ready .reveal--delay { transition-delay: 0.15s; }
.js-reveal-ready .reveal.visible { opacity: 1; transform: translateY(0); }


/* ================================================================
   SECTION 1 — HERO
================================================================ */
.s-hero { background: #3d8ab8; }

/* ── YouTube iframe background ─────────────────────── */
.hero-bg__youtube {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg__youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16/9 ratio */
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* ── Background ──────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg__fallback {
  position: absolute;
  inset: 0;
  /* Grainy blue gradient matching reference */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"),
    linear-gradient(175deg, #5bacd6 0%, #4a98c4 35%, #3d8ab8 65%, #6ab5d8 100%);
  background-size: 300px 300px, 100% 100%;
  z-index: 1;
}
.hero-bg__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
/* Very light overlay — keep the blue visible */
.hero-bg__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0,0,0,0.12) 0%,
    rgba(0,0,0,0.05) 55%,
    rgba(0,0,0,0) 100%
  );
  z-index: 3;
}

/* ── Sand dunes at the bottom ────────────────────────── */
.hero-dunes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(70px, 13vh, 120px);
  z-index: 5;
  pointer-events: none;
  display: block;
}

/* ── Main content column (left ~50%) ─────────────────── */
.hero-main {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(20px,4vw,60px) clamp(20px,5vw,70px) clamp(90px,14vh,140px);
  max-width: clamp(340px, 52%, 680px);
  gap: clamp(8px, 1.5vh, 20px);
}

/* ── Logo block ──────────────────────────────────────── */
.hero-logo {
  position: relative;
  display: inline-block;
  line-height: 1;
}
/* Logo as image (when uploaded via Customizer) */
.hero-logo__img {
  display: block;
  max-height: clamp(180px, 30vh, 300px);
  width: auto;
  max-width: 90%;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
  position: relative;
  z-index: 2;
}

/* The large hand-drawn hex shape behind the text */
.hero-logo__hex {
  position: absolute;
  top: 50%;
  right: clamp(-30px, -8%, -10px);
  transform: translateY(-50%);
  width: clamp(100px, 20vw, 200px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hero-logo__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.88;
}

.hero-logo__beat,
.hero-logo__heat {
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 2px 3px 0 rgba(0,0,0,0.15);
  letter-spacing: -0.01em;
}

.hero-logo__the {
  font-size: clamp(0.9rem, 2vw, 1.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: capitalize;
  letter-spacing: 0.22em;
  padding-left: 4px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* ── Content below logo ──────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-content__genre {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: clamp(8px, 1.2vh, 14px);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.hero-content__desc {
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: clamp(16px, 2.5vh, 28px);
  max-width: 520px;
}

.hero-content__btns {
  display: flex;
  gap: clamp(10px, 2vw, 18px);
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 2vh, 22px);
}
@media (max-width: 767px) {
  .btn--hero {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    padding: 10px clamp(20px, 5vw, 36px) !important;
    box-shadow: 5px 5px 0 0 #8e2b4d !important;
    --btn-fold: 6px;
  }
}

/* Hero buttons: cream fill + solid maroon offset shadow + folded corners */
.btn--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vh, 20px) clamp(32px, 5vw, 64px);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: #8e2b4d;
  background: #ecee9d;
  border-radius: 0;
  /* Fold muy pequeño — apenas perceptible, como en la referencia */
  --btn-fold: clamp(6px, 0.7vw, 10px);
  clip-path: polygon(
    var(--btn-fold) 0%, calc(100% - var(--btn-fold)) 0%,
    100% var(--btn-fold), 100% calc(100% - var(--btn-fold)),
    calc(100% - var(--btn-fold)) 100%, var(--btn-fold) 100%,
    0% calc(100% - var(--btn-fold)), 0% var(--btn-fold)
  );
  /* Sombra sólida #8e2b4d bien visible, desplazada abajo-derecha */
  box-shadow: 8px 8px 0 0 #8e2b4d;
  transition: box-shadow var(--trans), transform var(--trans);
  letter-spacing: 0.02em;
}
.btn--hero:hover {
  box-shadow: 10px 10px 0 0 #8e2b4d;
  transform: translate(-2px, -2px);
}
.btn--hero:active {
  box-shadow: 3px 3px 0 0 #8e2b4d;
  transform: translate(2px, 2px);
}

/* Social hexagons: plain cream shapes, no visible icon */
.hero-content__social {
  display: flex;
  gap: clamp(18px, 2.8vw, 32px);
}
.hero-hex-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 6.5vw, 80px);
  height: clamp(64px, 6.5vw, 80px);
  background: #ecee9d;
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0% 50%);
  transition: background var(--trans), transform var(--trans);
  flex-shrink: 0;
  overflow: hidden;
}
.hero-hex-social:hover {
  background: var(--cream);
  transform: scale(1.1);
}


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   SECTION 2 — WHAT IS
================================================================ */
.s-what {
  /* Grainy sandy background */
  background-color: #d4cc9a;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  position: relative;
  justify-content: center;
  overflow: hidden;
}

/* Wavy sand dunes — rendered as inline SVG (.what-dunes) */
.what-dunes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(70px, 14vh, 130px);
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Row layout: title left, video right */
.what-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 clamp(24px, 4vw, 48px) 0 clamp(16px, 3vw, 36px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
}
@media (max-width: 767px) {
  .what-inner {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 28px !important;
    padding: clamp(80px, 15vh, 120px) 24px 24px !important;
    height: auto !important;
    overflow-y: auto !important;
  }
  .what-text { max-width: 100% !important; }
  .what-media { width: 100% !important; }
}

/* Left: title block — hugs the left edge */
.what-text {
  flex: 0 0 auto;
  text-align: left;
  max-width: 55%;
  padding-left: 0;
}

.what-text .section-title {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--maroon);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.18);
}

.what-text__body {
  display: none; /* hidden in this design — title only */
}

/* Right: video box */
.what-media {
  flex: 0 0 auto;
  width: clamp(280px, 48%, 700px);
}

.video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #fffff8;          /* near-white */
  border-radius: 0;             /* sharp corners */
  border: none;
  /* Solid offset shadow (golden, bottom-right) */
  box-shadow: 12px 12px 0 0 #c4b86a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow var(--trans), transform var(--trans);
}
.video-box:hover {
  box-shadow: 16px 16px 0 0 #c4b86a;
  transform: translate(-2px, -2px);
}
.video-box__play {
  width: clamp(48px, 6vw, 72px);
  height: clamp(48px, 6vw, 72px);
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform var(--trans);
}
.video-box:hover .video-box__play { transform: scale(1.1); }
.video-box__play svg { width: 44px; height: 44px; }
.video-box__label {
  display: none; /* not visible in the reference */
}
/* YouTube iframe inside video-box */
.video-box__iframe-wrap {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.video-box__iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ================================================================
   SECTION 3 — FEATURES
================================================================ */
.s-features {
  background: var(--cream);
  justify-content: center;
  align-items: center;
  padding: 20px 24px 0;
  gap: 0;
}
/* Features title: same style as What Is */
.s-features .section-title {
  font-size: clamp(2rem, 6vw, 5rem) !important;
  font-weight: 900 !important;
  color: var(--maroon) !important;
  text-transform: uppercase !important;
  /* text-shadow: 3px 3px 0 rgba(0,0,0,0.12) !important; */
  letter-spacing: -0.01em !important;
  line-height: 1.0 !important;
}
/* Feature card text: bigger */
.feat-card h3 {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem) !important;
  font-weight: 700;
}
.feat-card p {
  font-size: clamp(0.88rem, 1.3vw, 1.1rem) !important;
  line-height: 1.6;
  width: 100%;
  max-width: 100% !important;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  padding: 0 8px;
}
/* feat-card fills its grid cell fully */
.feat-card {
  width: 100%;
  align-self: stretch;
}

/*
  6-column grid so the 2 bottom cards sit
  centred/offset beneath the 3 top ones:
    top:    [1-2] [3-4] [5-6]
    bottom:   [2-4]   [4-6]
*/
.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px 0;      /* no column gap — cards fill grid columns fully */
  width: 100%;
  max-width: 1400px;
  height: calc(100dvh - 90px);
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 32px);
}

/* Top row — 3 equal cards */
.feat-card:nth-child(1) { grid-column: 1 / 3; }
.feat-card:nth-child(2) { grid-column: 3 / 5; }
.feat-card:nth-child(3) { grid-column: 5 / 7; }
/* Bottom row — 2 cards offset-centred */
.feat-card:nth-child(4) { grid-column: 2 / 4; }
.feat-card:nth-child(5) { grid-column: 4 / 6; }

/* On mobile → single column, scrollable */
@media (max-width: 480px) {
  .feat-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    gap: 16px;
  }
  .feat-card:nth-child(1),
  .feat-card:nth-child(2),
  .feat-card:nth-child(3),
  .feat-card:nth-child(4),
  .feat-card:nth-child(5) { grid-column: auto; }
}

@media (min-width: 481px) and (max-width: 767px) {
  .feat-grid {
    grid-template-columns: repeat(6, 1fr);
    height: auto;
    gap: 14px 8px;
  }
}

/* ── Card: NO background, NO border — pure illustration ── */
.feat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  transition: transform var(--trans);
  position: relative;
}
.feat-card:hover { transform: scale(1.04); }

/* ── Illustration area — taped-banner style ────────────── */
.feat-card__icon {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Horizontal torn-paper banner behind SVG */


.feat-card__icon svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 140px;
  /* drop-shadow to lift illustration off background */
  filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.18));
}

/* Text labels — small, subtle, below illustration */
.feat-card h3 {
  font-size: clamp(0.62rem, 1.2vw, 0.82rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  margin-top: 2px;
}
.feat-card p {
  font-size: clamp(0.58rem, 1vw, 0.74rem);
  color: #5a3520;
  line-height: 1.5;
  max-width: 160px;
}


/* ================================================================
   SECTION 4 — HISTORY CTA
================================================================ */
.s-history-cta {
  background: linear-gradient(160deg, #6bb5e8 0%, #5fa8d3 45%, #4a94c0 100%);
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
/* When a custom bg image is set via inline style, it replaces the gradient */
.s-history-cta[style*="background-image"] {
  background: none !important;
  background-image: var(--cta-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Butterfly — overlaps top-right corner of button */
.butterfly {
  position: absolute;
  /* positioned relative to button via JS nudge; default: top-right of viewport */
  top: clamp(12%, 18vh, 28%);
  right: clamp(8%, 14vw, 22%);
  width: clamp(80px, 14vw, 160px);
  animation: flutter 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes flutter {
  0%,100% { transform: scale(1) rotate(-6deg); }
  30%      { transform: scale(1.07) rotate(-14deg) translateY(-6px); }
  70%      { transform: scale(0.93) rotate(8deg)  translateY(5px); }
}

/* ── Button wrapper — folded-corner paper style ────── */
.history-play-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  background: #f4f1c9;
  border-radius: 0;
  padding: clamp(28px, 5vh, 52px) clamp(48px, 7vw, 84px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  transition: transform var(--trans), box-shadow var(--trans);
  width: clamp(440px, 75vw, 1020px);
  max-width: 94vw;
  z-index: 2;
  /* Folded corners — diagonal cut at all 4 corners */
  --fold: clamp(20px, 3vw, 36px);
  clip-path: polygon(
    var(--fold) 0%,
    calc(100% - var(--fold)) 0%,
    100% var(--fold),
    100% calc(100% - var(--fold)),
    calc(100% - var(--fold)) 100%,
    var(--fold) 100%,
    0% calc(100% - var(--fold)),
    0% var(--fold)
  );
}
/* Shadow triangles to simulate the folded flap */
.history-play-btn::before,
.history-play-btn::after {
  content: '';
  position: absolute;
  width: var(--fold);
  height: var(--fold);
  background: rgba(0,0,0,0.12);
  pointer-events: none;
  z-index: 3;
}
/* Top-left fold shadow */
.history-play-btn::before {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* Bottom-right fold shadow */
.history-play-btn::after {
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.history-play-btn:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 56px rgba(0,0,0,0.3);
}

/* ── Text: "The history of / Beat The Heat" ─────────── */
.history-play-btn__text {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--maroon);
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.01em;
}
/* "Beat The Heat" same weight — no <strong> difference needed */
.history-play-btn__text strong {
  font-weight: 800;
  font-size: 1em;
  display: block;
}

/* ── Hexagon play icon ───────────────────────────────── */
.history-play-btn__hex {
  flex-shrink: 0;
  width:  clamp(56px, 8vw, 96px);
  height: clamp(56px, 8vw, 96px);
}
.history-play-btn__hex svg {
  width:  100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}


/* ================================================================
   SECTION 5 — SWIPER / HISTORY SLIDER
================================================================ */
.s-slider {
  background: none !important;           /* each slide provides its own bg */
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  /* Slide-in from bottom */
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9999;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.s-slider.is-open {
  transform: translateY(0);
  pointer-events: all;
}

/* ── Swiper covers ENTIRE .s-slider (behind header & pagination) ── */
.historySwiper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  z-index: 1;
  overflow: hidden !important;
}
.historySwiper .swiper-wrapper {
  height: 100% !important;
}
.historySwiper .swiper-slide {
  height: 100% !important;
  position: relative;
}
/* Pagination floats above swiper */
.historySwiper .swiper-pagination {
  position: absolute !important;
  bottom: 16px !important;
  z-index: 50 !important;
}
/* Header floats above swiper */
.slider-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  background: transparent !important;
  pointer-events: none;
}
.slider-header button,
.slider-header a {
  pointer-events: all;
}

/* ── Full-screen background layer (always covers 100%) ── */
.slider-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(150deg, var(--sky-dk) 0%, #1e4a68 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Crossfade when JS updates background-image */
  transition: background-image 0.4s ease;
  pointer-events: none;
}

/* Slider header — floats above bg layer and swiper */
.slider-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 12px;
  pointer-events: none;
  background: transparent;
}
/* Re-enable pointer events on the actual button */
.slider-header button,
.slider-header a {
  pointer-events: all;
}
.slider-logo__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 2px;
}
.slider-logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}
.slider-logo__wordmark span {
  font-weight: 900;
  font-size: clamp(1.3rem,4vw,2rem);
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.35);
}
.slider-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 7px 14px;
  transition: background var(--trans), color var(--trans);
}
.slider-back svg { width: 16px; height: 16px; }
.slider-back:hover { background: rgba(255,255,255,0.25); color: white; }

/* Swiper — sits on top of bg-layer, fills full area */
/* historySwiper rules now inside .s-slider block above */

/* old history-slide rules removed — see new layout block below */

/* ================================================================
   HISTORY SLIDER — Slide layouts
   Matching the design reference:
   - Slides have sky-blue gradient background
   - Title: large bold, top-left
   - 2-rect layout: staggered (rect-A upper-left, rect-B lower-right)
   - 1-rect layout: single centered rect with text inside
   - Rects: semi-transparent cream (#ecee9d ~60% opacity), rounded
================================================================ */

/* ── Base: all slides ─────────────────────────────────── */
.history-slide {
  display: block !important;
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0;
  overflow: hidden;
  user-select: none;
  /* Default bg — overridden per-slide by inline style */
  background: linear-gradient(150deg, #3d8ab8 0%, #1e4a68 100%);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ── Slide title — top-left, large, bold #f4f1c9 full opacity ── */
.hs-title {
  position: absolute;
  top: clamp(24px, 5vh, 52px);
  left: clamp(24px, 5vw, 64px);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: #f4f1c9;
  opacity: 1;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.25);
  line-height: 1.1;
  z-index: 2;
  max-width: 70%;
}

/* ── Shared rect style ────────────────────────────────── */
.hs-rect {
  position: absolute;
  background: rgba(244, 241, 201, 0.95);  /* #f4f1c9 at 95% */
  border-radius: 16px;
  z-index: 2;
  overflow: hidden;
}
/* Rect with background image */
.hs-rect.has-image {
  background-size: cover !important;
  background-position: center !important;
  background-color: rgba(244,241,201,0.2) !important;
}

/* ── 2-RECT LAYOUT (slides 2,3,5,6,7)
     rect-A: larger, upper-left area
     rect-B: smaller, lower-right area, overlaps with A
─────────────────────────────────────────────────────────── */

/* Rect A — upper-left, ~45% width, ~42% height */
.history-slide--two .hs-rect--a {
  left:   clamp(16px, 8vw, 120px);
  top:    clamp(100px, 20vh, 200px);
  width:  clamp(260px, 42vw, 560px);
  height: clamp(160px, 32vh, 320px);
}

/* Rect B — lower-right, ~40% width, ~36% height, overlaps A */
.history-slide--two .hs-rect--b {
  right:  clamp(0px, 2vw, 40px);
  bottom: clamp(40px, 8vh, 100px);
  width:  clamp(240px, 38vw, 520px);
  height: clamp(140px, 28vh, 280px);
}

/* ── 1-RECT LAYOUT (slide 4)
     single rect, center-left, with text inside
─────────────────────────────────────────────────────────── */
.history-slide--one .hs-rect--single {
  left:   clamp(16px, 10vw, 180px);
  top:    50%;
  transform: translateY(-42%);
  width:  clamp(260px, 38vw, 520px);
  padding: clamp(20px, 3vw, 36px);
  /* height is auto — driven by text content */
}

.hs-rect__text {
  font-family: var(--font);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 600;
  color: var(--maroon-dk);
  line-height: 1.75;
  margin: 0;
}

/* ── Slide 1: Logo ────────────────────────────────────── */
.history-slide--logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hs-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hs-logo__icon {
  width: clamp(90px, 16vw, 150px);
  height: clamp(90px, 16vw, 150px);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.45));
}
.hs-logo__icon svg { width: 100%; height: 100%; }
.hs-logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
  text-align: center;
}
.hs-logo__text span {
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.45);
  letter-spacing: 0.06em;
}
.hs-logo__the {
  font-size: clamp(0.9rem, 2vw, 1.6rem) !important;
  letter-spacing: 0.4em !important;
  color: rgba(255,255,255,0.72) !important;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
  .hs-title { font-size: clamp(1.2rem, 6vw, 1.8rem); top: 20px; left: 16px; }

  .history-slide--two .hs-rect--a {
    left: 12px; top: 80px;
    width: 68vw; height: 28vh;
  }
  .history-slide--two .hs-rect--b {
    right: 4px; bottom: 48px;
    width: 62vw; height: 24vh;
  }
  .history-slide--one .hs-rect--single {
    left: 12px; width: calc(100% - 24px);
    transform: translateY(-46%);
  }
  .hs-logo__icon { width: 70px; height: 70px; }
}

/* Swiper overrides */
.historySwiper .swiper-button-prev,
.historySwiper .swiper-button-next {
  color: var(--white);
  background: rgba(255,255,255,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.historySwiper .swiper-button-prev::after,
.historySwiper .swiper-button-next::after { font-size: 14px; font-weight: 700; }
.historySwiper .swiper-button-prev:hover,
.historySwiper .swiper-button-next:hover { background: rgba(255,255,255,0.3); }

.historySwiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  width: 8px; height: 8px;
}
.historySwiper .swiper-pagination-bullet-active {
  background: var(--white);
  transform: scale(1.3);
}


/* ================================================================
   SECTION 6 — FOOTER / NEWSLETTER
   3-column layout matching the design:
   [Form] | [Follow us + icons] | [Policy links]
================================================================ */
.s-footer {
  background: var(--maroon);
  justify-content: center;
  align-items: center;
}

/* 3-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;          /* mobile: stack */
  gap: 36px 0;
  width: 100%;
  max-width: 1100px;
  padding: 40px 24px;
  margin: 0 auto;
  align-items: start;
  /* sin overflow — .s-footer maneja el scroll si hace falta */
}
/* On desktop: 3 columns, all aligned to top */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 0.8fr;
    align-items: start;
    gap: 0 56px;
  }
  .footer-col--social {
    align-items: flex-start;
    padding-top: 0;
  }
  .footer-col--links {
    align-items: flex-end;
    padding-top: 0;
  }
}

/* Columns shared base */
.footer-col { display: flex; flex-direction: column; gap: 14px; }

/* ── COL 1: Form ─────────────────────────────────────── */
.footer-col--form { gap: 12px; }

.newsletter__title {
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.5rem);   /* same as .footer-follow */
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.newsletter__input {
  width: 70%;
  padding: 13px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--cream);
  border: none;
  border-radius: 10px;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow var(--trans);
}
.newsletter__input:focus { box-shadow: 0 0 0 3px var(--yellow); }
.newsletter__input::placeholder { color: #9e8a6a; }

.newsletter__check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 2px;
}
.newsletter__check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--yellow);
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--cream);
  border-radius: 3px;
  background: transparent;
  position: relative;
}
.newsletter__check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 6px; height: 10px;
  border: 2px solid var(--yellow);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.newsletter__ok {
  color: var(--green-lt);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ── COL 2: Follow us ────────────────────────────────── */
.footer-col--social {
  align-items: flex-start;
  gap: 16px;
}

.footer-follow {
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Medium hex icon for footer */
.hex-icon--md {
  width: 54px;
  height: 54px;
  background: var(--cream);
  color: var(--maroon);
  overflow: hidden;
}

.hex-icon--md:hover { background: var(--yellow); }

/* ── COL 3: Policy links ─────────────────────────────── */
.footer-col--links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-col--links a {
  color: rgba(255,255,255,0.75);
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 500;
  transition: color var(--trans);
  line-height: 1;
}
.footer-col--links a:hover { color: var(--yellow); }


/* ================================================================
   SHAKE ANIMATION (injected by JS but defined here too)
================================================================ */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
.shake { animation: shake 0.4s ease; }


/* ================================================================
   RESPONSIVE — 768px+
================================================================ */
@media (min-width: 768px) {

  /* hero — tablet */
  .hero-main { padding: 40px 48px 110px; }
  .hero-logo__beat, .hero-logo__heat { font-size: clamp(4rem, 8vw, 6rem); }

  /* what-is already row layout — just spacing */
  .what-inner { gap: 60px; }

  .s-features { padding: 24px 40px 0; }
  .feat-grid { gap: 16px 12px; max-width: 980px; }
  .feat-card__icon svg { max-height: 160px; }

  /* Footer: switch to 3 columns on tablet+ */
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0 48px;
    padding: 40px 40px;
    align-items: start;     /* todas las cols empiezan desde arriba */
  }
  /* Col 2 y 3: alinear su primer elemento (título/links) con el título de col 1 */
  .footer-col--social,
  .footer-col--links {
    padding-top: 4px;
  }
  .footer-col--links { align-items: flex-end; }

  .slider-header { padding: 24px 40px 16px; }
  .history-slide { padding: 16px 40px; flex-direction: row; gap: 28px; align-items: center; }
  .history-slide__media { flex: 1; }
  .history-slide__body { flex: 1; }

}

/* ================================================================
   RESPONSIVE — 1080px+
================================================================ */
@media (min-width: 1080px) {

  /* hero — desktop */
  .hero-main { padding: 40px 60px 120px; max-width: 660px; }

  .what-inner { max-width: 1200px; gap: 80px; }
  .what-text .section-title { font-size: clamp(3rem, 5.5vw, 4.2rem); }
  .s-features { padding: 28px 60px 0; }
  .feat-grid { max-width: 1100px; gap: 20px 16px; }
  .feat-card__icon svg { max-height: 180px; }

  .slider-header { padding: 28px 60px 20px; }
  .history-slide { padding: 20px 60px; gap: 48px; }
  .history-slide__img-ph { aspect-ratio: 16/7; }

  .footer-grid { padding: 40px 60px; gap: 0 72px; align-items: start; }
}

/* ================================================================
   RESPONSIVE — 1440px+
   Scale up typography, spacing, icons and layout elements
   that appear too small at large desktop resolutions.
================================================================ */
@media (min-width: 1440px) {

  /* ── Hero 1440px ───────────────────────────────────── */
  .hero-main {
    padding: 40px 140px 130px;
    max-width: 980px;
    gap: 24px;
  }
  .hero-logo__beat,
  .hero-logo__heat { font-size: 7.5rem; }
  .hero-logo__the  { font-size: 1.8rem; }
  .hero-logo__hex  { width: 220px; }
  .hero-content__genre { font-size: 1.6rem; }
  .hero-content__desc  { font-size: 1rem; }
  .btn--hero { font-size: 3.4rem; padding: 18px 72px; box-shadow: 10px 10px 0 0 #8e2b4d; }


  /* ── What Is ───────────────────────────────────────── */
  .what-inner { max-width: 1400px; gap: 100px; padding: 0 80px; }
  .what-text .section-title { font-size: 5rem; }
  .what-media { width: 50%; }
  .video-box { box-shadow: 16px 16px 0 0 #c4b86a; }
  .video-box__play { width: 80px; height: 80px; }
  .video-box__play svg { width: 60px; height: 60px; }

  /* ── Features ──────────────────────────────────────── */
  .s-features { padding: 36px 80px 0; gap: 28px; }
  .feat-grid   { max-width: 1300px; gap: 24px 20px; }
  .feat-card   { padding: 24px 18px; gap: 12px; }
  .feat-card__icon svg { max-height: 220px; }
  .feat-card h3 { font-size: 0.96rem; }
  .feat-card p  { font-size: 0.85rem; }

  /* ── History CTA ───────────────────────────────────── */
  .history-play-btn {
    width: 1080px;
    padding: 56px 96px;
    gap: 56px;
    --fold: 40px;
  }
  .history-play-btn__text { font-size: 3.2rem; }
  .history-play-btn__text strong { font-size: 1em; }
  .history-play-btn__hex  { width: 120px; height: 120px; }
  .history-play-btn__hex svg { width: 120px; height: 120px; }
  /* butterfly overlaps top-right corner of button */
  .butterfly { width: 170px; right: calc(50% - 380px - 60px); top: calc(50% - 160px); }

  /* ── History Slider ────────────────────────────────── */
  .slider-header { padding: 36px 80px 20px; }

  .slider-logo__label { font-size: 0.82rem; }
  .slider-logo__wordmark span { font-size: 2.5rem; }

  .slider-back { font-size: 0.95rem; padding: 9px 18px; }

  /* Slide title */
  .hs-title {
    font-size: 3.4rem;
    top: 60px;
    left: 80px;
  }

  /* 2-rect layout: scale up size and positions */
  .history-slide--two .hs-rect--a {
    left:   320px;
    top:    180px;
    width:  600px;
    height: 340px;
  }
  .history-slide--two .hs-rect--b {
    right:  240px;
    bottom: 90px;
    width:  560px;
    height: 300px;
  }

  /* 1-rect layout */
  .history-slide--one .hs-rect--single {
    left:    180px;
    width:   580px;
    padding: 44px;
  }
  .hs-rect__text { font-size: 1.08rem; line-height: 1.8; }

  /* Logo slide */
  .hs-logo__icon { width: 180px; height: 180px; }
  .hs-logo__text span  { font-size: 5.5rem; }
  .hs-logo__the        { font-size: 2rem !important; }

  /* Swiper pagination dots */
  .historySwiper .swiper-pagination-bullet       { width: 10px; height: 10px; }

  /* ── Footer ────────────────────────────────────────── */
  .footer-grid {
    padding: 40px 80px;
    gap: 0 96px;
    max-width: 1400px;
    align-items: start;
  }
  .newsletter__title   { font-size: 2.4rem; }
  .newsletter__input   { padding: 16px 22px; font-size: 1.05rem; }
  .btn--cream          { font-size: 1.1rem; padding: 15px 44px; }
  .newsletter__check   { font-size: 0.95rem; }

  .footer-follow       { font-size: 1.7rem; }
  .hex-icon--md        { width: 60px; height: 60px; }
  .hero-hex-social     { width: 60px; height: 60px; }

  .footer-col--links a { font-size: 1.1rem; }
}

/* ================================================================
   HISTORY SLIDER — Slide 1: Logo con pretítulo y fondo editable
================================================================ */

/* Fondo responsive usando CSS custom properties inyectadas por PHP */
.history-slide--logo {
  background-image: var(--slide1-bg-mobile, none);
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) {
  .history-slide--logo {
    background-image: var(--slide1-bg-tablet, var(--slide1-bg-mobile, none));
  }
}
@media (min-width: 1024px) {
  .history-slide--logo {
    background-image: var(--slide1-bg-desktop, var(--slide1-bg-tablet, var(--slide1-bg-mobile, none)));
  }
}

/* Contenedor del slide logo: centra horizontalmente con ligero offset izquierdo */
.hs-logo-slide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding: 40px clamp(40px, 8vw, 120px);
  gap: 24px;
}

/* Pretítulo: "Follow the Path That Led Us to" */
.hs-logo-slide__pretitle {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.92);
  text-shadow: 1px 2px 8px rgba(0,0,0,0.35);
  line-height: 1.3;
  max-width: 480px;
}

/* Texto dentro de los rectángulos */
.hs-rect__content {
  padding: clamp(16px, 2.5vw, 28px);
  color: var(--maroon-dk);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.75;
}
.hs-rect__content p { margin-bottom: 0.8em; }
.hs-rect__content p:last-child { margin-bottom: 0; }

/* ================================================================
   HISTORY SLIDER — Slide 1: Logo con pretítulo
================================================================ */
.hs-logo-slide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding: clamp(40px, 8vh, 80px) clamp(60px, 12vw, 160px);
  gap: clamp(16px, 3vh, 32px);
  max-width: 700px;
}

.hs-logo-slide__pretitle {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 2px 6px rgba(0,0,0,0.3);
  line-height: 1.3;
  max-width: 480px;
}

.hs-logo-slide__img {
  max-width: clamp(180px, 35vw, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

/* Hero social icons */
.hero-hex-social svg[stroke] {
  fill: none;
  stroke: var(--maroon);
}

/* Reddit SVG in footer hex icon */
.hex-icon--md svg path {
  fill: currentColor;
}

@media (min-width: 1440px) {
  .hs-logo-slide { padding: 80px 180px; gap: 36px; }
  .hs-logo-slide__pretitle { font-size: 1.8rem; }
  .hs-logo-slide__img { max-width: 480px; }
}

/* ================================================================
   HISTORY SLIDER — Slide 1 intro layout (pre-title + logo + CTA)
================================================================ */
.history-slide--logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vh, 60px) clamp(20px, 8vw, 120px);
}

.hs-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 3vh, 28px);
  max-width: 580px;
}

.hs-intro__pretitle {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hs-intro__logo-img {
  width: clamp(180px, 35vw, 420px);
  height: auto;
  display: block;
}

/* CTA button inside slider */
.btn--hs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.8vh, 18px) clamp(28px, 4vw, 52px);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--maroon);
  background: var(--cream);
  border-radius: 10px;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,0.25);
  transition: box-shadow var(--trans), transform var(--trans);
  text-decoration: none;
  margin-top: 8px;
}
.btn--hs-cta:hover {
  box-shadow: 6px 6px 0 0 rgba(0,0,0,0.3);
  transform: translate(-2px, -2px);
}

/* Text inside rects */
.hs-rect__text {
  font-family: var(--font);
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  font-weight: 500;
  color: var(--maroon-dk);
  line-height: 1.75;
  margin: 0;
  padding: clamp(16px, 2.5vw, 28px);
}

/* social icon sizes — see final override block */

@media (min-width: 1440px) {
  .hs-intro { max-width: 680px; }
  .hs-intro__pretitle { font-size: 1.8rem; }
  .hs-intro__logo-img { width: 480px; }
  .btn--hs-cta { font-size: 1.3rem; padding: 18px 60px; }
  .hs-rect__text { font-size: 1rem; }
}

/* ================================================================
   ICON SIZES — absolute final override
   SVGs need BOTH CSS and HTML width/height attrs to be constrained.
   CSS handles the fallback; HTML attrs are set in PHP templates.
================================================================ */
.hero-hex-social > svg,
.hero-hex-social > img,
.hex-icon > svg,
.hex-icon > img,
.hex-icon--md > svg,
.hex-icon--md > img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
  display: block !important;
  overflow: hidden !important;
}
.hero-hex-social > svg[stroke],
.hex-icon > svg[stroke],
.hex-icon--md > svg[stroke] {
  fill: none !important;
  stroke: currentColor !important;
}

/* ================================================================
   SECTION — SITE POLICY
================================================================ */

.s-policy {
  background: var(--cream);
  justify-content: center;
  align-items: center;
  padding: 20px 24px 0;
  scroll-snap-align: start;
  overflow: auto !important;
}

.policy-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 4vh, 64px) clamp(16px, 4vw, 60px);
  height: 100%;
}

.policy-header {
  margin-bottom: clamp(16px, 3vh, 32px);
}

.policy-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--maroon);
  font-weight: 800;
  font-size: clamp(0.62rem, 1.2vw, 0.82rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.policy-header h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--maroon);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.policy-body {
  color: #5a3520;
  font-size: 1rem;
  line-height: 1.5;
  padding: 64px 0;
}

.policy-body h2 {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  margin-top: clamp(16px, 2.5vh, 28px);
  margin-bottom: 8px;
}

.policy-body p,
.policy-body li {
  font-size: 1rem;
  color: #5a3520;
  line-height: 1.5;
  max-width: 100%;
}

.policy-body ul {
  padding-left: 1rem;
  margin-bottom: 0.8em;
}

.policy-body a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
}
.policy-body a:hover { color: var(--sky-dk); }