/* ==========================================================================
   ADNAN KABIR — publication-001.css
   Loaded ONLY by publication-001.html. Every selector here is new or
   duplicated from resources.css/work-with-me.css/case-1.css (never
   imported directly, per the page-isolation rule), so no other page can
   be affected.

   Ported from the standalone Elementor snippet at "WEBSITE DESIGN/FOR
   ELEMENTOR/PUBLICATION PAGES/publication-001.html", rebuilt on this
   site's own tokens/components — the source's own full nav/masthead/
   footer are replaced with the site's real shared chrome.

   This hero has a fundamentally different shape from every other page's
   (an asymmetric two-column grid with a sticky purchase card, not a
   headline + optional visual), so — like blog-post.html's article header —
   it is a plain content section rather than .hero, and never uses
   data-split/[data-reveal] outside a <section> (main.js only reveals
   [data-reveal] found inside a <section>, and skips .hero specifically).

   Reuses .kicker, .chip, .pills (shared/frozen), .btn, .finale, .footer —
   plus the buy card, the TOC rows, the preview grid, the receive strip and
   the related cards, which have no equivalent elsewhere.
   ========================================================================== */

.page-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--rule);
}
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.section-head .h2 { margin-bottom: .2em; }

/* ---------- Publication hero ---------------------------------------------- */

.pub-hero { padding: clamp(8.5rem, 18vh, 10.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.pub-hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .pub-hero__grid { grid-template-columns: 1.35fr .65fr; } }

.pub-hero .back {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem;
  color: var(--ink-3);
  font-size: .8125rem;
  margin-bottom: 1.5rem;
  transition: color var(--t-fast) linear;
}
.pub-hero .back:hover { color: var(--accent-text); }
.pub-hero .back svg {
  width: .9375rem; height: .9375rem; flex: none;
  stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.pub-hero__num { color: var(--accent-text); margin-bottom: .85rem; }
.pub-hero__badge { margin-bottom: 1.5rem; }

/* Same accent-soft + left-rule callout language as .pull, duplicated here
   under the source's own name for this page's "Problem" statement. */
.problem {
  border-left: 2px solid var(--accent);
  padding-left: 1.15rem;
  margin-bottom: 1.5rem;
}
.problem__label { color: var(--accent-text); margin-bottom: .5rem; }
.problem p { color: var(--ink); font-size: 1rem; line-height: 1.55; }

.pub-hero h1 { font-size: clamp(2rem, 4.6vw, 2.75rem); margin-bottom: 1.1rem; max-width: 32rem; }
.pub-hero__desc { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; max-width: 34rem; margin-bottom: 1.75rem; text-wrap: pretty; }

.meta-row {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .85rem;
  color: var(--ink-3);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

/* Buy card */
.buy-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--elev);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 1.9rem);
}
@media (min-width: 900px) { .buy-card { position: sticky; top: 7rem; } }
.buy-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.buy-card__price--free { color: var(--accent-text); }
.buy-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .2rem; }
.buy-card__meta { color: var(--ink-3); }
.buy-card__rule { height: 1px; background: var(--rule); margin: 1.4rem 0; }

.buy-card__flist { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.buy-card__flist li {
  display: flex; gap: .6rem;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase;
}
.buy-card__flist li::before { content: '→'; color: var(--accent-text); }

.buy-card__checklist { display: grid; gap: .75rem; margin-top: 1.25rem; }
.buy-card__checklist li {
  display: flex; gap: .6rem;
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .02em;
}
.buy-card__checklist li:first-child { border-top: 0; padding-top: 0; }
.buy-card__checklist li::before { content: '✓'; color: var(--accent-text); font-weight: 700; }

/* ---------- Prose --------------------------------------------------------- */

.why-prose { max-width: 42rem; }
.why-prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.35rem; text-wrap: pretty; }
.why-prose p:last-child { margin-bottom: 0; }

/* ---------- Outcomes ------------------------------------------------------- */

.outcome-list { display: grid; gap: 1rem; }
@media (min-width: 700px) { .outcome-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.outcome-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .9375rem;
  line-height: 1.5;
}
.outcome-list li::before {
  content: '✓';
  color: var(--accent-text);
  font-weight: 700;
  font-size: .875rem;
  flex: none;
}

/* ---------- Inside the publication (TOC rows) ------------------------------ */

.toc-list { border-top: 2px solid var(--ink); }
.toc-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 1.6rem) 0;
  border-bottom: 1px solid var(--rule);
}
.toc-row__n { color: var(--accent-text); padding-top: .3rem; }
.toc-row h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .5rem; }
.toc-row p { color: var(--ink-3); font-size: .875rem; line-height: 1.55; max-width: 44rem; }

/* ---------- Preview -------------------------------------------------------- */

