/* ==========================================================================
   Crochet Pattern Lane · Crochet Patterns — site.css
   One stylesheet for the whole site. Mobile-first, designed at 390px.
   Sections: 1 tokens · 2 base · 3 layout · 4 brand bar · 5 buttons
             6 home · 7 browse · 8 pattern page · 9 gate + locker
             10 cards/grid · 11 faq · 12 sticky bar · 13 footer · 14 utils
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* warm neutral ground */
  --bg:            #fbf7f1;
  --bg-sunk:       #f4ede3;
  --surface:       #ffffff;
  --surface-2:     #fdfaf6;

  /* ink */
  --ink:           #2a2521;
  --ink-2:         #4d453e;
  --muted:         #74695e;
  --faint:         #9a8e81;

  /* lines */
  --line:          #e7ddcf;
  --line-strong:   #d8cab6;

  /* accents */
  --clay:          #557b89;
  --clay-ink:      #3f6270;
  --clay-soft:     #dbecef;
  --sage:          #9a7a47;
  --sage-soft:     #f2eadb;

  /* placeholder blocks (empty image URLs) */
  --ph-oat:        #eadfcd;
  --ph-sand:       #e5d6c2;
  --ph-clay:       #eed9cf;
  --ph-sage:       #dfe6d8;
  --ph-cream:      #f2e9da;

  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* geometry */
  --r:      14px;
  --r-sm:   9px;
  --r-pill: 999px;
  --pad:    20px;
  --col:    560px;   /* pattern page max column */
  --col-wide: 1080px;

  --ring: 0 0 0 3px rgba(85, 123, 137, .22);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #14120f;
    --bg-sunk:     #100e0c;
    --surface:     #1c1916;
    --surface-2:   #211d19;

    --ink:         #f2ebe1;
    --ink-2:       #ddd3c6;
    --muted:       #a99d8e;
    --faint:       #86796a;

    --line:        #2e2922;
    --line-strong: #3d362d;

    --clay:        #78a9ba;
    --clay-ink:    #a2cad6;
    --clay-soft:   #20343b;
    --sage:        #c6ab79;
    --sage-soft:   #28343a;

    --ph-oat:      #2b2620;
    --ph-sand:     #302921;
    --ph-clay:     #33261f;
    --ph-sage:     #242b22;
    --ph-cream:    #2c261e;

    --ring: 0 0 0 3px rgba(209, 134, 107, .3);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:          #14120f;
  --bg-sunk:     #100e0c;
  --surface:     #1c1916;
  --surface-2:   #211d19;

  --ink:         #f2ebe1;
  --ink-2:       #ddd3c6;
  --muted:       #a99d8e;
  --faint:       #86796a;

  --line:        #2e2922;
  --line-strong: #3d362d;

  --clay:        #78a9ba;
  --clay-ink:    #a2cad6;
  --clay-soft:   #20343b;
  --sage:        #c6ab79;
  --sage-soft:   #28343a;

  --ph-oat:      #2b2620;
  --ph-sand:     #302921;
  --ph-clay:     #33261f;
  --ph-sage:     #242b22;
  --ph-cream:    #2c261e;

  --ring: 0 0 0 3px rgba(209, 134, 107, .3);
  color-scheme: dark;
}

/* ---------- 2. Base ------------------------------------------------------ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(1.85rem, 6.4vw, 2.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.35rem, 4.6vw, 1.7rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--clay-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clay); }

img { max-width: 100%; display: block; }

hr {
  border: 0; height: 1px; background: var(--line);
  margin: 34px 0;
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection { background: var(--clay-soft); color: var(--ink); }

/* ---------- 3. Layout ---------------------------------------------------- */

.wrap  { width: 100%; max-width: var(--col);      margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide { width: 100%; max-width: var(--col-wide); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: 34px; }
.section--sunk { background: var(--bg-sunk); border-block: 1px solid var(--line); }

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
  margin: 0 0 10px;
}

.lede { font-size: 1.06rem; color: var(--ink-2); }

/* ---------- 4. Brand bar ------------------------------------------------- */

.brandbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg); /* iOS < 16.2 has no color-mix */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  position: sticky; top: 0; z-index: 40;
}
.brandbar__in {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
}
.brandbar a.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--ink);
}
.mark {
  width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: var(--clay-soft);
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
}
.mark svg { width: 17px; height: 17px; display: block; }
.mark svg path, .mark svg circle { stroke: var(--clay-ink); }
.brand__name {
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.01em;
}
.brand__name span { color: var(--muted); font-weight: 400; }
.brandbar__spacer { flex: 1 1 auto; }
.brandbar__link {
  font-size: .86rem; color: var(--muted); text-decoration: none;
  padding: 6px 2px;
}
.brandbar__link:hover { color: var(--ink); }

/* ---------- 5. Buttons --------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: 1rem; font-weight: 700;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: var(--r);
  border: 1px solid transparent;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-ink); color: #fff; transform: translateY(-1px); }
.btn--primary:active { transform: none; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- 6. Home ------------------------------------------------------ */

.hometop { padding-block: 40px 30px; }
.hometop h1 { max-width: 12ch; }
.hometop .lede { max-width: 46ch; }
.hometop__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill {
  font-size: .82rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 13px; background: var(--surface);
  text-decoration: none;
}
.pill:hover { color: var(--ink); border-color: var(--line-strong); }

.about {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 22px;
}
.about h2 { font-size: 1.25rem; }
.about p { color: var(--ink-2); }
.about p:last-of-type { margin-bottom: 0; }

/* ---------- 7. Browse / filters ------------------------------------------ */

.filters {
  display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 14px;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 500;
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter:hover { color: var(--ink); border-color: var(--line-strong); }
.filter[aria-pressed="true"] {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.filter-count { color: var(--faint); font-size: .84rem; margin: 2px 0 20px; }

/* ---------- 8. Pattern page ---------------------------------------------- */

.hero { margin-top: 0; }
.hero__frame {
  aspect-ratio: 3 / 4;
  border-radius: 0 0 var(--r) var(--r);
  overflow: hidden;
  background: var(--ph-oat);
  border: 1px solid var(--line); border-top: 0;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.ptitle { padding-top: 26px; }
.ptitle .eyebrow a { color: inherit; text-decoration: none; }
.ptitle .eyebrow a:hover { color: var(--clay-ink); }
.ptitle h1 { margin-bottom: 12px; }
.ptitle .lede { color: var(--ink-2); margin-bottom: 0; }
.byline {
  font-size: .82rem; color: var(--faint); margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
}

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
@media (min-width: 560px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); padding: 11px 12px;
}
.fact dt {
  font-size: .67rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: 3px;
}
.fact dd { margin: 0; font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

.inside { margin-top: 32px; }
.inside ul { list-style: none; margin: 0; padding: 0; }
.inside li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  color: var(--ink-2); font-size: .97rem;
}
.inside li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--sage);
}

/* --- the pattern block itself --- */

.paper {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 20px 18px;
  margin-top: 14px;
}
.paper + .paper { margin-top: 12px; }
.paper h3 {
  font-family: var(--body); font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
  margin: 0 0 12px;
}

