/* ==========================================================================
   Myckel Couture blog: listing, article and author pages.
   Builds on styles.css (tokens, header, footer, buttons, booking pop-up).
   ========================================================================== */

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.blog { background: var(--white); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--line:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.link { color: var(--ink); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold-deep); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.crumbs [aria-current] { color: var(--ink); }

/* Listing hero */
.bhero { background: var(--pearl); padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4.5vw, 64px); border-bottom: 1px solid var(--line); }
.bhero__in { display: grid; gap: 16px; justify-items: start; }
.bhero__h { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.015em; max-width: 22ch; color: var(--ink); }
.bhero .lede { max-width: 62ch; }
.bhero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 6px; }

/* Filters */
.bfilters { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: calc(var(--hd) + env(safe-area-inset-top, 0px)); z-index: 30; }
.bfilters__in { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; align-items: center; gap: .5em; min-height: 38px; padding: 0 1em; white-space: nowrap; border: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.chips a span { color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips a[aria-current] span { color: var(--gold-pale); }
.bsearch { display: flex; flex: none; border: 1px solid var(--line); background: var(--white); }
.bsearch input { width: min(240px, 46vw); min-height: 40px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--text); }
.bsearch input:focus { outline: none; }
.bsearch:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bsearch button { width: 44px; display: grid; place-items: center; color: var(--ink); }

/* Layout */
.bwrap { padding-block: clamp(32px, 4.5vw, 64px); }
.bgrid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bmain { min-width: 0; display: grid; gap: 28px; }
.bhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bhead h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.bhead span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Shared bits */
.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); text-decoration: none; }
.tag:hover { text-decoration: underline; text-underline-offset: .3em; }
.tag--pill { padding: .45em .9em; border: 1px solid var(--gold); color: var(--ink); background: rgba(210, 172, 99, .14); }
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .82rem; color: var(--muted); }
.pmeta .dot { color: var(--gold-deep); }
.av { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--sand); color: var(--ink); font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av--init { background: var(--ink); color: var(--gold-pale); }
.av--md { width: 44px; height: 44px; font-size: .8rem; }
.av--lg { width: 64px; height: 64px; font-size: 1rem; }
.av--xl { width: clamp(150px, 20vw, 240px); height: clamp(150px, 20vw, 240px); font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); }
.pcard__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sand), var(--pearl)); }

/* Featured card */
.feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--ink); color: var(--ivory); }
.feat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.03); }
.feat__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(22px, 3vw, 40px); }
.feat .eyebrow { color: var(--gold); }
.feat .tag { color: var(--gold-pale); }
.feat h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; }
.feat h2 a { text-decoration: none; }
.feat h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.feat p { color: rgba(251, 248, 238, .82); }
.feat .pmeta { color: rgba(251, 248, 238, .7); }
.feat .pmeta .dot { color: var(--gold); }

/* Rows */
.rows { display: grid; }
.prow { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.prow:first-child { padding-top: 4px; }
.prow__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.prow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.prow:hover .prow__img img { transform: scale(1.04); }
.prow__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.prow h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.15; }
.prow h3 a { text-decoration: none; }
.prow h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.prow__ex { color: var(--muted); font-size: .96rem; }
.more { display: flex; justify-content: center; padding-top: 8px; }
.more .btn[aria-busy] { opacity: .7; pointer-events: none; }

.empty { display: grid; gap: 12px; justify-items: start; padding: clamp(28px, 4vw, 48px); background: var(--pearl); border: 1px solid var(--line); }
.empty__h { font-family: var(--display); font-size: 1.6rem; color: var(--ink); }

