/* ==========================================================================
   Live Love Awards — landing page
   Section styles and choreography unique to the homepage. Inner pages do not
   load this file; they keep only tokens + base + components + page.
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */

#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav) + 40px);
  padding-bottom: clamp(26px, 3.4vw, 50px);
}

.hero-mark {
  width: min(62vw, 700px);
  color: var(--paper);
  margin-bottom: clamp(24px, 3vw, 44px);
  opacity: 0;
  animation: up 1.1s .15s var(--ease-out) forwards;
}

.h1 {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.035em;
  font-size: clamp(20px, 3.7vw, 58px);
  line-height: .88;
  max-width: 15ch;
}
.h1 span { display: block; overflow: hidden }
.h1 i {
  display: block;
  font-style: normal;
  transform: translateY(105%);
  animation: rise 1s var(--ease-out) forwards;
}
.h1 span:nth-child(2) i { animation-delay: .08s }
.h1 span:nth-child(3) i { animation-delay: .16s }
.h1 em { font-style: normal; color: var(--mint) }

@keyframes rise { to { transform: translateY(0) } }
@keyframes up { to { opacity: 1 } }

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 70px);
  flex-wrap: wrap;
  margin-top: clamp(26px, 3.4vw, 46px);
}
.hero-row p {
  max-width: 44ch;
  color: var(--dim);
  font-size: clamp(15px, 1.3vw, 18px);
  opacity: 0;
  animation: up .9s .55s forwards;
}
#hero .acts { opacity: 0; animation: up .9s .68s forwards }

/* Ballots-cast tally, and the countdown that sits beside it */
.tally {
  text-align: right;
  opacity: 0;
  animation: up .9s .8s forwards;
}
.tally b {
  display: block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.tally span {
  display: block;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.tally i {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 8px;
}

/* Countdown — mint, tabular, sits under the tally */
.cdown-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.cdown-wrap > span {
  display: block;
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.cdown {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cdown div { text-align: right }
.cdown b {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.cdown u {
  text-decoration: none;
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 6px;
}

/* --- Why ------------------------------------------------------------------ */

.why-h {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.03em;
  font-size: clamp(30px, 5.4vw, 80px);
  line-height: 1;
  max-width: 17ch;
}
.why-h em { font-style: normal; color: var(--mint) }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(46px, 6vw, 86px);
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.stat b {
  display: block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat span { display: block; color: var(--faint); font-size: 13.5px; margin-top: 8px }

/* --- Pillars --------------------------------------------------------------
   Three full-bleed colour panels that wipe up from the bottom on reveal. */

.pill-grid { display: grid; grid-template-columns: repeat(3, 1fr) }

.pill {
  padding: clamp(26px, 2.7vw, 44px);
  min-height: clamp(300px, 30vw, 400px);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--ease-out);
}
.pill-grid.in .pill { clip-path: inset(0 0 0 0) }
.pill-grid.in .pill:nth-child(2) { transition-delay: .12s }
.pill-grid.in .pill:nth-child(3) { transition-delay: .24s }

.pill--a { background: var(--blue) }
.pill--b { background: var(--coral) }
.pill--c { background: var(--mint) }

.pill u {
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .65;
}
.pill h3 {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.04em;
  font-size: clamp(28px, 3.3vw, 52px);
  line-height: .9;
  margin-top: auto;
  padding-top: 24px;
}
.pill p { font-size: 15px; line-height: 1.45; margin-top: 14px; max-width: 30ch }
.pill .tg { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px }
.pill .tg span {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(10, 12, 13, .3);
  padding: 6px 11px;
  border-radius: 2px;
}

/* Finalist count strip inside each panel */
.pill .cnt {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 12, 13, .22);
}
.pill .cnt div b {
  display: block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -.03em;
  padding: 0;
  margin: 0;
}
.pill .cnt div span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-top: 5px;
}

/* --- How it works — three steps ------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 4vw, 58px);
}
.step { padding: clamp(24px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 10px }
.step u {
  text-decoration: none;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--mint);
}
.step b {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.1;
}
.step p { font-size: 13.5px; line-height: 1.5; color: var(--dim) }

/* --- Categories ------------------------------------------------------------
   Nine rows. Each slides in from the left behind a coloured pillar edge and
   inverts to its pillar colour on hover. */

.cat {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft),
              background .35s, color .35s;
}
.cat.in { opacity: 1; transform: none }
.cat:last-of-type { border-bottom: 1px solid var(--rule) }

.cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.cat.in::before { transform: scaleY(1) }
.cat[data-p="a"]::before { background: var(--blue) }
.cat[data-p="b"]::before { background: var(--coral) }
.cat[data-p="c"]::before { background: var(--mint) }

.cat-n {
  display: flex;
  align-items: center;
  padding-left: 18px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--faint);
  transition: color .35s;
}
.cat-b {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr auto;
  gap: clamp(14px, 2vw, 34px);
  align-items: center;
  padding: clamp(18px, 1.9vw, 28px) 0;
}
.cat-t {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.05;
}
.cat-d { color: var(--dim); font-size: 14.5px; line-height: 1.45; transition: color .35s }
.cat-a {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  transition: color .3s, transform .3s;
}

.cat:hover { background: var(--paper); color: var(--ink) }
.cat:hover .cat-d { color: rgba(10, 12, 13, .7) }
.cat:hover .cat-n, .cat:hover .cat-a { color: var(--ink) }
.cat:hover .cat-a { transform: translateX(6px) }
.cat[data-p="a"]:hover { background: var(--blue) }
.cat[data-p="b"]:hover { background: var(--coral) }
.cat[data-p="c"]:hover { background: var(--mint) }

/* --- Voting split ---------------------------------------------------------- */

.bar {
  display: flex;
  height: clamp(78px, 9vw, 140px);
  margin-top: clamp(34px, 4vw, 60px);
  border-radius: 2px;
  overflow: hidden;
}
.bar div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 66px);
  letter-spacing: -.03em;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-firm);
}
.bar.in div { transform: scaleX(1) }
.bar .b1 { background: var(--paper); color: var(--ink) }
.bar .b2 { background: var(--mint); color: var(--ink); transform-origin: right; transition-delay: .12s }

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 44px);
  margin-top: clamp(22px, 2.4vw, 34px);
}
.two h4 {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: -.01em;
  margin-bottom: 9px;
}
.two p { color: var(--dim); font-size: 14.5px; line-height: 1.5 }

