@font-face {
  font-family: "Anek Malayalam";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/anek-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anek Malayalam";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/anek-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Anek Malayalam";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/anek-800-malayalam.woff2") format("woff2");
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0B83, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}

@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-400-malayalam.woff2") format("woff2");
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0B83, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}

:root {
  --ink: #0d0b09;
  --shadow: #171310;
  --bone: #f5f3ee;
  --cobalt: #2b4fd8;
  --cardboard: #c9bba6;
  --bar: 3.4rem;
  --pad: clamp(1.1rem, 3vw, 2.4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Noto Sans Malayalam", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
.brand,
button,
summary,
.num {
  font-family: "Anek Malayalam", sans-serif;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

::selection {
  background: var(--cobalt);
  color: var(--bone);
}

[hidden] {
  display: none !important;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("/grain.png");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.cursor {
  display: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 9;
  background: var(--bone);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--bar);
  padding: 0.55rem var(--pad);
  background: var(--ink);
  border-bottom: 1px solid var(--cardboard);
}

.brand {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bar nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.bar nav {
  margin-left: auto;
}

.bar-join {
  flex: 0 0 auto;
  border: 1px solid var(--cobalt);
  background: var(--cobalt);
  color: var(--bone);
  font-family: "Anek Malayalam", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 0;
}

.bar-join:hover,
.bar-join:focus-visible {
  text-decoration: none;
  transform: translate3d(0, -1px, 0);
}

.bar a,
footer a {
  font-size: 0.92rem;
  text-decoration: none;
}

.bar a:hover,
footer a:hover,
.bar a:focus-visible,
footer a:focus-visible {
  text-decoration: underline;
}

.wrap {
  width: min(100% - (var(--pad) * 2), 76rem);
  margin-inline: auto;
}

.num {
  color: var(--cardboard);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.kicker {
  color: var(--cardboard);
  font-size: 0.92rem;
}

.lede {
  max-width: 34rem;
}

.hero,
.line,
.shirt,
.who,
.faq,
#email {
  scroll-margin-top: calc(var(--bar) + 0.75rem);
}

.hero {
  padding: 0 0 2.5rem;
}

.hero-follow {
  padding-top: 0.9rem;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  left: var(--pad);
  display: grid;
  gap: 0.1rem;
  justify-items: start;
  max-width: min(16rem, 72%);
  padding: 0.4rem 0.55rem;
  background: rgb(13 11 9 / 0.78);
}

.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero .place {
  color: var(--cardboard);
}

.notice {
  display: grid;
  gap: 0.7rem;
  align-content: end;
  padding-top: 0.2rem;
  border-top: 1px solid var(--cardboard);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown-grid p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  padding-right: 0.4rem;
}

.countdown-grid p + p {
  padding-left: 0.7rem;
  border-left: 1px solid var(--cardboard);
}

.roll {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  height: 0.92em;
  min-width: 2ch;
  font-family: "Anek Malayalam", sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.65rem, 6.2vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--bone);
}

.roll-num {
  grid-area: 1 / 1;
}

.roll-num.out {
  animation: roll-out 0.42s var(--ease) forwards;
}

.roll-num.in {
  animation: roll-in 0.42s var(--ease) forwards;
}

@keyframes roll-out {
  to { transform: translate3d(0, -110%, 0); }
}

@keyframes roll-in {
  from { transform: translate3d(0, 110%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.countdown .unit {
  color: var(--cardboard);
  font-size: 0.82rem;
}

.countdown-open {
  font-family: "Anek Malayalam", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.date {
  color: var(--bone);
}

.hero-plate {
  position: relative;
  height: clamp(240px, 38vh, 360px);
  overflow: hidden;
  background: var(--ink);
}

.hero-plate img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 34% 46%;
  will-change: transform;
}

.line,
.shirt,
.who,
.faq {
  padding: clamp(3.5rem, 9vh, 7rem) 0;
  border-top: 1px solid var(--cardboard);
}

.line-grid,
.who-grid,
.faq-grid,
.list-grid,
.section-head {
  display: grid;
  gap: 0.8rem 1.5rem;
}

.line h2,
.shirt h2,
.who h2,
.faq h2 {
  font-size: clamp(3.2rem, 12vw, 7.4rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.line .lede,
.shirt .lede,
.who .lede {
  margin-top: 1rem;
}

.section-head {
  align-items: end;
}

.controls {
  display: flex;
  gap: 0.45rem;
}

.controls button,
#waitlist-form button,
.fallback a {
  appearance: none;
  border: 1px solid var(--cardboard);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font: inherit;
  font-family: "Anek Malayalam", sans-serif;
  font-weight: 800;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.controls button {
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.controls button:hover {
  transform: translate3d(0, -2px, 0);
  border-color: var(--bone);
}

.controls button:disabled {
  cursor: default;
  transform: none;
  opacity: 0.45;
}

.scroller {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--cardboard) var(--ink);
}

.slide {
  flex: 0 0 84%;
  margin: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.frame {
  overflow: hidden;
  border: 1px solid var(--cardboard);
  background: var(--shadow);
}

.frame img,
.portrait img {
  object-fit: contain;
}

.slide .frame img {
  width: 100%;
  height: min(48svh, 30rem);
  object-position: center center;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.slide:hover .frame img,
.slide:focus-within .frame img {
  transform: translate3d(0, -8px, 0);
}

.slide figcaption {
  color: var(--cardboard);
  font-size: 0.9rem;
}

.who-grid {
  align-items: end;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: min(100%, 26rem);
  max-height: 72svh;
  object-position: center bottom;
  background: var(--ink);
}

.accordion {
  margin-top: 1.4rem;
}

details {
  border-top: 1px solid var(--cardboard);
}

details:last-of-type {
  border-bottom: 1px solid var(--cardboard);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0.8rem 0;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--cardboard);
  transition: transform 0.45s var(--ease);
}

details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

details p {
  max-width: 38rem;
  padding-bottom: 1.15rem;
  color: var(--bone);
}

.notice .date {
  font-size: 1rem;
}

#waitlist-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

#waitlist-form label {
  color: var(--cardboard);
  font-size: 0.92rem;
}

#waitlist-form input {
  appearance: none;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--cardboard);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 0.4s var(--ease);
}

#waitlist-form input {
  min-height: 2.75rem;
}

#waitlist-form input:focus {
  border-color: var(--bone);
}

#waitlist-form input[aria-invalid="true"] {
  border-color: var(--cobalt);
}

#waitlist-form button {
  min-height: 2.85rem;
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: var(--bone);
  font-size: 1.05rem;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}

#waitlist-form button:hover {
  transform: translate3d(0, -2px, 0);
}

#waitlist-form button:disabled,
#waitlist-form.is-sent button {
  background: var(--cobalt);
  border-color: var(--cobalt);
  cursor: default;
  transform: none;
}

.status {
  min-height: 1.5em;
  overflow: hidden;
}

.status.is-shown {
  animation: status-in 0.7s var(--ease) both;
}

@keyframes status-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: none;
  }
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.3rem var(--pad) 2.2rem;
  border-top: 1px solid var(--cardboard);
  color: var(--cardboard);
}

