/* Tasman Publishers — structural recreation stylesheet */
:root {
  --navy: #132B4E;
  --navy-2: #0F2340;
  --navy-deep: #132b4e;
  --cream: #F4F0EA;
  --cream-2: #EFE9DF;
  --mint: #E8F5E4;
  --grey: #F2F2F2;
  --teal: #4ED8C8;
  --teal-2: #33BBAC;
  --sky: #7FC4EC;
  --text: #101828;
  --muted: #4A5567;
  --line: rgba(19, 43, 78, .16);
  --white: #fff;
  --serif: "Spectral", Georgia, serif;
  --sans: "Mulish", Arial, sans-serif;
  --r: 26px;
  --pill: 999px;
  --sh-sm: 0 4px 14px rgba(11, 17, 48, .08);
  --sh: 0 12px 34px rgba(11, 17, 48, .14);
  --sh-lg: 0 24px 60px rgba(11, 17, 48, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;
  --head-h: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 10px)
}

body {
  margin: 0;
  background: var(--grey);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

body.lock {
  overflow: hidden
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.14;
  margin: 0
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem)
}

h2 {
  font-size: clamp(1.95rem, 4.2vw, 2.9rem)
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem)
}

h5 {
  font-size: 1.05rem
}

p {
  margin: 0 0 1.05rem
}

a {
  color: inherit;
  text-decoration: none
}

img,
svg {
  max-width: 100%;
  display: block
}

.wrap {
  width: min(1200px, 90vw);
  margin-inline: auto
}

.center {
  text-align: center
}

.center .lede {
  margin-inline: auto
}

.lede {
  max-width: 74ch;
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--teal);
  color: var(--navy-deep);
  padding: .7rem 1.1rem;
  z-index: 300
}

.skip:focus {
  left: 0;
  top: 0
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px
}

/* buttons */
.btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  background: #4ed8c8;
  color: #132b4e;
  border: 0;
  cursor: pointer;
  border-radius: var(--pill);
  padding: .5rem .55rem .5rem 1.2rem;
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.cta .arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #132b4e;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease)
}

.cta:hover {
  background: #132b4e;
  color: #4ed8c8;
  transform: translateY(-2px);
  box-shadow: var(--sh)
}

.cta:hover .arrow {
  transform: translateX(4px);
  background: #4ed8c8
}

/* Arrow icon: white on the navy circle, navy on the teal hover circle */
.cta .arrow svg {
  stroke: #fff;
  transition: stroke var(--dur) var(--ease)
}

.cta:hover .arrow svg {
  stroke: #132b4e
}

.cta--light {
  background: var(--white);
  color: var(--navy)
}

.icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease)
}

.icon-btn:hover {
  background: var(--teal);
  color: var(--navy-deep);
  transform: translateY(-2px)
}

.icon-btn svg {
  stroke: currentColor
}

.chat-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: #4ed8c8;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer
}

.chat-link:hover {
  color: var(--teal-2)
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid;
  border-radius: 50px;
  padding: 0.8rem 0.8rem;
}

.call-link:hover {
  color: var(--teal-2)
}

.sec-navy .chat-link,
.sec-navy .call-link {
  color: var(--white)
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  transition: box-shadow var(--dur) var(--ease)
}



.head-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--head-h)
}

.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto
}

.logo .word b {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: .07em;
  color: var(--sky);
  line-height: 1
}

.logo .word i {
  display: block;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .4em;
  color: var(--white);
  margin-top: .26rem
}

.head-actions {
  display: flex;
  align-items: center;
  gap: .6rem
}

.nav-desk {
  display: none
}

@media(min-width:1100px) {
  .nav-desk {
    display: block
  }

  .head-actions .hamburger {
    display: none
  }
}

.nav-desk>ul {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  list-style: none;
  margin: 0 1.4rem 0 0;
  padding: 0
}

.nav-desk a,
.nav-desk .dd-toggle {
  color: var(--white);
  font-size: .93rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .4rem 0;
  position: relative
}

.nav-desk a::after,
.nav-desk .dd-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right var(--dur) var(--ease)
}

.nav-desk a:hover::after,
.nav-desk li:hover .dd-toggle::after,
.nav-desk a[aria-current="page"]::after {
  right: 0
}

.chev {
  transition: transform var(--dur) var(--ease)
}

.has-dd {
  position: relative
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  min-width: 290px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  padding: .6rem;
  list-style: none;
  margin: .85rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px
}

.has-dd:hover .dropdown,
.has-dd.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none
}

.has-dd:hover .chev,
.has-dd.open .chev {
  transform: rotate(180deg)
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  padding: .6rem .85rem;
  border-radius: 10px;
  font-size: .94rem
}

.dropdown a::after {
  display: none
}

.dropdown a:hover {
  background: var(--cream)
}

.dropdown .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--navy)
}

/* mobile drawer */
.nav-mob {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 90vw);
  background: var(--navy);
  z-index: 130;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  padding: 1.1rem 1.3rem 3rem;
  overflow-y: auto
}

.nav-mob.open {
  transform: none
}

.nav-mob .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem
}

.nav-mob ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-mob>ul>li>a,
.nav-mob .acc-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--white);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: .92rem 0;
  font-size: 1.03rem;
  text-align: left;
  cursor: pointer
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease)
}

.acc-panel a {
  display: block;
  color: #CBD9E8;
  padding: .58rem 0 .58rem 1rem;
  font-size: .96rem
}

.acc-panel a:hover {
  color: var(--teal)
}

.acc-toggle[aria-expanded="true"] .chev {
  transform: rotate(180deg)
}

.mob-contact {
  margin-top: 1.8rem;
  color: #CBD9E8;
  font-size: .95rem
}

.mob-contact h5 {
  color: var(--teal);
  margin-bottom: .7rem
}

.mob-contact a {
  display: block;
  padding: .3rem 0;
  color: #CBD9E8
}

.mob-contact a:hover {
  color: var(--white)
}

.mob-social {
  display: flex;
  gap: 1.1rem;
  margin-top: 1rem;
  color: var(--white)
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 26, .6);
  opacity: 0;
  visibility: hidden;
  z-index: 120;
  transition: opacity .35s var(--ease), visibility .35s
}

.scrim.on {
  opacity: 1;
  visibility: visible
}

.wave {
  display: block;
  width: 100%;
  height: 20px;
  margin-top: -1px
}

/* heroes */
.hero {
  background: var(--cream);
  padding: 3rem 0 3.8rem;
  position: relative;
  overflow: hidden
}

.hero-art {
  position: absolute;
  right: -2%;
  top: 0%;
  width: min(437px, 56%);
  height: auto;
  opacity: 1;
  pointer-events: none;
}

.hero .inner {
  position: relative;
  max-width: min(1400px, 100%)
}

.hero h1 {
  max-width: 17ch
}

.hero p {
  max-width: 57ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--muted)
}

.hero .kicker {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.2rem
}

.hero .btn-row {
  margin-top: 1.9rem
}

.page-hero {
  background: var(--cream);
  padding: 2.8rem 0 3.4rem;
  position: relative;
  overflow: hidden
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  max-width: 20ch;
  position: relative
}

.page-hero p {
  max-width: 64ch;
  margin-top: 1.15rem;
  color: var(--muted);
  position: relative
}

.crumbs {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .9rem
}

.crumbs.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.crumbs span {
  opacity: .55;
  padding: 0 .35rem
}

/* marquee */
.marquee-sec {
  background: var(--cream);
  padding: 0 0 3rem
}

.marquee-sec h5 {
  font-size: 1.15rem;
  margin-bottom: 1.2rem
}

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 26s linear infinite
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.marquee-track>* {
  flex: none
}

@keyframes slide {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.ph-logo {
  width: 150px;
  height: 56px;
  border: 1px dashed #bdb8ad;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: .86rem;
  color: #8b8578;
  background: rgba(255, 255, 255, .4);
  text-align: center;
  padding: .3rem
}

.plat-sec {
  background: var(--grey);
  padding: 2.6rem 0
}

.plat-sec .ph-logo {
  width: 132px;
  height: 48px;
  background: #fff
}

/* sections */
section {
  padding: clamp(3rem, 5.6vw, 4.8rem) 0
}

.sec-cream {
  background: var(--cream)
}

.sec-mint {
  background: var(--mint)
}

.sec-navy {
  background: var(--navy);
  color: var(--white)
}

.sec-navy h2,
.sec-navy h3,
.sec-navy h5 {
  color: var(--white)
}

.sec-navy .lede {
  color: #C3D2E4
}

/* service cards (home) */
.svc-card {
  background: var(--cream-2);
  border-radius: var(--r);
  padding: 2.1rem 1.8rem 5.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh)
}

.svc-card h3 {
  font-size: 1.5rem;
  margin-bottom: .6rem
}

.svc-card p {
  max-width: 58ch;
  margin: 0 0 1rem;
  color: var(--muted)
}

.svc-card .doodle {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  opacity: .8
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px
}

.link-arrow:hover {
  color: var(--teal-2)
}

/* 3-card grid */
.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem
}

@media(min-width:700px) {
  .grid3 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1080px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* 4-card grid (service pages) */
.grid4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem
}

@media(min-width:700px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1080px) {
  .grid4 {
    grid-template-columns: repeat(4, 1fr)
  }
}

.card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh)
}

.card .ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--navy)
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: .5rem
}

.card p {
  margin: 0;
  font-size: .96rem;
  color: var(--muted)
}

.sec-cream .card {
  background: var(--white)
}

/* detail blocks */
.blocks {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.2rem
}

@media(min-width:820px) {
  .blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.4rem
  }
}

.block h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem
}

.block p {
  margin: 0;
  color: var(--muted);
  font-size: .97rem
}

/* split intro */
.split {
  display: grid;
  gap: 2.2rem;
  align-items: center
}

@media(min-width:960px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.2rem
  }
}

.split .art {
  border-radius: var(--r);
  aspect-ratio: 4/3
}

.ticks {
  list-style: none;
  margin: 1.3rem 0 1.6rem;
  padding: 0
}

.ticks li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .75rem;
  color: var(--muted)
}

.ticks svg {
  flex: none;
  margin-top: .28rem
}

.ticks b {
  color: var(--text)
}

.label {
  font-family: var(--serif);
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
  margin: 0.4rem 0 .2rem
}

/* process */
.proc-head {
  position: relative;
  text-align: center
}

.hand {
  position: absolute;
  top: 0;
  width: 120px;
  opacity: .6;
  pointer-events: none
}

.hand.l {
  left: 0
}

.hand.r {
  right: 0
}

@media(max-width:820px) {
  .hand {
    display: none
  }
}

.step {
  border-left: 2px solid var(--navy);
  padding: 0 0 2.3rem 1.7rem;
  margin-left: .3rem
}

.step:last-child {
  border-left-color: transparent
}

.step .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  display: block
}

.step h3 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  margin: .2rem 0 .55rem
}

.step p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted)
}

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.3rem 1.6rem;
  margin-top: 2.5rem;
  text-align: center
}

@media(min-width:940px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr)
  }
}

.pillars h3 {
  font-size: 1.35rem;
  margin: .85rem 0 .5rem
}

.pillars p {
  font-size: .96rem;
  margin: 0;
  color: var(--muted)
}

.pillars svg {
  margin-inline: auto
}

.sec-navy .pillars p {
  color: #C3D2E4
}

/* portfolio carousel */
.folio {
  position: relative;
  margin-top: 2.4rem
}

.folio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin
}

@media(min-width:700px) {
  .folio-track {
    grid-auto-columns: minmax(200px, 1fr)
  }
}

.folio-track>* {
  scroll-snap-align: start
}

.cover {
  aspect-ratio: 2/3;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: #fff;
  box-shadow: var(--sh);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.cover:hover {
  transform: translateY(-8px) rotate(-1.2deg);
  box-shadow: var(--sh-lg)
}

.cover em {
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85
}

.cover strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.12
}

.cover small {
  font-size: .7rem;
  letter-spacing: .1em;
  opacity: .85
}

.folio-nav {
  display: flex;
  gap: .7rem;
  justify-content: center;
  margin-top: 1rem
}

.arrowbtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: none;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease)
}

.arrowbtn:hover {
  background: var(--navy);
  color: #fff
}

/* testimonials */
.carousel {
  max-width: 820px;
  margin: 2.3rem auto 0;
  position: relative
}

.slide {
  border: 1.5px solid var(--navy);
  border-radius: 34px;
  padding: 2.3rem 2rem;
  text-align: center
}

.slide[hidden] {
  display: none
}

.slide h3 {
  font-size: 1.55rem;
  margin-bottom: .65rem
}

.slide p {
  margin: 0;
  color: var(--muted)
}

.slide .role {
  display: block;
  margin-top: .85rem;
  font-size: .88rem;
  color: var(--muted);
  opacity: .85
}

.car-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem
}

.dots {
  display: flex;
  gap: .5rem
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #C7CAD1;
  cursor: pointer;
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease)
}

.dots button[aria-selected="true"] {
  background: var(--navy);
  width: 26px;
  border-radius: 6px
}

/* faq */
.faq {
  max-width: 840px;
  margin: 2rem auto 0
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy)
}

.plus {
  transition: transform .3s var(--ease);
  flex: none
}

.faq-item button[aria-expanded="true"] .plus {
  transform: rotate(45deg)
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease)
}

.faq-panel p {
  padding: 0 0 1.05rem;
  margin: 0;
  color: var(--muted)
}

/* closing */
.closing {
  background: var(--mint);
  padding: clamp(3rem, 5.6vw, 4.4rem) 0 70px;
  text-align: center
}

.closing h2 {
  max-width: 20ch;
  margin-inline: auto
}

.closing p {
  max-width: 64ch;
  margin: 1.2rem auto;
  color: var(--muted)
}

.closing .btn-row {
  justify-content: center;
  margin-top: 1.7rem
}

/* forms */
.form-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--sh-sm)
}

.field {
  margin-bottom: 1rem
}

.field label {
  display: block;
  font-size: .89rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem
}

.req {
  color: #C2452D
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .82rem .92rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease)
}

.field textarea {
  min-height: 128px;
  resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(78, 216, 200, .2);
  outline: none
}

.field .err {
  display: none;
  color: #C2452D;
  font-size: .85rem;
  margin-top: .32rem
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #C2452D
}

.field.invalid .err {
  display: block
}

.form-status {
  margin-top: 1rem;
  padding: .88rem 1rem;
  border-radius: 12px;
  font-size: .94rem;
  display: none
}

.form-status.show {
  display: block
}

.form-status.ok {
  background: #E6F7EF;
  color: #12603F;
  border: 1px solid #A7E0C6
}

.form-status.bad {
  background: #FDECEA;
  color: #8E2B1D;
  border: 1px solid #F2BDB5
}

.cta[aria-busy="true"] {
  opacity: .75;
  pointer-events: none
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* chip multi-select (promo modal) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
  border: 0
}

.chips legend {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 0
}

.chip {
  position: relative
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer
}

.chip span {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  padding: .42rem .85rem;
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease)
}

.chip input:checked+span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.chip input:focus-visible+span {
  outline: 3px solid var(--teal);
  outline-offset: 2px
}

.chipset {
  margin: 0 0 1.3rem;
  border: 0;
  padding: 0
}

.chipset.invalid .chip span {
  border-color: #C2452D
}

.chipset .err {
  display: none;
  color: #C2452D;
  font-size: .85rem;
  margin-top: .45rem
}

.chipset.invalid .err {
  display: block
}

/* modal */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 26, .66);
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s
}

.modal-scrim.open {
  opacity: 1;
  visibility: visible
}

.modal {
  background: var(--white);
  border-radius: 24px;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: var(--sh-lg);
  transform: translateY(26px) scale(.97);
  transition: transform .38s var(--ease)
}

.modal-scrim.open .modal {
  transform: none
}

.modal .close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer
}

.modal .close:hover {
  background: var(--cream)
}

.modal h2 {
  font-size: 1.7rem;
  margin-bottom: .35rem
}

.modal .tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.4rem
}

.modal p {
  color: var(--muted);
  font-size: .96rem
}

/* contact */
.contact-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem
}

.contact-list .ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--navy)
}

.contact-list b {
  display: block;
  color: var(--navy)
}

.contact-list a:hover {
  color: var(--teal-2)
}

.map {
  border: 0;
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  margin-top: 2.4rem
}

@media(max-width:700px) {
  .map {
    aspect-ratio: 4/3
  }
}

/* footer */
footer {
  background: var(--navy);
  color: #fff;
  padding: 0 0 2rem
}

.foot-logo {
  display: flex;
  justify-content: center;
  padding-bottom: .5rem
}

.socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: .3rem 0 2rem;
  color: #fff
}

.socials a {
  opacity: .88;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease)
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-3px)
}

.frow {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.05rem
}

