/* ==========================================================
   GI Innovation Challenge — StartupTN × TNSCST
   One frame for every section; type scales with width AND height
   so 13–16" laptops, tablets and phones all feel proportionate.
   ========================================================== */

:root {
  --ink: #0B0B0F;
  --ink-2: #3C3C44;
  --muted: #9A9AA3;
  --label: #6E6E78;
  --line: #E7E7EA;
  --soft: #F4F4F6;
  --white: #FFFFFF;
  --blue: #2747D6;
  --blue-deep: #0F1D5C;
  --gold: #F2C14E;

  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Frame */
  --max: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --frame: max(var(--gutter), calc((100% - var(--max)) / 2));
  --space: clamp(56px, 6.5vw, 104px);
  --radius: clamp(20px, 1.8vw, 28px);
  --nav-h: clamp(60px, 4.4vw, 72px);

  /* Type: width- and height-aware */
  --fs-hero: clamp(44px, min(5.2vw, 10svh), 92px);
  --fs-xl: clamp(40px, min(4.6vw, 9svh), 80px);
  --fs-h2: clamp(24px, 2.2vw, 40px);
  --fs-h3: clamp(20px, 1.6vw, 28px);
  --fs-body: clamp(15px, .95vw, 17px);
  --fs-label: clamp(14px, .9vw, 16px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: var(--fs-body); color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { padding-inline: var(--frame); }

.label { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); font-weight: 500; color: var(--ink-2); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.label--light { color: rgba(255,255,255,.85); }
.label--light::before { background: var(--gold); }
.muted { color: var(--muted); }

.statement { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.03em; }

/* Two-column section grid: label | content */
.split { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; column-gap: clamp(24px, 3vw, 48px); row-gap: 20px; }
.split > .label { align-self: start; padding-top: .45em; }

.pill { display: inline-block; margin: 0; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 11px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform .5s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark::before { background: var(--blue); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light::before { background: var(--gold); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 16px; transition: background .3s, color .3s, border-color .3s; }
.round:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--frame);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logos { display: flex; align-items: center; gap: clamp(10px, 1vw, 16px); }
.nav__stn { height: clamp(22px, 1.8vw, 28px); width: auto; }
.nav__tn { height: clamp(30px, 2.5vw, 38px); width: auto; }
.nav__rule { width: 1px; height: 24px; background: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__mark { height: clamp(32px, 2.6vw, 40px); width: auto; transition: transform .5s var(--ease); }
.nav__brand:hover .nav__mark { transform: translateY(-2px) rotate(-4deg); }
.nav__name { display: flex; flex-direction: column; font-size: 10px; line-height: 1.3; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.nav__cta { justify-self: end; min-height: 40px; padding: 9px 18px; font-size: 14px; }

/* ---------- GI lockup: logomark left, name right, Tamil Nadu highlighted ----------
   Everything is sized from --l so the mark always spans the text block exactly:
   two name lines (2 × 1.1l) + gap (.18l) + Tamil Nadu bar (top margin .3l + 1.3l) = 4l. */
.lockup { --l: 13px; display: inline-flex; align-items: stretch; gap: calc(var(--l) * .85); line-height: 1; }
.lockup__mark { height: calc(var(--l) * 4); width: auto; flex: none; transition: transform .5s var(--ease); }
.lockup__text { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.lockup__l1, .lockup__l2 { display: block; height: calc(var(--l) * 1.1); font-family: var(--display); font-weight: 600; font-size: var(--l); line-height: 1.1; letter-spacing: -.012em; white-space: nowrap; }
.lockup__l1 { font-weight: 500; opacity: .9; }
.lockup__l2 { margin-top: calc(var(--l) * .18 - var(--l) * .18); }
.lockup__tn {
  display: flex; align-items: center; justify-content: center;
  height: calc(var(--l) * 1.3); margin-top: calc(var(--l) * .3);
  border-radius: calc(var(--l) * .28); background: #353699; color: #fff;
  font-family: var(--body); font-weight: 700; font-size: calc(var(--l) * .6); letter-spacing: .34em; text-indent: .34em;
  text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.lockup--nav { --l: clamp(11.5px, .9vw, 13.5px); color: var(--ink); }
.lockup--hero { --l: clamp(17px, min(1.45vw, 2.7svh), 24px); color: #fff; }
.lockup--hero .lockup__mark { filter: drop-shadow(0 0 1px rgba(255,255,255,.6)) drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.lockup--sm { --l: 15px; }
.nav__brand:hover .lockup__mark { transform: translateY(-2px) rotate(-4deg); }
.lockup--nav .lockup__mark { height: calc(var(--l) * 4); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: calc(100svh - var(--nav-h)); min-height: 540px; max-height: 1080px;
  background: #1A0F0C; color: var(--white);
}
.hero__media { position: absolute; inset: 0; }
.hero__bg, .hero__fg { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.hero__bg { transform: translate3d(var(--bx, 0), var(--by, 0), 0) scale(var(--bs, 1.06)); }
.hero__fg { transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(var(--fs, 1)); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,12,.88) 0%, rgba(10,8,12,.55) 24%, rgba(10,8,12,0) 46%, rgba(10,8,12,0) 58%, rgba(10,8,12,.55) 78%, rgba(10,8,12,.9) 100%),
    linear-gradient(180deg, rgba(10,8,12,.3) 0%, rgba(10,8,12,0) 22%, rgba(10,8,12,0) 64%, rgba(10,8,12,.62) 100%);
}
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 0 var(--frame) clamp(72px, 12svh, 128px);
}
.hero__pill { display: none; margin: 0 0 clamp(18px, 3svh, 28px); }
.hero__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-hero); line-height: .96; letter-spacing: -.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__right { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.6svh, 26px); width: min(340px, 32%); }
.hero__lede { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: rgba(255,255,255,.88); }
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__date { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.7); }
.hero__date b { color: var(--white); font-weight: 500; font-size: 14px; }

.badge { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--white); }
.badge__top, .badge__bottom { font-size: 10px; letter-spacing: .3em; text-align: left; line-height: 1.6; font-weight: 500; }

.hero__scroll { position: absolute; left: 50%; bottom: 60px; z-index: 3; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Intro animation */
[data-intro] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__title [data-intro] { opacity: 1; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-loaded [data-intro] { opacity: 1; transform: none; }
.is-loaded [data-intro="1"] { transition-delay: .2s; }
.is-loaded [data-intro="2"] { transition-delay: .3s; }
.is-loaded [data-intro="3"] { transition-delay: .42s; }
.is-loaded [data-intro="4"] { transition-delay: .54s; }
.is-loaded [data-intro="5"] { transition-delay: .7s; }
.is-loaded [data-intro="6"] { transition-delay: .9s; }
.is-loaded [data-intro="7"] { transition-delay: 1.02s; }
.badge .lockup__mark { transform: scale(.8) rotate(-8deg); opacity: 0; transition: transform 1.1s cubic-bezier(.34,1.56,.64,1) .9s, opacity .8s var(--ease) .9s; }
.is-loaded .badge .lockup__mark { transform: none; opacity: 1; }
.badge .lockup__tn { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) 1.4s; }
.is-loaded .badge .lockup__tn { transform: none; }
.hero__fg { transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
.hero:not(.is-ready) .hero__bg { --bs: 1.16; }
.hero:not(.is-ready) .hero__fg { --fs: 1.1; opacity: 0; }
.hero.is-ready .hero__bg { transition: transform 2.4s var(--ease); }
.hero.is-live .hero__bg, .hero.is-live .hero__fg { transition: opacity 1.4s var(--ease); }

/* ---------- Sheet ---------- */
.sheet { position: relative; z-index: 5; margin-top: -36px; background: var(--white); border-radius: 32px 32px 0 0; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-words] { opacity: 1; transform: none; }
[data-words] .w { display: inline-block; opacity: .12; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-words].in .w { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.intro { padding-top: var(--space); padding-bottom: var(--space); }

/* ---------- Section heads ---------- */
.sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }

/* ---------- Challenges ---------- */
.challenges { padding-bottom: var(--space); }

.tabs {
  position: relative; display: flex; gap: 4px; margin: 0 auto 14px;
  padding: 4px; border-radius: 999px; background: var(--soft); width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--label); white-space: nowrap; transition: color .35s var(--ease);
}
.tabs__btn b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); transition: color .35s var(--ease); }
.tabs__btn:hover { color: var(--ink); }
.tabs__short { display: none; }
.detail__step { white-space: nowrap; }
.tabs__btn.is-active { color: var(--white); }
.tabs__btn.is-active b { color: var(--gold); }
.tabs__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transform: translateX(var(--x, 4px)); width: var(--w, 0); transition: transform .55s var(--ease), width .55s var(--ease); }

.panels { display: flex; gap: 12px; height: clamp(360px, min(38vw, 58svh), 580px); }
.panel { position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; border-radius: var(--radius); background: #2A1A14; color: var(--white); transition: flex-grow .9s var(--ease); }
.panel.is-active { flex-grow: 3.4; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter .9s var(--ease); }
.panel:hover .panel__img { transform: scale(1.1); }
.panel.is-active .panel__img { transform: scale(1.01); filter: brightness(.58) saturate(.95); }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%); }
.panel__hit { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: clamp(18px, 1.8vw, 28px); border: 0; background: none; text-align: left; cursor: pointer; color: var(--white); }
.panel__num { font-family: var(--display); font-size: clamp(36px, 3.4vw, 58px); line-height: 1; letter-spacing: -.045em; }
.panel__kicker { font-size: 13px; opacity: .8; margin-top: 4px; }
.panel__title { font-family: var(--display); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.15; letter-spacing: -.02em; }
.panel.is-active .panel__hit { justify-content: flex-start; cursor: default; }
.panel.is-active .panel__kicker, .panel.is-active .panel__title { display: none; }