footer a {
  color: var(--bone);
}

.fallback {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem var(--pad);
}

.fallback h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.js .reveal:not(.hero) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .stagger span {
  display: inline-block;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 0.35em, 0);
  transition: clip-path 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .is-in .stagger span {
  clip-path: inset(0);
  transform: none;
}

.js .is-in .stagger span:nth-child(2) { transition-delay: 0.12s; }
.js .is-in .stagger span:nth-child(3) { transition-delay: 0.24s; }

.js .plate {
  clip-path: inset(10% 0 8% 0);
  transition: clip-path 1.25s var(--ease);
}

.js .hero.is-in .plate {
  clip-path: inset(0);
}

.js .frame {
  clip-path: inset(8% 0);
  transition: clip-path 1.05s var(--ease);
}

.js .is-in .frame {
  clip-path: inset(0);
}

.js .shirt .slide:nth-child(2) .frame { transition-delay: 0.12s; }
.js .shirt .slide:nth-child(3) .frame { transition-delay: 0.24s; }

@media (max-width: 759px) {
  .bar {
    flex-wrap: nowrap;
    align-items: center;
  }

  .bar-join {
    margin-left: auto;
  }

  .bar nav {
    width: 100%;
    margin-left: 0;
  }

  .bar nav {
    display: none;
  }

  .hero-plate {
    height: clamp(220px, 36vh, 300px);
  }

  .line,
  .shirt,
  .who,
  .faq {
    min-height: 100svh;
  }

  .line,
  .shirt,
  .who,
  .faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 800px) {
  .who-grid {
    grid-template-columns: 4rem minmax(16rem, 0.72fr) minmax(0, 1fr);
    align-items: end;
  }

  .who .num {
    align-self: start;
    padding-top: 0.4rem;
  }

  .faq-grid {
    grid-template-columns: 4rem minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .hero-plate {
    height: clamp(240px, 36vh, 380px);
  }

  .hero-plate img {
    object-position: 42% 36%;
  }

  .line-grid {
    grid-template-columns: 4rem minmax(0, 1.3fr) minmax(14rem, 0.7fr);
    align-items: end;
  }

  .line .lede {
    margin-top: 0;
    padding-bottom: 0.4rem;
  }

  .section-head {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
  }

  .scroller {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.72fr;
    gap: 1.25rem;
    overflow: visible;
  }

  .slide {
    flex: none;
  }

  .line {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.has-cursor,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor input,
  html.has-cursor summary,
  html.has-cursor label {
    cursor: none;
  }

  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 1px solid var(--bone);
    border-radius: 0;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: difference;
    will-change: transform;
  }

  .cursor.on {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal:not(.hero),
  .js .stagger span,
  .js .plate,
  .js .frame,
  .slide .frame img,
  .controls button,
  #waitlist-form button,
  summary::after {
    animation: none !important;
    transition: none !important;
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .status.is-shown {
    animation: none;
  }

  .roll-num.out,
  .roll-num.in {
    animation: none;
  }
}
