/*
Theme Name: CXO Force
Theme URI: https://thecxoforce.com
Author: CXO Force
Description: One-page site for the CXO Force podcast. Edit text, links and hosts under Appearance → Customize → CXO Force; add Episodes and Guests from the admin menu. Guest requests from the site's form are saved under Guest Requests.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cxoforce
*/

/* The body carries the .cxof class (see functions.php), so every rule below is scoped to this theme. */
.cxof{
  --ink:#12201C; --ink-2:#1C2E27;
  --paper:#EEEDE4; --paper-2:#E4E2D5;
  --line:#CBC7B4; --line-on-ink:#33443C;
  --accent:#C98A2E; --accent-deep:#8A5F1F;
  --mark:#3DD598;
  --muted:#5B5F55; --muted-on-ink:#AFB8AC;
  --white:#FBFAF6; --max:1180px;
  --serif:"Fraunces", Georgia, serif;
  --sans:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased; text-align:left;
}
.cxof *{ box-sizing:border-box; }
.cxof h1,.cxof h2,.cxof h3,.cxof p{ margin:0; padding:0; letter-spacing:normal; text-transform:none; }
.cxof a{ color:inherit; text-decoration:none; }
.cxof img{ max-width:100%; display:block; }
.cxof .wrap{ max-width:var(--max); margin:0 auto; padding:0 32px; }
.cxof a:focus-visible, .cxof button:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

/* logo (recreated from the LinkedIn mark so no image hosting is needed) */
.cxof .logo{ display:inline-flex; align-items:center; gap:10px; font-family:var(--sans); font-weight:600; font-size:21px; color:var(--white); letter-spacing:-0.01em; }
.cxof .logo .mark{ width:24px; height:19px; fill:var(--mark); }
.cxof svg{ display:block; }
.cxof section[id]{ scroll-margin-top:72px; }