.mats { list-style: none; margin: 0; padding: 0; }
.mats li {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem; color: var(--ink-2);
}
.mats li:last-child { border-bottom: 0; padding-bottom: 0; }
.mats li::before { content: "—"; color: var(--faint); flex: none; }

.abbr { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.abbr dt {
  font-family: var(--mono); font-size: .84rem; font-weight: 600;
  color: var(--clay-ink); white-space: nowrap;
}
.abbr dd { margin: 0; font-size: .89rem; color: var(--muted); }

.gauge {
  font-size: .89rem; color: var(--muted);
  background: var(--sage-soft); border-radius: var(--r-sm);
  padding: 10px 12px; margin-top: 14px;
}
.gauge b { color: var(--ink); font-weight: 700; }

.rows { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.rows > li {
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: .95rem; line-height: 1.6; color: var(--ink-2);
}
.rows > li:last-child { border-bottom: 0; padding-bottom: 0; }
.rows .rn {
  font-family: var(--mono); font-size: .8rem; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
  display: inline-block; margin-right: 7px;
}
.rows .ct {
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
  color: var(--sage); white-space: nowrap;
}
:root[data-theme="dark"] .rows .ct { color: var(--sage); }
.rows .note { display: block; color: var(--faint); font-size: .86rem; margin-top: 4px; }

.pnote {
  font-size: .88rem; color: var(--muted); font-style: italic;
  margin-top: 14px;
}

.freeflag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage); background: var(--sage-soft);
  border-radius: var(--r-pill); padding: 5px 12px; margin-bottom: 12px;
}
.freeflag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* ---------- 9. Gate + locker --------------------------------------------- */

.gate { margin-top: 30px; }

.gate__teaser {
  position: relative;
  max-height: 260px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 96%);
}
.gate__teaser[hidden] { display: none; }

.locker {
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface-2);
  padding: 26px 20px 24px;
  margin-top: -18px; position: relative; z-index: 1;
  text-align: center;
}
.locker h2 { font-size: 1.35rem; margin-bottom: 8px; }
.locker p { color: var(--muted); font-size: .95rem; max-width: 40ch; margin-inline: auto; }
.locker__slot { margin-top: 20px; }

.locker__stub {
  border: 1px dashed var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg-sunk); color: var(--faint);
  padding: 30px 16px; font-size: .9rem;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--clay);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.locker__fine { font-size: .78rem; color: var(--faint); margin-top: 16px; }

/* --- the unlock popup -------------------------------------------------------
   Every "Get the full pattern" button opens this. Built in JS and appended to
   body, so the pattern pages carry no markup for it. */
.dvm {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(42, 37, 33, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: dvm-fade .18s ease-out;
}
.dvm[hidden] { display: none; }
@keyframes dvm-fade { from { opacity: 0; } }
body.dvm-open { overflow: hidden; }

.dvm__card {
  position: relative;
  width: 100%; max-width: 420px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: 0 24px 56px rgba(42, 37, 33, .28);
  animation: dvm-rise .2s ease-out;
}
@keyframes dvm-rise { from { transform: translateY(8px); opacity: 0; } }

.dvm__x {
  position: absolute; top: 8px; right: 10px; z-index: 1;
  width: 32px; height: 32px; line-height: 1;
  font-size: 1.5rem; color: var(--muted);
  background: transparent; border: 0; border-radius: 50%;
  cursor: pointer;
}
.dvm__x:hover { background: var(--bg-sunk); color: var(--ink); }

.dvm__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 48px 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--r) var(--r) 0 0;
}
.dvm__thumb {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--ph-oat) center/cover no-repeat;
  border: 1px solid var(--line);
}
.dvm__headtext { display: flex; flex-direction: column; min-width: 0; }
.dvm__eyebrow {
  font-size: .68rem; letter-spacing: .6px; text-transform: uppercase;
  color: var(--clay-ink); font-weight: 700;
}
.dvm__title { font-size: .98rem; line-height: 1.25; }

.dvm__body { padding: 18px 16px 16px; text-align: center; }
.dvm__line {
  font-size: .9rem; color: var(--muted); line-height: 1.45;
  margin: 0 auto 16px; max-width: 42ch;
}
.dvm__slot { margin: 0; }
.dvm__fine { font-size: .76rem; color: var(--faint); margin-top: 14px; }

/* the offer list sits in a narrower column here than it does in the page */
.dvm .offers { gap: 8px; }
.dvm .steps { margin-bottom: 14px; }

@media (max-width: 380px) {
  .dvm { padding: 10px; }
  .dvm__head { padding: 14px 44px 12px 12px; }
  .dvm__body { padding: 16px 12px 14px; }
}

/* --- the "I'm not a robot" step, shown before the offer list ---------------
   Deliberately styled as the familiar grey widget rather than in the site
   palette: the whole point is that it reads as the standard check, not as
   decoration. The frame around it stays in the site's own tokens. */
