/* Shared styles for the CHQ Home Arts Studio blog. Same sunny palette as the homepage. */
:root {
  --paper: #FFF7EA; --paper-2: #FFF0DF; --paper-3: #FCE6D0;
  --gingham: rgba(233, 150, 120, 0.10);
  --ink: #46492F; --ink-soft: #6F6B4C;
  --sage: #7A8A4B; --sage-deep: #61703A;
  --coral: #E28A6A; --coral-deep: #C4603F; --pink: #F0AEA2; --yellow: #F2C24C;
  --line: rgba(70, 73, 47, 0.14);
  --shadow: rgba(226, 170, 130, 0.28);
  --serif: "Palatino Linotype", "Palatino", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Roboto, -apple-system, system-ui, sans-serif;
  --mono: "SF Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, Menlo, monospace;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
body { margin: 0; }
.page {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, var(--gingham) 0 26px, transparent 26px 52px),
    repeating-linear-gradient(0deg, var(--gingham) 0 26px, transparent 26px 52px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }
a:focus-visible { outline: 2.5px solid var(--sage); outline-offset: 3px; }
.label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand .mark { width: 30px; height: 34px; flex-shrink: 0; }
.name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--sage-deep); line-height: 1; }
.name .chq { font-weight: 700; letter-spacing: 0.08em; }
.nav-links { display: flex; gap: clamp(0.9rem, 2.4vw, 1.7rem); flex-wrap: wrap; }
.nav-links a { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.nav-links a:hover { color: var(--sage-deep); border-color: var(--coral); }

/* ---------- Post ---------- */
.post article, .post .crumbs, .post .more > h2 { max-width: 70ch; }
.post article, .post .crumbs, .post .cta, .post .more { margin-left: auto; margin-right: auto; }
.post .cta, .post .more { max-width: 860px; }
.crumbs { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 0.4rem 0 1.6rem; }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--coral-deep); }
.crumbs span { margin: 0 0.3rem; opacity: 0.6; }
article { background: rgba(255, 247, 234, 0.92); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 3rem); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0.6rem 0 1rem; text-wrap: balance; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); margin: 0 0 1.6rem; line-height: 1.55; }
article h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 2rem 0 0.6rem; color: var(--sage-deep); text-wrap: balance; }
article p { margin: 0 0 1.1rem; }
article ul, article ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
article li { margin-bottom: 0.45rem; }
article li::marker { color: var(--coral-deep); }
.post-figure { margin: 1.6rem 0; }
.post-figure img { display: block; width: 100%; max-width: 440px; height: auto; border: 1.5px solid var(--coral); border-radius: 14px; box-shadow: 5px 7px 0 var(--shadow); }
.post-figure figcaption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 0.8rem; }

.faq { margin-top: 2.2rem; border-top: 1.5px dotted var(--line); padding-top: 0.4rem; }
.faq details { border-bottom: 1.5px dotted var(--line); padding: 0.9rem 0; }
.faq summary { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; cursor: pointer; }
.faq details p { margin: 0.6rem 0 0; color: var(--ink-soft); }

.cta { margin-top: 2rem; background: var(--sage-deep); color: #fff; border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: center; }
.cta .label { color: var(--yellow); }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0.3rem 0 0.6rem; color: #fff; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.cta a { color: #fff; }
.cta-buttons { display: flex; flex-direction: column; gap: 0.7rem; align-items: stretch; }
.btn { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 0.85rem 1.4rem; border: 1.5px solid var(--coral); color: #3A2A20; background: var(--yellow); border-color: var(--yellow); border-radius: 999px; display: inline-block; }
.btn:hover { background: #fff; border-color: #fff; color: #3A2A20; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn.ghost:hover { background: transparent; border-color: var(--yellow); color: var(--yellow); }

.more { margin-top: 2.6rem; }
.more > h2, .sec-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; gap: 0.45rem; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 16px; padding: 1.2rem 1.3rem 1.4rem; text-decoration: none; color: var(--ink); transition: transform 0.15s, border-color 0.2s; }
.card:hover { border-color: var(--coral); transform: translateY(-2px); color: var(--ink); }
.card .label { font-size: 0.66rem; color: var(--coral-deep); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; line-height: 1.25; margin: 0; color: var(--sage-deep); }
.card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Hub ---------- */
.hub-head { max-width: 760px; padding: clamp(0.5rem, 3vw, 2rem) 0 0.5rem; }
.hub-head .lede { margin-bottom: 1rem; }
.jump { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 2; margin: 0; }
.jump a { text-decoration: none; }
.section { padding-top: clamp(2.2rem, 5vw, 3.4rem); }
.sec-head h2 { margin-bottom: 0.3rem; }
.blurb { color: var(--ink-soft); margin: 0 0 1.3rem; max-width: 60ch; }

.colophon { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; padding: 2.6rem 0 2.4rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; }
.colophon .name { font-size: 1.05rem; text-transform: none; letter-spacing: 0.02em; }
.colophon a { color: var(--ink-soft); }

@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
