/*
 * Font declarations, merged in from what was public/css/fonts.css.
 *
 * They were a second stylesheet, which is a second blocking request
 * on every cold visit. The server caps concurrent requests to / at 100
 * across all visitors at once, so a request saved on every page view
 * is worth more here than the tidiness of a separate file. These rules
 * are generated output and do not change, so there is nothing to keep
 * in sync.
 *
 * Every face carries a unicode-range, so a browser fetches only the
 * subsets the page actually uses: five files, not the twenty-seven
 * declared.
 */

/*
 * Self-hosted faces, lifted from what next/font generated so the exact
 * weights, unicode ranges and metric-override fallbacks are preserved.
 * The files were copied out of the Next build into public/fonts.
 */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/034d78ad42e9620c-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf4,u+1cf7-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b0a}
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/fe0777f1195381cb-s.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:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/eafabf029ad39a43-s.p.woff2) format("woff2");unicode-range:u+00??,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:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/db911767852bc875-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf4,u+1cf7-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b0a}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/f10b8e9d91f3edcb-s.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:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/8888a3826f4a3af4-s.p.woff2) format("woff2");unicode-range:u+00??,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:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/29e7bbdce9332268-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf4,u+1cf7-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b0a}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/c3bc380753a8436c-s.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:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/0484562807a97172-s.p.woff2) format("woff2");unicode-range:u+00??,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:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/29a4aea02fdee119-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf4,u+1cf7-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b0a}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/a1386beebedccca4-s.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:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/b957ea75a84b6ea7-s.p.woff2) format("woff2");unicode-range:u+00??,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:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/28485c0de2075f40-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf4,u+1cf7-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b0a}
@font-face{font-family:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/5fb25f343c7550ca-s.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:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/7db6c35d839a711c-s.p.woff2) format("woff2");unicode-range:u+00??,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:Roboto;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/fonts/roboto-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:Roboto;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/fonts/roboto-latin.woff2) format("woff2");unicode-range:u+00??,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:Playball;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/49b7abf1b3b10221-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Playball;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/aacaa07f4c4d1ce9-s.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:Playball;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/93ed22edef6e70f7-s.p.woff2) format("woff2");unicode-range:u+00??,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:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/b1f344208eb4edfe-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/48e2044251ef3125-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bf24a9759715e608-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/1f173e5e25f3efee-s.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:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/904be59b21bd51cb-s.p.woff2) format("woff2");unicode-range:u+00??,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:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/b1f344208eb4edfe-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}
@font-face{font-family:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/48e2044251ef3125-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/bf24a9759715e608-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/1f173e5e25f3efee-s.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:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/904be59b21bd51cb-s.p.woff2) format("woff2");unicode-range:u+00??,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:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/b1f344208eb4edfe-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/48e2044251ef3125-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bf24a9759715e608-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/1f173e5e25f3efee-s.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:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/904be59b21bd51cb-s.p.woff2) format("woff2");unicode-range:u+00??,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:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/b1f344208eb4edfe-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}
@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/48e2044251ef3125-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bf24a9759715e608-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/1f173e5e25f3efee-s.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:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/904be59b21bd51cb-s.p.woff2) format("woff2");unicode-range:u+00??,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:Poppins Fallback;src:local("Arial");ascent-override:93.62%;descent-override:31.21%;line-gap-override:8.92%;size-adjust:112.16%}
@font-face{font-family:Roboto Fallback;src:local("Arial");ascent-override:92.77%;descent-override:24.41%;line-gap-override:0.00%;size-adjust:100.00%}
@font-face{font-family:Playball Fallback;src:local("Arial");ascent-override:110.87%;descent-override:35.01%;line-gap-override:0.00%;size-adjust:85.69%}
@font-face{font-family:Montserrat Fallback;src:local("Arial");ascent-override:85.79%;descent-override:22.25%;line-gap-override:0.00%;size-adjust:112.83%}

:root {
  --font-body: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --font-display: "Roboto", "Roboto Fallback", system-ui, sans-serif;
  --font-playball: "Playball", "Playball Fallback", cursive;
  --font-ui: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
}


:root {
  /* hero-sparkle.webp inlined: on the first screen, used by
     three rules, too small to be worth a request. */
  --sparkle: url("data:image/webp;base64,UklGRgIcAABXRUJQVlA4WAoAAAAQAAAAfwAAfwAAQUxQSPMKAAABsAbtnyK30b+7Z0Vmi8ySw8zMzJwYIuXue5jRILNl7TrMaAiz4TBMG4cTs8+Mso8lleXyTnf/q6b/3dPananKx4hwaNsuHUWQTF93tC7iD+D3XmIs5RYH4CzVApWVwFJt5drbsyk2OORQSswBT21dtc3ItipgaZWaTtQaO6vTKh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vnkxkM1cIKTuz+bHwMbajgmDyLsEfkne+I+V7QPxI5Np3NctwHX5cccP/KdkkNiwXA46EYu5+X72YXrnLmgLfu52WNr9l5uui+J74+8n3H5eje/MyjeN4OGo4TSPEP7KuJUjwZgHuqrBfN89J2B+rAkBWK4dLfcrPbHuiwmQQCcEaRDHiRaZhOdZNszXV7cNrB+LuJ965GmsTDYCuFGOepLqevlIkOPb3KxmxcL5n89iWnUO0soWdCK31oUmDB+HXI+vNQUgNiB9NxbwZkv7YGAlcX5c47ZltmupFSD4vu3mqoGd5wrXaZKDO0z/ZEhmcZyruYfHQ2aotno16aIzKBaqghNBKd+Orf1B3ak63/7zDe+xSQ6XDUnXVz0etm87GnTbCpRvRcexoLXzOrZf4h7FtJTOuCCnU3IujzPqiecyWvDtr60lC8e6QdFACxSsf7KXQWQy/jBUswsueGuHpN4t17MO26VJTZv5pCU3nvR2tYo98ksUIYQd3oeqns/8xOAbgAADroUb5M//H3fUQ1zO702I+uyYQnsR/hjaLeh5wlq4NbvoVj4syYYGIRbZSHM8Ok0haDgVDdqohHL9nofxLDe8WAfnmkV7PgloQ5RHudk6K/yr1Wg+Ti4+7WbsVM7iWP/cR6Dp2GAtjqnHcypGOOCNrXSid//DU8/ap9uKjeqXOHWEqgEG2RGSEDcVV2TAFAV9WQNipAQXpAkAAAAAA=");
}

