:root {
  color-scheme: light;
  --terracotta: #C85A3A;
  --terracotta-dark: #A9472B;
  --sage: #4A6B5D;
  --sage-dark: #385348;
  --linen: #F7F3EC;
  --linen-deep: #EDE5D8;
  --paper: #FFFDF9;
  --charcoal: #231F1D;
  --charcoal-muted: #5A524D;
  --ochre: #E2A547;
  --border: #E2D9CB;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(35, 31, 29, 0.06);
  --shadow-hover: 0 14px 32px rgba(35, 31, 29, 0.11);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--linen);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal);
  text-decoration: none;
}

.brand-link:hover { text-decoration: none; }

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terracotta);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--charcoal-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--terracotta); text-decoration: none; }

.btn-pinterest-nav {
  background: var(--terracotta);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: background 0.15s ease;
}

.btn-pinterest-nav:hover { background: var(--terracotta-dark); }

/* Clear Above-the-Fold Amazon Associates Disclosure Banner */
.affiliate-banner {
  background: var(--linen-deep);
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 9px 0;
  text-align: center;
}

.affiliate-banner a {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

/* Hero */
.hero {
  padding: 40px 0 36px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--linen) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--ochre);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--charcoal-muted);
  margin: 0 0 22px;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-banner-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--paper);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-secondary { background: var(--sage); color: #fff; }
.btn-secondary:hover { background: var(--sage-dark); }

.btn-outline {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* Search & Filter Bar */
.filter-bar {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}

.search-input {
  flex: 1 1 240px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--linen);
  color: var(--charcoal);
}

.search-input:focus {
  outline: 2px solid var(--terracotta);
  border-color: transparent;
  background: #fff;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill:hover, .pill.active {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

/* Sections & Cards */
.section { padding: 44px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--charcoal-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.tutorial-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tutorial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--linen-deep);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hook-pill-inline {
  background: var(--ochre);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.form-status {
  margin: 14px auto 0;
  max-width: 520px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.96);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border);
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}

.card-title a { color: var(--charcoal); }
.card-title a:hover { color: var(--terracotta); text-decoration: none; }

.card-desc {
  font-size: 0.9rem;
  color: var(--charcoal-muted);
  margin: 0 0 14px;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* Category Boards Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.board-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  color: var(--charcoal);
}

.board-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--sage);
  text-decoration: none;
}

.board-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 6px;
}

.board-card p {
  font-size: 0.86rem;
  color: var(--charcoal-muted);
  margin: 0 0 10px;
}

.board-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tutorial Detail Page */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  margin: 22px 0 14px;
}

.breadcrumb a { color: var(--sage); font-weight: 600; }

.article-header {
  margin-bottom: 24px;
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-sage {
  background: var(--sage);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
}

.badge-ochre {
  background: var(--ochre);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.article-byline {
  font-size: 0.88rem;
  color: var(--charcoal-muted);
  margin-bottom: 18px;
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.stat-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal-muted);
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--charcoal);
}

.hero-figure {
  margin: 0 0 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 16px;
  font-size: 0.83rem;
  color: var(--charcoal-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.disclosure-note {
  background: var(--linen-deep);
  border-left: 4px solid var(--ochre);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal);
  margin: 20px 0 28px;
}

/* Printable Project Card */
.project-card {
  background: var(--paper);
  border: 2px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 28px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.project-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-card-head h2 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 1.55rem;
}

.supplies-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.94rem;
}

.checklist-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.checklist-text {
  cursor: pointer;
  color: var(--charcoal);
}

.checklist input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--sage);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.checklist li.checked .checklist-text {
  text-decoration: line-through;
  color: var(--charcoal-muted);
}

.shop-link {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  background: var(--linen);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

.shop-link:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
  text-decoration: none;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 48px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.steps-list p { margin: 0; color: var(--charcoal-muted); }

.tips-box {
  background: var(--linen);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 24px 0;
}

.tips-box h3 {
  font-family: var(--font-serif);
  margin: 0 0 10px;
  color: var(--sage-dark);
}

.tips-box ul { margin: 0; padding-left: 20px; }
.tips-box li { margin-bottom: 6px; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

.faq-item p { margin: 10px 0 0; color: var(--charcoal-muted); }

/* Pin CTA & Newsletter */
.pin-cta {
  background: var(--charcoal);
  color: var(--linen);
  border-radius: var(--radius);
  padding: 28px;
  margin: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pin-cta h3 {
  font-family: var(--font-serif);
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #fff;
}

.pin-cta p { margin: 0; color: #D7CEC2; max-width: 48ch; }

.newsletter-box {
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  margin: 40px 0;
  text-align: center;
}

.newsletter-box h2 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.newsletter-box p {
  margin: 0 auto 20px;
  max-width: 52ch;
  color: #E5EFEA;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.prose-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 28px 0 48px;
  box-shadow: var(--shadow);
}

.prose-card h1, .prose-card h2 {
  font-family: var(--font-serif);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--linen);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #D7CEC2;
  padding: 48px 0 28px;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 7px; }
.footer-links a { color: #D7CEC2; font-size: 0.9rem; }
.footer-links a:hover { color: var(--ochre); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 820px) {
  .hero-grid, .supplies-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-direction: column; padding: 12px 0; }
}

/* Print Stylesheet for Project Card */
@media print {
  .site-header, .site-footer, .breadcrumb, .jump-bar, .pin-cta, .newsletter-box, .related-section, .no-print {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .project-card { border: 1px solid #000; box-shadow: none; padding: 16px; }
}
