/* Offbeat — Humanity Unfiltered */
/* Fonts bundled with the theme — SIL Open Font License 1.1. No external requests. */
@font-face{font-family:Lato;src:url("../fonts/lato-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:Lato;src:url("../fonts/lato-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Semi Condensed";src:url("../fonts/barlow-sc-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Semi Condensed";src:url("../fonts/barlow-sc-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Semi Condensed";src:url("../fonts/barlow-sc-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/source-serif-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/source-serif-400i.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/source-serif-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}


:root{
  --ground:#000; --surface:#0C0C0C; --raised:#141416;
  --bone:#F2F0ED; --dim:#B5B2AC; --muted:#8E8A84; --faint:#7A766F;
  --line:#1C1C1C; --line-2:#2E2E2E;
  --accent:#FFD21F;
  /* honour Ghost's Design > Fonts picker when set, otherwise the Offbeat brand faces */
  --font-display:var(--gh-font-heading,Lato,"Helvetica Neue",Arial,sans-serif);
  --font-body:var(--gh-font-body,"Source Serif 4",Georgia,serif);
  --font-label:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
  --gut:60px; --max:1320px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--bone);
  font-family:var(--font-body);font-size:17px;line-height:1.62;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--bone);text-decoration:none}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}

.ar{font-family:var(--font-display)}
.disp{font-family:var(--font-display);font-weight:900;
  text-transform:none;letter-spacing:-.022em;line-height:1.0;margin:0;text-wrap:balance}
.mono{font-family:var(--font-label);text-transform:uppercase;font-weight:600;
  letter-spacing:.16em;font-size:13px}
.accent{color:var(--accent)}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* nav */
.nav{border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:flex-start;
  padding:20px var(--gut);max-width:var(--max);margin:0 auto;gap:0}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand-mark{width:28px;height:28px;flex:none}
.brand-logo{height:32px;width:auto;max-width:230px;object-fit:contain;display:block}
.brand-txt{display:flex;flex-direction:column;gap:5px;align-items:stretch}
.brand-name{font-family:var(--font-display);font-weight:900;font-size:20px;letter-spacing:-.01em;
  text-transform:uppercase;line-height:1;color:var(--bone)}
.brand-tag{font-family:var(--font-label);font-weight:600;font-size:11px;letter-spacing:.26em;
  text-transform:uppercase;color:var(--muted);text-align:justify;text-align-last:justify;
  width:100%;white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-left:auto}
.nav-links a{font-family:var(--font-label);font-size:15.5px;font-weight:600;text-transform:uppercase;
  letter-spacing:.12em;color:var(--dim)}
