/*
  Wool: a drawn character on pale apricot wool. Aubergine ink, one berry
  accent for actions and the selected state, blush the only tint. Bricolage
  Grotesque (weight axis only, one 41 KB file) for display, Switzer for text.
  Contrast table: .superpowers/sdd/2026-11-05-multi-theme-ab/task-4-report.md
*/

@font-face {
  font-family: "Wool Bricolage";
  src: url("/fonts/BricolageGrotesque-wght-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

html[data-ui="wool"] {
  --bg: #f6e4d6;
  --fleece: #fff7ef;
  --blush: #efd2da;
  --bg-dark: #36192f;
  --dark-raised: #4a2741;
  --ink: #36192f;
  --ink-on-dark: #f6e4d6;
  --muted: #6a4760;
  --muted-on-dark: #efd2da;
  --line: rgb(54 25 47 / 0.16);
  --line-on-dark: rgb(246 228 214 / 0.2);
  --accent: #b3124f;
  --accent-strong: #8e0e3f;
  --accent-deep: #7e0a37;
  --accent-on-dark: #ff8fb5;
  --focus: var(--accent);
  
  --consent-bg: var(--bg-dark);
  --consent-ink: var(--ink-on-dark);
  --consent-btn-bg: var(--accent-on-dark);
  --consent-btn-ink: var(--bg-dark);
  --consent-focus: var(--ink-on-dark);
  --consent-radius: var(--r-btn);

  --font-display: "Wool Bricolage", "Switzer", ui-sans-serif, system-ui, sans-serif;
  --radius: 1.75rem;
  --r-btn: 0.875rem;
  --r-chip: 0.625rem;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 1px 0 rgb(54 25 47 / 0.08), 0 10px 24px -18px rgb(54 25 47 / 0.45);
  --stitch: 1.5px dashed rgb(54 25 47 / 0.22);
  
  --llama-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 6 58 150'%3E%3Cg stroke='%2336192F' stroke-width='2.8' stroke-linejoin='round'%3E%3Cpath d='M39 84c-1 24-4 46-8 72h40c-5-26-9-48-10-72z' fill='%23FFF7EF'/%3E%3Cpath d='M35 117c-2-4 1-7 5-6 1-4 7-5 10-2 3-3 9-2 10 2 4 0 6 4 4 7-6 3-23 3-29-1z' fill='%23EFD2DA' stroke='none'/%3E%3C/g%3E%3Cg stroke='%2336192F' stroke-width='2.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M41 37C35 29 32 19 34 11c7 2 11 11 12 23z' fill='%23FFF7EF'/%3E%3Cpath d='M59 37c8-7 14-16 14-25-8 2-16 10-19 22z' fill='%23FFF7EF'/%3E%3Cpath d='M33 49c0-12 7-18 17-18s17 6 17 18v24c0 14-7 22-17 22s-17-8-17-22z' fill='%23FFF7EF'/%3E%3Cpath d='M37 42c-3-4 0-8 4-7 0-4 5-6 8-3 2-4 8-3 9 1 4-1 7 3 5 7-1 3-5 4-8 3-3 2-7 2-10 0-3 2-7 1-8-1z' fill='%23EFD2DA' stroke='none'/%3E%3Cellipse cx='50' cy='81' rx='11' ry='8.5' fill='%23F3DCCE' stroke='none'/%3E%3Cg stroke='none'%3E%3Cellipse cx='42.5' cy='59' rx='3' ry='3.4' fill='%2336192F'/%3E%3C/g%3E%3Cg stroke='none'%3E%3Cellipse cx='57.5' cy='59' rx='3' ry='3.4' fill='%2336192F'/%3E%3C/g%3E%3Cpath d='M38.7 56.4h7.6m3.4 0h7.6' stroke-width='2.4'/%3E%3Cpath d='M47 78.5l.4 1.6m5.6-1.6-.4 1.6' stroke-width='2.2'/%3E%3Cpath d='M47.5 86.5h5' fill='none' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  
  --knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11'%3E%3Cpath d='M1.5 1.5q3 1 5.5 8M12.5 1.5q-3 1-5.5 8' fill='none' stroke='%2336192F' stroke-opacity='.1' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --loop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M30 52C6 46 2 26 22 15S110 0 160 6s42 22 28 34-74 18-122 15S0 36 20 20c10-8 34-13 60-14' fill='none' stroke='%23B3124F' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --swatch: var(--knit) 0 0 / 14px 11px, var(--blush);
  scroll-padding-top: 1rem;
}
html[data-ui="wool"] body { overflow-x: clip; }

html[data-ui="wool"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: var(--grain);
}
html[data-ui="wool"] :is(h1, h2, h3, h4) { font-weight: 700; letter-spacing: -0.025em; }

html[data-ui="wool"] h1 {
  font-size: clamp(2.75rem, 1.9rem + 3.9vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
html[data-ui="wool"] h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; }
html[data-ui="wool"] h3 { font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem); line-height: 1.12; }

html[data-ui="wool"] .lede {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
html[data-ui="wool"] a:hover { color: var(--accent); }
html[data-ui="wool"] :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
html[data-ui="wool"] .section--dark { --focus: var(--accent-on-dark); }
html[data-ui="wool"] ::selection { background: var(--blush); color: var(--ink); }

html[data-ui="wool"] .eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

html[data-ui="wool"] .eyebrow::before {
  content: "";
  display: inline-block;
  margin: 0 0.5rem 0.1em 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
html[data-ui="wool"] .section--dark .eyebrow { color: var(--muted-on-dark); }
html[data-ui="wool"] .section { padding-block: 4rem; }
html[data-ui="wool"] .brief + .section { padding-top: 0; }
html[data-ui="wool"] .section--dark { margin-block: 3rem; }
html[data-ui="wool"] .section + .section:not(.section--dark) { border-top: 0; }
html[data-ui="wool"] .section--dark { margin-inline: 0.5rem; border-radius: var(--radius); }

html[data-ui="wool"] main:has(> .section--dark:last-child) + .site-footer { margin-top: 6rem; }
html[data-ui="wool"] .hero + .section { padding-top: 0.5rem; }

html[data-ui="wool"] :is(h2, h3) + :is(.grid-2, .grid-3, .quotes) { margin-top: 1.5rem; }
html[data-ui="wool"] .eyebrow { text-wrap: pretty; }

html[data-ui="wool"] .section__head > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

@media (min-width: 64rem) {
  html[data-ui="wool"] .section { padding-block: 6rem; }
  html[data-ui="wool"] :is(.converge, .section:has(#work-title)) { padding-block: 8rem; }
  html[data-ui="wool"] .section--dark { margin-block: 4rem; }

  html[data-ui="wool"] .section--dark { margin-inline: 1rem; }
}
html[data-ui="wool"] .site-header { border-bottom: 0; }
html[data-ui="wool"] .nav { row-gap: 0; padding-block: 0.5rem 0.25rem; }

html[data-ui="wool"] .nav-brand {
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

html[data-ui="wool"] .nav-brand::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 2rem;
  background: var(--llama-big) 50% 0 / 100% auto no-repeat;
  transform: rotate(-6deg);
  transition: transform 400ms var(--spring);
}
html[data-ui="wool"] .nav-brand:hover::before { transform: rotate(6deg); }
html[data-ui="wool"] .nav-links { gap: 0 1.25rem; }
html[data-ui="wool"] .nav-links a { font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
html[data-ui="wool"] .nav a[aria-current="page"] { text-decoration-thickness: 3px; }
html[data-ui="wool"] .nav-aside { gap: 0; }

html[data-ui="wool"] .lang-switch {
  margin-right: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--fleece);
  box-shadow: inset 0 0 0 1.5px rgb(54 25 47 / 0.16), 0 2px 0 rgb(54 25 47 / 0.12);
  font-size: 0.8125rem;
  transition: transform 300ms var(--spring);
}
html[data-ui="wool"] :is(.lang-switch:hover, .lang-switch:focus-visible) { background: var(--ink); color: var(--bg); transform: translateY(-1px); }

@media (min-width: 56rem) {
  html[data-ui="wool"] .nav { padding-block: 1rem; }

  html[data-ui="wool"] .nav-links { justify-content: center; gap: 0 2rem; }
}

html[data-ui="wool"] .btn {
  min-height: 3.25rem;
  padding: 0.75em 1.4em;
  border: 0;
  border-radius: var(--r-btn);
  font-size: 1rem;
  transition: transform 350ms var(--spring);
}

html[data-ui="wool"] .btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 0 var(--accent-deep), 0 12px 20px -12px rgb(126 10 55 / 0.7);
}

html[data-ui="wool"] .btn--primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--accent-deep), 0 14px 22px -12px rgb(126 10 55 / 0.7);
}
html[data-ui="wool"] .btn:active { transform: translateY(4px); transition-duration: 60ms; }
html[data-ui="wool"] .btn--primary:active { box-shadow: 0 1px 0 var(--accent-deep), 0 2px 4px -2px rgb(126 10 55 / 0.5); }

html[data-ui="wool"] .btn--ghost {
  background: var(--fleece);
  color: var(--ink);
  box-shadow: 0 4px 0 rgb(54 25 47 / 0.16), inset 0 0 0 1.5px rgb(54 25 47 / 0.16);
}
html[data-ui="wool"] .btn--ghost:hover { background: var(--fleece); color: var(--ink); transform: translateY(-1px); }
html[data-ui="wool"] .btn--ghost:active { box-shadow: 0 1px 0 rgb(54 25 47 / 0.16), inset 0 0 0 1.5px rgb(54 25 47 / 0.16); }

html[data-ui="wool"] :is(.section--dark .btn--primary, .section--dark .btn--primary:hover) { background: var(--accent-on-dark); color: var(--bg-dark); box-shadow: 0 5px 0 #c4507c; }

html[data-ui="wool"] :is(.section--dark .btn--ghost, .section--dark .btn--ghost:hover) {
  background: var(--dark-raised);
  color: var(--ink-on-dark);
  box-shadow: 0 4px 0 rgb(0 0 0 / 0.3), inset 0 0 0 1.5px rgb(246 228 214 / 0.2);
}
html[data-ui="wool"] .actions { gap: 0.75rem 0.875rem; }
html[data-ui="wool"] .hero { position: relative; padding-block: 2rem 4rem; }
html[data-ui="wool"] .hero .lede { max-width: 30ch; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.18; }
html[data-ui="wool"] #hero-title + .lede { max-width: 21ch; line-height: 1.3; margin-top: 1.5rem; font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem); font-weight: 500; }

html[data-ui="wool"] .hero__mark { position: relative; white-space: nowrap; }
html[data-ui="wool"] .hero__mark--circle::after {
  content: "";
  position: absolute;
  inset: -0.2em -0.45em -0.2em -0.5em;
  background: var(--loop) 0 0 / 100% 100% no-repeat;
  pointer-events: none;
  transform-origin: 0 50%;
  animation: wool-wind 700ms var(--spring) 500ms both;
}
@keyframes wool-wind { from { opacity: 0; transform: scaleX(0.2) rotate(-4deg); } }
html[data-ui="wool"] .hero__mark--under {
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, var(--accent) 62%, transparent 0) 0 100% / 0.55em 0.11em repeat-x;
}

html[data-ui="wool"] .hero__sub {
  max-width: 54ch;
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}
html[data-ui="wool"] .hero .actions { margin-top: 1.75rem; }
html[data-ui="wool"] .hero h1 + .eyebrow { margin-top: 1rem; }

html[data-ui="wool"] .hero:has(#hero-title) { padding-top: 1.5rem; overflow-x: clip; }
html[data-ui="wool"] .hero:has(#hero-title) > img { display: none; }

html[data-ui="wool"] .hero:has(#hero-title) #hero-title {
  max-width: none;
  margin-right: 5rem;
  font-size: clamp(4.5rem, 3rem + 6.4vw, 8rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

html[data-ui="wool"] .hero:has(#hero-title)::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: -1.25rem;
  width: 5.75rem;
  height: 9rem;
  background: var(--llama-big) 50% 0 / 100% auto no-repeat;
  transform: rotate(-10deg);
  transform-origin: 50% 100%;
  pointer-events: none;
  animation: wool-peek 900ms var(--spring) 200ms both;
}

@keyframes wool-peek {
  from { transform: translate(2.5rem, 1rem) rotate(4deg); }
}
html[data-ui="wool"] .hero--split { gap: 2.5rem; }

html[data-ui="wool"] .hero--split > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0.5rem var(--fleece), 0 18px 32px -20px rgb(54 25 47 / 0.6);
}

@media (min-width: 56rem) {
  html[data-ui="wool"] .hero { padding-block: 4rem 6rem; }

  html[data-ui="wool"] .hero--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: end; }

  html[data-ui="wool"] .hero:has(#hero-title) { padding-block: 2.5rem 4rem; }

  html[data-ui="wool"] .hero:has(#hero-title) #hero-title { margin-right: 0; }

  
  html[data-ui="wool"] .hero:has(#hero-title)::before,
  html[data-ui="wool"] .hero:has(#hero-title)::after { grid-area: 1 / 2; position: static; align-self: end; }

  html[data-ui="wool"] .hero:has(#hero-title)::before {
    content: "";
    height: 68%;
    border-radius: var(--radius);
    background: var(--swatch);
    transform: rotate(-2deg);
    outline: var(--stitch);
    outline-offset: -0.5rem;
    box-shadow: inset 0 2px 8px rgb(54 25 47 / 0.14);
  }

  html[data-ui="wool"] .hero:has(#hero-title)::after {
    width: 100%;
    height: 100%;
    background-position: 50% 100%;
    background-size: auto 100%;
    transform: none;
  }
}

html[data-ui="wool"] #nf-title::after {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 1.1em;
  margin-left: 0.15em;
  vertical-align: -0.2em;
  background: var(--llama-big) 50% 0 / 100% auto no-repeat;
  transform: scaleX(-1) rotate(-12deg);
}

html[data-ui="wool"] .card {
  --pad: 1.5rem;
  gap: 0.5rem;
  padding: var(--pad);
  border: 0;
  border-radius: var(--radius);
  background: var(--fleece);
  box-shadow: var(--shadow-card);
}
html[data-ui="wool"] li > .card { height: 100%; }
html[data-ui="wool"] a.card { transition: transform 400ms var(--spring); }
html[data-ui="wool"] a.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgb(54 25 47 / 0.08), 0 18px 30px -18px rgb(54 25 47 / 0.5); }
html[data-ui="wool"] a.card:hover .card__title { text-decoration-color: var(--ink); }

html[data-ui="wool"] .card__title {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
html[data-ui="wool"] .card__title a { text-decoration-color: rgb(54 25 47 / 0.3); text-decoration-thickness: 2px; }

html[data-ui="wool"] :is(.card__meta, .card .eyebrow) {
  margin: 0;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
}
html[data-ui="wool"] .card .eyebrow::before { content: none; }

html[data-ui="wool"] :is(.card img, .card__img) {
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0.75rem;
  width: calc(100% + 2 * var(--pad));
  max-width: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
html[data-ui="wool"] .section--dark .card { background: var(--dark-raised); box-shadow: inset 0 1px 0 rgb(246 228 214 / 0.08); }
html[data-ui="wool"] :is(.grid-2, .grid-3) { gap: 0.875rem; }

@media (min-width: 40rem) {
  html[data-ui="wool"] :is(.grid-2, .grid-3) { gap: 1.25rem; }
}
html[data-ui="wool"] .section:has(#ways-title) .grid-3 { counter-reset: way; }
html[data-ui="wool"] .section:has(#ways-title) .card {
  padding: 1.25rem 0 0;
  border-top: var(--stitch);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html[data-ui="wool"] .section:has(#ways-title) .card::before {
  counter-increment: way;
  content: counter(way, decimal-leading-zero);
  content: counter(way, decimal-leading-zero) / "";
  color: var(--accent);
  font: 800 clamp(2.75rem, 2rem + 3vw, 4.5rem)/0.9 var(--font-display);
  letter-spacing: -0.05em;
}

html[data-ui="wool"] .section:has(#notes-title) .card {
  background: none;
  box-shadow: none;
  outline: var(--stitch);
  outline-offset: -1px;
}

@media (min-width: 64rem) {
  html[data-ui="wool"] .section:has(#work-title) .grid-3 { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-flow: dense; }
  html[data-ui="wool"] .section:has(#work-title) li:nth-child(6n+1) { grid-column: 1 / 6; grid-row: span 2; }
  html[data-ui="wool"] .section:has(#work-title) li:nth-child(6n+4) { grid-column: 4 / -1; grid-row: span 2; }
  html[data-ui="wool"] .section:has(#work-title) li:is(:nth-child(6n+2), :nth-child(6n+3)) { grid-column: 6 / -1; }
  html[data-ui="wool"] .section:has(#work-title) li:is(:nth-child(6n+5), :nth-child(6n)) { grid-column: 1 / 4; }
  html[data-ui="wool"] .section:has(#work-title) li:is(:nth-child(6n+1), :nth-child(6n+4)) .card { --pad: 2rem; justify-content: flex-end; }
  html[data-ui="wool"] .section:has(#work-title) li:is(:nth-child(6n+1), :nth-child(6n+4)) .card__title { font-size: 2.5rem; }
  html[data-ui="wool"] .section:has(#work-title) li:is(:nth-child(6n+1), :nth-child(6n+4)) .card__img { flex: 1; }
}

html[data-ui="wool"] .section:has(#cta-title) {
  position: relative;
  margin: 2rem 0.5rem 0;
  padding-block: 4rem 12rem;
  border-radius: var(--radius);
  background: var(--swatch);
  overflow: clip;
}
html[data-ui="wool"] .section:has(#cta-title)::after {
  content: "";
  position: absolute;
  bottom: -2.5rem;
  right: 8%;
  width: 6.5rem;
  height: 13rem;
  background: var(--llama-big) 50% 0 / 100% auto no-repeat;
  transform: rotate(8deg);
  pointer-events: none;
}
@media (min-width: 64rem) {
  html[data-ui="wool"] .section:has(#cta-title) { margin-inline: 1rem; padding-block: 6rem; }
  html[data-ui="wool"] .section:has(#cta-title)::after { right: 12%; width: 10rem; height: 20rem; bottom: -5rem; }
}

html[data-ui="wool"] .converge__stage {
  position: relative;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.75rem 1.125rem 1.25rem;
  border-radius: var(--radius);
  background: var(--swatch);
  box-shadow: inset 0 2px 6px rgb(54 25 47 / 0.14), inset 0 -1px 0 rgb(255 255 255 / 0.5);
}

html[data-ui="wool"] .converge__stage::after {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: var(--stitch);
  border-radius: calc(var(--radius) - 0.5rem);
  pointer-events: none;
}
html[data-ui="wool"] .converge__stage > * { position: relative; z-index: 1; }
html[data-ui="wool"] .scraps { gap: 0.5rem; border-radius: 1rem; }

html[data-ui="wool"] .converge.is-converged .scraps {
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: var(--stitch);
  color: var(--muted);
}
html[data-ui="wool"] .converge.is-converged .scraps::before { content: "\2713"; content: "\2713" / ""; font-weight: 600; }

html[data-ui="wool"] .scrap {
  padding: 0.5625rem 0.75rem;
  border: 0;
  border-radius: var(--r-chip);
  background: var(--fleece);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgb(54 25 47 / 0.12), 0 3px 8px -4px rgb(54 25 47 / 0.3);
  transform: rotate(var(--tilt, 0deg));
}
html[data-ui="wool"] .scraps .scrap:nth-child(3n + 1) { --tilt: -1.6deg; }
html[data-ui="wool"] .scraps .scrap:nth-child(3n + 2) { --tilt: 1.2deg; }
html[data-ui="wool"] .scraps .scrap:nth-child(4n) { --tilt: -0.6deg; }
html[data-ui="wool"] .converge__stage { grid-template-columns: minmax(0, 1fr) auto; }

html[data-ui="wool"] :is(.scraps, .lanes) { grid-column: 1 / -1; }
html[data-ui="wool"] .converge__controls { grid-row: 2; }

html[data-ui="wool"] .converge__llama {
  --llama-size: 2.75rem;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-right: 0.25rem;
}
html[data-ui="wool"] .converge__controls { gap: 0.75rem 1rem; }
html[data-ui="wool"] .converge__run { min-width: 8.5rem; }
html[data-ui="wool"] .converge__status { color: var(--muted); font-size: 0.875rem; }
html[data-ui="wool"] .lanes { gap: 0.625rem; }

html[data-ui="wool"] .lane {
  gap: 0.375rem;
  padding: 0.875rem 1rem 1rem;
  border-top: 0;
  border-radius: 1rem;
  background: rgb(255 247 239 / 0.6);
}
html[data-ui="wool"] .lane__num { color: var(--accent); font-size: 0.8125rem; font-weight: 600; }
html[data-ui="wool"] .lane__name { font-size: 1.125rem; line-height: 1.15; }
html[data-ui="wool"] .lane__name a { text-decoration-color: rgb(54 25 47 / 0.3); text-decoration-thickness: 2px; }
html[data-ui="wool"] .lane__line { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
html[data-ui="wool"] .lane__slot:not(:empty) { margin-top: 0.375rem; }
html[data-ui="wool"] .lane__slot .scrap { --tilt: 0deg; font-size: 0.8125rem; }

@media (min-width: 64rem) {
  html[data-ui="wool"] .converge > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 4rem;
    align-items: start;
  }

  html[data-ui="wool"] .converge__stage { margin-top: 0; padding: 2.25rem 2rem 1.75rem; }

  html[data-ui="wool"] .converge .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html[data-ui="wool"] .brief__intro { align-items: flex-start; }

@media (min-width: 40rem) {
  html[data-ui="wool"] .brief__intro { justify-content: flex-start; gap: 1.25rem; }
}
html[data-ui="wool"] .brief__llama { --llama-size: 3.25rem; flex: none; margin-top: -0.25rem; }
html[data-ui="wool"] .brief__answers { gap: 0.5rem; }

html[data-ui="wool"] .brief__answer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.875rem 1rem;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--fleece);
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 0 3px 0 rgb(54 25 47 / 0.14), inset 0 0 0 1.5px rgb(54 25 47 / 0.1);
  transition: transform 350ms var(--spring);
}

html[data-ui="wool"] .brief__answer::before {
  content: "";
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--muted);
}
html[data-ui="wool"] .brief__answer:active { transform: translateY(2px); transition-duration: 60ms; }

html[data-ui="wool"] .brief__answer[aria-pressed="true"] {
  background: var(--blush);
  box-shadow: 0 1px 0 rgb(54 25 47 / 0.14), inset 0 0 0 2px var(--accent);
  transform: translateY(2px);
}
html[data-ui="wool"] .brief__answer[aria-pressed="true"]::before { box-shadow: inset 0 0 0 0.375rem var(--accent); }
html[data-ui="wool"] .brief__results { margin-top: 1rem; }

html[data-ui="wool"] .brief__result {
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  animation: wool-pop 450ms var(--spring);
}

html[data-ui="wool"] .brief__result[data-answer="default"] {
  background: none;
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px rgb(54 25 47 / 0.28);
  animation: none;
}

@keyframes wool-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
}
html[data-ui="wool"] .brief__move { color: var(--muted-on-dark); font-size: 0.875rem; font-weight: 500; }
html[data-ui="wool"] .brief__title { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
html[data-ui="wool"] .brief__figure { max-width: 40ch; color: var(--ink-on-dark); }

html[data-ui="wool"] :is(.brief__result .brief__read, .brief__result .brief__read:hover) {
  margin-top: 0.75rem;
  background: var(--accent-on-dark);
  color: var(--bg-dark);
  box-shadow: 0 5px 0 #c4507c;
}
html[data-ui="wool"] .brief__result :focus-visible { outline-color: var(--accent-on-dark); }
html[data-ui="wool"] .brief__fallback ul { display: grid; gap: 0.25rem; margin-top: 0.75rem; }

html[data-ui="wool"] .brief__fallback a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--muted);
}

@media (min-width: 64rem) {
  html[data-ui="wool"] .brief > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 4rem;
    align-items: start;
  }

  html[data-ui="wool"] .brief__intro { grid-column: 1 / -1; }

  html[data-ui="wool"] .brief__answers { grid-template-columns: minmax(0, 1fr); }

  html[data-ui="wool"] .brief__results { margin-top: 1.5rem; }

  html[data-ui="wool"] .brief__result { padding: 2rem; }
}
html[data-ui="wool"] .quotes { gap: 1rem; }

html[data-ui="wool"] .quote {
  max-width: none;
  padding: 1.75rem 1.5rem 1.5rem;
  border-left: 0;
  border-radius: var(--radius);
  background: var(--dark-raised);
}

html[data-ui="wool"] .quote::before {
  content: "\201C";
  content: "\201C" / "";
  display: block;
  height: 2.25rem;
  color: var(--accent-on-dark);
  font: 800 4rem/1 var(--font-display);
}

html[data-ui="wool"] .quote p {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.015em;
}
html[data-ui="wool"] .quote__by { color: var(--muted-on-dark); }
html[data-ui="wool"] .method__body { margin-top: 2rem; gap: 1rem; }

html[data-ui="wool"] .method__body > .prose {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--fleece);
  box-shadow: var(--shadow-card);
}
html[data-ui="wool"] .method__body h3 { font-size: 1.25rem; }
html[data-ui="wool"] :is(ul.practice, ul.deliverables) { list-style: none; padding-left: 0; }

html[data-ui="wool"] :is(ul.practice li, ul.deliverables li) { position: relative; padding-left: 1.25rem; }

html[data-ui="wool"] ul.practice li::before,
html[data-ui="wool"] ul.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
html[data-ui="wool"] .bench__figure { color: var(--accent); font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
html[data-ui="wool"] .benchmarks > .prose > h3:first-child { margin-top: 0; }

@media (min-width: 64rem) {
  html[data-ui="wool"] .benchmarks > .prose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 3rem;
    padding: 2.25rem 2.5rem;
  }

  html[data-ui="wool"] .benchmarks > .prose > * { margin-top: 0; }
}

html[data-ui="wool"] .benchmarks > .prose {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--blush);
  box-shadow: inset 0 2px 6px rgb(54 25 47 / 0.1);
  max-width: none;
}
html[data-ui="wool"] .case__section { padding-block: 1.75rem; border-top: var(--stitch); }

html[data-ui="wool"] .case__label {
  align-self: start;
  justify-self: start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}
html[data-ui="wool"] article.section { padding-top: 0; }
html[data-ui="wool"] article .hero { padding-bottom: 2.5rem; }
html[data-ui="wool"] article .hero .eyebrow { margin-bottom: 1rem; font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem); }
html[data-ui="wool"] .prose a { text-decoration-color: var(--muted); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

html[data-ui="wool"] :is(.prose img, .gallery img) { border-radius: 1.25rem; }
html[data-ui="wool"] .gallery { gap: 0.875rem; padding-block: 2.5rem; }
html[data-ui="wool"] :is(.timeline, ol.timeline) { border-left: var(--stitch); padding-left: 1.75rem; }

html[data-ui="wool"] .timeline__item::before {
  top: 0.4em;
  left: calc(-1.75rem - 8px);
  width: 0.875rem;
  height: 0.875rem;
  background: var(--blush);
  box-shadow: inset 0 0 0 2px var(--ink);
}
html[data-ui="wool"] .timeline__item:first-child::before { background: var(--ink); box-shadow: none; }
html[data-ui="wool"] .prose li::marker { color: var(--muted); }

html[data-ui="wool"] :is(.field input, .field textarea) {
  min-height: 3.25rem;
  border: 1.5px solid var(--muted);
  border-radius: var(--r-btn);
  background: var(--fleece);
}
html[data-ui="wool"] :is(.field input:focus-visible, .field textarea:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--ink); }

html[data-ui="wool"] .not-found__fr { border-top: var(--stitch); }

html[data-ui="wool"] .site-footer {
  margin-top: 4rem;
  margin-inline: 0.5rem;
  padding-block: 3rem 2rem;
  padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  border-radius: var(--radius) var(--radius) 0 0;
}
html[data-ui="wool"] .footer-tagline { font-weight: 700; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); line-height: 1.1; }
html[data-ui="wool"] .footer-links { gap: 0 1.5rem; border-top: 1.5px dashed var(--line-on-dark); }
html[data-ui="wool"] .footer-links a { font-weight: 500; }
html[data-ui="wool"] .footer-links a:hover { color: var(--accent-on-dark); }
html[data-ui="wool"] .footer-mark { --llama-size: 2.25rem; }
html[data-ui="wool"] .ui-shuffle { color: var(--muted-on-dark); font-weight: 500; text-decoration-color: var(--accent-on-dark); }
html[data-ui="wool"] .ui-shuffle:hover { color: var(--accent-on-dark); }
html[data-ui="wool"] .footer-copy { color: var(--muted-on-dark); }

@media (min-width: 64rem) {
  html[data-ui="wool"] .site-footer { margin-inline: 1rem; }
}
html[data-ui="wool"] .llama--wool svg { overflow: visible; }
html[data-ui="wool"] .llama--wool .wl-head { stroke: var(--ink); }
html[data-ui="wool"] .llama--wool .wl-face { fill: var(--fleece); }
html[data-ui="wool"] .llama--wool .wl-tuft { fill: var(--blush); }
html[data-ui="wool"] .llama--wool .wl-ink { fill: var(--ink); }
html[data-ui="wool"] :is(.llama--wool .wl-head, .llama--wool .wl-ear, .llama--wool .wl-eye, .llama--wool .wl-jaw) { transform-box: fill-box; }
html[data-ui="wool"] .llama--wool .wl-head { transform-origin: 50% 100%; transition: transform 500ms var(--spring); }
html[data-ui="wool"] .llama--wool .wl-ear-r { transform-origin: 20% 95%; }
html[data-ui="wool"] .llama--wool .wl-eye { transform-origin: 50% 50%; }
html[data-ui="wool"] .llama--wool .wl-jaw { transform-origin: 50% 0; }
html[data-ui="wool"] .llama--wool .wl-eye { animation: wool-blink 2.4s ease-in-out 2; }

@keyframes wool-blink {
  93% { transform: none; }
  97% { transform: none; }
  95% { transform: scaleY(0.08); }
}
html[data-ui="wool"] .llama--wool.is-listening .wl-head { transform: rotate(-9deg); }
html[data-ui="wool"] .llama--wool.is-listening .wl-ear-r { animation: wool-twitch 500ms var(--spring); }

@keyframes wool-twitch {
  40% { transform: rotate(14deg); }
}
html[data-ui="wool"] .llama--wool.is-converged .wl-jaw { animation: wool-chew 220ms ease-in-out 5; }
html[data-ui="wool"] .llama--wool.is-converged .wl-head { animation: wool-nod 440ms ease-in-out 2; }

@keyframes wool-chew {
  50% { transform: translateY(3px) scaleX(0.86); }
}

@keyframes wool-nod {
  50% { transform: translateY(1.5px); }
}

@media (min-width: 40rem) {
  html[data-ui="wool"] :is(.card, .method__body > .prose) { padding: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-ui="wool"] *,
  html[data-ui="wool"] *::before,
  html[data-ui="wool"] *::after { animation: none !important; transition: none !important; }
}

@media (prefers-contrast: more) {
  html[data-ui="wool"] {
    --muted: var(--ink);
  }
}
