/* ChaCHA Yarnworks: single stylesheet, no build step.
   Keeps the feel of the original Google Site: a crochet close-up behind a white-framed, hand-lettered title (Gaegu),
   Montserrat for the name and headings, Open Sans for reading, charcoal and warm grey, with teal from the yarn.
   Fonts are self-hosted (SIL Open Font License). Light and dark mode follow the visitor's device. */

@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/open-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/fonts/open-sans-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/montserrat.woff2") format("woff2");
}
@font-face {
  font-family: "Gaegu"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/gaegu-400.woff2") format("woff2");
}
@font-face {
  font-family: "Gaegu"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/gaegu-700.woff2") format("woff2");
}

:root {
  color-scheme: light dark;

  --teal: #19645f;           /* links and accents, from the blanket in the header photo (7:1 on white) */
  --teal-strong: #0f4744;
  --teal-soft: #e3f0ee;
  --berry: #a3283d;          /* the red in the header photo, for small marks (7:1 on white) */
  --charcoal: #303033;       /* the original site's footer and buttons */
  --charcoal-strong: #1f1f21;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f1efeb;    /* warm grey, like the original gallery background */
  --ink: #212123;
  --ink-muted: #55555b;      /* 7.4:1 on white */
  --line: #dedbd5;
  --on-dark: #ffffff;
  --focus: #c2410c;
  --field-border: #7d7b78;   /* 4.2:1 on white (WCAG 1.4.11) */
  --danger: #b42318;

  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Gaegu", "Comic Sans MS", "Segoe Print", cursive;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(30 30 33 / .06), 0 8px 24px rgb(30 30 33 / .08);
  --shadow-lg: 0 2px 6px rgb(30 30 33 / .08), 0 20px 48px rgb(30 30 33 / .16);
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #7fd0c6;
    --teal-strong: #b0e6df;
    --teal-soft: #15302d;
    --berry: #f19aa8;
    --charcoal: #e6e4e0;
    --charcoal-strong: #ffffff;
    --bg: #161618;
    --surface: #202023;
    --surface-alt: #1b1b1d;
    --ink: #ecebe8;
    --ink-muted: #b6b4b0;
    --line: #36363a;
    --on-dark: #161618;
    --focus: #fb923c;
    --field-border: #8b8a87;
    --danger: #f97066;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .28);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / .35), 0 20px 48px rgb(0 0 0 / .4);
  }
  .photo img, .tile img, .card-photo img, .pattern-photo img { filter: brightness(.94); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1.1em; }
p { text-wrap: pretty; max-width: 68ch; }

a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-strong); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--charcoal); color: var(--on-dark);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-block: .55rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; align-items: center; }
.nav a {
  display: inline-block; padding: .5rem .75rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav a:hover { background: var(--teal-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-strong); font-weight: 700; }
.nav a.nav-cta { background: var(--charcoal); color: var(--on-dark); font-weight: 600; padding-inline: 1rem; margin-left: .35rem; }
.nav a.nav-cta:hover { background: var(--charcoal-strong); }
.nav a.nav-cta[aria-current="page"] { outline: 2px solid var(--teal); outline-offset: 2px; }

@media (max-width: 960px) {
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .nav ul { justify-content: center; }
  .nav a { padding: .45rem .65rem; font-size: .92rem; }
}

/* ---------- Hero: crochet close-up, darkened, with the white hand-lettered frame ---------- */
.hero {
  --focus: #fb923c;
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  padding: clamp(3rem, 2rem + 6vw, 6.5rem) var(--gutter);
  color: #fff; text-align: center;
  background: #2c3c3b url("/img/hero-crochet.webp") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 22 24 / .58); }
.hero-frame {
  border: 6px solid #fff; border-radius: 22px;
  padding: clamp(1.25rem, 1rem + 2.5vw, 2.5rem) clamp(1.25rem, 1rem + 4vw, 4rem);
  max-width: 46rem;
}
.hero h1 {
  font-family: var(--font-hand); font-weight: 700; color: #fff;
  font-size: clamp(2.6rem, 1.8rem + 4.2vw, 4.8rem); line-height: 1.02; margin: 0;
  text-shadow: 0 2px 12px rgb(0 0 0 / .35);
}
.hero h1 small { display: block; margin-top: .6rem; font-size: .42em; font-weight: 400; letter-spacing: .03em; }
.hero.page h1 { font-size: clamp(2.3rem, 1.7rem + 3vw, 3.8rem); }
.hero.page { padding-block: clamp(2.25rem, 1.5rem + 4vw, 4.25rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; text-decoration: none; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--charcoal); color: var(--on-dark); }
.btn-primary:hover { background: var(--charcoal-strong); color: var(--on-dark); }
.btn-ghost { border-color: var(--charcoal); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--ink); }
.btn-sm { min-height: 44px; padding: .5rem 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.actions.center { justify-content: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-hand); font-size: 1.45rem; font-weight: 700; line-height: 1.2;
  color: var(--berry); margin-bottom: .3rem;
}
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-muted); }
.note { color: var(--ink-muted); font-size: .95rem; }
.flush-top { padding-top: 0; }

