/*
Theme Name: Everyday Astronaut 2026
Theme URI: https://everydayastronaut.com/
Author: Everyday Astronaut
Description: Minimal one-page bento landing site for Everyday Astronaut: hero, live next-launch / livestream tile, latest YouTube video (Shorts skipped), shop, about, socials and a spam-resistant contact form. Settings live under Settings > EA Site. Other URLs (posts, pages) render in a simple matching layout.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: everyday-astronaut-2026
*/
:root{--o:#F84D1E;--bg:#1C1C1C;--bg2:#242424;--bg3:#2E2E2E;--line:#3A3A3A;--t:#FFFFFF;--m:#A8A8A8}
body.ea26 .c,body.ea26 .c *{box-sizing:border-box;margin:0;padding:0}
body.ea26{background:var(--bg);color:var(--t);font-family:'Radio Canada Big',sans-serif;-webkit-font-smoothing:antialiased}
body.ea26 .c a{color:inherit;text-decoration:none}
body.ea26 .c .mono{font-family:'Space Mono',monospace}
body.ea26 .c .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
body.ea26 .c input,body.ea26 .c select,body.ea26 .c textarea{font:inherit;color:var(--t);background:#151515;border:1px solid var(--line);border-radius:8px;padding:14px 16px;width:100%;outline:none}
body.ea26 .c textarea{resize:none}
body.ea26 .c select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#A8A8A8 50%),linear-gradient(135deg,#A8A8A8 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat}
body.ea26 .c label{display:block;font-family:'Space Mono',monospace;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--m);margin-bottom:8px}
body.ea26 .c .btn{display:inline-flex;align-items:center;gap:10px;background:var(--o);color:#fff;font-weight:600;border:none;border-radius:999px;padding:14px 26px;font-size:16px;cursor:pointer;white-space:nowrap;flex-shrink:0}
body.ea26 .c .cf-form{display:grid;gap:18px}
body.ea26 .c .cf-form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.ea26 .c .fend{display:flex;align-items:center;gap:20px}
body.ea26 .c .lw-c .n{display:inline-flex;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:'tnum' 1,'lnum' 1,'zero' 0}
body.ea26 .c .lw-c .d{display:inline-block;width:.62em;text-align:center}
body.ea26 .c .wm{font-weight:700;letter-spacing:.04em}
body.ea26 .c .wm b{color:inherit;font-weight:700;margin-left:.3em}
body.ea26{background:#141414}
body.ea26 .c{max-width:1440px;width:100%;margin:0 auto;padding:36px clamp(16px,4.2vw,60px) 50px}
body.ea26 .c header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;min-height:44px;height:auto;gap:16px;min-width:0}
body.ea26 .c header .logo{flex-shrink:0}
body.ea26 .c header .header-end{display:flex;align-items:center;gap:clamp(12px,2vw,24px);min-width:0;flex-shrink:0}
body.ea26 .c header .site-nav{display:flex;align-items:center;gap:20px;font-family:"Radio Canada Big",sans-serif;font-weight:700;font-size:18px;letter-spacing:-.02em;line-height:1;white-space:nowrap}
body.ea26 .c header .site-nav a{color:#fff}
body.ea26 .c header .site-nav a:hover,body.ea26 .c header .site-nav a[aria-current="page"]{color:var(--o)}
body.ea26 .c header .logo img{height:36px;width:auto;display:block}
body.ea26 .c .b{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(150px,auto);gap:16px}
body.ea26 .c .t{background:#1F1F1F;border:1px solid #2c2c2c;border-radius:24px;padding:28px;position:relative;overflow:hidden}
body.ea26 .c .k{font-family:'Space Mono';font-size:11px;letter-spacing:.16em;color:var(--m)}
body.ea26 .c .hero{grid-column:span 2;grid-row:span 3;background:linear-gradient(180deg,#1C1C1Ccc 0%,#1C1C1C33 18%,transparent 34%,transparent 46%,#1C1C1Cb3 68%,#1C1C1Cf2 100%),url(assets/img/hero.jpg) 50% 30%/cover no-repeat;container-type:inline-size;display:flex;flex-direction:column;border-color:#333}
body.ea26 .c .hero .k{color:#fff;font-size:13px;text-shadow:0 1px 8px #0009}
body.ea26 .c .hero .wm{text-shadow:0 2px 12px #0008}
body.ea26 .c .hero h1{text-shadow:0 2px 18px #0009}
body.ea26 .c .hero .wm{font-size:22px;margin-top:auto;color:var(--o)}
body.ea26 .c .hero h1{font-size:clamp(28px,3.4vw,50px);font-size:clamp(28px,10cqi,50px);line-height:1;font-weight:700;letter-spacing:-.025em;margin-top:16px}
body.ea26 .c .lw{grid-column:span 2;grid-row:span 2;container-type:inline-size;column-gap:16px;background:#F84D1E;border:none;color:#fff;display:grid;grid-template-columns:1fr auto;align-content:start}
body.ea26 .c .lw-h{font-family:'Space Mono';font-size:11px;letter-spacing:.16em;display:flex;gap:8px;align-items:center;grid-column:1/-1;opacity:.9}
body.ea26 .c .dot{width:7px;height:7px;background:#fff;border-radius:50%}
body.ea26 .c .lw-m{font-size:clamp(22px,2.4vw,34px);font-size:clamp(22px,5.6cqi,34px);overflow-wrap:anywhere;font-weight:700;margin-top:18px;grid-column:1/-1}
body.ea26 .c .lw-v{opacity:.85;grid-column:1/-1}
body.ea26 .c .lw-c{font-family:'Radio Canada Big',sans-serif;font-size:clamp(26px,5vw,76px);font-size:clamp(26px,12.8cqi,104px);font-weight:700;margin-top:22px;grid-column:1/-1;letter-spacing:-.02em;line-height:1;display:flex;align-items:flex-start;white-space:nowrap;max-width:100%}
body.ea26 .c .lw-c .lw-sign{margin-right:.4em}body.ea26 .c .lw-c em{font-style:normal}
body.ea26 .c .lw-c .seg{display:inline-flex;flex-direction:column;align-items:center}
body.ea26 .c .lw-c .seg i{font-family:'Space Mono',monospace;font-variant:small-caps;font-style:normal;font-weight:400;font-size:clamp(9px,.19em,12px);letter-spacing:.18em;opacity:.75;margin-top:max(6px,.12em)}
body.ea26 .c .lw-s{margin-top:14px;font-weight:500}
body.ea26 .c .lw-x{font-family:'Space Mono';font-size:10px;opacity:.7;margin-top:14px;align-self:end;text-align:right}
body.ea26 .c .yt{display:flex;flex-direction:column;gap:12px;padding:14px}
body.ea26 .c .yt .th{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;background:#000 center/cover;overflow:hidden}
body.ea26 .c .yt .k{color:var(--o)}
body.ea26 .c .yt b{display:block;font-size:14px;line-height:1.3;font-weight:600;margin-top:5px}
body.ea26 .c .yt .meta{padding:0 4px 2px}
body.ea26 .c .shop{background:#F2EEE9;color:#1C1C1C;display:flex;flex-direction:column;justify-content:space-between}
body.ea26 .c .shop .k{color:#7a6f66}
body.ea26 .c .shop b{font-size:22px}
body.ea26 .c .shop{padding-top:22px}
body.ea26 .c .shop>*{position:relative;z-index:1}
body.ea26 .c .shop .tee{position:absolute;z-index:0;top:40px;left:50%;height:calc(100% - 112px);width:auto;max-width:92%;object-fit:contain;transform:translateX(-50%);mix-blend-mode:multiply;pointer-events:none}
body.ea26 .c .shop .txt{background:linear-gradient(0deg,#F2EEE9 60%,#F2EEE900);margin:0 -28px -28px;padding:18px 28px 28px}
body.ea26 .c .ab{grid-column:span 2;grid-row:span 2}
body.ea26 .c .ab h2{font-size:clamp(24px,2.3vw,30px);margin:14px 0 14px;letter-spacing:-.01em}
body.ea26 .c .ab p{color:#cfcfcf;line-height:1.6;font-size:15.5px}
body.ea26 .c .so{grid-column:span 2;grid-row:span 2;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-content:start}
body.ea26 .c .so .k{grid-column:1/-1;margin-bottom:6px}
body.ea26 .c .so .s{background:#262626;border:1px solid #333;border-radius:16px;height:96px;display:flex;flex-direction:column;justify-content:space-between;padding:14px;font-weight:600;font-size:14px}
body.ea26 .c .so .ic{color:var(--o);font-size:18px;font-weight:700}
body.ea26 .c .ct{grid-column:span 4;grid-row:span 3;display:grid;grid-template-columns:1fr 1.6fr;gap:50px;padding:40px}
body.ea26 .c .ct h2{font-size:clamp(30px,3.4vw,44px);line-height:1.05;letter-spacing:-.02em;margin:16px 0}
body.ea26 .c .ct p{color:var(--m);line-height:1.6;font-size:17px}
body.ea26 .c .ct textarea{height:96px}
body.ea26 .c .ct .cf-form{align-content:center}
body.ea26 .c footer{margin-top:24px;display:flex;justify-content:space-between;font-family:'Space Mono';font-size:11px;color:#555}
@media (min-width:761px) and (max-width:1100px){
body.ea26 .c .b{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ea26 .c .hero{grid-column:span 2;grid-row:auto;min-height:clamp(420px,54vw,580px)}
body.ea26 .c .lw{grid-column:span 2;grid-row:auto}
body.ea26 .c .yt,body.ea26 .c .shop{grid-column:span 1;grid-row:auto}
body.ea26 .c .shop{min-height:300px}
body.ea26 .c .ab,body.ea26 .c .so,body.ea26 .c .ct{grid-column:span 2;grid-row:auto}
body.ea26 .c .ct{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:32px;padding:32px}
}
@media (min-width:761px) and (max-width:900px){body.ea26 .c .ct{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){body.ea26 .c{padding:20px 16px 32px}
body.ea26 .c header{min-height:36px;height:auto;margin-bottom:16px}
body.ea26 .c header .site-nav{font-size:16px;gap:14px}
body.ea26 .c header .logo img{height:30px}
body.ea26 .c .b{grid-template-columns:1fr;grid-auto-rows:auto;gap:12px}
body.ea26 .c .t{grid-column:auto!important;grid-row:auto!important;border-radius:20px;padding:22px}
body.ea26 .c .hero{min-height:540px;background-position:38% 30%,38% 30%}
body.ea26 .c .hero .wm{font-size:18px}
body.ea26 .c .lw{grid-template-columns:1fr}
body.ea26 .c .lw-m{font-size:26px}
body.ea26 .c .lw-c{margin-top:16px}
body.ea26 .c .lw-x{text-align:left;margin-top:10px}
body.ea26 .c .yt b{font-size:16px}
body.ea26 .c .shop{min-height:300px}
body.ea26 .c .ab h2{font-size:26px}
body.ea26 .c .ab p{font-size:16px}
body.ea26 .c .so{grid-template-columns:repeat(2,1fr)}
body.ea26 .c .so .s{height:72px;font-size:15px}
body.ea26 .c .ct{grid-template-columns:1fr;gap:24px;padding:24px}
body.ea26 .c .ct h2{font-size:32px}
body.ea26 .c .cf-form .row{grid-template-columns:1fr}
body.ea26 .c .fend .btn{width:100%;justify-content:center}
body.ea26 .c footer{flex-direction:column;gap:6px}}
body.ea26 .c a.lw{text-decoration:none;color:#fff}
body.ea26 .c a.lw:hover .lw-m{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
body.ea26 .c .lw.is-live .dot{animation:ea26pulse 1.2s infinite}
@keyframes ea26pulse{50%{opacity:.25}}
body.ea26 .c .lw-cta{margin-top:22px;grid-column:1/-1;font-family:'Space Mono';font-size:15px;font-weight:700;letter-spacing:.06em}
body.ea26 .c .yt:hover b,body.ea26 .c .shop:hover b{text-decoration:underline;text-underline-offset:3px}
body.ea26 .c .so .s:hover{border-color:#F84D1E}
body.ea26 .c .ea26-notice{border-radius:8px;padding:14px 16px;font-size:15px;line-height:1.5}
body.ea26 .c .ea26-notice.ok{background:#16311f;border:1px solid #2a7d4f;color:#d7f5e1}
body.ea26 .c .ea26-notice.err{background:#3a1a12;border:1px solid #F84D1E;color:#ffd9cc}
body.ea26 .c .ea26-notice[hidden]{display:none}
body.ea26 .c .cf-turnstile:empty{display:none}
body.ea26 .c .btn[disabled]{opacity:.6;cursor:wait}
body.ea26 .c .ea26-page{max-width:760px;margin:0 auto}
body.ea26 .c .ea26-page article{background:#1F1F1F;border:1px solid #2c2c2c;border-radius:24px;padding:40px;margin-bottom:16px}
body.ea26 .c .ea26-page h1{font-size:40px;line-height:1.1;letter-spacing:-.02em;margin-bottom:16px}
body.ea26 .c .ea26-page h2.ea26-entry{font-size:28px;margin-bottom:10px}
body.ea26 .c .ea26-page .k{margin-bottom:14px}
body.ea26 .c .ea26-content{color:#d8d8d8;font-size:17px;line-height:1.7}
body.ea26 .c .ea26-content>*+*{margin-top:1em}
body.ea26 .c .ea26-content a{color:#F84D1E;text-decoration:underline}
body.ea26 .c .ea26-content img,body.ea26 .c .ea26-content iframe,body.ea26 .c .ea26-content video{max-width:100%;height:auto}
body.ea26 .c .ea26-content h2,body.ea26 .c .ea26-content h3{color:#fff;line-height:1.2;margin-top:1.4em}
body.ea26 .c .ea26-content ul,body.ea26 .c .ea26-content ol{padding-left:1.3em}
body.ea26 .c .ea26-pager{display:flex;justify-content:space-between;font-family:'Space Mono';font-size:13px;margin:20px 0}
body.ea26 .c .ea26-pager a{color:#F84D1E}
body.ea26 .c .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media (max-width:760px){body.ea26 .c .ea26-page article{padding:24px;border-radius:20px}
body.ea26 .c .ea26-page h1{font-size:30px}
body.ea26 .c .lw-cta{font-size:14px}}
body.ea26 .c input:focus,body.ea26 .c select:focus,body.ea26 .c textarea:focus{border-color:#F84D1E}
body.ea26 .c a:focus-visible,body.ea26 .c button:focus-visible{outline:2px solid #F84D1E;outline-offset:3px}
body.ea26 .c .so .fc-head{color:#F84D1E;font-family:'Space Mono',monospace;font-size:clamp(13px,1.25vw,16px);letter-spacing:.02em;line-height:1.4}
body.ea26 .c .so .fc-head b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
body.ea26 .c .so .fc-head[hidden]{display:none}
@media (max-width:760px){body.ea26 .c .so .fc-head{font-size:14px}}
body.ea26 .c .so .fc-head .fc-w{color:#F84D1E;font-weight:700}
body.ea26 .c .so .fc-head .fc-ac{color:#fff;font-weight:400;font-style:italic;white-space:nowrap}
@keyframes ea26fcbump{0%{opacity:.35}100%{opacity:1}}
body.ea26 .c .so .fc-head.fc-bump b{animation:ea26fcbump .6s ease-out}
/* Safety net only: real overflow is tested to be zero at every width. */
html:has(body.ea26){overflow-x:clip}body.ea26{overflow-x:clip}
body.ea26 .c img{max-width:100%}