.panel__plus {
  position: absolute; z-index: 3; top: clamp(16px, 1.6vw, 24px); right: clamp(16px, 1.6vw, 24px);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .5s var(--ease), opacity .4s var(--ease), background .3s;
}
.panel__plus svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.panel:hover .panel__plus { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.panel.is-active .panel__plus { opacity: 0; transform: scale(.6); }

.panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(20px, 2.2vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.panel.is-active .panel__body { opacity: 1; transform: none; pointer-events: auto; transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.panel__headline { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.03em; max-width: 720px; }
.panel__headline span { color: rgba(255,255,255,.6); }
.panel__more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.panel__more span { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
.panel__more:hover { background: var(--gold); }
@keyframes nudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }

/* Brief */
.detail { position: relative; display: grid; margin-top: 18px; background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 52px); }
.detail__notch { position: absolute; top: -9px; left: 0; width: 18px; height: 18px; background: var(--soft); border-radius: 3px; transform: translateX(calc(var(--notch, 60px) - 9px)) rotate(45deg); transition: transform .7s var(--ease); }
.detail__bar { grid-area: 1 / 1; align-self: start; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); z-index: 1; }
.detail__step { font-size: 14px; color: var(--label); }
.detail__step b { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.detail__nav { display: flex; gap: 8px; }
.detail__item { grid-area: 2 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.detail__item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s, visibility 0s; }
.detail__title { margin: 0 0 clamp(20px, 2.4vw, 32px); font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.025em; max-width: 880px; display: flex; gap: 14px; }
.detail__title span { color: var(--blue); flex: none; }
.detail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.6vw, 56px); font-size: var(--fs-body); line-height: 1.6; color: var(--ink-2); }
.detail__label { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--label); }
.detail__lead { margin: 0 0 10px; color: var(--ink); font-weight: 500; }
.detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.detail li { position: relative; padding-left: 22px; }
.detail li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--blue); }
.challenges__cta { margin-top: 24px; display: flex; justify-content: flex-end; }

