/*
Theme Name: Publish Njinway
Theme URI: https://publish.njinway.com/
Author: Njinway
Author URI: https://njinway.com/
Description: A focused one-page WordPress theme for Publish.njinway, built for author self-publishing services, manuscript audits, book production, and launch systems.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: publish-njinway
Tags: one-column, custom-logo, custom-menu, landing-page
*/

:root {
      --ink: #17120f;
      --ink-soft: #3c312b;
      --paper: #f7efe3;
      --paper-2: #efe0cb;
      --white: #fffaf1;
      --gold: #b78945;
      --gold-soft: #dfbd7c;
      --clay: #8c4a32;
      --moss: #48543d;
      --line: rgba(23, 18, 15, .16);
      --shadow: 0 28px 80px rgba(23, 18, 15, .18);
      --radius-lg: 34px;
      --radius-md: 22px;
      --radius-sm: 14px;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body.publish-njinway-theme {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 10% 5%, rgba(183, 137, 69, .17), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(140, 74, 50, .13), transparent 32%),
        linear-gradient(180deg, var(--paper), #fbf6ec 38%, var(--paper-2));
      line-height: 1.5;
    }

    body.publish-njinway-theme::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .32;
      background-image:
        linear-gradient(rgba(23, 18, 15, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 18, 15, .028) 1px, transparent 1px);
      background-size: 38px 38px;
      mask-image: linear-gradient(to bottom, black, transparent 72%);
      z-index: -1;
    }

    .publish-njinway-theme a {
      color: inherit;
      text-decoration: none;
    }

    .publish-njinway-theme img {
      display: block;
      max-width: 100%;
    }

    .container {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: rgba(247, 239, 227, .78);
      border-bottom: 1px solid var(--line);
    }

    .nav__inner {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: -.03em;
    }

    .brand__mark {
      width: 39px;
      height: 39px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(23, 18, 15, .2);
      border-radius: 50%;
      background: var(--ink);
      color: var(--paper);
      font-family: Georgia, serif;
      font-size: 20px;
      box-shadow: 0 12px 30px rgba(23, 18, 15, .18);
    }

    .brand small {
      display: block;
      margin-top: -4px;
      font-size: 12px;
      font-weight: 650;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(23, 18, 15, .58);
    }

    .nav__links {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      color: rgba(23, 18, 15, .76);
    }

    .nav__links a {
      padding: 10px 12px;
      border-radius: 999px;
    }

    .nav__links a:hover {
      background: rgba(23, 18, 15, .07);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      padding: 13px 18px;
      border-radius: 999px;
      border: 1px solid rgba(23, 18, 15, .18);
      font-weight: 850;
      letter-spacing: -.015em;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 45px rgba(23, 18, 15, .14);
    }

    .btn--dark {
      background: var(--ink);
      color: var(--white);
    }

    .btn--light {
      background: rgba(255, 250, 241, .78);
      color: var(--ink);
    }

    .btn--gold {
      background: var(--gold);
      color: #1c130d;
      border-color: rgba(23, 18, 15, .12);
    }

    .menu-btn {
      display: none;
      width: 48px;
      height: 48px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 250, 241, .78);
      font-size: 24px;
    }

    .hero {
      padding: 72px 0 54px;
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(310px, .94fr);
      gap: 34px;
      align-items: stretch;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      padding: 8px 12px;
      border: 1px solid rgba(23, 18, 15, .15);
      border-radius: 999px;
      background: rgba(255, 250, 241, .66);
      color: rgba(23, 18, 15, .72);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--clay);
      box-shadow: 0 0 0 5px rgba(140, 74, 50, .13);
    }

    h1, h2, h3 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      line-height: .98;
      letter-spacing: -.055em;
    }

    h1 {
      margin-top: 22px;
      max-width: 850px;
      font-size: clamp(54px, 8vw, 112px);
    }

    h2 {
      font-size: clamp(38px, 5vw, 72px);
    }

    h3 {
      font-size: 27px;
      letter-spacing: -.035em;
    }

    .hero__lead {
      max-width: 700px;
      margin: 24px 0 0;
      font-size: clamp(18px, 2vw, 23px);
      color: rgba(23, 18, 15, .74);
    }

    .hero__lead strong {
      color: var(--ink);
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .hero__proof {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 11px;
      margin-top: 42px;
      max-width: 740px;
    }

    .proof-card {
      min-height: 112px;
      padding: 17px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: rgba(255, 250, 241, .56);
    }

    .proof-card b {
      display: block;
      font-size: 24px;
      letter-spacing: -.04em;
    }

    .proof-card span {
      display: block;
      margin-top: 5px;
      color: rgba(23, 18, 15, .62);
      font-size: 13px;
      font-weight: 700;
    }

    .hero__visual {
      position: relative;
      min-height: 650px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      background:
        linear-gradient(180deg, rgba(23, 18, 15, .04), rgba(23, 18, 15, .6)),
        url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1500&q=82") center / cover;
      isolation: isolate;
    }

    .hero__visual::after {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(255, 250, 241, .34);
      border-radius: 26px;
      pointer-events: none;
    }

    .floating-note {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 24px;
      padding: 23px;
      border: 1px solid rgba(255, 250, 241, .24);
      border-radius: 26px;
      background: rgba(23, 18, 15, .72);
      color: var(--white);
      backdrop-filter: blur(16px);
    }

    .floating-note p {
      margin: 0;
      font-size: 17px;
      color: rgba(255, 250, 241, .78);
    }

    .floating-note strong {
      color: var(--gold-soft);
    }

    .signature {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 250, 241, .16);
      font-size: 13px;
      color: rgba(255, 250, 241, .66);
    }

    section {
      padding: 74px 0;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
      gap: 30px;
      align-items: end;
      margin-bottom: 30px;
    }

    .section-head p {
      margin: 0;
      color: rgba(23, 18, 15, .68);
      font-size: 18px;
    }

    .strip {
      padding: 28px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 250, 241, .55);
      overflow: hidden;
    }

    .strip__grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }

    .strip__item {
      position: relative;
      min-height: 150px;
      padding: 18px;
      display: flex;
      align-items: end;
      border-radius: 22px;
      overflow: hidden;
      background: var(--ink);
      color: var(--white);
    }

    .strip__item:nth-child(2) {
      margin-top: 28px;
    }

    .strip__item:nth-child(4) {
      margin-top: 28px;
    }

    .strip__item::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .56;
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
      z-index: 1;
    }

    .strip__item:nth-child(1) {
      background: url("https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=900&q=78") center / cover;
    }

    .strip__item:nth-child(2) {
      background: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=900&q=78") center / cover;
    }

    .strip__item:nth-child(3) {
      background: url("https://images.unsplash.com/photo-1491841573634-28140fc7ced7?auto=format&fit=crop&w=900&q=78") center / cover;
    }

    .strip__item:nth-child(4) {
      background: url("https://images.unsplash.com/photo-1455885666463-9b28c7cae47f?auto=format&fit=crop&w=900&q=78") center / cover;
    }

    .strip__item:nth-child(5) {
      background: url("https://images.unsplash.com/photo-1516979187457-637abb4f9353?auto=format&fit=crop&w=900&q=78") center / cover;
    }

    .strip__item span {
      position: relative;
      z-index: 2;
      font-weight: 900;
      letter-spacing: -.02em;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .card {
      min-height: 280px;
      padding: 25px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 250, 241, .7);
      box-shadow: 0 20px 55px rgba(23, 18, 15, .08);
    }

    .card__number {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      margin-bottom: 26px;
      border: 1px solid rgba(23, 18, 15, .17);
      border-radius: 50%;
      background: rgba(183, 137, 69, .18);
      font-weight: 900;
    }

    .card p {
      margin: 14px 0 0;
      color: rgba(23, 18, 15, .68);
    }

    .feature {
      display: grid;
      grid-template-columns: .78fr 1.22fr;
      gap: 18px;
      align-items: stretch;
    }

    .feature__image {
      min-height: 570px;
      border-radius: var(--radius-lg);
      background:
        linear-gradient(180deg, rgba(23, 18, 15, .02), rgba(23, 18, 15, .35)),
        url("https://images.unsplash.com/photo-1519682337058-a94d519337bc?auto=format&fit=crop&w=1200&q=82") center / cover;
      box-shadow: var(--shadow);
    }

    .feature__panel {
      padding: clamp(28px, 5vw, 58px);
      border-radius: var(--radius-lg);
      background: var(--ink);
      color: var(--white);
      overflow: hidden;
    }

    .feature__panel h2 {
      color: var(--white);
    }

    .feature__panel p {
      color: rgba(255, 250, 241, .68);
      font-size: 18px;
    }

    .timeline {
      margin-top: 36px;
      display: grid;
      gap: 14px;
    }

    .step {
      display: grid;
      grid-template-columns: 86px 1fr;
      gap: 16px;
      padding: 17px;
      border: 1px solid rgba(255, 250, 241, .14);
      border-radius: 22px;
      background: rgba(255, 250, 241, .06);
    }

    .step b {
      color: var(--gold-soft);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .step strong {
      display: block;
      font-size: 18px;
    }

    .step span {
      display: block;
      color: rgba(255, 250, 241, .64);
      margin-top: 4px;
    }

    .score {
      display: grid;
      grid-template-columns: 1fr .82fr;
      gap: 18px;
      align-items: stretch;
    }

    .score__form,
    .score__result {
      padding: clamp(24px, 4vw, 42px);
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background: rgba(255, 250, 241, .72);
      box-shadow: 0 20px 55px rgba(23, 18, 15, .08);
    }

    .check-list {
      display: grid;
      gap: 12px;
      margin: 26px 0;
    }

    .check {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 15px;
      border: 1px solid rgba(23, 18, 15, .12);
      border-radius: 18px;
      background: rgba(247, 239, 227, .62);
      cursor: pointer;
    }

    .check input {
      width: 20px;
      height: 20px;
      margin-top: 2px;
      accent-color: var(--clay);
    }

    .check b {
      display: block;
      margin-bottom: 2px;
    }

    .check span {
      display: block;
      color: rgba(23, 18, 15, .6);
      font-size: 14px;
    }

    .meter {
      height: 16px;
      border-radius: 999px;
      background: rgba(23, 18, 15, .12);
      overflow: hidden;
      margin: 20px 0 18px;
    }

    .meter__bar {
      width: 0%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--clay), var(--gold));
      transition: width .3s ease;
    }

    .result-number {
      font-family: Georgia, serif;
      font-size: clamp(66px, 10vw, 118px);
      letter-spacing: -.08em;
      line-height: .9;
    }

    .result-copy {
      margin: 0;
      color: rgba(23, 18, 15, .7);
      font-size: 18px;
    }

    .packages {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      align-items: stretch;
    }

    .package {
      position: relative;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 250, 241, .68);
      overflow: hidden;
    }

    .package--featured {
      background: var(--ink);
      color: var(--white);
      transform: translateY(-18px);
      box-shadow: var(--shadow);
    }

    .package--featured p,
    .package--featured li {
      color: rgba(255, 250, 241, .68);
    }

    .package__tag {
      display: inline-flex;
      padding: 7px 11px;
      border-radius: 999px;
      background: rgba(183, 137, 69, .18);
      color: var(--clay);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .package--featured .package__tag {
      color: var(--gold-soft);
      background: rgba(255, 250, 241, .1);
    }

    .package p {
      color: rgba(23, 18, 15, .66);
    }

    .package ul {
      padding: 0;
      margin: 22px 0 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .package li {
      color: rgba(23, 18, 15, .72);
      padding-left: 25px;
      position: relative;
    }

    .package li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--gold);
      font-weight: 900;
    }

    .contact {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 18px;
      align-items: stretch;
    }

    .contact__copy {
      padding: clamp(28px, 5vw, 56px);
      border-radius: var(--radius-lg);
      background:
        linear-gradient(180deg, rgba(23, 18, 15, .18), rgba(23, 18, 15, .82)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
      color: var(--white);
      min-height: 520px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: var(--shadow);
    }

    .contact__copy p {
      color: rgba(255, 250, 241, .72);
      font-size: 18px;
    }

    form {
      padding: clamp(24px, 4vw, 42px);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 250, 241, .72);
      box-shadow: 0 20px 55px rgba(23, 18, 15, .08);
    }

    .field {
      display: grid;
      gap: 8px;
      margin-bottom: 15px;
    }

    label {
      font-weight: 850;
      font-size: 14px;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid rgba(23, 18, 15, .16);
      border-radius: 16px;
      background: rgba(255, 250, 241, .8);
      color: var(--ink);
      padding: 14px 15px;
      font: inherit;
      outline: none;
    }

    textarea {
      min-height: 132px;
      resize: vertical;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(140, 74, 50, .62);
      box-shadow: 0 0 0 4px rgba(140, 74, 50, .12);
    }

    .form-note {
      margin: 12px 0 0;
      color: rgba(23, 18, 15, .56);
      font-size: 13px;
    }

    footer {
      padding: 34px 0 44px;
      border-top: 1px solid var(--line);
    }

    .footer__inner {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      color: rgba(23, 18, 15, .58);
      font-size: 14px;
    }

    .photo-credit {
      color: rgba(23, 18, 15, .48);
    }

    @media (max-width: 980px) {
      .hero__grid,
      .section-head,
      .feature,
      .score,
      .contact {
        grid-template-columns: 1fr;
      }

      .hero__visual {
        min-height: 540px;
      }

      .cards,
      .packages {
        grid-template-columns: 1fr;
      }

      .package--featured {
        transform: none;
      }

      .strip__grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .strip__item:nth-child(2),
      .strip__item:nth-child(4) {
        margin-top: 0;
      }

      .nav__links {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 86px;
        display: none;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 250, 241, .96);
        box-shadow: var(--shadow);
      }

      .nav__links.is-open {
        display: flex;
      }

      .nav__links a {
        padding: 14px 15px;
      }

      .menu-btn {
        display: inline-grid;
        place-items: center;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 26px, var(--max));
      }

      .hero {
        padding-top: 44px;
      }

      .hero__proof {
        grid-template-columns: 1fr;
      }

      .hero__visual {
        min-height: 500px;
      }

      .floating-note {
        left: 14px;
        right: 14px;
        bottom: 14px;
      }

      .strip {
        padding: 13px;
      }

      .strip__grid {
        grid-template-columns: 1fr;
      }

      .step {
        grid-template-columns: 1fr;
      }

      .footer__inner {
        flex-direction: column;
      }

      .nav .btn {
        display: none;
      }
    }

.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.custom-logo { max-width: 42px; height: auto; border-radius: 50%; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