.rc-widget {
  width: 300px; max-width: 100%; height: 74px;
  margin: 0 auto 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3; border-radius: 3px;
  box-shadow: 0 0 4px rgba(0,0,0,.08);
  cursor: pointer;
  font-family: Roboto, Arial, -apple-system, sans-serif;
  transition: background-color .2s;
}
.rc-widget:hover { background: #f1f1f1; }
.rc-widget:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.rc-widget.is-done { cursor: default; }

.rc-box {
  width: 28px; height: 28px; flex: 0 0 28px;
  background: #fff; border: 2px solid #c1c1c1; border-radius: 2px;
  position: relative; transition: border-color .2s;
}
.rc-widget:hover .rc-box { border-color: #999; }

.rc-box.is-loading { border-color: transparent; background: transparent; }
.rc-box.is-loading::after {
  content: ""; position: absolute; inset: -1px;
  border: 3px solid #f1f1f1; border-top-color: #4a90e2;
  border-radius: 50%; animation: spin .9s linear infinite;
}
.rc-box.is-checked { border-color: transparent; background: transparent; }
.rc-box.is-checked::after {
  content: ""; position: absolute; left: 7px; top: 1px;
  width: 9px; height: 17px;
  border: solid #1aa260; border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.rc-label { flex: 1 1 auto; text-align: left; font-size: .88rem; color: #222; }

.rc-brand {
  flex: 0 0 auto; width: 64px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.rc-brand svg { width: 26px; height: 26px; display: block; }
.rc-brand b { font-size: .6rem; color: #9b9b9b; font-weight: 500; letter-spacing: .4px; }
.rc-brand span { font-size: .52rem; color: #9b9b9b; }

.rc-note {
  font-size: .78rem; color: var(--faint);
  margin: 0 auto; max-width: 34ch;
}

@media (max-width: 360px) {
  .rc-widget { height: 68px; gap: 8px; }
  .rc-label { font-size: .82rem; }
  .rc-brand { width: 52px; }
}

/* --- Challenge popup (blue/white reCAPTCHA style) --- */
.rc-challenge {
  display: none;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  width: 100%; overflow: hidden;
  font-family: Roboto, Arial, sans-serif;
  box-sizing: border-box;
  border-radius: 3px;
}
.rc-challenge.is-visible {
  display: block;
  animation: rc-fade-in .2s ease-out;
}
@keyframes rc-fade-in {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.rc-ch-header {
  background: #4a90e2; padding: 16px;
  color: #fff; font-size: 15px; line-height: 1.4;
}
.rc-ch-subheader {
  background: #fff; color: #000; text-align: center;
  padding: 12px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid #e0e0e0;
}
.rc-ch-status {
  background: #fff8e1; color: #5f4b00; text-align: center;
  padding: 9px 12px; font-size: 13px; line-height: 1.35;
  border-bottom: 1px solid #e0e0e0;
}
.rc-ch-status:empty { display: none; }
.rc-buy {
  display: block; padding: 8px 12px; text-align: center;
  background: #f6faf4; color: #2f5d2a; font-size: 13.5px; line-height: 1.35;
  border-bottom: 1px solid #e0e0e0; text-decoration: none;
}
.rc-buy b { text-decoration: underline; }
.rc-ch-body { background: #fff; min-height: 80px; }

/* Offer stage inside the popup: everything has to fit one phone screen, so
   the intro line and fine print go, and the header, rows and footer tighten.
   dvh so the in-app browser's toolbars do not hide the Verify button. */
.dvm__card { max-height: calc(100dvh - 32px); }
.dvm__card.is-offers .dvm__line,
.dvm__card.is-offers .dvm__fine { display: none; }
.dvm__card.is-offers .dvm__head { padding: 10px 44px 10px 12px; }
.dvm__card.is-offers .dvm__thumb { flex-basis: 36px; width: 36px; height: 36px; }
.dvm__card.is-offers .dvm__body { padding: 10px; }
.dvm__card.is-offers .rc-ch-header { padding: 11px 14px; font-size: 14.5px; }
.dvm__card.is-offers .rc-offer-item { padding: 8px 14px; }
.dvm__card.is-offers .rc-offer-sub {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 2px;
}
/* Verify stays pinned to the bottom of the popup when the list is longer
   than the screen (4 offers plus a status message on a short phone). */
.dvm__card.is-offers .rc-challenge { overflow: visible; }
.dvm__card.is-offers .rc-ch-footer {
  padding: 8px 14px; position: sticky; bottom: 0;
  border-top: 1px solid #e0e0e0;
}

.rc-offer-list { display: flex; flex-direction: column; }
.rc-offer-item {
  display: flex; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid #e0e0e0;
  text-decoration: none; color: inherit; transition: background .15s;
}
.rc-offer-item:hover { background: #f9f9f9; }
.rc-offer-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 14px; flex-shrink: 0; overflow: hidden;
  background: transparent;
}
.rc-offer-icon img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
}
.rc-offer-content { flex: 1; }
.rc-offer-title { font-size: 14px; color: #222; margin-bottom: 2px; }
.rc-offer-sub { font-size: 12px; color: #888; margin-bottom: 4px; }
.rc-offer-stars { color: #fbbc05; font-size: 13px; letter-spacing: 2px; }

.rc-ch-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff;
}
.rc-ch-footer-left { display: flex; gap: 12px; color: #666; font-size: 18px; }
.rc-ch-footer-left i { cursor: pointer; transition: color .15s; }
.rc-ch-footer-left i:hover { color: #333; }
.rc-ch-verify-btn {
  background: #4a90e2; color: #fff; border: none;
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  border-radius: 2px; cursor: pointer; text-transform: uppercase;
}
.rc-ch-verify-btn:hover { background: #357ebd; }

.captcha-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; color: #666; flex-direction: column; gap: 10px;
}
.captcha-loading-spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid #e0e0e0; border-top-color: #4a90e2;
  animation: spin .9s linear infinite;
}

/* --- offer list (OGAds, rendered by mountLocker) --- */
.steps {
  counter-reset: step; list-style: none;
  margin: 0 0 16px; padding: 0; text-align: left;
}
.steps li {
  counter-increment: step; position: relative;
  padding-left: 30px; margin-bottom: 7px;
  font-size: .9rem; color: var(--ink-2);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--clay); color: #fff;
  font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}

.offers {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px; text-align: left;
}
/* grid and flex children default to min-width:auto, which stops the long
   offer names from ever shrinking — they blow out of the locker instead. */
.offers > li { min-width: 0; }
.offer {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: inherit; text-decoration: none;
  min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.offer:hover { border-color: var(--clay); transform: translateY(-1px); }
.offer.is-used { opacity: .6; }

.offer__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: 10px; overflow: hidden;
  background: var(--bg-sunk); border: 1px solid var(--line);
}
.offer__icon img { width: 100%; height: 100%; object-fit: cover; }

.offer__body { flex: 1 1 auto; min-width: 0; }
.offer__name {
  display: block; font-weight: 700; font-size: .94rem; line-height: 1.25;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.offer__copy {
  display: block; font-size: .82rem; line-height: 1.35;
  color: var(--muted); margin-top: 2px;
}
/* The chevron here converted at 0% — 13 gate views, not one tap (Sep 30).
   It is now an explicit button-shaped label so the row reads as tappable. */
.offer__go {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; border-radius: 999px;
  background: var(--clay); color: #fff;
  font-size: .85rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
}
.offer:hover .offer__go { background: var(--clay-ink); }

/* Big CTA injected directly under the title by site.js, so the way in is in
   the first screen on a phone rather than below the whole preview. The same
   block is reused in the gate and at the end of the free preview. */
.cta-top {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 20px 0 6px; text-align: center;
}
@media (max-width: 640px) { .cta-top { margin-top: 14px; } }
.btn--xl {
  font-size: 1.14rem; font-weight: 700;
  padding: 17px 30px; border-radius: 999px;
  width: 100%; max-width: 30rem; justify-content: center;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
}
/* Two lines on one button: the promise, then the cost of taking it. */
.btn--stack {
  flex-direction: column; gap: 4px; line-height: 1.15;
}
.btn__main { font-size: 1.08em; letter-spacing: -.005em; }
.btn__sub {
  font-size: .76em; font-weight: 500; opacity: .92; letter-spacing: .01em;
}

.cta-proof {
  margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink-2);
  max-width: 34ch; text-wrap: balance;
}
/* Inline rather than a flex child, so a line that wraps keeps the dot tucked
   against the first word instead of stranded in the margin. */
.cta-proof__dot {
  display: inline-block; vertical-align: middle;
  width: 7px; height: 7px; border-radius: 50%; margin: -2px 9px 0 3px;
  background: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft);
}
.cta-top__fine { font-size: .82rem; color: var(--muted); margin: 0; }

/* Inside the two card-shaped CTAs the column is ~40px narrower, which is
   enough to break the button label over two lines. Give it the room back. */
.prevstop .btn--xl,
.cta-top--gate .btn--xl { padding-inline: 16px; }
.prevstop .btn__main,
.cta-top--gate .btn__main { font-size: 1em; }

.cta-top--gate { margin: 0; gap: 10px; }
.cta-top--gate .cta-top__fine { max-width: 34ch; }

/* Nov 25 pattern experiments. Controls retain the regular layout. */
[data-dv-experiment="read"][data-dv-variant="variant"] #pTitle + .cta-top,
[data-dv-experiment="read"][data-dv-variant="variant"] #pFacts,
[data-dv-experiment="read"][data-dv-variant="variant"] .inside,
[data-dv-experiment="read"][data-dv-variant="variant"] .toc {
  display: none;
}
.experiment-print { margin: 22px 0 0; }
.experiment-choices { align-items: stretch; gap: 6px; max-width: 30rem; margin: 12px 0; }
.experiment-choices .btn,
.experiment-choices .cta-buy,
.experiment-bundle .btn {
  min-height: 44px;
  padding: 8px 12px;
  font-size: .95rem;
  line-height: 1.22;
  text-align: center;
}
.experiment-choices .btn,
.experiment-bundle .btn { justify-content: center; }
.experiment-preview {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-weight: 700;
}
.experiment-preview:hover { border-color: var(--clay); }
.experiment-choices .cta-buy { width: 100%; font-weight: 700; }
.experiment-choices .cta-proof,
.experiment-choices .cta-top__fine { max-width: none; text-align: left; }
.experiment-bundle { margin: 12px 0; }
.experiment-bundle small { display: block; margin-top: 5px; color: var(--muted); }
[data-dv-experiment="three"][data-dv-variant="variant"] #h-preview { scroll-margin-top: 4.5rem; }

[data-dv-variant="variant"] .hero__frame,
[data-dv-variant="variant"] .hero__frame.has-img img { max-height: 46vh; max-height: 46svh; }

@media (max-width: 640px) {
  [data-dv-variant="variant"] .hero__frame,
  [data-dv-variant="variant"] .hero__frame.has-img img { max-height: 28svh; }
  [data-dv-variant="variant"] #pTitle { padding-top: 12px; }
  [data-dv-variant="variant"] #pTitle h1 { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  [data-dv-variant="variant"] #pTitle .eyebrow { margin-bottom: 5px; }
}

/* The hard stop at the end of the free preview. */
.prevstop {
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface-2);
  padding: 22px 18px 20px; margin-top: 16px; text-align: center;
}
.prevstop__flag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clay-ink); background: var(--clay-soft);
  border-radius: var(--r-pill); padding: 5px 12px; margin: 0 0 12px;
}
.prevstop__head { font-size: 1.2rem; margin: 0 0 8px; }
.prevstop__body {
  color: var(--ink-2); font-size: .95rem; max-width: 46ch;
  margin: 0 auto 18px;
}
.prevstop__cta { margin: 0; }
body.is-unlocked .prevstop { display: none; }

.offers__note {
  font-size: .82rem; color: var(--muted);
  margin: 14px 0 0; text-align: center;
}
.offers__note.is-waiting { color: var(--clay-ink); font-weight: 600; }

.pdfrow { margin: 0 0 22px; }

/* revealed state */
#gatedFull[hidden] { display: none; }
body.is-unlocked .gate__teaser {
  max-height: none;
  -webkit-mask-image: none; mask-image: none;
}
body.is-unlocked .locker { display: none; }
body.is-unlocked .stickybar { display: none; }
/* Nothing left to unlock — every way in goes away, including the top CTA. */
body.is-unlocked .cta-top { display: none; }

/* Ad slot — only rendered inside the unlocked pattern. The box reserves the
   full 300x250 up front so the pattern does not jump when the iframe lands. */
.adslot {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 26px auto; padding: 14px 0;
  min-height: 288px;
  max-width: 100%; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.adslot__label {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}
.adslot iframe { display: block; border: 0; max-width: 100%; }
/* The native banner sizes itself to its cards, so no height is reserved for
   it — reserving the wrong one would leave a permanent gap. */
.adslot--native { min-height: 0; }
.adslot--native > div { width: 100%; }

.unlocked-flag {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--sage); border-radius: var(--r);
  background: var(--sage-soft); color: var(--ink);
  padding: 13px 16px; font-size: .92rem; font-weight: 600;
  margin: 18px 0;
}

/* ---------- 10. Cards / grids -------------------------------------------- */

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 900px) { .grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: block; text-decoration: none; color: inherit; }
.card__frame {
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  background: var(--ph-oat); border: 1px solid var(--line);
  position: relative;
}
.card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__frame img { transform: scale(1.03); }
.card__cat {
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin: 10px 0 3px;
}
.card__title {
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  line-height: 1.25; margin: 0 0 4px; color: var(--ink);
}
.card:hover .card__title { color: var(--clay-ink); }
.card__meta { font-size: .8rem; color: var(--muted); }
.card__blurb { font-size: .85rem; color: var(--muted); margin-top: 5px; }

.card--soon { cursor: default; }
.card--soon .card__frame { opacity: .72; }
.card--soon:hover .card__title { color: var(--ink); }
.badge-soon {
  position: absolute; left: 8px; top: 8px;
  font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 9px;
}

/* placeholder tones for empty image URLs */
.ph { width: 100%; height: 100%; }
.ph--oat   { background: linear-gradient(150deg, var(--ph-oat),   color-mix(in srgb, var(--ph-oat) 70%, var(--bg))); }
.ph--sand  { background: linear-gradient(150deg, var(--ph-sand),  color-mix(in srgb, var(--ph-sand) 70%, var(--bg))); }
.ph--clay  { background: linear-gradient(150deg, var(--ph-clay),  color-mix(in srgb, var(--ph-clay) 70%, var(--bg))); }
.ph--sage  { background: linear-gradient(150deg, var(--ph-sage),  color-mix(in srgb, var(--ph-sage) 70%, var(--bg))); }
.ph--cream { background: linear-gradient(150deg, var(--ph-cream), color-mix(in srgb, var(--ph-cream) 70%, var(--bg))); }

/* detail shots on pattern page */
.shots { display: grid; gap: 18px; margin: 0; padding: 0; }
.shot { margin: 0; }
.shot__frame {
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  background: var(--ph-sand); border: 1px solid var(--line);
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { font-size: .86rem; color: var(--muted); margin-top: 9px; }
@media (min-width: 620px) {
  .shots { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}

/* A real image keeps its own intrinsic ratio instead of being cropped to the
   slot's default. Placeholders keep the fixed ratio so empty slots stay tidy. */
.hero__frame.has-img,
.shot__frame.has-img { aspect-ratio: auto; }
.hero__frame.has-img img,
.shot__frame.has-img img { height: auto; object-fit: contain; }

/* A 3:4 hero at full width pushed the title and the Get button more than a
   screen down — on desktop the whole first viewport was photograph. Cap it so
   the title, the facts and the CTA are reachable in one short scroll. The cap
   is height-based, so it does not fight the contain rule above. */
.hero__frame { max-height: 56vh; max-height: 56svh; }
.hero__frame.has-img img { max-height: 56vh; max-height: 56svh; object-position: center; }
/* Tightened again: with the unlock CTA now sitting under the title, the hero
   is the only thing with enough slack to get that button into the first
   screen on a phone. svh so the mobile URL bar does not steal the margin. */
@media (max-width: 640px) {
  .hero__frame { max-height: 39vh; max-height: 39svh; }
  .hero__frame.has-img img { max-height: 39vh; max-height: 39svh; }
  .ptitle { padding-top: 18px; }
}

/* captioned figure inside a pattern block */
.pfig { margin: 18px 0 0; }
.pfig__frame {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; background: var(--ph-sand);
}
.pfig__frame img { width: 100%; height: auto; }
.pfig__frame .ph { height: auto; }
.pfig figcaption { font-size: .85rem; color: var(--muted); margin-top: 9px; }

/* ---------- 11. FAQ ------------------------------------------------------ */

.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 30px 16px 0; position: relative;
  font-weight: 600; font-size: .98rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); font-size: .94rem; margin: 0; }

/* ---------- 12. Sticky bar (mobile only) --------------------------------- */

.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--surface); /* iOS < 16.2 has no color-mix */
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  transform: translateY(110%);
  transition: transform .25s ease;
}
.stickybar.is-on { transform: translateY(0); }
.stickybar__text { flex: 1 1 auto; min-width: 0; }
.stickybar__name {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  font-family: var(--display); font-size: .92rem; font-weight: 600;
  line-height: 1.2; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis;
}
.stickybar__proof {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  font-size: .76rem; color: var(--muted); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
}
.stickybar .btn { flex: none; padding: 12px 18px; font-size: .92rem; }
.stickybar__btn {
  border-radius: var(--r-pill); font-size: .94rem; padding: 13px 20px;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5);
}
/* On the narrowest phones the pattern name costs more than it pays — give
   the whole width to the button. */
@media (max-width: 400px) {
  .stickybar__text { display: none; }
  .stickybar__btn { width: 100%; }
}
/* Was mobile-only. With 13 gate views and 0 offer taps (Sep 30), the button
   being off-screen for most of a long pattern page is a cost we cannot pay —
   the bar now rides along on desktop too. */
body.has-stickybar { padding-bottom: 76px; }

/* ---------- 13. Footer --------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-sunk);
  margin-top: 46px; padding-block: 30px 38px;
  font-size: .88rem; color: var(--muted);
}
.footer .brand__name { font-size: .98rem; color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 16px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--clay-ink); text-decoration: underline; }
.footer__fine { font-size: .79rem; color: var(--faint); max-width: 60ch; line-height: 1.55; }

/* ---------- 14. Utils ---------------------------------------------------- */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--clay); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.errpage { padding-block: 70px 40px; text-align: center; }
.errpage .big {
  font-family: var(--display); font-size: 4rem; color: var(--line-strong);
  line-height: 1; margin: 0 0 14px;
}

