/* ============================================================
   SHIMLA FLYING FESTIVAL 2026 · WHEELS TO WINGS CYCLOTHON
   One page: event showcase + registration + parent consent +
   corrections + status. Built on the site's design tokens.
   ============================================================ */
:root {
  --fx-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --fx-amber: #F2AA28;
  --fx-amber-deep: #D98A0A;
  --fx-ink: #071510;
  --fx-forest: #0D2B1A;
  --fx-glass: rgba(255, 255, 255, .08);
  --fx-line: rgba(255, 255, 255, .14);
}
.fx-page { background: var(--bg-color); }
/* the tilted ticker and the hero zoom are wider than the screen: never let them cause sideways scrolling */
#fx-main { overflow-x: hidden; overflow-x: clip; }
.fx-dark { background: var(--fx-ink); color: #E8EFEA; }
.fx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.fx-eyebrow { font: 700 .78rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--fx-amber); }
.fx-h2 { font: 400 clamp(2.2rem, 5.4vw, 4.2rem)/1 var(--fx-display); letter-spacing: .01em; text-transform: uppercase; margin: .55rem 0 1rem; color: var(--text-heading); }
.fx-dark .fx-h2 { color: #fff; }
.fx-h2 em { font-style: normal; color: var(--fx-amber-deep); }
.fx-dark .fx-h2 em { color: var(--fx-amber); }
.fx-lead { font-size: 1.08rem; line-height: 1.75; color: var(--muted-dark); max-width: 640px; }
.fx-dark .fx-lead { color: #B8C7BE; }
.fx-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.fx-btn { display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px; padding: 1rem 1.7rem; font: 700 1rem var(--font-body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.fx-btn--amber { background: linear-gradient(135deg, #F7B53B, #D98A0A); color: #1B1300; box-shadow: 0 10px 30px rgba(217, 138, 10, .38); }
.fx-btn--amber:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(217, 138, 10, .5); }
.fx-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.fx-btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.fx-btn--dark { background: var(--fx-forest); color: #fff; }
.fx-btn--dark:hover { background: #16402A; }
.fx-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- hero */
.fx-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--fx-ink); }
.fx-hero__img { position: absolute; inset: -4%; background: url('../images/festival/sff-hero.jpg') center 35% / cover no-repeat; animation: fxKen 26s ease-in-out infinite alternate; }
@keyframes fxKen { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -2%, 0); } }
.fx-hero__shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 75% 30%, rgba(242, 170, 40, .18), transparent 55%),
  linear-gradient(90deg, rgba(7, 21, 16, .92) 0%, rgba(7, 21, 16, .72) 42%, rgba(7, 21, 16, .25) 75%, rgba(7, 21, 16, .35) 100%),
  linear-gradient(180deg, rgba(7, 21, 16, .5) 0%, transparent 30%, transparent 70%, var(--fx-ink) 100%); }
.fx-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 90px; }
.fx-hero__presents { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--fx-line); font: 700 .78rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--fx-amber); }
.fx-hero__presents i { width: 8px; height: 8px; border-radius: 50%; background: var(--fx-amber); box-shadow: 0 0 0 0 rgba(242, 170, 40, .7); animation: fxPulse 2s infinite; }
@keyframes fxPulse { 70% { box-shadow: 0 0 0 12px rgba(242, 170, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 170, 40, 0); } }
.fx-hero__title { font: 400 clamp(3.6rem, 13vw, 10.5rem)/.86 var(--fx-display); text-transform: uppercase; margin: 1.3rem 0 .4rem; letter-spacing: .005em; }
.fx-hero__title span { display: block; }
.fx-hero__title .fx-gold { background: linear-gradient(100deg, #FFD27A 0%, #F2AA28 40%, #D98A0A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(242, 170, 40, .25)); }
.fx-hero__sub { font: 600 clamp(1rem, 2.1vw, 1.35rem) var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: #fff; margin-bottom: 1.4rem; }
.fx-hero__tag { font: italic 500 clamp(1.15rem, 2.4vw, 1.6rem)/1.45 var(--font-heading); color: #D9E4DC; max-width: 560px; margin-bottom: 2rem; }
.fx-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.fx-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 12px; background: rgba(255, 255, 255, .09); border: 1px solid var(--fx-line); font-size: .92rem; font-weight: 600; backdrop-filter: blur(6px); }
.fx-count { display: flex; gap: .7rem; margin-bottom: 2.2rem; }
.fx-count__box { min-width: 86px; padding: .85rem .6rem .7rem; text-align: center; border-radius: 16px; background: rgba(7, 21, 16, .55); border: 1px solid rgba(242, 170, 40, .35); backdrop-filter: blur(8px); }
.fx-count__n { font: 400 clamp(2rem, 5vw, 3rem)/1 var(--fx-display); color: #fff; font-variant-numeric: tabular-nums; }
.fx-count__l { font: 700 .66rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--fx-amber); margin-top: .35rem; }
.fx-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.fx-status-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: #CFE0D4; margin-left: .4rem; }
.fx-status-pill b { color: #fff; }
.fx-status-pill i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 10px #4ADE80; }
.fx-status-pill.soon i { background: var(--fx-amber); box-shadow: 0 0 10px var(--fx-amber); }
.fx-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.fx-scroll::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: fxScroll 1.8s infinite; }
@keyframes fxScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- ticker */
.fx-ticker { background: linear-gradient(90deg, #F7B53B, #D98A0A); color: #1B1300; overflow: hidden; white-space: nowrap; padding: .95rem 0; transform: rotate(-1.2deg) scale(1.02); margin: -18px 0 0; position: relative; z-index: 3; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.fx-ticker__track { display: inline-flex; gap: 2.4rem; animation: fxMarq 36s linear infinite; font: 400 1.35rem/1 var(--fx-display); letter-spacing: .06em; text-transform: uppercase; }
.fx-ticker__track span::after { content: '✦'; margin-left: 2.4rem; opacity: .6; }
@keyframes fxMarq { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- concept */
.fx-concept { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fx-morph { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #0D2B1A, #071510); box-shadow: 0 30px 70px rgba(13, 43, 26, .35); }
.fx-morph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.fx-morph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-morph__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; font: 400 1.6rem/1.05 var(--fx-display); text-transform: uppercase; letter-spacing: .02em; }
.fx-morph__cap small { display: block; font: 600 .78rem var(--font-body); letter-spacing: .2em; color: var(--fx-amber); margin-bottom: .3rem; }
.fx-points { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.fx-point { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: start; }
.fx-point b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--fx-forest); color: var(--fx-amber); font: 400 1.5rem var(--fx-display); }
.fx-point h4 { margin: .15rem 0 .25rem; font: 700 1.08rem var(--font-body); color: var(--text-heading); }
.fx-point p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- categories */
.fx-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.6rem; }
.fx-cat { position: relative; border-radius: 24px; padding: 2rem 1.7rem 1.8rem; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--fx-line); overflow: hidden; transition: transform .3s, border-color .3s; }
.fx-cat:hover { transform: translateY(-6px); border-color: rgba(242, 170, 40, .6); }
.fx-cat__big { font: 400 4.6rem/1 var(--fx-display); color: transparent; -webkit-text-stroke: 1.5px rgba(242, 170, 40, .85); letter-spacing: .02em; }
.fx-cat h3 { font: 700 1.3rem var(--font-body); color: #fff; margin: .9rem 0 .5rem; }
.fx-cat p { color: #AFC0B5; line-height: 1.6; margin: 0; font-size: .97rem; }
.fx-cat__tag { display: inline-block; margin-top: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--fx-amber); text-transform: uppercase; }
.fx-cat::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 170, 40, .18), transparent 70%); }
.fx-note { margin-top: 1.6rem; font-size: .92rem; color: #93A79A; }

/* ---------------------------------------------------------------- prize */
.fx-prize { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.fx-podium { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 360px; padding-top: 70px; }
.fx-podium__step { width: 30%; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, var(--fx-forest), #071510); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 1rem; box-shadow: 0 20px 40px rgba(13, 43, 26, .3); }
.fx-podium__step b { font: 400 3rem/1 var(--fx-display); color: var(--fx-amber); }
.fx-podium__step span { font: 700 .74rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #BFD0C5; margin-top: .3rem; }
.fx-podium__step.p1 { height: 78%; background: linear-gradient(180deg, #F7B53B, #B87200); }
.fx-podium__step.p1 b, .fx-podium__step.p1 span { color: #1B1300; }
.fx-podium__step.p2 { height: 60%; }
.fx-podium__step.p3 { height: 46%; }
.fx-podium__wing { position: absolute; top: 0; left: 50%; width: 210px; transform: translateX(-50%); animation: fxFloat 5s ease-in-out infinite; }
@keyframes fxFloat { 50% { transform: translateX(-50%) translateY(-12px) rotate(-2deg); } }
.fx-prize__card { background: #fff; border-radius: 22px; padding: 1.4rem 1.5rem; box-shadow: 0 14px 40px rgba(13, 43, 26, .08); border: 1px solid #E6ECE7; margin-top: 1.4rem; }
.fx-prize__card li { margin: .45rem 0; color: var(--muted-dark); line-height: 1.55; }

/* ---------------------------------------------------------------- details */
.fx-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 2.4rem; }
.fx-detail { background: #fff; border: 1px solid #E6ECE7; border-radius: 20px; padding: 1.3rem 1.3rem 1.2rem; }
.fx-detail small { display: block; font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-amber-deep); }
.fx-detail b { display: block; font: 700 1.2rem/1.35 var(--font-body); color: var(--text-heading); margin-top: .45rem; }
.fx-detail span { display: block; color: var(--muted); font-size: .9rem; margin-top: .25rem; }

/* ---------------------------------------------------------------- legacy timeline */
.fx-legacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.8rem; position: relative; }
.fx-legacy::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: linear-gradient(90deg, transparent, rgba(242, 170, 40, .6), transparent); }
.fx-year { position: relative; padding-top: 70px; }
.fx-year__dot { position: absolute; top: 22px; left: 0; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--fx-amber); background: var(--fx-ink); }
.fx-year.now .fx-year__dot { background: var(--fx-amber); box-shadow: 0 0 0 8px rgba(242, 170, 40, .18); }
.fx-year__y { font: 400 2.6rem/1 var(--fx-display); color: #fff; }
.fx-year.now .fx-year__y { color: var(--fx-amber); }
.fx-year__ed { font: 700 .74rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fx-amber); margin: .3rem 0 .7rem; }
.fx-year p { color: #AFC0B5; line-height: 1.6; font-size: .95rem; margin: 0; }
.fx-legacy-photo { margin-top: 3rem; border-radius: 26px; overflow: hidden; position: relative; aspect-ratio: 21 / 8; }
.fx-legacy-photo img { width: 100%; height: 100%; object-fit: cover; }
.fx-legacy-photo span { position: absolute; left: 22px; bottom: 18px; font: 600 .85rem var(--font-body); color: #fff; background: rgba(7, 21, 16, .6); padding: .45rem .8rem; border-radius: 10px; }

/* ---------------------------------------------------------------- steps */
.fx-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 2.4rem; counter-reset: s; }
.fx-step { background: #fff; border: 1px solid #E6ECE7; border-radius: 20px; padding: 1.3rem 1.1rem; position: relative; }
.fx-step::before { counter-increment: s; content: '0' counter(s); font: 400 2rem/1 var(--fx-display); color: var(--fx-amber-deep); }
.fx-step h4 { margin: .6rem 0 .35rem; font: 700 1rem var(--font-body); color: var(--text-heading); }
.fx-step p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---------------------------------------------------------------- registration form */
.fx-reg { background: linear-gradient(180deg, var(--bg-color), #EEF3EE); }
.fx-card { background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(13, 43, 26, .12); border: 1px solid #E3E9E4; max-width: 860px; margin: 2.4rem auto 0; overflow: hidden; }
.fx-card__head { background: var(--fx-forest); color: #fff; padding: 1.4rem 1.8rem 1.2rem; }
.fx-progress { display: flex; gap: 6px; margin-top: 1rem; }
.fx-progress i { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .18); transition: background .3s; }
.fx-progress i.on { background: var(--fx-amber); }
.fx-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.fx-card__title h3 { margin: 0; font: 400 1.7rem/1.1 var(--fx-display); letter-spacing: .03em; text-transform: uppercase; }
.fx-card__title span { font-size: .85rem; color: #BFD0C5; }
.fx-card__body { padding: 1.8rem; }
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fx-grid .full { grid-column: 1 / -1; }
.fx-field label { display: block; font: 700 .82rem var(--font-body); color: #3D4A42; margin-bottom: .4rem; }
.fx-field label em { font-style: normal; color: #B3261E; }
.fx-field input, .fx-field select, .fx-field textarea { width: 100%; padding: .85rem .95rem; border: 1.5px solid #D6DED7; border-radius: 12px; font: 500 1rem var(--font-body); color: var(--text-heading); background: #FBFCFB; transition: border-color .2s, box-shadow .2s; }
.fx-field input:focus, .fx-field select:focus, .fx-field textarea:focus { outline: none; border-color: var(--fx-amber-deep); box-shadow: 0 0 0 4px rgba(217, 138, 10, .14); background: #fff; }
.fx-field .hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; line-height: 1.45; }
.fx-field.err input, .fx-field.err select { border-color: #D93025; }
.fx-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-seg label { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border: 1.5px solid #D6DED7; border-radius: 12px; cursor: pointer; font-weight: 700; color: #3D4A42; margin: 0; background: #FBFCFB; }
.fx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.fx-seg input:checked + span { color: var(--fx-forest); }
.fx-seg label:has(input:checked) { border-color: var(--fx-forest); background: #EEF4EF; box-shadow: inset 0 0 0 1px var(--fx-forest); }
.fx-catbox { display: none; margin-top: 4px; padding: 1rem 1.1rem; border-radius: 14px; background: linear-gradient(135deg, #0D2B1A, #16402A); color: #fff; align-items: center; gap: 1rem; }
.fx-catbox.show { display: flex; }
.fx-catbox b { font: 400 1.5rem var(--fx-display); color: var(--fx-amber); letter-spacing: .03em; }
.fx-catbox small { display: block; color: #BFD0C5; font-size: .82rem; }
.fx-catbox.bad { background: #FDECEA; color: #7A1C12; }
.fx-catbox.bad b { color: #B3261E; }
.fx-upload { border: 2px dashed #CBD6CD; border-radius: 16px; padding: 1.3rem; text-align: center; cursor: pointer; background: #FBFCFB; transition: border-color .2s, background .2s; display: block; }
.fx-upload:hover { border-color: var(--fx-amber-deep); background: #FFF9EE; }
.fx-upload input { display: none; }
.fx-upload img { max-height: 150px; max-width: 100%; border-radius: 10px; margin-top: .6rem; display: none; }
.fx-upload .fname { font-weight: 700; color: var(--fx-forest); margin-top: .4rem; }
.fx-decl { max-height: 290px; overflow: auto; border: 1.5px solid #E1E8E2; border-radius: 14px; padding: 1rem 1.2rem; background: #FBFCFB; font-size: .9rem; line-height: 1.6; color: #34413A; }
.fx-decl h5 { margin: .9rem 0 .25rem; font: 700 .92rem var(--font-body); color: var(--fx-forest); }
.fx-decl h5:first-child { margin-top: 0; }
.fx-decl p { margin: 0; }
.fx-check { display: flex; gap: .7rem; align-items: flex-start; margin: .75rem 0; font-size: .93rem; line-height: 1.5; color: #34413A; cursor: pointer; }
.fx-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--fx-forest); flex: none; }
.fx-sig { position: relative; border: 1.5px solid #CBD6CD; border-radius: 16px; background: #fff; touch-action: none; }
.fx-sig canvas { display: block; width: 100%; height: 180px; border-radius: 16px; cursor: crosshair; }
.fx-sig__hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #A4B1A8; pointer-events: none; font-size: .95rem; }
.fx-sig__line { position: absolute; left: 24px; right: 24px; bottom: 36px; border-bottom: 1.5px dashed #D3DCD5; pointer-events: none; }
.fx-sig__clear { position: absolute; right: 10px; top: 10px; background: #F1F4F1; border: 0; border-radius: 8px; padding: .35rem .7rem; font-size: .8rem; font-weight: 700; cursor: pointer; color: #3D4A42; }
.fx-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid #EDF1ED; }
.fx-err { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; background: #FDECEA; color: #7A1C12; font-size: .93rem; line-height: 1.5; }
.fx-err.show { display: block; }
.fx-info { padding: .9rem 1.05rem; border-radius: 14px; background: #FFF6E5; color: #5C4200; font-size: .9rem; line-height: 1.55; margin-bottom: 1.1rem; }
.fx-review { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: .94rem; }
.fx-review div { padding: .55rem 0; border-bottom: 1px solid #EEF2EE; }
.fx-review small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.fx-total { display: flex; justify-content: space-between; align-items: center; margin-top: 1.3rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #0D2B1A; color: #fff; }
.fx-total b { font: 400 2rem var(--fx-display); color: var(--fx-amber); }
.fx-done { text-align: center; padding: 1rem 0 .4rem; }
.fx-done__icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: #E7F5EC; font-size: 2.4rem; }
.fx-done h3 { font: 400 2.2rem/1.1 var(--fx-display); text-transform: uppercase; color: var(--fx-forest); margin: 0 0 .4rem; }
.fx-done .reg { display: inline-block; font: 400 1.8rem var(--fx-display); letter-spacing: .06em; color: var(--fx-amber-deep); background: #FFF6E5; border-radius: 14px; padding: .4rem 1.1rem; margin: .6rem 0 1rem; }
.fx-share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1rem; }
.fx-closed { text-align: center; padding: 2.2rem 1rem; }
.fx-closed h3 { font: 400 2rem var(--fx-display); text-transform: uppercase; color: var(--fx-forest); margin: 0 0 .5rem; }

/* status card */
.fx-statusbox { max-width: 860px; margin: 1.6rem auto 0; background: #fff; border: 1px solid #E3E9E4; border-radius: 22px; padding: 1.3rem 1.5rem; }
.fx-statusbox form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.fx-sres { margin-top: 1rem; display: none; }
.fx-sres.show { display: block; }
.fx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: .6rem 0; }
.fx-badge { font-size: .8rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: #EEF2EE; color: #3D4A42; }
.fx-badge.ok { background: #DDF3E5; color: #136C3A; }
.fx-badge.wait { background: #FFF1D6; color: #8A5A00; }
.fx-badge.no { background: #FDE2DF; color: #9A2418; }

/* ---------------------------------------------------------------- rules + faq */
.fx-acc { max-width: 900px; margin: 2rem auto 0; }
.fx-acc details { background: #fff; border: 1px solid #E3E9E4; border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.fx-acc summary { cursor: pointer; padding: 1.15rem 1.4rem; font: 700 1.05rem var(--font-body); color: var(--text-heading); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fx-acc summary::-webkit-details-marker { display: none; }
.fx-acc summary::after { content: '+'; font: 400 1.6rem/1 var(--font-body); color: var(--fx-amber-deep); transition: transform .2s; }
.fx-acc details[open] summary::after { transform: rotate(45deg); }
.fx-acc .body { padding: 0 1.4rem 1.3rem; color: var(--muted-dark); line-height: 1.7; font-size: .97rem; }
.fx-acc .body ul { padding-left: 1.2rem; margin: .4rem 0; }
.fx-acc .body li { margin: .3rem 0; }

/* ---------------------------------------------------------------- final CTA */
.fx-final { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(242, 170, 40, .22), transparent 60%), var(--fx-ink); color: #fff; }
.fx-final .fx-h2 { color: #fff; }

/* ---------------------------------------------------------------- consent / fix views */
.fx-solo { min-height: 100vh; padding: 120px 0 60px; background: linear-gradient(180deg, #0D2B1A 0, #0D2B1A 260px, #EEF3EE 260px); }
.fx-solo .fx-card { margin-top: 0; }
.fx-otp { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.fx-otp input { letter-spacing: .5em; font-size: 1.3rem; font-weight: 700; text-align: center; max-width: 220px; }
.fx-ok { padding: .85rem 1rem; border-radius: 12px; background: #E7F5EC; color: #136C3A; font-weight: 600; font-size: .93rem; }
.fx-issue { padding: .9rem 1rem; border-radius: 14px; background: #FFF6E5; border-left: 4px solid var(--fx-amber-deep); margin-bottom: .8rem; font-size: .93rem; line-height: 1.55; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- reveal */
.fx-rise { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.fx-rise.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .fx-concept, .fx-prize { grid-template-columns: 1fr; }
  .fx-cats { grid-template-columns: 1fr; }
  .fx-legacy { grid-template-columns: 1fr 1fr; }
  .fx-legacy::before { display: none; }
  .fx-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .fx-hero__inner { padding-top: 104px; }
  .fx-count { gap: .45rem; }
  .fx-count__box { min-width: 0; flex: 1; padding: .7rem .3rem .6rem; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-review { grid-template-columns: 1fr; }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-legacy { grid-template-columns: 1fr; }
  .fx-card__body { padding: 1.3rem; }
  .fx-statusbox form { grid-template-columns: 1fr; }
  .fx-podium { height: 300px; }
  .fx-legacy-photo { aspect-ratio: 4 / 3; }
  .fx-ticker__track { font-size: 1.1rem; }
  .fx-hero__ctas .fx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-hero__img, .fx-ticker__track, .fx-podium__wing, .fx-hero__presents i { animation: none; }
  .fx-rise { opacity: 1; transform: none; transition: none; }
}

/* the site's global heading / bold colours must not darken text on the dark sections */
.fx-hero__title, .fx-hero__title span:not(.fx-gold) { color: #fff; }
.fx-dark b, .fx-dark strong, .fx-hero b, .fx-final b { color: inherit; }
.fx-lead b { color: var(--text-heading); }
.fx-dark .fx-lead b { color: #fff; }
.fx-card__title h3 { color: #fff; }
.fx-done h3, .fx-closed h3 { color: var(--fx-forest); }
/* parent can say no on the consent page */
.fx-decline { display: block; margin: 1.1rem auto 0; background: none; border: 0; color: var(--muted-dark, #5b6660); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; padding: .4rem; }
.fx-decline:hover { color: #b3261e; }

/* ================================================================ festival-first layout (v4) */
@media (max-width: 800px) { .fx-hero__img { background-image: url('../images/festival/sff-hero-sm.jpg'); } }
.fx-hero__title { font-size: clamp(3.2rem, 11vw, 8.6rem); }

/* what's on */
.fx-on { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.4rem; }
.fx-on__card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--fx-ink); text-decoration: none; color: #fff; box-shadow: 0 18px 40px rgba(13, 43, 26, .18); }
.fx-on__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fx-on__card:hover img { transform: scale(1.06); }
.fx-on__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 21, 16, .92) 100%); }
.fx-on__body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; }
.fx-on__tag { display: inline-block; font: 700 .7rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #1B1300; background: var(--fx-amber); padding: .3rem .6rem; border-radius: 999px; }
.fx-on__body h3 { font: 400 1.7rem/1.05 var(--fx-display); text-transform: uppercase; color: #fff; margin: .6rem 0 .35rem; }
.fx-on__body p { margin: 0; font-size: .92rem; line-height: 1.5; color: #D5E1D9; }

/* 500 rupee festival flight */
.fx-fly { background: radial-gradient(ellipse at 85% 10%, rgba(242, 170, 40, .2), transparent 55%), var(--fx-ink); }
.fx-fly__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.fx-fly__pics { position: relative; min-height: 520px; }
.fx-fly__pics img { position: absolute; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.fx-fly__pics .a { left: 0; top: 0; width: 64%; height: 100%; }
.fx-fly__pics .b { right: 0; bottom: 8%; width: 52%; aspect-ratio: 3 / 2; border: 5px solid var(--fx-ink); }
.fx-price { display: flex; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.fx-price b { font: 400 clamp(3.4rem, 8vw, 5.4rem)/.9 var(--fx-display); color: var(--fx-amber); }
.fx-price span { display: block; font: 700 .78rem var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: #BFD0C5; margin-top: .4rem; }
.fx-price__was { font-size: .95rem; color: #9DB0A4; text-decoration: line-through; padding-bottom: .5rem; }
.fx-ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.fx-ticks li { position: relative; padding-left: 1.8rem; color: #DCE7E0; line-height: 1.55; }
.fx-ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(242, 170, 40, .18); color: var(--fx-amber); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.fx-fly__ctas, .fx-final__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.fx-final__ctas { justify-content: center; margin-top: 1rem; }

/* stalls */
.fx-stalls { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.fx-stalls__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fx-stalls__pics figure:first-child { grid-column: 1 / -1; }
.fx-stalls a { color: var(--fx-amber-deep); font-weight: 700; }

/* photo mosaics */
.fx-stalls__pics figure, .fx-mosaic figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: #0f2419; }
.fx-stalls__pics img, .fx-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.fx-stalls__pics figure:hover img, .fx-mosaic figure:hover img { transform: scale(1.05); }
.fx-stalls__pics figcaption, .fx-mosaic figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 600 .8rem var(--font-body); color: #fff; background: rgba(7, 21, 16, .65); padding: .4rem .7rem; border-radius: 10px; width: fit-content; backdrop-filter: blur(4px); }
.fx-mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 3rem; }
.fx-mosaic figure.big { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }

/* cyclothon opener */
.fx-w2w { position: relative; color: #fff; overflow: hidden; background: var(--fx-ink); padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); }
.fx-w2w__bg { position: absolute; inset: 0; background: url('../images/festival/w2w-forest.jpg') center 40% / cover no-repeat; }
.fx-w2w__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 44, .94) 0%, rgba(4, 18, 44, .78) 50%, rgba(4, 18, 44, .45) 100%), linear-gradient(180deg, var(--fx-ink) 0%, transparent 18%, transparent 80%, rgba(7, 21, 16, .9) 100%); }
.fx-w2w__inner { position: relative; z-index: 1; }
.fx-w2w__head { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; }
.fx-w2w__logo { width: clamp(180px, 26vw, 300px); height: auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.fx-w2w .fx-h2 { color: #fff; margin-bottom: .6rem; }
.fx-w2w .fx-h2 em { color: var(--fx-amber); }
.fx-w2w__sub { font: 600 clamp(.95rem, 1.8vw, 1.1rem) var(--font-body); letter-spacing: .08em; color: #D9E4DC; margin: 0; }
.fx-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 2.6rem 0 2rem; }
.fx-stats div { padding: 1.1rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid var(--fx-line); backdrop-filter: blur(6px); }
.fx-stats b { display: block; font: 400 clamp(1.7rem, 3.6vw, 2.5rem)/1 var(--fx-display); color: var(--fx-amber); }
.fx-stats span { display: block; font: 700 .7rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #C5D4CA; margin-top: .45rem; }
.fx-w2w__ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.fx-w2w__deadline { margin: 1.2rem 0 0; color: #C5D4CA; font-size: .95rem; }
.fx-w2w__deadline b { color: #fff; }

/* prize table */
.fx-prizes { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4rem 0 1.2rem; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(13, 43, 26, .1); }
.fx-prizes th { background: var(--fx-forest); color: #fff; font: 700 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: .85rem .9rem; text-align: left; }
.fx-prizes td { background: #fff; padding: .85rem .9rem; border-top: 1px solid #EDF1ED; font-weight: 600; color: var(--text-heading); }
.fx-prizes td:not(:first-child), .fx-prizes th:not(:first-child) { text-align: right; white-space: nowrap; }
.fx-prizes tr td:nth-child(2) { color: var(--fx-amber-deep); }
.fx-podium__step span { letter-spacing: .04em; font-size: .82rem; }

/* stay note */
.fx-stay { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: #FFF6E5; border-left: 4px solid var(--fx-amber-deep); line-height: 1.6; color: var(--text-heading); }
.fx-stay a { color: var(--fx-amber-deep); font-weight: 700; }

/* gallery + lightbox */
.fx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; margin-top: 2.4rem; }
.fx-gallery a { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #0f2419; }
.fx-gallery a.w { grid-column: span 2; }
.fx-gallery a.t { grid-row: span 2; }
.fx-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.fx-gallery a:hover img { transform: scale(1.06); }
.fx-gallery span { position: absolute; left: 10px; bottom: 10px; right: 10px; font: 600 .78rem var(--font-body); color: #fff; background: rgba(7, 21, 16, .65); padding: .35rem .65rem; border-radius: 9px; width: fit-content; opacity: 0; transform: translateY(6px); transition: .3s; }
.fx-gallery a:hover span, .fx-gallery a:focus-visible span { opacity: 1; transform: none; }
.fx-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(4, 10, 8, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px 40px; opacity: 0; transition: opacity .25s; }
.fx-lb.show { opacity: 1; }
.fx-lb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.fx-lb p { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #D5E1D9; font-size: .92rem; margin: 0; }
.fx-lb button { position: absolute; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.3rem; cursor: pointer; }
.fx-lb .x { right: 14px; }
.fx-lb .prev, .fx-lb .next { top: 50%; transform: translateY(-50%); }
.fx-lb .prev { left: 12px; }
.fx-lb .next { right: 12px; }

/* organiser */
.fx-org { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 2.6rem auto 0; max-width: 760px; text-align: left; padding: 1.1rem 1.3rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--fx-line); }
.fx-org img { width: 84px; height: 84px; border-radius: 14px; background: #fff; flex: 0 0 auto; }
.fx-org p { margin: 0; color: #C5D4CA; font-size: .9rem; line-height: 1.6; }
.fx-org b { color: #fff; }
.fx-org a { color: var(--fx-amber); }

@media (max-width: 1080px) {
  .fx-on { grid-template-columns: repeat(2, 1fr); }
  .fx-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .fx-fly__grid, .fx-stalls { grid-template-columns: 1fr; }
  .fx-fly__pics { min-height: 420px; }
  .fx-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .fx-on { gap: 12px; }
  .fx-on__card { aspect-ratio: 4 / 5; }
  .fx-on__body { left: 12px; right: 12px; bottom: 12px; }
  .fx-on__body h3 { font-size: 1.25rem; }
  .fx-on__body p { display: none; }
  .fx-fly__pics { min-height: 340px; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-stats div:first-child { grid-column: 1 / -1; }
  .fx-mosaic { grid-template-columns: 1fr 1fr; }
  .fx-mosaic figure.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .fx-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .fx-gallery span { opacity: 1; transform: none; font-size: .7rem; }
  .fx-prizes th, .fx-prizes td { padding: .7rem .55rem; font-size: .85rem; }
  .fx-org { flex-direction: column; text-align: center; }
  .fx-w2w__logo { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-on__card img, .fx-gallery img, .fx-mosaic img, .fx-stalls__pics img { transition: none; }
}

/* ================================================================ v5: the site's own type (Playfair Display + DM Sans),
   calmer details. Overrides the poster-style caps used above. */
:root { --fx-display: var(--font-heading); }
.fx-eyebrow { font: 700 .76rem/1.2 var(--font-body); letter-spacing: .12em; }
.fx-h2 { font: 700 clamp(2rem, 4.4vw, 3.3rem)/1.12 var(--font-heading); text-transform: none; letter-spacing: -.015em; margin: .6rem 0 1rem; }
.fx-h2 em { font-style: italic; font-weight: 600; }
.fx-lead { font-size: 1.05rem; }

/* hero */
.fx-hero__presents { letter-spacing: .1em; font-size: .76rem; }
.fx-hero__presents i { animation: none; box-shadow: none; }
.fx-hero__title { font: 800 clamp(2.9rem, 8.2vw, 6.4rem)/1.02 var(--font-heading); text-transform: none; letter-spacing: -.02em; margin: 1.1rem 0 .6rem; }
.fx-hero__title .fx-gold { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--fx-amber); filter: none; font-style: italic; font-weight: 700; }
.fx-hero__sub { font: 600 .92rem var(--font-body); letter-spacing: .12em; margin-bottom: 1.2rem; color: #E3ECE6; }
.fx-hero__tag { font: 400 clamp(1.05rem, 1.8vw, 1.22rem)/1.65 var(--font-body); color: #D9E4DC; max-width: 580px; }
.fx-chip { font-weight: 600; font-size: .9rem; border-radius: 999px; padding: .5rem .95rem; }
.fx-count__box { border-color: rgba(255, 255, 255, .22); }
.fx-count__n { font: 700 clamp(1.8rem, 4.2vw, 2.6rem)/1 var(--font-body); }
.fx-count__l { letter-spacing: .12em; color: #E9C47A; }

/* ticker: a straight, quiet band */
.fx-ticker { transform: none; margin: 0; padding: .75rem 0; box-shadow: none; }
.fx-ticker__track { font: 600 .95rem/1 var(--font-body); letter-spacing: .03em; text-transform: none; animation-duration: 60s; }
.fx-ticker__track span::after { content: '·'; opacity: .55; }

/* cards, numbers, headings inside sections */
.fx-on__body h3 { font: 700 1.45rem/1.2 var(--font-heading); text-transform: none; }
.fx-on__tag { letter-spacing: .08em; }
.fx-price b { font: 800 clamp(3rem, 7vw, 4.4rem)/1 var(--font-heading); }
.fx-price span, .fx-stats span, .fx-podium__step span, .fx-detail small, .fx-year__ed, .fx-count__l, .fx-prizes th { letter-spacing: .08em; }
.fx-stats b { font: 700 clamp(1.6rem, 3.2vw, 2.2rem)/1.1 var(--font-heading); }
.fx-cat__big { font: 700 3.4rem/1 var(--font-heading); color: var(--fx-amber); -webkit-text-stroke: 0; letter-spacing: -.01em; }
.fx-podium__step b { font: 700 2.6rem/1 var(--font-heading); }
.fx-year__y { font: 700 2.2rem/1 var(--font-heading); }
.fx-step::before { font: 700 1.7rem/1 var(--font-heading); }
.fx-morph__cap { font: 700 1.5rem/1.15 var(--font-heading); text-transform: none; letter-spacing: 0; }
.fx-morph__cap small { letter-spacing: .1em; }
.fx-card__title h3, .fx-done h3, .fx-closed h3 { font-family: var(--font-heading); font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.fx-catbox b, .fx-total b, .fx-done .reg { font-family: var(--font-heading); font-weight: 700; }
.fx-w2w__sub { letter-spacing: .03em; }
/* Playfair's old-style figures wobble in numbers: keep them on one line */
.fx-page, .fx-page * { font-variant-numeric: lining-nums; }
.fx-count__n { font-variant-numeric: lining-nums tabular-nums; }

/* numbers: DM Sans has straight figures (the served Playfair only has old-style ones) */
.fx-price b { font: 800 clamp(3rem, 7vw, 4.4rem)/1 var(--font-body); letter-spacing: -.03em; }
.fx-stats b { font: 800 clamp(1.6rem, 3.2vw, 2.2rem)/1.1 var(--font-body); letter-spacing: -.02em; }
.fx-cat__big { font: 800 3rem/1 var(--font-body); letter-spacing: -.03em; }
.fx-podium__step b, .fx-year__y { font-family: var(--font-body); font-weight: 800; letter-spacing: -.03em; }
.fx-step::before, .fx-total b, .fx-done .reg, .fx-catbox b { font-family: var(--font-body); font-weight: 800; }
/* route, once the organisers fill it in */
.fx-route { margin-top: 1.4rem; padding: 1.2rem 1.3rem; border-radius: 16px; background: #fff; border: 1px solid #E3E9E4; }
.fx-route small { display: block; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fx-route p { margin: .4rem 0 .9rem; line-height: 1.65; color: var(--text-heading); white-space: pre-line; }
.fx-route .fx-btn { padding: .75rem 1.2rem; font-size: .92rem; }

/* the site turns every link amber on hover: buttons and cards keep their own colours */
.fx-btn--amber:hover, .fx-btn--amber:focus-visible { color: #1B1300; }
.fx-btn--ghost:hover, .fx-btn--ghost:focus-visible { color: #fff; border-color: #fff; }
.fx-btn--dark:hover, .fx-btn--dark:focus-visible { color: #fff; }
.fx-on__card:hover, .fx-gallery a:hover { color: #fff; }
.fx-stalls a:hover, .fx-stay a:hover { color: var(--fx-forest); }
.fx-org a:hover { color: #fff; }
