/* =========================================================================
   thecosmediccoach.com — light editorial theme
   Layout signature: one narrow reading column, serif headings, pull quotes.
   ========================================================================= */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --paper: #faf7f2;
  --paper-2: #f2ece3;
  --paper-3: #ebe3d7;
  --surface: #ffffff;
  --line: #e2d8c9;
  --line-strong: #cbbca6;

  --plum: #7a1f4b;
  --plum-dark: #521433;
  --coral: #e4572e;
  --coral-soft: #fbe6de;
  --ink: #201a24;
  --ink-soft: #554c58;
  --ink-dim: #7d7382;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --fs-h1: clamp(2rem, 1.3rem + 2.9vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  --fs-h3: clamp(1.12rem, 1.04rem + .4vw, 1.32rem);
  --fs-body: clamp(1rem, .97rem + .2vw, 1.09rem);
  --fs-small: .87rem;

  --measure: 42rem;
  --gutter: clamp(1.1rem, .6rem + 2vw, 2.5rem);
  --section-y: clamp(2.5rem, 2rem + 3vw, 4.25rem);
  --gap: clamp(1rem, .7rem + 1.2vw, 1.75rem);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 3px rgba(32, 26, 36, .07);
  --shadow: 0 12px 30px rgba(32, 26, 36, .1);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 70px;
}

