/* Fans section, plus the memorial and commercial pages that share its plain article style.
   Fan pages are built from full-bleed photographs with a few words laid over them. Every photo
   panel takes its image from an --img custom property set inline, and darkens it for legibility. */
body[data-page="fans"] { background: #0a1430; }

/* ---------- Shared photo treatment ---------- */
.f-hero, .f-split > div, .f-strip figure, .f-mosaic > div {
  position: relative; isolation: isolate; overflow: hidden; background: #0f1d47;
}
.f-hero::before, .f-split > div::before, .f-strip figure::before, .f-mosaic > div::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--img) center / cover no-repeat; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .5s;
}
.f-hero::after, .f-split > div::after, .f-strip figure::after, .f-mosaic > div::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8, 16, 40, .92) 0%, rgba(8, 16, 40, .25) 55%, rgba(8, 16, 40, .55) 100%);
}

/* ---------- Section nav, laid over the photo ---------- */
/* The links between the fan pages: plain words with a gold underline on the page you are on. No boxes. */
.f-nav { position: absolute; top: 150px; left: max(24px, calc((100vw - 1240px) / 2)); z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
/* The three tabs sit over a photograph, so each has a dark, slightly frosted back to stay readable. */
.f-nav .chip { background: rgba(10, 20, 48, .62); border-color: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Heroes: one per page, each composed differently ---------- */
.f-hero { min-height: 100svh; display: flex; }
.f-hero h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; text-transform: none; letter-spacing: -.5px; line-height: 1.05; }
.f-hero-text p, .f-join > p { margin-top: 10px; font-size: clamp(18px, 1.8vw, 24px); color: #e3e6ef; }
.f-hero-text.left { align-self: flex-end; padding: 0 0 72px max(24px, calc((100vw - 1240px) / 2)); }
.f-hero-text.left h1 { padding-left: 18px; border-left: 4px solid var(--gold); }
.f-hero-text.left p { padding-left: 22px; }
.f-hero.trust::before { background-position: 70% 40%; }

.f-hero.alumni::before { filter: grayscale(1) contrast(1.1); background-position: 50% 30%; }
.f-hero.alumni::after { background: linear-gradient(0deg, rgba(8, 16, 40, .97) 0%, rgba(8, 16, 40, .85) 22%, rgba(8, 16, 40, 0) 48%), radial-gradient(90% 80% at 50% 40%, rgba(8, 16, 40, .1), rgba(8, 16, 40, .75) 100%); }
.f-hero-text.centre { margin: auto auto 84px; text-align: center; }
.f-year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); z-index: -1; font-size: clamp(160px, 30vw, 460px); font-weight: 900; line-height: 1; letter-spacing: -8px; color: rgba(255, 255, 255, .13); mix-blend-mode: overlay; pointer-events: none; }