/*
 * The whole site stylesheet.
 *
 * globals.css and page.module.css from the Next project, concatenated.
 * page.module.css was a CSS module, but it only ever used plain class
 * selectors, so the names carry over to the Blade markup unchanged and
 * the file needed no rewriting.
 *
 * Font faces and the --font-* variables are at the top of this file,
 * merged in from the former fonts.css.
 */

/* ============ globals ============ */

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*
 * "clip" rather than "hidden": hidden makes html a scroll container, which
 * breaks position: sticky and anchor scrolling.
 */
html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: #e9eaee;
  background: #07080e;
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 194, 71, 0.32);
}

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


/* ============ page ============ */

.page {
  position: relative;
  overflow-x: clip;

  /* One place to tune the warm glow on the gold edges and the wordmark. */
  --glow-line: rgba(255, 199, 89, 0.55);
  --glow-out: rgba(255, 170, 40, 0.3);
  --glow-in: rgba(255, 170, 40, 0.1);
}

.script {
  font-family: var(--font-playball), "Segoe Script", cursive;
  font-weight: 700;
}

/* ============ HERO ============ */

/*
 * Geometry comes from the Figma frame, which is 1920 wide with a 1920x955
 * artwork. Design values: logo 96x112 at y128; NAVOTSAV in Orbitron 700
 * 64/72 at y275; "National Navodayan Meet" Montserrat 600 32 at y383;
 * tagline Montserrat 400 20 at y427; date Montserrat 700 32 at y483 with
 * 42px sparkles either side; button 255x62 r50 at y559; four 120x90
 * countdown boxes with a 15px gap at y659.
 *
 * Every size below is expressed as its share of that 1920 width (64px ->
 * 3.33vw) so the block scales with the artwork, then clamped so it stays
 * readable on phones and does not balloon on very wide screens.
 */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  min-height: 100svh;
  padding: 72px 20px 96px;
  background: #07080e;
  overflow: hidden;
}

/*
 * The artwork is 1920x955, so at the design width the section is 49.7vw
 * tall and the content lands exactly where the Figma puts it. Phones keep
 * the full-height hero above, where that ratio would leave a letterbox.
 */
@media (min-width: 900px) {
  .hero {
    min-height: min(100svh, 49.7vw);
    padding: 6.7vw 20px 10.8vw;
  }
}

.heroMedia {
  position: absolute;
  z-index: -1;
  display: flex;
  flex-direction: column;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/*
 * The two background images are stacked here and cross-faded. The Figma
 * cuts the section's closing curve into the artwork's alpha channel,
 * which only that artwork carries, so the curve is lifted out of the
 * channel and applied here as a mask instead - that way every image in
 * the stack ends on the same curve.
 */
.heroStage {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 955' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 881 Q80 881 160 907 Q240 933 320 943 Q400 953 480 953 Q560 953 640 946 Q720 938 800 924 Q880 910 960 893 Q1040 876 1120 866 Q1200 855 1280 851 Q1360 846 1440 848 Q1520 850 1600 858 Q1680 865 1760 879 Q1840 893 1920 935 V0 H0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 955' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 881 Q80 881 160 907 Q240 933 320 943 Q400 953 480 953 Q560 953 640 946 Q720 938 800 924 Q880 910 960 893 Q1040 876 1120 866 Q1200 855 1280 851 Q1360 846 1440 848 Q1520 850 1600 858 Q1680 865 1760 879 Q1840 893 1920 935 V0 H0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.heroPhoto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/*
 * A long dwell on each image with a slow dissolve between them. Nothing
 * moves, so it reads as the picture changing rather than as a slider.
 */
.heroPhotoAlt {
  opacity: 0;
  animation: heroDissolve 18s infinite ease-in-out;
}

@keyframes heroDissolve {
  0%,
  38% {
    opacity: 0;
  }
  50%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (min-width: 900px) {
  .heroStage {
    flex: none;
    height: auto;
    aspect-ratio: 1920 / 955;
  }
}

.heroInner {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.maanMark {
  width: clamp(64px, 5vw, 96px);
  height: auto;
  animation: fadeUp 0.7s both ease-out;
}

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

.navotsav {
  margin: clamp(16px, 1.82vw, 35px) 0 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1.125;
  color: #ffffff;
  /*
   * A warm edge around the letters rather than a gold fill, so the
   * wordmark stays the white the Figma draws. The dark layer last is
   * what keeps it legible on tighter crops; the rest is the glow.
   */
  text-shadow: 0 0 1px rgba(255, 221, 150, 0.95),
    0 0 9px rgba(255, 190, 70, 0.6), 0 0 24px rgba(255, 164, 32, 0.45),
    0 0 52px rgba(255, 146, 18, 0.32), 0 2px 28px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.7s 0.08s both ease-out;
}

.meetLine {
  margin: clamp(14px, 1.88vw, 36px) 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.67vw, 2rem);
  font-weight: 600;
  /* 28/32 - the Figma sets a line box tighter than the glyphs, and the
     gaps below are measured from it, so matching it keeps the date and
     button on their design positions. */
  line-height: 0.875;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.7s 0.16s both ease-out;
}

.tagline {
  margin: clamp(8px, 0.83vw, 16px) 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.9rem, 1.04vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.7s 0.24s both ease-out;
}

.dateRow {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.73vw, 14px);
  margin: clamp(16px, 1.46vw, 28px) 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.67vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.7s 0.32s both ease-out;
}

.sparkle {
  flex: none;
  width: clamp(24px, 2.19vw, 42px);
  height: clamp(24px, 2.19vw, 42px);
  background: var(--sparkle) center / contain no-repeat;
}

.cta {
  display: inline-flex;
  /*
   * min-width, not width. At a fixed 255 the button fits "Register
   * Now" with room to spare but leaves "Complete Registration" with
   * two pixels either side, so the label has to be able to push it
   * wider. The padding is the Figma's 21 at the design width.
   */
  min-width: clamp(200px, 13.28vw, 255px);
  height: clamp(48px, 3.23vw, 62px);
  padding: 0 clamp(16px, 1.09vw, 21px);
  align-items: center;
  justify-content: center;
  margin-top: clamp(18px, 1.77vw, 34px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 0.94vw, 1.125rem);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  background: linear-gradient(
    136deg,
    rgba(255, 204, 0, 0.8),
    rgba(255, 136, 0, 0.8)
  );
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: fadeUp 0.7s 0.4s both ease-out;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 160, 20, 0.38);
  filter: brightness(1.06);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 0.78vw, 15px);
  margin-top: clamp(20px, 1.98vw, 38px);
  animation: fadeUp 0.7s 0.48s both ease-out;
}