/* header */
.cxof .site-header{ position:sticky; top:0; z-index:50; background:var(--ink); color:var(--white); border-bottom:1px solid var(--line-on-ink); }
.cxof .header-row{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.cxof .primary-nav{ display:flex; align-items:center; gap:32px; }
.cxof .nav-link{ color:var(--muted-on-ink); font-size:15px; }
.cxof .nav-link:hover{ color:var(--white); }
.cxof .menu-toggle{ display:none; background:none; border:none; color:var(--white); font:500 15px var(--sans); cursor:pointer; padding:8px; }

.cxof .btn{ display:inline-flex; align-items:center; justify-content:center; padding:12px 22px; border-radius:3px; font-family:var(--sans); font-size:15px; font-weight:600; border:1px solid transparent; cursor:pointer; transition:background .15s, border-color .15s; line-height:1.3; }
.cxof .btn-accent{ background:var(--accent); color:var(--ink); }
.cxof .btn-accent:hover{ background:#DA9B41; }
.cxof .btn-outline-light{ color:var(--white); border-color:var(--line-on-ink); }
.cxof .btn-outline-light:hover{ border-color:var(--white); }
.cxof .btn-outline-dark{ color:var(--ink); border-color:var(--line); }
.cxof .btn-outline-dark:hover{ border-color:var(--ink); }

/* hero */
.cxof .hero{ position:relative; overflow:hidden; padding:112px 0 104px; }
.cxof .hero-mark{ position:absolute; top:50%; right:2%; transform:translateY(-50%); width:520px; height:auto; fill:none; stroke:var(--line); stroke-width:.06; pointer-events:none; }
.cxof .listen{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:40px; font-size:14px; color:var(--muted); }
.cxof .listen a{ display:inline-flex; align-items:center; gap:7px; color:var(--ink); font-weight:500; }
.cxof .listen a:hover{ color:var(--accent-deep); }
.cxof .listen svg, .cxof .btn svg{ width:18px; height:18px; flex:none; }
.cxof .hero-inner{ position:relative; max-width:680px; }
.cxof .eyebrow{ font-size:14px; font-weight:600; color:var(--accent-deep); letter-spacing:.06em; text-transform:uppercase; margin-bottom:20px; }
.cxof .hero h1{ font-family:var(--serif); font-weight:500; font-size:60px; line-height:1.06; letter-spacing:-0.01em; margin:0 0 24px; color:var(--ink); }
.cxof .hero p.lede{ font-size:20px; color:var(--ink-2); max-width:44ch; margin:0 0 40px; }
.cxof .actions{ display:flex; gap:16px; flex-wrap:wrap; }
@media (prefers-reduced-motion:no-preference){
  .cxof .hero-inner{ animation:cxof-rise .7s ease both; }
  @keyframes cxof-rise{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none; } }
}

/* sections */
.cxof section{ padding:88px 0; border-top:1px solid var(--line); }
.cxof .section-grid{ display:grid; grid-template-columns:200px 1fr; gap:64px; }
.cxof .section-label{ font-size:14px; color:var(--muted); padding-top:8px; }
.cxof h2{ font-family:var(--serif); font-weight:500; font-size:34px; line-height:1.2; margin:0 0 32px; color:inherit; }

/* episodes: one featured + two stacked, CXOTalk-style */
.cxof .episodes-band{ background:var(--ink); color:var(--white); border-top:none; }
.cxof .episodes-band .section-label{ color:var(--muted-on-ink); }
.cxof .episodes-head{ display:flex; justify-content:space-between; align-items:baseline; gap:24px; flex-wrap:wrap; margin-bottom:32px; }
.cxof .episodes-head h2{ margin:0; }
.cxof .episodes-head a{ color:var(--accent); font-size:15px; font-weight:600; }
.cxof .episodes-head a:hover{ text-decoration:underline; }
.cxof .episodes{ display:grid; grid-template-columns:1.6fr 1fr; gap:28px; }
.cxof .episodes .side{ display:grid; gap:28px; align-content:start; }
.cxof .episode{ color:var(--white); display:block; }
.cxof .thumb{ position:relative; aspect-ratio:16/9; background:var(--ink-2); border:1px solid var(--line-on-ink); overflow:hidden; }
.cxof .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.cxof .episode:hover .thumb img{ transform:scale(1.03); }
.cxof .play{ position:absolute; left:14px; bottom:14px; width:40px; height:40px; border-radius:50%; background:var(--accent); display:grid; place-items:center; }
.cxof .play::after{ content:""; margin-left:3px; border-left:12px solid var(--ink); border-top:7px solid transparent; border-bottom:7px solid transparent; }
.cxof .featured .play{ width:56px; height:56px; left:20px; bottom:20px; }
.cxof .tag{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--mark); margin:16px 0 4px; }
.cxof .episode h3{ font-family:var(--serif); font-weight:500; font-size:19px; line-height:1.3; margin:14px 0 4px; color:var(--white); }
.cxof .featured h3{ font-size:26px; margin-top:4px; }
.cxof .episode p{ color:var(--muted-on-ink); font-size:14.5px; }
.cxof .platforms{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:40px; color:var(--muted-on-ink); font-size:14px; }
.cxof .platforms .btn{ gap:8px; }

/* what we do */
.cxof .pillars{ display:grid; grid-template-columns:repeat(3, 1fr); gap:48px; }
.cxof .pillar{ border-top:2px solid var(--ink); padding-top:20px; }
.cxof .pillar h3{ font-family:var(--serif); font-weight:500; font-size:21px; margin:0 0 10px; }
.cxof .pillar p{ color:var(--muted); font-size:16px; }
.cxof .topics{ display:flex; flex-wrap:wrap; gap:10px; margin-top:44px; }
.cxof .topics span{ font-size:14px; padding:6px 14px; border:1px solid var(--line); border-radius:999px; color:var(--ink-2); }

