@charset "UTF-8";
/* ==========================================================================
   NSW Book Publishers — components
   The 8 primitives every fold reuses. Nothing page-specific lives here.
   ========================================================================== */

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red-500);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: .8125rem 1.375rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }

/* Circular arrow badge that sits inside the pill — used on every CTA */
.btn__badge {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--red-500);
  transition: transform var(--dur) var(--ease);
}
.btn__badge svg { width: 13px; height: 13px; }
.btn:hover .btn__badge { transform: translateX(3px); }

.btn--red     { --btn-bg: var(--red-500); --btn-fg: #fff; }
.btn--red:hover { --btn-bg: var(--red-600); }
.btn--navy    { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn--navy .btn__badge { color: var(--navy-700); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--ghost:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn--ghost .btn__badge { background: var(--navy-700); color: #fff; }
.btn--ghost:hover .btn__badge { background: #fff; color: var(--navy-700); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }
.btn--outline-light .btn__badge { background: var(--red-500); color: #fff; }
.btn--lg { padding: 1rem 1.75rem; font-size: var(--fs-body); }
.btn--block { width: 100%; justify-content: center; }

/* Text link with a trailing arrow — "VIEW DETAILS ↗" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--red-500); border-color: var(--red-500); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* Button row. Shared by the homepage folds and every inner page, so it lives
   here rather than in a page stylesheet. */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* --- Pill badge ----------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .4375rem 1rem;
  border-radius: var(--r-pill);
  background: var(--lilac);
  color: var(--navy-700);
  font-size: var(--fs-small);
  font-weight: 600;
}
.pill--light { background: rgba(255,255,255,.12); color: #fff; }
.pill--red { background: var(--red-100); color: var(--red-700); }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--red-500); box-shadow: var(--sh-md); transform: translateY(-4px); }
.card--flat:hover { transform: none; box-shadow: none; }
.card--plain { border-radius: var(--r-lg); }

/* Card that pushes its footer link to the bottom regardless of copy length */
.card--stretch { display: flex; flex-direction: column; height: 100%; }
.card--stretch .card__foot { margin-top: auto; padding-top: var(--sp-5); }
.card__body { color: var(--muted); font-size: var(--fs-small); }
.card__icon {
  width: 48px; height: 48px;
  color: var(--red-500);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 100%; height: 100%; }

/* --- Checked list --------------------------------------------------------- */
.check-list { display: grid; gap: var(--sp-3); }
.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--red-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6L17.8 9l-7 7.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6L17.8 9l-7 7.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- Logo carousel (fold 2 / 11b) ----------------------------------------- */
/* Reproduces australianbookpublishers.com.au's brand strip. Logos stay in full
   colour — no greyscale, no edge fade — and the band runs full-bleed. */
.logo-slider {
  background-color: var(--cream);
  overflow-x: hidden;
}
.brand-area { padding: 30px 5px; }
.brand-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.brand-track {
  --brand-duration: 16s;
  display: flex;
  align-items: center;
  width: max-content;
  animation: brandScroll var(--brand-duration) linear infinite;
}
.brand-slider:hover .brand-track { animation-play-state: paused; }
.brand-slide {
  flex: 0 0 auto;
  width: 150px;
  margin-right: 30px;
}
.brand-item {
  width: 150px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
/* Each logo keeps its own aspect and is capped on both axes: 130px wide (the
   item's inner width) and 43px tall. That pair is what holds the reference's
   123px band — 43 + 20px item padding + 60px area padding.
   display:block rather than inline-block: an inline image sits on the text
   baseline and drags ~23px of descender space into the band. */
.brand-logo {
  display: block;
  margin-inline: auto;
  max-width: 100%;
  max-height: 43px;
  width: auto;
  height: auto;
}
.brand-item .art-placeholder {
  width: 130px;
  height: 30px;
  aspect-ratio: auto;
  margin-inline: auto;
  font-size: 8px;
  padding: 2px;
  letter-spacing: .02em;
}
@keyframes brandScroll { to { transform: translateX(-50%); } }

/* The strip scrolls on every machine, by request.
   Windows commonly ships with "Show animations" off, which sets
   prefers-reduced-motion. The global reset in base.css then forces every
   animation to 0.01ms, and the old fallback here swapped the track for a
   scrollable row — which is why the band was rendering as a static strip with
   a horizontal scrollbar instead of a marquee. Both are overridden below.
   The strip is purely decorative and conveys nothing through its motion. */
@media (prefers-reduced-motion: reduce) {
  .brand-slider { overflow: hidden; }
  .brand-track {
    animation-name: brandScroll !important;
    animation-duration: var(--brand-duration) !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}

/* --- Accordion ------------------------------------------------------------ */
.accordion { display: grid; gap: var(--sp-3); }
.accordion__item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  text-align: left;
  padding: 1.125rem 1.375rem;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--navy-700);
  transition: color var(--dur) var(--ease);
}
.accordion__trigger:hover { color: var(--red-500); }
.accordion__chevron {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  color: var(--navy-700);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.accordion__item.is-open .accordion__chevron { transform: rotate(90deg); color: var(--red-500); }
.accordion__panel { display: none; }
.accordion__inner {
  padding: 0 1.375rem 1.375rem;
  color: var(--muted);
  font-size: var(--fs-small);
  border-top: 1px solid var(--line-soft);
  padding-top: var(--sp-4);
  margin-top: 0;
}

/* --- Forms ---------------------------------------------------------------- */
.field { display: grid; gap: var(--sp-2); }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--navy-700); }
.input, .select, .textarea {
  width: 100%;
  /* Selects size themselves to their widest <option> unless told otherwise,
     which pushes the whole form wider than its column on narrow screens. */
  min-width: 0;
  padding: .875rem 1rem;
  background: #F4EFE6;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--fs-small);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: #fff; border-color: var(--navy-700);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7488' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.textarea { min-height: 120px; resize: vertical; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2) var(--sp-4); }
@media (max-width: 480px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-small); color: var(--ink-soft); cursor: pointer;
}
.checkbox input { width: 16px; height: 16px; accent-color: var(--red-500); flex: 0 0 auto; }

.form-note { font-size: var(--fs-micro); color: var(--muted); }
.form-status { display: none; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); font-size: var(--fs-small); }
.form-status.is-ok   { display: block; background: #E8F6EE; color: #16603A; }
.form-status.is-err  { display: block; background: var(--red-100); color: var(--red-700); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* --- Rating --------------------------------------------------------------- */
.rating {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: .3125rem .625rem;
  background: var(--red-100);
  border-radius: var(--r-pill);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--red-700);
}
.rating__stars { display: inline-flex; gap: 1px; color: var(--gold-600); }
.rating__stars svg { width: 12px; height: 12px; }

/* --- Carousel shell ------------------------------------------------------- */
/* Viewport clips; JS translates the track.
   Slide width comes from --per-view on the track, so a carousel only ever has
   to redeclare one number per breakpoint. flex-basis is used rather than width
   because percentage widths on flex items in a nowrap container are treated as
   indefinite and collapse to the content size. */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  --per-view: 1;
  --slide-gap: var(--sp-5);
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: var(--slide-gap);
  transition: transform .55s var(--ease);
  will-change: transform;
}
.carousel__track > * {
  flex: 0 0 calc(
    (100% - (var(--slide-gap) * (var(--per-view) - 1))) / var(--per-view)
  );
  min-width: 0;
}
.carousel.is-dragging .carousel__track { transition: none; cursor: grabbing; }
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-700);
  box-shadow: var(--sh-md);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.carousel__nav:hover { background: var(--red-500); color: #fff; }
.carousel__nav svg { width: 18px; height: 18px; }
.carousel__nav--prev { left: calc(var(--gutter) * -1); }
.carousel__nav--next { right: calc(var(--gutter) * -1); }
@media (max-width: 1340px) {
  .carousel__nav--prev { left: -8px; }
  .carousel__nav--next { right: -8px; }
}
.carousel__nav[disabled] { opacity: .35; pointer-events: none; }

.dots { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-6); }
.dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.dots button.is-active { background: var(--red-500); width: 22px; border-radius: var(--r-pill); }

.counter {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-4);
  margin-top: var(--sp-5);
  font-size: var(--fs-small); font-weight: 700; color: var(--red-500);
}
.counter::before, .counter::after {
  content: ""; height: 1px; width: 64px; background: var(--line);
}