.countBox {
  display: flex;
  width: clamp(74px, 6.25vw, 120px);
  height: clamp(62px, 4.69vw, 90px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--glow-line);
  border-radius: 8px;
  background: rgba(30, 30, 60, 0.4);
  box-shadow: 0 0 14px var(--glow-out), inset 0 0 14px var(--glow-in);
  /*
   * Turbopack runs Lightning CSS, which strips backdrop-filter out of the
   * dev stylesheet, so these panels look flat under `next dev`. The
   * property does survive into `next build --webpack`, which goes through
   * PostCSS. `npm run dev:webpack` previews it faithfully.
   */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.countValue {
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.5rem);
  font-weight: 700;
  line-height: 1.33;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.countLabel {
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.62rem, 0.73vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

/*
 * Hero sizing overrides. These sit after the base rules above on
 * purpose: the two share a specificity, so whichever comes last wins.
 */

@media (min-width: 900px) {
  /* Hold the wordmark at its drawn 64px across desktop widths rather
     than letting it shrink with the viewport. */
  .navotsav {
    font-size: 4rem;
  }

  /* Larger than the Figma's 96, by request. */
  .maanMark {
    width: clamp(96px, 6.67vw, 128px);
  }
}

/*
 * Phone and small-tablet hero: a bigger mark, more air between the
 * lines, and the block sitting higher in the section. The extra bottom
 * padding is what lifts it, the content being vertically centred.
 */
@media (max-width: 899px) {
  .hero {
    padding-bottom: 170px;
  }

  .maanMark {
    width: 108px;
  }

  .navotsav {
    margin-top: 26px;
  }

  .meetLine {
    margin-top: 22px;
  }

  .tagline {
    margin-top: 14px;
  }

  .dateRow {
    margin-top: 26px;
  }

  .cta {
    margin-top: 30px;
  }

  .countdown {
    margin-top: 34px;
  }
}

/* ============ SHARED SECTION BITS ============ */

.scriptHeading {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  color: #ffc247;
  text-shadow: 0 2px 18px rgba(255, 160, 40, 0.3);
}

.ruledHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 34px;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 700;
  color: #ffc247;
}

.ruledHeading::before,
.ruledHeading::after {
  content: "";
  flex: 1;
  max-width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 80, 0.7));
}

.ruledHeading::after {
  background: linear-gradient(90deg, rgba(255, 190, 80, 0.7), transparent);
}

/* ============ MORE THAN A REUNION ============ */

/*
 * Figma geometry on its 1920 frame: the band runs 976..1770 with content
 * from 1011..1631, laid out as a 1590-wide block holding a 519 text column
 * and a 996x604 collage 75 apart. Sizes are that share of 1920 (36px ->
 * 1.875vw), clamped at both ends.
 */
.reunion {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 1.82vw, 35px) 0 clamp(60px, 7.24vw, 139px);
}

.reunionInner {
  position: relative;
  z-index: 2;
  display: grid;
  /*
   * 519 / 75 / 996 of the Figma's 1590 block. Explicit percentages rather
   * than fr: the collage's aspect-ratio would otherwise resolve against
   * the row height and bully the text column out of its width.
   */
  grid-template-columns: 32.64% 62.64%;
  gap: 4.72%;
  align-items: start;
  /* 1590 of the Figma's 1920, so the margins scale with the layout. */
  width: min(1590px, 82.8%);
  margin: 0 auto;
}

/* The Figma starts the copy 98 below the top of the first frame. */
.reunionText {
  padding-top: clamp(0px, 5.1vw, 98px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.885vw, 17px);
  margin: 0;
  font-size: clamp(0.72rem, 0.833vw, 1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1875em;
  text-transform: uppercase;
  color: #fac53d;
}

.kicker svg {
  flex: none;
  width: clamp(16px, 1.09vw, 21px);
  height: clamp(16px, 1.09vw, 21px);
}

.reunionHeading {
  margin: clamp(10px, 0.94vw, 18px) 0 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.3rem, 1.875vw, 2.25rem);
  font-weight: 400;
  line-height: 1.667;
  color: #ffffff;
}

/* 72 on a 36 parent, over a left-to-right gold wash. */
.reunionHeading .script {
  display: block;
  margin-top: clamp(2px, 0.42vw, 8px);
  font-family: var(--font-playball), "Segoe Script", cursive;
  font-size: 2em;
  font-weight: 400;
  line-height: 0.95;
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.reunionLead {
  margin: clamp(12px, 0.99vw, 19px) 0 0;
  font-size: clamp(0.8rem, 0.833vw, 1rem);
  line-height: 1.5;
  color: #ffffff;
}

.pointList {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.94vw, 18px);
  margin: clamp(22px, 1.98vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  /*
   * The longest row is 521 wide against a 519 column in the Figma, so it
   * is allowed the same couple of per cent of overhang into the gutter
   * rather than wrapping onto a second line.
   */
  width: 104%;
}

.point {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.52vw, 10px);
  font-size: clamp(0.8rem, 0.833vw, 1rem);
  line-height: 1.5;
  color: #ffffff;
}

.pointIcon {
  flex: none;
  width: clamp(28px, 1.82vw, 35px);
  height: clamp(28px, 1.82vw, 35px);
  object-fit: contain;
}

/*
 * The Figma's 996x600 stage. Each frame is placed by its centre so the
 * rotation pivots where the design pivots it, which is what keeps the
 * overlaps reading in the right order.
 */
.collage {
  position: relative;
  width: 100%;
  aspect-ratio: 996 / 600;
}

/*
 * Each frame holds its tilt in --tilt rather than baking it into the
 * inline transform, so the transform can be composed here and the
 * arrival animated without the two fighting over the same property.
 *
 * Frames wait a little below their place, flat and slightly small, and
 * settle into the Figma angle when the cluster is scrolled into view -  * staggered by an inline transition-delay, so they land one after
 * another like photographs being laid out rather than all at once.
 */
