.tbfc-history-page{--navy:#081827;--panel:#10273e;--gold:#f8c72b;--cream:#f5f7fa;--line:rgba(194,214,238,.2)}
.tbfc-history-page, .tbfc-history-page *{box-sizing:border-box}
.tbfc-history-page{scroll-behavior:smooth}
.tbfc-history-page{margin:0;color:var(--cream);font:15px/1.75 Inter,Arial,sans-serif;background:#081827 url("https://threebridgesfc.co.uk/wp-content/uploads/2026/10/bg.png") center center/cover fixed no-repeat}
.tbfc-history-page a{color:inherit;text-decoration:none}
.tbfc-history-page button{font:inherit}
.tbfc-history-page .wrap{width:min(1160px,calc(100% - 44px));margin:auto}
.tbfc-history-page .eyebrow{font-size:11px;letter-spacing:.2em;color:#eec965;font-weight:700;text-transform:uppercase}
.tbfc-history-page .mast{background:#121f31;border-bottom:1px solid #2b3d53}
.tbfc-history-page .mast .wrap{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tbfc-history-page .brand{display:flex;align-items:center;gap:13px;color:#fff}
.tbfc-history-page .brand img{height:56px;width:50px;object-fit:contain}
.tbfc-history-page .brand span{font-family:"Barlow Condensed";font-size:19px;font-weight:700;line-height:1.05}
.tbfc-history-page .nav{display:flex;gap:26px;color:#bfcddd;font-size:12px;font-weight:700;letter-spacing:.04em}
.tbfc-history-page .nav .on{color:var(--gold)}
.tbfc-history-page .hero{position:relative;overflow:hidden;background:#081827;min-height:410px;display:flex;align-items:center;border-bottom:1px solid var(--line)}
.tbfc-history-page .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,12,23,.86) 0%,rgba(3,12,23,.44) 55%,rgba(3,12,23,0) 100%)}
.tbfc-history-page .hero::after{display:none}
.tbfc-history-page .hero .wrap{position:relative;z-index:1;padding:62px 0}
.tbfc-history-page .hero h1{font-size:clamp(46px,7vw,86px);font-weight:600;letter-spacing:-.06em;line-height:1.02;margin:16px 0 20px;max-width:750px}
.tbfc-history-page .hero h1 span{color:var(--gold)}
.tbfc-history-page .hero p{max-width:560px;font-size:17px;color:#c5d0dd;line-height:1.7;margin:0 0 27px}
.tbfc-history-page .cta{display:inline-flex;align-items:center;gap:14px;background:var(--gold);color:#091b2c;font-size:13px;font-weight:700;padding:12px 21px;border-radius:4px}
.tbfc-history-page .bg{background:transparent}
.tbfc-history-page .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;transform:translateY(-27px);position:relative;z-index:2}
.tbfc-history-page .stat, .tbfc-history-page .glass{background:rgba(12,33,53,.32);border:1px solid rgba(206,222,242,.2);box-shadow:0 18px 45px rgba(0,0,0,.16);backdrop-filter:blur(18px);border-radius:9px}
.tbfc-history-page .stat{padding:23px 28px}
.tbfc-history-page .stat strong{display:block;font:600 34px/1.1 "Barlow Condensed";color:var(--gold)}
.tbfc-history-page .stat span{font-size:12px;color:#c6d2df}
.tbfc-history-page .section{padding:45px 0 75px}
.tbfc-history-page .section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}
.tbfc-history-page .section-head h2{font-size:clamp(30px,4vw,45px);line-height:1.08;letter-spacing:-.04em;font-weight:600;margin:8px 0 0}
.tbfc-history-page .section-head p{max-width:420px;color:#b6c9da;margin:0}
.tbfc-history-page .story{display:grid;grid-template-columns:1.2fr .8fr;gap:17px}
.tbfc-history-page .story .glass{padding:32px}
.tbfc-history-page .story p{color:#d1dce7}
.tbfc-history-page .story h3{font-size:27px;line-height:1.2;letter-spacing:-.035em;font-weight:600;margin:13px 0 15px}
.tbfc-history-page .photo{position:relative;min-height:390px;overflow:hidden;border-radius:9px;border:1px solid var(--line);background:url("https://1.bp.blogspot.com/-vdFEAN5AolM/W6GE5lGmB9I/AAAAAAAAFTE/9UrTgJu4wFsal2Hj4IStx5cP4QmfZgKHgCLcBGAs/s640/41932678_10160995621370475_3657057170987417600_n.jpg") center/cover}
.tbfc-history-page .photo:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#081827e8)}
.tbfc-history-page .photo span{position:absolute;z-index:1;bottom:19px;left:22px;font-size:11px;color:#e4e9ef}
.tbfc-history-page .years{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tbfc-history-page .year{padding:26px 24px;min-height:242px}
.tbfc-history-page .year .date{font:600 34px "Barlow Condensed";color:var(--gold)}
.tbfc-history-page .year h3{font-size:17px;line-height:1.35;font-weight:600;margin:14px 0 10px}
.tbfc-history-page .year p{color:#bccbda;font-size:13px;line-height:1.65;margin:0}
.tbfc-history-page .feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:0;overflow:hidden}
.tbfc-history-page .feature-img{min-height:380px;background:url("https://threebridgesfc.co.uk/wp-content/uploads/2024/12/IMG-20241220-WA0007.jpg") center/cover}
.tbfc-history-page .feature-copy{padding:45px}
.tbfc-history-page .feature-copy h2{font-weight:600;font-size:clamp(28px,3.4vw,42px);letter-spacing:-.04em;line-height:1.16;margin:15px 0}
.tbfc-history-page .feature-copy p{color:#c5d3df}
.tbfc-history-page .pitch-feature{display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;border-color:rgba(248,199,43,.38)}
.tbfc-history-page .pitch-img{min-height:440px;background:linear-gradient(180deg,rgba(7,21,34,.05),rgba(7,21,34,.35)),url("https://threebridgesfc.co.uk/wp-content/uploads/2024/12/IMG-20241220-WA0011.jpg") center/cover}
.tbfc-history-page .pitch-copy{padding:42px}
.tbfc-history-page .pitch-copy h2{font-size:clamp(32px,3.5vw,47px);font-weight:600;letter-spacing:-.05em;line-height:1.12;margin:13px 0 19px}
.tbfc-history-page .pitch-copy p{color:#ccd7e1;margin:0 0 15px}
.tbfc-history-page .pitch-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
.tbfc-history-page .pitch-number{background:rgba(247,201,64,.07);border:1px solid rgba(248,199,43,.2);border-radius:7px;padding:14px}
.tbfc-history-page .pitch-number strong{font:600 30px/1.1 "Barlow Condensed";display:block;color:var(--gold)}
.tbfc-history-page .pitch-number span{font-size:11px;color:#b6c8db}
.tbfc-history-page .pitch-partners{font-size:11px;color:#e9cb7c;border-top:1px solid var(--line);padding-top:17px}
.tbfc-history-page .note{margin-top:24px;padding:13px 16px;border-left:3px solid var(--gold);background:#ffffff09;color:#c7d6e0;font-size:12px}
.tbfc-history-page .footer{border-top:1px solid var(--line);background:#101e30;padding:25px 0;color:#8196aa;font-size:12px}
.tbfc-history-page .footer .wrap{display:flex;justify-content:space-between;gap:20px}
.tbfc-history-page:has(#timeline:target) .years .year:first-child{border-color:var(--gold)}
@media (max-width:800px){.tbfc-history-page .nav{display:none}
.tbfc-history-page .hero{min-height:380px}
.tbfc-history-page .stats{grid-template-columns:1fr 1fr}
.tbfc-history-page .story, .tbfc-history-page .feature, .tbfc-history-page .pitch-feature{grid-template-columns:1fr}
.tbfc-history-page .pitch-img{min-height:280px}
.tbfc-history-page .years{grid-template-columns:1fr 1fr}
.tbfc-history-page .feature-img{min-height:250px}}
@media (max-width:540px){.tbfc-history-page .wrap{width:calc(100% - 30px)}
.tbfc-history-page .hero .wrap{padding:65px 0}
.tbfc-history-page .hero::before{background:linear-gradient(180deg,rgba(3,12,23,.86),rgba(3,12,23,0))}
.tbfc-history-page .stats, .tbfc-history-page .years{grid-template-columns:1fr}
.tbfc-history-page .stat{padding:17px 21px}
.tbfc-history-page .section{padding:30px 0 45px}
.tbfc-history-page .section-head{display:block}
.tbfc-history-page .story .glass, .tbfc-history-page .feature-copy, .tbfc-history-page .pitch-copy{padding:24px}
.tbfc-history-page .photo{min-height:300px}
.tbfc-history-page .bg{background-attachment:scroll}
.tbfc-history-page .footer .wrap{display:block}}
.tbfc-history-page .pitch-gallery{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px;margin-top:16px}
.tbfc-history-page .pitch-gallery figure{margin:0;position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:rgba(12,33,53,.75)}
.tbfc-history-page .pitch-gallery img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .35s ease}
.tbfc-history-page .pitch-gallery figure:hover img{transform:scale(1.035)}
.tbfc-history-page .pitch-gallery figcaption{position:absolute;inset:auto 0 0;padding:32px 15px 11px;background:linear-gradient(transparent,rgba(4,15,26,.87));color:#fff;font-size:11px;letter-spacing:.02em}
.tbfc-history-page .pitch-img{background-position:center center}
.tbfc-history-page .image-credit{font-size:11px;color:#a9bac9;margin-top:11px}
@media (max-width:800px){.tbfc-history-page .pitch-gallery{grid-template-columns:1fr 1fr}
.tbfc-history-page .pitch-gallery figure:first-child{grid-column:1/-1}}
@media (max-width:540px){.tbfc-history-page .pitch-gallery{grid-template-columns:1fr}
.tbfc-history-page .pitch-gallery figure:first-child{grid-column:auto}
.tbfc-history-page .pitch-gallery img{height:210px}}
.tbfc-history-page .timeline-intro{color:#b9cbdc;margin:-6px 0 34px;font-size:13px}
.tbfc-history-page .history-journey{position:relative;max-width:1000px;margin:0 auto;padding:8px 0 28px}
.tbfc-history-page .history-journey::before{content:"";position:absolute;top:10px;bottom:10px;left:50%;width:2px;background:linear-gradient(180deg,rgba(248,199,43,.1),#e5bb57 18%,#e5bb57 85%,rgba(248,199,43,.2));transform:translateX(-50%)}
.tbfc-history-page .journey-stop{position:relative;display:grid;grid-template-columns:1fr 80px 1fr;align-items:center;min-height:124px}
.tbfc-history-page .journey-stop:nth-child(even) .journey-teaser{grid-column:3;grid-row:1;text-align:left}
.tbfc-history-page .journey-stop:nth-child(odd) .journey-teaser{grid-column:1;grid-row:1;text-align:right}
.tbfc-history-page .journey-teaser{min-width:0}
.tbfc-history-page .journey-date{font:600 32px/1.1 "Barlow Condensed",sans-serif;color:#f4c953}
.tbfc-history-page .journey-teaser h3{margin:5px 0;font-size:17px;font-weight:600;line-height:1.3;color:white}
.tbfc-history-page .journey-teaser p{font-size:12px;line-height:1.5;color:#afc3d6;margin:0}
.tbfc-history-page .journey-rail{grid-column:2;grid-row:1;display:flex;justify-content:center;z-index:3}
.tbfc-history-page .journey-toggle{border:2px solid #d4ae53;color:#f8d278;border-radius:50%;height:45px;width:45px;display:grid;place-items:center;background:#142d43;box-shadow:0 0 0 7px rgba(8,24,39,.94),0 0 0 8px rgba(235,190,79,.14);cursor:pointer;transition:transform .2s,background .2s,border-color .2s}
.tbfc-history-page .journey-toggle:hover, .tbfc-history-page .journey-toggle[aria-expanded=true]{background:#f8c72b;color:#091727;transform:scale(1.12)}
.tbfc-history-page .journey-toggle:focus-visible{outline:3px solid #fff;outline-offset:5px}
.tbfc-history-page .journey-toggle svg{height:18px;width:18px;transition:transform .2s}
.tbfc-history-page .journey-toggle[aria-expanded=true] svg{transform:rotate(45deg)}
.tbfc-history-page .journey-panel{display:none;position:absolute;z-index:9;top:calc(50% + 32px);width:min(400px,calc(50% - 54px));padding:23px 25px;background:rgba(12,31,49,.78);border:1px solid rgba(248,199,43,.5);border-radius:10px;box-shadow:0 24px 55px rgba(0,0,0,.48);backdrop-filter:blur(20px)}
.tbfc-history-page .journey-stop:nth-child(odd) .journey-panel{left:calc(50% + 40px)}
.tbfc-history-page .journey-stop:nth-child(even) .journey-panel{right:calc(50% + 40px)}
.tbfc-history-page .journey-panel.is-open{display:block;animation:panel-in .2s ease-out}
.tbfc-history-page .journey-panel .eyebrow{font-size:10px}
.tbfc-history-page .journey-panel h4{font-size:20px;line-height:1.25;font-weight:600;margin:8px 0 10px;color:#fff}
.tbfc-history-page .journey-panel p{font-size:13px;line-height:1.65;color:#d1dce6;margin:0 0 12px}
.tbfc-history-page .journey-panel p:last-child{margin-bottom:0}
.tbfc-history-page .journey-panel img{width:100%;max-height:170px;object-fit:cover;border-radius:5px;margin-top:7px}
.tbfc-history-page .journey-panel .jump{display:inline-block;color:#f5ca67;font-size:12px;font-weight:700;margin-top:5px}
.tbfc-history-page .timeline-foot{text-align:center;font-size:12px;color:#a9bfd1;padding-top:12px}
.tbfc-history-page .timeline-foot span{color:#f5cf70}
@keyframes  panel-in{.tbfc-history-page from{opacity:0;transform:translateY(-7px)}
.tbfc-history-page to{opacity:1;transform:translateY(0)}}
@media (hover:hover) and (pointer:fine){.tbfc-history-page .journey-stop:hover .journey-toggle{border-color:#ffe194}
.tbfc-history-page .journey-stop:hover .journey-panel{display:block;animation:panel-in .2s ease-out}}
@media (max-width:760px){.tbfc-history-page .history-journey::before{left:22px;transform:none}
.tbfc-history-page .journey-stop{display:grid;grid-template-columns:45px minmax(0,1fr);min-height:unset;column-gap:20px;align-items:start;margin:0 0 23px}
.tbfc-history-page .journey-rail{grid-column:1;grid-row:1;align-self:start;padding-top:7px}
.tbfc-history-page .journey-toggle{width:42px;height:42px}
.tbfc-history-page .journey-teaser, .tbfc-history-page .journey-stop:nth-child(odd) .journey-teaser, .tbfc-history-page .journey-stop:nth-child(even) .journey-teaser{grid-column:2;grid-row:1;text-align:left}
.tbfc-history-page .journey-teaser{padding:0 0 5px}
.tbfc-history-page .journey-date{font-size:28px}
.tbfc-history-page .journey-panel, .tbfc-history-page .journey-stop:nth-child(even) .journey-panel, .tbfc-history-page .journey-stop:nth-child(odd) .journey-panel{position:static;grid-column:2;grid-row:2;width:100%;margin-top:12px;padding:19px}
.tbfc-history-page .journey-stop:hover .journey-panel:not(.is-open){display:none}
.tbfc-history-page .timeline-foot{text-align:left;padding-left:65px}}
@media (prefers-reduced-motion:reduce){.tbfc-history-page .journey-panel.is-open{animation:none}
.tbfc-history-page .journey-toggle, .tbfc-history-page .journey-toggle svg{transition:none}}
/* WordPress integration */
.tbfc-history-page{--navy:#081827;--panel:#10273e;--gold:#f8c72b;--cream:#f5f7fa;--line:rgba(194,214,238,.2); color:#f5f7fa; font:15px/1.75 Inter,Arial,sans-serif; background-color:#081827; width:100vw; max-width:none; position:relative; left:50%; margin-left:-50vw; overflow:clip;}
.tbfc-history-page .hero h1,.tbfc-history-page h2,.tbfc-history-page h3,.tbfc-history-page h4{color:#fff;text-transform:none;}
.tbfc-history-page .hero h1 span{color:#f8c72b;}
.tbfc-history-page p{margin-bottom:1em;}
.tbfc-history-page a{text-decoration:none;}
.tbfc-history-page .journey-toggle{appearance:none;-webkit-appearance:none;}
.tbfc-history-page .journey-panel[hidden]{display:none!important;}
.tbfc-history-page .journey-panel.is-open:not([hidden]){display:block;}
.tbfc-history-page img{max-width:100%;}
@media(max-width:760px){.tbfc-history-page{width:100%;left:auto;margin-left:0;}}

/* v1.0.2 unified page canvas: Design Centre controls the outer background. */
.tbfc-history-page .hero{background:transparent;border-bottom:0;min-height:260px}
.tbfc-history-page .hero::before{background:linear-gradient(180deg,rgba(3,12,23,.86) 0%,rgba(3,12,23,.44) 55%,transparent 100%)}
.tbfc-history-page .hero::after{display:none}
.tbfc-history-page .bg{background:none!important}
@media(max-width:760px){.tbfc-history-page .hero{min-height:230px}}

/* v1.0.3: one Design Centre-controlled page canvas, no separate hero imagery. */
#tbfc-our-history .hero {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  background-attachment: scroll !important;
  border-bottom: 0 !important;
}
#tbfc-our-history .hero::before {
  content: "" !important;
  background: linear-gradient(to bottom, rgba(3,12,23,.86) 0%, rgba(3,12,23,.44) 55%, transparent 100%) !important;
  background-image: linear-gradient(to bottom, rgba(3,12,23,.86), rgba(3,12,23,.44) 55%, transparent) !important;
}
#tbfc-our-history .hero::after { content:none !important; display:none !important; }
#tbfc-our-history .bg { background:transparent !important; background-image:none !important; }
#tbfc-our-history { --gold:#f5c842; }