/* guests */
.cxof .guests{ display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); }
.cxof .guest{ padding:36px 40px; }
.cxof .guest + .guest{ border-left:1px solid var(--line); }
.cxof .guest h3{ font-family:var(--serif); font-weight:500; font-size:22px; margin:0 0 10px; }
.cxof .guest p{ color:var(--muted); }
.cxof .recent-label{ font-size:14px; color:var(--muted); margin:40px 0 4px; }
.cxof .recent{ display:grid; grid-template-columns:repeat(3, 1fr); }
.cxof .recent li{ list-style:none; padding:16px 20px 16px 0; border-bottom:1px solid var(--line); }
.cxof .recent ul, .cxof ul.recent{ margin:0; padding:0; }
.cxof .recent strong{ display:block; font-family:var(--serif); font-weight:500; font-size:18px; }
.cxof .recent small{ color:var(--muted); font-size:14px; }

/* hosts */
.cxof .hosts{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.cxof .host{ display:grid; grid-template-columns:136px 1fr; gap:24px; align-items:start; }
.cxof .photo{ position:relative; width:136px; aspect-ratio:4/5; background:var(--paper-2); border:1px solid var(--line); overflow:hidden; }
.cxof .photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(15%); }
.cxof .photo .initials{ position:absolute; inset:0; display:grid; place-items:center; font-family:var(--serif); font-size:40px; color:var(--accent-deep); }
.cxof .host h3{ font-family:var(--serif); font-weight:500; font-size:23px; margin:0 0 2px; }
.cxof .role{ color:var(--accent-deep); font-size:14px; margin:0 0 12px; }
.cxof .host p.bio{ color:var(--ink-2); font-size:16px; }

/* be a guest */
.cxof .guest-cta{ background:var(--paper-2); }
.cxof .guest-cta .guest-intro{ color:var(--ink-2); max-width:52ch; margin:-16px 0 28px; }
.cxof .guest-note{ color:var(--muted); font-size:14px; margin-top:16px; }

/* follow */
.cxof .follow{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.cxof .follow h2{ margin:0 0 8px; }
.cxof .follow p{ color:var(--muted); }
.cxof .socials{ display:flex; gap:10px; flex-wrap:wrap; }
.cxof .social{ width:46px; height:46px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--ink); transition:border-color .15s, background .15s, color .15s; }
.cxof .social:hover{ background:var(--ink); border-color:var(--ink); color:var(--white); }
.cxof .social svg{ width:19px; height:19px; }
.cxof .footer-links{ display:flex; gap:18px; flex-wrap:wrap; }
.cxof .footer-links a:hover{ color:var(--white); }

.cxof .site-footer{ background:var(--ink); color:var(--muted-on-ink); padding:32px 0; }
.cxof .footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:14px; }
.cxof .footer-row .logo{ font-size:18px; }

@media (max-width:960px){
  .cxof .hero h1{ font-size:44px; }
  .cxof .hero-mark{ width:340px; right:-6%; opacity:.7; }
  .cxof .section-grid{ grid-template-columns:1fr; gap:16px; }
  .cxof .pillars{ grid-template-columns:1fr; gap:28px; }
  .cxof .episodes{ grid-template-columns:1fr; }
  .cxof .episodes .side{ grid-template-columns:1fr 1fr; }
  .cxof .guests{ grid-template-columns:1fr; }
  .cxof .guest + .guest{ border-left:none; border-top:1px solid var(--line); }
  .cxof .recent{ grid-template-columns:1fr 1fr; }
  .cxof .hosts{ grid-template-columns:1fr; gap:40px; }
}
/* With six tabs the header collapses into the Menu button below 1080px. */
@media (max-width:1080px){
  .cxof .primary-nav{ position:absolute; top:72px; left:0; right:0; background:var(--ink); flex-direction:column; align-items:flex-start; gap:0; padding:8px 32px 20px; border-bottom:1px solid var(--line-on-ink); display:none; }
  .cxof .primary-nav.open{ display:flex; }
  .cxof .nav-link{ padding:12px 0; width:100%; }
  .cxof .primary-nav .btn{ margin-top:8px; }
  .cxof .menu-toggle{ display:inline-flex; }
}
@media (max-width:700px){
  .cxof .wrap{ padding:0 16px; }
  .cxof .primary-nav{ padding:8px 16px 20px; }
  .cxof .hero{ padding:72px 0 64px; }
  .cxof .hero h1{ font-size:36px; }
  .cxof .hero p.lede{ font-size:18px; }
  .cxof .hero-mark{ width:240px; right:-14%; }
  .cxof section{ padding:56px 0; }
  .cxof .episodes .side{ grid-template-columns:1fr; }
  .cxof .featured h3{ font-size:22px; }
  .cxof .recent{ grid-template-columns:1fr; }
  .cxof .guest{ padding:28px 24px; }
  .cxof .host{ grid-template-columns:104px 1fr; gap:18px; }
  .cxof .photo{ width:104px; }
}