.collageItem {
  position: absolute;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 34px)) rotate(0deg) scale(0.92);
  border: clamp(3px, 0.26vw, 5px) solid #fac53d;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.75, 0.3, 1),
    box-shadow 0.3s ease;
}

.settled .collageItem {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--tilt)) scale(1);
}

.settled .collageItem:hover {
  z-index: 3;
  /* Straightens and lifts a little under the cursor. */
  transform: translate(-50%, -50%) rotate(calc(var(--tilt) * 0.35)) scale(1.045);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  transition-delay: 0ms;
}
.collageItem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collageItem:hover {
  z-index: 3;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}

/* ---- decoration ---- */

/*
 * The Figma puts a 300px disc of #FFC000 here under a 474px blur. A
 * radial gradient gets to the same soft wash without asking the browser
 * to blur a layer that large.
 */
.reunionGlow {
  position: absolute;
  top: 24%;
  left: 52%;
  width: min(1100px, 58vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 192, 0, 0.17),
    rgba(255, 192, 0, 0.07) 45%,
    transparent 70%
  );
  pointer-events: none;
}

/* Three nested rings, mostly past the left edge of the frame. */
.reunionRings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reunionRings i {
  position: absolute;
  border: 3px solid rgba(250, 197, 61, 0.2);
  border-radius: 50%;
}

.reunionRings i:nth-child(1) {
  left: -5.36%;
  top: 32.9%;
  width: 9.95%;
  aspect-ratio: 191 / 225;
}

.reunionRings i:nth-child(2) {
  left: -4.17%;
  top: 27.3%;
  width: 12.08%;
  aspect-ratio: 232 / 313;
}

.reunionRings i:nth-child(3) {
  left: -4.69%;
  top: 30%;
  width: 10.99%;
  aspect-ratio: 211 / 271;
}

/* A gold disc hanging off the right edge, over the hero's lower curve. */
.reunionDisc {
  position: absolute;
  top: -1.4%;
  left: 97.03%;
  z-index: 3;
  width: 6.25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(90deg, #ff8800, #ffcc00);
  pointer-events: none;
}

/* ============ PHOTO FRAMES ============ */

.photo {
  position: relative;
  margin: 0;
  padding: 7px 7px 7px;
  background: #f3f0e8;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
}

.photo:hover {
  transform: rotate(0deg) scale(1.03) !important;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Stand-in until real pictures are dropped into public/photos/. */
.photoEmpty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  padding: 10px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #8a7f6b;
  background: repeating-linear-gradient(
    45deg,
    #e8e3d7,
    #e8e3d7 9px,
    #e1dbcd 9px,
    #e1dbcd 18px
  );
  border-radius: 2px;
}

.photoEmpty svg {
  width: 26px;
  height: 26px;
  color: #a79a82;
}

/* ============ STARFIELD (sections three to six) ============ */

/*
 * In the Figma one photograph runs behind Why Attend, the memories
 * strip, the form and the closing panel, under 50% black. It is
 * stretched to its frame there rather than cropped, so 100% 100% is
 * what matches; the top of that photograph is nearly black, which is
 * what keeps the join with the section above invisible.
 */
.starfield {
  position: relative;
  isolation: isolate;
  background: #07080e center top / 100% 100% no-repeat;
}

.starfield::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Shared by the centred section headings and their standfirsts. */
.sectionHeading {
  margin: 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #ffffff;
}

.sectionLead {
  max-width: 768px;
  margin: clamp(10px, 1.35vw, 26px) auto 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.04vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #d1d5db;
}

/* ============ WHY ATTEND ============ */

/*
 * A 72px sparkle each side of a 48px Orbitron heading, a 20px lead,
 * then four 400x304 cards 35 apart inside a 1705 container. Sizes are
 * that share of the Figma's 1920 width, clamped at both ends.
 */
.why {
  position: relative;
  padding: clamp(48px, 4.43vw, 85px) 0 clamp(40px, 4.2vw, 80px);
}

.whyGlowBlue,
.whyGlowViolet {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

.whyGlowBlue {
  top: 15.6vw;
  left: 72.5%;
  width: 2.5vw;
  height: 2.5vw;
  background: rgba(59, 130, 246, 0.2);
}

.whyGlowViolet {
  top: 20.8vw;
  left: 25%;
  width: 3.33vw;
  height: 3.33vw;
  background: rgba(138, 43, 226, 0.2);
}

.whyHead {
  display: flex;
  width: min(1705px, 88.8%);
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 1.88vw, 36px);
  margin: 0 auto;
}

.whySparkle {
  flex: none;
  width: clamp(32px, 3.75vw, 72px);
  height: clamp(32px, 3.75vw, 72px);
  background: var(--sparkle) center / contain no-repeat;
}

/* The wash the Figma puts on NAVOTSAV?, Campus and Memories. */
.gold {
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.whyGrid {
  display: grid;
  width: min(1705px, 88.8%);
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.82vw, 35px);
  margin: clamp(38px, 4.17vw, 80px) auto 0;
}

.card {
  display: flex;
  min-height: clamp(210px, 15.83vw, 304px);
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 2.34vw, 45px) clamp(12px, 1.3vw, 25px);
  text-align: center;
  border: 1px solid #ffd700;
  border-radius: clamp(10px, 0.83vw, 16px);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 16px var(--glow-out), inset 0 0 18px var(--glow-in);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  /* Keeps the edge glow and adds the lift shadow over it. */
  box-shadow: 0 0 22px rgba(255, 170, 40, 0.42),
    inset 0 0 18px var(--glow-in), 0 16px 38px rgba(255, 190, 60, 0.18);
}

.cardIcon {
  width: clamp(54px, 4.69vw, 90px);
  height: auto;
  object-fit: contain;
}

.cardTitle {
  margin: clamp(12px, 1.56vw, 30px) 0 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.5rem);
  font-weight: 700;
  line-height: 1.33;
  color: #ffffff;
}

