/* ==========================================================
   PALUAI SOOKSOOK — v2
   Palette from the PSS logo: fire red, festival gold,
   garamut timber, volcanic black. One signature: the drumbeat.
   ========================================================== */

:root {
  --ink:       #140c07;
  --ink-2:     #1f1409;
  --ink-3:     #2b1c0e;
  --line:      rgba(255, 194, 14, .16);
  --gold:      #ffc20e;
  --gold-hi:   #ffd75e;
  --fire:      #e3231e;
  --fire-deep: #9e120e;
  --wood:      #c98a3b;
  --sand:      #f6e9d0;
  --sand-2:    #c8b493;

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body:    "Spectral", Georgia, serif;
  --f-ui:      "Archivo", "Helvetica Neue", sans-serif;

  --max: 1100px;
  --r: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--sand);
  font: 400 1.05rem/1.75 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
::selection { background: var(--fire); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fire); color: #fff;
  padding: .8rem 1.2rem; z-index: 200;
  font-family: var(--f-ui);
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  font: 600 .76rem/1 var(--f-ui);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fire); }
.eyebrow--center::before { display: none; }

.lead  { font-size: 1.22rem; }
.muted { color: var(--sand-2); }

/* ---------- layout ---------- */
.wrap { width: min(var(--max), 92vw); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--center { text-align: center; }
.section--center .eyebrow { justify-content: center; }

.section-title { font-size: clamp(2.3rem, 5.5vw, 3.8rem); margin: .8rem 0 1.1rem; }

/* zigzag divider — the tooth ring from the logo, flattened into a band */
.zigzag {
  height: 16px;
  background-color: var(--fire);
  background-image:
    linear-gradient(-45deg, var(--ink) 8px, transparent 0),
    linear-gradient(45deg,  var(--ink) 8px, transparent 0);
  background-repeat: repeat-x;
  background-size: 16px 16px;
  background-position: left top;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .85rem 0;
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid {
  background: rgba(20, 12, 7, .93);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .55);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: flex; align-items: center; gap: .65rem;
  font: 800 1.2rem/1 var(--f-display);
  letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand em { color: var(--gold); font-style: normal; }

.nav__links {
  display: flex; align-items: center; gap: 1.7rem;
  font: 600 .84rem/1 var(--f-ui);
  letter-spacing: .15em; text-transform: uppercase;
}
.nav__links a { color: var(--sand); padding: .35rem 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--gold); }

.nav__toggle {
  display: none;
  font: 700 .78rem/1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: none;
  border: 2px solid var(--gold); border-radius: 8px;
  padding: .5rem .85rem; cursor: pointer;
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(20, 12, 7, .97);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav__links.is-open { max-height: 300px; }
  .nav__links a { padding: 1rem 4vw; border-bottom: 1px solid var(--line); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 700 .86rem/1 var(--f-ui);
  letter-spacing: .14em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: 999px;
  transition: transform .22s, box-shadow .22s, background .22s;
}
.btn--fire {
  color: #fff;
  background: linear-gradient(135deg, var(--fire), var(--fire-deep));
  box-shadow: 0 8px 26px rgba(227, 35, 30, .4);
}
.btn--fire:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(227, 35, 30, .55); }
.btn--ghost { color: var(--gold); border: 2px solid var(--gold); }
.btn--ghost:hover { background: rgba(255, 194, 14, .12); transform: translateY(-3px); }
.btn + .btn { margin-left: .7rem; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  position: relative; overflow: hidden;
  padding: 7.5rem 0 5rem;
  background:
    radial-gradient(ellipse 85% 55% at 50% 115%, rgba(227, 35, 30, .22), transparent 62%),
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(255, 194, 14, .09), transparent 60%),
    var(--ink);
}

.hero__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__rings span {
  position: absolute;
  width: 330px; height: 330px;
  border: 1.5px solid rgba(255, 194, 14, .28);
  border-radius: 50%;
  opacity: 0;
  animation: drumbeat 4.4s cubic-bezier(.2, .6, .4, 1) infinite;
}
.hero__rings span:nth-child(2) { animation-delay: 1.1s; }
.hero__rings span:nth-child(3) { animation-delay: 2.2s; }
.hero__rings span:nth-child(4) { animation-delay: 3.3s; }

@keyframes drumbeat {
  0%   { transform: scale(.5); opacity: 0; }
  8%   { opacity: .85; }
  100% { transform: scale(3.6); opacity: 0; }
}

