/*
Theme Name: Basin Futures
Description: Standalone editorial theme for basinfutures.net.
Version: 1.0.0
Text Domain: basin-futures
*/

:root{--bfx-paper:#faf7f0;--bfx-panel:#fffdf8;--bfx-ink:#14171c;--bfx-body:#30343a;--bfx-muted:#62666c;--bfx-rule:#ded7c9;--bfx-red:#a93417;--bfx-red-dark:#7d260f;--bfx-gold:#8a6410;--bfx-dark:#14171c;--bfx-dark-2:#22272e;--bfx-light:#f7f1e5;--bfx-shell:1180px;--bfx-measure:70ch;--bfx-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bfx-paper);color:var(--bfx-body);font:17px/1.68 var(--bfx-font);-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:var(--bfx-red-dark);text-decoration-thickness:1px;text-underline-offset:3px}a:hover,a:focus{color:var(--bfx-red)}a:focus-visible{outline:3px solid var(--bfx-gold);outline-offset:3px}h1,h2,h3,h4{margin:0 0 .65rem;color:var(--bfx-ink);font-weight:800;line-height:1.34;letter-spacing:-.025em}p{margin:0 0 1.15rem}ul,ol{margin:0 0 1.2rem;padding-left:1.35rem}li{margin-bottom:.4rem}strong{color:var(--bfx-ink)}hr{border:0;border-top:1px solid var(--bfx-rule);margin:2.5rem 0}.bfx-shell{width:min(var(--bfx-shell),100%);margin:auto;padding:0 1.25rem}.bfx-skip{position:absolute;top:0;left:-9999px;z-index:20;padding:.8rem 1rem;background:var(--bfx-ink);color:#ffe09a;font-weight:800}.bfx-skip:focus{left:0}

/* Header */
.bfx-header{background:var(--bfx-dark);border-bottom:4px solid var(--bfx-red)}.bfx-header__inside{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.bfx-brand{display:block;flex:0 0 auto}.bfx-brand__logo img{width:230px;height:70px;object-fit:contain}.bfx-brand__name{margin:0;font-size:1.35rem;font-weight:850}.bfx-brand__name a{color:#fff;text-decoration:none}.bfx-menu-button{display:none;align-items:center;justify-content:center;gap:.55rem;min-width:48px;min-height:48px;border:1px solid #747980;background:transparent;color:#fff;font:700 .9rem/1.34 var(--bfx-font);cursor:pointer}.bfx-menu-button__icon,.bfx-menu-button__icon:before,.bfx-menu-button__icon:after{display:block;width:21px;height:2px;background:currentColor;content:"";position:relative}.bfx-menu-button__icon:before{position:absolute;top:-7px}.bfx-menu-button__icon:after{position:absolute;top:7px}.bfx-navigation__list{display:flex;align-items:center;list-style:none;margin:0;padding:0}.bfx-navigation__list a{display:block;min-height:48px;padding:14px .75rem;color:#f7f1e5;text-decoration:none;font-size:.91rem;font-weight:750}.bfx-navigation__list a:hover,.bfx-navigation__list .current-menu-item>a{color:#ffd36b;box-shadow:inset 0 -3px 0 var(--bfx-red)}
/* Signal index */
.bfx-index{background:var(--bfx-dark-2);border-bottom:1px solid #3b414a;color:#f7f1e5}.bfx-index__intro{display:flex;gap:.8rem;align-items:baseline;padding:1rem 0 .55rem}.bfx-index__title{margin:0;color:#fff;font-size:.9rem;letter-spacing:.1em;text-transform:uppercase}.bfx-index__note{margin:0;color:#d6d0c4;font-size:.84rem;line-height:1.4}.bfx-index__tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;margin:0;padding:0;list-style:none;background:#454a51}.bfx-index__tile{min-height:112px;padding:1rem;background:var(--bfx-dark-2)}.bfx-index__name{display:block;margin-bottom:.45rem;color:#fff;font-size:.9rem;font-weight:750;line-height:1.32}.bfx-index__tag{display:inline-block;padding:.18rem .45rem;border:1px solid #806d45;color:#ffe09a;font-size:.82rem;font-weight:800;letter-spacing:.07em;line-height:1.35;text-transform:uppercase}.bfx-index__bars{height:22px;display:flex;align-items:end;gap:3px;margin-top:.75rem}.bfx-index__bars i{display:block;width:10px;background:var(--bfx-red)}.bfx-index__bars i:nth-child(1){height:7px}.bfx-index__bars i:nth-child(2){height:11px}.bfx-index__bars i:nth-child(3){height:15px}.bfx-index__bars i:nth-child(4){height:21px}.bfx-index__tile:nth-child(even) .bfx-index__bars i{background:var(--bfx-gold)}.bfx-index__tile:nth-child(3) .bfx-index__bars i:nth-child(3),.bfx-index__tile:nth-child(3) .bfx-index__bars i:nth-child(4){height:12px}.bfx-index__tile:nth-child(4) .bfx-index__bars i:nth-child(1){height:19px}.bfx-index__tile:nth-child(4) .bfx-index__bars i:nth-child(4){height:8px}
/* General headers and briefings */
.bfx-main{min-height:45vh}.bfx-lead{padding:3.25rem 0 1.8rem;border-bottom:1px solid var(--bfx-rule)}.bfx-lead__kicker{margin:0 0 .4rem;color:var(--bfx-red-dark);font-size:.82rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.bfx-lead__title{max-width:18ch;font-size:clamp(2.2rem,5vw,4.4rem)}.bfx-lead__text{max-width:64ch;margin:1rem 0 0;font-size:1.16rem;line-height:1.58}.bfx-briefings{padding:2.5rem 0 3rem}.bfx-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1rem}.bfx-section-heading h2{font-size:1.35rem}.bfx-section-heading p{margin:0;color:var(--bfx-muted);font-size:.9rem;line-height:1.45}.bfx-briefing-list{margin:0;padding:0;border-top:2px solid var(--bfx-ink);list-style:none}.bfx-briefing{border-bottom:1px solid var(--bfx-rule)}.bfx-briefing__article{display:grid;grid-template-columns:112px 130px minmax(0,1fr) 105px;gap:1.2rem;align-items:start;padding:1.2rem 0}.bfx-briefing__thumb{display:block;width:112px;height:84px;overflow:hidden;background:var(--bfx-dark-2)}.bfx-briefing__thumb img,.bfx-briefing__thumb svg{width:100%;height:100%;object-fit:cover;display:block}.bfx-briefing__thumb-fallback{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--bfx-dark-2),var(--bfx-dark))}.bfx-briefing__date{padding-top:.18rem;color:var(--bfx-muted);font-size:.82rem;font-weight:700;line-height:1.45}.bfx-briefing__title{font-size:1.25rem}.bfx-briefing__title a{color:var(--bfx-ink);text-decoration:none}.bfx-briefing__title a:hover{text-decoration:underline;color:var(--bfx-red-dark)}.bfx-briefing__dek{margin:0;color:var(--bfx-body);font-size:.96rem;line-height:1.55}.bfx-trend{display:inline-block;margin-top:.15rem;padding:.22rem .48rem;border-left:3px solid var(--bfx-red);background:#f2e8df;color:var(--bfx-red-dark);font-size:.82rem;font-weight:850;letter-spacing:.07em;line-height:1.4;text-transform:uppercase}.bfx-empty{padding:2rem 0;color:var(--bfx-muted)}
/* Article and pages */
.bfx-article{padding:2.7rem 0 3.5rem}.bfx-article__layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:3.5rem;align-items:start}.bfx-article__content{max-width:var(--bfx-measure)}.bfx-article__header{margin-bottom:1.7rem}.bfx-article__category{font-size:.82rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.bfx-article__title{font-size:clamp(2rem,4vw,3.4rem)}.bfx-article__meta{color:var(--bfx-muted);font-size:.88rem;line-height:1.5}.bfx-article__figure{margin:0 0 1.7rem}.bfx-article__figure img{width:100%;height:auto}.bfx-article__body{line-height:1.72}.bfx-article__body h2{margin-top:2.25rem;font-size:1.55rem}.bfx-article__body h3{margin-top:1.8rem;font-size:1.18rem}.bfx-article__body table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.93rem}.bfx-article__body th,.bfx-article__body td{padding:.65rem;border:1px solid var(--bfx-rule);text-align:left}.bfx-article__body th{background:var(--bfx-dark);color:#fff}.bfx-article__body blockquote{margin:1.5rem 0;padding:1rem 1.25rem;border-left:5px solid var(--bfx-gold);background:#f3ecdc}.bfx-desk-note{position:sticky;top:1rem;padding:1rem 1rem 1rem 1.15rem;border:1px solid var(--bfx-rule);border-left:5px solid var(--bfx-red);background:var(--bfx-panel)}.bfx-desk-note__label{margin:0 0 .45rem;color:var(--bfx-red-dark);font-size:.82rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.bfx-desk-note__text{margin:0;color:var(--bfx-body);font-size:.91rem;line-height:1.55}.bfx-page{max-width:var(--bfx-measure);padding:3rem 0 3.5rem}.bfx-page__title{font-size:clamp(2rem,4vw,3.3rem)}.bfx-page__body{margin-top:1.4rem;line-height:1.72}.bfx-page__body h2{margin-top:2.25rem;font-size:1.55rem}.bfx-page__body h3{margin-top:1.8rem;font-size:1.18rem}.bfx-page__body .bfx-updated{color:var(--bfx-muted);font-size:.88rem;font-weight:700;line-height:1.5}.bfx-author{display:flex;gap:1rem;margin-top:2rem;padding:1.25rem;border-top:2px solid var(--bfx-ink);border-bottom:1px solid var(--bfx-rule)}.bfx-author__avatar{width:64px;height:64px;aspect-ratio:1/1;flex-shrink:0;border-radius:50%;object-fit:cover;border:2px solid var(--bfx-rule);background:var(--bfx-dark-2)}.bfx-author__name{margin:0;font-weight:800}.bfx-author__role{margin:0 0 .4rem;color:var(--bfx-red-dark);font-size:.82rem;font-weight:750;line-height:1.45}.bfx-author__bio{margin:0;font-size:.92rem;line-height:1.55}.bfx-page__byline{display:flex;align-items:center;gap:1rem;margin-top:1rem}.bfx-page__avatar{width:88px;height:88px;aspect-ratio:1/1;flex-shrink:0;border-radius:50%;object-fit:cover;border:2px solid var(--bfx-rule);background:var(--bfx-dark-2)}.bfx-page__byline-role{margin:.15rem 0 0;color:var(--bfx-red-dark);font-size:.85rem;font-weight:750;line-height:1.4}.bfx-pagination{display:flex;gap:.5rem;padding-top:1.5rem}.bfx-pagination .page-numbers{padding:.55rem .75rem;border:1px solid var(--bfx-rule);line-height:1.4}.bfx-pagination .current{background:var(--bfx-dark);color:#fff}
/* Search and footer */
.bfx-search__label{display:block;margin-bottom:.45rem;font-size:.9rem;font-weight:700}.bfx-search__row{display:flex;gap:.5rem}.bfx-search__input{min-height:48px;flex:1;padding:.65rem .8rem;border:1px solid #9c9b96;background:#fff;font:1rem var(--bfx-font)}.bfx-search__button{min-height:48px;padding:.65rem 1rem;border:0;background:var(--bfx-red-dark);color:#fff;font:800 .92rem var(--bfx-font);cursor:pointer}.bfx-footer{background:var(--bfx-dark);color:#e6e0d4}.bfx-footer strong{color:#fff}.bfx-footer p a{color:#f0d68e}.bfx-footer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;margin:0;padding:3rem 0 2rem;list-style:none}.bfx-footer h2{color:#fff;font-size:1rem}.bfx-footer p{color:#d5cfc3;font-size:.91rem;line-height:1.58}.bfx-footer__list{margin:0;padding:0;list-style:none}.bfx-footer__list li{margin-bottom:.38rem}.bfx-footer__list a{color:#f0d68e;font-size:.91rem;line-height:1.5}.bfx-footer__base{padding:1.2rem 0;border-top:1px solid #3c4148;color:#cac3b7;font-size:.83rem;line-height:1.6}.bfx-footer__badge{display:inline-block;margin-right:.5rem;padding:.12rem .38rem;border:1px solid var(--bfx-gold);color:#ffdf89;font-weight:850;font-size:.82rem;letter-spacing:.07em}
@media(max-width:700px){.bfx-header__inside{min-height:72px}.bfx-brand__logo img{width:197px;height:60px}.bfx-menu-button{display:inline-flex}.bfx-navigation{display:none;width:100%;padding-bottom:.75rem}.bfx-navigation.bfx-navigation--open{display:block}.bfx-navigation__list{display:block;border-top:1px solid #3c4148}.bfx-navigation__list a{padding:.85rem 0;border-bottom:1px solid #3c4148}.bfx-index__tiles{grid-template-columns:repeat(2,1fr)}.bfx-index__tile:last-child{grid-column:span 2}.bfx-lead{padding-top:2.4rem}.bfx-briefing__article{grid-template-columns:1fr;gap:.55rem}.bfx-briefing__thumb{order:-1;width:100%;height:160px}.bfx-briefing__date{order:3}.bfx-footer__grid{grid-template-columns:1fr;gap:1.5rem;padding:2.3rem 0 1.5rem}.bfx-article__layout{grid-template-columns:1fr;gap:1.4rem}.bfx-desk-note{position:static;order:-1}.bfx-search__row{flex-direction:column}.bfx-search__button{width:100%}}@media(max-width:380px){.bfx-brand__logo img{width:170px;height:52px}.bfx-index__intro{display:block}.bfx-index__note{margin-top:.25rem}}