/* ---------- For whom ---------- */
.whom { padding-bottom: var(--space); }
.whom__main { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.whom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; perspective: 900px; }
.whom__card {
  --rx: 0deg; --ry: 0deg;
  min-height: clamp(180px, 16vw, 260px); border-radius: var(--radius); background: var(--soft);
  padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), opacity 1s var(--ease);
}
.whom__card:hover { background: var(--ink); color: var(--white); }
.whom__icon { width: 40px; height: 40px; color: var(--blue); transition: color .4s; }
.whom__card:hover .whom__icon { color: var(--gold); }
.whom__card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.3vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.whom__card h3 span { color: var(--muted); }

/* ---------- Full-width cards share the frame ---------- */
.get, .apply { padding: 0 var(--frame) var(--space); }

/* ---------- What you get ---------- */
.get__card { position: relative; overflow: hidden; border-radius: 32px; min-height: clamp(380px, min(36vw, 62svh), 560px); display: flex; align-items: center; color: var(--white); background: #2A1A14; }
.get__img { position: absolute; left: 0; top: -25%; width: 100%; height: 150%; max-width: none; object-fit: cover; will-change: transform; }
.get__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,12,.88) 0%, rgba(10,8,12,.6) 40%, rgba(10,8,12,.05) 75%); }
.get__content { position: relative; z-index: 2; padding: clamp(28px, 5vw, 80px); max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
.get__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); line-height: .98; letter-spacing: -.05em; }
.get__text { margin: 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; color: rgba(255,255,255,.85); max-width: 500px; }