.frow .ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  flex: none;
  color: #fff
}

.frow b {
  display: block;
  color: var(--teal)
}

.frow a:hover {
  color: var(--teal)
}

.foot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
  margin-top: 2.1rem;
  font-size: 1rem
}

@media(min-width:900px) {
  .foot-links {
    grid-template-columns: repeat(4, 1fr)
  }
}

.foot-links a {
  opacity: .92
}

.foot-links a:hover {
  color: var(--teal)
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin-top: 2.3rem;
  padding-top: 1.35rem;
  text-align: center;
  font-size: .92rem;
  opacity: .88
}


/* Compact footer */
footer {
  padding: 0 0 1rem;
}

footer .wrap {
  padding-top: 0;
}

.foot-logo {
  padding-bottom: 0;
}

.foot-logo .logo-img {
  height: 42px;
}

.socials {
  gap: 1.2rem;
  padding: .2rem 0 1.2rem;
}

.frow {
  gap: .75rem;
  margin-bottom: .7rem;
}

.frow .ring {
  width: 42px;
  height: 42px;
}

.foot-links {
  gap: .7rem 1rem;
  margin-top: 1.3rem;
  font-size: .9rem;
}

.copyright {
  margin-top: 1.3rem;
  padding-top: .8rem;
  font-size: .8rem;
}

footer>.wave {
  height: 35px;
}

/* Final compact footer */
footer {
  padding: 0 0 1rem;
}

footer>.wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  align-items: start;
}

/* Logo */
.foot-logo {
  justify-content: flex-start;
  padding-bottom: .5rem;
}

.foot-logo .logo-img {
  height: 42px;
}

/* Social icons */
.socials {
  justify-content: flex-end;
  gap: 1.2rem;
  padding: .3rem 0 1rem;
}

/* Contact details */
.frow {
  gap: .75rem;
  margin-bottom: .6rem;
}

.frow .ring {
  width: 42px;
  height: 42px;
}

/* Footer links */
.foot-links {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem 2rem;
  margin-top: 1.2rem;
  font-size: .9rem;
}

/* Copyright */
.copyright {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  padding-top: .75rem;
  font-size: .8rem;
}

footer>.wave {
  height: 30px;
}

/* Mobile */
@media (max-width: 899px) {
  footer>.wrap {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .foot-logo,
  .frow,
  .socials,
  .foot-links,
  .copyright {
    grid-column: 1;
  }

  .socials {
    justify-content: flex-start;
  }

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


.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #3B82C4;
  border: 5px solid rgba(255, 255, 255, .35);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: var(--sh);
  cursor: pointer;
  transition: transform var(--dur) var(--ease)
}

.chat-fab:hover {
  transform: scale(1.06)
}

/* prose */
.prose {
  max-width: 78ch
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2.1rem 0 .65rem
}

.prose p,
.prose li {
  color: var(--muted)
}

.prose ul {
  padding-left: 1.2rem
}

.prose li {
  margin-bottom: .45rem
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .3s var(--ease), transform .3s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal.d1 {
  transition-delay: .05s
}

.reveal.d2 {
  transition-delay: .10s
}

.reveal.d3 {
  transition-delay: .15s
}

.reveal-l {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .3s var(--ease), transform .3s var(--ease)
}

.reveal-l.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }

  .reveal,
  .reveal-l {
    opacity: 1;
    transform: none
  }

  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center
  }
}

/* ---- image slots (drop-in replacements keep these dimensions) ---- */
.logo-img {
  height: 52px;
  width: auto
}

.nav-mob .logo-img {
  height: 42px
}

.foot-logo .logo-img {
  height: 62px
}

.marquee-track img.ph-logo {
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .5);
  object-fit: contain
}

.plat-sec .marquee-track img.ph-logo {
  background: #fff
}

img.cover {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover
}

img.art {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover
}

img.hero-art {
  position: absolute;
  right: 6%;
  width: min(380px, 56%);
  height: auto;
  opacity: 1;
  pointer-events: none
}

img.hand {
  position: absolute;
  top: 0;
  width: 120px;
  height: auto;
  opacity: .6;
  pointer-events: none
}

/* honeypot — hidden from people, visible to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden
}


/* =========================================
   PRIVACY POLICY PAGE
========================================= */

/* Override any global section styles */
/* =========================================
   LEGAL PAGES (terms, privacy, refunds)
   Long numbered documents, so they get a reading measure, a sticky
   table of contents and the studio type rather than raw browser defaults.
========================================= */

.lg-hero {
  position: relative;
  padding: 2.2rem 0 2.6rem;
  color: #fff;
  background:
    radial-gradient(760px 420px at 82% 10%, rgba(78, 216, 200, .16), transparent 62%),
    linear-gradient(160deg, #0F2340 0%, #132B4E 60%, #1B3A63 100%);
}

.lg-hero .crumbs,
.lg-hero .crumbs a,
.lg-hero .crumbs span {
  color: rgba(255, 255, 255, .7);
}

.lg-hero h1 {
  margin: .9rem 0 0;
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.1;
}

.lg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 1rem 0 0;
  color: #B4C3D6;
  font-size: .88rem;
}

.lg-meta b {
  color: #fff;
  font-weight: 600;
}

.lg-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.lg-switch a,
.lg-switch span {
  padding: .45rem 1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--pill);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.lg-switch a:hover {
  border-color: var(--teal);
  background: rgba(78, 216, 200, .14);
}

.lg-switch span[aria-current] {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--navy);
}

/* body */
.privacy-policy-page {
  padding: 2.6rem 0 3.4rem;
  background: var(--white);
}

.lg-grid {
  display: grid;
  gap: 2.4rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .lg-grid {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 3rem;
  }
}

/* Contents list: a collapsible box on a phone, a sticky sidebar once there
   is room for one. These documents run to 25 numbered sections, so a reader
   needs a way in on every screen size. */