.f-hero.supporters::after { background: linear-gradient(270deg, rgba(8, 16, 40, .9) 0%, rgba(8, 16, 40, .2) 60%); }
.f-join { align-self: center; margin-left: auto; margin-right: max(24px, calc((100vw - 1240px) / 2)); width: min(380px, calc(100% - 48px)); padding: 32px; background: rgba(8, 16, 40, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 4px solid var(--gold); }
.f-join dl { display: flex; gap: 32px; margin: 24px 0; }
.f-join dt { font-size: 13px; color: var(--muted); }
.f-join dd { margin: 0; font-size: 44px; font-weight: 800; line-height: 1; }

/* ---------- Trust: two tall halves ---------- */
.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; }
.f-split > div { min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; }
.f-split > div.pos-right::before { background-position: 100% 50%; }
.f-split > div:hover::before { transform: scale(1.04); }
.f-split span { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.f-split h2 { margin: 10px 0 8px; font-size: clamp(40px, 5vw, 72px); font-weight: 800; text-transform: none; letter-spacing: -1px; }
.f-split p { font-size: 19px; color: #e3e6ef; max-width: 44ch; }

/* ---------- Alumni: a strip you scroll sideways ---------- */
.f-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(46vw, 620px); gap: 4px; margin-top: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: transparent; }
.f-strip figure { margin: 0; height: 74vh; min-height: 420px; scroll-snap-align: start; display: flex; align-items: flex-end; }
.f-strip figure::before { filter: grayscale(.85) contrast(1.05); }
.f-strip figure:hover::before { filter: none; transform: scale(1.04); }
.f-strip figcaption { margin: 0; padding: 32px; font-size: 17px; color: #e3e6ef; }
.f-strip b { display: block; margin-bottom: 4px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: #fff; }

/* ---------- Supporters: a mosaic ---------- */
.f-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; margin-top: 4px; height: 92vh; min-height: 560px; }
.f-mosaic > div { display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; }
.f-mosaic .big { grid-row: 1 / 3; }
.f-mosaic > div:hover::before { transform: scale(1.04); }
.f-mosaic h2 { font-size: clamp(32px, 4vw, 60px); font-weight: 800; text-transform: none; letter-spacing: -1px; }
.f-mosaic p { margin-top: 6px; font-size: 18px; color: #e3e6ef; }

/* ---------- Overview: three doors ---------- */

/* ---------- Closing band and next links ---------- */
.f-band { padding: 88px max(24px, calc((100vw - 1240px) / 2)); display: grid; gap: 30px; justify-items: start; }
.f-band > p { max-width: 26ch; font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.f-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 48px; color: var(--muted); }
.f-band li b { display: block; font-size: 22px; color: #fff; }
.f-close { padding: 96px max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; background: #11224f; }
.f-close h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; text-transform: uppercase; max-width: 12ch; }
.f-close-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.f-close dl { margin: 0; border-top: 1px solid var(--line); }
.f-close dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.f-close dt { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.f-close dd { margin: 0; font-size: 19px; line-height: 1.45; color: #fff; }
@media (max-width: 860px) {
  .f-close { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .f-close dl > div { grid-template-columns: 1fr; gap: 6px; }
}
.f-quiet { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.f-quiet:hover { color: #fff; }
.f-next { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.f-next a { padding: 44px max(24px, calc((100vw - 1240px) / 2)); background: #11224f; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; transition: background .2s, color .2s; }
.f-next a:last-child { text-align: right; }
.f-next a:hover { background: var(--gold); color: #0a1430; }

/* ---------- Plain article pages (memorial, commercial) ---------- */
.fan-head { padding-top: 176px; }
.fan-head h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 800; line-height: 1; text-transform: none; letter-spacing: -1px; }
.fan-head > p { margin-top: 14px; max-width: 72ch; font-size: 20px; color: #c5cadb; }
.fan-photo { margin-block: 40px 0; }
.fan-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 35%; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.fan-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 56px; align-items: start; }
.fan-text { max-width: none; font-size: 18px; line-height: 1.65; color: #d5d9e6; }
.fan-text p + p { margin-top: 18px; }
.fan-intro { font-size: 23px; line-height: 1.45; color: #fff; }
.fan-text h2 { margin: 40px 0 10px; font-size: 26px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #fff; }
.fan-aside { position: sticky; top: 136px; display: grid; gap: 18px; }
.fan-aside dl { margin: 0; border-top: 2px solid var(--gold); }
.fan-aside dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fan-aside dt { font-size: 13px; color: var(--muted); }
.fan-aside dd { margin: 4px 0 0; font-weight: 600; }
.fan-section { padding: 72px 0 96px; }

/* Memorial page */
.mem-over { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.mem-head { padding-bottom: 8px; }
.mem-thanks { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 24px; color: #fff; }

/* Commercial page: video hero, reels, photo-backed groups */
.c-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #060d24; }
.c-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 16, 40, .95) 0%, rgba(8, 16, 40, .2) 50%, rgba(8, 16, 40, .6) 100%); }
.c-hero-text { position: relative; z-index: 1; padding: 0 max(24px, calc((100vw - 1240px) / 2)) 80px; }
.c-hero-text h1 { max-width: 14ch; font-size: clamp(44px, 7vw, 100px); font-weight: 800; line-height: 1; text-transform: none; letter-spacing: -1.5px; }
.c-hero-text .cta-row { margin-top: 32px; }
.c-clips { padding: 88px max(24px, calc((100vw - 1240px) / 2)) 0; }
.c-clips-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.c-clips h2, .c-way h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; text-transform: none; letter-spacing: -.5px; }
.c-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-reels figure { margin: 0; }
.c-reels iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; background: #11224f; }
.c-mascots { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 4px; margin-top: 4px; }
.c-mascot { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: #dfe3ea; }
.c-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.c-mascot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 30px 28px; background: linear-gradient(0deg, rgba(8, 16, 40, .95) 35%, transparent); }
.c-mascot span { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.c-mascot h2 { margin-top: 8px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; text-transform: none; letter-spacing: -.5px; }
.c-mascot p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: #d6dae6; }
.c-mascot-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 44px; background: linear-gradient(135deg, var(--navy-hi), var(--navy)); }
.c-mascot-cta h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; line-height: 1.1; text-transform: none; letter-spacing: -.5px; }
.c-mascot-cta p { font-size: 17px; line-height: 1.5; color: #d6dae6; }
@media (max-width: 900px) {
  .c-mascots { grid-template-columns: 1fr 1fr; }
  .c-mascot-cta { grid-column: 1 / -1; padding: 36px 24px; }
}
@media (max-width: 560px) { .c-mascots { grid-template-columns: 1fr; } }
.c-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 88px; }
.c-way { position: relative; isolation: isolate; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; }
.c-way::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.c-way::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 16, 40, .96) 20%, rgba(8, 16, 40, .55) 70%, rgba(8, 16, 40, .35)); }
.c-way:hover::before { transform: scale(1.04); }
.c-way ul { list-style: none; margin: 22px 0 0; padding: 0; }
.c-way li { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.c-way li b { font-size: 19px; }
.c-way li span { grid-column: 1; font-size: 14px; color: var(--gold); }
.c-way li a { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .4); font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.c-way li a:hover { background: var(--gold); border-color: var(--gold); color: #0a1430; }
@media (max-width: 1100px) { .c-reels { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; } }
@media (max-width: 760px) { .c-ways { grid-template-columns: 1fr; margin-top: 56px; } .c-way { min-height: 420px; padding: 24px; } .c-hero-text { padding-bottom: 48px; } .c-clips { padding-top: 56px; } }

/* Commercial partnerships page */
.com-cta { margin-top: 28px; }
.com-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 48px; }
.com-why b { display: block; padding-top: 16px; border-top: 2px solid var(--gold); font-size: 20px; }
.com-why p { margin-top: 8px; color: #c5cadb; }
.com-block { padding-top: 88px; }
.com-block h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; text-transform: none; letter-spacing: -.5px; }
.com-sub { margin-top: 10px; max-width: 60ch; font-size: 18px; color: #c5cadb; }
.com-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; margin-top: 28px; }
.com-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); }
.com-card h3 { font-size: 24px; font-weight: 700; text-transform: none; }
.com-card p { color: #c5cadb; flex: 1; }
.com-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.com-foot b { color: var(--gold); font-weight: 600; }
.com-block .sponsor-grid { margin-top: 28px; }
.com-enquire { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; padding-bottom: 96px; align-items: start; }
.com-contact { margin-top: 24px; color: #d5d9e6; }
.com-contact a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.com-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; background: #11224f; border: 1px solid var(--line); }
.com-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.com-form input:not([type="checkbox"]), .com-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .22); background: #0a1430; color: #fff; font-size: 16px; font-weight: 400; }
.com-form input:focus, .com-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.com-form fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.com-form legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.com-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.com-checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; cursor: pointer; }
.com-checks input { width: 18px; height: 18px; accent-color: var(--gold); }
.com-form .wide { grid-column: 1 / -1; }
.com-note { font-size: 13px; color: var(--muted); }

@media (max-width: 1100px) {
  .fan-article, .com-enquire { grid-template-columns: 1fr; gap: 40px; }
  .fan-aside { position: static; max-width: 420px; }
  .f-strip { grid-auto-columns: 72vw; }
}
@media (max-width: 760px) {
  .f-nav { top: 116px; left: 16px; right: 16px; }
  .f-hero-text.left { padding: 0 16px 48px; }
  .f-join { margin: auto 16px 32px; width: auto; align-self: flex-end; }
  .f-split, .f-next { grid-template-columns: 1fr; }
  .f-split > div { min-height: 62vh; padding: 28px; }
  .f-strip { grid-auto-columns: 86vw; }
  .f-strip figure { height: 62vh; }
  .f-mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .f-mosaic > div { min-height: 46vh; padding: 24px; }
  .f-mosaic .big { grid-row: auto; }
  .f-band { padding-block: 56px; }
  .f-next a:last-child { text-align: left; }
  .fan-head { padding-top: 150px; }
  .fan-photo img { aspect-ratio: 3 / 2; }
  .fan-text { font-size: 17px; }
  .com-why { grid-template-columns: 1fr; gap: 24px; }
  .com-block { padding-top: 56px; }
  .com-form { grid-template-columns: 1fr; padding: 20px; }
  .com-checks { grid-template-columns: 1fr; }
  .com-enquire { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .f-hero::before, .f-split > div::before, .f-strip figure::before, .f-mosaic > div::before { transition: none; } }

/* ---------- Commercial: packages as a plain list (no photographs) ---------- */
.c-pk { margin-top: 88px; padding: 80px max(24px, calc((100vw - 1240px) / 2)); background: #11224f; }
.c-pk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.c-pk-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; text-transform: none; letter-spacing: -.5px; }
.c-pk-head p { max-width: 58ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
.c-pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 36px; }
.c-pk-col h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.c-pk-col ul { list-style: none; margin: 14px 0 0; padding: 0; }
.c-pk-col a { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); transition: padding-left .2s; }
.c-pk-col a:hover { padding-left: 8px; }
.c-pk-col b { font-size: 18px; font-weight: 600; }
.c-pk-col a:hover b { color: var(--gold); }
.c-pk-col span { font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1000px) { .c-pk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .c-pk { padding-block: 56px; margin-top: 56px; } .c-pk-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Packages, second pass: four cards in the same navy-and-gold style as the roster's team leaders. */
.c-pk { background: #0a1430; padding-block: 96px; }
.c-pk-head { align-items: flex-end; border-bottom: 0; padding-bottom: 0; }
.c-pk-kicker { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.c-pk-head h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
.c-pk-head p { font-size: 17px; color: #d6dae6; }
.c-pk-grid { gap: 16px; margin-top: 44px; align-items: stretch; }
.c-pk-col { position: relative; overflow: hidden; padding: 30px 28px 14px; background: linear-gradient(160deg, var(--navy-hi), var(--navy) 70%); border-top: 4px solid var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transition: transform .25s, box-shadow .25s; }
.c-pk-col:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.c-pk-n { position: absolute; right: 14px; top: 2px; font-size: 96px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); pointer-events: none; }
.c-pk-col h3 { position: relative; min-height: 2.1em; font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: .3px; text-transform: uppercase; color: #fff; }
.c-pk-col ul { margin-top: 22px; }
.c-pk-col a { position: relative; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.c-pk-col a:hover { padding-left: 0; }
.c-pk-col b { grid-column: 1; font-size: 17px; font-weight: 600; }
.c-pk-col span { grid-column: 1; font-size: 14px; font-weight: 600; color: var(--gold); }
.c-pk-col i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 18px; color: rgba(255, 255, 255, .45); transition: transform .2s, color .2s; }
.c-pk-col a:hover i { transform: translateX(4px); color: var(--gold); }
.c-pk-col a:hover b { color: #fff; }

/* ---------- Match day info ---------- */
.md-hero { position: relative; isolation: isolate; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.md-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('https://fifeflyers.co.uk/wp-content/uploads/2026/08/fyfe-flyers-2026-3.jpg') center 35% / cover no-repeat; }
.md-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0a1430 2%, rgba(8, 16, 40, .55) 50%, rgba(8, 16, 40, .7)); }
.md-hero-in { padding: 180px max(24px, calc((100vw - 1240px) / 2)) 64px; }
.md-kicker { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.md-hero h1 { margin-top: 14px; max-width: 12ch; font-size: clamp(44px, 7vw, 100px); font-weight: 800; line-height: 1; letter-spacing: -1.5px; text-transform: none; }
.md-hero p:not(.md-kicker) { margin-top: 18px; max-width: 58ch; font-size: 18px; line-height: 1.55; color: #d6dae6; }
.md-hero .cta-row { margin-top: 28px; }
.md-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); margin-top: 8px; }
.md-facts > div { padding: 26px 26px 24px; background: linear-gradient(160deg, var(--navy-hi), var(--navy) 70%); border-top: 4px solid var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.md-facts b { display: block; font-size: clamp(38px, 4.2vw, 60px); font-weight: 900; line-height: 1; letter-spacing: -1px; }
.md-facts span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: #d6dae6; }
.md-block { padding: 88px max(24px, calc((100vw - 1240px) / 2)) 0; }
.md-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.md-head h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
.md-head address, .md-head p { font-style: normal; font-size: 16px; color: var(--muted); }
.md-travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.md-travel h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.md-travel p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: #d6dae6; }
.md-faq { margin-top: 8px; max-width: 900px; }
.md-faq details { border-bottom: 1px solid var(--line); }
.md-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; }
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); font-size: 22px; font-weight: 400; color: var(--gold); transition: transform .2s; }
.md-faq details[open] summary::after { content: "–"; }
.md-faq summary:hover { color: var(--gold); }
.md-faq p { max-width: 80ch; margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: #d6dae6; }
.md-faq p:last-child { margin-bottom: 26px; }
.md-faq a, .md-ask a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.md-ask { margin: 88px 0 0; padding: 72px max(24px, calc((100vw - 1240px) / 2)); background: #11224f; }
.md-ask h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.5px; text-transform: none; }
.md-ask p { margin-top: 14px; font-size: 18px; color: #d6dae6; }
.md-ask .cta-row { margin-top: 26px; }
@media (max-width: 900px) { .md-facts { grid-template-columns: 1fr 1fr; } .md-travel { grid-template-columns: 1fr; gap: 28px; } .md-block { padding-top: 56px; } }

/* Match day: the evening as a four-step timeline (replaces the four number boxes). */
.md-times { padding: 56px max(24px, calc((100vw - 1240px) / 2)) 0; }
.md-times h2 { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.md-times ol { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 2px solid rgba(255, 255, 255, .22); }
.md-times li { position: relative; padding: 30px 28px 0 0; counter-increment: step; }
.md-times li::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #0a1430; }
.md-times li::after { content: "0" counter(step); display: block; position: absolute; right: 24px; top: 20px; font-size: 54px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); }
.md-times b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.3px; }
.md-times span { display: block; margin-top: 10px; max-width: 26ch; font-size: 16px; line-height: 1.5; color: #d6dae6; }
@media (max-width: 900px) { .md-times ol { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid rgba(255, 255, 255, .22); } .md-times li { padding: 0 0 30px 28px; } .md-times li::before { left: -8px; top: 6px; } .md-times li::after { display: none; } .md-times span { max-width: none; } }

/* Match day: closing row. Questions on the left, the rallying call beside it. */
.md-end { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 88px; }
.md-end .md-ask { margin: 0; padding: 72px 48px 72px max(24px, calc((100vw - 1240px) / 2)); }
.md-cheer { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 56px max(24px, calc((100vw - 1240px) / 2)) 56px 48px; }
.md-cheer::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('https://fifeflyers.co.uk/wp-content/uploads/2026/08/fyfe-flyers-2026-25.jpg') center 30% / cover no-repeat; }
.md-cheer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 16, 40, .95) 10%, rgba(14, 28, 65, .55) 70%, rgba(14, 28, 65, .35)); }
.md-cheer h2 { margin-top: 12px; max-width: 100%; font-size: clamp(28px, 3.3vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
@media (max-width: 900px) { .md-end { grid-template-columns: 1fr; margin-top: 56px; } .md-end .md-ask, .md-cheer { padding: 48px 24px; } .md-cheer { min-height: 320px; } }

/* Mascot panels keep their height in browsers without aspect-ratio support. */
.c-mascot { min-height: 420px; }
.c-mascot.pup img { object-position: 50% 45%; }

/* Instagram clips are loaded only on request. */
.c-reels-ask { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; padding: 32px; background: #11224f; border: 1px solid var(--line); }
.c-reels-ask ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 18px; font-weight: 600; }
.c-reels-ask p { font-size: 13px; color: var(--muted); }
.c-reels-ask a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- In memory of Jack Wishart: a banner that floats over the foot of the Alumni photo ---------- */
.jack { position: relative; z-index: 2; width: min(1240px, 100% - 48px); margin: -52px auto 56px; padding: 26px 32px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; background: rgba(12, 24, 58, .94); border: 1px solid rgba(246, 208, 0, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); scroll-margin-top: 150px; }
.jack-mark { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); padding-right: 32px; border-right: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
.jack h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; text-transform: none; letter-spacing: -.3px; line-height: 1.1; }
.jack-body p { margin-top: 6px; max-width: 70ch; font-size: 16px; line-height: 1.5; color: #d6dae6; }
.jack .btn { min-height: 44px; font-size: 15px; }
@media (max-width: 900px) {
  .jack { grid-template-columns: 1fr; width: calc(100% - 32px); margin: -36px auto 40px; padding: 22px 20px; }
  .jack-mark { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .jack .btn { justify-self: start; margin-top: 6px; }
}

/* ---------- Commercial page, "Let's talk": one panel with two halves of equal height ----------
   The photo half holds the words and the two ways to reach the club; the form half keeps short by showing the
   interests as chips. Neither half leaves empty space beside the other. */
.com-talk-sec { padding-bottom: 96px; }
.com-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 20px; overflow: hidden; background: #11224f; border: 1px solid var(--line); }
.com-talk { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 40px 36px 36px; }
.com-talk::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('https://fifeflyers.co.uk/wp-content/uploads/2026/08/fyfe-flyers-2026-36.jpg') 38% 50% / cover no-repeat; }
.com-talk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 48, .93) 0%, rgba(10, 20, 48, .62) 42%, rgba(10, 20, 48, .5) 58%, rgba(10, 20, 48, .94) 100%); }
.com-talk h2 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1; }
.com-talk .com-sub { margin-top: 14px; max-width: 34ch; font-size: 18px; line-height: 1.5; color: #e3e7f2; }
.com-ways { display: grid; gap: 10px; }
.com-ways a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 20, 48, .78); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .2s, transform .2s; }
.com-ways a:hover { border-color: var(--gold); transform: translateY(-2px); }
.com-ways svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.com-ways span { min-width: 0; }
.com-ways small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #aab6dc; }
.com-ways b { display: block; margin-top: 2px; font-size: 17px; overflow-wrap: anywhere; }
.com-where { margin-top: 6px; font-size: 14px; color: #d5d9e6; }
.com-panel .com-form { align-content: start; gap: 16px 18px; padding: 36px; background: none; border: 0; }
.com-panel .com-form input:not([type="checkbox"]), .com-panel .com-form textarea { border-radius: 10px; }
.com-panel .com-form textarea { resize: vertical; }
.com-panel legend span { margin-left: 8px; font-weight: 400; color: var(--muted); }
/* Interests as chips: tap to turn one gold */
.com-panel .com-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.com-panel .com-checks label { position: relative; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); font-size: 14px; font-weight: 600; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.com-panel .com-checks input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.com-panel .com-checks label:hover { border-color: #fff; }
.com-panel .com-checks label:has(input:checked) { background: var(--gold); border-color: var(--gold); color: #0a1430; }
.com-panel .com-checks label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1000px) {
  .com-panel { grid-template-columns: 1fr; }
  .com-talk { padding: 32px 24px 28px; gap: 28px; }
  .com-talk::before { background-position: 50% 40%; }
  .com-ways { grid-template-columns: 1fr 1fr; }
  .com-where { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .com-talk-sec { padding-bottom: 64px; }
  .com-panel { border-radius: 16px; }
  .com-talk { padding: 28px 18px 22px; }
  .com-ways { grid-template-columns: 1fr; }
  .com-panel .com-form { padding: 22px 18px; }
}

/* ---------- Supporters Club membership form (join.html) ----------
   What it costs and how payment works on the left; the form itself on the right. */
.jn { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; padding-top: 150px; padding-bottom: 90px; }
.jn h1 { margin-top: 14px; font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1.02; text-transform: none; letter-spacing: -.5px; }
.jn-lede { margin-top: 16px; max-width: 46ch; font-size: 18px; line-height: 1.55; color: #d6dae6; }
.jn-prices { display: flex; gap: 44px; margin: 28px 0 0; }
.jn-prices dt { font-size: 14px; color: var(--muted); }
.jn-prices dd { margin: 4px 0 0; font: 800 46px/1 var(--display); color: var(--gold); }
.jn-note { margin-top: 26px; padding-top: 18px; max-width: 46ch; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: #c5cadb; }
.jn-form { position: relative; }
.jn-form .jn-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jn-form .jn-dob { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; max-width: 340px; }
.jn-form .jn-dob label { font-size: 13px; font-weight: 400; color: #c5cadb; }
.jn-form .jn-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jn-form .jn-type label { position: relative; display: block; padding: 16px 16px 16px 46px; border: 1px solid rgba(255, 255, 255, .22); background: #0a1430; cursor: pointer; }
.jn-form .jn-type label:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.jn-form .jn-type input[type="radio"] { position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; padding: 0; border: 0; background: none; accent-color: var(--gold); }
.jn-form .jn-type b { display: block; font: 800 20px/1 var(--display); text-transform: uppercase; }
.jn-form .jn-type span { display: block; margin-top: 7px; font-size: 14px; font-weight: 400; line-height: 1.4; color: #c5cadb; }
.jn-form .jn-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.jn-form .jn-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.jn-form .jn-send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 6px; }
.jn-form .jn-send p { flex: 1 1 220px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.jn-done { padding: 32px; background: #11224f; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.jn-done h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; text-transform: none; }
.jn-done > p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: #d6dae6; }
.jn-done iframe { display: block; width: 100%; height: 460px; margin-top: 22px; border: 0; background: #fff; }
.jn-done .jn-small { margin: 14px 0 22px; font-size: 14px; color: var(--muted); }
.jn-done .jn-small a { color: var(--gold); border-bottom: 1px solid rgba(246, 208, 0, .5); }
@media (max-width: 900px) {
  .jn { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 128px; padding-bottom: 60px; }
  .jn-form .jn-type { grid-template-columns: minmax(0, 1fr); }
  .jn-form .jn-send .btn { width: 100%; justify-content: center; }
  .jn-done { padding: 22px 18px; }
}
/* The arrows on a sideways-scrolling row of boxes (the Alumni page's four boxes). They sit over the left and
   right edges of the row, show that it scrolls, and move it one box at a time. The arrows' own styles are in
   pages.css, because the photo row on the information pages uses them too (group.html). */
.f-scroll { position: relative; margin-top: 4px; }
.f-scroll .f-strip { margin-top: 0; }

/* An email address in a fan page's closing rows (the Alumni Association's own address). */
.f-mail { border-bottom: 1px solid rgba(246, 208, 0, .65); padding-bottom: 1px; overflow-wrap: anywhere; }
.f-mail:hover { border-bottom-color: var(--gold); }