.nav-links a:hover{color:var(--bone)}
.nav-links a.current{color:var(--bone)}
.nav-cta{flex:none;margin-left:22px}
.nav-in > .socials{margin-left:26px;padding-left:22px;border-left:1px solid var(--line)}
.nav-links a.btn{color:#000}
.nav-links a.btn:hover{color:#000}
.nav-links a.btn-ghost{color:var(--bone)}
.nav-links a.btn-ghost:hover{color:var(--accent)}
.btn{font-family:var(--font-label);font-size:14px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;padding:11px 20px;background:var(--accent);color:#000;
  border:0;cursor:pointer;display:inline-block}
.btn:hover{color:#000;opacity:.86}
.btn-ghost{background:transparent;color:var(--bone);border:1px solid rgba(242,240,237,.45)}
.btn-ghost:hover{color:var(--accent);border-color:var(--accent)}

/* hero */
.hero{position:relative;min-height:560px;display:flex;align-items:flex-end;overflow:hidden;
  background:var(--surface)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-veil{position:absolute;inset:0;background:
  linear-gradient(to right,rgba(0,0,0,.92) 0%,rgba(0,0,0,.75) 34%,rgba(0,0,0,.25) 62%,rgba(0,0,0,.1) 100%),
  linear-gradient(to top,#000 2%,rgba(0,0,0,.5) 42%,rgba(0,0,0,.25) 100%)}
.hero-in{position:relative;max-width:var(--max);margin:0 auto;width:100%;
  padding:80px var(--gut) 60px;display:flex;flex-direction:column;gap:18px}
.kicker{display:flex;align-items:center;gap:14px}
.kicker i{width:22px;height:2px;background:var(--accent);display:block}
.hero h1{font-size:clamp(36px,5vw,64px);max-width:16ch;text-transform:none;letter-spacing:-.024em;line-height:1.02}
.hero p{font-size:19px;color:#E6E3DE;margin:0;max-width:52ch}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}

/* sections */
.sec{padding:74px 0;border-bottom:1px solid var(--line)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;
  gap:20px;margin-bottom:30px;flex-wrap:wrap}
.sec-head h2{font-size:clamp(26px,3vw,36px)}
.split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:56px;align-items:start}
.intro-line{font-family:var(--font-display);font-weight:900;text-transform:none;
  letter-spacing:-.022em;font-size:clamp(26px,3.5vw,44px);line-height:1.08;margin:0;
  max-width:22ch;text-wrap:balance}
.statement-link{display:inline-block;margin-top:26px;font-family:var(--font-label);font-weight:600;
  font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--bone);
  border-bottom:1px solid var(--line-2);padding-bottom:8px}
.statement-link:hover{color:var(--accent);border-color:var(--accent)}
.side p{color:var(--muted);margin:0;font-size:16px;line-height:1.7}
.side > .mono{display:block;margin:0 0 14px}
.stat-row{display:flex;gap:36px;align-items:flex-start;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.side > :first-child.stat-row,.side > :first-child.side-link{margin-top:6px;padding-top:0;border-top:0}
.stat{display:block}
.stat b{font-family:var(--font-display);font-size:26px;font-weight:900;display:block;line-height:1}
.stat .mono{display:block;margin-top:7px;color:var(--faint)}
.side-link{display:inline-block;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);
  width:100%;font-family:var(--font-label);font-weight:600;font-size:13px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--bone)}
.side-link:hover{color:var(--accent)}
.stat-row + .side-link{margin-top:18px;padding-top:0;border-top:0;width:auto}

.intro{display:grid;grid-template-columns:minmax(220px,340px) minmax(0,1fr);
  gap:64px;align-items:center}
.intro-photo{order:1}
.intro-line{order:2}
.intro:not(:has(.intro-photo)){display:block}
.intro:has(.intro-photo) .intro-line{max-width:none}
.intro-photo{margin:0}
.intro-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;background:var(--surface)}

/* film cards */
.films{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:26px}
.film{display:flex;flex-direction:column;gap:12px}
.film h3{flex-grow:1}
.film-meta{margin-top:auto}
.film-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--raised)}
.film-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.film:hover .film-thumb img{transform:scale(1.03)}
.film h3{font-family:var(--font-display);font-size:16.5px;font-weight:600;margin:0;line-height:1.32;
  color:var(--bone)}
.film-meta{font-family:var(--font-label);font-weight:600;font-size:12.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--faint)}

/* note rows */
.notes-split{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:48px;align-items:start}
.notes{display:flex;flex-direction:column}
.note{display:grid;grid-template-columns:100px 1fr;gap:28px;padding:24px 0;
  border-top:1px solid var(--line)}
.note:last-child{border-bottom:1px solid var(--line)}
.note-date{font-family:var(--font-label);font-weight:600;font-size:12.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--faint);padding-top:7px}
.note h3{font-family:var(--font-display);font-size:clamp(20px,2.2vw,26px);font-weight:700;margin:0 0 7px;
  line-height:1.2;letter-spacing:-.01em}
.note p{margin:0;color:var(--muted);font-size:16px;line-height:1.6;max-width:62ch}

/* newsletter */
.news{padding:70px 0;background:var(--surface)}
.news-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr);gap:56px;align-items:center}
.news-cta{display:flex;flex-direction:column;align-items:flex-start}
.news-cta .btn{padding:18px 40px}
.msg{font-family:var(--font-label);font-weight:600;font-size:11.5px;letter-spacing:.16em;
  text-transform:uppercase;margin-top:12px;display:none}