.cardText {
  margin: clamp(7px, 0.68vw, 13px) 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.78rem, 0.833vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

/* ============ MEMORIES ============ */

.memories {
  position: relative;
  padding: clamp(60px, 6.5vw, 125px) 0 clamp(40px, 4.2vw, 80px);
}

/*
 * The Figma's 1832x361 strip, inset 44 either side of its 1920 frame.
 * Frames are placed by centre, exactly as the reunion collage is.
 */
.strip {
  position: relative;
  width: 95.4%;
  margin: clamp(32px, 3.4vw, 65px) auto 0;
  aspect-ratio: 1832 / 361;
}

/* ============ REGISTRATION ============ */

.register {
  position: relative;
  padding: clamp(48px, 4.9vw, 94px) 0 clamp(40px, 4.4vw, 85px);
}

/*
 * A 1533x755 panel over a photograph, with 40% black and a 2px gold
 * edge. The picture is a background rather than an <img> so the tint can
 * sit over it without another wrapper.
 */
.registerPanel {
  position: relative;
  width: min(1533px, 79.8%);
  margin: 0 auto;
  padding: clamp(28px, 3.3vw, 64px) clamp(18px, 2vw, 40px)
    clamp(32px, 3.6vw, 70px);
  border: 2px solid #fac53d;
  border-radius: clamp(8px, 0.63vw, 12px);
  box-shadow: 0 0 26px var(--glow-out), inset 0 0 34px rgba(255, 170, 40, 0.07);
  background: #07080e center / cover no-repeat;
}

.registerPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.4);
}

.registerPanel > * {
  position: relative;
}

.registerHead {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 29px);
}

/* 52 square here, against the 72 used over "Why Attend". */
.registerSparkle {
  flex: none;
  width: clamp(26px, 2.71vw, 52px);
  height: clamp(26px, 2.71vw, 52px);
  background: var(--sparkle) center / contain no-repeat;
}

/*
 * Two columns of 302x57 fields on a 104 pitch, 632 wide overall. The
 * field order is the one asked for rather than the Figma's, which still
 * has mobile number and state the other way round.
 */
.form {
  display: grid;
  width: min(632px, 100%);
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.56vw, 30px) clamp(12px, 1.46vw, 28px);
  margin: clamp(26px, 2.45vw, 47px) auto 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.57vw, 11px);
}

.label {
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.73vw, 0.875rem);
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.control {
  position: relative;
  display: block;
}

.input {
  width: 100%;
  height: clamp(46px, 2.97vw, 57px);
  padding: 0 clamp(14px, 1vw, 19px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.8rem, 0.73vw, 0.875rem);
  font-weight: 600;
  color: #ffffff;
  border: 1px solid #fac53d;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  appearance: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Leaves room for the chevron on the three dropdowns. */
select.input {
  padding-right: clamp(32px, 2.4vw, 46px);
}

.control:has(select)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(14px, 1vw, 19px);
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fac53d;
  border-bottom: 1.5px solid #fac53d;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(250, 197, 61, 0.25);
}

.input:disabled {
  color: rgba(255, 255, 255, 0.45);
  cursor: not-allowed;
}

.input option {
  color: #ffffff;
  background: #11131c;
}

.error {
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #ffb4a8;
}

.formError {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  color: #ffd9d2;
  border: 1px solid rgba(255, 120, 100, 0.5);
  border-radius: 8px;
  background: rgba(120, 20, 10, 0.35);
}

.submit {
  display: inline-flex;
  min-width: clamp(210px, 13.3vw, 255px);
  height: clamp(48px, 2.92vw, 56px);
  padding: 0 clamp(16px, 1.09vw, 21px);
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(16px, 1.98vw, 38px) auto 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 0.94vw, 1.125rem);
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  background: linear-gradient(
    136deg,
    rgba(255, 204, 0, 0.8),
    rgba(255, 136, 0, 0.8)
  );
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.submit svg {
  width: 16px;
  height: 16px;
}

.submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 160, 20, 0.38);
  filter: brightness(1.06);
}

.submit:disabled {
  cursor: progress;
  filter: saturate(0.6);
}

.success {
  max-width: 560px;
  margin: clamp(24px, 2.4vw, 46px) auto 0;
  padding: clamp(22px, 2vw, 38px);
  text-align: center;
  border: 1px solid #fac53d;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
}

.successTitle {
  margin: 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
}

.successText {
  margin: 12px 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 0.833vw, 1rem);
  line-height: 1.5;
  color: #e7e9f2;
}

/*
 * Share to WhatsApp. WhatsApp green rather than the page's gold, because
 * the colour is half of what tells you where the button goes before you
 * read it. White on #25d366 is only 1.98:1, so the label is dark ink on
 * the green instead, which is 8.4:1.
 */
.share {
  /* flex + fit-content, not inline-flex: it has to take its own line so
     the "Register another person" link falls underneath it, not beside */
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin: 20px auto 0;
  padding: 0 22px;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 0.9vw, 1rem);
  font-weight: 700;
  color: #06240f;
  text-decoration: none;
  border-radius: 50px;
  background: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
  transition: background 0.18s ease, transform 0.18s ease;
}

.share:hover {
  background: #2ee472;
  transform: translateY(-1px);
}

.share:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.shareIcon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: #06240f;
}

.linkButton {
  margin-top: 18px;
  padding: 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
  color: #fac53d;
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}

/* ============ YOUR HOMECOMING ============ */

.homecoming {
  position: relative;
  padding: clamp(40px, 4.4vw, 85px) 0 clamp(48px, 5.8vw, 111px);
}

/*
 * A 1533x416 panel: a photograph under a gold wash, the copy on the
 * left and the five marks scattered to the right.
 */
/*
 * A 1533x416 panel. Both of its fills are at a fifth opacity in the
 * Figma - the photograph as well as the gold over it - which is what
 * keeps the panel dark enough to read white copy against. Dropping the
 * picture in at full strength washes the heading out completely.
 *
 * Columns are the Figma's: a 705 text block and a 547 cluster inside a
 * 1400 content box, pushed to opposite edges.
 */
.homecomingPanel {
  position: relative;
  display: grid;
  width: min(1533px, 79.8%);
  min-height: clamp(260px, 21.7vw, 416px);
  /* 705 and 547 of the Figma's 1400 content box, with a little slack on
     the heading so "Your School. Your People." stays on one line. */
  grid-template-columns: 52.5% 39.1%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: clamp(20px, 2.3vw, 44px) 4.5% clamp(20px, 2.3vw, 44px) 4.2%;
  overflow: hidden;
  border-radius: clamp(12px, 1.04vw, 20px);
}

.homecomingPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: center / cover no-repeat;
}

.homecomingPanel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 197, 61, 0.2);
}

.homecomingPanel > * {
  position: relative;
  z-index: 1;
}