/* --- Art placeholder ------------------------------------------------------ */
/* Renders wherever real imagery has not been supplied yet. */
.art-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: var(--ratio, 4/3);
  width: 100%;
  padding: var(--sp-4);
  background:
    repeating-linear-gradient(-45deg, rgba(27,46,99,.045) 0 12px, transparent 12px 24px),
    var(--cream-deep);
  border: 1.5px dashed rgba(27,46,99,.22);
  border-radius: var(--r-md);
  color: var(--navy-700);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  opacity: .75;
}
.art-placeholder > span { display: block; max-width: 22ch; }

/* --- Scroll reveal -------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Shared section blocks
   These render on the homepage AND on service pages, so they cannot live in
   home.css — that stylesheet only loads on the homepage.
   ========================================================================== */
/* --- Fold 3 · Differentiator ---------------------------------------------- */
/* Ported from queenslandbookpublishers.com.au. That site is Bootstrap-based,
   so the container/row/col rules below reproduce its 1320px grid with 12px
   gutters rather than pulling in the framework. */
.section-light {
  background: var(--bg-light);
  padding: 60px 0;
}
@media (min-width: 992px) { .section-light { padding: 96px 0; } }

.qbp-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 12px;
}
/* Bootstrap's row pulls back the container's 12px padding so each column is a
   true half of 1320px, with the 12px reappearing as the inner gutter. */
