/*
Theme Name: Woman Yells at Cloud
Theme URI: https://womanyellsatcloud.com
Author: Sanjana Paul
Description: A featherweight custom theme — cool blue-to-pink gradient, a glitched Times masthead, cloud-and-fleuron ornaments, deliberately minimal markup for a low-carbon footprint.
Version: 1.0.0
Requires at least: 6.0
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: wyac
*/

/* ---- PALETTE ---- */
:root{
  --powder:#e9f5f9; --violet:#eaaef5; --royal:#0328FF; --royal-hi:#021fc4;
  --ink:#1b2545; --muted:#51607f; --line:#b8b0c6; --motif:#6fa3bb; --orchid:#eaaef5;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

/* whole page rides one fixed gradient: white -> icy blue -> pinkish purple */
html{scroll-behavior:smooth;min-height:100%;
  background:linear-gradient(180deg,#fff 0%,var(--powder) 42%,var(--violet) 100%) fixed;}
body{background:transparent;color:var(--ink);
  font-family:"Space Grotesk",system-ui,-apple-system,sans-serif;
  font-size:1rem;line-height:1.75;max-width:680px;margin:0 auto;padding:0 1.5rem;
  -webkit-font-smoothing:antialiased;}

.mono{font-family:"Space Grotesk",system-ui,sans-serif;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
a{color:var(--royal);text-decoration:underline;text-underline-offset:3px}
a:hover{color:var(--royal-hi)}
a:focus-visible{outline:2px solid var(--royal);outline-offset:3px}

/* ---- CLOUD HEADER ---- */
.hero{position:relative;width:100vw;margin-left:calc(50% - 50vw);
  min-height:clamp(280px,44vh,420px);overflow:hidden;display:flex;flex-direction:column}
.hero.slim{min-height:180px}
.clouds{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}
.hero .corner{position:absolute;width:18px;height:18px;border:2px solid var(--royal);opacity:.8;z-index:2}
.hero .corner.tl{top:12px;left:12px;border-right:0;border-bottom:0}
.hero .corner.tr{top:12px;right:12px;border-left:0;border-bottom:0}
.hero .corner.bl{bottom:12px;left:12px;border-right:0;border-top:0}
.hero .corner.br{bottom:12px;right:12px;border-left:0;border-top:0}
.fleur{position:absolute;z-index:2;pointer-events:none;user-select:none;color:var(--royal);
  font-size:clamp(1.05rem,3vw,1.7rem);line-height:1}
.fleur.tl{top:15px;left:24px}
.fleur.tr{top:15px;right:24px;transform:scaleX(-1)}
.fleur.bl{bottom:15px;left:24px;transform:scaleY(-1)}
.fleur.br{bottom:15px;right:24px;transform:scale(-1,-1)}
.hero-inner{position:relative;z-index:2;max-width:680px;width:100%;margin:0 auto auto;
  padding:1.4rem 1.5rem 2.6rem}

/* ---- TITLE: Times, a few italic, a few glitched ---- */
.site-title{font-family:"Times New Roman",Times,serif;font-weight:700;
  font-size:clamp(2.9rem,12vw,5.8rem);line-height:.98;letter-spacing:-.01em}
.hero.slim .site-title{font-size:clamp(2rem,7vw,3.2rem)}
.site-title a{color:var(--royal);text-decoration:none}
.site-title .it{font-style:italic}
.site-title .jac{font-family:"Jacquard 24",serif;font-size:.92em}
.site-title .han{font-family:"Handjet",monospace;font-weight:700;font-size:.9em}
.site-title .uni{font-family:"UnifrakturMaguntia",serif;font-size:1.02em}
.site-title .cha{font-family:"Chakra Petch",sans-serif;font-weight:700;font-size:.86em}

/* ---- STANDFIRST + SUBSCRIBE ---- */
.standfirst{font-size:1.02rem;color:var(--ink);margin:2.4rem 0 0;max-width:60ch}
.standfirst em{font-family:"Times New Roman",Times,serif;font-style:italic;font-size:1.18rem;color:var(--royal)}
.subscribe{margin-top:2.4rem;padding-top:1.2rem;border-top:1px solid var(--line);font-size:.9rem;color:var(--muted)}
.subscribe strong{color:var(--ink);font-weight:500}

/* ---- ARCHIVE / POST LIST ---- */
.archive{margin-top:4rem}
.archive-label{display:block;padding-bottom:1.1rem;margin-bottom:.4rem;border-bottom:1px solid var(--line)}
.archive-label::before{content:"\2736  ";color:var(--orchid)}
.archive-label::after{content:"  \2736";color:var(--orchid)}
.post{padding:1.7rem 0;border-bottom:1px solid var(--line)}
.post-date{display:block;margin-bottom:.5rem}
.post-date .mk{color:var(--motif);margin-right:.4rem}
.post-title{font-family:"Times New Roman",Times,serif;font-weight:700;font-size:1.7rem;line-height:1.15;margin-bottom:.45rem}
.post-title a{color:var(--royal);text-decoration:none}
.post-title a:hover{color:var(--royal-hi)}
.post-dek{color:var(--ink);font-size:.92rem;line-height:1.65}
.post-dek p{margin:0}

/* ---- SINGLE / PAGE ---- */
.single{margin-top:3rem}
.entry-title{font-family:"Times New Roman",Times,serif;font-weight:700;color:var(--royal);
  font-size:clamp(2rem,6vw,3rem);line-height:1.08;margin:.4rem 0 0}
.entry-content{margin-top:2rem;font-size:1rem;line-height:1.8;color:var(--ink)}
.entry-content p{margin-bottom:1.3rem}
.entry-content h2,.entry-content h3{font-family:"Times New Roman",Times,serif;color:var(--royal);font-weight:700;line-height:1.2;margin:2.2rem 0 .8rem}
.entry-content h2{font-size:1.6rem}.entry-content h3{font-size:1.3rem}
.entry-content blockquote{border-left:2px solid var(--orchid);padding-left:1.2rem;margin:1.7rem 0;color:var(--muted);font-style:italic}
.entry-content img{max-width:100%;height:auto}
.entry-content ul,.entry-content ol{margin:0 0 1.3rem 1.4rem}
.entry-content a{color:var(--royal)}
.backlink{display:inline-block;margin-top:3rem;color:var(--royal);text-decoration:none;letter-spacing:.14em}

/* ---- PAGINATION ---- */
.navigation{margin-top:3rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.navigation .nav-links{display:flex;gap:1.6rem;flex-wrap:wrap;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase}
.navigation .nav-links a,.navigation .nav-links .current{color:var(--royal);text-decoration:none}

/* ---- FOOTER ---- */
.site-footer{margin-top:5rem;border-top:1px solid var(--line);padding:2.4rem 0 3.4rem;
  font-size:.82rem;line-height:1.7;color:var(--muted)}
.site-footer p{margin-bottom:.9rem}
.site-footer a{color:var(--royal)}
#wcb{color:var(--muted);margin-top:.4rem}#wcb a{color:var(--royal)}

/* ---- WHIMSY ---- */
.clouds text,.clouds .dot{fill:var(--motif)}
.clouds .v{fill:var(--orchid)}
.flourish{text-align:center;letter-spacing:.55em;font-size:.85rem;margin:2.8rem 0;user-select:none;color:var(--motif)}
.flourish .b{color:var(--orchid)}
.footer-marks{text-align:center;letter-spacing:.5em;font-size:.9rem;margin-bottom:1.6rem;user-select:none;color:var(--motif)}

/* nudge content below the WP admin bar when logged in */
body.admin-bar .hero{scroll-margin-top:32px}