/* Sidebar */
.bside, .aside { display: grid; gap: 20px; position: sticky; top: calc(var(--hd) + 84px); }
.bside__cta { display: grid; gap: 12px; justify-items: start; padding: 24px; background: var(--ink); color: var(--ivory); }
.bside__cta .eyebrow { color: var(--gold); }
.bside__h { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.bside__cta p:not(.eyebrow):not(.bside__h) { color: rgba(251, 248, 238, .8); font-size: .92rem; }
.bside__cta .btn { width: 100%; }
.bside__box { padding: 20px 22px; border: 1px solid var(--line); background: var(--white); }
.bside__t { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.topics li + li { border-top: 1px solid var(--line); }
.topics a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; text-decoration: none; font-size: .95rem; }
.topics a:hover span:first-child { text-decoration: underline; text-underline-offset: .25em; }
.topics a[aria-current] { font-weight: 700; color: var(--ink); }
.topics .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.bside__promo { display: grid; gap: 8px; padding: 22px; background: var(--sand); }
.bside__promo .bside__t { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bside__promo p:not(.bside__t) { font-size: .92rem; color: var(--muted); }

/* CTA band */
.ctaband { padding-block: clamp(48px, 6vw, 88px); }
.ctaband__in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; }
.ctaband__in > div { display: grid; gap: 12px; max-width: 46rem; }
.ctaband .title { font-size: clamp(2rem, 3.6vw, 3.2rem); }

/* Author */
.ahero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center; }
.ahero__text { display: grid; gap: 14px; justify-items: start; }
.ahero__role { font-weight: 600; color: var(--gold-deep); letter-spacing: .04em; }
.ahero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.others { padding-block: clamp(36px, 5vw, 64px); background: var(--pearl); border-top: 1px solid var(--line); }
.others__h { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 22px; }
.others__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ocard { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s; }
.ocard:hover { border-color: var(--ink); }
.ocard b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.ocard small { color: var(--muted); }

/* Article */
.awrap { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.agrid { display: grid; grid-template-columns: minmax(0, 820px) 300px; justify-content: space-between; gap: clamp(28px, 4vw, 72px); align-items: start; }
.art { min-width: 0; display: grid; gap: 18px; justify-items: start; }
.art > * { width: 100%; }
.art > .tag--pill { width: auto; }
.art__h { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.015em; max-width: 22ch; color: var(--ink); }
.art__lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.byline { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-block: 1px solid var(--line); }
.byline__a { font-weight: 700; text-decoration: none; color: var(--ink); }
.byline__a:hover { text-decoration: underline; text-underline-offset: .25em; }
.art__img { margin: 6px 0 0; }
.art__img img { width: 100%; height: auto; }
figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.b-credit { color: var(--gold-deep); }

/* Prose and blocks */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; color: var(--ink); margin-top: 1.8em; scroll-margin-top: calc(var(--hd) + 24px); }
.prose h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; color: var(--ink); margin-top: 1.5em; }
.prose a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.b-list { padding-left: 1.3em; }
ul.b-list { list-style: disc; }
ol.b-list { list-style: decimal; }
.b-list li { padding-left: .3em; }
.b-list li + li { margin-top: .4em; }
.b-list li::marker { color: var(--gold-deep); }
.b-quote { margin-inline: 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); }
.b-quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; font-style: italic; color: var(--ink); }
.b-takeaways { padding: 22px 24px; background: var(--pearl); border-top: 3px solid var(--gold); }
.b-takeaways__h { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.b-takeaways ul { display: grid; gap: 8px; }
.b-takeaways li { position: relative; padding-left: 26px; }
.b-takeaways li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.b-callout { padding: 18px 22px; border-left: 4px solid var(--teal); background: rgba(11, 90, 87, .07); }
.b-callout--tip { border-color: var(--gold); background: rgba(210, 172, 99, .14); }
.b-callout--warning { border-color: #a3362b; background: rgba(163, 54, 43, .07); }
.b-callout__h { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.b-table { overflow-x: auto; border: 1px solid var(--line); }
.b-table table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
.b-table caption { caption-side: top; text-align: left; padding: 10px 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.b-table th, .b-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.b-table th { background: var(--ink); color: var(--ivory); font-weight: 600; }
.b-table tbody tr:nth-child(even) td { background: var(--pearl); }
.b-faq h2 { margin-bottom: .5em; }
.b-faq details { border-top: 1px solid var(--line); }
.b-faq details:last-child { border-bottom: 1px solid var(--line); }
.b-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--gold-deep); transition: transform .3s var(--ease); }
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq details > div { padding: 0 0 16px; color: var(--muted); }
.b-image { margin-inline: 0; }
.b-image img { width: 100%; height: auto; }
.b-image--inline { float: right; width: min(46%, 360px); margin: .3em 0 1em 1.6em; }
.b-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-ilink { padding: 14px 18px; background: var(--pearl); border: 1px solid var(--line); font-size: .98rem; }
.b-ilink a { font-weight: 700; color: var(--ink); }
.b-cta { background: var(--ink); color: var(--ivory); clear: both; }
.b-cta__in { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 3.4vw, 40px); background-image: linear-gradient(90deg, var(--gold) 0 3px, transparent 3px); }
.b-cta .eyebrow { color: var(--gold); }
.prose .b-cta__title, .b-cta__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.12; color: var(--ivory); }
.b-cta p:not(.eyebrow) { color: rgba(251, 248, 238, .82); max-width: 40em; }
.prose .b-cta a.btn { color: var(--ink); text-decoration: none; }