.sentinel { display: block; height: 1px; }

/* ---------- Language select + hide Google's translate chrome ------------- */
.langsel { margin-left: 8px; width: 58px; flex: none; font: inherit; font-size: .85rem; color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; }
body { top: 0 !important; }
.skiptranslate iframe, .goog-te-banner-frame { display: none !important; }
#goog-gt-tt, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.brandbar__link { white-space: nowrap; }

/* ---------- Blog furniture ----------------------------------------------- */
.prose { padding-block: 28px 48px; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose .btn { margin-top: 8px; }
.toc { margin: 16px 0 4px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.toc summary { cursor: pointer; font-weight: 700; font-size: .95rem; }
.toc ul { margin: 8px 0 2px; padding-left: 1.1em; }
.toc li { margin: 4px 0; }
.authorbox { max-width: var(--col); margin: 28px auto; padding: 16px var(--pad); border-top: 1px solid var(--line); }
.authorbox__name { font-weight: 700; margin: 0 0 4px; }
.authorbox p { color: var(--ink-2); font-size: .94rem; margin: 0 0 6px; }

/* ---------- First screen on phones --------------------------------------- */
.valueline { margin: 0 0 8px; font-size: .88rem; font-weight: 700; color: var(--clay-ink); }
@media (max-width: 560px) {
  .brand__name span { display: none; }
  .ptitle { padding-top: 18px; }
  .ptitle .lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ptitle .lede:not(.is-open) { cursor: pointer; }
  .ptitle .lede.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
@media (max-width: 560px) {
  .hero__frame { max-height: 34vh; max-height: 34svh; }
  .hero__frame.has-img img { max-height: 34vh; max-height: 34svh; }
}

.prose code { background: var(--sunk, rgba(127,127,127,.15)); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.bloglist { list-style: none; padding: 0; margin: 20px 0 0; }
.bloglist li { margin: 0 0 22px; }
.bloglist a { color: inherit; }
.related-mid h2 { font-size: 1.15rem; margin-bottom: 12px; }
.guidebox { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.guidebox__name { font-weight: 700; margin: 0 0 6px; }
.guidebox ul { margin: 0; padding-left: 1.1em; }
.guidebox li { margin: 4px 0; }

/* ---------- Hero photo zoom ---------------------------------------------- */

.hero__frame.has-img img { cursor: zoom-in; }
body.zoom-open { overflow: hidden; }
.zoom {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 16px;
  background: rgba(20, 18, 15, .94);
}
.zoom[hidden] { display: none; }
.zoom img {
  max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px);
  width: auto; height: auto; object-fit: contain; border-radius: var(--r);
}
.zoom .btn { width: 100%; max-width: 420px; }
.zoom__x {
  position: absolute; top: 8px; right: 10px;
  width: 40px; height: 40px; line-height: 1; font-size: 1.8rem;
  color: #fff; background: transparent; border: 0; cursor: pointer;
}

/* Paid shortcut under the main button (test pages only, see BUY_ON_PAGE) */
.cta-buy {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  width: 100%; max-width: 420px; box-sizing: border-box;
  padding: 11px 18px; border-radius: var(--r-pill);
  border: 2px solid var(--clay); background: var(--clay-soft);
  color: var(--clay-ink); text-decoration: none; line-height: 1.25;
  transition: background .15s, transform .15s;
}
.cta-buy:hover { background: var(--surface); color: var(--clay-ink); transform: translateY(-1px); }
.cta-buy b { font-size: 1.02rem; font-weight: 700; }
.cta-buy span { font-size: .8rem; opacity: .9; }
/* paused (PayPal review): shown greyed out, not clickable */
.cta-buy.is-off, .rc-buy.is-off { opacity: .55; filter: grayscale(1); cursor: not-allowed; pointer-events: none; }
.cta-buy.is-off:hover { transform: none; background: var(--clay-soft); }
.rc-buy.is-off b { text-decoration: none; }
/* PDF-first test (visitors outside tier 1): the free route as a quiet line */
.cta-free {
  background: none; border: 0; padding: 8px 6px; margin: 0; cursor: pointer;
  font: inherit; font-size: .92rem; color: var(--clay-ink); text-decoration: underline;
}
.cta-free:hover { color: var(--clay); }

/* Bundle banner card (Nov 26, hot-deal version) */
.bundle-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  margin: 18px 0 14px; padding: 26px 12px 12px;
  background: linear-gradient(135deg, var(--clay-soft), var(--surface));
  border: 2px solid var(--clay);
  border-radius: var(--r);
  color: var(--ink); text-decoration: none;
  box-shadow: 0 4px 16px rgba(176,107,83,.28);
}
.bundle-card:hover { border-color: var(--clay-ink); }
.bundle-card__ribbon {
  position: absolute; top: -13px; left: 14px;
  background: #d6402a; color: #fff;
  font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.bundle-card__row { display: flex; gap: 14px; align-items: flex-start; }
.bundle-card__img { width: 96px; height: auto; flex: none; border-radius: var(--r-sm); object-fit: cover; }
.bundle-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.bundle-card__title { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; font-weight: 700; }
.bundle-card__items { font-size: .85rem; line-height: 1.3; color: var(--muted); }
.bundle-card__price { font-size: 1rem; }
.bundle-card__price s { color: var(--muted); margin-right: 4px; }
.bundle-card__price b { font-size: 1.45rem; color: var(--clay-ink); }
.bundle-card__price em { display: inline-block; font-style: normal; font-weight: 800; font-size: .8rem; color: #fff; background: #2f8f4e; padding: 2px 8px; border-radius: var(--r-pill); margin-left: 4px; }
.bundle-card__cta {
  text-align: center; font-weight: 800; font-size: 1.05rem; color: #fff;
  background: var(--clay); padding: 13px 14px; border-radius: var(--r-pill);
}
.bundle-card:hover .bundle-card__cta { background: var(--clay-ink); }
.bundle-card__fine { text-align: center; font-size: .8rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .bundle-card__cta { animation: bundlePulse 2.4s ease-in-out infinite; }
}
@keyframes bundlePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (max-width: 360px) { .bundle-card__img { width: 78px; } }

/* swipe gallery under the hero (inside the hero width, never wider than the page) */
.pgal { margin: 10px 0 0; max-width: 100%; overflow: hidden; position: relative; }
.pgal__track { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__track img { flex: 0 0 calc(50% - 4px); width: calc(50% - 4px); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; scroll-snap-align: start; background: #eee; }
.pgal__hint { text-align: center; font-size: 13px; opacity: .65; margin: 8px 0 0; }
.pgal__track { cursor: grab; }
.pgal__btn { position: absolute; top: calc(50% - 22px); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; line-height: 38px; text-align: center; cursor: pointer; padding: 0; z-index: 2; }
.pgal__btn--prev { left: 8px; } .pgal__btn--next { right: 8px; }
.pgal__btn:hover { background: rgba(0,0,0,.75); }
@media (hover: none) { .pgal__btn { display: none; } }
.pgal--static .pgal__btn, .pgal--static .pgal__hint { display: none; }
.pgal--static .pgal__track { cursor: auto; }

/* Nov 28 first-screen photo row (test): swipe, mosaic, split */
.galrow{margin-block:10px 4px}
.galrow figure{margin:0}
.galrow img{width:100%;height:100%;display:block;border-radius:12px;object-fit:cover;background:#2a2320}
.galrow--swipe .galrow__track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none;cursor:grab}
.galrow--swipe .galrow__track::-webkit-scrollbar{display:none}
.galrow--swipe figure{flex:0 0 56%;max-width:300px;scroll-snap-align:start;aspect-ratio:3/4}
.galrow--mosaic .galrow__track{display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:1fr 1fr;gap:8px;max-width:420px;height:300px;margin-inline:auto}
.galrow--mosaic figure{min-height:0;overflow:hidden;border-radius:12px}
.galrow--mosaic figure:first-child{grid-row:1 / span 2}
.galrow--mosaic figure:nth-child(n+4){display:none}
.galrow--split .galrow__track{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:420px;margin-inline:auto}
.galrow--split figure{aspect-ratio:3/4}
.galrow--split figure:nth-child(n+3){display:none}

.galrow--swipe .wrap{position:relative}
.galrow__arrow{display:none}
@media (hover:hover) and (pointer:fine){
.galrow--swipe .galrow__arrow{display:flex;position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 1px 6px rgba(0,0,0,.3);font-size:24px;line-height:1;align-items:center;justify-content:center;cursor:pointer;color:#333;z-index:2}
.galrow__arrow--prev{left:6px}.galrow__arrow--next{right:6px}
}

/* School membership: page, cards. Hidden everywhere until SCHOOL_ON in site.js. */
.school__price { font-size: 1.6rem; margin: 4px 0 14px; color: var(--ink); }
.school__price span { font-size: 1rem; color: var(--muted); }
.schoolcard { margin: 28px auto; max-width: 720px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--clay-soft); color: var(--ink); }
.schoolcard__title { font-family: 'Fraunces', serif; font-size: 1.15rem; margin: 0 0 4px; }
.schoolcard__text { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.schoolcard--bar { margin: 18px auto; padding: 12px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.schoolcard--bar .schoolcard__title { font-size: 1rem; margin: 0; }
.schoolcard--bar .schoolcard__text { margin: 0; font-size: .9rem; }
.schoolcard .btn { white-space: nowrap; }
:root[data-theme="dark"] .schoolcard { background: #2a2220; border-color: #3d322d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .schoolcard { background: #2a2220; border-color: #3d322d; } }

.emailsignup { margin: 28px auto; max-width: 720px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--clay-soft); color: var(--ink); display: flex; gap: 16px; align-items: flex-start; }
.emailsignup__img { width: 180px; height: auto; flex: none; border-radius: 10px; }
.emailsignup__body { flex: 1; min-width: 0; }
@media (max-width: 520px) { .emailsignup { flex-direction: column; } .emailsignup__img { width: 100%; max-width: 320px; } }
.emailsignup__title { font-family: 'Fraunces', serif; font-size: 1.15rem; margin: 0 0 4px; }
.emailsignup__text { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.emailsignup__fine { margin: 10px 0 0; font-size: .85rem; color: var(--ink-2); }
:root[data-theme="dark"] .emailsignup { background: #2a2220; border-color: #3d322d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .emailsignup { background: #2a2220; border-color: #3d322d; } }

.schoolbar { position: relative; background: var(--clay); color: #fff; font-size: .85rem; line-height: 1.3; text-align: center; padding: 8px 38px 8px 12px; }
.schoolbar a { color: #fff; text-decoration: none; display: inline-block; }
.schoolbar a:hover { text-decoration: underline; }
.schoolbar__x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 4px 10px; cursor: pointer; }
@media (max-width: 520px) { .schoolbar__more { display: none; } }

/* Nov 29: photos inside article/body figures keep their own proportions. The width/height attributes (800x1066) otherwise
   make a phone-width column render the picture 116px wide and 1066px tall. Specific rules (.galrow img, .pfig__frame img) still win. */
figure{min-width:0}
figure>img{width:100%;height:auto}
.blogtxt figure{margin:0}

/* One end-of-pattern offer, with utilities at text-link scale. */
.pattern-tip { border-inline-start: 2px solid var(--clay); padding-inline-start: 16px; margin-block: 1.25rem; }
.ptitle .lede.notranslate { display: block; cursor: auto; }
.pattern-tip p { margin: .25rem 0 0; }
.pattern-end { margin-block: 1.5rem 2.5rem; }
.pattern-closing { max-width: 62ch; margin-bottom: 1.25rem; }
.pattern-access {
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface-2);
}
.pattern-access[hidden], .gate .locker[hidden] { display: none; }
.pattern-access h2 { margin: 0 0 .65rem; font-size: 1.25rem; }
.pattern-sponsor-link, .pattern-tools button {
  background: none; border: 0; padding: .35rem 0; color: var(--ink-2);
  font: inherit; text-decoration: underline; text-underline-offset: .16em; cursor: pointer;
}
.pattern-sponsor-link { display: block; margin-top: .5rem; font-size: .875rem; }
.pattern-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin-top: .5rem; font-size: .85rem; }
.pattern-tools a { color: var(--ink-2); text-decoration: underline; text-underline-offset: .16em; }
@media print {
  .pattern-access, .pattern-tools, .emailsignup, .schoolbar, .schoolcard { display: none !important; }
}

/* Hook & Pattern editorial pages */
:root { --r: 18px; --r-sm: 12px; --col-wide: 1210px; --hp-shadow: 0 8px 28px #3020180c; }
.hp-header { background: var(--surface); position: relative; backdrop-filter: none; }
.hp-header .brandbar__in { max-width: var(--col-wide); flex-wrap: wrap; min-height: 64px; }
.hp-header .mark { border-radius: 50%; width: 34px; height: 34px; }
.hp-header .brand__name { font-size: 1.17rem; }
.hp-header .brand__name span { display: none; }
.hp-nav, .hp-search { display: flex; justify-content: center; align-items: center; gap: .65rem 1.25rem; padding: .65rem var(--pad); }
.hp-nav { flex-wrap: wrap; border-block: 1px solid var(--line); background: var(--surface-2); }
.hp-nav a, .hp-footer-cats a { text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .9rem; }
.hp-nav a:hover, .hp-footer-cats a:hover { color: var(--clay-ink); text-decoration: underline; }
.hp-search { gap: .45rem; }
.hp-search input { min-width: 0; width: min(60vw, 19rem); font: inherit; background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); padding: .5rem .8rem; border-radius: 999px; }
.hp-alert, .hp-search button, .hp-tools > :is(button,a) { display: inline-flex; align-items: center; min-height: 40px; background: var(--clay-soft); color: var(--clay-ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: .35rem .85rem; font: 700 .9rem var(--body); text-decoration: none; cursor: pointer; }
.hp-alert:hover, .hp-search button:hover, .hp-tools > :is(button,a):hover { border-color: var(--clay); text-decoration: underline; }
.hp-footer-cats { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin: .8rem 0; }
.hp-header :focus-visible, .hp-article :focus-visible, .hp-side :focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 3px; }
.hp-header .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.hp-hero-copy { padding: clamp(1.15rem, 4vw, 3.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hp-shadow); }
.hp-hero-copy h1 { max-width: 16ch; font-size: clamp(2.15rem, 5vw, 4.15rem); }
.hp-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.6rem, 2vw, 1.3rem); list-style: none; padding: 0; margin: 1rem 0 0; }
.hp-grid li { min-width: 0; }
.hp-card { display: block; height: 100%; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--hp-shadow); text-decoration: none; }
.hp-card:hover h3 { text-decoration: underline; color: var(--clay-ink); }
.hp-card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-sunk); }
.hp-card div { padding: .85rem; }
.hp-card h3 { font: 650 clamp(1.02rem, 2vw, 1.32rem)/1.22 var(--display); margin: 0; overflow-wrap: anywhere; }
.hp-label { color: var(--clay-ink); font-weight: 700; font-size: .8rem; margin: 0 0 .3rem; }
.hp-shelf:nth-child(odd) { background: var(--surface-2); }
.hp-shelf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; }

.hp-layout { display: grid; align-items: start; gap: 1.5rem; max-width: 1170px; margin: 1.5rem auto 3rem; padding-inline: clamp(.7rem,3vw,1.5rem); }
.hp-article, .hp-side { min-width: 0; }
.hp-article { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--hp-shadow); }
.hp-article > .wrap, .hp-article > .section > :is(.wrap,.wrap-wide), .hp-article .galrow .wrap { max-width: none; padding-inline: clamp(.85rem, 3vw, 2.4rem); }
.hp-article .ptitle { padding-top: 0; }
.hp-article .ptitle .eyebrow { display: inline-block; margin: .8rem 0; color: var(--clay-ink); background: var(--clay-soft); border-radius: 999px; padding: .25rem .7rem; }
.hp-article h1 { font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.08; }
.hp-crumb { display: flex; flex-wrap: wrap; gap: .3rem .65rem; padding-top: 1rem; color: var(--muted); font-size: .9rem; }
.hp-crumb a + a::before { content: "›"; color: var(--muted); margin-inline-end: .65rem; }
.hp-tools { display: flex; gap: .45rem; flex-wrap: wrap; margin-block: .9rem 1.05rem; }
.hp-tools [data-hp-status]:empty { display: none; }
.hp-tools [data-hp-status] { align-self: center; font-size: .88rem; }
.hp-article .hero { padding: 0; }
.hp-article .hero .wrap { padding: 0; max-width: none; }
.hp-article #heroFrame { width: 100%; aspect-ratio: 4/3; max-height: none; }
.hp-article #heroFrame img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.hp-toc, .hp-side > section, .hp-side .emailsignup { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); box-shadow: var(--hp-shadow); }
.hp-toc { margin: 1rem 0; }
.hp-toc:empty { min-height: 10rem; }
.hp-toc h2, .hp-side h2 { margin: 0 0 .55rem; font-size: 1.25rem; }
.hp-toc ul { margin: 0; padding-left: 1.2rem; }
.hp-toc li { margin: .3rem 0; }
.hp-article [id] { scroll-margin-top: 1rem; }
.hp-article .paper h3 { font: 650 1.18rem var(--display); text-transform: none; letter-spacing: normal; color: var(--ink); }
.hp-article .rows, .hp-article .abbr { overflow-wrap: anywhere; }
.hp-article .section--sunk { background: var(--surface-2); }
.hp-article .authorbox, .hp-final { margin: 1rem clamp(.85rem, 3vw, 2.4rem); max-width: none; }
.hp-side { display: grid; gap: 1rem; }
.hp-side [data-hp-signup] { min-height: 330px; }
.hp-side .emailsignup { display: block; margin: 0; width: 100%; min-height: 330px; }
.hp-side .emailsignup__img { display: none; }
.hp-side .emailsignup__body { padding: 0; }
#free-alerts { scroll-margin-top: 1.5rem; }
.hp-picks, .hp-counts { list-style: none; margin: 0; padding: 0; }
.hp-picks a, .hp-counts a { display: flex; gap: .75rem; align-items: center; color: var(--ink); text-decoration: none; }
.hp-picks a { font: 600 1rem/1.25 var(--display); padding: .55rem 0; }
.hp-picks img { flex: none; object-fit: cover; border-radius: 9px; width: 58px; height: 58px; }
.hp-counts a { justify-content: space-between; padding: .4rem 0; }
.hp-picks a:hover, .hp-counts a:hover { text-decoration: underline; }
.hp-counts span { color: var(--muted); }
@media (min-width: 700px) {
  .hp-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hp-toc ul { columns: 2; }
  .hp-toc:empty { min-height: 7rem; }
}
@media (min-width: 940px) {
  .hp-layout { grid-template-columns: minmax(0,1fr) minmax(250px, 300px); }
  .hp-header { display: grid; grid-template-columns: 1fr auto auto 1fr; }
  .hp-header .brandbar__in { grid-column: 2; width: auto; }
  .hp-header .hp-nav { grid-column: 1/-1; grid-row: 2; }
  .hp-search { grid-column: 3; grid-row: 1; }
}
/* White, sage and teal editorial theme */
:root {
  --hp-line: #dce7df;
  --hp-sage: #eff5ef;
  --hp-teal: #245d54;
  --hp-shadow: 0 5px 20px #17382d0b;
}
:root[data-theme="light"], :root:not([data-theme]) {
  --bg: #fff;
  --bg-sunk: #f2f7f3;
  --surface-2: #f8fbf8;
  --line: var(--hp-line);
  --line-strong: #c3d7cd;
  --muted: #53655f;
  --clay: #27675b;
  --clay-ink: #245d54;
  --clay-soft: #e2f0e9;
  --sage-soft: #edf5ee;
}
:root[data-theme="dark"] {
  --hp-line: #35473c;
  --hp-sage: #23362d;
  --hp-teal: #a3d7c6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141d19; --bg-sunk: #101713; --surface: #1a2520; --surface-2: #202e26;
    --ink: #edf4ee; --ink-2: #d6e3db; --muted: #a9bcb2; --line: #35473c; --line-strong: #43594c;
    --clay: #479885; --clay-ink: #a8dccb; --clay-soft: #29463c; --sage-soft: #23362d;
    --hp-line: #35473c; --hp-sage: #23362d; --hp-teal: #a3d7c6;
  }
}
.hp-header .brand__name { font-size: 1.25rem; }
.hp-welcome { display: grid; align-items: center; gap: 1.4rem; }
.hp-welcome .hp-hero-copy { background: var(--hp-sage); box-shadow: none; padding: clamp(1.25rem, 5vw, 3.25rem); }
.hp-welcome h1 { max-width: 15ch; margin-bottom: 1.1rem; }
.hp-portrait { display: block; aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: var(--r); }
.hp-welcome .hp-portrait { max-width: 470px; justify-self: center; }
.hp-category-list nav { display: flex; flex-wrap: wrap; gap: .65rem; }
.hp-category-list a { border: 1px solid var(--line-strong); background: var(--hp-sage); border-radius: 999px; padding: .45rem .85rem; font-weight: 700; color: var(--hp-teal); text-decoration: none; }
.hp-category-list a:hover { text-decoration: underline; }
.hp-article .byline { color: var(--muted); }
.hp-article #hp-steps > h2 { margin-top: 1.1rem; }
.hp-article .hp-end-box { background: var(--hp-sage); border: 1px solid var(--line-strong); }
.hp-end-box > p { margin-inline: auto; }
.hp-end-box > a + p { margin-top: .6rem; margin-bottom: 0; }
.hp-author, .hp-comments, .hp-neighbors {
  margin: 1.2rem clamp(.85rem, 3vw, 2.4rem);
}
.hp-author { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.hp-author .hp-portrait { width: clamp(76px, 18vw, 120px); flex: none; }
.hp-author h2, .hp-school h2 { font-size: 1.25rem; }
.hp-about .hp-portrait { width: min(175px, 100%); margin: 0 auto 1rem; border-radius: 50%; }
.hp-about p, .hp-author p, .hp-school p { margin-bottom: .55rem; }
.hp-neighbors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.hp-neighbors a { display: block; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); padding: .9rem; }
.hp-neighbors span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }
.hp-ad { min-height: 92px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); margin: 1rem 0; }
.hp-side .hp-ad { min-height: 140px; margin: 0; }
.hp-comments form { display: grid; gap: .55rem; }
.hp-comments input, .hp-comments textarea { width: 100%; padding: .65rem; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--bg); font: inherit; }
.hp-comments button { justify-self: start; }
.hp-comments p, .hp-copyright { color: var(--muted); font-size: .86rem; }
.hp-copyright { margin-top: 1rem; }
@media (min-width: 700px) {
  .hp-welcome { grid-template-columns: 1.25fr .85fr; }
}
.hp-print-title { display: none; }
@media print {
  .hp-print-title { display: block; font: 650 1.7rem var(--display); }
  .hp-article { color: #111; }
}

.hp-article .hero + .hp-intro { margin-block: 1rem; }
.hp-project-note { color: var(--muted); }
.hp-gallery { display: flex; gap: 8px; overflow-x: auto; margin-top: .65rem; scroll-snap-type: x mandatory; }
.hp-gallery img { width: min(144px, 42%); flex: 0 0 min(144px, 42%); height: 106px; object-fit: cover; border-radius: 9px; scroll-snap-align: start; }
.hp-article .section[aria-labelledby="h-pattern-card"] { background: var(--hp-sage); }
.hp-article #pPattern .paper { border-radius: 9px; }
.hp-article #pPattern .paper h3 { border-bottom: 1px solid var(--line); padding-bottom: .55rem; }
.hp-article .hp-pdf { text-align: center; padding: 1.1rem; border-radius: var(--r); margin: 1.2rem clamp(.85rem, 3vw, 2.4rem); }
.hp-final > div { width: 100%; }
.hp-picks img { background: var(--hp-sage); }
.hp-ad[hidden], .hp-ad:empty { display: none; }
.emailsignup .formkit-submit, .emailsignup .formkit-submit > span { background-color: #245d54 !important; color: white !important; }
.emailsignup .formkit-submit:hover, .emailsignup .formkit-submit:hover > span { background-color: #194b43 !important; }
@media print {
  body, .hp-layout, .hp-article, .hp-article .section[aria-labelledby="h-pattern-card"], #pPattern .paper {
    background: white !important; color: #111 !important;
  }
  .hp-header, .hp-side, .footer, .emailsignup, .hp-ad, .hp-comments,
  .hp-article > :not(section[aria-labelledby="h-pattern-card"]) { display: none !important; }
  .hp-layout { display: block; margin: 0; padding: 0; }
  .hp-article { border: none; box-shadow: none; }
  #pPattern * { color: #111 !important; }
  .hp-article > section[aria-labelledby="h-pattern-card"] { display: block !important; }
}
#pPattern .paper--finish { border-color: var(--line-strong); }

#pPattern .rows .ct { white-space: normal; overflow-wrap: anywhere; }
