/* My Mental Health University(R) Shop: MyMHU wine/gold/cream palette, mobile-first, no frameworks, no web fonts */
:root {
  --cream: #faf5ee;
  --blush: #f6ece4;
  --surface: #ffffff;
  --ink: #2b1d22;
  --muted: #6b5a5f;
  --line: #eadfd3;
  --wine: #5c1a33;
  --wine-dk: #46122a;
  --gold: #b08d4a;
  --gold-lt: #d9bf86;
  --navy: #1d3049;
  --radius: 10px;
  --maxw: 1140px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .15em; }
a:hover { color: var(--wine-dk); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--serif); line-height: 1.2; color: var(--wine); font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); margin: 1.6em 0 .5em; }
h3, .h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--wine); color: #fff; padding: .6em 1em; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .4em; }
.eyebrow a { color: inherit; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--wine); font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.brand svg { width: 42px; height: 42px; flex: 0 0 42px; }
.brand em { color: var(--gold); font-style: italic; }
.brand sup { font-size: .6em; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: 0; padding: 0; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--ink); padding: .5rem 0; display: inline-block; min-height: 44px; line-height: 28px; }
.site-nav a[aria-current="page"] { color: var(--wine); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 1rem auto 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line); }

/* buttons */
.btn { display: inline-block; background: var(--wine); color: #fff; text-decoration: none; padding: .75em 1.3em; border-radius: 999px; font-weight: 700; border: 2px solid var(--wine); min-height: 44px; }
.btn:hover { background: var(--wine-dk); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #8f6f35; }
.btn-ghost { background: transparent; color: var(--wine); }
.btn-ghost:hover { background: var(--blush); color: var(--wine-dk); }
.btn.todo, .btn.todo:hover { background: #e8e1da; border-color: #d3c8bd; color: #5a4c50; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* hero */
.hero { background: linear-gradient(180deg, var(--surface), var(--blush)); border-bottom: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.hero .mock { max-width: 360px; justify-self: center; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(92,26,51,.12); }

/* grids */
.ctiles, .pgrid, .cards3 { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.cards3 { grid-template-columns: 1fr; }
.ctile a, .pcard-link { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); height: 100%; }
.ctile a:hover, .pcard-link:hover { box-shadow: 0 8px 22px rgba(92,26,51,.13); }
.ctile h3, .pcard h2, .pcard h3 { font-size: 1.02rem; margin: .7rem .8rem .2rem; }
.ctile span, .ptype { display: block; margin: 0 .8rem .9rem; font-size: .88rem; color: var(--muted); }
.mock { display: block; width: 100%; aspect-ratio: 300 / 320; }
.cards3 li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.cards3 h3 { margin-top: .2rem; }

/* story band */
.band { background: var(--wine-dk); color: var(--cream); margin: 2.5rem 0; padding: 1rem 0 2rem; }
.band h2 { color: var(--gold-lt); }
.band a { color: var(--gold-lt); }
.story { display: grid; gap: 1.5rem; align-items: center; }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--gold-lt); }
.photo svg { display: block; width: 100%; aspect-ratio: 4 / 3; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; background: rgba(43,29,34,.78); color: #fff; font-size: .9rem; }

/* product page */
.product { display: grid; gap: 1.5rem; margin-top: 1rem; }
.product-media .mock { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.price { font-weight: 700; color: var(--navy); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 1.2rem 0; }
.specs dt { font-weight: 700; color: var(--wine); }
.specs dd { margin: 0; }
.note { background: var(--surface); border-left: 4px solid var(--gold); padding: .8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1rem 0; }
.note h2, .note .h3 { margin-top: .2rem; }
.note.warn { border-left-color: var(--wine); }

/* prose + faq */
.prose { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem 1rem; margin: .5rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--wine); min-height: 32px; }
.faq details p { margin: .6rem 0 .2rem; }
.othercats ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }

/* footer */
.site-footer { background: var(--ink); color: #eee3df; margin-top: 3rem; padding: 2rem 0; font-size: .95rem; }
.site-footer a { color: var(--gold-lt); }
.site-footer nav ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.site-footer nav a { display: inline-block; min-height: 44px; line-height: 44px; }
.disclaimer { border-top: 1px solid #4a3a40; margin-top: 1rem; padding-top: 1rem; }

@media (min-width: 640px) {
  .ctiles { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
  .ctiles { grid-template-columns: repeat(5, 1fr); }
  .story { grid-template-columns: 1.2fr 1fr; }
  .product { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Blog */
.post { max-width: 760px; margin: 0 auto; }
.post-meta { font-size: .92rem; margin-top: -.4rem; }
.post blockquote { margin: 1.4rem 0; padding: .9rem 1.2rem; border-left: 3px solid var(--gold); background: var(--surface); font-family: var(--serif); font-size: 1.15rem; color: var(--wine); }
.post blockquote p { margin: 0; }
.post-products { margin: 2rem 0; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.postlist { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.postcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.postcard h2 { margin: .2rem 0 .5rem; }
.postcard h2 a { text-decoration: none; }

/* 11/27: gold MyMHU wordmark, Printify mockups, buy list */
.brand .brand-logo { width: 132px; height: 48px; flex: 0 0 132px; border-radius: 7px; }
img.mock { aspect-ratio: 1 / 1; height: auto; object-fit: cover; background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery .gimg:first-child { grid-column: 1 / -1; }
.gimg { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gimg img { display: block; width: 100%; height: auto; }
.gimg figcaption { font-size: .82rem; color: var(--muted); padding: .35rem .6rem .5rem; }
.gimg.worn { grid-column: 1 / -1; }
.buylist { list-style: none; padding: 0; margin: .5rem 0 1.2rem; display: grid; gap: .45rem; }
.buyrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); }
.buyrow:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(92,26,51,.1); }
.bprice { font-weight: 700; color: var(--wine); white-space: nowrap; }