/* After the body */
.sources { padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; }
.sources h2 { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; font-family: var(--body); }
.sources ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; color: var(--muted); }
.sources a { color: var(--ink); }
.sources__note { font-style: italic; }
.cluster { padding: 16px 20px; border: 1px solid var(--gold); background: rgba(210, 172, 99, .1); font-weight: 600; }
.cluster a { color: var(--ink); }
.cluster__h { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.cluster--list ul { display: grid; gap: 6px; list-style: disc; padding-left: 1.2em; font-weight: 500; }
.about { display: grid; gap: 12px; padding: 24px; background: var(--pearl); border: 1px solid var(--line); }
.about__top { display: flex; align-items: center; gap: 16px; }
.about__k { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.about__n { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.about__r { color: var(--muted); font-size: .9rem; }
.about__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; font-size: .92rem; }
.about__links a { color: var(--ink); }
.related { padding-top: 10px; }
.related__h { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 16px; color: var(--ink); }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); min-width: 0; transition: border-color .25s, transform .35s var(--ease); }
.pcard:hover { border-color: rgba(6, 43, 41, .35); transform: translateY(-2px); }
.pcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.pcard h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.prose .related__h { margin-top: 0; }
.prose .pcard a { color: inherit; }

/* Table of contents */
.toc { padding: 20px 22px; border: 1px solid var(--line); background: var(--white); }
.toc ol { display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding: 7px 0 7px 10px; margin-left: -12px; border-left: 2px solid transparent; font-size: .92rem; line-height: 1.35; text-decoration: none; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--display); color: var(--gold-deep); }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); font-weight: 700; border-left-color: var(--gold); }

/* Scroll pop-up */
.spop { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; width: min(340px, calc(100vw - 32px)); display: grid; gap: 10px; justify-items: start; padding: 20px 20px 22px; background: var(--ink); color: var(--ivory); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); border-top: 3px solid var(--gold); animation: rise .45s var(--ease); }
.spop .eyebrow { color: var(--gold); }
.spop__h { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; padding-right: 30px; }
.spop .btn { width: 100%; }
.spop__x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ivory); }
.spop__x:hover { color: var(--gold); }

/* Preview bar */
.pvbar { position: sticky; top: var(--hd); z-index: 45; padding: 10px var(--gr) 10px var(--gl); background: var(--gold); color: var(--ink); font-size: .9rem; text-align: center; }

/* Responsive */
@media (max-width: 1080px) {
  .bgrid { grid-template-columns: minmax(0, 1fr) 260px; }
  .agrid { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 900px) {
  .bgrid, .agrid { grid-template-columns: minmax(0, 1fr); }
  .bside, .aside { position: static; }
  .aside .toc { order: -1; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahero { grid-template-columns: minmax(0, 1fr); }
  .ahero__pic { order: -1; }
}
@media (max-width: 720px) {
  .bfilters { position: static; }
  .bfilters__in { flex-direction: column; align-items: stretch; }
  .bsearch input { width: 100%; }
  .chips { margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding-inline: var(--gl) var(--gr); }
  .b-image--inline { float: none; width: 100%; margin: 0; }
}
@media (max-width: 660px) {
  .prow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .prow__img { aspect-ratio: 16 / 10; }
  .related__grid { grid-template-columns: minmax(0, 1fr); }
  .ctaband .btn { width: 100%; }
  .prose { font-size: 16.5px; }
}
@media (max-width: 420px) {
  .byline { align-items: flex-start; }
  .spop { left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
}