.qbp-row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.qbp-col { width: 50%; padding-inline: 12px; }
@media (max-width: 767.98px) { .qbp-col { width: 100%; } }

.sec-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--text-dark);
  margin: 0 0 20px;
}
.sec-p {
  font-family: var(--font-sans);
  font-size: var(--fs-lede);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.heading-a { color: var(--text-dark); }
.para-a    { color: var(--text-muted); }
.heading-a:hover, .para-a:hover { text-decoration: underline; }

.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 12px 30px;
  margin-bottom: 30px;
  border-radius: 50px;
  background: linear-gradient(to top, var(--navy-grad-a), var(--navy-grad-b));
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #fff;
  transition: transform .3s, box-shadow .3s;
}
.btn-dark-pill:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(14, 26, 69, .4); }
.btn-dark-pill img { width: 20px; height: 20px; }

.differentiator .w-100 { width: 100%; height: auto; }
.differentiator .art-placeholder { border-radius: 50%; }

@media (max-width: 768px) {
  .sec-h2, .sec-p { text-align: center; }
  .differentiator .qbp-col:first-child { display: flex; flex-direction: column; align-items: center; }
}

/* --- Fold 6 · Process ----------------------------------------------------- */
/* Ported from queenslandbookpublishers.com.au. Line-heights are all declared
   explicitly: that site's body runs at 1.5, this one at 1.65, and every box
   here is sized by its line box. */
.process-section { padding: 60px 0 80px; }
.process-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 12px; }

.process-section h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-dark);
  text-align: center;
  padding-top: 40px;
  margin: 0 0 20px;
}
.process-intro {
  font-family: var(--font-sans);
  font-size: var(--fs-lede);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
  padding: 20px 0 40px;
}
.process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
  height: 100%;
  padding: 12px 8px 8px;
  border: 1px solid var(--text-muted);
  border-radius: 8px;
  text-align: center;
}
.process-card .step-num {
  font-family: var(--font-sans);
  font-size: var(--fs-lede);
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy-700);
  margin: 0 0 16px;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.process-card p:not(.step-num) {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 24px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
/* Illustrations sit at natural size and are pushed to the card's foot. */
.process-card img { margin-top: auto; width: auto; height: auto; }
.process-card .art-placeholder { margin-top: auto; width: 180px; }

@media (max-width: 991px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .process-grid { grid-template-columns: 1fr; gap: 30px; } }


/* --- Numbered FAQ (split layout) ------------------------------------------
   Shared by the Packages page and the blog archive. Class names keep the
   original .pkg-faq prefix so existing markup did not have to change. */
/* --- FAQ ------------------------------------------------------------------ */
.sec.pkg-faq { background: #fff; padding: 110px 0; }
.pkg-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .pkg-faq__grid { grid-template-columns: 1fr; gap: 32px; } }

.pkg-faq__intro h2 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--navy-700);
}
.pkg-faq__intro p {
  margin: 0 0 26px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--muted);
}