.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 4vw, 58px);
}
.rule { padding: 26px 24px 28px }
.rule u {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
}
.rule:nth-child(1)::before { background: linear-gradient(155deg, rgba(76, 125, 240, .22), rgba(76, 125, 240, 0) 44%) }
.rule:nth-child(2)::before { background: linear-gradient(155deg, rgba(255, 92, 57, .20), rgba(255, 92, 57, 0) 44%) }
.rule:nth-child(3)::before { background: linear-gradient(155deg, rgba(23, 192, 139, .22), rgba(23, 192, 139, 0) 44%) }
.rule:nth-child(4)::before { background: linear-gradient(155deg, rgba(244, 245, 241, .20), rgba(244, 245, 241, 0) 44%) }
.rule:nth-child(1) u { color: var(--blue) }
.rule:nth-child(2) u { color: var(--coral) }
.rule b {
  display: block;
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.1;
  margin-block: 10px 8px;
}
.rule p { font-size: 13.5px; line-height: 1.5; color: var(--dim) }

/* --- Dates ----------------------------------------------------------------- */

.dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 4vw, 58px);
}
.date {
  padding: clamp(24px, 2.2vw, 30px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.date u {
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--faint);
}
.date b {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1;
}
.date p { font-size: 13.5px; line-height: 1.5; color: var(--dim) }

.date .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rule) }

.date.now { background: rgba(23, 192, 139, .10); border-color: rgba(23, 192, 139, .32) }
.date.now::before { background: linear-gradient(155deg, rgba(23, 192, 139, .26), rgba(23, 192, 139, 0) 46%) }
.date.now:hover { background: rgba(23, 192, 139, .15); border-color: rgba(23, 192, 139, .45) }
.date.now u { color: var(--mint) }
.date.now .dot { background: var(--mint); box-shadow: 0 0 0 4px rgba(23, 192, 139, .22) }

/* --- Next / editions -------------------------------------------------------- */

#next .chips { margin-top: clamp(28px, 3.2vw, 44px) }

/* --- Join ------------------------------------------------------------------- */

#join { text-align: center }
#join .h2 { font-size: clamp(38px, 8.4vw, 140px) }
#join .h2 em { font-style: normal; color: var(--mint) }
#join p {
  color: var(--dim);
  max-width: 44ch;
  margin: clamp(20px, 2.6vw, 32px) auto 0;
  font-size: clamp(15px, 1.35vw, 18px);
}
#join .acts { justify-content: center }

/* --- Responsive -------------------------------------------------------------- */

@media (max-width: 1000px) {
  .pill-grid { grid-template-columns: 1fr }
  .dates { grid-template-columns: repeat(2, 1fr) }
  .steps { grid-template-columns: 1fr }
  .cat-b { grid-template-columns: 1fr; gap: 8px }
  .cat-a { display: none }
}

@media (max-width: 820px) {
  .two { grid-template-columns: 1fr }
  .tally { text-align: left }
  .cdown { justify-content: flex-start }
  .hero-mark { width: 82vw }
}

@media (max-width: 560px) {
  .dates { grid-template-columns: 1fr }
}

@media (prefers-reduced-motion: reduce) {
  .h1 i { transform: none }
  .hero-mark, .hero-row p, #hero .acts, .tally { opacity: 1 }
  .bar div { transform: scaleX(1) }
  .pill { clip-path: none }
  .cat { opacity: 1; transform: none }
  .cat::before { transform: scaleY(1) }
}