.homecomingSheepLeft,
.homecomingSheepRight {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.homecomingSheepLeft {
  left: 0;
  width: 29.7%;
  background-position: left top;
  background-size: 100% 113%;
}

.homecomingSheepRight {
  right: 0;
  width: 17%;
  background-position: right top;
  background-size: 100% 118%;
}

.homecomingHeading {
  margin: 0;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.homecomingLead {
  margin: clamp(12px, 0.89vw, 17px) 0 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.04vw, 1.25rem);
  line-height: 1.4;
  color: #ffffff;
}

.homecoming .cta {
  height: clamp(46px, 2.92vw, 56px);
  margin-top: clamp(16px, 1.25vw, 24px);
}

/* A 547x294 cluster, set in two offset rows rather than a grid. */
.homecomingPoints {
  position: relative;
  margin: 0;
  padding: 0;
  aspect-ratio: 547 / 294;
  list-style: none;
}

.homecomingPoint {
  position: absolute;
  display: flex;
  width: 29.07%;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 0.52vw, 10px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.94vw, 1.125rem);
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  color: #ffffff;
}

.homecomingPoint img {
  width: clamp(44px, 4.17vw, 80px);
  height: auto;
}

/* ============ FOOTER ============ */

/*
 * The Figma cuts straight from the near-black above to this sunset at
 * full strength, which leaves a hard line across the page. The image
 * is kept as drawn and faded up out of the page colour instead, so the
 * footer emerges from the section above rather than starting abruptly.
 */
.footer {
  position: relative;
  padding: clamp(30px, 3.9vw, 74px) 0;
  background: #07080e center / cover no-repeat;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(70px, 8vw, 150px);
  background: linear-gradient(180deg, #07080e 0%, rgba(7, 8, 14, 0.72) 38%, rgba(7, 8, 14, 0) 100%);
  pointer-events: none;
}

.footerInner {
  position: relative;
  display: flex;
  width: min(1540px, 90%);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.3vw, 44px);
  margin: 0 auto;
}

.footerBrand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 29px);
}

/*
 * The samiti emblem is drawn for white: its lettering and outlines are
 * dark navy, which disappears against the sunset behind the footer. It
 * gets the white field it expects, with the gold edge used elsewhere on
 * the page so the plate reads as part of the design.
 *
 * content-box keeps the emblem itself at the 90 the Figma draws, with
 * the plate growing outwards around it rather than squeezing it.
 */
.footerLogo {
  box-sizing: content-box;
  width: clamp(56px, 4.69vw, 90px);
  height: auto;
  padding: clamp(5px, 0.47vw, 9px);
  border: 1px solid var(--glow-line);
  border-radius: clamp(8px, 0.73vw, 14px);
  background: #ffffff;
  box-shadow: 0 0 14px var(--glow-out);
}

.footerBrand strong {
  display: block;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.46vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.footerBrand em {
  display: block;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.15vw, 1.375rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.27;
  color: #ffffff;
}

/* The hairlines the Figma sets between the footer's columns. */
.footerCol,
.footer .footerNote {
  padding-left: clamp(18px, 2.3vw, 44px);
  border-left: 1px solid #fac53d;
}

.footerLabel {
  margin: 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.04vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}

.footerSocial {
  display: flex;
  gap: clamp(8px, 0.78vw, 15px);
  margin: clamp(8px, 0.73vw, 14px) 0 0;
}

.footerSocial a {
  display: inline-flex;
  width: clamp(28px, 2.19vw, 42px);
  height: clamp(28px, 2.19vw, 42px);
  color: #ffffff;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footerSocial a:hover {
  color: #fac53d;
  transform: translateY(-2px);
}

.footerSocial svg {
  width: 100%;
  height: 100%;
}

.footerPartner {
  display: block;
  width: clamp(150px, 12.24vw, 235px);
  height: auto;
  margin-top: clamp(6px, 0.47vw, 9px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

a:hover > .footerPartner {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footerNote {
  margin: 0;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.04vw, 1.25rem);
  line-height: 1.4;
  color: #ffffff;
}

/* ============ RESPONSIVE ============ */

/*
 * Below the design width the scattered arrangements have too little room
 * to read, so the two-column sections stack and both photo clusters fall
 * back to plain grids that keep a hint of the Figma's tilt.
 */
@media (max-width: 980px) {
  .reunionInner {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 56px);
    width: min(1590px, 100% - clamp(32px, 8vw, 80px));
  }

  .reunionText {
    padding-top: 0;
  }

  /* Four cards across is too tight below the design width. */
  .whyGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .whyGlowBlue,
  .whyGlowViolet {
    display: none;
  }

  .collage,
  .strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    aspect-ratio: auto;
    width: auto;
  }

  .collageItem {
    position: static;
    /* Overrides the per-frame geometry set inline from the Figma. */
    width: auto !important;
    height: auto !important;
    aspect-ratio: 437 / 316;
    transform: translateY(26px) rotate(0deg) scale(0.94);
  }

  .settled .collageItem {
    transform: translateY(0) rotate(var(--tilt)) scale(1);
  }

  .settled .collageItem:hover {
    transform: translateY(0) rotate(var(--tilt)) scale(1.03);
  }

  /* A gentler alternation than the Figma angles, which are too steep
     once the frames sit in a plain grid. */
  .collageItem:nth-child(odd) {
    --tilt: -3deg !important;
  }

  .collageItem:nth-child(even) {
    --tilt: 3deg !important;
  }

  /* Five frames across two columns leaves the last one alone on the
     left, so it takes the whole row and sits in the middle of it. */
  .strip .collageItem:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px) !important;
  }

  .reunionGlow,
  .reunionRings {
    display: none;
  }

  .registerPanel {
    width: min(1533px, 100% - clamp(32px, 8vw, 80px));
  }

  /*
   * The closing panel stacks, and its five marks leave the Figma's
   * offset rows for a row that wraps - there is no width left to
   * scatter them in.
   */
  .homecomingPanel {
    grid-template-columns: 1fr;
    /* Stacked there is nothing between the rows: the desktop layout
       leans on space-between across the columns, which stops applying
       once they become rows, so the copy and the marks met. */
    gap: clamp(26px, 7vw, 40px);
    width: min(1533px, 100% - clamp(32px, 8vw, 80px));
    text-align: center;
  }

  .homecomingText {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .homecomingPoints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 18px;
    aspect-ratio: auto;
  }

  .homecomingPoint {
    position: static;
    width: clamp(110px, 26%, 160px);
  }

  .homecomingSheepLeft,
  .homecomingSheepRight {
    display: none;
  }
}