.pkg-faq__list .accordion__item { border: 1px solid var(--rule); box-shadow: none; }
.pkg-faq__list .accordion__trigger { gap: 14px; align-items: flex-start; }
.pkg-faq__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--red-500);
  padding-top: 2px;
}
.pkg-faq__q { flex: 1 1 auto; }


/* --- Testimonials carousel ------------------------------------------------
   Reused on the About page as well as the homepage, so it cannot live in
   home.css. Only the band background is page-specific. */
/* --- Fold 10 · Testimonials ----------------------------------------------- */
.testimonials { background: var(--cream); }
.testimonials__sources {
  display: flex; justify-content: center; flex-wrap: wrap; align-items: center;
  gap: var(--sp-6); margin-top: var(--sp-6);
  filter: grayscale(1); opacity: .7;
}
.testimonials__source-logo { max-height: 22px; width: auto; }
.testimonials__sources .art-placeholder { width: 90px; height: 24px; aspect-ratio: auto; font-size: 9px; padding: 2px; }

.testimonials__track { --per-view: 3; }
@media (max-width: 1024px) { .testimonials__track { --per-view: 2; } }
@media (max-width: 720px)  { .testimonials__track { --per-view: 1; } }

.testimonials__card {
  position: relative;
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.5rem, 1rem + 1.4vw, 2rem);
  background: #fff;
  border-radius: var(--r-md);
  border-top: 3px solid var(--red-500);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.testimonials__quote {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  color: var(--red-100);
}
.testimonials__quote svg { width: 46px; height: 46px; }
.testimonials__head { display: flex; align-items: center; gap: var(--sp-3); }
.testimonials__avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%;
  border: 1.5px solid var(--red-500);
  color: var(--red-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h5);
}
.testimonials__name { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy-700); font-size: var(--fs-lede); }
.testimonials__when { display: block; font-size: var(--fs-micro); color: var(--muted); }
.testimonials__card .rating { margin-top: var(--sp-4); align-self: flex-start; }
.testimonials__body { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--ink-soft); }
.testimonials__link { margin-top: auto; padding-top: var(--sp-5); align-self: flex-start; color: var(--red-500); border-color: var(--red-500); }


/* --- Portfolio carousel ---------------------------------------------------
   Shown on the homepage and the About page, so it cannot live in home.css.
   Only the band background is page-level. */
/* --- Fold 7 · Portfolio --------------------------------------------------- */
.portfolio-area {
  background: #F3E7D2;
  padding: 50px 0;
  border-radius: 0 0 20px 20px;
  margin-top: -1px;
}
.portfolio-container { width: 100%; max-width: 1330px; margin-inline: auto; padding-inline: 15px; }
.portfolio-title-box { text-align: center; margin-bottom: 30px; }
.portfolio-title-box .eyebrow-pill { margin-bottom: 14px; }
.portfolio-lede {
  max-width: 720px;
  margin: 12px auto 0;
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  line-height: 1.5;
  color: var(--muted);
}
.portfolio-area h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  color: #1B2E63;
  text-align: center;
  margin: 0;
}

/* The slider runs the full viewport width, not the 1330 container.
   The reference shows no arrows or dots here — the strip is drag- and
   keyboard-navigable instead. Hiding them also keeps the negative-offset nav
   buttons from pushing a horizontal scrollbar onto the page. */
.portfolio-slider { width: 100%; }
.portfolio-slider .carousel__nav,
.portfolio-slider .dots { display: none; }
.portfolio-track { --per-view: 5; --slide-gap: 10px; }
@media (max-width: 1199px) { .portfolio-track { --per-view: 3; } }
@media (max-width: 767px)  { .portfolio-track { --per-view: 2; } }
@media (max-width: 575px)  { .portfolio-track { --per-view: 1; } }