/* ---- WordPress additions ---- */
body.cxof{ margin:0; overflow-x:clip; }
html{ scroll-behavior:smooth; }
.cxof .screen-reader-text{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.admin-bar.cxof .site-header{ top:32px; }
@media (max-width:782px){ .admin-bar.cxof .site-header{ top:46px; } }
@media (max-width:600px){ .admin-bar.cxof .site-header{ top:0; } }
.cxof .primary-nav ul{ display:contents; list-style:none; margin:0; padding:0; }
.cxof .primary-nav li{ display:contents; }

/* guest request form */
.cxof .guest-form{ margin-top:8px; max-width:640px; }
.cxof .guest-form summary{ list-style:none; display:inline-flex; }
.cxof .guest-form summary::-webkit-details-marker{ display:none; }
.cxof .guest-form[open] summary{ display:none; }
.cxof .form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px 20px; }
.cxof .form-grid .full{ grid-column:1 / -1; }
.cxof .field label, .cxof .field legend{ display:block; font-size:14px; font-weight:600; color:var(--ink-2); margin-bottom:6px; padding:0; }
.cxof .field input[type=text], .cxof .field input[type=email], .cxof .field input[type=url], .cxof .field textarea{ width:100%; font:inherit; font-size:16px; color:var(--ink); background:var(--white); border:1px solid var(--line); border-radius:3px; padding:11px 12px; }
.cxof .field textarea{ min-height:130px; resize:vertical; }
.cxof .field input:focus, .cxof .field textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; border-color:var(--ink); }
.cxof .field fieldset{ border:0; margin:0; padding:0; }
.cxof .choice{ display:flex; gap:20px; flex-wrap:wrap; font-size:16px; }
.cxof .choice label{ display:inline-flex; align-items:center; gap:8px; font-weight:400; margin:0; }
.cxof .hp{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.cxof .form-actions{ margin-top:22px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.cxof .notice{ border-left:3px solid var(--accent); background:var(--white); padding:14px 18px; margin:0 0 24px; max-width:640px; }
.cxof .notice.error{ border-color:#B4432F; }
@media (max-width:700px){ .cxof .form-grid{ grid-template-columns:1fr; } }

/* inner pages and posts (privacy policy, etc.) */
.cxof .page-body{ padding:72px 0 96px; }
.cxof .page-body h1{ font-family:var(--serif); font-weight:500; font-size:44px; line-height:1.1; margin:0 0 28px; }
.cxof .entry{ max-width:68ch; }
.cxof .entry p, .cxof .entry ul, .cxof .entry ol{ margin:0 0 1.1em; }
.cxof .entry h2{ font-size:28px; margin:1.6em 0 .6em; }
.cxof .entry a{ text-decoration:underline; color:var(--accent-deep); }
.cxof .post-list article{ padding:24px 0; border-bottom:1px solid var(--line); }
.cxof .post-list h2{ font-size:24px; margin:0 0 6px; }

/* active tab */
.cxof .nav-link[aria-current="page"]{ color:var(--white); box-shadow:inset 0 -2px 0 var(--accent); }

/* homepage teaser for Podcast as a Service */
.cxof .paas-teaser{ background:var(--ink); color:var(--white); border-top:none; padding:64px 0; }
.cxof .paas-teaser-row{ display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.cxof .paas-teaser .eyebrow{ color:var(--mark); margin-bottom:12px; }
.cxof .paas-teaser h2{ margin:0 0 8px; }
.cxof .paas-teaser p:not(.eyebrow){ color:var(--muted-on-ink); }

/* Podcast as a Service page */
.cxof .paas-hero{ padding:48px 0 88px; }
.cxof .paas-card{ display:grid; grid-template-columns:1.25fr 1fr; border-radius:12px; overflow:hidden; background:var(--ink); color:var(--white); min-height:520px; }
.cxof .paas-media{ position:relative; background:var(--ink-2); }
.cxof .paas-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cxof .paas-media[data-empty]{ background:radial-gradient(120% 90% at 20% 15%, #24392F 0%, var(--ink-2) 45%, var(--ink) 100%); }
.cxof .paas-media .hero-mark{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:58%; height:auto; fill:none; stroke:var(--mark); stroke-width:.05; opacity:.55; }
.cxof .paas-panel{ padding:56px 48px; display:flex; flex-direction:column; justify-content:center; }
.cxof .paas-panel h1{ font-family:var(--serif); font-weight:500; font-size:46px; line-height:1.08; margin:0 0 14px; }
.cxof .paas-tagline{ font-size:14px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--mark); margin:0 0 28px; }
.cxof .paas-intro{ color:var(--muted-on-ink); font-size:16.5px; margin:0 0 32px; }
.cxof .services{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--line-on-ink); border:1px solid var(--line-on-ink); }
.cxof .service{ background:var(--ink); padding:28px 26px; }
.cxof .service .num{ font-size:13px; font-weight:600; color:var(--accent); letter-spacing:.06em; }
.cxof .service h3{ font-family:var(--serif); font-weight:500; font-size:21px; margin:10px 0 8px; }
.cxof .service p{ color:var(--muted-on-ink); font-size:15.5px; }
.cxof .steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, 1fr); gap:28px; counter-reset:step; }
.cxof .steps li{ counter-increment:step; border-top:2px solid var(--ink); padding-top:18px; }
.cxof .steps li::before{ content:counter(step); display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--accent); color:var(--ink); font-weight:600; font-size:15px; margin-bottom:14px; }
.cxof .steps h3{ font-family:var(--serif); font-weight:500; font-size:20px; margin:0 0 8px; }
.cxof .steps p{ color:var(--muted); font-size:15.5px; }
.cxof .paas-extra{ margin-top:40px; }
.cxof .paas-lead{ max-width:760px; }
.cxof .faq{ max-width:760px; border-top:1px solid var(--line); }
.cxof .faq details{ border-bottom:1px solid var(--line); }
.cxof .faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:24px; padding:20px 0; font-family:var(--serif); font-size:20px; }
.cxof .faq summary::-webkit-details-marker{ display:none; }
.cxof .faq summary::after{ content:"+"; color:var(--accent-deep); font-family:var(--sans); }
.cxof .faq details[open] summary::after{ content:"–"; }
.cxof .faq details p{ color:var(--muted); margin:-6px 0 20px; max-width:60ch; }

@media (max-width:960px){
  .cxof .paas-card{ grid-template-columns:1fr; min-height:0; }
  .cxof .paas-media{ aspect-ratio:16/9; }
  .cxof .services{ grid-template-columns:1fr 1fr; }
  .cxof .steps{ grid-template-columns:1fr 1fr; }
}
@media (max-width:700px){
  .cxof .paas-hero{ padding:16px 0 56px; }
  .cxof .paas-card{ border-radius:8px; }
  .cxof .paas-panel{ padding:32px 22px; }
  .cxof .paas-panel h1{ font-size:32px; }
  .cxof .services, .cxof .steps{ grid-template-columns:1fr; }
  .cxof .paas-teaser{ padding:48px 0; }
}
