:root {
  --pink-50: #fff5f7;
  --pink-100: #fde4ea;
  --pink-300: #f2a7b9;
  --pink-500: #ab4768;
  --pink-600: #a33c5e;
  --plum: #5b2a3d;
  --teal: #1f4d4f;
  --ink: #3a3236;
  --muted: #70616a;
  --line: #e9dfe3;
  --bg: #f7f5f6;
  --white: #fff;
  --shadow: 0 4px 18px rgba(91, 42, 61, 0.08);
  --head: "Merriweather", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--white);
  display: flex; flex-direction: column; min-height: 100vh;
}
body:not([data-page="home"]) { background: var(--bg); }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--pink-600); }
h1, h2, h3 { font-family: var(--head); color: var(--teal); line-height: 1.3; margin: 0 0 .5em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-block; background: var(--plum); color: var(--white); text-decoration: none;
  font: 600 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 22px; border: 2px solid var(--plum); border-radius: 4px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--pink-600); border-color: var(--pink-600); }
.btn-outline { background: transparent; color: var(--plum); }
.btn-outline:hover { color: var(--white); }
.btn-pink { background: var(--pink-300); border-color: var(--pink-300); }
.text-link { font-weight: 600; text-decoration: none; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { width: min(1100px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: .85; }
.logo-crochet { font: 700 2rem var(--script); color: var(--plum); }
.logo-paws { font: 700 1.7rem var(--script); color: var(--pink-500); margin-left: 22px; }
.logo-paw { font-size: .9rem; margin-left: 2px; vertical-align: super; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .dropdown-toggle {
  font: 600 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 0;
}
.nav > a:hover, .dropdown-toggle:hover, .nav [aria-current="page"] { color: var(--pink-600); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: -16px; min-width: 210px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 0;
  display: none;
}
.dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.dropdown-menu a:hover { background: var(--pink-50); color: var(--pink-600); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--plum); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(90deg, var(--pink-100), var(--pink-50) 60%, var(--white)); padding: 40px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { text-align: center; padding: 0 12px; }
.hero-copy h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.hero-copy p { color: var(--muted); }
.hero-photo {
  aspect-ratio: 1.15; border-radius: 10px; position: relative; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.18) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #e9c7d1, #b98a9b 60%, #8e6474);
  box-shadow: var(--shadow);
}
.hero-photo span { position: absolute; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.hero-photo .h1 { font-size: 5rem; top: 6%; left: 8%; }
.hero-photo .h2 { font-size: 6rem; top: 8%; right: 10%; }
.hero-photo .h3 { font-size: 4.5rem; bottom: 10%; left: 12%; }
.hero-photo .h4 { font-size: 3.5rem; bottom: 14%; right: 14%; transform: rotate(20deg); }
.hero-photo .h5 { font-size: 3rem; top: 44%; left: 44%; }

/* Placeholder "photos" */
.thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ph {
  display: grid; place-items: center;
  background:
    repeating-radial-gradient(circle at 70% 30%, rgba(255,255,255,.16) 0 2px, transparent 2px 10px),
    linear-gradient(135deg, var(--a), var(--b));
}
.ph span { font-size: 3.6rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }

/* Browse circles */
.browse { background: linear-gradient(110deg, var(--white) 40%, var(--pink-100)); padding: 48px 0 56px; }
.section-title { text-align: center; font-size: 1.35rem; margin-bottom: 28px; }
.section-title.pink { color: var(--pink-300); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.circles { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.circle-cat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.thumb.circle { width: 112px; height: 112px; aspect-ratio: 1; border-radius: 50%; box-shadow: var(--shadow); transition: transform .2s; }
.thumb.circle span { font-size: 2.8rem; }
.circle-cat:hover .thumb.circle { transform: scale(1.06); }
.pill { background: var(--pink-300); color: var(--white); font-size: .78rem; font-weight: 600; padding: 3px 12px; border-radius: 3px; }

/* Grids and cards */
.latest { padding: 48px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.post-card a { text-decoration: none; }
.post-card { background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); }
.post-body { padding: 16px 18px 20px; }
.post-cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-500); text-decoration: none; }
.post-card h3 { margin: 6px 0; }
.post-card h3 a { color: var(--teal); text-decoration: none; }
.post-card h3 a:hover { color: var(--pink-600); }
.post-meta { font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.read-more { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); text-decoration: none; }
.read-more:hover { color: var(--pink-600); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* Author box */
.author-box {
  display: grid; grid-template-columns: 140px 1fr 220px; gap: 24px; align-items: center;
  background: linear-gradient(110deg, var(--pink-50), var(--pink-100));
  padding: 24px; margin: 40px 0 56px; border-radius: 6px;
}
.author-photo {
  width: 140px; height: 160px; border-radius: 8px; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(160deg, #f6c8d5, #b98a9b);
}
.author-photo.big { width: 100%; max-width: 240px; height: 240px; border-radius: 28px; font-size: 6rem; }
.author-text p { font-size: .95rem; margin-bottom: .5em; }
.connect { text-align: center; }
.connect p { font-size: .88rem; color: var(--muted); }
.socials { display: flex; justify-content: center; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink-600); color: var(--white); text-decoration: none; font: 700 .8rem var(--head);
}

/* Page heads (category/about/contact) */
.page-head { text-align: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 16px 6px; margin: 32px 0; }
.page-head h1 { font-size: 1.5rem; margin-bottom: .2em; }
.page-head p { font-size: .92rem; color: var(--muted); max-width: 680px; margin: 0 auto .6em; }
.page-head p:empty { display: none; }
.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 .82rem var(--body); padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--pink-300); background: var(--white); color: var(--plum);
}
.chip.active, .chip:hover { background: var(--pink-300); color: var(--white); }
#search, .contact-form input, .contact-form textarea {
  font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid #9fb3b8; border-radius: 2px; background: var(--white); color: var(--ink); width: 100%;
}
#search { max-width: 260px; }
#search:focus, .contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--pink-300); border-color: var(--pink-500); }

/* Pattern post */
.post { max-width: 760px; margin: 0 auto; padding-bottom: 8px; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 28px 0 12px; }
.crumbs a { color: var(--muted); }
.post-head { text-align: center; margin-bottom: 20px; }
.post-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-top: 6px; }
.hero-thumb { border-radius: 6px; margin-bottom: 24px; }
.hero-thumb span { font-size: 7rem; }
.intro { font-size: 1.1rem; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 24px 0 32px; }
.glance div { background: var(--white); padding: 12px 14px; }
.glance span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-500); }
.glance strong { font-size: .92rem; font-weight: 600; }
.post h2 { margin-top: 1.6em; }
.materials li { margin-bottom: 4px; }
.abbr { font-size: .92rem; color: var(--muted); }
.step-block { background: var(--white); padding: 18px 22px; margin-bottom: 16px; border-left: 4px solid var(--pink-300); box-shadow: var(--shadow); }
.step-block ol { list-style: none; padding: 0; margin: 0; }
.step-block li { padding: 4px 0; }
.step-block label { display: flex; gap: 10px; cursor: pointer; }
.step-block input { accent-color: var(--pink-500); margin-top: 7px; flex: none; }
.step-block input:checked + span { text-decoration: line-through; color: var(--muted); }
.tip { font-size: .9rem; color: var(--muted); }
.post-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.related-title { text-align: center; }
.post .grid { grid-template-columns: repeat(3, 1fr); }

