/* ============================================
   POSH COLORING STUDIO — Minimal Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Type ── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #1a1a1a;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #888; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.container--wide { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }
.section--sm { padding: 52px 0; }
.section--lg { padding: 112px 0; }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 1000; isolation: isolate;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0f0f0;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.site-logo {
  display: flex; align-items: baseline; gap: 2px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: #1a1a1a;
  white-space: nowrap;
}
.site-logo em { font-style: italic; color: #b8956a; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 14px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: #444;
  transition: color .15s;
}
.nav-link:hover, .nav-link.is-active { color: #1a1a1a; opacity: 1; }
.nav-link.is-active { border-bottom: 1.5px solid #1a1a1a; }

/* Dropdown */
.nav-drop {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #ebebeb;
  padding: 8px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: all .18s;
}
.nav-item:hover .nav-drop { opacity: 1; pointer-events: all; transform: none; }
.nav-drop a {
  display: block; padding: 9px 20px;
  font-size: .82rem; color: #555;
  border-bottom: 1px solid #f5f5f5;
  transition: background .1s;
}
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover { background: #fafafa; color: #1a1a1a; opacity: 1; }

.nav-cta {
  padding: 8px 20px;
  border: 1.5px solid #1a1a1a;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: #1a1a1a;
  transition: all .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1a1a1a; color: #fff; opacity: 1; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: #1a1a1a; transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .76rem; letter-spacing: .04em;
  color: #aaa; padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: #1a1a1a; opacity: 1; }
.breadcrumb span { margin: 0 6px; }

/* ── Hero ── */
.hero { padding: 96px 0 80px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 24px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #b8956a;
}
.hero h1 { max-width: 760px; margin: 0 auto 20px; }
.hero__sub {
  max-width: 520px; margin: 0 auto 40px;
  font-size: 1.05rem; color: #666; line-height: 1.8;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: flex; justify-content: center; gap: 56px;
  margin-top: 64px; padding-top: 52px;
  border-top: 1px solid #f0f0f0;
}
.stat { text-align: center; }
.stat__n {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem; color: #1a1a1a; line-height: 1;
  margin-bottom: 4px;
}
.stat__l { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 12px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  transition: all .15s; border: 1.5px solid transparent;
}
.btn--dark { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.btn--dark:hover { background: #333; border-color: #333; opacity: 1; }
.btn--outline { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.btn--outline:hover { background: #1a1a1a; color: #fff; opacity: 1; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: #1a1a1a; opacity: 1; }
.btn--warm { background: #b8956a; color: #fff; border-color: #b8956a; }
.btn--warm:hover { background: #a07d55; border-color: #a07d55; opacity: 1; }

/* ── Section label ── */
.section-label {
  display: inline-block; margin-bottom: 14px;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #aaa;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header p { color: #666; max-width: 520px; font-size: 1.05rem; line-height: 1.8; }
.section-header.center p { margin: 12px auto 0; }

/* ── Article card ── */
.card-grid { display: grid; gap: 1px; background: #ebebeb; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; padding: 0;
  transition: background .15s;
  display: flex; flex-direction: column;
}
.card:hover { background: #fafaf8; }
.card__img {
  width: 100%; aspect-ratio: 3/2; overflow: hidden;
  background: #f5f5f5;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__img--tall { aspect-ratio: 2/3; }
.card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.card__cat {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #b8956a; margin-bottom: 10px;
}
.card__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px;
  color: #1a1a1a;
}
.card__title a { color: inherit; }
.card__title a:hover { opacity: .7; }
.card__excerpt { font-size: .9rem; color: #666; line-height: 1.7; flex: 1; }
.card__meta { margin-top: 20px; font-size: .75rem; color: #aaa; letter-spacing: .03em; }
.card__read {
  display: inline-block; margin-top: 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #1a1a1a; border-bottom: 1px solid #1a1a1a; padding-bottom: 2px;
}
.card__read:hover { opacity: .5; }

/* ── Simple list cards (no grid border) ── */
.plain-grid { display: grid; gap: 28px; }
.plain-grid--2 { grid-template-columns: repeat(2, 1fr); }
.plain-grid--3 { grid-template-columns: repeat(3, 1fr); }
.plain-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Hub page ── */
.hub-header {
  padding: 80px 0 64px;
  border-bottom: 1px solid #f0f0f0;
}
.hub-header h1 { margin-bottom: 12px; }
.hub-header p { font-size: 1.1rem; color: #666; max-width: 560px; line-height: 1.8; }

/* ── Article page ── */
.article-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}
.article-header .article-cat {
  display: block; margin-bottom: 20px;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #b8956a;
}
.article-header h1 { max-width: 820px; margin: 0 auto 16px; }
.article-header .byline { font-size: .85rem; color: #aaa; }

.article-hero-img {
  width: 100%; max-height: 520px; overflow: hidden;
  background: #f5f5f5;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article layout: content + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
  padding: 64px 0;
}

/* Article body */
.article-body h2 {
  font-size: 1.6rem; margin: 2.5rem 0 .9rem;
  padding-top: 2rem; border-top: 1px solid #f0f0f0;
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 { font-size: 1.2rem; margin: 2rem 0 .7rem; }
.article-body p { font-size: 1.02rem; line-height: 1.85; color: #2a2a2a; }
.article-body ul, .article-body ol {
  margin: 0 0 1.4em 1.4em;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: 1.02rem; line-height: 1.8; color: #2a2a2a; margin-bottom: .3em; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

.article-body .note {
  border-left: 2px solid #b8956a;
  padding: 16px 20px; margin: 2rem 0;
  background: #fdfaf6; font-size: .95rem; color: #444;
}
.article-body .note strong { color: #b8956a; }

.article-body figure { margin: 2.5rem 0; }
.article-body figure img { width: 100%; }
.article-body figcaption {
  font-size: .78rem; color: #aaa; margin-top: 8px;
  letter-spacing: .03em; text-align: center;
}

/* inline img grid in articles */
.img-row { display: grid; gap: 12px; margin: 2rem 0; }
.img-row--2 { grid-template-columns: 1fr 1fr; }
.img-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.img-row img { width: 100%; }

/* Sidebar */
.sidebar { padding-top: 0; }
.sidebar-widget {
  border-top: 2px solid #1a1a1a;
  padding-top: 20px;
  margin-bottom: 40px;
}
.sidebar-widget h4 {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #1a1a1a; margin-bottom: 16px;
}
.sidebar-links li { margin-bottom: 10px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
.sidebar-links li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-links a { font-size: .88rem; color: #444; line-height: 1.5; }
.sidebar-links a:hover { color: #1a1a1a; opacity: 1; }

/* ── Gallery / Coloring Pages ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: #ebebeb; }
.gallery-item { background: #fff; overflow: hidden; }
.gallery-item__img {
  aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5;
  position: relative;
}
.gallery-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover .gallery-item__img img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute; inset: 0; background: rgba(26,26,26,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px;
}
.gallery-item__info { padding: 16px 20px; }
.gallery-item__title { font-size: .9rem; font-weight: 500; margin-bottom: 2px; }
.gallery-item__artist { font-size: .76rem; color: #aaa; }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 16px;
  border: 1px solid #ddd; background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #888; transition: all .15s;
}
.filter-btn:hover, .filter-btn.is-active {
  background: #1a1a1a; border-color: #1a1a1a; color: #fff;
}

/* ── Dark band ── */
.band {
  background: #1a1a1a; color: #fff;
  padding: 80px 0; text-align: center;
}
.band h2 { color: #fff; margin-bottom: 12px; }
.band p { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ── Warm band ── */
.band--warm {
  background: #f9f4ed;
  padding: 80px 0; text-align: center;
}
.band--warm h2 { margin-bottom: 12px; }
.band--warm p { color: #666; max-width: 480px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step__n {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem; color: #ebebeb; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: #666; }

/* ── FAQ ── */
.faq-group { margin-bottom: 48px; }
.faq-group__title {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #b8956a; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
}
.faq-item { border-bottom: 1px solid #f0f0f0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer;
  font-size: .97rem; font-weight: 500; color: #1a1a1a;
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: #aaa; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: #1a1a1a; }
.faq-a {
  font-size: .95rem; color: #555; line-height: 1.75;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ── About ── */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 64px; border-top: 1px solid #f0f0f0; }
.value h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.value p { font-size: .93rem; color: #666; }
.value__icon { font-size: 1.6rem; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd; background: #fafafa;
  font-family: 'DM Sans', sans-serif; font-size: .95rem; color: #1a1a1a;
  outline: none; transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: #1a1a1a; background: #fff;
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ── Newsletter ── */
.newsletter-form { display: flex; gap: 0; max-width: 440px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid #1a1a1a; border-right: none;
  font-family: 'DM Sans', sans-serif; font-size: .9rem;
  outline: none; background: #fff;
}
.newsletter-form .btn { border-left: none; }
.band .newsletter-form input { border-color: rgba(255,255,255,.4); background: transparent; color: #fff; }
.band .newsletter-form input::placeholder { color: rgba(255,255,255,.5); }

/* ── Footer ── */
.site-footer { background: #111; color: rgba(255,255,255,.6); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .site-logo { color: rgba(255,255,255,.85); }
.footer-brand .site-logo em { color: #b8956a; }
.footer-tagline { font-size: .88rem; margin-top: 16px; line-height: 1.8; color: rgba(255,255,255,.4); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: rgba(255,255,255,.5);
  transition: all .15s;
}
.social-link:hover { border-color: rgba(255,255,255,.5); color: #fff; opacity: 1; }
.footer-col h4 {
  font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 18px; font-family: 'DM Sans', sans-serif;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.9); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; color: rgba(255,255,255,.25);
  flex-wrap: wrap; gap: 10px;
}

/* ── Palette swatches ── */
.palette { display: flex; gap: 6px; margin: 12px 0 6px; }
.swatch { width: 36px; height: 36px; border: 1px solid rgba(0,0,0,.06); }

/* ── Divider ── */
hr { border: none; border-top: 1px solid #f0f0f0; margin: 48px 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plain-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { border-top: 1px solid #f0f0f0; padding-top: 48px; }
}
@media (max-width: 768px) {
  /* Nav is moved to <body> by JS when open — z-index 99999 in root context, no stacking issues */
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: #fff; padding: 8px 28px 28px; overflow-y: auto; gap: 0; z-index: 99999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-drop { position: static; opacity: 1; pointer-events: all; transform: none; border: none; padding: 4px 0 8px 12px; }
  .nav-item { border-bottom: 1px solid #f0f0f0; }
  .nav-link { padding: 14px 0; }
  .hero { padding: 64px 0 56px; }
  .hero__stats { flex-direction: column; gap: 28px; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .plain-grid--2, .plain-grid--3, .plain-grid--4 { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1.5px solid #1a1a1a; }
  .img-row--2, .img-row--3 { grid-template-columns: 1fr; }
  .band--warm .newsletter-form { max-width: 100%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .container, .container--narrow, .container--wide { padding: 0 18px; }
}