.hero__logo {
  width: clamp(110px, 15vw, 160px);
  margin-inline: auto;
  filter: drop-shadow(0 12px 40px rgba(227, 35, 30, .35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero__title {
  margin-top: 1.3rem;
  font-size: clamp(3.1rem, 10vw, 7.4rem);
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--fire) 112%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .word { display: inline-block; opacity: 0; transform: translateY(.35em); animation: rise .7s cubic-bezier(.2, .7, .3, 1) forwards; }
.hero__title .word:nth-child(2) { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__sub {
  margin-top: .9rem;
  font: 600 clamp(.82rem, 2vw, 1rem)/1.5 var(--f-ui);
  letter-spacing: .4em; text-transform: uppercase;
}
.hero__motto { margin-top: 1.5rem; font-style: italic; font-size: 1.14rem; color: var(--sand-2); }
.hero__motto strong { color: var(--gold); font-style: normal; }
.hero__cta { margin-top: 2.4rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero__cta .btn + .btn { margin-left: 0; }

.hero__hint {
  position: absolute; bottom: 1.5rem; left: 50%;
  font: 600 .68rem/1 var(--f-ui);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--sand-2);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 2px solid var(--fire);
  background: var(--ink-2);
  padding: .8rem 0;
}
.marquee__track {
  display: inline-flex; gap: 3rem;
  font: 700 1.25rem/1 var(--f-display);
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--sand-2);
  animation: slide 34s linear infinite;
}
.marquee__track b { color: var(--gold); }
.marquee__track i { color: var(--fire); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.stat {
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.4rem;
  transition: transform .25s, border-color .25s;
}
.stat:hover { transform: translateY(-6px); border-color: var(--gold); }
.stat__num { font: 800 3.3rem/1 var(--f-display); color: var(--gold); }
.stat__label {
  margin-top: .55rem;
  font: 600 .78rem/1.4 var(--f-ui);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sand-2);
}

/* ---------- split & cards ---------- */
.split {
  display: grid; align-items: center;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: 2.5rem;
  text-align: left;
}
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(201, 138, 59, .25);
  border-radius: var(--r);
  padding: 2.1rem 1.8rem;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
}
.card h3 { font-size: 1.55rem; margin-bottom: .75rem; }
.card p { font-size: .97rem; color: var(--sand-2); }
.card__more {
  display: inline-block; margin-top: 1.15rem;
  font: 700 .78rem/1 var(--f-ui);
  letter-spacing: .16em; text-transform: uppercase;
}
.card--center { text-align: center; }

/* ---------- video ---------- */
.video {
  aspect-ratio: 16 / 9;
  margin-top: 2.3rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid rgba(255, 194, 14, .3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.video iframe { width: 100%; height: 100%; border: 0; }
.video--flush { margin-top: 0; }

.hero__video {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 2.2rem auto 0;
  border-color: rgba(255, 194, 14, .45);
}

/* ---------- page head (interior) ---------- */
.page-head {
  padding: 9.5rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(227, 35, 30, .24), transparent 65%),
    var(--ink);
}
.page-head .eyebrow { justify-content: center; }
.page-head h1 {
  margin-top: .8rem;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--fire) 115%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-head p { max-width: 60ch; margin: 1.1rem auto 0; color: var(--sand-2); }

/* ---------- prose (history) ---------- */
.prose { max-width: 72ch; }
.prose p + p { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(2.2rem, 5vw, 3.3rem); margin: .8rem 0 1.3rem; }

blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.5rem;
  background: var(--ink-2);
  border-left: 4px solid var(--fire);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  font-size: 1.1rem;
}
blockquote cite {
  display: block; margin-top: .6rem;
  font: 600 .76rem/1.4 var(--f-ui);
  font-style: normal;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sand-2);
}

.facts {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 2.3rem 0 0;
}
.fact {
  background: var(--ink-2);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.25rem 1.35rem;
  font-size: .95rem;
  color: var(--sand-2);
}
.fact b {
  display: block; margin-bottom: .35rem;
  font: 700 .74rem/1 var(--f-ui);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 2.8rem; padding-left: 2.1rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--fire));
}
.tl { position: relative; padding: 0 0 2.7rem 1.6rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -2.05rem; top: .4rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 4px solid var(--gold);
}
.tl__year { font: 800 2rem/1 var(--f-display); color: var(--fire); }
.tl h3 { font-size: 1.32rem; color: var(--gold); margin: .4rem 0 .45rem; }
.tl p { max-width: 62ch; font-size: .98rem; color: var(--sand-2); }

/* ---------- contact ---------- */
.socials {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2.5rem;
}
.social {
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.9rem 1.5rem;
  transition: transform .25s, border-color .25s, background .25s;
}
.social:hover { transform: translateY(-6px); border-color: var(--gold); background: var(--ink-3); }
.social__icon { font-size: 1.9rem; }
.social h3 { font-size: 1.22rem; margin: .65rem 0 .25rem; }
.social p { font: 500 .84rem/1.4 var(--f-ui); color: var(--sand-2); }

/* ---------- footer ---------- */
.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  background: #0d0805;
  border-top: 2px solid var(--fire);
}
.footer .brand { justify-content: center; margin-bottom: 1rem; }
.footer__links {
  display: flex; justify-content: center; gap: 1.6rem;
  margin: 1.1rem 0;
  font: 600 .8rem/1 var(--f-ui);
  letter-spacing: .14em; text-transform: uppercase;
}
.footer p { font: 500 .8rem/1.7 var(--f-ui); color: var(--sand-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- utility ---------- */
.mt-lg { margin-top: 2.4rem; }
.mt-md { margin-top: 1.4rem; }
.max-narrow { max-width: 58ch; margin-inline: auto; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word { opacity: 1; transform: none; }
}