.lg-toc {
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.lg-toc > summary {
  cursor: pointer;
  list-style: none;
}

.lg-toc > summary::-webkit-details-marker {
  display: none;
}

.lg-toc > summary::after {
  content: "";
  float: right;
  width: 8px;
  height: 8px;
  margin-top: .2rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}

.lg-toc[open] > summary::after {
  transform: rotate(-135deg);
}

.lg-toc[open] > summary {
  margin-bottom: .9rem;
}

@media (min-width: 1000px) {
  .lg-toc {
    position: sticky;
    top: calc(var(--head-h) + 1rem);
    max-height: calc(100vh - var(--head-h) - 3rem);
    padding: 0 .4rem 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  /* on the desktop layout it is a heading, not a control */
  .lg-toc > summary {
    pointer-events: none;
  }

  .lg-toc > summary::after {
    display: none;
  }
}

.lg-toc-title {
  margin: 0 0 .8rem;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lg-toc ol {
  display: grid;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}

.lg-toc a {
  display: block;
  padding: .38rem .8rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.lg-toc a:hover {
  color: var(--navy);
  border-left-color: var(--teal-2);
}

.lg-toc a.is-current {
  border-left-color: var(--teal-2);
  color: var(--navy);
  font-weight: 700;
}

/* the document itself */
.privacy-container {
  max-width: 74ch;
}

.privacy-heading {
  display: none; /* the hero carries the title now */
}

.privacy-policy-page .privacy-section {
  padding-top: 1.8rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 1rem);
}

.privacy-policy-page .privacy-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.privacy-policy-page .privacy-section h2 {
  margin: 0 0 .9rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.privacy-policy-page .privacy-section h3 {
  margin: 1.6rem 0 .6rem;
  color: var(--navy);
  font-size: 1.02rem;
}

.privacy-policy-page .privacy-section p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-policy-page .privacy-section p:last-child,
.privacy-policy-page .privacy-section li:last-child {
  margin-bottom: 0;
}

.privacy-policy-page .privacy-section strong,
.privacy-policy-page .privacy-section b {
  color: var(--navy);
}

.privacy-policy-page .privacy-section a {
  color: var(--teal-2);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.privacy-policy-page .privacy-section ul,
.privacy-policy-page .privacy-section ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.privacy-policy-page .privacy-section li {
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-policy-page .privacy-section li::marker {
  color: var(--teal-2);
}

.privacy-policy-page .privacy-section table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  font-size: .94rem;
}

.privacy-policy-page .privacy-section th,
.privacy-policy-page .privacy-section td {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.privacy-policy-page .privacy-section th {
  background: var(--cream-2);
  color: var(--navy);
  font-weight: 700;
}

/* questions panel at the end of the document */
.lg-help {
  margin-top: 2.6rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mint);
}

.lg-help h2 {
  margin: 0 0 .5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.lg-help p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}

.lg-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.lg-help-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.lg-help-links a:hover {
  transform: translateY(-2px);
  border-color: var(--teal-2);
}

.lg-back-top {
  display: inline-block;
  margin-top: 2rem;
  color: var(--teal-2);
  font-size: .9rem;
  font-weight: 600;
}
/* ===================================================
   Hero Section & Layout
=================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: #0f141d; /* Fallback dark background */
  padding: 4rem 1.5rem;
  box-sizing: border-box;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

/* Left Content */
.hero-content {
  flex: 1 1 55%;
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 2rem;
}

/* Button Group */
.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #132b4e;
  color: #4ed8c8;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-primary:hover {
  background: #4ed8c8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cta-primary .arrow {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.cta-primary:hover .arrow {
  transform: translateX(3px);
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #132b4e;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.call-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===================================================
   Right Column: Hero Form
=================================================== */
.hero-form-wrapper {
  flex: 1 1 420px;
  max-width: 440px;
  width: 100%;
}

.hero-form {
  background: #132b4e;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.hero-form .hp {
  display: none !important;
  visibility: hidden;
}

.hero-form h2 {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero-form p {
  font-size: 0.85rem;
  text-align: center;
  color: #ffffff;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

/* Form Fields */
.hero-form .field {
  margin-bottom: 0.75rem;
  width: 100%;
}

.hero-form .field input,
.hero-form .field select,
.hero-form .field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-form .field input:focus,
.hero-form .field select:focus,
.hero-form .field textarea:focus {
  border-color: #f59e0b;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.hero-form .field input::placeholder,
.hero-form .field select::placeholder,
.hero-form .field textarea::placeholder {
  color: #94a3b8;
}

/* Custom Phone Field */
.hero-form .field-phone {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-form .field-phone:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.hero-form .field-phone .phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.85rem;
  color: #94a3b8;
}

.hero-form .field-phone input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0.5rem;
}

/* Select Dropdown */
.hero-form .field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

.hero-form .field select option {
  background: #181b22;
  color: #ffffff;
}

.hero-form .field textarea {
  resize: vertical;
  min-height: 75px;
}

.hero-form .form-status {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Form Submit Button */
.hero-form .form-submit-cta {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
  background: #4ed8c8;
  color: #132b4e;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(78, 216, 200, 0.25);
}

.hero-form .form-submit-cta:hover {
  background: #132b4e;
  color: #4ed8c8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 43, 78, 0.35);
}

.hero-form .form-submit-cta:active {
  transform: translateY(0);
}

/* ===================================================
   Responsive Breakpoints
=================================================== */
@media (max-width: 992px) {
  .hero {
    padding: 3rem 1.25rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .btn-row {
    justify-content: center;
  }

  .hero-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .btn-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .call-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-form {
    padding: 1.5rem 1.15rem;
  }
}
/* Justified content for Privacy and Terms */
.privacy-policy-page p, .privacy-policy-page li { text-align: justify; }







/* ==========================================================================
   Illustration page (illustration.php) - playful studio look
   ========================================================================== */
.il {
  --coral: #F2836B;
  --sun: #F6C453;
  --lilac: #B9A6E8;
  --doodle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23132B4E' stroke-opacity='.09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 30l4 9 10 1-7 7 2 10-9-5-9 5 2-10-7-7 10-1z'/%3E%3Cpath d='M118 22c10 0 16 8 12 15s-15 5-15-2 8-8 11-3'/%3E%3Cpath d='M70 70l30 30M96 104l8 2-2-8M70 70l-4-4 4-4 4 4'/%3E%3Cpath d='M140 96c6-8 14-8 20 0s14 8 20 0'/%3E%3Ccircle cx='40' cy='126' r='11'/%3E%3Cpath d='M40 115v-6M52 126h6'/%3E%3Cpath d='M110 150c8-10 18-10 26 0'/%3E%3Cpath d='M150 150l6-12 6 12z'/%3E%3Cpath d='M10 88c6-6 12 6 18 0'/%3E%3C/svg%3E");
}

.il-hero {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 4.6rem;
  background: var(--doodle), linear-gradient(160deg, #E3F4EF 0%, #EEF6FB 55%, var(--cream) 100%);
}

.il-hero .wrap {
  position: relative;
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .il-hero .wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.il-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .95rem;
  border-radius: var(--pill);
  background: #fff;
  box-shadow: var(--sh-sm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}

.il-eyebrow svg {
  color: var(--coral);
}

.il-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-top: 1rem;
  max-width: 16ch;
}

.il-brush {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.il-brush::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: .02em;
  height: .42em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 20C60 6 140 4 296 12c-60 4-150 6-230 14' fill='none' stroke='%23F6C453' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.il-hero p.il-intro {
  max-width: 56ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.il-hero .btn-row {
  margin-top: 1.8rem;
}

.il-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.il-badges li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
}

.il-badges svg {
  color: var(--teal-2);
  flex: none;
}

.il-hero-side {
  position: relative;
  justify-self: center;
  width: min(460px, 100%);
}

.il-hero-covers {
  position: relative;
  z-index: 1;
  display: block;
  width: 82%;
  height: auto;
  margin: 0 auto -54px;
  filter: drop-shadow(0 16px 22px rgba(19, 43, 78, .22));
}

.il-form {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 4.2rem 1.6rem 1.5rem;
  box-shadow: var(--sh-lg);
  border-top: 6px solid var(--sun);
}

.il-form::before {
  content: "";
  position: absolute;
  inset: -6px 0 auto;
  height: 6px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--coral), var(--sun) 35%, var(--teal) 70%, var(--lilac));
}

.il-form h2 {
  font-size: 1.45rem;
  text-align: center;
}

.il-form-sub {
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  margin: .3rem 0 1.1rem;
}

.il-form .field {
  margin-bottom: .7rem;
}

.il-form .field input,
.il-form .field select,
.il-form .field textarea {
  padding: .72rem .9rem;
  font-size: .95rem;
  background: #FAFBFD;
}

.il-form .field textarea {
  min-height: 84px;
}

.il-form-btn {
  width: 100%;
  justify-content: space-between;
  margin-top: .3rem;
}

.il-form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .8rem;
}

.il-float {
  position: absolute;
  pointer-events: none;
  animation: il-bob 6s ease-in-out infinite;
}

.il-float--balloon {
  top: 1.4rem;
  right: 45%;
  width: 60px;
}

.il-float--palette {
  right: 3%;
  bottom: 1.4rem;
  width: 74px;
  animation-delay: -2s;
}

.il-float--star {
  top: 11%;
  right: 6%;
  width: 26px;
  animation-delay: -4s;
}

@media (max-width: 899px) {
  .il-float--star {
    display: none;
  }

  .il-hero .il-float--balloon {
    right: 4%;
    width: 48px;
  }
}

@keyframes il-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

/* feature strip */
.il-strip {
  background: #fff;
  padding: 2.2rem 0;
}

.il-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.il-strip li {
  display: flex;
  gap: .9rem;
  align-items: center;
}

.il-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.il-strip b {
  display: block;
  color: var(--navy);
  font-size: .98rem;
}

.il-strip .sub {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
}

.il-bg-sun { background: #FFF1D2; }
.il-bg-coral { background: #FDE2DB; }
.il-bg-lilac { background: #ECE6FB; }
.il-bg-mint { background: #DDF3EE; }

/* gallery */
.il-gallery {
  background: var(--doodle), var(--cream);
}

.il-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.il-head h2 {
  margin-inline: auto;
  max-width: 26ch;
}

.il-closing h2 {
  max-width: 24ch;
}

.il-head .lede {
  margin: 1rem auto 0;
}

.il-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 2rem 0 2.2rem;
}

.il-tab {
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  padding: .55rem 1.15rem;
  border-radius: var(--pill);
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform .2s;
}

.il-tab:hover {
  transform: translateY(-2px);
}

.il-tab[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.il-tab:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.il-grid {
  display: grid;
  gap: 1.6rem 1.3rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .il-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1050px) {
  .il-grid { grid-template-columns: repeat(4, 1fr); }
}

.il-art {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: .7rem .7rem .9rem;
  box-shadow: var(--sh-sm);
  transform: rotate(var(--tilt, -1.2deg));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.il-art:nth-child(even) {
  --tilt: 1.2deg;
}

.il-art:hover {
  transform: rotate(0) translateY(-6px) scale(1.02);
  box-shadow: var(--sh);
}

.il-art[hidden] {
  display: none;
}

.il-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 291 / 411;
  object-fit: cover;
  border-radius: 12px;
  background: var(--cream-2);
}

.il-art figcaption {
  margin-top: .7rem;
  padding: 0 .2rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.35;
}

.il-art figcaption b {
  display: block;
  color: var(--navy);
  font-size: .95rem;
}

/* process */
.il-steps {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
  position: relative;
}

@media (min-width: 900px) {
  .il-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .il-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 12%;
    right: 12%;
    border-top: 3px dashed rgba(19, 43, 78, .22);
  }
}

.il-steps li {
  position: relative;
  text-align: center;
  padding: 0 .4rem;
}

.il-step-ic {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 0 0 8px var(--grey);
}

.il-step-ic .n {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.il-steps h3 {
  font-size: 1.2rem;
}

.il-steps p {
  margin-top: .5rem;
  font-size: .95rem;
  color: var(--muted);
}

/* why cards */
.il-why {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .il-why { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .il-why { grid-template-columns: repeat(3, 1fr); }
}

.il-why article {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--c, var(--teal-2));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.il-why article:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.il-why .il-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.il-why h3 {
  font-size: 1.15rem;
  margin-top: .8rem;
}

.il-why p {
  margin-top: .45rem;
  font-size: .95rem;
  color: var(--muted);
}

/* closing with art */
.il-closing {
  position: relative;
  overflow: hidden;
  background: var(--doodle), var(--mint);
}

.il-closing .wrap {
  position: relative;
}

.il-closing .il-float--balloon {
  top: 2rem;
  right: auto;
  left: 6%;
}

.il-closing .il-float--palette {
  right: 6%;
  bottom: 2rem;
}

@media (max-width: 899px) {
  .il-closing .il-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .il-float {
    animation: none;
  }

  .il-art,
  .il-art:hover,
  .il-tab,
  .il-why article {
    transition: none;
  }
}

/* Popups: keep scrolling on small screens but hide the scrollbar */
.modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

/* "Let's Talk" popup - illustration page version */
.modal--il {
  width: min(540px, 100%);
  padding: 2.4rem 1.8rem 1.7rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23132B4E' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 30l4 9 10 1-7 7 2 10-9-5-9 5 2-10-7-7 10-1z'/%3E%3Cpath d='M118 22c10 0 16 8 12 15s-15 5-15-2 8-8 11-3'/%3E%3Cpath d='M140 96c6-8 14-8 20 0s14 8 20 0'/%3E%3Ccircle cx='40' cy='126' r='11'/%3E%3Cpath d='M110 150c8-10 18-10 26 0'/%3E%3C/svg%3E") top center / 180px no-repeat,
    linear-gradient(180deg, #EAF6F2 0, #fff 150px);
  overflow-x: hidden;
}

.modal--il::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #F2836B, #F6C453 35%, #4ED8C8 70%, #B9A6E8);
}

.modal--il h2 {
  font-size: 1.75rem;
  line-height: 1.15;
  max-width: 15ch;
}

.modal--il .tagline {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  max-width: 34ch;
}

.modal--il .field {
  margin-bottom: .8rem;
}

.modal--il .field label {
  font-size: .85rem;
  margin-bottom: .3rem;
}

.modal--il .field input,
.modal--il .field select,
.modal--il .field textarea {
  padding: .68rem .9rem;
  font-size: .95rem;
  background: #FAFBFD;
}

.modal--il .field textarea {
  min-height: 88px;
}

.modal--il .cta {
  width: 100%;
  justify-content: space-between;
  margin-top: .3rem;
}

.modal-il-art {
  position: absolute;
  pointer-events: none;
}

.modal-il-art--balloon {
  top: 1.1rem;
  right: 4.2rem;
  width: 38px;
  animation: il-bob 6s ease-in-out infinite;
}

.modal-il-art--palette {
  top: 4.6rem;
  right: 1.4rem;
  width: 52px;
  opacity: .9;
}

@media (max-width: 480px) {
  .modal-il-art--palette {
    display: none;
  }

  .modal--il h2 {
    font-size: 1.5rem;
    max-width: none;
    padding-right: 3.4rem;
  }

  .modal-il-art--balloon {
    top: 3.4rem;
    right: 1.3rem;
    width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-il-art--balloon {
    animation: none;
  }
}

/* Illustration page: floating decorative illustrations in section margins */
.il > section,
.il > .closing {
  position: relative;
  overflow: hidden;
}

.il > section > .wrap,
.il > .closing > .wrap {
  position: relative;
  z-index: 1;
}

.il-deco {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  animation: il-bob 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.il-deco--drift {
  animation: il-drift 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.il-deco--flutter {
  animation: il-flutter 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.il-deco--twinkle {
  animation: il-twinkle 3.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.il-deco--spin {
  animation: il-spin 40s linear infinite;
}

@keyframes il-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -8px); }
}

@keyframes il-flutter {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  25% { transform: translateY(-10px) rotate(4deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
  75% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes il-twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(.7) rotate(20deg); opacity: .6; }
}

@keyframes il-spin {
  to { transform: rotate(360deg); }
}

/* Side pieces fit inside the free margin beside the centred .wrap */
.il-deco--side {
  width: min(var(--w), calc((100% - min(1200px, 90vw)) / 2 - 20px));
}

/* Only where the side margins are wide enough not to touch content */
@media (max-width: 1279px) {
  .il-deco {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .il-deco {
    animation: none;
  }
}

/* ==========================================================================
   Book cover page (book-cover.php) - dark studio hero, 3D books on a shelf
   Builds on the .il-* components from the illustration page.
   ========================================================================== */
.bc-hero {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 4.4rem;
  color: #fff;
  background:
    radial-gradient(900px 520px at 80% 28%, rgba(78, 216, 200, .18), transparent 62%),
    radial-gradient(620px 420px at 8% 92%, rgba(246, 196, 83, .14), transparent 60%),
    linear-gradient(160deg, #0F2340 0%, #132B4E 55%, #1B3A63 100%);
}

.bc-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bc-hero .wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.bc-hero .crumbs,
.bc-hero .crumbs a,
.bc-hero .crumbs span {
  color: rgba(255, 255, 255, .72);
}

.bc-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-top: 1rem;
  max-width: 17ch;
}

.bc-intro {
  max-width: 56ch;
  margin-top: 1.2rem;
  color: #C9D6E8;
  font-size: 1.06rem;
}

.bc-hero .btn-row {
  margin-top: 1.8rem;
}

.bc-hero .chat-link {
  color: var(--teal);
}

.bc-hero .il-badges li {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.bc-hero .il-badges svg {
  color: var(--teal);
}

.bc-hero .il-form {
  color: var(--text);
}

/* 3D book */
.bc-book {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 3px 7px 7px 3px;
  background: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35), 0 3px 8px rgba(0, 0, 0, .2);
  transform: perspective(1000px) rotateY(-16deg);
  transform-origin: left center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.bc-book svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.bc-book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 7%;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(255, 255, 255, .2) 45%, rgba(0, 0, 0, .08));
}

.bc-book::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 38%);
  pointer-events: none;
}

.bc-flat {
  transform: none;
}

/* covers stacked above the hero form */
.bc-stack {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto -40px;
}

.bc-stack .bc-book {
  width: 30%;
  max-width: 130px;
  transform: rotate(-9deg) translate(14px, 12px);
}

.bc-stack .bc-book:nth-child(2) {
  z-index: 2;
  width: 34%;
  max-width: 148px;
  transform: translateY(-6px);
}

.bc-stack .bc-book:nth-child(3) {
  transform: rotate(9deg) translate(-14px, 12px);
}

/* bookshelf portfolio */
.bc-shelf {
  color: #fff;
  background:
    radial-gradient(800px 400px at 50% 0, rgba(78, 216, 200, .12), transparent 70%),
    linear-gradient(180deg, #0F2340, #132B4E);
}

.bc-shelf .il-head h2 {
  color: #fff;
}

.bc-shelf .il-head .lede {
  color: #C9D6E8;
}

.bc-shelf .il-tab {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.bc-shelf .il-tab[aria-pressed="true"] {
  background: #F6C453;
  border-color: #F6C453;
  color: #132B4E;
}

.bc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2.8rem;
  column-gap: 0;
}

@media (min-width: 700px) {
  .bc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1050px) {
  .bc-grid { grid-template-columns: repeat(4, 1fr); }
}

.bc-item {
  margin: 0;
}

.bc-item[hidden] {
  display: none;
}

.bc-spot {
  position: relative;
  padding: 0 17% 16px;
}

.bc-spot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: linear-gradient(#A57452, #6B4430);
  box-shadow: 0 12px 18px rgba(0, 0, 0, .4);
}

.bc-item:hover .bc-book {
  transform: perspective(1000px) rotateY(0) translateY(-8px);
  box-shadow: 0 28px 40px rgba(0, 0, 0, .45), 0 3px 8px rgba(0, 0, 0, .2);
}

.bc-item figcaption {
  text-align: center;
  margin-top: .9rem;
  padding: 0 .6rem;
  font-size: .86rem;
  color: #C9D6E8;
}

.bc-item figcaption b {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.bc-genre {
  display: inline-block;
  margin-top: .35rem;
  padding: .12rem .6rem;
  border-radius: var(--pill);
  background: rgba(78, 216, 200, .16);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bc-shelf .il-note {
  color: #9FB3C4;
  margin-top: 2.4rem;
}

/* shelf + thumbnail test */
.bc-thumb .wrap {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bc-thumb .wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.bc-sizes {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sh);
  padding: 2rem 1.6rem 1.6rem;
}

.bc-sizes-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.8rem;
}

.bc-size {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}

.bc-size .bc-book {
  margin: 0 auto .7rem;
}

.bc-size:nth-child(1) .bc-book { width: 150px; }
.bc-size:nth-child(2) .bc-book { width: 80px; }
.bc-size:nth-child(3) .bc-book { width: 42px; }

.bc-sizes p {
  text-align: center;
  margin-top: 1.2rem;
  font-size: .92rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .bc-sizes-row { gap: 1rem; }
  .bc-size:nth-child(1) .bc-book { width: 118px; }
  .bc-size:nth-child(2) .bc-book { width: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-book,
  .bc-item:hover .bc-book {
    transition: none;
  }
}

/* Book cover page: Canva cover images + open-book (front and back) effect */
.bc-book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.bc-spot {
  perspective: 1400px;
}

.bc-item {
  position: relative;
  cursor: pointer;
  outline: none;
}

.bc-item .bc-book {
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.bc-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bc-front {
  z-index: 2;
}

/* back cover sits folded behind the front, hinged on the spine (left edge) */
.bc-back {
  right: 100%;
  left: auto;
  width: 100%;
  border-radius: 7px 3px 3px 7px;
  transform-origin: right center;
  transform: rotateY(180deg);
  transition: transform .7s var(--ease);
  box-shadow: inset -14px 0 18px -12px rgba(0, 0, 0, .45);
}

.bc-back::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 8%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35));
  pointer-events: none;
}

/* open: face the reader, slide right and unfold the back cover to the left */
.bc-item:hover,
.bc-item:focus-visible,
.bc-item.is-open {
  z-index: 5;
}

.bc-item:hover .bc-book,
.bc-item:focus-visible .bc-book,
.bc-item.is-open .bc-book {
  transform: perspective(1400px) translateX(50%) translateY(-10px) scale(.94);
  box-shadow: 18px 30px 44px rgba(0, 0, 0, .45);
}

.bc-item:hover .bc-back,
.bc-item:focus-visible .bc-back,
.bc-item.is-open .bc-back {
  transform: rotateY(0deg);
  box-shadow: inset -14px 0 18px -12px rgba(0, 0, 0, .45), -18px 30px 44px rgba(0, 0, 0, .45);
}

.bc-item:focus-visible .bc-spot {
  outline: 3px solid var(--sky);
  outline-offset: 6px;
  border-radius: 8px;
}

@media (max-width: 699px) {
  .bc-item:hover .bc-book,
  .bc-item.is-open .bc-book {
    transform: perspective(1400px) translateX(50%) translateY(-8px) scale(.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-item .bc-book,
  .bc-back {
    transition: none;
  }
}

.bc-item .bc-book::before,
.bc-item .bc-book::after {
  z-index: 3;
  backface-visibility: hidden;
}

/* Book video page: trailer samples, phone reels and lightbox */
.bv-hero-media {
  position: relative;
  z-index: 1;
  width: 92%;
  margin: 0 auto -34px;
}

.bv-screen,
.bv-mini,
.bv-frame,
.bv-phone {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.bv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14);
}

.bv-screen img,
.bv-mini img,
.bv-frame img,
.bv-frame video,
.bv-phone-screen img,
.bv-phone-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bv-mini {
  position: absolute;
  right: -14px;
  bottom: -46px;
  z-index: 2;
  width: 25%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 4px solid #0B1130;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
  transform: rotate(5deg);
  transition: transform .35s var(--ease);
}

.bv-mini:hover,
.bv-mini:focus-visible {
  transform: rotate(0) scale(1.04);
}

.bv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  animation: bvPulse 2.2s ease-out infinite;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.bv-play svg {
  margin-left: 4px;
}

.bv-play--sm {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
}

.bv-play--sm svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

@keyframes bvPulse {
  0% { box-shadow: 0 0 0 0 rgba(78, 216, 200, .6); }
  100% { box-shadow: 0 0 0 22px rgba(78, 216, 200, 0); }
}

.bv-screen:hover .bv-play,
.bv-screen:focus-visible .bv-play,
.bv-frame:hover .bv-play,
.bv-frame:focus-visible .bv-play {
  transform: scale(1.1);
}

.bv-rec {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bv-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F2544B;
  animation: bvBlink 1.2s steps(2, start) infinite;
}

@keyframes bvBlink {
  to { visibility: hidden; }
}

/* sample reel */
.bv-reel {
  position: relative;
  color: #fff;
  background:
    radial-gradient(800px 420px at 50% 0, rgba(78, 216, 200, .12), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(242, 131, 107, .1), transparent 70%),
    linear-gradient(180deg, #0B1A31, #132B4E);
}

.bv-reel::before,
.bv-reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .13) 0 16px, transparent 16px 34px);
}

.bv-reel::before {
  top: 12px;
}

.bv-reel::after {
  bottom: 12px;
}

.bv-reel .il-head h2 {
  color: #fff;
}

.bv-reel .il-head .lede {
  color: #C9D6E8;
}

.bv-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .8rem;
  margin: 2.6rem 0 1.4rem;
  color: #fff;
  font-size: 1.25rem;
}

.bv-sub span {
  padding: .2rem .65rem;
  border-radius: var(--pill);
  background: #F6C453;
  color: var(--navy);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.bv-sub small {
  flex-basis: 100%;
  color: #9FB3C4;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 400;
}

@media (min-width: 700px) {
  .bv-sub small {
    flex-basis: auto;
  }

  .bv-sub small::before {
    content: "\2014\00a0";
  }
}

.bv-wide {
  display: grid;
  gap: 1.8rem 1.6rem;
}

@media (min-width: 640px) {
  .bv-wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .bv-wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bv-card {
  margin: 0;
}

.bv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.bv-frame:hover,
.bv-frame:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px rgba(0, 0, 0, .5), 0 0 0 2px var(--teal);
}

.bv-frame video,
.bv-phone-screen video {
  opacity: 0;
  transition: opacity .3s ease;
}

.bv-frame.is-playing video,
.bv-phone.is-playing video {
  opacity: 1;
}

.bv-frame.is-playing .bv-play {
  opacity: 0;
}

.bv-dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: .15rem .5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.bv-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  margin-top: .9rem;
  font-size: .86rem;
  color: #C9D6E8;
}

.bv-card figcaption b {
  flex-basis: 100%;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.bv-card .bc-genre {
  margin-top: 0;
}

.bv-kind {
  color: #9FB3C4;
}

.bv-tall {
  display: grid;
  gap: 2.4rem 1.6rem;
  justify-items: center;
}

@media (min-width: 700px) {
  .bv-tall {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }

  .bv-card--tall:nth-child(2) {
    transform: translateY(-22px);
  }
}

.bv-card--tall {
  width: min(270px, 100%);
}

.bv-card--tall figcaption {
  justify-content: center;
  text-align: center;
}

.bv-phone {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 38px;
  background: #0B1130;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease);
}

.bv-phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 64px;
  height: 17px;
  margin-left: -32px;
  border-radius: 10px;
  background: #0B1130;
}

.bv-phone:hover,
.bv-phone:focus-visible {
  transform: translateY(-6px) rotate(-1.5deg);
}

.bv-phone-screen {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 29px;
  background: #000;
}

.bv-ui {
  position: absolute;
  right: 10px;
  bottom: 18%;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.bv-ui i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}

.bv-reel .il-note {
  margin-top: 2.8rem;
  color: #9FB3C4;
  text-align: center;
}

/* formats */
.bv-formats-sec .wrap {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bv-formats-sec .wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.bv-formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bv-fmt {
  padding: 1.3rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sh-sm);
  text-align: center;
  font-size: .86rem;
  color: var(--muted);
}

.bv-fmt b {
  display: block;
  margin-top: .8rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.bv-shape-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
}

.bv-shape {
  position: relative;
  display: block;
  max-width: 100%;
  border: 3px solid var(--navy);
  border-radius: 10px;
  background: linear-gradient(145deg, #DDF3EE, #E3F1FB);
}

.bv-shape::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -6px;
  border-left: 16px solid var(--navy);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* lightbox */
.bv-lightbox {
  width: min(1100px, 92vw);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.bv-lightbox.is-tall {
  width: min(400px, 88vw);
}

.bv-lightbox::backdrop {
  background: rgba(6, 12, 24, .88);
  backdrop-filter: blur(4px);
}

.bv-lightbox video {
  display: block;
  width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.bv-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.bv-close:hover,
.bv-close:focus-visible {
  background: var(--teal);
  color: var(--navy);
}

.bv-lb-cap {
  margin: .9rem 0 0;
  color: #C9D6E8;
  font-size: .9rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .bv-play,
  .bv-rec i {
    animation: none;
  }
}

/* Author website page: sample site browser mockups, viewer, audiences, FAQ */
.aw-hero-media {
  position: relative;
  z-index: 1;
  width: 94%;
  margin: 0 auto -30px;
}

.aw-browser {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .12);
}

.aw-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #E9EDF3;
  border-bottom: 1px solid #D9DFE8;
}

.aw-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F2544B;
}

.aw-bar i:nth-child(2) {
  background: #F6C453;
}

.aw-bar i:nth-child(3) {
  background: #4ED8A0;
}

.aw-bar span {
  flex: 1;
  margin: 0 8px 0 10px;
  padding: 3px 10px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: #6B7A90;
  font-size: .7rem;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.aw-screen {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B0F17;
}

.aw-screen img,
.aw-device-screen img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

.aw-auto img {
  animation: awScroll var(--dur, 12s) ease-in-out infinite alternate;
}

.aw-auto--slow img {
  animation-delay: -3s;
}

@keyframes awScroll {
  0%, 12% { transform: translateY(0); }
  88%, 100% { transform: translateY(var(--shift, 0)); }
}

.aw-hover img {
  transition: transform 1.2s ease;
}

.aw-open:hover .aw-hover img,
.aw-open:focus-visible .aw-hover img {
  transform: translateY(var(--shift, 0));
  transition: transform var(--dur, 8s) linear;
}

.aw-device {
  position: absolute;
  right: -12px;
  bottom: -38px;
  z-index: 2;
  display: block;
  width: 23%;
  padding: 5px;
  border-radius: 20px;
  background: #0B1130;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .15);
}

.aw-device-screen {
  position: relative;
  display: block;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

/* samples */
.aw-samples {
  background:
    radial-gradient(rgba(19, 43, 78, .07) 1.2px, transparent 1.3px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F4F0EA, #EEF5F4);
}

.aw-grid {
  display: grid;
  gap: 3.6rem 2.6rem;
  margin-top: 2.6rem;
}

@media (min-width: 860px) {
  .aw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aw-card {
  margin: 0;
}

.aw-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 14px 0 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.aw-open .aw-browser {
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 22px 44px rgba(19, 43, 78, .22), 0 0 0 1px rgba(19, 43, 78, .1);
}

.aw-open:hover .aw-browser,
.aw-open:focus-visible .aw-browser {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px rgba(19, 43, 78, .28), 0 0 0 2px var(--teal);
}

.aw-device--card {
  right: 0;
  bottom: -26px;
  width: 21%;
  transition: transform .4s var(--ease);
}

.aw-open:hover .aw-device--card {
  transform: translateY(-12px) rotate(-2deg);
}

.aw-view {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  padding: .7rem 1.3rem;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  transform: translate(-50%, -30%);
  transition: opacity .3s ease, transform .3s var(--ease);
  pointer-events: none;
}

.aw-open:hover .aw-view,
.aw-open:focus-visible .aw-view {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (hover: none) {
  .aw-view {
    top: auto;
    bottom: 12px;
    left: 12px;
    opacity: .92;
    transform: none;
  }
}

.aw-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: .88rem;
}

.aw-card figcaption b {
  flex-basis: 100%;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.aw-card .bc-genre {
  margin-top: 0;
  background: rgba(51, 187, 172, .14);
  color: #16877B;
}

.aw-feats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex-basis: 100%;
}

.aw-feats span {
  padding: .2rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
}

.aw-samples .il-note {
  margin-top: 3rem;
  text-align: center;
}

/* audiences */
.aw-aud {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .aw-aud {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aw-aud article {
  padding: 2rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.aw-aud article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.aw-aud h3 {
  margin: 1.1rem 0 .5rem;
  font-size: 1.35rem;
}

.aw-aud p {
  color: var(--muted);
}

.aw-aud ul {
  display: grid;
  gap: .5rem;
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 600;
}

.aw-aud li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.aw-aud li svg {
  flex: none;
  color: var(--teal-2);
}

/* features band */
.aw-band {
  color: #fff;
  background:
    radial-gradient(700px 380px at 15% 0, rgba(78, 216, 200, .16), transparent 70%),
    radial-gradient(600px 380px at 90% 100%, rgba(246, 196, 83, .12), transparent 70%),
    linear-gradient(160deg, #0F2340, #132B4E);
}

.aw-band .il-head h2 {
  color: #fff;
}

.aw-band .il-head .lede {
  color: #C9D6E8;
}

.aw-feat-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .aw-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .aw-feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aw-feat-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem 1rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
}

.aw-feat-grid > div > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(78, 216, 200, .16);
  color: var(--teal);
}

.aw-feat-grid b {
  font-size: 1.05rem;
}

.aw-feat-grid small {
  color: #B4C3D6;
  font-size: .86rem;
}

/* FAQ */
.aw-faq {
  display: grid;
  gap: .8rem;
  max-width: 860px;
  margin: 0 auto;
}

.aw-faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.aw-faq summary {
  position: relative;
  padding: 1.15rem 3.4rem 1.15rem 1.4rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.aw-faq summary::-webkit-details-marker {
  display: none;
}

.aw-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}

.aw-faq details[open] summary::after {
  content: "\2212";
  background: var(--teal);
}

.aw-faq details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
}

/* viewer */
.aw-viewer {
  width: min(1120px, 94vw);
  max-width: none;
  height: min(88vh, 900px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #0F2340;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.aw-viewer[open] {
  display: flex;
  flex-direction: column;
}

.aw-viewer::backdrop {
  background: rgba(6, 12, 24, .82);
  backdrop-filter: blur(4px);
}

.aw-viewer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.aw-viewer-title {
  flex: 1;
  min-width: 12rem;
  font-size: .95rem;
}

.aw-viewer-tabs {
  display: flex;
  padding: 3px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .1);
}

.aw-viewer-tabs button {
  padding: .4rem 1rem;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.aw-viewer-tabs button[aria-pressed="true"] {
  background: var(--teal);
  color: var(--navy);
}

.aw-viewer-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.aw-viewer-close:hover,
.aw-viewer-close:focus-visible {
  background: var(--teal);
  color: var(--navy);
}

.aw-viewer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  scrollbar-width: thin;
}

.aw-viewer-frame {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.aw-viewer.is-mobile .aw-viewer-frame {
  max-width: 390px;
  border: 8px solid #0B1130;
  border-radius: 30px;
}

.aw-viewer-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .aw-auto img {
    animation: none;
  }
}

/* Formatting page: live typeset spreads, before/after, ebook reader, trim sizes */
.fm-spread {
  --paper: #FDFBF6;
  --ink: #1F1B16;
  --ar: 2 / 3;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  filter: drop-shadow(0 26px 34px rgba(19, 43, 78, .26));
}

.fm-page {
  position: relative;
  aspect-ratio: var(--ar);
  overflow: hidden;
  container-type: inline-size;
  background: var(--paper);
  color: var(--ink);
}

.fm-left {
  border-radius: 6px 0 0 6px;
  transform: perspective(2400px) rotateY(3deg);
  transform-origin: right center;
}

.fm-right {
  border-radius: 0 6px 6px 0;
  transform: perspective(2400px) rotateY(-3deg);
  transform-origin: left center;
}

.fm-left::after,
.fm-right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 14%;
  pointer-events: none;
}

.fm-left::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(60, 45, 25, .06) 55%, rgba(40, 28, 12, .22));
}

.fm-right::after {
  left: 0;
  background: linear-gradient(270deg, transparent, rgba(60, 45, 25, .06) 55%, rgba(40, 28, 12, .22));
}

.fm-in {
  --lh: 1.42;
  margin-top: 10.5cqw;
  height: calc(var(--lines, 25) * var(--lh) * 1em);
  overflow: hidden;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 3.55cqw;
  line-height: var(--lh);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.fm-left .fm-in {
  margin-left: 10cqw;
  margin-right: 8cqw;
}

.fm-right .fm-in {
  margin-left: 8cqw;
  margin-right: 10cqw;
}

.fm-in p {
  margin: 0;
}

.fm-in p + p {
  text-indent: 1.3em;
}

.fm-in .fm-first,
.fm-in .fm-noindent,
.fm-in .fm-break + p {
  text-indent: 0;
}

.fm-rh {
  position: absolute;
  top: 5.2cqw;
  left: 0;
  right: 0;
  font-size: 2.3cqw;
  letter-spacing: .18em;
  text-align: center !important;
  text-indent: 0 !important;
  text-transform: uppercase;
  color: #8A8177;
}

.fm-in .fm-folio {
  position: absolute;
  bottom: 5cqw;
  left: 0;
  right: 0;
  font-size: 2.6cqw;
  text-align: center;
  text-indent: 0;
  color: #8A8177;
}

.fm-sink {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: calc(var(--lh) * 6em);
  padding-bottom: calc(var(--lh) * 1em);
  text-align: center;
}

.fm-sink--sm {
  height: calc(var(--lh) * 4em);
}

.fm-ch-title {
  font-size: 6.2cqw;
  text-align: center !important;
}

.fm-ch-kicker {
  margin-bottom: .6em !important;
  font-size: 2.4cqw;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-indent: 0 !important;
  color: #8A8177;
}

.fm-drop {
  float: left;
  margin: .05em .09em -.1em 0;
  font-size: 4.3em;
  line-height: .78;
}

.fm-sc {
  font-variant: small-caps;
  letter-spacing: .06em;
}

.fm-break {
  margin: calc(var(--lh) * .5em) 0 !important;
  line-height: var(--lh);
  text-align: center !important;
  text-indent: 0 !important;
  color: #8A8177;
}

.fm-art {
  display: block;
  width: 100%;
  height: 100%;
}

/* full-bleed pages drop the text margins */
.fm-in:has(.fm-bleed),
.fm-in:has(.fm-photo) {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

/* thriller */
.fm-thriller .fm-ch-title,
.fm-thriller .fm-drop {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  color: #B8261D;
}

.fm-thriller .fm-ch-title {
  font-size: 5cqw;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.fm-bleed {
  position: absolute;
  inset: 0;
}

.fm-bleed-text {
  position: absolute;
  top: 20cqw;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.fm-bleed-text span {
  display: block;
  font-size: 3cqw;
  letter-spacing: .5em;
  opacity: .8;
}

.fm-bleed-text b {
  display: block;
  font-size: 17cqw;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .08em;
}

/* fantasy */
.fm-fantasy {
  --ar: 6 / 9;
  --paper: #FBF6EA;
}

.fm-fantasy .fm-rh,
.fm-fantasy .fm-pro,
.fm-fantasy .fm-drop {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
}

.fm-fantasy .fm-drop {
  color: #9C6A1E;
}

.fm-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.fm-center p {
  text-align: center;
  text-indent: 0 !important;
}

.fm-orn {
  font-size: 9cqw;
  line-height: 1;
  color: #A8762A;
}

.fm-pro {
  margin-top: 3cqw !important;
  font-size: 7.5cqw;
  letter-spacing: .08em;
}

.fm-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3cqw;
  margin: 3cqw 0 8cqw !important;
  font-size: 2.6cqw;
  color: #A8762A;
}

.fm-rule span {
  width: 16cqw;
  height: 1px;
  background: #C9A566;
}

.fm-epi {
  padding: 0 4cqw;
  font-style: italic;
  font-size: 3.8cqw;
}

.fm-epi-src {
  margin-top: 3cqw !important;
  font-size: 2.8cqw;
  font-variant: small-caps;
  letter-spacing: .06em;
  color: #7C7063;
}

/* romance */
.fm-romance {
  --ar: 5 / 8;
  --lines: 27;
  --paper: #FFFBF6;
}

.fm-ch-num {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 10cqw;
  line-height: 1;
  color: #B85C46;
  text-align: center !important;
  text-indent: 0 !important;
}

.fm-wave {
  margin-top: 2cqw !important;
  font-size: 4cqw;
  letter-spacing: .1em;
  color: #D9735B;
  text-align: center !important;
  text-indent: 0 !important;
}

/* picture book: one full-bleed spread */
.fm-spread--wide {
  display: block;
}

.fm-full {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 6px;
}

.fm-full::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 12%;
  background: linear-gradient(90deg, transparent, rgba(40, 28, 12, .16) 50%, transparent);
  pointer-events: none;
}

.fm-pb {
  position: absolute;
  inset: 0;
}

.fm-pb p {
  position: absolute;
  margin: 0;
  font-family: "Fredoka", "Mulish", sans-serif;
  font-weight: 600;
  font-size: 2.3cqw;
  line-height: 1.3;
  color: #23452B;
}

.fm-pb b {
  color: #E0662A;
  font-size: 1.25em;
}

.fm-pb-t1 {
  top: 5cqw;
  left: 5cqw;
  width: 36cqw;
}

.fm-pb-t2 {
  top: 12cqw;
  right: 5cqw;
  width: 30cqw;
  text-align: right;
}

/* cookbook */
.fm-cook {
  --ar: 4 / 5;
  --paper: #FFFFFF;
}

.fm-cook .fm-in {
  --lh: 1.5;
  --lines: 23;
  font-family: var(--sans);
  font-size: 2.9cqw;
  text-align: left;
  hyphens: manual;
}

.fm-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  overflow: hidden;
}

.fm-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 84%;
}

.fm-tab {
  position: absolute;
  left: 10cqw;
  right: 10cqw;
  bottom: 11cqw;
  padding-top: 4cqw;
  border-top: .5cqw solid #1B7F86;
  font-family: var(--serif);
  font-size: 7cqw;
  line-height: 1.05;
  color: #16505A;
}

.fm-kicker {
  font-size: 2.4cqw;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1B7F86;
}

.fm-rec {
  margin: 1.5cqw 0 3cqw !important;
  font-family: var(--serif);
  font-size: 6.2cqw;
  line-height: 1.08;
  color: #13303A;
  text-indent: 0 !important;
}

.fm-intro {
  font-style: italic;
  color: #4A5A60;
  text-indent: 0 !important;
}

.fm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6cqw;
  margin: 3.5cqw 0 !important;
  text-indent: 0 !important;
}

.fm-meta span {
  padding: .6cqw 2cqw;
  border-radius: 99px;
  background: #E3F2F1;
  color: #16505A;
  font-size: 2.3cqw;
  font-weight: 700;
}

.fm-cols {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4cqw;
  font-size: 2.55cqw;
}

.fm-h {
  margin-bottom: 1.5cqw !important;
  font-size: 2.3cqw;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1B7F86;
  text-indent: 0 !important;
}

.fm-cols ul,
.fm-cols ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm-cols li {
  padding: .8cqw 0;
  border-bottom: 1px dotted #C8D6D5;
}

.fm-cols ol {
  counter-reset: fmstep;
}

.fm-cols ol li {
  position: relative;
  padding-left: 4.5cqw;
  border: 0;
}

.fm-cols ol li::before {
  counter-increment: fmstep;
  content: counter(fmstep);
  position: absolute;
  left: 0;
  top: .8cqw;
  font-family: var(--serif);
  font-weight: 700;
  color: #E0662A;
}

/* non-fiction */
.fm-nf {
  --ar: 6 / 9;
}

.fm-nf .fm-sink {
  align-items: flex-start;
  height: calc(var(--lh) * 12em);
  text-align: left;
}

.fm-nf-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20cqw;
  line-height: 1;
  color: #F07B2C;
}

.fm-nf-title {
  margin-top: 2cqw !important;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 7.5cqw;
  line-height: 1.05;
  text-align: left;
  text-indent: 0 !important;
}

.fm-nf-sub {
  margin-top: 2cqw !important;
  font-style: italic;
  color: #5A5F69;
  text-align: left;
  text-indent: 0 !important;
}

.fm-pull {
  margin: 0;
  padding: 1cqw 0 1cqw 5cqw;
  border-left: 1.2cqw solid #F07B2C;
  font-size: 5cqw;
  font-style: italic;
  line-height: 1.25;
  text-align: left;
}

.fm-h2 {
  margin: 1cqw 0 2.5cqw !important;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 4.2cqw;
  text-align: left;
  text-indent: 0 !important;
}

.fm-bul {
  margin: 2.5cqw 0;
  padding: 0 0 0 5cqw;
  text-align: left;
}

.fm-bul li::marker {
  color: #F07B2C;
}

.fm-callout {
  margin-top: 3cqw;
  padding: 3cqw 4cqw;
  border-radius: 2cqw;
  background: #FFF1E6;
  font-size: .92em;
  text-align: left;
}

.fm-callout b {
  display: block;
  margin-bottom: 1cqw;
  font-family: var(--sans);
  font-size: 2.4cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #D4611C;
}

/* hero spread */
.fm-hero-book {
  position: relative;
  z-index: 1;
  width: 96%;
  margin: 0 auto -26px;
  transform: perspective(1400px) rotateX(10deg) rotate(-2deg);
}

.fm-spread--hero {
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45));
}

/* samples stage */
.fm-samples {
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #EFE9DF, #E6EEF0);
}

.fm-stage {
  margin-top: 2.4rem;
}

.fm-panel.is-active {
  animation: fmIn .5s var(--ease);
}

@keyframes fmIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.fm-spec {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem .8rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.fm-spec b {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.fm-samples .il-note {
  margin-top: 2.4rem;
  text-align: center;
}

/* before / after */
.fm-ba-sec .wrap,
.fm-ebook-sec .wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .fm-ba-sec .wrap {
    grid-template-columns: 1.1fr .9fr;
  }

  .fm-ebook-sec .wrap {
    grid-template-columns: .8fr 1.2fr;
  }
}

.fm-diff {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.fm-diff li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.fm-diff svg {
  flex: none;
  margin-top: .25rem;
  color: var(--teal-2);
}

.fm-ba {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 26px 50px rgba(19, 43, 78, .22), 0 0 0 1px rgba(19, 43, 78, .08);
  user-select: none;
}

.fm-ba-page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 6px;
}

.fm-ms {
  background: #fff;
  color: #111;
}

.fm-ms .fm-in {
  --lh: 2;
  --lines: 17;
  margin-left: 10cqw;
  margin-right: 10cqw;
  font-family: "Times New Roman", Times, serif;
  font-size: 3.4cqw;
  text-align: left;
  hyphens: manual;
}

.fm-ms .fm-in p + p {
  text-indent: 2.5em;
}

.fm-ms-ch {
  text-align: center;
}

.fm-ts {
  --paper: #FDFBF6;
  background: #FDFBF6;
  color: #1F1B16;
  clip-path: inset(0 0 0 var(--pos));
}

.fm-ts .fm-in {
  --lines: 27;
  margin-left: 10cqw;
  margin-right: 10cqw;
  font-size: 3.25cqw;
}

.fm-ba::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 3px;
  margin-left: -1.5px;
  background: var(--teal);
  pointer-events: none;
}

.fm-ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  pointer-events: none;
}

.fm-ba-tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: .25rem .7rem;
  border-radius: var(--pill);
  background: rgba(19, 43, 78, .85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

.fm-ba-tag--l {
  left: 12px;
}

.fm-ba-tag--r {
  right: 12px;
  background: var(--teal);
  color: var(--navy);
}

.fm-ba-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.fm-ba:has(.fm-ba-range:focus-visible) {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

/* ebook reader */
.fm-ebook-sec {
  background: var(--mint);
}

.fm-reader {
  --fs: 1;
  display: flex;
  flex-direction: column;
  width: min(360px, 100%);
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #0B1130;
  border-radius: 38px;
  box-shadow: 0 30px 60px rgba(19, 43, 78, .3);
  transition: background .3s ease, color .3s ease;
}

.fm-reader.is-light {
  background: #fff;
  color: #1D1A17;
}

.fm-reader.is-sepia {
  background: #F5EBD7;
  color: #4B3A28;
}

.fm-reader.is-night {
  background: #121418;
  color: #D6D2C8;
}

.fm-reader-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 18px 16px 10px;
  font-size: .75rem;
  font-weight: 700;
  opacity: .9;
}

.fm-reader-ctl {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fm-reader-ctl button {
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
  opacity: .8;
}

.fm-reader-ctl .fm-sw {
  min-width: 22px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  opacity: 1;
}

.fm-sw--light { background: #fff; border-color: #bbb; }
.fm-sw--sepia { background: #F5EBD7; border-color: #b9a27a; }
.fm-sw--night { background: #121418; border-color: #555; }

.fm-reader-ctl .fm-sw[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--teal);
}

.fm-reader-text {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 10px 22px 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: calc(18px * var(--fs));
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  transition: font-size .2s ease;
}

.fm-reader-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(transparent, currentColor);
  opacity: 0;
}

.fm-reader-text p {
  margin: 0;
}

.fm-reader-text p + p {
  text-indent: 1.2em;
}

.fm-reader-text .fm-noindent {
  text-indent: 0;
}

.fm-reader-ch {
  margin: .4em 0 1em !important;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5em;
  text-align: center;
  text-indent: 0 !important;
}

.fm-reader-foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px 16px;
  font-size: .7rem;
  opacity: .6;
}

/* trim sizes */
.fm-trims {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem 2.4rem;
  margin-top: 2rem;
}

.fm-trim {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

.fm-trim span {
  display: block;
  width: calc(var(--w) * 17px);
  height: calc(var(--h) * 17px);
  margin: 0 auto .8rem;
  border: 2px solid var(--navy);
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(90deg, #DDE6F1 0 7%, #fff 7%);
  box-shadow: 6px 8px 0 rgba(19, 43, 78, .08);
  transition: transform .3s var(--ease);
}

.fm-trim:hover span {
  transform: translateY(-6px);
}

.fm-trim b {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.fm-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  max-width: 860px;
  margin: 3rem auto 0;
  padding: 0;
  list-style: none;
}

.fm-platforms li {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
  box-shadow: var(--sh-sm);
}

/* phones: swipe between pages */
@media (max-width: 699px) {
  .fm-stage .fm-spread:not(.fm-spread--wide) {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    filter: none;
  }

  .fm-stage .fm-page {
    flex: 0 0 84%;
    scroll-snap-align: center;
    border-radius: 6px;
    transform: none;
    box-shadow: 0 14px 26px rgba(19, 43, 78, .2);
  }

  .fm-stage .fm-spread--wide {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .fm-stage .fm-full {
    min-width: 640px;
  }

  .fm-trim span {
    width: calc(var(--w) * 11px);
    height: calc(var(--h) * 11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-panel.is-active {
    animation: none;
  }
}

.fm-thriller .fm-sink {
  height: calc(var(--lh) * 5em);
}

.fm-after {
  margin-top: calc(var(--lh) * 1em) !important;
}

.fm-swipe {
  display: none;
  margin: .6rem 0 0;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 699px) {
  .fm-swipe {
    display: block;
  }
}

/* Audiobook page: studio card, sample players, narration styles, mastering, calculator */
.ab-studio {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: center;
  width: 92%;
  margin: 0 auto -28px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .35);
  color: #fff;
}

.ab-studio-cover {
  flex: none;
  width: 30%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .4);
}

.ab-studio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.ab-studio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}

.ab-studio-body b {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.ab-studio-meta {
  color: #C9D6E8;
  font-size: .8rem;
}

.ab-rec {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #F6C453;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ab-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F2544B;
  animation: bvBlink 1.2s steps(2, start) infinite;
}

.ab-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-top: .4rem;
}

.ab-eq i {
  flex: 1;
  height: 30%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), #7FC4EC);
  animation: abEq 1.1s ease-in-out infinite alternate;
  animation-delay: calc(var(--d) * -1);
}

@keyframes abEq {
  0% { height: 18%; }
  50% { height: 95%; }
  100% { height: 40%; }
}

.ab-studio-time {
  display: flex;
  justify-content: space-between;
  color: #9FB3C4;
  font-size: .7rem;
}

.ab-mic {
  position: absolute;
  top: -44px;
  right: -8px;
  width: 44px;
  transform: rotate(14deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4));
}

/* samples */
.ab-samples {
  color: #fff;
  background:
    radial-gradient(800px 420px at 20% 0, rgba(78, 216, 200, .14), transparent 70%),
    radial-gradient(700px 420px at 100% 100%, rgba(185, 166, 232, .14), transparent 70%),
    linear-gradient(180deg, #0B1A31, #132B4E);
}

.ab-samples .il-head h2 {
  color: #fff;
}

.ab-samples .il-head .lede {
  color: #C9D6E8;
}

.ab-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

@media (min-width: 700px) {
  .ab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .ab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ab-card {
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.ab-card:hover,
.ab-card.is-playing {
  transform: translateY(-4px);
  border-color: rgba(78, 216, 200, .5);
  background: rgba(255, 255, 255, .08);
}

.ab-card-top {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ab-cover {
  flex: none;
  width: 74px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .4);
}

.ab-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-card .bc-genre {
  margin-top: 0;
}

.ab-card h3 {
  margin: .4rem 0 .1rem;
  color: #fff;
  font-size: 1.2rem;
}

.ab-by {
  margin: 0;
  color: #9FB3C4;
  font-size: .85rem;
}

.ab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 .5rem;
  padding: 0;
  list-style: none;
}

.ab-tags li {
  padding: .2rem .65rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pill);
  color: #E8EDF5;
  font-size: .75rem;
  font-weight: 600;
}

.ab-style {
  margin: 0;
  color: #C9D6E8;
  font-size: .88rem;
}

.ab-quote {
  flex: 1;
  margin: .9rem 0 1.1rem;
  padding-left: .9rem;
  border-left: 3px solid var(--teal);
  color: #E8EDF5;
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  line-height: 1.5;
}

.ab-player {
  --p: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .7rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
}

.ab-card {
  --p: 0;
}

.ab-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  cursor: pointer;
  transition: transform .2s ease;
}

.ab-btn:hover,
.ab-btn:focus-visible {
  transform: scale(1.08);
}

.ab-btn .ab-i-play {
  margin-left: 3px;
}

.ab-btn .ab-i-pause,
.ab-card.is-playing .ab-btn .ab-i-play {
  display: none;
}

.ab-card.is-playing .ab-btn .ab-i-pause {
  display: block;
}

.ab-wave {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2px;
  height: 36px;
  cursor: pointer;
}

.ab-wave i {
  flex: 1;
  height: var(--v);
  border-radius: 2px;
  background: rgba(255, 255, 255, .28);
}

.ab-card.is-ready .ab-wave {
  position: relative;
}

.ab-card.is-ready .ab-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, rgba(78, 216, 200, .0), rgba(78, 216, 200, .35));
  border-right: 2px solid var(--teal);
  pointer-events: none;
}

.ab-card.is-playing .ab-wave i {
  background: rgba(78, 216, 200, .7);
}

.ab-time {
  flex: none;
  min-width: 3.2rem;
  color: #C9D6E8;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ab-player--soon .ab-wave {
  cursor: default;
  opacity: .45;
}

.ab-soon {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: var(--pill);
  background: rgba(246, 196, 83, .16);
  color: #F6C453;
  font-size: .75rem;
  font-weight: 700;
}

.ab-audition {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: 2.4rem;
  padding: 1.5rem 1.8rem;
  border: 1px solid rgba(78, 216, 200, .35);
  border-radius: 20px;
  background: rgba(78, 216, 200, .08);
}

.ab-audition b {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.ab-audition span {
  color: #C9D6E8;
  font-size: .92rem;
}

.ab-samples .il-note {
  margin-top: 1.6rem;
  color: #9FB3C4;
  text-align: center;
}

/* narration styles */
.ab-styles {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .ab-styles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .ab-styles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ab-styles article {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.ab-styles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.ab-style-ic {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: var(--navy);
}

.ab-styles h3 {
  margin: 1.1rem 0 .5rem;
  font-size: 1.25rem;
}

.ab-styles p {
  flex: 1;
  color: var(--muted);
  font-size: .94rem;
}

.ab-best {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  color: var(--teal-2);
  font-size: .82rem;
  font-weight: 700;
}

/* mastering + calculator */
.ab-master-sec {
  background: var(--mint);
}

.ab-master-sec .wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ab-master-sec .wrap {
    grid-template-columns: 1.1fr .9fr;
  }
}

.ab-wf {
  display: grid;
  gap: .7rem;
  margin: 1.6rem 0;
}

.ab-wf-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  align-items: center;
  gap: .8rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}

.ab-wf-row svg {
  width: 100%;
  height: 42px;
}

.ab-wf-raw,
.ab-wf-master {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ab-wf-raw {
  stroke: #F2836B;
}

.ab-wf-master {
  stroke: var(--teal-2);
}

.ab-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-specs li {
  padding: .8rem 1rem;
  border-left: 3px solid var(--teal-2);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .7);
}

.ab-specs b {
  display: block;
  color: var(--navy);
  font-size: .9rem;
}

.ab-specs span {
  color: var(--muted);
  font-size: .82rem;
}

.ab-calc {
  padding: 2rem 1.8rem;
  border-radius: 24px;
  background: linear-gradient(160deg, #0F2340, #1B3A63);
  color: #fff;
  box-shadow: var(--sh-lg);
}

.ab-calc-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(78, 216, 200, .16);
  color: var(--teal);
}

.ab-calc h3 {
  margin: 1rem 0 .3rem;
  color: #fff;
  font-size: 1.4rem;
}

.ab-calc > p {
  margin: 0;
  color: #C9D6E8;
  font-size: .9rem;
}

.ab-calc-words {
  display: block;
  margin: 1.3rem 0 .6rem;
  color: #C9D6E8;
  font-size: .95rem;
}

.ab-calc-words output {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.ab-calc input[type="range"] {
  --fill: 38%;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal) var(--fill), rgba(255, 255, 255, .18) var(--fill));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.ab-calc input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  -webkit-appearance: none;
  appearance: none;
}

.ab-calc input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--teal);
}

.ab-calc input[type="range"]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 6px;
}

.ab-calc-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.4rem;
}

.ab-calc-out span {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  color: #C9D6E8;
  font-size: .8rem;
}

.ab-calc-out b {
  display: block;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.ab-calc-note {
  margin-top: 1rem !important;
  color: #9FB3C4 !important;
  font-size: .78rem !important;
}

.ab-platforms-sec .fm-platforms {
  margin-top: 1.4rem;
}

@media (max-width: 520px) {
  .ab-studio-cover {
    width: 26%;
  }

  .ab-mic {
    display: none;
  }

  .ab-specs,
  .ab-calc-out {
    grid-template-columns: 1fr;
  }

  .ab-wf-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-eq i,
  .ab-rec i {
    animation: none;
  }

  .ab-eq i {
    height: var(--h, 50%);
  }
}

.ab-tags .ab-demo {
  border-color: rgba(246, 196, 83, .5);
  background: rgba(246, 196, 83, .14);
  color: #F6C453;
}

/* Book writing page: typing hero, notes vs draft samples, rights, length guide */
.bw-typer {
  position: relative;
  z-index: 1;
  width: 94%;
  margin: 0 auto -30px;
  overflow: hidden;
  border-radius: 14px;
  background: #FDFBF6;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .12);
}

.bw-typer-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .5rem .8rem;
  background: #E9EDF3;
  border-bottom: 1px solid #D9DFE8;
}

.bw-typer-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F2544B;
}

.bw-typer-bar i:nth-child(2) { background: #F6C453; }
.bw-typer-bar i:nth-child(3) { background: #4ED8A0; }

.bw-typer-bar span {
  margin-left: .5rem;
  color: #6B7A90;
  font-size: .72rem;
  font-weight: 700;
}

.bw-typer-page {
  min-height: 9.5rem;
  padding: 1.4rem 1.5rem;
  color: #1F1B16;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
}

.bw-typer-line {
  margin: 0;
}

.bw-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: #B8261D;
  vertical-align: -.16em;
  animation: bwCaret 1s steps(2, start) infinite;
}

@keyframes bwCaret {
  to { visibility: hidden; }
}

.bw-typer-foot {
  display: flex;
  justify-content: space-between;
  padding: .6rem 1.5rem .8rem;
  border-top: 1px solid #EDE7DC;
  color: #8A8177;
  font-size: .72rem;
}

/* samples */
.bw-samples {
  background:
    radial-gradient(900px 500px at 50% 0, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(180deg, #F4F0EA, #EDF3F1);
}

.bw-panel {
  margin-top: 2.2rem;
}

.bw-panel.is-active {
  animation: fmIn .45s var(--ease);
}

.bw-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bw-brief-cover {
  flex: none;
  width: 78px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(19, 43, 78, .25);
}

.bw-brief-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bw-brief h3 {
  margin: .45rem 0 .1rem;
  font-size: 1.45rem;
}

.bw-by {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.bw-brief-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 600;
}

.bw-brief-list li {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.bw-brief-list svg {
  flex: none;
  color: var(--teal-2);
}

.bw-compare {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

@media (min-width: 960px) {
  .bw-compare {
    grid-template-columns: .85fr auto 1.15fr;
    align-items: stretch;
  }
}

.bw-side {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
}

.bw-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1.2rem;
  font-size: .78rem;
}

.bw-side-head b {
  font-size: .9rem;
  letter-spacing: .02em;
}

.bw-side--notes {
  border: 1px dashed rgba(19, 43, 78, .3);
  background: #FFFDF5;
}

.bw-side--notes .bw-side-head {
  background: rgba(246, 196, 83, .2);
  color: #7A5A12;
}

.bw-side--draft {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh);
}

.bw-side--draft .bw-side-head {
  background: var(--navy);
  color: #fff;
}

.bw-notes {
  padding: 1.2rem 1.3rem;
  color: #5A5142;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: .92rem;
  line-height: 1.65;
}

.bw-notes p {
  margin: 0;
}

.bw-draft {
  padding: 1.4rem 1.6rem;
  color: #1F1B16;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.62;
}

.bw-draft p {
  margin: 0;
}

.bw-draft p + p {
  text-indent: 1.3em;
  margin-top: 0;
}

.bw-draft .bw-spread {
  display: grid;
  gap: .15rem;
  margin: 0 0 .9rem;
  padding-left: 4.6rem;
  text-indent: 0 !important;
}

.bw-draft .bw-spread b {
  position: absolute;
  margin-left: -4.6rem;
  color: var(--teal-2);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bw-arrow {
  display: grid;
  place-items: center;
  color: var(--teal-2);
}

@media (max-width: 959px) {
  .bw-arrow svg {
    transform: rotate(90deg);
  }
}

.bw-samples .il-note {
  margin-top: 2.2rem;
  text-align: center;
}

/* rights + lengths */
.bw-rights-sec {
  color: #fff;
  background:
    radial-gradient(700px 400px at 10% 0, rgba(78, 216, 200, .16), transparent 70%),
    linear-gradient(160deg, #0F2340, #132B4E);
}

.bw-rights-sec .wrap {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .bw-rights-sec .wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.bw-rights h2 {
  color: #fff;
  margin-top: 1rem;
}

.bw-rights .lede {
  color: #C9D6E8;
}

.bw-rights-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: var(--pill);
  background: rgba(78, 216, 200, .16);
  color: var(--teal);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bw-rights-list {
  display: grid;
  gap: .8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .bw-rights-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bw-rights-list li {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}

.bw-rights-list b {
  display: block;
  margin-bottom: .2rem;
  font-size: 1rem;
}

.bw-rights-list span {
  color: #B4C3D6;
  font-size: .85rem;
}

.bw-lengths {
  padding: 1.8rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.bw-lengths h3 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
}

.bw-lengths > p {
  margin: .4rem 0 1.4rem;
  color: #C9D6E8;
  font-size: .9rem;
}

.bw-len {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: .3rem .9rem;
  align-items: center;
  padding: .55rem 0;
}

.bw-len-label {
  font-size: .88rem;
  font-weight: 600;
}

.bw-len-bar {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.bw-len-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), #7FC4EC);
}

.bw-len-val {
  grid-column: 2;
  color: #9FB3C4;
  font-size: .78rem;
}

@media (max-width: 520px) {
  .bw-len {
    grid-template-columns: 1fr;
  }

  .bw-len-bar,
  .bw-len-val {
    grid-column: 1;
  }
}

/* Book editing page: tracked-change markup, edit letter, chapter map, style sheet */
.ed-page {
  position: relative;
  z-index: 1;
  width: 94%;
  margin: 0 auto -30px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .12);
}

.ed-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .9rem;
  background: #E9EDF3;
  border-bottom: 1px solid #D9DFE8;
  color: #6B7A90;
  font-size: .72rem;
  font-weight: 700;
}

.ed-chip {
  padding: .18rem .6rem;
  border-radius: var(--pill);
  background: #FDE8E6;
  color: #B8261D;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ed-page-body {
  position: relative;
  padding: 1.2rem 1.4rem 2.6rem;
  color: #1F1B16;
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.6;
}

.ed-page-body p {
  margin: 0 0 .6rem;
}

.ed-bubble {
  display: block;
  margin-top: .9rem;
  padding: .6rem .8rem;
  border-left: 3px solid #F6C453;
  border-radius: 0 10px 10px 0;
  background: #FFF8E8;
  color: #6B5A22;
  font-family: var(--sans);
  font-size: .78rem;
}

.ed-bubble b {
  display: block;
  color: #8A6A12;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* tracked changes */
.ed del,
.ed-page del {
  color: #C0392B;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.ed ins,
.ed-page ins {
  color: #1B7F86;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.ed-samples.is-clean del {
  display: none;
}

.ed-samples.is-clean ins {
  color: inherit;
  text-decoration: none;
}

.ed-samples.is-clean .ed-pin {
  opacity: .35;
}

.ed-pin {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin: 0 1px 0 2px;
  border-radius: 50%;
  background: #F6C453;
  color: #4A3A08;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  vertical-align: .35em;
  transition: opacity .3s ease;
}

.ed-pin--lg {
  flex: none;
  width: 22px;
  height: 22px;
  font-size: .72rem;
  vertical-align: 0;
}

/* samples layout */
.ed-samples {
  background:
    radial-gradient(900px 500px at 50% 0, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #EFEAE1, #E9F1F0);
}

.ed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.ed-controls .il-tabs {
  margin: 0;
}

.ed-toggle {
  display: flex;
  padding: 4px;
  border-radius: var(--pill);
  background: rgba(19, 43, 78, .1);
}

.ed-toggle button {
  padding: .45rem 1.1rem;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.ed-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.ed-panel {
  margin-top: 1.6rem;
}

.ed-panel.is-active {
  animation: fmIn .45s var(--ease);
}

.ed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.2rem;
}

.ed-meta h3 {
  margin: 0 0 .2rem;
  font-size: 1.35rem;
}

.ed-meta p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: .94rem;
}

.ed-stats {
  display: flex;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-stats li {
  padding: .6rem .9rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.ed-stats b {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.ed-body {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 980px) {
  .ed-body {
    grid-template-columns: 1.55fr .9fr;
    align-items: start;
  }

  .ed-doc--letter,
  .ed-map {
    grid-column: 1;
  }

  .ed-queries {
    grid-row: span 2;
  }
}

.ed-doc,
.ed-map,
.ed-queries,
.ed-style {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.ed-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.1rem;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
}

.ed-doc-head b {
  font-size: .88rem;
}

.ed-text,
.ed-letter {
  padding: 1.5rem 1.7rem;
  color: #1F1B16;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.68;
}

.ed-text p,
.ed-letter p {
  margin: 0 0 1rem;
}

.ed-text p:last-child,
.ed-letter p:last-child {
  margin-bottom: 0;
}

.ed-letter b {
  color: var(--navy);
}

/* chapter order map */
.ed-map-cols {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

@media (min-width: 640px) {
  .ed-map-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.ed-map-col {
  display: grid;
  gap: .5rem;
  align-content: start;
}

.ed-map-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ed-map-row {
  display: grid;
  gap: .1rem;
  padding: .6rem .8rem;
  border-radius: 12px;
  background: var(--grey);
  color: var(--muted);
  font-size: .82rem;
}

.ed-map-row b {
  color: var(--navy);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ed-map-col--after .ed-map-row {
  background: rgba(78, 216, 200, .12);
}

.ed-map-row.is-moved {
  box-shadow: inset 0 0 0 1px rgba(51, 187, 172, .5);
}

.ed-map-row i {
  color: var(--teal-2);
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* queries + style sheet */
.ed-queries {
  border: 0;
  background: none;
  box-shadow: none;
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.ed-queries > .ed-doc-head {
  border-radius: 18px 18px 0 0;
  background: #F6C453;
  color: #3D2F05;
}

.ed-queries > ul {
  margin: -1.2rem 0 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #FFFDF6;
  list-style: none;
  display: grid;
  gap: .9rem;
}

.ed-queries > ul li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: #4A4234;
  font-size: .9rem;
  line-height: 1.5;
}

.ed-style dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem .9rem;
  margin: 0;
  padding: 1.1rem 1.2rem;
  font-size: .85rem;
}

.ed-style dt {
  color: var(--navy);
  font-weight: 700;
}

.ed-style dd {
  margin: 0;
  color: var(--muted);
}

.ed-samples .ab-audition {
  border-color: rgba(19, 43, 78, .18);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.ed-samples .ab-audition b {
  color: var(--navy);
}

.ed-samples .ab-audition span {
  color: var(--muted);
}

.ed-samples .il-note {
  margin-top: 1.6rem;
  text-align: center;
}

/* four levels */
.ed-levels {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .ed-levels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .ed-levels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ed-levels article {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.ed-levels article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.ed-level-n {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal-2);
  line-height: 1;
}

.ed-levels h3 {
  margin: .6rem 0 .5rem;
  font-size: 1.25rem;
}

.ed-levels p {
  color: var(--muted);
  font-size: .94rem;
}

.ed-levels ul {
  display: grid;
  gap: .4rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
}

.ed-levels li {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.ed-levels li svg {
  flex: none;
  color: var(--teal-2);
}

.ed-when {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  color: var(--teal-2);
  font-size: .8rem;
  font-weight: 700;
}

/* Book promotion page: dashboard hero, ad mockups, launch Gantt, pitch email, report */
.pm-dash {
  position: relative;
  z-index: 1;
  width: 92%;
  margin: 0 auto -28px;
  padding: 1.1rem 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .35);
  color: #fff;
}

.pm-dash-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  color: #C9D6E8;
}

.pm-dash-head b {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.pm-dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
  margin: .9rem 0 1rem;
}

.pm-dash-bars span {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.pm-dash-bars i {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--v);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--teal), #7FC4EC);
  transform-origin: bottom;
  animation: pmGrow .9s var(--ease) backwards;
  animation-delay: var(--d);
}

@keyframes pmGrow {
  from { transform: scaleY(0); }
}

.pm-dash-rows {
  display: grid;
  gap: .4rem;
}

.pm-dash-rows span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem .7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  font-size: .8rem;
}

.pm-dash-rows i {
  color: #C9D6E8;
  font-size: .74rem;
  font-style: normal;
}

.pm-dash-rows .pm-up {
  padding: .1rem .5rem;
  border-radius: var(--pill);
  background: rgba(78, 216, 200, .18);
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .64rem;
}

.pm-dash-note {
  color: #9FB3C4;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* samples */
.pm-samples {
  background:
    radial-gradient(900px 500px at 50% 0, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #EFEAE1, #E8F0F2);
}

.pm-panel {
  margin-top: 2rem;
}

.pm-panel.is-active {
  animation: fmIn .45s var(--ease);
}

.pm-doc {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh);
}

.pm-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1.2rem;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
}

.pm-doc-head b {
  font-size: .92rem;
}

/* ad mockups */
.pm-ads {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

@media (min-width: 820px) {
  .pm-ads {
    grid-template-columns: 1.1fr .75fr 1.15fr;
  }
}

.pm-ad {
  margin: 0;
}

.pm-ad-kind {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .22rem .7rem;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pm-ad figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

/* meta feed ad */
.pm-fb {
  overflow: hidden;
  border: 1px solid #DDE3EA;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pm-fb-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem .9rem .5rem;
}

.pm-fb-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.pm-fb-top span:last-child {
  display: grid;
  line-height: 1.25;
}

.pm-fb-top b {
  color: var(--navy);
  font-size: .88rem;
}

.pm-fb-top i {
  color: #7A869A;
  font-size: .72rem;
  font-style: normal;
}

.pm-fb-text {
  margin: 0;
  padding: 0 .9rem .7rem;
  color: #1F2430;
  font-size: .92rem;
  line-height: 1.5;
}

.pm-fb-media {
  position: relative;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  background: linear-gradient(120deg, #0B1A31, #1B3A63);
}

.pm-fb-media img {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 26%;
  transform: translateY(-50%) rotate(-4deg);
  border-radius: 3px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .45);
}

.pm-fb-media span {
  position: absolute;
  top: 50%;
  left: 40%;
  right: 7%;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.25;
  transform: translateY(-50%);
}

.pm-fb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  background: #F2F4F7;
}

.pm-fb-cta span {
  display: grid;
  line-height: 1.3;
}

.pm-fb-cta b {
  color: #1F2430;
  font-size: .86rem;
}

.pm-fb-cta i {
  color: #7A869A;
  font-size: .74rem;
  font-style: normal;
}

.pm-fb-cta em {
  flex: none;
  padding: .45rem .9rem;
  border-radius: 8px;
  background: #E4E6EB;
  color: #1F2430;
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
}

.pm-fb-actions {
  display: flex;
  justify-content: space-around;
  padding: .55rem .9rem;
  border-top: 1px solid #EDF0F3;
  color: #7A869A;
  font-size: .78rem;
  font-weight: 600;
}

/* instagram story */
.pm-story {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(170deg, #F6C9A8, #B2705C);
  box-shadow: var(--sh);
}

.pm-story img {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 52%;
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 3px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .4);
}

.pm-story-bar {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .35);
}

.pm-story-bar i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 99px;
  background: #fff;
}

.pm-story-copy {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 22%;
  display: grid;
  gap: .3rem;
  color: #fff;
  font-family: var(--serif);
  font-size: .95rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(80, 30, 20, .5);
}

.pm-story-copy b {
  font-size: 1.15rem;
}

.pm-story-cta {
  position: absolute;
  left: 50%;
  bottom: 8%;
  padding: .5rem 1.1rem;
  border-radius: var(--pill);
  background: #fff;
  color: #8A3B28;
  font-size: .8rem;
  font-weight: 700;
  transform: translateX(-50%);
}

/* amazon sponsored row */
.pm-amz {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #DDE3EA;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.pm-amz img {
  flex: none;
  width: 92px;
  height: 138px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}

.pm-amz > div {
  display: grid;
  align-content: start;
  gap: .25rem;
}

.pm-amz-tag {
  color: #7A869A;
  font-size: .68rem;
  letter-spacing: .04em;
}

.pm-amz b {
  color: #0F4C8C;
  font-size: 1.05rem;
  line-height: 1.2;
}

.pm-amz-by,
.pm-amz-sub {
  color: #565F6B;
  font-size: .82rem;
}

.pm-amz-stars {
  color: #F5A623;
  font-size: .85rem;
  letter-spacing: 1px;
}

.pm-amz-fmt {
  margin-top: .2rem;
  color: #0F4C8C;
  font-size: .8rem;
  font-weight: 700;
}

/* 90-day gantt */
.pm-gantt {
  padding: 1.2rem 1.4rem 1.4rem;
}

.pm-gantt-scale {
  display: flex;
  justify-content: space-between;
  margin: 0 0 .7rem;
  padding-left: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (min-width: 760px) {
  .pm-gantt-scale {
    padding-left: 15rem;
  }
}

.pm-row {
  display: grid;
  gap: .25rem;
  padding: .3rem 0;
}

@media (min-width: 760px) {
  .pm-row {
    grid-template-columns: 15rem 1fr;
    gap: 1rem;
    align-items: center;
  }
}

.pm-task {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 600;
}

.pm-track {
  position: relative;
  display: block;
  height: 26px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--grey) 0 calc(100% / 12 - 1px), transparent calc(100% / 12 - 1px) calc(100% / 12));
}

.pm-bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: calc(var(--s) * 100% / 12);
  width: calc(var(--n) * 100% / 12 - 4px);
  border-radius: 6px;
}

.pm-bar--pre { background: linear-gradient(90deg, #F6C453, #F2B33C); }
.pm-bar--launch { background: linear-gradient(90deg, #F2836B, #E4604A); }
.pm-bar--post { background: linear-gradient(90deg, #4ED8C8, #33BBAC); }

.pm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

.pm-legend span {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.pm-legend i {
  width: 22px;
  height: 10px;
  border-radius: 99px;
}

/* pitch email */
.pm-mail-head {
  display: grid;
  gap: .3rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: #F8FAFC;
  font-size: .88rem;
}

.pm-mail-head span {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .6rem;
  color: var(--text);
}

.pm-mail-head b {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pm-mail-body {
  padding: 1.3rem 1.4rem;
  color: var(--text);
  font-size: .96rem;
  line-height: 1.65;
}

.pm-mail-body p {
  margin: 0 0 .8rem;
}

.pm-mail-body ul {
  margin: 0 0 .8rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pm-mail-body li {
  margin-bottom: .3rem;
}

.pm-mail-att {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 1.4rem 1.3rem;
}

.pm-mail-att span {
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--grey);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
}

.pm-pitch-notes {
  display: grid;
  gap: .7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pm-pitch-notes li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: .92rem;
}

.pm-pitch-notes b {
  color: var(--navy);
}

.pm-pitch-notes svg {
  flex: none;
  margin-top: .25rem;
  color: var(--teal-2);
}

/* weekly report */
.pm-report {
  padding: 1.2rem;
}

.pm-report table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.pm-report th {
  padding: .5rem .6rem;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.pm-report td {
  padding: .7rem .6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.pm-report td b {
  color: var(--navy);
}

.pm-mini {
  display: block;
  width: 100%;
  min-width: 60px;
  height: 8px;
  border-radius: 99px;
  background: var(--grey);
  overflow: hidden;
}

.pm-mini i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), #7FC4EC);
}

.pm-report-notes {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 14px 14px 0;
  background: rgba(78, 216, 200, .08);
}

.pm-report-notes b {
  color: var(--navy);
  font-size: .9rem;
}

.pm-report-notes ul {
  margin: .5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: .88rem;
}

.pm-report-notes li {
  margin-bottom: .3rem;
}

.pm-disclaimer {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.pm-disclaimer svg {
  flex: none;
  margin-top: .2rem;
  color: var(--teal-2);
}

.pm-samples .il-note {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 620px) {
  .pm-report table {
    font-size: .8rem;
  }

  .pm-report th:nth-child(3),
  .pm-report td:nth-child(3) {
    display: none;
  }
}

/* Book publishing page: formats hero, project dossiers, paths, service map */
.bp-formats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .7rem;
  width: min(400px, 96%);
  margin: 0 auto -8px;
  padding-bottom: .4rem;
}

.bp-fmt {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .5rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bp-fmt img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px 5px 5px 3px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
}

.bp-fmt--print {
  width: 27%;
}

.bp-fmt--phone {
  width: 21%;
  padding: 6px;
  border-radius: 16px;
  background: #0B1130;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18);
}

.bp-fmt--phone img {
  border-radius: 11px;
  box-shadow: none;
}

.bp-fmt--phone span,
.bp-fmt--print span,
.bp-fmt--audio span {
  color: #C9D6E8;
}

.bp-fmt--audio {
  width: 23%;
  align-content: end;
  padding: .9rem .5rem .7rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

.bp-fmt--audio svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

/* dossiers */
.bp-samples {
  background:
    radial-gradient(900px 500px at 50% 0, rgba(255, 255, 255, .92), transparent 70%),
    linear-gradient(180deg, #EFEAE1, #E7F0F1);
}

.bp-panel {
  margin-top: 2rem;
}

.bp-panel.is-active {
  animation: fmIn .45s var(--ease);
}

.bp-dossier {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 1000px) {
  .bp-dossier {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }

  .bp-card--listing {
    grid-column: 1;
  }

  .bp-card--chain {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.bp-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.2rem;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
}

.bp-card-head b {
  font-size: .9rem;
}

.bp-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 1.5rem;
}

.bp-listing-cover {
  flex: none;
  display: block;
  align-self: flex-start;
  width: 118px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 16px 30px rgba(19, 43, 78, .28);
}

.bp-listing-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-listing > div {
  flex: 1;
  min-width: 15rem;
}

.bp-listing h3 {
  margin: .5rem 0 .1rem;
  font-size: 1.6rem;
}

.bp-by {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.bp-pitch {
  margin: .8rem 0 0;
  color: var(--text);
  font-size: .95rem;
}

.bp-fmt-list {
  display: grid;
  gap: .4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}

.bp-fmt-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.bp-fmt-list svg {
  flex: none;
  color: var(--teal-2);
}

.bp-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px dashed var(--line);
}

.bp-stores b {
  margin-right: .3rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bp-stores span {
  padding: .25rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--grey);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
}

.bp-interior {
  padding: 1.3rem;
  background: linear-gradient(180deg, #F4F0EA, #EAF0EF);
}

.bp-interior .fm-spread {
  max-width: 520px;
}

.bp-card-note {
  margin: 0;
  padding: .9rem 1.3rem 1.1rem;
  color: var(--muted);
  font-size: .85rem;
}

.bp-card-note a {
  color: var(--teal-2);
  font-weight: 700;
}

.bp-assets {
  display: grid;
  gap: .9rem;
  padding: 1.2rem;
}

.bp-asset {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--grey);
  color: var(--navy);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

a.bp-asset:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.bp-asset img {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.bp-asset svg {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--teal-2);
}

.bp-asset span {
  display: grid;
  gap: .1rem;
  font-size: .82rem;
  color: var(--muted);
}

.bp-asset b {
  color: var(--navy);
  font-size: .95rem;
}

.bp-asset--audio {
  grid-template-columns: 96px 1fr;
}

.bp-asset--audio audio {
  grid-column: 1 / -1;
  width: 100%;
  height: 36px;
  margin-top: .3rem;
}

.bp-chain {
  display: grid;
  gap: .1rem;
  margin: 0;
  padding: 1rem 1.2rem 1.3rem;
  list-style: none;
  counter-reset: none;
}

.bp-chain li {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line);
}

.bp-chain li:last-child {
  border-bottom: 0;
}

.bp-chain-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--serif);
  font-size: .8rem;
  font-weight: 700;
}

.bp-chain a {
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.bp-chain a:hover {
  color: var(--teal-2);
  border-bottom-color: currentColor;
}

.bp-samples .il-note {
  margin-top: 2rem;
  text-align: center;
}

/* publishing paths */
.bp-paths {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .bp-paths {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .bp-paths {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bp-paths article {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.bp-paths article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.bp-path-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--navy);
}

.bp-paths h3 {
  margin: 1rem 0 .5rem;
  font-size: 1.2rem;
}

.bp-paths p {
  color: var(--muted);
  font-size: .93rem;
}

.bp-paths ul {
  display: grid;
  gap: .4rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
}

.bp-paths li {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
}

.bp-paths li svg {
  flex: none;
  margin-top: .2rem;
  color: var(--teal-2);
}

.bp-path-best {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  color: var(--teal-2);
  font-size: .8rem;
  font-weight: 700;
}

.bp-path-best--warn {
  color: #C2762B;
}

/* service map */
.bp-map-sec {
  color: #fff;
  background:
    radial-gradient(700px 400px at 12% 0, rgba(78, 216, 200, .16), transparent 70%),
    radial-gradient(600px 400px at 92% 100%, rgba(246, 196, 83, .12), transparent 70%),
    linear-gradient(160deg, #0F2340, #132B4E);
}

.bp-map-sec .il-head h2 {
  color: #fff;
}

.bp-map-sec .il-head .lede {
  color: #C9D6E8;
}

.bp-map {
  display: grid;
  gap: .9rem;
}

@media (min-width: 620px) {
  .bp-map {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .bp-map {
    grid-template-columns: repeat(5, 1fr);
  }
}

.bp-map a {
  display: grid;
  gap: .25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.bp-map a:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 216, 200, .55);
  background: rgba(255, 255, 255, .09);
}

.bp-map b {
  font-size: .98rem;
}

.bp-map span {
  color: #B4C3D6;
  font-size: .82rem;
}

/* distribution meta */
.bp-meta-grid {
  display: grid;
  gap: .9rem;
  margin-top: 2.4rem;
}

@media (min-width: 700px) {
  .bp-meta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bp-meta-grid div {
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--teal-2);
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bp-meta-grid b {
  display: block;
  color: var(--navy);
  font-size: .95rem;
}

.bp-meta-grid span {
  color: var(--muted);
  font-size: .84rem;
}

/* five-step process */
@media (min-width: 900px) {
  .il-steps--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* which stages do you need */
.bp-need {
  display: grid;
  gap: .6rem;
}

.bp-need span {
  display: grid;
  gap: .15rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #B4C3D6;
  font-size: .85rem;
}

.bp-need b {
  color: #fff;
  font-size: .95rem;
}

.bp-fmt--hard {
  position: relative;
  width: 29%;
}

.bp-fmt--hard img {
  border-radius: 2px 7px 7px 2px;
}

.bp-fmt--hard::before {
  content: "";
  position: absolute;
  top: 2%;
  bottom: 14%;
  left: -5px;
  width: 8px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #6b7688, #2b3444);
  box-shadow: -2px 6px 14px rgba(0, 0, 0, .45);
}

/* Publishing costs page: quote card hero, sample scopes, scope builder, region notes */
.pc-quote {
  position: relative;
  z-index: 1;
  width: 92%;
  margin: 0 auto -26px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .4);
}

.pc-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--navy);
  color: #fff;
}

.pc-quote-head span {
  display: grid;
  font-size: .72rem;
  color: #C9D6E8;
}

.pc-quote-head b {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.pc-stamp {
  padding: .3rem .7rem;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  color: var(--teal) !important;
  font-size: .7rem !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.pc-quote-lines {
  margin: 0;
  padding: .5rem 1.1rem;
  list-style: none;
}

.pc-quote-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dotted var(--line);
  color: var(--navy);
  font-size: .88rem;
}

.pc-quote-lines i {
  color: var(--muted);
  font-size: .78rem;
  font-style: normal;
}

.pc-quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  background: var(--mint);
  color: var(--navy);
}

.pc-quote-foot b {
  font-family: var(--serif);
  font-size: 1.1rem;
}

/* sample scopes */
.pc-samples {
  background:
    radial-gradient(900px 500px at 50% 0, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #EFEAE1, #E8F0F2);
}

.pc-panel {
  margin-top: 2rem;
}

.pc-panel.is-active {
  animation: fmIn .45s var(--ease);
}

.pc-sample {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh);
}

.pc-sample-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: flex-start;
}

.pc-sample-cover {
  flex: none;
  display: block;
  align-self: flex-start;
  width: 96px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 14px 26px rgba(19, 43, 78, .25);
}

.pc-sample-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-sample-top > div {
  flex: 1;
  min-width: 15rem;
}

.pc-sample-top h3 {
  margin: 0 0 .4rem;
  font-size: 1.5rem;
}

.pc-sample-top p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.pc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pc-facts li {
  display: grid;
  padding: .5rem .9rem;
  border-radius: 12px;
  background: var(--grey);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pc-facts b {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.pc-cols {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

@media (min-width: 900px) {
  .pc-cols {
    grid-template-columns: 1.15fr .85fr;
  }
}

.pc-col {
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
}

.pc-col--in {
  background: rgba(78, 216, 200, .08);
  box-shadow: inset 0 0 0 1px rgba(51, 187, 172, .28);
}

.pc-col--out {
  background: var(--grey);
  box-shadow: inset 0 0 0 1px var(--line);
}

.pc-col-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pc-col--in .pc-col-head svg {
  color: var(--teal-2);
}

.pc-col--out .pc-col-head svg {
  color: #B4835A;
}

.pc-col ul {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-col li {
  display: grid;
  gap: .1rem;
}

.pc-col b {
  color: var(--navy);
  font-size: .95rem;
}

.pc-col span {
  color: var(--muted);
  font-size: .86rem;
}

.pc-col--out li span {
  position: relative;
  padding-left: 1.1rem;
}

.pc-col--out li span::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 10px;
  height: 1.5px;
  background: #B4835A;
}

.pc-drivers {
  display: grid;
  gap: .6rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.pc-drivers p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.pc-drivers b {
  display: block;
  color: var(--navy);
  font-size: .82rem;
  letter-spacing: .02em;
}

.pc-sample-note {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.pc-sample-note svg {
  flex: none;
  margin-top: .2rem;
  color: var(--teal-2);
}

.pc-samples .il-note {
  margin-top: 2rem;
  text-align: center;
}

/* scope builder */
.pc-builder-sec {
  background: var(--mint);
}

.pc-builder {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .pc-builder {
    grid-template-columns: 1.3fr .7fr;
    align-items: start;
  }
}

.pc-builder-list {
  display: grid;
  gap: .6rem;
}

@media (min-width: 620px) {
  .pc-builder-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pc-stage {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.pc-stage:hover {
  border-color: var(--teal-2);
  box-shadow: var(--sh-sm);
}

.pc-stage input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  accent-color: var(--teal-2);
}

.pc-stage span {
  display: grid;
  gap: .1rem;
}

.pc-stage b {
  color: var(--navy);
  font-size: .95rem;
}

.pc-stage i {
  color: var(--muted);
  font-size: .82rem;
  font-style: normal;
}

.pc-stage:has(input:checked) {
  border-color: var(--teal-2);
  background: rgba(78, 216, 200, .1);
}

.pc-builder-out {
  position: sticky;
  top: calc(var(--head-h) + 1rem);
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--sh-lg);
}

.pc-builder-out > b {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.pc-out-empty {
  margin: .6rem 0 0;
  color: #9FB3C4;
  font-size: .88rem;
}

.pc-out-list {
  display: grid;
  gap: .4rem;
  margin: .9rem 0 0;
  padding: 0 0 0 1.3rem;
  color: #E8EDF5;
  font-size: .9rem;
}

.pc-out-count {
  margin: 1rem 0 1.1rem;
  color: #9FB3C4;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pc-out-count span {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.pc-builder-out .cta {
  width: 100%;
  justify-content: center;
}

.pc-builder-out .cta:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.pc-out-note {
  margin: .9rem 0 0;
  color: #9FB3C4;
  font-size: .76rem;
}

/* region + never-do */
.pc-region-sec {
  color: #fff;
  background:
    radial-gradient(700px 400px at 12% 0, rgba(78, 216, 200, .16), transparent 70%),
    linear-gradient(160deg, #0F2340, #132B4E);
}

.pc-region-sec .wrap {
  display: grid;
  gap: 2.6rem;
  align-items: start;
}

@media (min-width: 900px) {
  .pc-region-sec .wrap {
    grid-template-columns: 1.1fr .9fr;
  }
}

.pc-region h2 {
  margin-top: 1rem;
  color: #fff;
}

.pc-nots {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
}

.pc-nots h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.3rem;
}

.pc-nots ul {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-nots li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.pc-nots svg {
  flex: none;
  margin-top: .15rem;
  color: #F2836B;
}

.pc-nots span {
  display: grid;
  gap: .1rem;
  color: #B4C3D6;
  font-size: .86rem;
}

.pc-nots b {
  color: #fff;
  font-size: .95rem;
}

/* Home page: cover fan hero, work gallery, service grid, why cards */
.hm-hero h1 {
  max-width: 20ch;
}

.hm-fan {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 92%;
  margin: 0 auto -22px;
}

.hm-fan img {
  width: 30%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, .48);
}

.hm-fan img:first-child {
  transform: rotate(-9deg) translate(16px, 10px);
}

.hm-fan img:nth-child(2) {
  z-index: 2;
  width: 34%;
  transform: translateY(-8px);
}

.hm-fan img:last-child {
  transform: rotate(9deg) translate(-16px, 10px);
}

/* our work */
.hm-work {
  color: #fff;
  background:
    radial-gradient(800px 420px at 15% 0, rgba(78, 216, 200, .14), transparent 70%),
    radial-gradient(700px 420px at 100% 100%, rgba(185, 166, 232, .14), transparent 70%),
    linear-gradient(180deg, #0B1A31, #132B4E);
}

.hm-work .il-head h2 {
  color: #fff;
}

.hm-work .il-head .lede {
  color: #C9D6E8;
}

.hm-work-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

@media (min-width: 620px) {
  .hm-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .hm-work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-work-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.hm-work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 216, 200, .55);
  background: rgba(255, 255, 255, .09);
}

.hm-work-media {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
}

.hm-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hm-work-media--icon svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.hm-work-text {
  display: grid;
  gap: .2rem;
}

.hm-work-text b {
  font-family: var(--serif);
  font-size: 1.12rem;
}

.hm-work-text i {
  color: #B4C3D6;
  font-size: .85rem;
  font-style: normal;
}

.hm-work-text em {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .3rem;
  color: var(--teal);
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
}

.hm-work-card:hover .hm-work-text em svg {
  transform: translateX(3px);
}

.hm-work-text em svg {
  transition: transform .3s var(--ease);
}

.hm-work .il-note {
  margin-top: 2rem;
  color: #9FB3C4;
  text-align: center;
}

/* services */
.hm-services {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

@media (min-width: 560px) {
  .hm-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hm-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1150px) {
  .hm-services {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hm-service {
  display: grid;
  gap: .3rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sh-sm);
  color: var(--navy);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.hm-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.hm-service-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: .4rem;
  border-radius: 13px;
  background: var(--mint);
  color: var(--navy);
}

.hm-service b {
  font-size: 1rem;
}

.hm-service span {
  color: var(--muted);
  font-size: .85rem;
}

/* why us */
.hm-why-sec {
  background: var(--cream-2);
}

.hm-why {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 620px) {
  .hm-why {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .hm-why {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-why article {
  padding: 1.8rem 1.5rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.hm-why article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.hm-why-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--navy);
}

.hm-why h3 {
  margin: 1rem 0 .5rem;
  font-size: 1.2rem;
}

.hm-why p {
  color: var(--muted);
  font-size: .93rem;
}

.bc-hero .call-link {
  color: var(--teal);
}

.bc-hero .call-link:hover {
  color: #fff;
}

/* About page: facts card, positioning cards, team, promises, Tasman panel */
.abt-card {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .4);
}

.abt-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  background: var(--navy);
  color: #fff;
}

.abt-card-head b {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.abt-card-head span {
  color: #9FB3C4;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.abt-facts {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .7rem 1rem;
  margin: 0;
  padding: 1.3rem;
}

.abt-facts dt {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.abt-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: .92rem;
  line-height: 1.5;
}

.abt-facts dd span {
  color: var(--muted);
  font-size: .82rem;
}

.abt-facts a {
  color: var(--teal-2);
  font-weight: 600;
}

.abt-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  padding: 1rem 1.3rem;
  border-top: 1px solid var(--line);
  background: var(--grey);
}

.abt-card-foot a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 700;
}

.abt-card-foot a:hover {
  color: var(--teal-2);
}

/* positioning */
.abt-kinds {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .abt-kinds {
    grid-template-columns: repeat(3, 1fr);
  }
}

.abt-kind {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.abt-kind p {
  flex: 1;
  color: var(--muted);
  font-size: .96rem;
}

.abt-kind b {
  color: var(--navy);
}

.abt-kind > a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  color: var(--teal-2);
  font-size: .86rem;
  font-weight: 700;
}

.abt-kind-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  padding: .3rem .8rem;
  border-radius: var(--pill);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.abt-kind--is {
  box-shadow: var(--sh-sm), inset 0 0 0 1px rgba(51, 187, 172, .35);
}

.abt-kind--is .abt-kind-tag {
  background: rgba(78, 216, 200, .16);
  color: #16877B;
}

.abt-kind--not .abt-kind-tag {
  background: rgba(242, 131, 107, .16);
  color: #B4472F;
}

.abt-kind--also .abt-kind-tag {
  background: rgba(246, 196, 83, .2);
  color: #8A6A12;
}

.abt-line {
  max-width: 68ch;
  margin: 2rem auto 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 16px 16px 0;
  background: var(--mint);
  color: var(--navy);
  font-size: 1rem;
}

/* team */
.abt-team-sec {
  color: #fff;
  background:
    radial-gradient(700px 400px at 15% 0, rgba(78, 216, 200, .15), transparent 70%),
    linear-gradient(160deg, #0F2340, #132B4E);
}

.abt-team-sec .il-head h2 {
  color: #fff;
}

.abt-team-sec .il-head .lede {
  color: #C9D6E8;
}

.abt-team {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 820px) {
  .abt-team {
    grid-template-columns: repeat(3, 1fr);
  }
}

.abt-team article {
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.abt-team article:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 216, 200, .5);
}

.abt-team-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--navy);
}

.abt-team h3 {
  margin: 1rem 0 .4rem;
  color: #fff;
  font-size: 1.2rem;
}

.abt-team p {
  color: #B4C3D6;
  font-size: .92rem;
}

.abt-team a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .8rem;
  color: var(--teal);
  font-size: .84rem;
  font-weight: 700;
}

.abt-note {
  max-width: 78ch;
  margin: 2.4rem auto 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}

.abt-note p {
  margin: 0 0 .8rem;
  color: #C9D6E8;
  font-size: .96rem;
}

.abt-note p:last-child {
  margin-bottom: 0;
}

.abt-note b {
  color: #fff;
}

/* what we handle */
.abt-handle {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 620px) {
  .abt-handle {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .abt-handle {
    grid-template-columns: repeat(4, 1fr);
  }
}

.abt-handle article {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.abt-handle h3 {
  margin: 0 0 .9rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed var(--line);
  font-size: 1.1rem;
}

.abt-handle ul {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abt-handle li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .9rem;
}

.abt-handle li svg {
  flex: none;
  margin-top: .2rem;
  color: var(--teal-2);
}

.abt-handle a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
}

.abt-handle a:hover {
  color: var(--teal-2);
  border-bottom-color: currentColor;
}

/* promises */
.abt-work-sec {
  background: var(--cream-2);
}

.abt-promises {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .abt-promises {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .abt-promises {
    grid-template-columns: repeat(3, 1fr);
  }
}

.abt-promises article {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.abt-promises article:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.abt-promises span {
  display: block;
  color: var(--teal-2);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.abt-promises h3 {
  margin: .6rem 0 .5rem;
  font-size: 1.1rem;
}

.abt-promises p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

/* across the Tasman */
.abt-tasman-sec .wrap {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

@media (min-width: 900px) {
  .abt-tasman-sec .wrap {
    grid-template-columns: 1.1fr .9fr;
  }
}

.abt-tasman-sec .bw-rights-badge {
  background: var(--mint);
  color: #16877B;
}

.abt-tasman-sec h2 {
  margin-top: 1rem;
}

.abt-tasman-p {
  margin-top: 1rem;
  color: var(--muted);
}

.abt-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.abt-cities li {
  padding: .3rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
}

.abt-tasman-facts {
  display: grid;
  gap: .8rem;
}

.abt-tasman-facts div {
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--teal-2);
  border-radius: 0 16px 16px 0;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.abt-tasman-facts b {
  display: block;
  color: var(--navy);
  font-size: .98rem;
}

.abt-tasman-facts span {
  color: var(--muted);
  font-size: .86rem;
}

/* manuscript form block */
.abt-form-wrap {
  display: grid;
  gap: 2.6rem;
  align-items: start;
}

@media (min-width: 900px) {
  .abt-form-wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.abt-form-wrap .il-head {
  margin-bottom: 1.4rem;
}

.abt-form-points {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abt-form-points li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: .95rem;
}

.abt-form-points b {
  color: var(--navy);
}

.abt-form-points svg {
  flex: none;
  margin-top: .25rem;
  color: var(--teal-2);
}

/* where to find us */
.abt-find {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 820px) {
  .abt-find {
    grid-template-columns: repeat(3, 1fr);
  }
}

.abt-find article {
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.abt-find-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--navy);
}

.abt-find h3 {
  margin: 1rem 0 .5rem;
  font-size: 1.15rem;
}

.abt-find p {
  margin: 0;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.6;
}

.abt-find p span {
  color: var(--muted);
  font-size: .86rem;
}

.abt-find p a {
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.abt-find p a:hover {
  color: var(--teal-2);
}

.abt-find > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  color: var(--teal-2);
  font-size: .86rem;
  font-weight: 700;
}

.bc-hero .wrap > * {
  min-width: 0;
}

/* Contact page: promises, direct buttons, team panel, map */
.ct-promises {
  display: grid;
  gap: .8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.ct-promises li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.ct-promises svg {
  flex: none;
  margin-top: .3rem;
  color: var(--teal);
}

.ct-promises span {
  display: grid;
  gap: .1rem;
  color: #B4C3D6;
  font-size: .86rem;
}

.ct-promises b {
  color: #fff;
  font-size: 1rem;
}

.ct-direct {
  display: grid;
  gap: .7rem;
  margin-top: 1.8rem;
}

@media (min-width: 620px) {
  .ct-direct {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ct-direct-btn {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.ct-direct-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 216, 200, .55);
  background: rgba(255, 255, 255, .1);
}

.ct-direct-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(78, 216, 200, .16);
  color: var(--teal);
}

.ct-direct-btn > span:last-child {
  display: grid;
  min-width: 0;
  gap: .05rem;
}

.ct-direct-btn i {
  color: #9FB3C4;
  font-size: .7rem;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ct-direct-btn b {
  overflow: hidden;
  font-size: .86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* the form sits taller on this page */
.ct-form {
  margin-top: 0;
}

.ct-form-row {
  display: grid;
  gap: .7rem;
}

@media (min-width: 520px) {
  .ct-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.ct-form-row .field {
  margin: 0;
}

.il-strip .sub a {
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.il-strip .sub a:hover {
  color: var(--teal-2);
}

/* team + map */
.ct-map-sec {
  background: var(--mint);
}

.ct-map-sec .wrap {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ct-map-sec .wrap {
    grid-template-columns: .95fr 1.05fr;
  }
}

.ct-map-sec .bw-rights-badge {
  background: #fff;
  color: #16877B;
}

.ct-map-sec h2 {
  margin-top: 1rem;
}

.ct-team-list {
  display: grid;
  gap: .7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.ct-team-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--text);
  font-size: .95rem;
}

.ct-team-list svg {
  flex: none;
  margin-top: .25rem;
  color: var(--teal-2);
}

.ct-map {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh);
}

.ct-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: 1rem 1.2rem;
}

.ct-map-head span {
  display: grid;
  gap: .1rem;
  color: var(--muted);
  font-size: .84rem;
}

.ct-map-head b {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.ct-map-head a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.ct-map-head a:hover {
  background: var(--teal-2);
}

.ct-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Book publishing page: route comparison, checklist, royalties, timeline */
.bp-compare-sec {
  background: var(--cream-2);
}

.bp-table-wrap {
  margin-top: 2.2rem;
  overflow-x: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
  -webkit-overflow-scrolling: touch;
}

.bp-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
}

.bp-table th,
.bp-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.bp-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
}

.bp-table thead th:last-child {
  background: #16877B;
}

.bp-table thead th span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .74rem;
  font-weight: 500;
}

.bp-table tbody th {
  width: 12rem;
  color: var(--navy);
  font-weight: 700;
}

.bp-table td {
  color: var(--muted);
}

.bp-table td:last-child {
  background: rgba(78, 216, 200, .08);
  color: var(--navy);
  font-weight: 600;
}

.bp-table tbody tr:last-child th,
.bp-table tbody tr:last-child td {
  border-bottom: 0;
}

.bp-compare-notes {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

@media (min-width: 820px) {
  .bp-compare-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bp-compare-notes article {
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--teal-2);
  border-radius: 0 18px 18px 0;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bp-compare-notes h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}

.bp-compare-notes p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.7;
}

/* prose blocks */
.bp-prose-sec--alt {
  background: var(--mint);
}

.bp-prose {
  display: grid;
  gap: 2.4rem;
  align-items: start;
}

@media (min-width: 920px) {
  .bp-prose {
    grid-template-columns: 1.15fr .85fr;
  }

  .bp-prose--rev {
    grid-template-columns: 1.1fr .9fr;
  }
}

.bp-prose h2 {
  margin-bottom: 1rem;
}

.bp-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bp-prose p strong {
  color: var(--navy);
}

/* numbered checklist */
.bp-check {
  counter-reset: bpstep;
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
  list-style: none;
}

.bp-check li {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: .1rem .6rem;
  padding: .5rem 0;
  border-bottom: 1px dotted var(--line);
}

.bp-check li:last-child {
  border-bottom: 0;
}

.bp-check li::before {
  counter-increment: bpstep;
  content: counter(bpstep, decimal-leading-zero);
  grid-row: span 2;
  align-self: center;
  color: var(--teal-2);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
}

.bp-check b {
  color: var(--navy);
  font-size: .95rem;
}

.bp-check span {
  color: var(--muted);
  font-size: .84rem;
}

/* royalties detail cards */
.bp-detail-sec {
  background: var(--white);
}

.bp-detail {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .bp-detail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .bp-detail {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bp-detail article {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bp-detail h3 {
  margin: 0 0 .5rem;
  font-size: 1.08rem;
}

.bp-detail p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.bp-detail-note {
  max-width: 70ch;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}

/* timeline drivers + mistakes */
.bp-drivers {
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.bp-drivers li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}

.bp-drivers li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-2);
}

.bp-drivers b {
  color: var(--navy);
}

.bp-mistakes {
  padding: 1.7rem 1.6rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.bp-mistakes h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.bp-mistakes ol {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.6;
}

.bp-mistakes li::marker {
  color: #C2762B;
  font-weight: 700;
}

.bp-mistakes b {
  color: var(--navy);
}

/* Illustration gallery: dozens of style samples, so it runs tighter and in
   more columns than the four-up .il-grid used elsewhere on the page. */
@media (min-width: 900px) {
  .il-grid--gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .il-grid--gallery {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem 1rem;
  }
}

@media (min-width: 1300px) {
  .il-grid--gallery {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 900px) {
  .il-grid--gallery .il-art {
    padding: .5rem .5rem .7rem;
  }

  .il-grid--gallery figcaption {
    margin-top: .5rem;
    font-size: .76rem;
  }

  .il-grid--gallery figcaption b {
    font-size: .84rem;
  }
}

/* The illustration gallery sits on the dark studio panel, so the samples read
   like prints on a wall. The doodle pattern is redrawn in white for it. */
.il {
  --doodle-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23FFFFFF' stroke-opacity='.11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 30l4 9 10 1-7 7 2 10-9-5-9 5 2-10-7-7 10-1z'/%3E%3Cpath d='M118 22c10 0 16 8 12 15s-15 5-15-2 8-8 11-3'/%3E%3Cpath d='M70 70l30 30M96 104l8 2-2-8M70 70l-4-4 4-4 4 4'/%3E%3Cpath d='M140 96c6-8 14-8 20 0s14 8 20 0'/%3E%3Ccircle cx='40' cy='126' r='11'/%3E%3Cpath d='M40 115v-6M52 126h6'/%3E%3Cpath d='M110 150c8-10 18-10 26 0'/%3E%3Cpath d='M150 150l6-12 6 12z'/%3E%3Cpath d='M10 88c6-6 12 6 18 0'/%3E%3C/svg%3E");
}

.il-gallery {
  color: #fff;
  background:
    var(--doodle-light),
    radial-gradient(900px 520px at 78% 8%, rgba(78, 216, 200, .16), transparent 62%),
    radial-gradient(700px 460px at 8% 92%, rgba(246, 196, 83, .12), transparent 60%),
    linear-gradient(160deg, #0F2340 0%, #132B4E 55%, #1B3A63 100%);
}

.il-gallery .il-head h2 {
  color: #fff;
}

.il-gallery .il-head .lede {
  color: #C9D6E8;
}

.il-gallery .il-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  max-width: 70ch;
  margin: 2.8rem auto 0;
  padding: 1.05rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  color: #B4C3D6;
  font-size: .9rem;
  line-height: 1.7;
  text-align: left;
}

.il-gallery .il-note svg {
  flex: none;
  margin-top: .2rem;
  color: var(--teal);
}

.il-gallery .il-note b {
  color: #fff;
}

.il-gallery .il-tab {
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.il-gallery .il-tab:hover {
  border-color: var(--teal);
  background: rgba(78, 216, 200, .16);
}

.il-gallery .il-tab[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

/* deeper shadow, because the cards now sit on navy rather than cream */
.il-gallery .il-art {
  box-shadow: 0 10px 26px rgba(4, 10, 24, .38);
}

.il-gallery .il-art:hover {
  box-shadow: 0 18px 40px rgba(4, 10, 24, .5);
}

/* Illustration page: costs, print specification, deliverables and rights.
   The spec table reuses the shared .bp-table component. */
.il-prose {
  display: grid;
  gap: 2.4rem;
  align-items: start;
}

@media (min-width: 920px) {
  .il-prose {
    grid-template-columns: 1.06fr .94fr;
  }
}

.il-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.il-prose p strong {
  color: var(--navy);
}

.il-cost {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.il-cost h3 {
  margin: 0 0 1rem;
  font-size: 1.12rem;
}

.il-cost ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.il-cost li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.65;
}

.il-cost li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
}

.il-cost b {
  color: var(--navy);
}

.il-cost-note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

.il-spec-notes {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

@media (min-width: 900px) {
  .il-spec-notes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.il-spec-notes article {
  padding: 1.4rem 1.4rem;
  border-left: 3px solid var(--teal-2);
  border-radius: 0 16px 16px 0;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.il-spec-notes h3 {
  margin: 0 0 .45rem;
  font-size: 1.04rem;
}

.il-spec-notes p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.il-deliver {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .il-deliver {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .il-deliver {
    grid-template-columns: repeat(4, 1fr);
  }
}

.il-deliver article {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.il-deliver article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}

.il-file {
  display: inline-block;
  margin-bottom: .7rem;
  padding: .2rem .6rem;
  border-radius: 6px;
  background: var(--mint);
  color: var(--navy);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.il-deliver h3 {
  margin: 0 0 .4rem;
  font-size: 1.04rem;
}

.il-deliver p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.il-rights {
  max-width: 78ch;
  margin: 2.2rem auto 0;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mint);
}

.il-rights h3 {
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}

.il-rights p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}

.il-rights b {
  color: var(--navy);
}
