/*
Theme Name: Comedy Auctioneer
Theme URI: https://comedyauctioneer.com
Author: The Hypnosis Company
Author URI: https://comedyauctioneer.com
Description: Custom theme for ComedyAuctioneer.com — benefit auctioneer, fundraising emcee, and entertainment services. Design ported verbatim from the hero-v8 mockup. Content sourced from the legacy site and the THC-V5 material.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: comedyauctioneer
*/
/* Base tier — tokens, reset, element defaults, the sections that never became
   components, WordPress helpers, the archive shell, and the accessibility block.
   Loads on every request. Notes: docs/base-style-notes.md */

:root{
  --black:#000;--charcoal:#0a0a0a;--white:#fff;
  --gold:#FEC027;--gold-dark:#E6AD1F;
  --display:'Cinzel',Georgia,serif;
  --body:'DM Sans',system-ui,sans-serif;
  /* Drawer geometry. Panel 2 is positioned off panel 1's right edge, so the two
   read the same number. Override both together or neither. */
  --panel1-w:min(520px,85vw);
  --panel2-w:min(420px,75vw);
}
@media(min-width:901px){
  :root{--panel1-w:min(560px,45vw)}
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px}
/* The page surface is cream. */
body{background:#faf9f6;color:#fff;overflow-x:hidden;-webkit-font-smoothing:antialiased;font-family:var(--body)}
::selection{background:var(--gold);color:#000}
a{text-decoration:none;color:inherit}

/* ── Act two ── */
.act-two{background:#fff;position:relative;z-index:6;margin-top:0;padding-top:0}
.editorial{max-width:1100px;margin:0 auto;padding:3rem 3rem 2rem}
.gold-accent{color:var(--gold-dark)}

.flip{text-align:center;padding:1rem 0 3rem}
.flip-chant{font-family:var(--display);font-size:clamp(1.5rem,3.2vw,2.5rem);font-weight:400;letter-spacing:.05em;text-transform:uppercase;line-height:1.25;color:var(--charcoal);opacity:.18;margin-bottom:2rem}
.flip-chant .gold{color:var(--gold-dark);opacity:1}
.flip-pivot{font-family:var(--body);font-size:clamp(.95rem,1.3vw,1.08rem);font-weight:400;line-height:1.6;color:#888;margin-bottom:2rem}
.flip-pivot em{color:var(--charcoal);font-style:italic}
.flip-reveal-text{font-family:var(--display);font-size:clamp(1.6rem,4vw,3.2rem);font-weight:400;letter-spacing:.03em;text-transform:uppercase;line-height:1.1;color:var(--charcoal);margin-bottom:2rem}
.flip-reveal-text .gold{color:var(--gold-dark)}
.flip-truth{max-width:700px;margin:0 auto;font-family:var(--body);font-size:clamp(.95rem,1.3vw,1.08rem);font-weight:400;line-height:1.8;color:#555}
.flip-truth .gold{color:var(--gold-dark);font-style:italic}

.manifesto{max-width:850px;margin:3rem auto;text-align:center;padding:2rem 0}
.mani-head{font-family:var(--display);font-size:clamp(1.4rem,3vw,2.3rem);font-weight:400;letter-spacing:.04em;text-transform:uppercase;line-height:1.15;color:var(--charcoal);margin-bottom:2.5rem}
.mani-head .gold{color:var(--gold-dark)}
.mani-items{display:grid;grid-template-columns:1fr 1fr;gap:1.8rem 3rem;text-align:left}
.mani-item{border-left:2px solid rgba(254,192,39,.4);padding-left:1.1rem}
.mani-item p{font-family:var(--display);font-size:clamp(.8rem,1.1vw,.95rem);font-weight:400;letter-spacing:.03em;text-transform:uppercase;line-height:1.5;color:var(--charcoal)}

/* ── Service billboards ── */
.svc-billboard{
  background:#faf9f6;
  padding:6rem 2rem;
  min-height:400px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  position:relative;
}
.svc-billboard::after{
  content:'';position:absolute;
  bottom:0;left:50%;transform:translateX(-50%);
  width:60px;height:1px;
  background:var(--gold);opacity:.3;
}
.svc-billboard:last-of-type::after{display:none}
.svc-bb-wrap{max-width:800px}
.svc-bb-label{
  font-family:var(--display);font-size:.65rem;font-weight:500;
  letter-spacing:.35em;text-transform:uppercase;
  color:#ccc;margin-bottom:1.5rem;
}
.svc-bb-title{
  font-family:var(--display);
  font-size:clamp(3rem,8vw,5.5rem);
  font-weight:500;letter-spacing:.04em;
  text-transform:uppercase;line-height:1.05;
  color:var(--charcoal);
}
.svc-bb-title .gold{color:var(--gold-dark)}
.svc-bb-sub{
  font-family:var(--display);
  font-size:clamp(1.1rem,2.2vw,1.6rem);
  font-weight:400;letter-spacing:.06em;
  text-transform:uppercase;line-height:1.4;
  color:#bbb;margin-top:1.5rem;
}
.svc-bb-sub .gold{color:var(--gold-dark)}
.svc-bb-body{
  font-family:var(--body);
  font-size:clamp(.9rem,1.3vw,1.05rem);
  font-weight:400;line-height:1.7;
  color:#999;margin-top:1.2rem;
  max-width:480px;margin-left:auto;margin-right:auto;
}
@media(max-width:768px){
  .svc-billboard{padding:4rem 1.5rem;min-height:300px}
}

/* ── Diagonal split ── */
.diag-outer{
  background:#f5f0e8;
  width:100%;
}
.diag-wrap{
  position:relative;
  min-height:600px;
  max-height:700px;
  overflow:hidden;
  max-width:1400px;
  margin:0 auto;
}
.diag-top{
  position:absolute;inset:0;
  background:#faf9f6;
  clip-path:polygon(0 0,100% 0,100% 10%,0 90%);
  z-index:2;
  display:flex;align-items:flex-start;justify-content:flex-start;
  padding:3.5rem 3rem 0;
}
.diag-bottom{
  position:absolute;inset:0;
  background:#efe9dc;
  clip-path:polygon(0 90%,100% 10%,100% 100%,0 100%);
  z-index:1;
  display:flex;align-items:flex-end;justify-content:flex-end;
  padding:0 3rem 3.5rem;
}
.dt-content{max-width:420px;text-align:left}
.db-content{max-width:420px;text-align:right}
.d-label{
  font-family:var(--display);font-size:.65rem;font-weight:500;
  letter-spacing:.35em;text-transform:uppercase;
  color:#ccc;margin-bottom:1rem;
}
.d-title{
  font-family:var(--display);
  font-size:clamp(1.8rem,3.8vw,3.5rem);
  font-weight:500;letter-spacing:.03em;
  text-transform:uppercase;line-height:1.05;
  color:var(--charcoal);
  overflow-wrap:break-word;word-wrap:break-word;
}
.d-title .gold{color:var(--gold-dark)}
.d-body{
  font-family:var(--body);
  font-size:clamp(.85rem,1.2vw,1rem);
  font-weight:400;line-height:1.7;
  color:#999;margin-top:.8rem;
}
@media(max-width:768px){
  .diag-wrap{min-height:500px}
  .diag-top{
    clip-path:polygon(0 0,100% 0,100% 30%,0 70%);
    padding:2.5rem 1.5rem 0;
    align-items:flex-start;justify-content:center;
  }
  .diag-bottom{
    clip-path:polygon(0 70%,100% 30%,100% 100%,0 100%);
    padding:0 1.5rem 2.5rem;
    align-items:flex-end;justify-content:center;
  }
  .dt-content{max-width:100%;text-align:center}
  .db-content{max-width:100%;text-align:center}
  .d-title{font-size:clamp(1.8rem,8vw,2.8rem)}
}

.mc-video{position:relative;overflow:hidden}
.mc-video-wrap{position:relative;height:70vh;min-height:500px}
.mc-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mc-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.15) 40%,rgba(0,0,0,.5) 100%)}
.mc-content{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;text-align:center}
.mc-text{font-family:var(--display);font-size:clamp(1.5rem,3.8vw,2.8rem);font-weight:400;letter-spacing:.06em;text-transform:uppercase;line-height:1.25;color:#fff}
.mc-text .gold{color:var(--gold)}

.cta-close{background:var(--charcoal);padding:7rem 3rem;text-align:center}
.cta-close-inner{max-width:800px;margin:0 auto}
.cta-brand{font-family:var(--display);font-size:clamp(2rem,5vw,4.5rem);font-weight:400;letter-spacing:.06em;text-transform:uppercase;line-height:1;color:#fff}
.cta-brand .gold{color:var(--gold)}
.cta-brand .dotcom{font-size:.3em;color:rgba(255,255,255,.18);letter-spacing:.04em}
.cta-sub{font-family:var(--body);font-size:.75rem;font-weight:400;color:rgba(255,255,255,.25);letter-spacing:.1em;margin-top:.8rem}
.cta-actions{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-top:2rem;flex-wrap:wrap}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ── Responsive ── */
@media(max-width:768px){
  .mani-items{grid-template-columns:1fr}
  .breakout-split{grid-template-columns:1fr;gap:1.5rem}
  .breakout-split--flip .break-big{order:1}
  .breakout-split--flip .break-copy{order:2;text-align:left}
  .mc-video-wrap{height:50vh;min-height:350px}
  .cta-close{padding:4rem 1.5rem}
  .cta-actions{flex-direction:column}
  .editorial{padding:2rem 1.5rem}
}

/* ── WordPress core helpers ── */
.alignleft{float:left;margin-right:1.5em}
.alignright{float:right;margin-left:1.5em}
.aligncenter{clear:both;margin-left:auto;margin-right:auto;display:block}
.wp-caption{max-width:100%}
.wp-caption-text{text-align:center}
.sticky,.bypostauthor,.gallery-caption{}

/* ── Archive / fallback shell — index.php ── */
.page-shell{background:#faf9f6;color:var(--charcoal);min-height:100vh;padding:9rem 1.5rem 5rem}
.page-shell-inner{max-width:820px;margin:0 auto}
.page-shell article{margin-bottom:3rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(0,0,0,.08)}
.page-shell .entry-title{font-family:var(--display);font-size:clamp(1.6rem,3.5vw,2.6rem);text-transform:uppercase;font-weight:500;letter-spacing:.02em;line-height:1.15;color:var(--charcoal);margin-bottom:1rem}
.page-shell .entry-title a{color:inherit;transition:color .25s}
.page-shell .entry-title a:hover{color:var(--gold-dark)}
.page-shell .entry-meta{font-family:var(--display);font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;color:#999;margin-bottom:1rem}
.page-shell p{font-family:var(--body);font-size:1.05rem;line-height:1.75;color:#555;margin-bottom:1.1rem}
.page-shell a{color:var(--gold-dark)}
.page-shell .entry-content a{text-decoration:underline}
.page-shell .posts-navigation,.page-shell .pagination{margin-top:2.5rem;font-family:var(--display);text-transform:uppercase;letter-spacing:.1em;font-size:.8rem}
.page-shell .page-title{font-family:var(--display);text-transform:uppercase;letter-spacing:.04em;font-weight:500;font-size:clamp(1.8rem,4vw,3rem);margin-bottom:2.5rem;color:var(--charcoal)}

/* ── Accessibility ── */

/* Focus indicators. */
:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
  border-radius:2px;
}
/* No legacy double-ring where :focus-visible is supported. */
:focus:not(:focus-visible){outline:none}

/* Dark ring for the light surfaces. Remove a line, not the list. */
.page-shell :focus-visible,
.faq :focus-visible,
.logo-marquee-section :focus-visible,
.answer :focus-visible,
.article-body :focus-visible{
  outline-color:#0a0a0a;
}

/* Reduced motion. */
@media (prefers-reduced-motion:reduce){.reveal{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
  }
}

/* No-JS fallback. The front-page sequence names live in pages/front-page.css. */
.no-js .reveal{
  opacity:1!important;
  transform:none!important;
}
