/* ==========================================================================
   Divelya · 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:          #b06b53;
  --clay-ink:      #8d5340;
  --clay-soft:     #f3e2da;
  --sage:          #76866c;
  --sage-soft:     #e6ebe0;

  /* 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(176, 107, 83, .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:        #d1866b;
    --clay-ink:    #e6a488;
    --clay-soft:   #36261f;
    --sage:        #9cae91;
    --sage-soft:   #232a20;

    --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:        #d1866b;
  --clay-ink:    #e6a488;
  --clay-soft:   #36261f;
  --sage:        #9cae91;
  --sage-soft:   #232a20;

  --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: 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; }

/* --- offer list (OGAds, rendered by mountLocker) --- */
.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 14px 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;
}
.offer__go { flex: none; width: 9px; height: 9px; }
.offer__go::before {
  content: ""; display: block; width: 8px; height: 8px;
  border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint);
  transform: rotate(45deg);
}
.offer:hover .offer__go::before { border-color: var(--clay); }

.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; }

.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; }

/* 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: 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__name {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--display); font-size: .92rem; font-weight: 600;
  line-height: 1.2; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.stickybar .btn { flex: none; padding: 12px 18px; font-size: .92rem; }
@media (min-width: 720px) { .stickybar { display: none !important; } }
body.has-stickybar { padding-bottom: 76px; }
@media (min-width: 720px) { body.has-stickybar { padding-bottom: 0; } }

/* ---------- 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; }
