/* Twior: Snow Forest */
:root{
	--black:#f8f5f6;      /* page background */
	--deep:#3b0a24;       /* dark bands (inner-page heroes) */
	--band:#3b0a24;
	--surface:#ffffff;
	--surface-2:#f4ebef;
	--line:#e7dbe0;
	--text:#1f0a14;
	--muted:#6b5560;
	--violet:#be185d;     /* primary accent (buttons) */
	--violet-hi:#db2777;
	--violet-deep:#be185d;
	--on-accent:#ffffff;  /* text on accent buttons */
	--g1:#be185d;--g2:#ec4899;
	--radius:16px;
	--font-display:"Space Grotesk","Avenir Next","Segoe UI",system-ui,sans-serif;
	--font-body:"Inter","Segoe UI",system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--text);font:400 1.0625rem/1.65 var(--font-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video{max-width:100%;height:auto;display:block}
a{color:var(--violet-hi);text-underline-offset:.2em}
a:hover{color:var(--violet-deep)}
:focus-visible{outline:3px solid var(--violet-hi);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.12;letter-spacing:-.025em;margin:0 0 .5em}
h1{font-size:clamp(2.4rem,6vw,4.4rem);font-weight:800}
h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700}
p{margin:0 0 1.1em}
.muted,.meta{color:var(--muted);font-size:.92rem}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--violet);color:var(--on-accent);padding:.6rem 1rem;z-index:100}
.skip-link:focus{left:0}
.wrap{width:min(1320px,100% - 3rem);margin-inline:auto}
.wrap--narrow{width:min(720px,100% - 2.5rem)}
.section{padding-block:clamp(3rem,7vw,6rem)}
.section__head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1.5rem}
.notice-bar{margin:0;padding:.7rem 1.25rem;background:var(--violet-deep);color:#fff;text-align:center}

/* Buttons */
.btn{display:inline-block;background:var(--violet);color:var(--on-accent);font:600 1rem/1 var(--font-body);padding:.95rem 1.5rem;border:0;border-radius:12px;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}
.btn:hover{background:var(--violet-hi);color:var(--on-accent)}
.btn:active{transform:translateY(1px)}
.btn--small{padding:.65rem 1.05rem;font-size:.93rem;border-radius:10px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eed8e2;box-shadow:0 1px 0 rgba(190,24,93,.04)}
.site-header__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.5rem;min-height:72px}
.brand__name{font:800 1.35rem var(--font-display);letter-spacing:-.02em;color:#3b0a24;text-decoration:none}
.custom-logo{max-height:44px;width:auto}
.primary-nav{display:contents}
.menu{list-style:none;margin:0;padding:0;display:flex;gap:1.75rem;justify-self:center}
.menu a{color:#5c3d4e;text-decoration:none;font-weight:500;font-size:.95rem;transition:color .15s}
.menu a:hover,.menu .current-menu-item>a{color:#9d174d}
.menu .sub-menu{list-style:none;margin:0;padding:0 0 0 1rem}
.menu--stack{flex-direction:column;gap:.4rem}
.nav-toggle{display:none;background:none;border:1px solid #fbbbd8;border-radius:10px;width:44px;height:44px;cursor:pointer;color:#3b0a24}
.nav-toggle__bars,.nav-toggle__bars::before,.nav-toggle__bars::after{display:block;width:20px;height:2px;background:currentColor;margin:auto;position:relative;content:""}
.nav-toggle__bars::before{top:-6px;position:absolute;left:0}
.nav-toggle__bars::after{top:6px;position:absolute;left:0}
@media (max-width:820px){
	.site-header__inner{display:flex;justify-content:space-between}
	.nav-toggle{display:block}
	.primary-nav{display:none;position:absolute;inset:72px 0 auto 0;flex-direction:column;align-items:flex-start;background:#fff;padding:1.25rem;border-bottom:1px solid #eed8e2}
	.primary-nav.is-open{display:flex}
	.menu{flex-direction:column;gap:.8rem}
}

/* Hero: the headline on the left, a live-looking DM thread on the right */
.hero{padding-block:clamp(3rem,8vw,7rem);background:radial-gradient(60% 80% at 85% 20%,rgba(244,114,182,.28),transparent 70%)}
.hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.lede{font-size:1.2rem;color:var(--muted);max-width:34em;margin-bottom:2rem}
.dm-demo{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:1.25rem;display:flex;flex-direction:column;gap:.7rem;max-width:420px;justify-self:end;width:100%;box-shadow:0 30px 80px -30px rgba(244,114,182,.55)}
.dm-demo__bar{display:flex;align-items:center;gap:.6rem;font-weight:700;padding-bottom:.9rem;margin-bottom:.3rem;border-bottom:1px solid var(--line)}
.dm-demo__dot{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--violet-deep))}
.bubble{margin:0;padding:.7rem 1rem;border-radius:18px;max-width:82%;font-size:.97rem;line-height:1.45;opacity:0;animation:pop .45s ease forwards}
.bubble--in{align-self:flex-start;background:var(--surface-2);border-bottom-left-radius:6px}
.bubble--out{align-self:flex-end;background:var(--violet);color:var(--on-accent);border-bottom-right-radius:6px}
.bubble:nth-child(2){animation-delay:.4s}
.bubble:nth-child(3){animation-delay:1.4s}
.bubble:nth-child(4){animation-delay:2.6s}
.bubble:nth-child(5){animation-delay:3.6s}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media (max-width:820px){.hero__grid{grid-template-columns:1fr}.dm-demo{justify-self:stretch;max-width:none}}

/* Cards and grids */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.card__media img{width:100%;aspect-ratio:10/7;object-fit:cover}
.card__body{padding:1.25rem 1.4rem 1.5rem}
.card__title{font-size:1.3rem;margin:.3em 0 .5em}
.card__title a{color:var(--text);text-decoration:none}
.card__title a:hover{color:var(--violet-hi)}
.card p:last-child{margin:0;color:var(--muted)}

/* Instagram feed */
.ig-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}
.ig-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;transition:opacity .15s}
.ig-grid a:hover img{opacity:.8}

/* Posts and pages */
.page-title{font-size:clamp(2rem,5vw,3.2rem);margin-bottom:.4em}
.single__head{padding-top:clamp(2.5rem,6vw,5rem)}
.single__img{margin-block:2rem}
.single__img img{border-radius:var(--radius);width:100%}
.prose{padding-bottom:3rem}
.prose img{border-radius:10px}
.prose blockquote{margin:1.5rem 0;padding:.2rem 0 .2rem 1.25rem;border-left:3px solid var(--violet);color:var(--muted)}
.prose pre,.prose code{background:var(--surface);border-radius:8px}
.prose code{padding:.15em .4em}
.prose pre{padding:1rem;overflow:auto}
.prose pre code{padding:0}
.prose table{width:100%;border-collapse:collapse}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:.6rem;text-align:left}
.tags a{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:.2rem .8rem;margin:0 .3rem .3rem 0;text-decoration:none;font-size:.9rem}
.page-head{margin-bottom:2rem}
.alignwide{width:min(1320px,100vw - 3rem);margin-inline:auto}
.wp-caption-text,figcaption{color:var(--muted);font-size:.9rem}