/* About */
.about-intro { text-align: center; }
.about-intro p { color: var(--muted); }
.about-top { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; margin: 32px 0; }
.prose h2 { font-size: 1.2rem; margin-top: 1.6em; }
.narrow-left { max-width: 760px; margin-bottom: 64px; }

/* Contact */
.note { font-size: .92rem; color: var(--muted); }
.contact-form { display: grid; gap: 14px; margin: 24px 0 64px; max-width: 420px; }
.contact-form label { display: grid; gap: 4px; font-size: .9rem; }
.req { color: var(--pink-600); }
.contact-form .btn { justify-self: start; }
.form-msg { margin: 0; min-height: 1.4em; font-size: .92rem; }
.form-msg.ok { color: #3f6e4a; }
.form-msg.err { color: var(--pink-600); }

/* Footer */
.site-footer { background: #e2e0e1; text-align: center; padding: 24px 16px; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; max-width: 520px; margin: 0 auto 10px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--pink-600); }
.site-footer p { margin: 0; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .about-top { grid-template-columns: 1fr; }
  .about-top .author-photo { margin-inline: auto; }
  .grid, .post .grid { grid-template-columns: repeat(2, 1fr); }
  .author-box { grid-template-columns: 110px 1fr; }
  .author-box .author-photo { width: 110px; height: 130px; }
  .connect { grid-column: 1 / -1; }
  .glance { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .dropdown-toggle { padding: 14px 20px; border-top: 1px solid var(--line); width: 100%; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; background: var(--pink-50); }
  .dropdown-menu a { padding-left: 36px; }
}
@media (max-width: 540px) {
  .grid, .post .grid { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-box .author-photo { margin-inline: auto; }
  #search { max-width: none; }
  .circles { gap: 22px; }
  .thumb.circle { width: 92px; height: 92px; }
}
/* Shared visual system: warm paper, plum accents and generous reading space. */
:root { --bg: #fcf8f6; --line: #eadedc; --teal: #423a37; --shadow: 0 8px 28px rgba(79, 46, 57, .06); }
body { background: var(--bg); font-size: 16px; }
main { min-width: 0; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 5px; }
.container, .header-inner { width: min(1160px, 100% - 48px); }
.btn { padding: 15px 25px; border-radius: 999px; letter-spacing: .06em; line-height: 1.4; }
.btn-pink { background: var(--plum); border-color: var(--plum); }
.site-header { background: #fffdfaf5; backdrop-filter: blur(12px); }
.header-inner { height: 88px; }
.logo { flex-direction: row; align-items: baseline; gap: 4px; }
.logo-crochet, .logo-paws { font-size: 2.1rem; }
.logo-paws { margin-left: 0; }
.nav { gap: 32px; }
.nav > a, .dropdown-toggle { font-size: .75rem; padding-block: 14px; }
.nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.dropdown-menu { border-radius: 12px; padding: 10px; min-width: 230px; }
.dropdown-menu a { border-radius: 6px; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.hero { padding: 66px 0; background: #f6e9e5; border-bottom: 1px solid var(--line); }
.hero-inner { gap: 70px; }
.hero-copy { text-align: left; padding: 0; }
.eyebrow { font: 600 .72rem/1.5 var(--body); letter-spacing: .17em; text-transform: uppercase; color: var(--pink-600); margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.5vw, 3.65rem); line-height: 1.18; letter-spacing: -.045em; max-width: 580px; }
.hero-copy h1 em { color: var(--pink-600); font-style: normal; }
.hero-copy > p:not(.eyebrow) { font-size: 1rem; max-width: 480px; margin: 24px 0 28px; }
.hero-note { display: block; color: var(--muted); font-size: .78rem; margin-top: 18px; }
.hero-photo { aspect-ratio: 1.15; border-radius: 48% 48% 12px 12px; background: repeating-linear-gradient(0deg, #ffffff20 0 1px, transparent 1px 5px), #ddbeb9; border: 10px solid #ffffff65; box-shadow: 12px 16px 0 #e9d5ce; }
.hero-photo::after { content: "A little yarn. A lot of joy."; position: absolute; bottom: 8%; left: 0; width: 100%; text-align: center; font: 700 1.7rem var(--script); color: var(--plum); }
.hero-photo .h1 { top: 15%; left: 9%; }
.hero-photo .h2 { top: 19%; right: 16%; font-size: 7rem; }
.hero-photo .h3 { bottom: 24%; left: 15%; }
.hero-photo .h4 { bottom: 25%; right: 13%; }
.hero-photo .h5 { top: 4%; left: 43%; }
.browse { background: #fffdfa; padding: 48px 0; border-bottom: 1px solid var(--line); }
.section-title { font-size: 1.9rem; letter-spacing: -.035em; margin-bottom: 30px; }
.section-title.pink { font-size: .78rem; color: var(--plum); letter-spacing: .16em; }
.circles { gap: 48px; }
.circle-cat { gap: 14px; }
.thumb.circle { width: 104px; height: 104px; border: 5px solid #fff; outline: 1px solid var(--line); box-shadow: none; }
.pill { background: transparent; color: var(--plum); font-size: .8rem; padding: 0; }
.latest { padding-top: 60px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; text-align: left; }
.section-heading .text-link { font-size: .85rem; }
.grid { gap: 28px; }
.post-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: none; }
.post-card:hover { box-shadow: var(--shadow); }
.ph { background: radial-gradient(ellipse at 50% 65%, #ffffff88, transparent 65%), color-mix(in srgb, var(--a) 80%, #f3e7dd); }
.ph span { font-size: 4.5rem; filter: drop-shadow(0 12px 8px #5b2a3d20); }
.post-body { padding: 23px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.post-card h3 { font-size: 1.1rem; line-height: 1.55; margin: 8px 0 12px; }
.post-meta { font-size: .75rem; }
.pattern-details { color: var(--muted); font-size: .8rem; margin-bottom: 16px; }
.read-more { margin-top: auto; padding: 8px 0 0; color: var(--pink-600); }
.author-box { padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: #f3e7e2; gap: 32px; margin: 60px 0; }
.author-photo { border-radius: 50% 50% 12px 12px; background: #e4ccc2; }
.author-text p, .connect p { font-size: .85rem; }
.connect { border-left: 1px solid #d7bfb9; padding-left: 24px; }
.page-head { border: 0; padding: 30px 0; margin: 28px 0; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.page-head p { margin-top: 14px; }
.toolbar { align-items: center; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.chip { padding: 11px 16px; min-height: 44px; }
.chip.active, .chip:hover { background: var(--plum); border-color: var(--plum); color: white; }
#search, .contact-form input, .contact-form textarea { border: 1px solid #bba5ab; border-radius: 8px; padding: 13px 15px; }
#search { flex: 1 1 220px; }
.empty { padding: 48px 16px; border: 1px dashed #bba5ab; border-radius: 12px; }
.post { padding-bottom: 36px; }
.post-head { margin: 30px 0; }
.post-head h1 { line-height: 1.4; }
.hero-thumb { border-radius: 16px; }
.glance { border-radius: 12px; overflow: hidden; }
.glance strong { overflow-wrap: anywhere; }
.step-block { border-radius: 0 12px 12px 0; box-shadow: none; border: 1px solid var(--line); border-left: 4px solid var(--pink-300); }
.step-block li { padding: 9px 0; }
.step-block input { width: 18px; height: 18px; margin-top: 5px; }
.post .author-box { grid-template-columns: 100px 1fr; }
.post .author-photo { width: 100px; height: 120px; }
.post .connect { grid-column: 1 / -1; border: 0; padding: 20px 0 0; border-top: 1px solid #d7bfb9; }
.contact-form { max-width: none; gap: 22px; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea { display: block; margin-top: 7px; }
.contact-form textarea { resize: vertical; }
#legal-body { padding-bottom: 64px; }
.site-footer { background: #efe5e0; border-top: 1px solid var(--line); padding: 36px 24px; }
.footer-links { max-width: 800px; gap: 12px 28px; margin-bottom: 20px; }
@media (max-width: 1000px) { .hero-inner { gap: 40px; } .circles { gap: 28px; } .author-box { grid-template-columns: 110px 1fr; } .connect { grid-column: 1 / -1; border: 0; border-top: 1px solid #d7bfb9; padding: 22px 0 0; } }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr 1fr; gap: 30px; } .hero-photo .h2 { font-size: 5rem; } .hero-photo .h1 { font-size: 3.5rem; } .hero-photo .h3, .hero-photo .h4 { font-size: 2.7rem; } .hero-photo::after { font-size: 1.3rem; } }
@media (max-width: 720px) {
  .container, .header-inner { width: calc(100% - 36px); }
  .header-inner { height: 76px; }
  .nav { left: -18px; right: -18px; gap: 0; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .nav > a, .dropdown-toggle { padding: 17px 22px; }
  .dropdown-menu { border-radius: 0; }
  .hero { padding: 42px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { max-width: 480px; }
  .hero-photo { width: min(100% - 12px, 430px); justify-self: center; }
  .hero-photo .h2 { font-size: 6rem; }
  .hero-photo .h1 { font-size: 5rem; }
  .hero-photo .h3, .hero-photo .h4 { font-size: 3.5rem; }
  .hero-photo::after { font-size: 1.6rem; }
  .circles { gap: 24px 20px; }
  .circle-cat { width: 125px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 1.5rem; }
  .section-heading .text-link { text-align: right; }
  .author-box { padding: 24px; }
  .page-head { margin: 16px 0; }
}
@media (max-width: 540px) { .hero-photo .h1 { font-size: 3.5rem; } .hero-photo .h2 { font-size: 5rem; } .hero-photo .h3, .hero-photo .h4 { font-size: 2.6rem; bottom: 26%; } .hero-photo .h5 { font-size: 2.2rem; } .post .author-box { grid-template-columns: 1fr; } .circle-cat { width: 92px; } .pill { font-size: .73rem; text-align: center; } .thumb.circle { width: 84px; height: 84px; } .thumb.circle span { font-size: 2.6rem; } .grid { gap: 22px; } .glance div { padding: 12px; } #search { max-width: none; } }
/* Generated category inspiration photographs. */
.hero-photo-image { border-radius: 40% 40% 14px 14px; }
.hero-photo-image::after { content: none; }
.hero-photo-image img { width: 100%; height: 100%; object-fit: cover; }
.category-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 36px; }
.category-feature { display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fffdfa; color: var(--plum); text-decoration: none; }
.category-feature img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.category-feature span { display: block; padding: 14px 18px; text-align: center; font-weight: 600; }
.category-feature:hover { box-shadow: var(--shadow); }
.category-features.single { grid-template-columns: minmax(0, 440px); justify-content: center; }
@media (max-width: 540px) { .category-features { gap: 12px; grid-template-columns: 1fr; } .category-feature { max-width: 440px; width: 100%; margin-inline: auto; } }
/* Keep illustrated projects visible without clipping their edges. */
.post-card .thumb { aspect-ratio: 1; }
.author-photo { object-fit: cover; }
.hero-thumb { aspect-ratio: 1; }
.image-caption { color: var(--muted); font-size: .8rem; margin: -12px 0 24px; text-align: center; }
.image-note { font-size: .75rem; padding-top: 10px; }
@media print {
  .site-header, .site-footer, .post-actions, .author-box, .related-title, .post .grid, .crumbs, .tip { display: none !important; }
  .step-block { box-shadow: none; border-left-color: #999; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

.site-footer .footer-contact { margin-bottom: 6px; }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-contact a:hover { color: var(--pink-600); }

/* Real photos sit on top of the emoji placeholders */
.ph, .hero-photo, .author-photo { position: relative; overflow: hidden; }
.ph img, .hero-photo img, .author-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}

/* Spam trap field on the contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