.book-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 300px;
  margin: auto;
  padding: 20px;
  border: 1px solid rgba(31, 30, 36, .1);
  border-radius: 12px;
  text-align: center;
}
.book-card__img { width: 100%; height: 350px; object-fit: contain; }
.book-card .art-placeholder { width: 100%; height: 350px; aspect-ratio: auto; }

.book-card__content { flex-grow: 1; padding: 16px 0; }
.book-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  color: #1F1E24;
  margin: 0 0 12px;
}
.book-card__content p {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: #1F1E24;
  margin: 0;
}

.book-card__btn {
  display: block;
  margin-top: auto;
  padding: 6px 10px;
  /* Bootstrap's .btn carries a transparent 1px border on the reference; it is
     what makes this 34px rather than 32px. */
  border: 1px solid transparent;
  border-radius: 50px;
  background: #1B2E63;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  transition: background .2s;
}
.book-card__btn:hover { background: #1B2E63; }

.portfolio-cta { display: flex; justify-content: center; margin-top: 50px; }

/* --- FAQ + lead form -----------------------------------------------------
   The two-column FAQ/enquiry block (faq-form.php) runs on the homepage and
   About. The .lead-form__* rules under it are also pulled in by inline-form.php
   on every service page, so none of this can live in a page stylesheet. */
.faq-block__grid {
  display: grid;
  /* The reference runs Bootstrap col-sm-7 / col-sm-5 (648 / 463 in a 1110 row)
     with its 30px gutter, so the FAQ column is the wider of the two. */
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  align-items: start;
}
@media (max-width: 940px) { .faq-block__grid { grid-template-columns: 1fr; } }
/* Grid and flex children default to min-width:auto, which lets wide form
   controls and long unbroken strings push a column past its track. */
.faq-block__col { min-width: 0; }
.faq-block__rule { display: block; height: 4px; background: var(--navy-800); border-radius: 2px; margin-top: var(--sp-5); }
.faq-block__contact-label { display: block; font-size: var(--fs-lede); font-weight: 600; color: var(--navy-600); }

.lead-form-shell {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.lead-form__grid { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 480px) { .lead-form__row { grid-template-columns: 1fr; } }
.lead-form__services { border: 0; padding: 0; margin: 0; }
.lead-form__services .field__label { margin-bottom: var(--sp-3); display: block; }

/* --- Eyebrow pill
   Hero/section lead-in pill. Used by the stub pages, blog, contact and the
   packages hero modifier, none of which load home.css. */
.eyebrow-pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--navy-700);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 20px;   /* holds the pill at the reference's 40px height */
  letter-spacing: .01em;
  margin-bottom: 26px;
}

/* --- Services grid + CTA band
   Ported from australianbookpublishers.com.au. Both partials (services.php,
   cta-banner.php) also run on the services index, and .pill-btn is used by
   the portfolio carousel on About. */
/* --- Fold 4a · Services --------------------------------------------------- */
/* Ported from australianbookpublishers.com.au. Bootstrap grid reproduced by
   hand: 1320px container, .row at -15px, four .col at 25% / 0 15px. */
.svc-area { background: #FBF7F0; padding: 50px 0; }
.svc-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 15px; }

.svc-title-wrap { text-align: center; margin-bottom: 20px; }
.svc-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 72px;
  color: #1B2E63;
  margin: 0 0 8px;
}
.svc-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-lede);
  font-weight: 500;
  line-height: 30px;
  color: #16265C;
  margin: 0;
}

.svc-row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.svc-col { width: 25%; padding-inline: 15px; }

.svc-item {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 25px;
  border: 1px solid rgba(14, 26, 69, .1);
}
.svc-item__icon { padding-bottom: 14px; }
/* Gold line-art tile, per the client theme. gold-600 rather than gold-500:
   an icon is a graphical object and needs 3:1, which 500 does not clear on a
   light ground. */
.svc-icon-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-100);
  color: var(--gold-700);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.svc-icon-badge svg { width: 30px; height: 30px; stroke-width: 1.6; }