/* Forms */
input[type=text],input[type=email],input[type=url],input[type=search],input[type=password],textarea,select{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:.8rem 1rem;font:inherit}
input::placeholder,textarea::placeholder{color:var(--muted)}
.search-form{display:flex;gap:.6rem;margin-block:1.5rem 2.5rem;max-width:520px}
.comment-form p{margin-bottom:1rem}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:1.5rem}
.comment-body{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1rem}
.comment-meta{font-size:.9rem;color:var(--muted)}
.comment-meta .avatar{float:left;margin-right:.8rem;border-radius:50%}

/* Pagination, post nav */
.pagination .nav-links,.post-navigation .nav-links{display:flex;gap:.5rem;justify-content:space-between;flex-wrap:wrap;margin-top:2.5rem}
.page-numbers{padding:.5rem .9rem;border:1px solid var(--line);border-radius:999px;text-decoration:none}
.page-numbers.current{background:var(--violet);color:var(--on-accent);border-color:var(--violet)}
.post-navigation{margin-block:2rem}

/* Sidebar widgets */
.widget{margin-bottom:2rem}
.widget__title{font-size:1.1rem}
.widget ul{list-style:none;padding:0;margin:0}
.widget li{padding:.3rem 0}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding-top:3rem;margin-top:2rem}
.site-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem}
.site-footer__base{padding-block:2rem}

@media (prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	.bubble{animation:none;opacity:1}
	*{transition:none!important}
}

/* Logo icon (header, mobile menu, footer) */
.brand__logo{display:inline-flex;align-items:center;line-height:0}
.brand__logo img{width:44px;height:44px;object-fit:contain}
.ft-logo{margin:0 0 .9rem}
.ft-logo .brand__logo img{width:56px;height:56px}

/* Keep the header icon vertically centred with the menu */
.site-header .brand{display:flex;align-items:center}