.previews { display: grid; gap: clamp(1rem, 2vw, 1.25rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .previews { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pv { aspect-ratio: 3 / 3.5; border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }

.pv-cover {
  position: relative;
  padding: 1.25rem;
  display: flex; flex-direction: column;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px),
    var(--bg-2);
  background-size: 34px 34px, 34px 34px, auto;
}
.pv-cover__num { position: relative; color: var(--accent-text); font-family: var(--font-mono); font-size: .5625rem; font-weight: 700; letter-spacing: .05em; margin-bottom: .75rem; }
.pv-cover h4 { position: relative; color: var(--ink); font-size: 1.0625rem; line-height: 1.2; }
.pv-cover__by {
  position: relative; margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--rule-2);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: .5625rem; letter-spacing: .05em;
}

.pv-page { background: var(--elev-2); padding: 1.35rem 1.1rem; display: flex; flex-direction: column; gap: .75rem; }
.pv-page .pl { height: .5rem; border-radius: var(--r-sm); background: var(--rule-2); }
.pv-page .pl.s { width: 60%; }
.pv-page .pl.m { width: 80%; }
.pv-page .hl { height: 1.35rem; border-radius: var(--r-sm); background: var(--accent-soft); }
.pv-page .blk { height: 2.75rem; border-radius: var(--r-sm); background: var(--rule-2); }

/* ---------- Receive -------------------------------------------------------- */

.receive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 700px) { .receive { grid-template-columns: minmax(0, 1fr); } }
.receive__cell { padding: clamp(1.5rem, 3vw, 1.75rem); }
.receive__cell:not(:first-child) { border-left: 1px solid var(--rule); }
@media (max-width: 700px) {
  .receive__cell:not(:first-child) { border-left: 0; border-top: 1px solid var(--rule); }
}
.receive__cell .kicker { margin-bottom: .85rem; }
.receive__cell h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .5rem; }
.receive__cell p { color: var(--ink-3); }

/* ---------- Built from real diagnostics ------------------------------------ */

.built__stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 4rem);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .6rem;
}
.built__label { color: var(--ink-3); margin-bottom: 1.6rem; }
.built .pills { margin-bottom: 1.6rem; max-width: 38rem; }
.built__body { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; max-width: 32rem; text-wrap: pretty; }

/* ---------- FAQ (static, numbered — not an accordion, matching source) ---- */

.faqn { max-width: 52rem; }
.faqn-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: .5rem;
  padding: clamp(1.35rem, 3vw, 1.6rem) 0;
  border-bottom: 1px solid var(--rule);
}
.faqn-item__n { color: var(--accent-text); padding-top: .35rem; }
.faqn-item h3 { font-size: 1.1875rem; font-weight: 600; color: var(--ink); margin-bottom: .55rem; letter-spacing: -.01em; }
.faqn-item p { color: var(--ink-2); font-size: .9375rem; line-height: 1.6; max-width: 42rem; }

/* ---------- Continue Building — related cards ------------------------------ */

.related { display: grid; gap: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: clamp(2rem, 4vw, 2.5rem); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rel-card {
  display: flex; flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--elev);
  transition: border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out);
}
.rel-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.rel-card__num { color: var(--accent-text); margin-bottom: .85rem; }
.rel-card h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .5rem; line-height: 1.2; }
.rel-card p { color: var(--ink-2); font-size: .875rem; line-height: 1.55; margin-bottom: 1.1rem; }
.rel-card__foot {
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}
.rel-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.rel-card__price--free { color: var(--accent-text); }

/* Collection band — dark textured strip, same grid-texture technique used
   throughout the site's other pages. */
.coll-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: grid; gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--accent-soft);
}
@media (min-width: 760px) { .coll-band { grid-template-columns: 1.4fr .6fr; } }
.coll-band__eyebrow { color: var(--accent-text); margin-bottom: .85rem; }
.coll-band h3 { color: var(--ink); font-size: clamp(1.375rem, 2.6vw, 1.625rem); margin-bottom: 1.1rem; letter-spacing: -.015em; }
.coll-band__pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.coll-band__pill {
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .05em; color: var(--ink-2);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  padding: .45rem .7rem;
}
.coll-band__right { text-align: right; }
@media (max-width: 759px) { .coll-band__right { text-align: left; } }
.coll-band__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.25rem); color: var(--ink); letter-spacing: -.02em; margin-bottom: .2rem; }
.coll-band__note { color: var(--ink-3); font-size: .8125rem; margin-bottom: 1.1rem; }

/* ---------- Final CTA ------------------------------------------------------
   .finale is shared/frozen; the fbody note and CTA row are page-scoped.
   Duplicated from resources.css / blog.css. */

.finale__pre {
  color: var(--ink-3);
  font-size: .9375rem;
  max-width: 52ch;
  text-wrap: pretty;
}
.finale__row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  justify-content: center;
}
.finale__or { color: var(--ink-3); }
@media (max-width: 420px) { .finale__row .btn { width: 100%; } }

#built .built__body {
    margin-top: 1.5em;
}