/* ---------- Reset and base ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .5em; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--plum); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Utilities ---------------------------------------------------- */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); margin-inline: auto; }
.mt-gap { margin-top: var(--gap); }
.mt-lg { margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%); z-index: 1000;
  background: var(--plum); color: #fff; font-weight: 700; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius); transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.9rem; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem; letter-spacing: .02em;
  text-align: center; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.btn--plum { background: var(--plum); color: #fff; box-shadow: 0 6px 16px rgba(122, 31, 75, .28); }
.btn--plum:hover { background: var(--plum-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(122, 31, 75, .34); }
.btn--plum:active { transform: translateY(0) scale(.985); }
.btn--ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--paper-2); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 1rem 2.4rem; font-size: 1.04rem; }
.btn--sm { min-height: 42px; padding: .55rem 1.3rem; font-size: .85rem; }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blip 1.9s var(--ease) infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); padding-block: .5rem; }
.brand img { height: 44px; width: auto; }
@media (max-width: 480px) { .brand img { height: 36px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.5rem, .1rem + 1vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link { display: block; padding: .5rem .15rem; font-size: .87rem; font-weight: 600; color: var(--ink-soft); transition: color .2s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--plum); }
.nav__cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto; padding: 0;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; max-height: 0; overflow: hidden;
    background: var(--paper); border-bottom: 1px solid var(--line); transition: max-height .3s var(--ease);
  }
  .nav.is-open { max-height: min(78vh, 560px); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav__link { padding: .95rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__cta { display: block; margin-top: 1rem; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__inner { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero__kick { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.hero h1 { margin-top: .8rem; }
.hero__lead { margin-top: 1.2rem; font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); }
.hero__lead + .hero__lead { margin-top: .9rem; font-size: var(--fs-body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__note { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-dim); }

.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-dim);
}
.byline b { color: var(--ink); font-weight: 700; }

.hero__figure { margin: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) 0 0; }
.hero__figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__figure figcaption { margin-top: .6rem; font-size: var(--fs-small); color: var(--ink-dim); font-style: italic; }

/* ---------- Breadcrumbs -------------------------------------------------- */
.breadcrumbs { padding-block: .8rem; font-size: var(--fs-small); color: var(--ink-dim); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; gap: .5rem; align-items: center; }
.breadcrumbs li + li::before { content: "→"; color: var(--ink-dim); }
.breadcrumbs a:hover { color: var(--plum); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Article ------------------------------------------------------ */
.article { padding-block: var(--section-y); }
.article__body { max-width: var(--measure); margin-inline: auto; }
.article__body > * + * { margin-top: 1.15rem; }
.article__body p { color: var(--ink-soft); }
.article__body li { color: var(--ink-soft); }

.chapter { scroll-margin-top: calc(var(--header-h) + 18px); }
.chapter + .chapter { margin-top: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.chapter > * + * { margin-top: 1.15rem; }
.chapter h2 { position: relative; padding-top: 1.6rem; }
.chapter h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--coral); }

/* drop cap opens the article */
.dropcap::first-letter {
  float: left; font-family: var(--font-head); font-size: 3.6em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--plum); font-weight: 700;
}

/* ---------- Table of contents (pill row) --------------------------------- */
.toc { max-width: var(--measure); margin: 0 auto; padding: 1.15rem 1.3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.toc h2 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.toc ul { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: .85rem 0 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: .34rem .8rem; font-size: .84rem; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.toc a:hover { color: var(--plum); border-color: var(--plum); }
.toc a[aria-current] { color: #fff; background: var(--plum); border-color: var(--plum); }

/* ---------- Pull quote --------------------------------------------------- */
.pullquote {
  margin-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  padding: 1.3rem 0 1.3rem 1.5rem;
  border-left: 4px solid var(--plum);
  font-family: var(--font-head); font-size: clamp(1.18rem, 1.05rem + .6vw, 1.5rem);
  line-height: 1.42; color: var(--ink);
}
.pullquote cite { display: block; margin-top: .6rem; font-family: var(--font-body); font-size: .82rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Aside / expert tip ------------------------------------------- */
.aside-note {
  padding: 1.3rem 1.4rem; background: var(--coral-soft);
  border: 1px solid #f0c9ba; border-radius: var(--radius-lg);
}
.aside-note h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.aside-note p { margin-top: .6rem; color: #6a2d18; }

.warn {
  padding: 1.2rem 1.35rem; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid #c02f2f; border-radius: var(--radius-lg);
}
.warn h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c02f2f; }
.warn p { margin-top: .5rem; color: var(--ink-soft); }

/* ---------- Numbered editorial list -------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps li { position: relative; margin: 0 0 1.15rem; padding-left: 3.1rem; color: var(--ink-soft); }
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: -.12em;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--coral);
}
.steps strong { color: var(--ink); }

/* ---------- Feature list ------------------------------------------------- */
.marks { list-style: none; margin: 0; padding: 0; }
.marks li { position: relative; padding-left: 1.7rem; margin-top: .75rem; color: var(--ink-soft); }
.marks li:first-child { margin-top: 0; }
.marks li::before { content: "◆"; position: absolute; left: 0; top: 0; color: var(--coral); font-size: .8rem; }
.marks strong { color: var(--ink); }

/* ---------- Tables ------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
caption { padding-bottom: .7rem; text-align: left; font-size: var(--fs-small); font-style: italic; color: var(--ink-dim); }
thead th { padding: .7rem .9rem .7rem 0; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); border-bottom: 2px solid var(--line-strong); }
tbody th, tbody td { padding: .8rem .9rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
tbody th { text-align: left; font-weight: 700; color: var(--ink); }

@media (max-width: 620px) {
  .table--stack thead { display: none; }
  .table--stack tbody tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line-strong); }
  .table--stack tbody th, .table--stack tbody td { display: block; border: 0; padding: .2rem 0 .5rem; }
  .table--stack tbody td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
}

/* ---------- Figures ------------------------------------------------------ */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.figure figcaption { margin-top: .55rem; font-size: var(--fs-small); font-style: italic; color: var(--ink-dim); }
.figure--wide { max-width: 62rem; margin-inline: auto; }

/* ---------- Inline CTA --------------------------------------------------- */
.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--plum); border-radius: var(--radius-lg);
}
.cta-inline p { margin: 0; font-family: var(--font-head); font-size: 1.14rem; color: var(--ink); }
.cta-inline small { display: block; font-family: var(--font-body); font-size: .82rem; color: var(--ink-dim); margin-top: .15rem; }

/* ---------- Pros / cons -------------------------------------------------- */
.pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); }
.pc__col { padding: 1.3rem 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pc__col h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.pc--pro h3 { color: #1c7a4f; }
.pc--con h3 { color: #c02f2f; }
.pc__col ul { list-style: none; margin: .8rem 0 0; padding: 0; }
.pc__col li { position: relative; padding-left: 1.5rem; margin-top: .6rem; color: var(--ink-soft); }
.pc__col li:first-child { margin-top: 0; }
.pc--pro li::before { content: "+"; position: absolute; left: 0; color: #1c7a4f; font-weight: 700; }
.pc--con li::before { content: "\2212"; position: absolute; left: 0; color: #c02f2f; font-weight: 700; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; margin-left: auto; font-family: var(--font-body); font-size: 1.3rem; color: var(--coral); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.15rem; color: var(--ink-soft); }

/* ---------- Final CTA ---------------------------------------------------- */
.cta-band { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); background: var(--plum); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 44rem; margin: .9rem auto 0; color: rgba(255, 255, 255, .84); }
.cta-band .btn { margin-top: 1.6rem; background: #fff; color: var(--plum); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.cta-band .btn:hover { background: var(--paper-2); }
.cta-band small { display: block; margin-top: 1rem; font-size: var(--fs-small); color: rgba(255, 255, 255, .68); }

/* ---------- Legal / info pages ------------------------------------------- */
.hero--page .hero__inner { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); }
.page-section { padding-block: var(--section-y); }
.panel { max-width: 880px; margin-inline: auto; padding: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; padding-top: 1.2rem; position: relative; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--coral); }
.prose h3 { margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral); }
.prose li { color: var(--ink-soft); }
.back-home { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.back-home a { font-weight: 700; }
.related { margin-top: 1.8rem; padding: 1.15rem 1.3rem; background: var(--paper-2); border-radius: var(--radius-lg); }
.related h2 { margin: 0 0 .7rem; padding: 0; font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.related h2::before { display: none; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.related li { margin: 0; }

/* ---------- Forms -------------------------------------------------------- */
.form { display: grid; gap: 1.05rem; max-width: 33rem; }
.form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.form input, .form textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus { border-color: var(--plum); box-shadow: 0 0 0 4px rgba(122, 31, 75, .14); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.form__hint { font-size: var(--fs-small); color: var(--ink-dim); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { margin: 0; }
.contact-list strong { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { padding-block: clamp(2.25rem, 1.8rem + 2vw, 3.5rem) 2rem; background: var(--paper-3); color: var(--ink-soft); font-size: .93rem; border-top: 1px solid var(--line); }
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--plum); }
.footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: clamp(1.6rem, 1.2rem + 2vw, 3rem); padding-bottom: 2rem; border-bottom: 1px solid var(--line-strong); }
.footer__brand img { height: 54px; width: auto; }
.footer__brand p { margin-top: .9rem; color: var(--ink-dim); font-size: .87rem; }
.footer__col h3 { font-family: var(--font-body); margin-bottom: .9rem; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-top: .55rem; }
.footer__col li:first-child { margin-top: 0; }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line-strong); }
.footer__badges img { height: auto; width: auto; max-height: 28px; max-width: 125px; opacity: .6; filter: grayscale(1); transition: opacity .2s var(--ease), filter .2s var(--ease); }
.footer__badges a:hover img { opacity: 1; filter: none; }
.footer__age { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line-strong); font-weight: 800; color: var(--ink); font-size: .88rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .83rem; color: var(--ink-dim); }
.footer__disclaimer { margin-top: .9rem; max-width: 74ch; font-size: .79rem; line-height: 1.62; color: var(--ink-dim); }

/* ---------- Back to top + catfish ---------------------------------------- */
.to-top {
  position: fixed; right: clamp(.85rem, .5rem + 1vw, 1.6rem); bottom: clamp(.85rem, .5rem + 1vw, 1.6rem);
  z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0;
  border-radius: 50%; background: var(--plum); color: #fff; box-shadow: var(--shadow);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, bottom .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 19px; height: 19px; }
body.has-catfish .to-top { bottom: calc(clamp(.85rem, .5rem + 1vw, 1.6rem) + 74px); }

.catfish {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; align-items: center; gap: 1rem; padding: .7rem clamp(.8rem, .5rem + 1.5vw, 1.5rem);
  background: #fff; border-top: 3px solid var(--plum); box-shadow: 0 -6px 24px rgba(32, 26, 36, .12);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.catfish.is-visible { transform: translateY(0); }
.catfish__text { flex: 1 1 auto; min-width: 0; }
.catfish__text b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.catfish__text span { display: block; font-size: .78rem; color: var(--ink-dim); }
.catfish .btn { flex: 0 0 auto; }
.catfish__close { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.catfish__close:hover { background: var(--paper-3); }
@media (max-width: 560px) {
  .catfish { gap: .6rem; padding: .6rem .7rem; }
  .catfish__text span { display: none; }
  .catfish .btn { min-height: 42px; padding: .5rem 1rem; font-size: .82rem; }
}
