/* ==========================================================
   Success Self Care — colors and fonts (change them here)
   Palette from the Etsy banner
   ========================================================== */
/* Italiana's hyphen is a hairline, so hyphens borrow a system serif */
@font-face {
  font-family: "Italiana Dash";
  src: local("Georgia"), local("Times New Roman"), local("Noto Serif"), local("DejaVu Serif"), local("Liberation Serif");
  unicode-range: U+002D, U+2010-2011;
}

:root {
  --cream: #F7F3EC;
  --cream-deep: #EFE8DC;
  --greige: #C8C3BD;
  --gold: #C9A84C;
  --gold-deep: #7A5E18;   /* gold text on light backgrounds */
  --amber: #8A4B22;       /* links */
  --charcoal: #1E1E1E;
  --muted: #5B554E;
  --white: #FFFFFF;
  --serif: "Italiana Dash", "Italiana", Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --max: 1120px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font: 18px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--charcoal); letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.45rem; margin: 1.4em 0 .4em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--narrow); }
.hidden { display: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 10; }

/* Buttons */
.btn { display: inline-block; font: 700 .95rem/1 var(--sans); letter-spacing: .03em; padding: .9rem 1.4rem; border-radius: 2px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #B8963C; color: var(--charcoal); }
.btn-outline { border-color: var(--gold-deep); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold-deep); color: var(--white); }

/* Gold inset frame, like the Etsy banner */
.frame { position: relative; background: var(--greige); padding: clamp(1.5rem, 4vw, 3rem); }
.frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); pointer-events: none; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--cream-deep); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--charcoal); display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.brand-sub { font-size: .78rem; color: var(--gold-deep); letter-spacing: .12em; margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--amber); }
.nav .btn { padding: .7rem 1.1rem; }

/* Hero */
.hero { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.hero-frame { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-text h1 { margin-top: 0; }
.lede { font-size: 1.15rem; color: var(--charcoal); }
.hero-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* Sections */
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0 0 1rem; }
.alt { background: var(--white); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.card-grid.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--cream-deep); display: flex; flex-direction: column; }
.card-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.3rem; }
.card-body h3 { margin: .2rem 0 .4rem; font-size: 1.35rem; }
.card-body h3 a { color: var(--charcoal); text-decoration: none; }
.card-body h3 a:hover { color: var(--amber); }
.card-cat { margin: 0; font-size: .82rem; color: var(--gold-deep); letter-spacing: .05em; }
.card-date, .card-body .sizes { margin: 0; font-size: .85rem; color: var(--muted); }
.card-body p { font-size: .95rem; }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.topic { display: block; text-decoration: none; color: var(--charcoal); background: var(--white); border-top: 3px solid var(--gold); padding: 1.3rem 1.3rem 1.5rem; }
.topic h3 { margin: 0 0 .4rem; }
.topic p { margin: 0; font-size: .95rem; color: var(--muted); }
.topic:hover h3 { color: var(--amber); }

.about-strip { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center; }
.about-strip img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* Forms */
.subscribe-form, .contact-form { display: grid; gap: .5rem; max-width: 460px; }
label { font-size: .9rem; font-weight: 700; }
input, textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--greige); background: var(--white); border-radius: 2px; width: 100%; }
input:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.subscribe-form .btn, .contact-form .btn { margin-top: .6rem; justify-self: start; }
.fine { font-size: .82rem; color: var(--muted); margin: .3rem 0 0; }

/* Posts and pages */
.page, .post { padding-top: 2rem; padding-bottom: 3rem; }
.post-cat { font-size: .88rem; color: var(--gold-deep); text-decoration: none; letter-spacing: .05em; }
.post-meta { color: var(--muted); font-size: .92rem; margin-top: -.5rem; }
.disclosure { background: var(--white); border-left: 3px solid var(--gold); padding: .8rem 1rem; font-size: .9rem; }
.post-hero { margin: 1.5rem 0; }
.post-hero img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.post-hero figcaption, .prose figcaption { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.prose img { margin: 1.5rem 0; max-width: min(100%, 420px); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote, .affirmation { font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; text-align: center; color: var(--gold-deep); margin: 2.5rem 0; padding: 1.5rem 1rem; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.how-i-use { background: var(--white); padding: 1.3rem 1.5rem; border: 1px solid var(--cream-deep); }
.etsy-cta { margin: 3rem 0 1.5rem; text-align: center; }
.etsy-cta h2 { margin-top: 0; }
.etsy-cta .cta-row { justify-content: center; }
.share { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; font-size: .92rem; margin: 1.5rem 0; }
.share span { color: var(--muted); }
.related h2 { margin-top: 2.5rem; }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { background: var(--charcoal); color: #E9E4DC; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer a:not(.btn) { color: #E9E4DC; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--serif); font-size: 1.8rem; margin: 0 0 .5rem; color: var(--gold); }
.footer-head { color: var(--gold); font-weight: 700; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.copyright { font-size: .8rem; color: #ABA49A; border-top: 1px solid #3A3733; padding-top: 1.2rem; margin-top: 2rem; }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .hero-frame, .about-strip, .signup, .footer-grid { grid-template-columns: 1fr; }
  .about-strip img { max-width: 280px; }
  .nav { gap: .9rem; }
}