form.success .msg-ok{display:block;color:var(--accent)}
form.error .msg-err{display:block;color:#E0797F}

/* post */
.post-head{padding-top:64px;padding-bottom:34px}
.post-head h1{font-size:clamp(31px,4.2vw,52px);margin:0;max-width:22ch;
  text-transform:none;letter-spacing:-.022em;line-height:1.03}
.post-excerpt{font-size:20px;color:var(--dim);margin:18px 0 0;max-width:56ch}
.post-feature{margin:0}
.post-feature img{width:100%;max-height:620px;object-fit:cover}
.post-feature figcaption{margin-top:12px}

/* article grid: reading column left, meta rail right — same rhythm as the homepage */
.post-grid{display:grid;grid-template-columns:minmax(0,700px) minmax(180px,1fr);
  gap:72px;align-items:start;padding-top:52px;padding-bottom:76px}
.post-rail{position:sticky;top:32px;display:flex;flex-direction:column;gap:22px}
.rail-item{display:flex;flex-direction:column;gap:6px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.rail-item:last-child{border-bottom:0}
.rail-item b{font-family:var(--font-display);font-weight:700;font-size:15px;color:var(--bone)}
.rail-item .mono{color:var(--faint)}

.post-body{max-width:none}
.post-body > *{max-width:none;margin-left:0;margin-right:0}
.post-body > :first-child{margin-top:0}
.post-body p{font-size:19px;line-height:1.72;color:#DCD9D4;margin:0 0 24px}
.post-body > p:first-of-type{font-size:21px;line-height:1.62;color:#EDEAE5}
.post-body h2{font-family:var(--font-display);font-weight:900;
  letter-spacing:-.018em;font-size:26px;line-height:1.16;margin:46px 0 16px}
.post-body h3{font-family:var(--font-display);font-weight:700;font-size:19px;margin:36px 0 10px}
.post-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.post-body ul,.post-body ol{font-size:19px;line-height:1.72;color:#DCD9D4;padding-left:22px;margin:0 0 24px}
.post-body li{margin:0 0 8px}
.post-body blockquote{margin:34px 0;padding:0 0 0 24px;border-left:2px solid var(--accent);
  font-family:var(--font-display);font-weight:700;font-size:23px;line-height:1.28;
  color:var(--bone);text-transform:none;letter-spacing:-.01em}
.post-body blockquote p{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;margin:0}
.post-body figure{margin:34px 0}
.post-body img{margin:0}
.post-body figcaption{font-family:var(--font-label);font-weight:600;font-size:12.5px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-top:12px;text-align:left}
.post-body hr{border:0;height:1px;background:var(--line);margin:44px 0}
.post-body .kg-embed-card{margin:34px 0;max-width:100%}
.post-body iframe{width:100%;max-width:100%;border:0;display:block}
.post-body iframe[src*="youtube"],.post-body iframe[src*="youtu.be"],
.post-body iframe[src*="vimeo"],.post-body iframe[src*="mediadelivery"]{height:auto;aspect-ratio:16/9}
.post-video{margin:0}
.post-video figure{margin:0}
.post-video iframe{width:100%;border:0;display:block;aspect-ratio:16/9;height:auto;
  max-height:74vh;background:var(--surface)}
.post-body .kg-card{margin:34px 0}
.post-body .kg-width-wide,.post-body .kg-width-full{max-width:none}

/* contact form (Ghost HTML card) */
.ob-form{display:flex;flex-direction:column;gap:22px;margin:34px 0 8px;max-width:640px}
.ob-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.ob-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.ob-field{display:flex;flex-direction:column;gap:8px}
.ob-label{font-family:var(--font-label);font-weight:600;font-size:12.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted)}
.ob-form input[type=text],.ob-form input[type=email],.ob-form select,.ob-form textarea{
  background:var(--surface);border:1px solid var(--line-2);color:var(--bone);
  font-family:var(--font-body);font-size:17px;padding:14px 15px;width:100%;
  border-radius:0;-webkit-appearance:none;appearance:none;min-height:50px}
.ob-form textarea{min-height:150px;resize:vertical;line-height:1.6}
.ob-form select{background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 20px) 22px,calc(100% - 14px) 22px;background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;padding-right:44px}
.ob-form ::placeholder{color:var(--faint)}
.ob-form input:focus,.ob-form select:focus,.ob-form textarea:focus{
  outline:none;border-color:var(--accent)}
.ob-form .btn{align-self:flex-start;border:0;cursor:pointer;padding:16px 30px}
.ob-note{font-size:15px;color:var(--muted);margin:0;max-width:52ch}
@media (max-width:620px){.ob-row{grid-template-columns:1fr}}

/* subscribe modal */
.submodal{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.86);
  display:flex;align-items:center;justify-content:center;padding:24px}
.submodal[hidden]{display:none}
.submodal-panel{position:relative;width:100%;max-width:520px;background:var(--surface);
  border:1px solid var(--line-2);padding:48px 44px 42px}
.submodal-close{position:absolute;top:16px;right:16px;background:none;border:0;
  color:var(--muted);cursor:pointer;padding:8px}
.submodal-close:hover{color:var(--bone)}
.submodal-eyebrow{display:block;margin:0 0 16px}
.submodal h2{font-size:clamp(28px,4vw,36px);margin:0 0 30px;line-height:1.04}
.submodal-body{color:var(--muted);font-size:16.5px;line-height:1.6;margin:14px 0 26px;max-width:44ch}
.submodal-form{display:flex;flex-direction:column;gap:14px}
.submodal-form input{background:var(--ground);border:1px solid var(--line-2);color:var(--bone);
  font-family:var(--font-body);font-size:17px;padding:16px 16px;outline:none;width:100%}
.submodal-form input:focus{border-color:var(--accent)}
.submodal-form input::placeholder{color:var(--faint)}
.submodal-form .btn{border:0;cursor:pointer;padding:17px 20px;text-align:center;width:100%}
.submodal-notice{margin:26px 0 0;color:var(--muted);font-size:15px;line-height:1.6;max-width:46ch}
.submodal-foot{margin:22px 0 0;padding-top:22px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.submodal-foot a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media (max-width:520px){.submodal-panel{padding:40px 24px 32px}
  .submodal h2{margin-bottom:24px}}

/* burger + drawer */
.burger{display:none;width:44px;height:44px;background:none;border:0;cursor:pointer;
  align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:0;color:var(--bone)}
.burger span{display:block;width:22px;height:2px;background:currentColor}
.drawer{position:fixed;inset:0;z-index:80;background:var(--ground);
  display:flex;flex-direction:column;padding:18px var(--gut) 32px;overflow-y:auto}
.drawer[hidden]{display:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;
  padding-bottom:18px;border-bottom:1px solid var(--line)}
.drawer-close{background:none;border:0;color:var(--bone);cursor:pointer;padding:8px;margin:-8px}
.drawer-links{display:flex;flex-direction:column;padding:22px 0;flex-grow:1}
.drawer-links a{font-family:var(--font-display);font-weight:900;font-size:clamp(28px,8vw,38px);
  letter-spacing:-.022em;color:var(--bone);padding:14px 0;border-bottom:1px solid var(--line)}
.drawer-links a:hover,.drawer-links a.current{color:var(--accent)}
.drawer-foot{display:flex;flex-direction:column;gap:22px;padding-top:8px}
.drawer-cta{align-self:stretch;text-align:center;padding:18px}
.socials-drawer{justify-content:space-between;padding-top:4px}
.socials-drawer .soc{width:44px;height:44px;color:var(--dim)}
.socials-drawer .soc-icon{width:22px;height:22px}

/* social icons */
.socials{display:flex;align-items:center;gap:4px}
.soc{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;
  color:var(--dim);flex:none}
.soc:hover{color:var(--accent)}
.soc-icon{width:19px;height:19px;display:block}
.socials-foot .soc{width:32px;height:32px;color:var(--bone);opacity:.7}
.socials-foot .soc-icon{width:17px;height:17px}
.socials-foot .soc:hover{opacity:1;color:var(--bone)}

/* footer */
.foot{padding:38px 0;border-top:1px solid var(--line)}
.foot-in{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.foot-right{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.foot a,.foot span{font-family:var(--font-label);font-weight:600;font-size:12.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--faint)}
.foot a:hover{color:var(--accent)}
.foot-links{display:flex;gap:24px;flex-wrap:wrap}

/* pagination + misc */
.pager{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  margin-top:64px;padding-top:26px;border-top:1px solid var(--line)}
.pager-count{color:var(--faint)}
.pager-links{display:flex;gap:12px}
.pager-links .btn{padding:13px 22px}
.empty{padding:80px 0;color:var(--muted);text-align:center}
.tag-head{padding-top:60px;padding-bottom:34px;border-bottom:1px solid var(--line)}
.tag-head h1{font-size:clamp(34px,5.4vw,58px)}
.tag-head p{color:var(--muted);margin:14px 0 0;max-width:56ch;font-size:17px}

@media (max-width:900px){
  :root{--gut:22px}
  .split,.news-in,.notes-split{grid-template-columns:1fr;gap:28px}
  .intro{grid-template-columns:1fr;gap:26px}
  .intro-photo img{aspect-ratio:3/2}
  .note{grid-template-columns:1fr;gap:6px}
  .note-date{padding-top:0}

  /* logo + tagline, then icons, Subscribe and the burger; nav lives in the drawer */
  .nav-in{display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand burger" "socials cta";
    align-items:center;gap:14px 18px;padding:14px var(--gut)}
  .brand{grid-area:brand;min-width:0}
  .burger{grid-area:burger;display:flex;justify-self:end;margin-right:-10px}
  .nav-in > .socials{grid-area:socials;padding:10px 0 0;margin:0;border-top:1px solid var(--line);
    border-left:0;gap:0;justify-content:space-between;max-width:270px}
  .nav-in > .socials .soc{width:46px;height:46px;color:var(--bone)}
  .nav-in > .socials .soc-icon{width:23px;height:23px}
  /* pull the outer glyphs out to the optical edge; the 46px target is unchanged */
  .nav-in > .socials .soc:first-child{margin-left:-11px}
  .nav-cta{grid-area:cta;margin-top:12px;padding:11px 16px;font-size:12.5px}
  .nav-links{display:none}
  .brand-logo{height:27px}
  .brand-tag{font-size:9.5px;letter-spacing:.24em}

  /* hero stacks: whole thumbnail first, then the title under it */
  .hero{display:block;min-height:0;background:var(--ground)}
  .hero-img{position:static;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
  .hero-veil{display:none}
  .hero-in{position:static;padding:18px var(--gut) 34px;gap:12px}
  .hero h1{font-size:clamp(24px,6.4vw,32px);max-width:none;line-height:1.08}
  .kicker{gap:10px}
  .hero-actions{gap:10px;width:100%;margin-top:4px}
  .hero-actions .btn{flex:1 1 auto;text-align:center;padding:15px 14px}

  .sec{padding:48px 0}
  .films{grid-template-columns:1fr 1fr;gap:16px}
  .pager{margin-top:40px;padding-top:20px}
  .pager-links{width:100%}
  .pager-links .btn{flex:1 1 auto;text-align:center}
  .film h3{font-size:15px}
  .news{padding:48px 0}
  .follow-in{grid-template-columns:1fr;gap:22px;padding:40px 0}
  .follow-links{grid-template-columns:1fr 1fr}
  .news-cta{align-items:stretch}
  .news-cta .btn{text-align:center}
  .news .btn{padding:15px 20px}
  .post-grid{grid-template-columns:1fr;gap:34px;padding-top:32px;padding-bottom:52px}
  .post-rail{position:static;flex-direction:row;flex-wrap:wrap;gap:14px 28px}
  .rail-item{border-bottom:0;padding-bottom:0}
  .post-head{padding-top:34px;padding-bottom:24px}
  .post-body p{font-size:18px}
  .post-body > p:first-of-type{font-size:19px}
  .foot-in{flex-direction:column;align-items:flex-start;gap:14px}
}
@media (min-width:901px){.drawer{display:none!important}}
@media (max-width:430px){
  .films{grid-template-columns:1fr}
  .hero h1{font-size:clamp(22px,6vw,28px)}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
}
