/*
Theme Name: AfterSpin
Theme URI: https://afterspin.com
Author: AfterSpin
Description: A photography-led, bilingual editorial theme for fixed gear freestyle.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: afterspin
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face{font-family:Montserrat;src:url('assets/fonts/montserrat-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--paper:#fafafa;--ink:#111111;--soft:#555555;--line:#cccccc;--night:#111111;--light:#fafafa;--night-soft:#c4c4c4;--gutter:clamp(1.25rem,4vw,4.5rem);--space:clamp(4rem,8vw,8rem);--measure:70ch;--max:1400px;--ease:cubic-bezier(.16,1,.3,1);color-scheme:light;scroll-behavior:smooth;scroll-padding-top:2rem}
*,*::before,*::after{box-sizing:border-box}
html{font-size:100%;scrollbar-color:#555555 var(--paper)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Montserrat,Arial,sans-serif;font-size:1rem;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
::selection{background:#111111;color:#fafafa}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a,button,input,textarea{touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid currentColor;outline-offset:5px}
button,input,textarea,select{font:inherit;caret-color:var(--ink)}
button{color:inherit}
img,video{max-width:100%;height:auto;display:block}
iframe{max-width:100%;border:0}
figure{margin:0}
h1,h2,h3,h4{font-family:var(--font-display,Georgia),serif;font-style:italic;font-weight:400;line-height:1.07;letter-spacing:-.025em;text-wrap:balance;margin:0}
h1{font-size:clamp(2.6rem,6.8vw,6rem);max-width:18ch}
h2{font-size:clamp(2rem,4.1vw,3.75rem)}
h3{font-size:clamp(1.4rem,2.3vw,2rem)}
p{margin:0 0 1.25em}
ul,ol{padding-left:1.4em}
[hidden]{display:none!important}
.wrap{max-width:calc(var(--max) + var(--gutter)*2);margin-inline:auto;padding-inline:var(--gutter)}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;left:1rem;top:1rem;z-index:200;width:auto;height:auto;clip:auto;padding:.7rem 1rem;background:var(--paper);color:var(--ink);margin:0}
.site-header{min-height:110px;padding:1.1rem var(--gutter);display:flex;align-items:center;gap:2.5rem;background:var(--night);color:var(--light);position:relative;z-index:30}
.brand,.custom-logo-link{display:block;flex:none;text-decoration:none;width:130px;line-height:1}
.brand-image,.custom-logo{width:100%;height:68px;object-fit:contain;object-position:left center}
.brand span{font-size:1.55rem;font-weight:700;letter-spacing:-.04em}
.site-navigation{margin-left:auto;display:flex;gap:clamp(1.25rem,2.3vw,2.4rem);align-items:center;font-size:.82rem;font-weight:500}
.site-navigation a{text-decoration:none;padding-block:.5rem}
.site-navigation a:hover,.site-navigation a[aria-current]{text-decoration:underline;text-underline-offset:.5rem}
.site-navigation ul{display:flex;gap:1.8rem;list-style:none;padding:0;margin:0}
.languages{display:flex;gap:.65rem;font-size:.75rem;letter-spacing:.04em}
.languages a{text-decoration:none;padding:.5rem .12rem;color:var(--night-soft)}
.languages a[aria-current],.languages a:hover{color:var(--light);text-decoration:underline;text-underline-offset:.4rem}
.menu-toggle{display:none;background:none;border:0;padding:.6rem 0;align-items:center;gap:.6rem;font-size:.8rem;cursor:pointer}
.button{display:inline-flex;align-items:center;justify-content:center;gap:2.5rem;padding:.9rem 1.3rem;min-height:50px;border:1px solid currentColor;background:var(--ink);color:var(--paper);text-decoration:none;font-size:.85rem;font-weight:500;transition:background .2s,color .2s}
.button:hover{background:var(--paper);color:var(--ink);text-decoration:none}
.button-light{background:var(--light);color:var(--ink);border-color:var(--light)}
.button-light:hover{background:transparent;color:var(--light)}
.text-link{display:inline-block;font-size:.85rem;font-weight:600;text-decoration:underline;text-underline-offset:.4rem;padding:.35rem 0}
.text-link span[aria-hidden]{display:inline-block;margin-left:.5rem;transition:transform .3s var(--ease)}
.text-link:hover span[aria-hidden]{transform:translateX(.25rem)}
.home-hero{position:relative;isolation:isolate;min-height:min(760px,calc(100vh - 110px));min-height:min(760px,calc(100svh - 110px));display:flex;align-items:flex-end;background:var(--night);color:var(--light);overflow:hidden}
.home-hero.has-photo{min-height:clamp(560px,72vw,820px)}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;z-index:-2}
.home-hero.has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.06) 76%);z-index:-1}
.home-hero-content{padding:clamp(3rem,7vw,7rem) var(--gutter);width:100%;max-width:calc(var(--max) + var(--gutter)*2);margin-inline:auto}
.home-hero h1{font-weight:400;letter-spacing:-.04em;line-height:.95}
.home-hero p{font-size:clamp(1.1rem,2.3vw,1.7rem);max-width:28ch;line-height:1.45;margin:1.3rem 0 2rem}
.home-stories{padding-top:var(--space);padding-bottom:var(--space)}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:2rem;margin-bottom:3rem}
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(3rem,6vw,6rem) clamp(1.5rem,3.7vw,4rem)}
.story-card{min-width:0}
.story-image{display:block;overflow:hidden;background:#dedede;margin-bottom:1.2rem}
.story-image img{width:100%;height:auto;transition:transform .8s var(--ease)}
.story-card:has(a:hover) .story-image img{transform:scale(1.025)}
.story-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.72rem;line-height:1.45;color:var(--soft);margin-bottom:.85rem}
.story-meta a{text-decoration:none;font-weight:600}
.story-meta a:hover{text-decoration:underline}
.story-meta time{font-variant-numeric:tabular-nums}
.story-card :is(h2,h3,h4){font-size:clamp(2rem,3.1vw,3rem);max-width:28ch;line-height:1.08}
.story-card :is(h2,h3,h4) a{text-decoration:none}
.story-card :is(h2,h3,h4) a:hover{text-decoration:underline;text-decoration-thickness:1px}
.story-card>p{font-size:.9rem;line-height:1.75;color:var(--soft);max-width:58ch;margin:1.1rem 0 .6rem}
.story-card>.text-link{margin-top:.6rem}
.home-vision{display:grid;grid-template-columns:1fr 1fr;gap:clamp(3rem,7vw,8rem);align-items:center;padding-bottom:var(--space)}
.home-vision-image img{width:100%;aspect-ratio:4/5;object-fit:cover}
.home-vision-copy h2{font-size:clamp(2rem,3.6vw,3.5rem);max-width:12ch}
.home-vision-copy p:not(.large-copy){max-width:40ch;margin-bottom:1.8rem}
.large-copy{font-size:clamp(1.3rem,2vw,1.8rem);letter-spacing:-.02em;line-height:1.4;margin:1rem 0 2.2rem}
.page-shell,.archive-shell{padding-top:clamp(3rem,7vw,7rem);padding-bottom:var(--space);min-height:55vh}
.page-heading{margin-bottom:clamp(2.5rem,5vw,5rem)}
.page-heading h1{margin-bottom:1.4rem}
.page-heading>p{max-width:48ch;font-size:clamp(1.05rem,1.9vw,1.45rem);line-height:1.6;color:var(--soft);margin-bottom:0}
.collection-nav{display:flex;flex-wrap:wrap;gap:1rem 2rem;border-block:1px solid var(--line);padding:1rem 0;margin-bottom:3rem;font-size:.82rem}
.collection-nav a{text-decoration:none;padding:.2rem 0}
.collection-nav a[aria-current],.collection-nav a:hover{text-decoration:underline;text-underline-offset:.4em;font-weight:600}
.collection-intro{margin-bottom:3rem}
.collection-intro h2{font-size:1.5rem}
.collection-intro p{font-size:.95rem;max-width:65ch}
.empty-stories{padding:clamp(2rem,5vw,5rem) 0;border-top:1px solid var(--line)}
.empty-stories p{font-size:clamp(1.3rem,2vw,1.8rem);max-width:35ch}
.prose{max-width:var(--measure);font-size:1rem;line-height:1.85}
.prose>:first-child{margin-top:0}
.prose h2{font-size:clamp(1.75rem,3vw,2.8rem);margin:3.5rem 0 1.25rem;max-width:24ch}
.prose h3{font-size:1.6rem;margin:3rem 0 1rem}
.prose h4{font-size:1.25rem;margin:2.5rem 0 1rem}
.prose p,.prose ul,.prose ol{margin-bottom:1.6rem}
.prose li+li{margin-top:.5rem}
.prose a{overflow-wrap:anywhere}
.prose figure{margin:3rem 0}
.prose figure img{width:100%;object-fit:contain;height:auto}
.prose figcaption{font-size:.8rem;line-height:1.7;color:var(--soft);max-width:65ch;margin:.9rem auto 0}
.prose blockquote{margin:2rem 0 2.5rem;padding:1.5rem 0;border-block:1px solid var(--line);font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.7;letter-spacing:-.015em}
.prose blockquote p:last-child{margin-bottom:0}
.prose table{border-collapse:collapse;width:100%;font-size:.85rem;line-height:1.65;margin:2rem 0 3rem;table-layout:fixed;font-variant-numeric:tabular-nums}
.prose table th,.prose table td{text-align:left;vertical-align:top;padding:1rem 1.2rem 1rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.prose table th{font-weight:600;width:30%}
.prose small{font-size:.78rem}
.archive-note{font-size:.8rem;color:var(--soft);padding-block:1rem;border-block:1px solid var(--line)}
.vision-prose{max-width:100%;display:flow-root}
.vision-prose>p,.vision-prose>h2,.vision-prose>h3{max-width:var(--measure)}
.vision-prose>figure{max-width:760px;margin:3rem 0 4rem}
.vision-prose>figure img{max-height:760px;object-fit:contain;object-position:left}
/* White source illustrations keep their dark stage regardless of delivery format. */
.vision-prose>figure:has(img[data-afterspin-media="644dfcf02375"],img[data-afterspin-media="843a5d6a991d"],img[data-afterspin-media="054041e43bce"],img[data-afterspin-media="c7fda622d9cd"],img[data-afterspin-media="8126a10339cd"]){background:var(--night);max-width:460px;padding:2rem}
.vision-prose>figure:has(img[data-afterspin-media="644dfcf02375"],img[data-afterspin-media="843a5d6a991d"],img[data-afterspin-media="054041e43bce"],img[data-afterspin-media="c7fda622d9cd"],img[data-afterspin-media="8126a10339cd"]) img{max-height:360px;object-position:center}
.word-ribbon{font-family:var(--font-display,Georgia),serif;font-style:italic;font-size:clamp(1.8rem,4vw,3.5rem);line-height:1.8;max-width:none;margin:4rem 0 0;padding-block:1.5rem;border-block:1px solid var(--line);text-wrap:balance}
.page-contact .prose{font-size:clamp(1.15rem,2vw,1.6rem);max-width:40ch;padding-bottom:clamp(4rem,10vw,10rem)}
.page-contact .prose a{display:inline-block;margin-block:.3rem}
.single-story{padding-top:clamp(3rem,6vw,6rem);padding-bottom:4rem}
.article-heading{max-width:1100px;margin:0 auto 3rem}
.article-heading h1{font-size:clamp(2.3rem,5.5vw,5.5rem);max-width:21ch;margin-bottom:1.5rem}
.article-heading .story-meta{margin-bottom:1.3rem}
.article-deck{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.7;max-width:55ch;color:var(--soft)}
.article-body{margin-inline:auto;max-width:var(--measure)}
.article-body>figure{width:min(1100px,calc(100vw - var(--gutter)*2));max-width:none;position:relative;left:50%;transform:translateX(-50%);margin-block:3.5rem}
.article-body>figure img{max-height:1000px;object-fit:contain}
.article-body>figure figcaption{max-width:var(--measure);margin-top:1rem}
.article-body>figure+figure{margin-top:-1.75rem}
.article-body table{font-size:.9rem}
.article-topics{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;max-width:var(--measure);margin:3rem auto 0;font-size:.8rem}
.related-stories{padding-top:3rem;padding-bottom:var(--space);border-top:1px solid var(--line)}
.related-stories>h2{margin-bottom:3rem}
.video-player{aspect-ratio:16/9;background:var(--night);color:var(--light);margin-block:3rem;display:grid;place-items:center;width:100%;overflow:hidden}
.video-player iframe{width:100%;height:100%;display:block}
.video-load{display:flex;flex-direction:column;gap:.75rem;align-items:center;text-align:center;text-decoration:none;padding:2rem;max-width:100%}
.video-load>span{font-size:1.1rem;font-weight:600}
.video-load>small{font-size:.72rem;line-height:1.5;color:var(--night-soft)}
.video-load:hover>span{text-decoration:underline;text-underline-offset:.3em}
.pagination,.navigation.pagination{margin-top:3rem;display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;font-size:.85rem}
.pagination .nav-links{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.page-numbers{padding:.5rem;min-width:2.5rem;text-align:center}
.page-numbers.current{background:var(--ink);color:var(--paper)}
.site-footer{padding:clamp(3rem,6vw,6rem) var(--gutter) 1.5rem;background:var(--night);color:var(--light)}
.footer-top,.footer-bottom{max-width:var(--max);margin-inline:auto}
.footer-top{display:grid;grid-template-columns:1.2fr 1fr .65fr;gap:4rem;padding-bottom:4rem}
.footer-brand .brand,.footer-brand .custom-logo-link{width:140px;margin-bottom:1rem}
.footer-brand>p{font-size:.8rem;line-height:1.7;max-width:24ch;color:var(--night-soft)}
.footer-session h2{font-size:1.55rem;letter-spacing:-.025em;margin:.4rem 0 1rem}
.footer-session a{font-size:.8rem;max-width:30ch;display:block}
.footer-session p{font-size:.75rem;color:var(--night-soft);margin-top:1rem}
.footer-social{display:flex;flex-direction:column;align-items:flex-start;gap:.7rem;font-size:.85rem;padding-top:.5rem}
.footer-social a{text-decoration:none}
.footer-social a:hover{text-decoration:underline;text-underline-offset:.4em}
.footer-social span{margin-left:.5rem}
.footer-bottom{border-top:1px solid #444444;padding-top:1.5rem;display:flex;justify-content:space-between;gap:1rem;color:var(--night-soft);font-size:.68rem}
.footer-bottom p{margin:0}
.footer-bottom a{text-decoration:none}
.not-found{display:grid;grid-template-columns:2fr 1fr;gap:4rem;align-items:center;padding-top:var(--space);padding-bottom:var(--space);min-height:60vh}
.not-found p{max-width:40ch;margin:1.5rem 0 2rem}
.not-found-image{max-height:350px;background:var(--night);padding:2rem;width:100%;object-fit:contain}
.alignwide{max-width:1100px}.alignfull{max-width:none;width:100%}
.wp-caption-text,.gallery-caption{font-size:.8rem;color:var(--soft)}
.sticky,.bypostauthor{position:relative}

@media(min-width:1000px) and (prefers-reduced-motion:no-preference){.home-hero-content{animation:hero-arrive 1s var(--ease) both}@keyframes hero-arrive{from{clip-path:inset(0 0 8% 0);transform:translateY(10px)}to{clip-path:inset(0);transform:translateY(0)}}}
@media(max-width:1000px){.site-header{gap:1.5rem;min-height:92px}.brand,.custom-logo-link{width:105px}.brand-image,.custom-logo{height:60px}.site-navigation{gap:1.3rem;font-size:.75rem}.home-hero.has-photo{min-height:600px}.footer-top{gap:2rem}.home-vision{gap:3rem}}
@media(max-width:780px){:root{--gutter:1.25rem;--space:4rem}.site-header{flex-wrap:wrap;gap:1rem 1.5rem;min-height:88px;padding-block:.8rem}.brand,.custom-logo-link{width:100px}.brand-image,.custom-logo{height:55px}.site-navigation{order:4;flex-basis:100%;margin:0;font-size:.82rem;gap:.75rem 1.3rem;flex-wrap:wrap;padding:.5rem 0 1rem}.site-navigation ul{flex-wrap:wrap;gap:.75rem 1.3rem}.languages{margin-left:auto}.has-menu-js .menu-toggle{display:flex;order:2;margin-left:auto}.has-menu-js .languages{order:3;margin-left:0}.has-menu-js .site-navigation{display:none}.has-menu-js .site-navigation.is-open{display:flex}.has-menu-js .site-navigation ul{display:flex}.home-hero.has-photo{min-height:620px;min-height:75svh}.home-hero-content{padding:3rem var(--gutter)}.home-hero h1{font-size:clamp(3.75rem,13vw,6rem)}.hero-photo{object-position:54% center}.home-hero p{max-width:24ch}.section-heading{align-items:flex-start;gap:1.5rem;margin-bottom:2rem}.section-heading h2{font-size:2.3rem;max-width:9ch}.section-heading>.text-link{max-width:13ch;font-size:.75rem;white-space:normal}.story-grid{gap:3.5rem 1.25rem}.story-card :is(h2,h3,h4){font-size:2rem}.story-card>p{font-size:.82rem}.story-meta{font-size:.65rem;gap:.4rem .9rem}.story-card>.text-link{font-size:.75rem}.home-vision{grid-template-columns:1fr;gap:2.3rem}.home-vision-image img{aspect-ratio:5/4;object-position:center 48%;max-height:600px}.home-vision-copy h2{max-width:16ch;font-size:2.5rem}.home-vision-copy{max-width:38rem}.page-heading{margin-bottom:2.5rem}.page-heading h1{font-size:clamp(2.6rem,9vw,4rem)}.collection-nav{gap:.7rem 1.4rem;font-size:.75rem;padding-block:.9rem;margin-bottom:2rem}.prose{font-size:.94rem;line-height:1.85}.prose h2{margin-top:2.8rem}.article-heading h1{font-size:clamp(2.5rem,8.5vw,4.5rem)}.article-heading{margin-bottom:2rem}.article-body>figure{margin-block:2.5rem}.article-body>figure+figure{margin-top:-1rem}.article-body table{font-size:.75rem}.prose table th{width:32%}.prose table td,.prose table th{padding:.9rem .7rem .9rem 0}.footer-top{grid-template-columns:1fr 1fr;gap:3rem 2rem}.footer-brand{grid-column:1/-1}.footer-brand>p{max-width:none}.footer-bottom{font-size:.63rem}.not-found{grid-template-columns:1fr}.not-found-image{max-width:220px;max-height:270px}.vision-prose>figure:has(img[data-afterspin-media="644dfcf02375"],img[data-afterspin-media="843a5d6a991d"],img[data-afterspin-media="054041e43bce"],img[data-afterspin-media="c7fda622d9cd"],img[data-afterspin-media="8126a10339cd"]){max-width:360px}}
@media(max-width:520px){.story-grid{grid-template-columns:1fr}.story-card :is(h2,h3,h4){font-size:2.3rem;max-width:23ch}.story-card>p{font-size:.9rem}.story-meta{font-size:.7rem}.story-image{margin-bottom:1.1rem}.story-card>.text-link{font-size:.82rem}.home-hero.has-photo{min-height:600px;min-height:78svh}.home-hero-content{padding-bottom:2.5rem}.home-hero p{font-size:1.2rem}.footer-top{grid-template-columns:1fr;gap:2rem;padding-bottom:2.5rem}.footer-brand{grid-column:auto}.footer-bottom{flex-direction:column;gap:.75rem}.footer-social{flex-direction:row;flex-wrap:wrap;gap:1.5rem}.article-heading h1{font-size:2.5rem}.article-heading .story-meta{font-size:.72rem}.article-deck{font-size:1rem}.prose table{font-size:.72rem}.section-heading{align-items:center}.collection-intro h2{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;animation-iteration-count:1!important}.story-image img{transform:none!important}}
@media print{.site-header,.site-footer,.related-stories,.article-topics,.video-player,.languages,.menu-toggle{display:none!important}body{background:white;color:black;font-size:11pt}.wrap{padding:0;max-width:none}.single-story{padding:0}.article-heading h1{font-size:30pt}.article-body>figure{width:100%;max-width:100%;left:auto;transform:none;break-inside:avoid}a{text-decoration:underline}.prose{max-width:none}}