.svc-item:hover .svc-icon-badge {
  background: var(--navy-700);
  color: var(--gold-400);
  transform: translateY(-2px);
}
.svc-icon { width: 70px; height: auto; }

/* flex-grow on the content is what pushes the rule and the link to a common
   baseline across every card in a row */
.svc-item__content {
  flex-grow: 1;
  margin-bottom: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(14, 26, 69, .1);
}
.svc-item__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -.34px;
  color: #0E1A45;
  margin: 0 0 16px;
}
.svc-item__content p {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: -.17px;
  color: rgba(17, 16, 19, .7);
  margin: 0 0 15px;
}
/* Fixed 26px row. Left to inherit, the body's 1.65 line-height plus the
   inline-block arrow's descender push this block to 28px, which then makes
   every card two pixels too tall. */
.svc-item__btn { height: 26px; line-height: 26px; }
.svc-item__btn a {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  color: #0E1A45;
  text-transform: uppercase;
}
.svc-item__btn a span { margin-left: 4px; display: inline-block; transform: translateY(2px); }

/* The reference's underline-on-hover: a zero-width gradient that grows in. */
.tp-line {
  display: inline;
  transition: .3s linear;
  background-repeat: no-repeat;
  background-size: 0% 1px, 0 1px;
  background-position: 100% 100%, 0 100%;
  background-image: linear-gradient(currentcolor, currentcolor), linear-gradient(currentcolor, currentcolor);
}
.tp-line:hover { background-size: 0% 1px, 100% 1px; }

@media (max-width: 1199px) { .svc-col { width: 33.3333%; } }
@media (max-width: 991px)  { .svc-col { width: 50%; } }
@media (max-width: 767px)  {
  .svc-col { width: 100%; }
  .svc-title { line-height: 46px; }
  .svc-subtitle { line-height: 26px; }
}

/* --- Fold 4b · CTA band --------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 0 80px;
  background: var(--navy-900);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/banners/cta-bg.webp") center / cover no-repeat;
}
.cta-band__container {
  width: 100%;
  max-width: 1230px;
  margin-inline: auto;
  padding-inline: 15px;
}
/* container 1200 content → row +15 either side → 1230 → col-xl-10 is
   83.3333% of that (1025), less its own 15px gutters = 995px of text. */
.cta-band__row { display: flex; justify-content: center; margin-inline: -15px; }
/* No margin-bottom here: on the reference the heading's own 20px collapses
   through this box. As a flex item it cannot collapse, so the 20px is left on
   the heading alone rather than being applied twice. */
.cta-band__title-box { width: 83.3333%; padding-inline: 15px; text-align: center; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 60px;
  color: #fff;
  margin: 0 0 20px;
}
.cta-band__title a { color: inherit; }

.cta-band__btns { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* 60px pill with a 48px circular glyph, and the reference's label that swaps
   on hover by sliding a duplicate up from below. */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 22px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
}
.pill-btn--fill {
  background: linear-gradient(230deg, var(--red-grad-a) 30%, var(--red-grad-b) 100%);
  border: 1px solid rgba(255, 255, 255, .04);
}
.pill-btn--outline { background: transparent; border: 1px solid #A32833; }

.pill-btn__label { position: relative; z-index: 1; overflow: hidden; display: inline-block; }
.pill-btn__label .text-1 { position: relative; display: block; transition: .3s; transform: translateY(-1px); }
.pill-btn__label .text-2 { position: absolute; top: 100%; display: block; transition: .3s; transform: translateY(-1px); }
.pill-btn:hover .text-1 { transform: translateY(-150%); }
.pill-btn:hover .text-2 { top: 50%; transform: translateY(-50%); }

.pill-btn i {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  margin-left: 2px;
}
.pill-btn--fill i    { background: #fff; color: #A32833; }
.pill-btn--outline i { background: #A32833; color: #fff; }
.pill-btn i svg { transition: transform .2s ease-out; }
.pill-btn:hover i svg { transform: translate(2px, -2px); }

@media (max-width: 767px) {
  .cta-band { padding: 60px 0 50px; }
  .cta-band__title { line-height: 40px; }
  .cta-band__title-box { max-width: 100%; }
}

/* --- Logo strip title
   The marquee heading — service pages and the homepage fold 2 both use it. */
.brand-area__title {
  text-align: center;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--text-dark);
}

/* --- Quote request dialog -------------------------------------------------
   Opened by any [data-quote-open]. Lives in components.css because more than
   one page can carry the trigger. */
.qmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--sp-5);
}
.qmodal[hidden] { display: none; }
.qmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 69, .62);
  backdrop-filter: blur(3px);
  animation: qmodalFade .2s var(--ease) both;
}
@keyframes qmodalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qmodalRise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.qmodal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - var(--sp-8));
  overflow-y: auto;
  padding: 34px 34px 30px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 40px 90px -30px rgba(14, 26, 69, .55);
  animation: qmodalRise .28s var(--ease) both;
}
/* A red rule across the top edge, echoing the packages cards. */
.qmodal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--red-grad-a), var(--red-grad-b));
}

.qmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--navy-700);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.qmodal__close svg { width: 16px; height: 16px; }
.qmodal__close:hover { background: var(--red-500); color: #fff; transform: rotate(90deg); }

.qmodal__head { margin-bottom: 22px; padding-right: 44px; }
.qmodal__head .eyebrow-pill { margin-bottom: 12px; }
.qmodal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--navy-700);
}
.qmodal__lede {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--muted);
}
/* Names the tier the visitor clicked from. */
.qmodal__pkg {
  display: inline-block;
  margin: 14px 0 0;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--lilac);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--navy-700);
}
.qmodal__pkg[hidden] { display: none; }

.qmodal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qmodal__field { display: block; margin-bottom: 16px; }
.qmodal__field > span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--navy-700);
}
.qmodal__field > span b { color: var(--red-500); }
.qmodal__field input,
.qmodal__field select,
.qmodal__field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.qmodal__field textarea { resize: vertical; min-height: 96px; }
.qmodal__field input::placeholder,
.qmodal__field textarea::placeholder { color: var(--muted); opacity: .75; }
.qmodal__field input:focus,
.qmodal__field select:focus,
.qmodal__field textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px var(--red-100);
}

.qmodal__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  background: var(--red-500);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.qmodal__submit:hover { background: var(--red-600); transform: translateY(-2px); }
.qmodal__submit-icon {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.qmodal__submit-icon svg { width: 12px; height: 12px; }
.qmodal__note {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-size: var(--fs-nano);
  line-height: 1.55;
  color: var(--muted);
}
.qmodal__form .form-status { margin-bottom: 12px; font-size: var(--fs-small); }

body.is-locked .qmodal { overflow: visible; }

@media (max-width: 560px) {
  .qmodal { padding: var(--sp-4); }
  .qmodal__dialog { padding: 28px 20px 24px; border-radius: 14px; }
  .qmodal__row { grid-template-columns: 1fr; gap: 0; }
  .qmodal__head { padding-right: 40px; }
}

/* --- Review platform badge ------------------------------------------------
   Used wherever a review platform is credited. These platforms' logos are
   their trademarks, so the badge pairs a neutral sprite icon with the name
   rather than imitating their mark. */
.rbadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  line-height: 1;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a:hover > .rbadge { border-color: var(--navy-600); box-shadow: var(--sh-sm); }
.rbadge__mark {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--navy-700);
}
.rbadge__mark svg { width: 14px; height: 14px; }
.rbadge__text { display: grid; gap: 3px; }
.rbadge__name {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--navy-700);
}
.rbadge__score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-nano);
  font-weight: 600;
  color: var(--muted);
}
.rbadge__score svg { width: 11px; height: 11px; color: var(--gold-600); }

/* On the dark service banner the badge inverts. */
.publishing-banner-section .rbadge,
.section--navy .rbadge {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
}
.publishing-banner-section .rbadge__mark,
.section--navy .rbadge__mark { background: rgba(255, 255, 255, .12); color: #fff; }
.publishing-banner-section .rbadge__name,
.section--navy .rbadge__name { color: #fff; }
.publishing-banner-section .rbadge__score,
.section--navy .rbadge__score { color: rgba(255, 255, 255, .75); }