@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }

  .strip,
  .collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .registerPanel {
    padding: 22px 18px;
  }

  .whyGrid {
    grid-template-columns: 1fr;
  }

  /* The sparkles crowd the headings at phone width. */
  .whySparkle,
  .registerSparkle {
    display: none;
  }

  .footerInner {
    flex-direction: column;
    text-align: center;
  }

  /* With the columns stacked the dividing hairlines make no sense. */
  .footerCol,
  .footer .footerNote {
    padding-left: 0;
    border-left: 0;
  }

  .footerCol {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Frames in place at once, with no arrival travel. */
  .collageItem {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--tilt));
    transition: none;
  }

  /* Hold the first background still rather than dissolving between them. */
  .heroPhotoAlt {
    animation: none;
  }

  .maanMark,
  .navotsav,
  .meetLine,
  .tagline,
  .dateRow,
  .cta,
  .countdown {
    animation: none;
  }
}

/* ============ REGISTRATION TALLY ============ */

/*
 * The running count, pinned to the bottom right of the window on every
 * screen. It is a link to the form, since someone reading how many have
 * signed up is the likeliest person to want to join them.
 */
.tally {
  position: fixed;
  right: clamp(12px, 1.6vw, 28px);
  bottom: clamp(12px, 1.6vw, 28px);
  z-index: 40;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: clamp(12px, 0.95vw, 18px) clamp(13px, 1.04vw, 20px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  /* every child sets its own colour, but without this the anchor falls
     back to the browser's link blue if one ever does not */
  color: #ffffff;
  border: 1px solid var(--glow-line);
  border-radius: 999px;
  background: rgba(10, 10, 20, 0.82);
  box-shadow: 0 0 16px var(--glow-out), inset 0 0 14px var(--glow-in),
    0 10px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeUp 0.5s both ease-out;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tally:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 170, 40, 0.45),
    inset 0 0 14px var(--glow-in), 0 14px 32px rgba(0, 0, 0, 0.55);
}

.tally strong {
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.04vw, 1.25rem);
  font-weight: 700;
  line-height: 1;
  color: #ffd21e;
}

.tally span {
  font-size: clamp(0.68rem, 0.73vw, 0.875rem);
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}

/* On a phone it sits above the thumb, and loses the long label. */
@media (max-width: 640px) {
  .tally span {
    font-size: 0.66rem;
  }
}

/* Under 360px the two pills stop fitting a line with the long noun. */
@media (max-width: 360px) {
  .tallyNoun {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tally {
    animation: none;
  }
}

/* ---------------- WHO IS COMING ---------------- */

.directory {
  margin: clamp(40px, 5vw, 96px) 0 0;
}

/*
 * The roll sits on its own panel rather than straight on the starfield.
 * The starfield's bright streaks run right through this part of the page
 * and 54 small tiles have nowhere near enough mass to hold against them,
 * so the grid was hard to read. Same treatment as the form panel above
 * it - the photograph, a gold edge - but with a heavier scrim, because
 * this panel carries small text rather than large fields.
 */
.directoryPanel {
  position: relative;
  width: min(1533px, 79.8%);
  margin: 0 auto;
  padding: clamp(24px, 2.8vw, 52px) clamp(16px, 1.8vw, 36px)
    clamp(28px, 3vw, 56px);
  border: 2px solid #fac53d;
  border-radius: clamp(8px, 0.63vw, 12px);
  box-shadow: 0 0 26px var(--glow-out), inset 0 0 34px rgba(255, 170, 40, 0.07);
  /*
   * A warmed, darkened copy of memories/3 rather than the original. The
   * photograph as shot is colour-neutral (red leads blue by -3) and nearly
   * three times brighter than the other panel images, so it read as a
   * different, colder material next to the form panel directly above it.
   * The prepared copy matches that panel's temperature exactly (red leads
   * blue by 18) and sits in its luminance range, which also lets the scrim
   * come back down to roughly what the form panel uses.
   */
  background: #07080e center / cover no-repeat;
}

.directoryPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Pure black like the form panel above and the starfield behind it, at
     close to the form panel's own 0.4. Kept light on purpose: the
     photograph is meant to be seen here, not just felt. */
  background: rgba(0, 0, 0, 0.42);
}

.directoryPanel > * {
  position: relative;
}

.directoryHead {
  margin-bottom: clamp(20px, 2.2vw, 42px);
}

/*
 * auto-fill rather than auto-fit: with 54 schools the row should stay a
 * grid of small tiles, not stretch three of them across the whole width
 * when a filter leaves only a few.
 */
.directoryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(8px, 0.7vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.directoryTile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: clamp(10px, 0.85vw, 16px) clamp(12px, 1vw, 18px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(250, 197, 61, 0.3);
  border-radius: 12px;
  /* the same dark surface the floating badge uses */
  background: rgba(10, 10, 20, 0.72);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, background 0.16s ease;
}

.directoryTile:hover:not(:disabled),
.directoryTile:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--glow-line);
  background: rgba(18, 16, 30, 0.72);
  box-shadow: 0 0 18px var(--glow-out), inset 0 0 14px var(--glow-in);
}

/* A school nobody has registered from yet still shows, so the roll is the
   whole state, but it is plainly not something to open. */
/*
 * A school nobody has registered from yet still shows, so the roll is the
 * whole state, but it is plainly not something to open.
 *
 * The dimming is done with colour rather than opacity. At 0.42 opacity the
 * tile's dark background faded along with its text, leaving pale grey
 * lettering on the lit photograph behind it at 4.1:1 - under AA. Keeping
 * the surface opaque and dimming only the text holds it above 4.5:1.
 */
.directoryTile[data-empty] {
  cursor: default;
  color: #9aa0ae;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 20, 0.66);
}

.directoryName {
  font-size: clamp(0.78rem, 0.83vw, 0.98rem);
  font-weight: 600;
  line-height: 1.25;
}

.directoryCount {
  flex: none;
  min-width: 30px;
  padding: 3px 8px;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.78vw, 0.92rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: #ffd21e;
  border-radius: 999px;
  background: rgba(255, 190, 60, 0.12);
}

.directoryTile[data-empty] .directoryCount {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------------- the drill-down ---------------- */

.dialogWrap {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 32px);
}

