/*
Theme Name: Juhi Sharma — Editorial & Marketing
Theme URI: https://juhisharma.co
Author: Juhi Sharma
Description: A chic, minimalist, editorial-magazine portfolio theme with a kinetic hero, scroll reveals, expanding case studies and light/dark theming. Built for juhisharma.co. Marginalia blog runs on native WordPress posts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: juhi-sharma
*/

:root{
  --bg:#FBF8F4; --surface:#F2ECE3; --ink:#16110E; --muted:#6C615A;
  --hair:rgba(22,17,14,.13); --accent:#8A1F2E; --accent-soft:rgba(138,31,46,.10); --on-accent:#FDF7F2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Instrument Sans',ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased;transition:background .4s ease,color .4s ease}
h1,h2,h3,h4,p,figure,blockquote,ul,ol{margin:0}
img{max-width:100%;height:auto}
button{font:inherit;color:inherit;background:none;border:none;padding:0;cursor:pointer}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--ink)}
input,textarea{font:inherit;color:inherit}
::selection{background:var(--accent);color:var(--on-accent)}
::placeholder{color:var(--muted);opacity:.75}
[data-strip]::-webkit-scrollbar,[data-navlinks]::-webkit-scrollbar{height:0;width:0}
[data-strip],[data-navlinks]{scrollbar-width:none}

@keyframes rise{from{opacity:0;transform:translateY(.62em) rotate(1.2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.72)}}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  [data-word],[data-fade]{animation:none!important;opacity:1!important;transform:none!important}
  [data-reveal-child]{opacity:1!important;transform:none!important;transition:none!important}
  [data-dot]{animation:none!important}
}

/* image placeholders (before real media is added) */
.slot{display:grid;place-items:center;background:var(--surface);position:relative;overflow:hidden}
.slot[data-ph]:not([data-ph=""])::after{content:attr(data-ph);position:absolute;font-size:11.5px;letter-spacing:.04em;color:var(--muted);padding:0 14px;text-align:center;opacity:.7}
.slot img{width:100%;height:100%;object-fit:cover;display:block}

/* blog prose (single note) */
.prose{font-size:clamp(16px,1.25vw,18.5px);line-height:1.75;color:var(--ink);max-width:68ch}
.prose p{margin:0 0 1.15em}
.prose h2{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.1;letter-spacing:-.02em;margin:1.6em 0 .5em}
.prose h3{font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(1.3rem,2.2vw,1.7rem);margin:1.4em 0 .4em}
.prose a{border-bottom:1px solid var(--accent)}
.prose blockquote{font-family:'Instrument Serif',serif;font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.3;margin:1.2em 0;padding-left:24px;border-left:2px solid var(--accent)}
.prose ul,.prose ol{margin:0 0 1.15em 1.2em;padding-left:1em}
.prose li{margin:.35em 0}
.prose img{border-radius:2px;margin:1.4em 0}

.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