/* About me */
.about { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
.about .photo { max-width: 26rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about .photo { max-width: 20rem; } }
.photo { border-radius: calc(var(--radius) * 1.4); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; }

/* Social links: icon + words */
.social { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem .45rem .55rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.social a:hover { border-color: var(--teal); color: var(--teal-strong); }
.social svg { flex: none; width: 1.9rem; height: 1.9rem; padding: .35rem; border-radius: 50%; background: var(--charcoal); color: var(--on-dark); }

/* ---------- Cards (photo on top, whole card clickable) ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.card-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--surface-alt); }
.card-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .4rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--ink-muted); }
.card .more { margin-top: auto; margin-bottom: 0; font-weight: 650; color: var(--teal); }
.card:hover { box-shadow: var(--shadow-lg); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card h3 a:focus-visible { outline: none; }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-3px); } }

/* ---------- Patterns ---------- */
.patterns { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.pattern { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pattern-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--surface-alt); }
.pattern-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pattern h2, .pattern h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pattern p { color: var(--ink-muted); font-size: .97rem; }
.pattern .price { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin: auto 0 .8rem; }
.pattern .btn { align-self: flex-start; }
.tag {
  align-self: flex-start; display: inline-block; margin-bottom: .6rem;
  padding: .15rem .6rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em; line-height: 1.5;
  background: var(--teal-soft); color: var(--teal-strong);
}

/* ---------- Gallery ---------- */
/* Filter row: shown by gallery.js, so without JavaScript it stays hidden and every section shows. */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 2rem; }
.filters[hidden], .gallery-section[hidden] { display: none; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-buttons button {
  min-height: 44px; padding: .5rem 1.05rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  background: var(--surface); color: var(--ink); border: 2px solid var(--charcoal);
  transition: background-color .15s, color .15s;
}
.filter-buttons button:hover { background: var(--surface-alt); }
.filter-buttons button[aria-pressed="true"] { background: var(--charcoal); color: var(--on-dark); }
.filter-buttons button[aria-pressed="true"]::before { content: "\2713\00a0"; }   /* a tick, so the choice is not shown by colour alone */
.filter-count { margin: 0; color: var(--ink-muted); font-weight: 600; }

.gallery-section + .gallery-section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.gallery-section > h2 { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.gallery-section > h2 .count { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink-muted); }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.tile { display: flex; flex-direction: column; }
.tile > a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-alt); }
.tile img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .25s; }
@media (prefers-reduced-motion: no-preference) { .tile > a:hover img { transform: scale(1.04); } }
.tile figcaption { padding: .5rem .15rem 0; font-size: .93rem; line-height: 1.4; }
.tile figcaption a { font-weight: 600; font-size: .88rem; display: inline-block; padding-block: .25rem; }

/* ---------- Product pages (Chug Hugs, The Perfect Fidget) ---------- */
.product { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product .photo { max-width: 32rem; }
.price-tag { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; margin: 0 0 .8rem; }
.price-tag small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--ink-muted); }
.checks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 2rem; max-width: 62ch; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2319645f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat;
}
@media (prefers-color-scheme: dark) {
  .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237fd0c6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }
}

.panel { padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow); }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { margin-bottom: .5rem; }
.stockist dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .75rem 0 0; }
.stockist dt { font-weight: 700; }
.stockist dd { margin: 0; }

/* Video poster: a still that links to the video on YouTube (no YouTube code on this site). */
.video-link { position: relative; display: block; max-width: 22rem; border-radius: calc(var(--radius) * 1.3); overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; text-decoration: none; }
.video-link img { width: 100%; }
.video-link .play {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.1rem; background: linear-gradient(transparent, rgb(0 0 0 / .78)); font-weight: 700;
}
.video-link .play svg { flex: none; width: 2.6rem; height: 2.6rem; }
.video-link:hover { color: #fff; }
.video-link:hover .play { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { --focus: #fb923c; padding-block: 2.75rem 2rem; background: #303033; color: #ecebe8; font-size: .95rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: #b0e6df; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #c9c7c3; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer ul a { display: inline-block; padding-block: .1rem; }
.footer-brand { font-family: var(--font-hand); font-size: 1.9rem; font-weight: 700; line-height: 1.1; margin-bottom: .4rem; color: #fff; }
.site-footer p { color: #d6d4d0; }
.legal { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid #4a4a4e; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.legal p { margin: 0; max-width: none; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Forms ---------- */
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); overflow: hidden;
}
.form, .contact-side { padding: clamp(1.5rem, 4vw, 3rem); }
.contact-side { background: var(--surface-alt); border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-side { border-left: 0; border-top: 1px solid var(--line); }
}
.panel-head { margin-bottom: 1.75rem; }
.panel-head h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); margin-bottom: .4rem; }
.panel-head p { margin: 0; color: var(--ink-muted); }

.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form .panel-head { margin-bottom: .5rem; }
.form .row { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 650; line-height: 1.3; }
.field label .opt { font-weight: 400; color: var(--ink-muted); }
.field .hint { margin: -.15rem 0 0; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; line-height: 1.5; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--field-border); border-radius: 10px;
  padding: .75rem 1rem; min-height: 3.25rem;
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237d7b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-muted); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--focus);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.form .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 650; min-height: 3.25rem; padding-inline: 1.75rem; margin-top: .25rem; }
@media (max-width: 520px) { .form .btn { align-self: stretch; } }
.hint { font-size: .9rem; line-height: 1.5; color: var(--ink-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.contact-side li a { font-weight: 600; display: inline-block; padding-block: .2rem; }

@media print {
  .site-header, .site-footer, .skip, .form, .filters { display: none; }
  .hero { background: none; color: #000; }
  .hero h1, .hero-frame { color: #000; border-color: #000; text-shadow: none; }
  body { background: #fff; color: #000; }
}

/* The three featured patterns on the home page share the full row. */
.patterns.featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
