/* Jo Wiggins portfolio. Colours: cream #FBF6EE, burgundy #2A0F16, green #1F4D3B, yellow #F2CF52, pink #F6B8CB, oat #EFE4D3, sage #CFE0D4 */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#FBF6EE;color:#2A0F16;font-family:'DM Sans',system-ui,sans-serif}
a{color:#2A0F16}a:hover{opacity:.7}
img,video{max-width:100%}
img{height:auto}
.page{background:#FBF6EE;color:#2A0F16;overflow-x:clip}
section[id]{scroll-margin-top:96px}
:focus-visible{outline:3px solid #F2CF52;outline-offset:3px}

@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes tickback{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes driftL{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-12px) rotate(-1.5deg)}}
@keyframes driftR{0%,100%{transform:translateY(0) rotate(4deg)}50%{transform:translateY(12px) rotate(2.5deg)}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-10px) rotate(-2deg)}}

.navlink{text-decoration:none}
.navlink:hover{text-decoration:underline;text-underline-offset:6px}
.shot{transition:transform .3s ease}
.shot:hover{transform:rotate(-1deg) scale(1.01)}

/* ---------- Homepage ---------- */
.label{margin:0;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:18px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.label.big{font-size:20px}
.home h1,.home h2,.home h3,.home blockquote{font-family:'Playfair Display',Georgia,serif;font-weight:400;margin:0}
.home .display{font-size:clamp(42px,5.6vw,84px);line-height:1;letter-spacing:-.03em}
.home .lede{margin:0;font-size:18px;line-height:1.55;text-wrap:pretty}
.home .under{min-height:44px;display:flex;align-items:center;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:18px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}

.ticker{overflow:hidden;background:#2A0F16;color:#FBF6EE}
.ticker .track{display:flex;width:max-content}
.ticker:hover .track{animation-play-state:paused}
.ticker .track>span{display:flex;align-items:center;white-space:nowrap}
.ticker.top{padding:10px 0}
.ticker.top .track{animation:tick 50s linear infinite}
.ticker.top .track>span{gap:18px;padding-right:18px;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:18px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.ticker.clients{padding:20px 0 24px}
.ticker.clients .track{animation:tickback 42s linear infinite}
.ticker.clients .track>span{gap:32px;padding-right:32px;font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:38px;letter-spacing:-.01em}

header.site{position:sticky;top:0;z-index:50;background:#FBF6EE;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:22px clamp(20px,4vw,64px);border-bottom:1px solid #2A0F16}
header.site .logo{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:30px;letter-spacing:-.02em;min-height:44px;display:flex;align-items:center}
header.site nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 32px;font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:18px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
header.site nav a{min-height:44px;display:flex;align-items:center}
.band{height:5px;background:#1F4D3B}

.hero{position:relative;padding:96px clamp(20px,4vw,64px) 112px;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.hero h1{max-width:1100px;font-size:clamp(44px,6.4vw,104px);line-height:1.02;letter-spacing:-.02em;text-wrap:balance}
.hero .lede{max-width:540px}
.hero .under{font-size:20px}
.burst{position:absolute;right:clamp(12px,5vw,80px);bottom:-62px;z-index:2;width:132px;height:132px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#FBF6EE}
.burst:hover{opacity:1}
.burst .spin{position:absolute;inset:20px;animation:spin 16s linear infinite}
.burst .spin span{position:absolute;inset:0;background:#1F4D3B}
.burst .spin span:nth-child(2){transform:rotate(30deg)}
.burst .spin span:nth-child(3){transform:rotate(60deg)}
.burst .words{position:relative;font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:23px;line-height:1;text-align:center}

.feature{background:#EFE4D3;padding:104px clamp(20px,4vw,64px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:48px}
.collage{flex:1 1 420px;max-width:640px;min-width:0;position:relative;aspect-ratio:5/4}
.collage>*{position:absolute}
.collage img{object-fit:cover}
.panel{flex:1 1 380px;max-width:560px;min-width:0;background:#2A0F16;color:#FBF6EE;padding:52px clamp(24px,4vw,56px);display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.panel h2{font-size:clamp(38px,4.4vw,62px);line-height:1.05;letter-spacing:-.02em}
.panel p{margin:0;font-size:18px;line-height:1.55;text-wrap:pretty}
.panel a{color:#FBF6EE}

.work{padding:104px clamp(20px,4vw,64px) 112px;display:flex;flex-direction:column;gap:48px}
.intro{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.intro .lede{max-width:560px}
.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding-top:12px}
.filter{min-height:44px;padding:0 20px;border:2px solid #2A0F16;border-radius:255px 18px 225px 18px / 18px 225px 18px 255px;font:600 18px 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:transparent;color:#2A0F16;transition:transform .2s ease}
.filter:hover{transform:rotate(-2deg)}
.filter[aria-pressed="true"]{background:#2A0F16;color:#FBF6EE}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:56px 36px}
.card{display:flex;flex-direction:column;gap:18px;text-decoration:none;color:#2A0F16}
.card[hidden]{display:none}
.card:hover{opacity:1}
.card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;background:#EFE4D3}
.card:hover .shot{transform:rotate(-1.2deg) scale(1.015)}
.card div{display:flex;flex-direction:column;gap:8px}
.card h3{font-style:italic;font-size:32px;line-height:1.1;letter-spacing:-.01em}

.wild{background:#F2CF52;padding:96px clamp(20px,4vw,64px) 104px;display:flex;flex-direction:column;align-items:center;gap:48px}
.wild .intro{gap:14px}
.wild h2{font-size:clamp(38px,4.8vw,68px);line-height:1.05;letter-spacing:-.02em}
.polaroids{align-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:32px}
.polaroids figure{margin:0;background:#FBF6EE;padding:14px 14px 18px;display:flex;flex-direction:column;gap:12px;transition:transform .3s ease}
.polaroids figure:hover{transform:rotate(0deg) scale(1.02) !important}
.polaroids a{display:block}
.polaroids img{display:block;width:100%;height:auto;aspect-ratio:4/5}

.funny{background:#1F4D3B;color:#FBF6EE;padding:112px clamp(20px,4vw,64px);display:flex;flex-wrap:wrap;gap:56px}
.funny .lead{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.funny .lede{max-width:440px}
.pill{margin-top:12px;padding:10px 18px;background:#F6B8CB;color:#2A0F16;border-radius:999px;font-size:14px;font-weight:700;animation:bob 6s ease-in-out infinite}
.rows{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;border-bottom:1px solid #FBF6EE}
.row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;padding:26px 0;border-top:1px solid #FBF6EE;transition:padding-left .2s ease}
.row:hover{padding-left:14px}
.row h3{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.015em}
.row a{color:#FBF6EE}

.about{padding:112px clamp(20px,4vw,64px);display:flex;flex-wrap:wrap;align-items:center;gap:64px}
.about .photo{flex:1 1 300px;min-width:0;display:flex;justify-content:center}
.about .photo img{width:min(340px,100%);height:auto;aspect-ratio:4/5;object-fit:cover;animation:driftL 8s ease-in-out infinite}
.about .text{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.about .text p:not(.label){margin:0;max-width:660px;font-size:20px;line-height:1.55;text-wrap:pretty}

.kind{background:#CFE0D4;padding:112px clamp(20px,4vw,64px);display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.kind blockquote{max-width:900px;font-style:italic;font-size:clamp(28px,3.6vw,48px);line-height:1.25;letter-spacing:-.01em;text-wrap:pretty}
.kind .full{margin:0;max-width:760px;font-size:18px;line-height:1.6;text-wrap:pretty}

footer.site{background:#2A0F16;color:#FBF6EE;padding:104px clamp(20px,4vw,64px) 36px;display:flex;flex-direction:column;align-items:center;gap:64px;text-align:center}
footer.site .hello{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:clamp(64px,15vw,230px);color:#FBF6EE;line-height:.9;letter-spacing:-.04em}
footer.site .base{align-self:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}
footer.site .base>*{min-height:44px;display:flex;align-items:center;color:#FBF6EE}
footer.site .base{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:18px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}

.totop{position:fixed;right:20px;bottom:20px;z-index:60;width:48px;height:48px;border-radius:50%;border:0;padding:0;background:#2A0F16;color:#FBF6EE;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(42,15,22,.25);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .3s ease,transform .3s ease}
.totop.on{opacity:1;transform:none;pointer-events:auto}
.totop:hover{background:#1F4D3B}

.filternote{margin:-16px 0 0;text-align:center}
.filternote a{text-decoration:underline;text-underline-offset:6px}
.filterend{display:flex;justify-content:center;padding-top:8px}

@media (max-width:600px){
  .hero{padding:64px 20px 104px}
  .feature,.funny,.about,.kind{padding-top:72px;padding-bottom:72px}
  .work{padding-top:72px;padding-bottom:80px}
  .ticker.clients .track>span{font-size:28px}
  header.site{padding:8px 16px;gap:2px 12px}
  header.site .logo{font-size:22px;min-height:32px}
  header.site nav{gap:2px 12px;font-size:14px}
  header.site nav a{min-height:32px}
  section[id]{scroll-margin-top:80px}
  .totop{right:14px;bottom:14px;width:44px;height:44px}
  footer.site .base{justify-content:center}
}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}html{scroll-behavior:auto}}