/* A real button, so the backdrop can be reached and dismissed by keyboard
   as well as by pointer. */
.dialogBackdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(3, 4, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dialogPanel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(78vh, 720px);
  padding: clamp(16px, 1.6vw, 26px);
  border: 1px solid var(--glow-line);
  border-radius: 16px;
  background: #0b0b16;
  box-shadow: 0 0 30px var(--glow-out), inset 0 0 22px var(--glow-in),
    0 26px 60px rgba(0, 0, 0, 0.6);
}

.dialogPanel:focus {
  outline: none;
}

.dialogHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialogKicker {
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd21e;
}

.dialogBack,
.dialogClose {
  padding: 4px 10px;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dialogClose {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.dialogBack:hover,
.dialogClose:hover,
.dialogBack:focus-visible,
.dialogClose:focus-visible {
  border-color: var(--glow-line);
  background: rgba(255, 190, 60, 0.12);
}

.dialogTitle {
  margin: clamp(10px, 1vw, 16px) 0 clamp(12px, 1.2vw, 20px);
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.dialogYears,
.dialogPeople {
  overflow-y: auto;
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
}

.dialogYears {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}

.dialogYear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(250, 197, 61, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dialogYear:hover,
.dialogYear:focus-visible {
  border-color: var(--glow-line);
  background: rgba(255, 190, 60, 0.12);
}

.dialogYear strong {
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  color: #ffd21e;
}

.dialogPeople {
  counter-reset: person;
}

.dialogPeople li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dialogPeople li::before {
  counter-increment: person;
  content: counter(person);
  flex: none;
  min-width: 22px;
  font-family: var(--font-display), "Segoe UI", system-ui, sans-serif;
  font-size: 0.7rem;
  color: #8a8aa0;
}

.dialogPerson {
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.dialogPersonJnv {
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: #9ca3af;
}

/*
 * On a phone the panel takes nearly the full width and the tiles shrink,
 * so the roll stays two columns. At the section's usual 79.8% it fell to
 * a single column, which is 54 rows to scroll past.
 */
@media (max-width: 640px) {
  .directoryPanel {
    width: 93%;
    padding: 22px 12px 26px;
  }

  .directoryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .directoryTile {
    padding: 9px 10px;
  }

  .directoryName {
    font-size: 0.72rem;
  }

  .dialogPanel {
    max-height: 84vh;
  }
}

/*
 * The left-hand companion to .tally. Gold and filled because it does
 * something - it jumps to the roll - where the badge on the right only
 * reports a number. Same pill geometry so the two read as a pair.
 */
.attending {
  position: fixed;
  left: clamp(12px, 1.6vw, 28px);
  bottom: clamp(12px, 1.6vw, 28px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 0.95vw, 18px) clamp(13px, 1.04vw, 20px);
  font-family: var(--font-ui), "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.68rem, 0.73vw, 0.875rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: #1c1203;
  border: 1px solid rgba(255, 221, 150, 0.7);
  border-radius: 999px;
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  box-shadow: 0 0 18px rgba(255, 170, 40, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.5s both ease-out;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* The short label is the phone's; the stylesheet swaps them. */
.attendingNarrow {
  display: none;
}

.attending:hover,
.attending:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 190, 60, 0.6), 0 14px 32px rgba(0, 0, 0, 0.5);
}

.attendingIcon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #1c1203;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*
 * On a phone the two pills share a line, which only works if both are
 * trimmed: at full size they measure 183px and 177px against a 375px
 * screen and would have met in the middle. The wording on both stays
 * whole - the gold pill gives up its glyph instead, and both drop some
 * padding and type size.
 */
/*
 * On a phone the pair shares one 375px line, and at the sizes that took,
 * they were 36px tall with 9.6px type: under the 44px a thumb needs, and
 * too quiet to notice. The shorter label on the left is what pays for
 * both. The dark badge also gains opacity and a brighter rim, because at
 * 0.82 it was reading as part of the page behind it.
 */
@media (max-width: 680px) {
  .attending,
  .tally {
    left: 8px;
    right: 8px;
    min-height: 44px;
    padding: 0 10px;
    /*
     * Both pills centre their contents here.
     *
     * .tally aligns on the baseline at desktop width, which is right when
     * the pill is only as tall as its padding: it lines the big number up
     * with the caption. But min-height makes the pill taller than its
     * contents, and a baseline has nothing to centre against, so the text
     * sat at the top with 29px of empty pill underneath it.
     */
    align-items: center;
  }

  .attending {
    right: auto;
    gap: 7px;
    font-size: 0.7rem;
    border-color: rgba(255, 236, 190, 0.85);
    box-shadow: 0 0 22px rgba(255, 170, 40, 0.55),
      0 8px 22px rgba(0, 0, 0, 0.55);
  }

  .tally {
    left: auto;
    gap: 6px;
    background: rgba(12, 11, 24, 0.95);
    border-color: rgba(255, 196, 80, 0.65);
    box-shadow: 0 0 20px rgba(255, 170, 40, 0.3),
      inset 0 0 14px var(--glow-in), 0 8px 22px rgba(0, 0, 0, 0.6);
  }

  /*
   * The two pills are fixed in the bottom 52px of the screen, and at the
   * very end of the page that is exactly where the copyright line sits:
   * it was running underneath both of them. Give the footer enough room
   * below its last line for the pills to have their own space.
   */
  .footer {
    padding-bottom: 86px;
  }

  .attendingWide {
    display: none;
  }

  .attendingNarrow {
    display: inline;
  }

  .attendingIcon {
    width: 16px;
    height: 16px;
  }

  .tally strong {
    font-size: 0.88rem;
  }

  .tally span {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .attending {
    animation: none;
  }
}


/* ---- backgrounds applied by site.js just before they scroll in ---- */
.starfield.bgReady {
  background-image: url("/stars.webp");
}
.registerPanel.bgReady {
  background-image: url("/form-bg.webp");
}
.directoryPanel.bgReady {
  background-image: url("/memories/3-panel.webp");
}
.homecomingPanel.bgReady::before {
  background-image: url("/above/panel.webp");
}
.footer.bgReady {
  background-image: url("/form-bg.webp");
}
.bgReady .homecomingSheepLeft {
  background-image: url("/above/sheap1.webp");
}
.bgReady .homecomingSheepRight {
  background-image: url("/above/sheap2.webp");
}