/* ---------- Deadline ---------- */
.deadline { padding-bottom: var(--space); }
.deadline__main { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.deadline__date { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); line-height: .95; letter-spacing: -.05em; }
.deadline__date span { display: block; }
.deadline__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.countdown { display: flex; gap: 8px; flex-wrap: wrap; }
.countdown > div { min-width: clamp(76px, 6.4vw, 100px); padding: clamp(12px, 1.2vw, 18px) clamp(14px, 1.3vw, 20px); border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 40px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown span { font-size: 12px; color: var(--label); }
.countdown.is-closed > div { display: none; }
.countdown__closed { font-size: 17px; color: var(--ink-2); }

/* ---------- Apply ---------- */
.apply__card { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; color: var(--white); background: radial-gradient(120% 140% at 15% 0%, #3557F0 0%, var(--blue) 35%, var(--blue-deep) 100%); padding: clamp(48px, 7vw, 112px) clamp(28px, 5vw, 80px); min-height: clamp(380px, min(36vw, 62svh), 540px); display: flex; align-items: center; }
.apply__mark { position: absolute; z-index: -1; right: 6%; top: 50%; height: 78%; width: auto; opacity: .12; transform: translateY(calc(-50% + var(--py, 0px))) rotate(-8deg); }
.apply__content { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.apply__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); line-height: .98; letter-spacing: -.05em; max-width: 820px; }
.apply__title span { color: var(--gold); }
.apply__note { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- About ---------- */
.about { padding-top: var(--space); padding-bottom: var(--space); }
.about__head { margin-bottom: clamp(20px, 3.6svh, 44px); }
.about__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, min(3.7vw, 7.4svh), 64px); line-height: 1.02; letter-spacing: -.04em; max-width: 22ch; }
.about__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.about__text { display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 22px); }
.about__lead { margin: 0; font-family: var(--display); font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.about__lead .hl { color: var(--blue); }
.about__para { margin: 0; font-size: var(--fs-body); line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.about__close { margin: 0; padding-left: 18px; border-left: 2px solid var(--gold); font-family: var(--display); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); max-width: 46ch; }
.about__facts { display: grid; gap: 12px; }
.fact { padding: clamp(16px, min(1.8vw, 3svh), 26px) clamp(18px, 1.8vw, 26px); border-radius: var(--radius); background: var(--soft); }
.fact__k { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--label); }
.fact ul { margin: 0; padding: 0; list-style: none; }
.fact li { display: flex; align-items: baseline; gap: 14px; padding: clamp(8px, 1.2svh, 12px) 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(16px, min(1.25vw, 2.4svh), 21px); letter-spacing: -.015em; color: var(--ink); }
.fact li:last-child { border-bottom: 0; padding-bottom: 2px; }
.fact li span { flex: none; width: 24px; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }

/* ---------- Queries + organizers (final frame) ---------- */
.reach { padding-bottom: var(--space); }
.reach__head { margin-bottom: clamp(24px, 3.5vw, 48px); }
.reach__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; }
.reach__contact { display: grid; gap: 12px; align-content: start; }
.reach__apply {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: clamp(20px, 2vw, 28px); border-radius: 22px; color: var(--white); text-decoration: none;
  background: radial-gradient(120% 160% at 0% 0%, #3557F0 0%, var(--blue) 40%, var(--blue-deep) 100%);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reach__apply:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(39,71,214,.6); }
.reach__apply > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.reach__apply-k { font-size: 13px; color: rgba(255,255,255,.7); }
.reach__apply-v { font-family: var(--display); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.02em; }
.reach__apply-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; transition: background .3s; }
.reach__apply:hover .reach__apply-btn { background: var(--gold); }

.org-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.org-card__lead { margin: 0; font-family: var(--display); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.org-card__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.org-card__item { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: var(--soft); transition: background .4s var(--ease), transform .5s var(--ease); }
.org-card__item:hover { transform: translateY(-3px); background: #EDEDF1; }
.org-card__logo { height: clamp(64px, 6vw, 88px); display: flex; align-items: center; margin-bottom: 10px; }
.org-card__logo img { width: auto; max-width: 100%; }
.org-card__stn { height: clamp(26px, 2.4vw, 34px); }
.org-card__tn { height: 100%; }
.org-card__item b { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.org-card__item span { font-size: 13px; line-height: 1.4; color: var(--label); }

/* ---------- Section indicator (glass pill) ---------- */
.secnav {
  position: fixed; left: var(--frame); bottom: clamp(14px, 2.4svh, 28px); z-index: 45;
  display: none; align-items: center; gap: 4px; padding: 5px;
  border-radius: 999px; color: #fff;
  background: rgba(18, 18, 24, .62); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 12px 40px -16px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.smooth .secnav { display: flex; }
.secnav.is-on { opacity: 1; transform: none; }
.secnav__btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, opacity .3s; }
.secnav__btn:hover { background: rgba(255,255,255,.22); }
.secnav__btn:disabled { opacity: .3; cursor: default; }
.secnav__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.secnav__info { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 10px; min-width: 0; }
.secnav__num { font-family: var(--display); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.secnav__num i { font-style: normal; color: rgba(255,255,255,.45); }
.secnav__bar { position: relative; width: 44px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.secnav__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.secnav__label { font-size: 13px; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; display: block; max-width: 170px; }
.secnav__label span { display: block; animation: secIn .5s var(--ease); }
@keyframes secIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Organizers ---------- */
.org { padding-bottom: var(--space); }
.org__main { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.org__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; perspective: 900px; }
.org__card {
  --rx: 0deg; --ry: 0deg;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(24px, 2.4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity 1s var(--ease);
}
.org__card:hover { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(11,11,15,.25); }
.org__logo { height: clamp(90px, 9vw, 130px); display: flex; align-items: center; }
.org__logo img { width: auto; max-width: 100%; transition: transform .6s var(--ease); }
.org__card:hover .org__logo img { transform: scale(1.04); }
.org__stn { height: clamp(44px, 4.4vw, 64px); }
.org__tn { height: 100%; }
.org__name { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.org__name b { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.4vw, 22px); letter-spacing: -.02em; }
.org__name span { font-size: 14px; line-height: 1.4; color: var(--label); min-height: 2.8em; }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--space); }
.contact__main { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.contact__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2vw, 28px); border-radius: 22px; background: var(--soft); text-decoration: none; color: var(--ink); transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease); }
a.contact__card:hover { background: var(--ink); color: var(--white); transform: translateY(-4px); }
.contact__k { font-size: 13px; color: var(--label); transition: color .4s; }
a.contact__card:hover .contact__k { color: rgba(255,255,255,.6); }
.contact__v { font-family: var(--display); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__v a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact__v a:hover { background-size: 100% 1px; }
.contact__sep { color: var(--muted); }
.contact__go { position: absolute; right: 22px; top: 22px; font-size: 18px; transition: transform .45s var(--ease); }
a.contact__card:hover .contact__go { transform: translate(3px, -3px); }

/* ---------- Footer ---------- */
.footer { background: #000; color: var(--white); padding: clamp(48px, 5vw, 64px) var(--frame) 32px; }
.footer__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__logos { display: flex; align-items: center; gap: 20px; }
.footer__stn { height: 28px; width: auto; }
.footer__tn { height: 40px; width: auto; }
.footer__rule { width: 1px; height: 28px; background: rgba(255,255,255,.25); }
.footer__mark { height: 64px; width: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }

/* ---------- Smooth scrolling (desktop) ---------- */
html.smooth { scroll-behavior: auto; }

/* ==========================================================
   Responsive
   ========================================================== */

/* Short laptop screens (e.g. 1366×768, 1280×720) */
@media (min-width: 901px) and (max-height: 800px) {
  .hero { min-height: 500px; }
  .hero__inner { padding-bottom: 72px; }
  .hero__scroll { display: none; }
}

/* Tablets (portrait) and small laptops */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split > .label { padding-top: 0; }
  .about__grid > span { display: none; }
  .hero__right { width: min(280px, 34%); }
}

/* Tablet portrait & large phones: stacked hero */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__brand { justify-self: center; }
  .lockup--nav .lockup__text { display: none; }

  .hero { height: auto; min-height: calc(100svh - var(--nav-h)); max-height: none; }
  .hero__inner { min-height: calc(100svh - var(--nav-h)); flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 24px; padding-bottom: 64px; }
  .hero__right { width: auto; max-width: 440px; }
  .hero__title { font-size: clamp(44px, 11vw, 84px); }
  .hero__bg, .hero__fg { object-position: 44% 40%; }
  .badge { display: none; }
  .hero__pill { display: block; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,8,12,.35) 0%, rgba(10,8,12,0) 25%, rgba(10,8,12,.35) 52%, rgba(10,8,12,.92) 100%); }
  .hero__scroll { display: none; }

  .panels { height: clamp(220px, 46vw, 340px); gap: 8px; }
  .panel.is-active { flex-grow: 4; }
  .panel:not(.is-active) .panel__kicker, .panel:not(.is-active) .panel__title { display: none; }
  .panel:not(.is-active) .panel__num { font-size: 24px; }
  .panel:not(.is-active) .panel__hit { padding: 14px 10px; }
  .panel__plus { width: 30px; height: 30px; top: 12px; right: 50%; transform: translateX(50%); }
  .panel:hover .panel__plus { transform: translateX(50%) rotate(90deg); }
  .panel__more { min-height: 36px; padding: 6px 14px; font-size: 13px; }
  .panel__body { gap: 12px; }

  .detail__cols { grid-template-columns: 1fr; gap: 24px; }
  .about__body { grid-template-columns: 1fr; }
  .about__grid > span { display: none; }
  .reach__grid { grid-template-columns: 1fr; }
  .detail__item:not(.is-active) { display: none; }
  .challenges__cta { justify-content: flex-start; }

  /* phones/tablets: show the whole photo on top, text below */
  .get__card { flex-direction: column; align-items: stretch; min-height: 0; background: #17110D; }
  .get__img { position: relative; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 3200 / 1846; object-fit: cover; transform: none !important; }
  .get__shade { inset: auto 0 0 0; top: 0; height: auto; aspect-ratio: 3200 / 1846; background: linear-gradient(180deg, rgba(23,17,13,0) 55%, rgba(23,17,13,.85) 92%, #17110D 100%); }
  .get__content { padding: 4px clamp(22px, 5vw, 40px) clamp(26px, 6vw, 40px); margin-top: -28px; }
  .apply__mark { height: 56%; right: -8%; opacity: .1; }
}

/* Phones */
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .nav { gap: 10px; }
  .nav__stn { height: 20px; }
  .nav__tn { height: 28px; }
  .nav__rule { height: 20px; }
  .nav__logos { gap: 8px; }
  .nav__cta { padding: 8px 14px; min-height: 38px; }

  .hero__inner { padding-bottom: 48px; }
  .hero__title { font-size: clamp(42px, 13.5vw, 64px); }
  .sheet { border-radius: 24px 24px 0 0; margin-top: -24px; }

  .tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .tabs__btn { justify-content: center; padding: 8px 6px; font-size: 13px; gap: 6px; }
  .tabs__full { display: none; }
  .tabs__short { display: inline; }
  .detail__step { font-size: 13px; }

  .whom__grid { grid-template-columns: 1fr; }
  .whom__card { min-height: 160px; }
  .org__grid { grid-template-columns: 1fr; }
  .org-card__logos { grid-template-columns: 1fr; }

  .get, .apply { padding-inline: 12px; }
  .get__card, .apply__card { border-radius: 24px; }

  .deadline__row { flex-direction: column; align-items: stretch; }
  .countdown { display: grid; grid-template-columns: repeat(4, 1fr); }
  .countdown > div { min-width: 0; padding: 12px 10px; }
  .deadline__row .btn { justify-content: center; }

  .footer__bottom { flex-direction: column; }
}

/* Very small phones (iPhone SE, small Android) */
@media (max-width: 380px) {
  .nav__rule, .nav__tn { display: none; }
  .tabs__btn { font-size: 12px; }
}

/* Phones in landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .hero__inner { min-height: 440px; }
  .hero__title { font-size: clamp(36px, 7vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-intro], [data-reveal], [data-words] .w, .hero__title [data-intro] { opacity: 1 !important; transform: none !important; }
  .badge .lockup__mark, .badge .lockup__tn { transform: none; opacity: 1; }
}

/* ---------- Cursor: Thanjavur doll head ---------- */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.cur.is-on { opacity: 1; }
.cur__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: currentColor; transition: transform .25s var(--ease); }
.cur__head { position: absolute; width: 22px; height: 26px; margin: -13px 0 0 -11px; transform-origin: 50% 96%; will-change: transform; }
.cur__head svg { display: block; width: 100%; height: 100%; transition: transform .45s var(--ease); }
.cur__ring { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; transform: scale(.4); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.cur.is-hover .cur__ring { opacity: .9; transform: scale(1); }
.cur.is-hover .cur__head svg { transform: translateY(-10px) scale(1.12); }
.cur.is-hover .cur__dot { transform: scale(0); }
.cur.is-down .cur__ring { transform: scale(.82); }
.cur__ripple { position: fixed; left: 0; top: 0; z-index: 9998; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid #fff; mix-blend-mode: difference; pointer-events: none; animation: curRipple .7s var(--ease) forwards; }
@keyframes curRipple { from { opacity: .8; transform: scale(.3); } to { opacity: 0; transform: scale(1.8); } }
