/* Virtual Insignia ? custom styles beyond Tailwind */

:root {
  --magenta: #c00175;
  --magenta-dark: #9a015e;
  --magenta-soft: rgba(192, 1, 117, 0.12);
  --navy: #003368;
  --navy-deep: #001f42;
  --navy-soft: rgba(0, 51, 104, 0.08);
  --surface: #e2e2e6;
  --surface-light: #f4f4f6;
  --white: #ffffff;
  --black: #000003;
  --muted: #3d3d48;
  --border: rgba(0, 3, 3, 0.1);
  --radius: 0.75rem;
  --shadow-soft: 0 12px 40px rgba(0, 51, 104, 0.08);
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --nav-h: 4.75rem;
  --text-base: 1.125rem;
  --page-max: 1180px;
  --page-gutter: 1.25rem;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 2rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --page-gutter: 2.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--black);
  background: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

::selection {
  background: var(--magenta);
  color: white;
}

/* Atmosphere */
.bg-atmosphere {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(192, 1, 117, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 51, 104, 0.12), transparent 45%),
    linear-gradient(180deg, var(--surface-light) 0%, var(--surface) 100%);
}

.bg-navy-mesh {
  background-color: var(--navy);
  background-image:
    radial-gradient(at 20% 30%, rgba(192, 1, 117, 0.35) 0, transparent 45%),
    radial-gradient(at 80% 70%, rgba(0, 80, 160, 0.4) 0, transparent 40%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #00407a 100%);
}

.grain::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Nav ? contrast-safe on light and dark page tops */
.site-header {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(0, 51, 104, 0.08);
  transform: translateY(0);
  transition:
    background 0.35s ease,
    color 0.3s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-away {
  transform: translateY(-110%);
  pointer-events: none;
}

.site-header.header-light {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
}

.site-header.header-dark {
  color: #fff;
  background: rgba(0, 19, 42, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Landing hero: transparent nav until scroll */
.site-header.header-dark.header-natural:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  z-index: 2;
}

.nav-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--magenta);
  transition: width 0.1s linear;
}

.nav-shell {
  width: min(var(--page-max), 100%);
  max-width: 100%;
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(var(--page-gutter), env(safe-area-inset-right, 0px)) 0.85rem max(var(--page-gutter), env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  transition:
    min-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(0, 19, 42, 0.08);
  color: var(--navy);
}

.site-header.is-compact .nav-shell {
  min-height: 3.7rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.site-header.is-compact .nav-brand-tag {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
}

.site-header.is-compact .nav-link,
.site-header.is-compact .nav-signin {
  padding-top: 0.36rem;
  padding-bottom: 0.36rem;
  font-size: 0.86rem;
}

.site-header.is-compact .btn-nav {
  padding: 0.5rem 0.9rem;
  min-height: 2.4rem;
  font-size: 0.82rem;
}

.site-header.header-light.is-scrolled {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
}

.site-header.header-dark.is-scrolled {
  background: rgba(0, 19, 42, 0.96);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 8, 20, 0.28);
}

/* Keep link/sign-in/burger tied to header text color */
.site-header .nav-link,
.site-header .nav-signin,
.site-header .nav-burger {
  color: inherit;
}

.site-header.header-light .nav-link:hover,
.site-header.header-light .nav-link.is-active,
.site-header.header-light .nav-signin:hover {
  color: var(--magenta);
}

.site-header.header-dark .nav-burger {
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header.header-light .nav-burger {
  border-color: rgba(0, 51, 104, 0.35);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
}

.vi-mark {
  flex-shrink: 0;
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  background: transparent;
}

.vi-logo {
  flex-shrink: 0;
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  background: transparent;
}

.site-header.is-compact .vi-mark {
  width: 2.15rem;
  height: 2.15rem;
}

.site-header.is-compact .vi-logo {
  height: 2rem;
  max-width: min(190px, 48vw);
}

.dash-brand .vi-mark {
  width: 2.35rem;
  height: 2.35rem;
}

.footer-social,
.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.vi-social-link {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.vi-social-link:hover,
.vi-social-link:focus-visible {
  border-color: #c00175;
  color: #fff;
  background: rgba(192, 1, 117, 0.18);
}

.contact-social a {
  font-weight: 600;
  color: #003368;
  text-decoration: none;
}

.contact-social a:hover,
.contact-social a:focus-visible {
  color: #c00175;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.nav-brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-brand-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  white-space: nowrap;
  max-height: 1.2rem;
  transition: opacity 0.25s ease, max-height 0.3s ease;
}

@media (max-width: 767px) {
  .nav-shell {
    min-height: 3.75rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    gap: 0.65rem;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-signin {
    display: none !important;
  }

  .nav-burger {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.3rem;
    border-width: 1px;
  }

  .nav-brand-name {
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .nav-brand-tag {
    display: none;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-left: auto;
  min-width: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.05rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .nav-right {
    gap: 1rem;
  }
}

.nav-item {
  position: relative;
}

.nav-item.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.7rem;
}

.nav-caret {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.34rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.nav-item.is-open .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: translateY(1px) rotate(225deg);
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-caret {
    transform: translateY(1px) rotate(225deg);
  }
}

.nav-sub {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 16rem;
  padding: 0.5rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(0, 51, 104, 0.1);
  box-shadow: 0 22px 48px rgba(0, 19, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
  z-index: 80;
}

.nav-sub::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 1.35rem;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid rgba(0, 51, 104, 0.1);
  border-top: 1px solid rgba(0, 51, 104, 0.1);
  transform: rotate(45deg);
}

.nav-item.is-end .nav-sub {
  left: auto;
  right: 0;
}

.nav-item.is-end .nav-sub::before {
  left: auto;
  right: 1.35rem;
}

.nav-item.is-open .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

.nav-sub-link {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  background: rgba(0, 51, 104, 0.06);
  color: var(--magenta);
  outline: none;
}

.nav-sub-note {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 51, 104, 0.55);
}

.site-header.header-dark .nav-sub {
  border-color: rgba(0, 51, 104, 0.08);
}

.mobile-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.4rem);
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.mobile-group-btn .nav-caret {
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
}

.mobile-group.is-open .nav-caret {
  transform: translateY(1px) rotate(225deg);
}

.mobile-sub {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 0 0.85rem;
}

.mobile-group.is-open .mobile-sub {
  display: flex;
}

.mobile-sub a {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 650;
  padding: 0.45rem 0 !important;
  border-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.mobile-sub a:hover {
  color: #ffb8dc !important;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  padding: 0.5rem 0.58rem;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s, font-size 0.3s, padding 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.22rem;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-item.has-sub > .nav-link::after {
  right: 1.45rem;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
  color: var(--magenta);
}

.site-header.header-dark .nav-link:hover,
.site-header.header-dark .nav-link.is-active {
  color: #fff;
}

.site-header.header-dark .nav-link.is-active::after,
.site-header.header-dark .nav-link:hover::after {
  background: var(--magenta);
}

.site-header.header-dark .nav-signin:hover {
  color: #ff8ed0;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-signin {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  opacity: 0.9;
  white-space: nowrap;
}

.nav-signin:hover {
  color: var(--magenta);
  opacity: 1;
}

@media (min-width: 640px) {
  .nav-signin {
    display: inline-flex;
  }
}

.btn-nav {
  display: none !important;
  padding: 0.65rem 1.05rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .btn-nav {
    display: inline-flex !important;
  }
}

.nav-burger {
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-burger {
    display: none;
  }
}

.nav-burger span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s;
}

.nav-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
}

/* Mobile nav — must live on body (not inside transformed header) */
.mobile-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #00152e;
  z-index: 200;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

body.mobile-nav-open .site-header {
  /* Keep bar above page, below drawer */
  z-index: 60;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.mobile-nav-top .nav-brand-name,
.mobile-nav-top .nav-brand-tag,
.mobile-nav-top .nav-close {
  color: #fff;
}

.mobile-nav-top .nav-brand-tag {
  opacity: 0.7;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 0.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.4rem);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 0;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-links a:hover {
  color: var(--magenta);
}

.mobile-nav-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  flex: 0 0 auto;
}

.mobile-nav-foot .btn {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
}

.mobile-nav-foot .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 1rem 1.65rem;
  border-radius: 0.15rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-height: 3rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-magenta:hover {
  background: var(--magenta-dark);
}

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

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  padding-inline: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.825rem;
}

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px var(--magenta-soft);
}

/* Book covers */
.book-cover {
  aspect-ratio: 2 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.book-cover:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 20px 50px rgba(0, 51, 104, 0.18);
}

.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.book-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: white;
  background: linear-gradient(155deg, var(--navy) 0%, #004a8f 50%, var(--magenta) 140%);
}

/* Portfolio tiles ? premium editorial cards */
.portfolio-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 5;
  background: #001428;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  outline: none;
}

@media (min-width: 640px) {
  .portfolio-tile {
    aspect-ratio: 4 / 3;
  }
}

.portfolio-tile.is-lead {
  aspect-ratio: 16 / 11;
}

@media (min-width: 1024px) {
  .lp-work-grid:not(.is-filtered) .portfolio-tile.is-lead {
    grid-column: span 2;
    aspect-ratio: 21 / 11;
    min-height: 22rem;
  }
}

.portfolio-tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portfolio-tile-media img,
.portfolio-tile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: saturate(0.92) contrast(1.04);
}

.portfolio-tile:hover .portfolio-tile-media img,
.portfolio-tile:focus-visible .portfolio-tile-media img,
.portfolio-tile:hover > img,
.portfolio-tile:focus-visible > img {
  transform: scale(1.09);
  filter: saturate(1.05) contrast(1.06);
}

.portfolio-tile-overlay,
.portfolio-tile .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 1.15rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(0, 10, 22, 0.42) 0%, transparent 34%, transparent 46%, rgba(0, 6, 16, 0.92) 100%);
  color: #fff;
  transition: background 0.45s ease;
}

.portfolio-tile:hover .portfolio-tile-overlay,
.portfolio-tile:focus-visible .portfolio-tile-overlay {
  background:
    linear-gradient(180deg, rgba(0, 12, 28, 0.45) 0%, transparent 30%, rgba(0, 8, 20, 0.55) 58%, rgba(0, 6, 16, 0.94) 100%);
}

.portfolio-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.portfolio-tile-index {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-tile-go {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.55;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, background 0.25s, color 0.25s;
}

.portfolio-tile:hover .portfolio-tile-go,
.portfolio-tile:focus-visible .portfolio-tile-go {
  opacity: 1;
  color: #ff8ed0;
  border-color: rgba(192, 1, 117, 0.65);
  background: rgba(192, 1, 117, 0.28);
  transform: translateX(3px);
}

.portfolio-tile-copy {
  max-width: 28rem;
}

.portfolio-tile-meta {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.portfolio-tile-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.portfolio-tile.is-lead .portfolio-tile-title {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  max-width: 16ch;
}

.portfolio-tile-cat {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8ed0;
}

.portfolio-tile:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* ?? Dashboard (shared across customer / publisher / admin) ?? */
.dash-page {
  --dash-sidebar-w: 268px;
  --dash-pad-x: 1rem;
  --dash-pad-y: 1.15rem;
  --dash-radius: 1.15rem;
  --dash-card-bg: rgba(255, 255, 255, 0.86);
  --dash-ink: var(--navy);
  font-size: 1rem;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(192, 1, 117, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(0, 51, 104, 0.1), transparent 50%),
    linear-gradient(180deg, #f6f5f8 0%, #ebeaf0 55%, #e4e3ea 100%);
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 768px) {
  .dash-page {
    --dash-pad-x: 1.75rem;
    --dash-pad-y: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .dash-page {
    --dash-pad-x: 2.25rem;
  }
}

.dash-shell {
  display: grid;
  grid-template-columns: var(--dash-sidebar-w) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (max-width: 1023px) {
  .dash-shell {
    grid-template-columns: 1fr;
  }
}

.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fff;
  padding: 1.35rem 1rem 1.25rem;
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(192, 1, 117, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(0, 80, 160, 0.35), transparent 50%),
    linear-gradient(165deg, #00152e 0%, var(--navy-deep) 45%, #002a52 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.15rem 0.55rem 1.35rem;
  text-decoration: none;
  color: inherit;
}

.dash-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dash-brand-role {
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.dash-nav-label {
  padding: 0.35rem 0.85rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dash-link-text {
  flex: 1;
  min-width: 0;
}

.dash-nav-badge {
  flex: 0 0 auto;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.dash-link.is-active .dash-nav-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.dash-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.dash-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.dash-link.is-active {
  background: linear-gradient(135deg, var(--magenta) 0%, #a00162 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(192, 1, 117, 0.35);
}

.dash-link.is-active svg {
  opacity: 1;
}

.dash-sidebar-foot {
  margin-top: auto;
  padding: 1rem 0.35rem 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dash-sidebar-foot .dash-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1023px) {
  .dash-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 88vw);
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.35);
  }

  .dash-sidebar.is-open {
    transform: translateX(0);
  }
}

.dash-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.75rem;
  padding: 0.65rem var(--dash-pad-x);
  background: rgba(246, 245, 248, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(0, 51, 104, 0.08);
}

@media (min-width: 768px) {
  .dash-topbar {
    min-height: 4.25rem;
    gap: 1rem;
  }
}

.dash-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 51, 104, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.dash-menu-btn:hover {
  background: #fff;
  border-color: rgba(192, 1, 117, 0.35);
}

@media (max-width: 1023px) {
  .dash-menu-btn {
    display: inline-flex;
  }
}

.dash-topbar-copy {
  flex: 1;
  min-width: 0;
}

.dash-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.dash-topbar-actions .btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}

@media (max-width: 639px) {
  .dash-cta-desktop {
    display: none !important;
  }

  .dash-topbar-actions .btn-sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .dash-topbar-actions .btn-navy.btn-sm {
    display: none;
  }
}

.dash-main {
  flex: 1;
  padding: var(--dash-pad-y) var(--dash-pad-x) calc(var(--dash-pad-y) + 1rem);
}

.dash-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.dash-section-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--magenta);
  text-decoration: none;
  white-space: nowrap;
}

.dash-section-link:hover {
  text-decoration: underline;
}

.stat-card {
  position: relative;
  background: var(--dash-card-bg);
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: var(--dash-radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px rgba(0, 51, 104, 0.04);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, var(--magenta), var(--navy));
  opacity: 0;
  transition: opacity 0.25s ease;
}

a.stat-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 51, 104, 0.08);
  border-color: rgba(192, 1, 117, 0.22);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
}

.stat-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.dash-panel {
  background: var(--dash-card-bg);
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: var(--dash-radius);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px rgba(0, 51, 104, 0.04);
  backdrop-filter: blur(8px);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: var(--dash-radius);
  background: var(--dash-card-bg);
  box-shadow: 0 10px 30px rgba(0, 51, 104, 0.04);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 520px;
}

.data-table th {
  text-align: left;
  padding: 0.85rem 1.1rem;
  background: rgba(0, 51, 104, 0.04);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.data-table td {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid rgba(0, 51, 104, 0.06);
  vertical-align: middle;
  color: #2a2a33;
}

.data-table tr:hover td {
  background: rgba(192, 1, 117, 0.03);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-success { background: #e6f7ed; color: #0d7a3e; }
.badge-warning { background: #fff4e0; color: #9a6200; }
.badge-danger { background: #fde8ef; color: #c00175; }
.badge-info { background: #e5eef8; color: #003368; }
.badge-neutral { background: var(--surface); color: var(--muted); }

body.dash-page.dash-nav-open {
  overflow: hidden;
}

/* Preview modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 19, 42, 0.72);
  backdrop-filter: blur(6px);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  background: white;
  border-radius: 1.25rem;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Dashboard action modals */
.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 640px) {
  .dash-modal {
    align-items: center;
    padding: 1.5rem;
  }
}
.dash-modal.is-open {
  display: flex;
}
.dash-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 42, 0.62);
  backdrop-filter: blur(7px);
}
.dash-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  max-height: min(92vh, 52rem);
  overflow: auto;
  background: #fff;
  border-radius: 1.15rem 1.15rem 0 0;
  box-shadow: 0 28px 80px rgba(0, 19, 42, 0.35);
  animation: dashModalIn 0.22s ease;
}
@media (min-width: 640px) {
  .dash-modal-panel {
    border-radius: 1.15rem;
  }
}
.dash-modal-panel.is-wide {
  max-width: 52rem;
}
.dash-modal-panel.is-narrow {
  max-width: 26rem;
}
.admin-service-form .admin-service-fieldset {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--navy, #003368) 12%, transparent);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--navy, #003368) 3%, white);
}
.admin-service-form .admin-service-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy, #003368);
}
.admin-service-form .admin-service-fieldset > .stat-hint {
  margin: 0 0 0.75rem;
}
.admin-service-repeat {
  display: grid;
  gap: 0.85rem;
}
.admin-service-step {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--navy, #003368) 8%, transparent);
}
.admin-sale-dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.admin-sale-dl > div {
  display: grid;
  gap: 0.15rem;
}
.admin-sale-dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #667085);
}
.admin-sale-dl dd {
  margin: 0;
  color: var(--navy, #003368);
  font-weight: 600;
  word-break: break-word;
}
.admin-sale-dl .font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 500;
  font-size: 0.92rem;
}

@keyframes dashModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.dash-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.dash-modal-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c00175;
}
.dash-modal-title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #003368;
  line-height: 1.2;
}
.dash-modal-lead {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted, #5b5b63);
}
.dash-modal-close {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 51, 104, 0.12);
  background: #f5f7fa;
  color: #003368;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dash-modal-close:hover {
  background: #ebeff4;
}
.dash-modal-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
}
.dash-modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 51, 104, 0.06);
  margin-top: 0.35rem;
}
body.dash-modal-open {
  overflow: hidden;
}

/* Page transitions ? visible by default so file:// / failed CDN never blanks sections.
   JS optionally adds .will-animate before running GSAP / IO. */
.reveal,
.stagger-children > * {
  opacity: 1;
  transform: none;
}

html.will-animate .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

html.will-animate .stagger-children > *:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible,
.stagger-children > *.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dash overlay */
.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 19, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 55;
}

.dash-overlay.is-open {
  display: block;
}

body.dash-page {
  overflow-x: hidden;
}

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, #f0f0f2 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 0.5rem;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* Utility helpers */
.text-gradient {
  background: linear-gradient(120deg, var(--magenta) 0%, #ff4da6 45%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider-line {
  height: 1px;
  background: var(--border);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

.rating-stars {
  color: #d4a017;
  letter-spacing: 0.08em;
}

.star-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.star-rating-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0.1rem 0.15rem;
  margin: 0;
  line-height: 1;
  font-size: 2.35rem;
  font-family: Georgia, "Times New Roman", serif;
  color: #d9d1c2;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}
.star-rating-btn:hover,
.star-rating-btn.is-hover,
.star-rating-btn.is-active {
  color: #f5c542;
  text-shadow: 0 4px 14px rgba(212, 160, 23, 0.45);
}
.star-rating-btn:hover,
.star-rating-btn.is-hover {
  transform: translateY(-2px) scale(1.1);
}
.star-rating-btn:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 3px;
  border-radius: 0.35rem;
}
.star-rating-btn.is-pop {
  animation: star-pop 0.35s ease;
}
@keyframes star-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

.book-review-panel {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(212, 160, 23, 0.32);
  background:
    radial-gradient(circle at top right, rgba(245, 197, 66, 0.2), transparent 42%),
    linear-gradient(180deg, #fffdf7 0%, #ffffff 58%);
  box-shadow: 0 14px 34px rgba(0, 31, 66, 0.06);
  color: #003368;
}
.book-review-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #003368;
}
.book-review-panel > p {
  margin: 0.55rem 0 0;
  color: #667085;
  font-family: var(--font-body);
  font-size: 0.92rem;
  max-width: 44ch;
  line-height: 1.6;
}
.book-review-form {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
}
.book-review-rating-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.book-review-rating-label span:first-child {
  font-family: var(--font-body);
  font-weight: 700;
  color: #003368;
}
.book-review-score {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: #b8860b;
}
.book-review-hint {
  margin: 0.45rem 0 0;
  min-height: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #8a6a12;
}
.book-review-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: #003368;
}
.book-review-field textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 51, 104, 0.14);
  background: #fff;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #003368;
  resize: vertical;
  min-height: 6.5rem;
}
.book-review-field textarea:focus {
  outline: 2px solid rgba(212, 160, 23, 0.35);
  border-color: #d4a017;
}
.btn-gold,
.book-review-panel .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5c542, #d4a017);
  border: 0;
  color: #3b2a05;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(212, 160, 23, 0.28);
  cursor: pointer;
  text-decoration: none;
}
.btn-gold:hover,
.book-review-panel .btn-gold:hover {
  filter: brightness(1.04);
}
.book-reviews-list {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(0, 51, 104, 0.08);
  background: #fff;
}
.book-reviews-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #003368;
}
.book-review-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}
.book-review-item:first-of-type {
  border-top: 0;
  padding-top: 0.85rem;
}
.book-review-item-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #f5c542;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}
.book-review-item-stars .is-empty {
  color: #ddd4bf;
}
.book-review-item-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #667085;
}
.book-review-item-body {
  margin: 0.45rem 0 0;
  color: #003368;
  line-height: 1.6;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: white;
  padding: 0.9rem 1.2rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-soft);
  z-index: 100;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-show {
  transform: translateY(0);
}

/* FAQ accordion */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  background: white;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.is-open {
  border-color: rgba(192, 1, 117, 0.35);
  box-shadow: var(--shadow-soft);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}

.faq-trigger:hover {
  color: var(--magenta);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease, background 0.25s, color 0.25s;
}

.faq-item.is-open .faq-icon {
  background: var(--magenta);
  color: white;
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-panel-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Auth pages ? premium split shell */
.auth-page {
  background: #f3f5f8;
}

.auth-page #site-footer {
  display: none;
}

.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .auth-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.auth-visual {
  position: relative;
  display: none;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #000910;
}

@media (min-width: 1024px) {
  .auth-visual {
    display: block;
  }
}

.auth-visual-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.auth-visual-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 12, 28, 0.35) 0%, rgba(0, 10, 22, 0.55) 40%, rgba(0, 8, 18, 0.94) 100%),
    linear-gradient(105deg, rgba(0, 19, 42, 0.78) 0%, rgba(0, 19, 42, 0.2) 55%, rgba(192, 1, 117, 0.18) 100%);
}

.auth-visual-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 3.25rem 3.5rem;
  max-width: 34rem;
}

.auth-visual-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff8ed0;
}

.auth-visual-kicker::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--magenta);
}

.auth-visual-title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.auth-visual-lead {
  margin: 1.1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

.auth-visual-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.auth-visual-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.82);
}

.auth-visual-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--magenta);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.75rem) 1.25rem 2.5rem;
  background:
    linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
}

@media (min-width: 1024px) {
  .auth-panel {
    padding: calc(var(--nav-h) + 2rem) 3rem 3rem;
  }
}

.auth-card {
  width: min(100%, 28.5rem);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .auth-card {
    margin: 0;
    width: min(100%, 26.5rem);
  }
}

.auth-eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}

.auth-title {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.55rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.auth-subtitle {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
}

.auth-form {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.05rem;
}

.auth-form .field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.7);
}

.auth-form .field input,
.auth-form .field select {
  border-radius: 0;
  border-width: 1px;
  border-color: rgba(0, 51, 104, 0.16);
  background: #fff;
  min-height: 3.1rem;
  padding: 0.8rem 0.95rem;
}

.auth-form .field input:focus,
.auth-form .field select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-soft);
}

.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-hint {
  font-size: 0.7rem;
  font-weight: 650;
  color: rgba(0, 51, 104, 0.45);
}

.auth-form-row {
  display: grid;
  gap: 1.05rem;
}

@media (min-width: 560px) {
  .auth-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-submit {
  width: 100%;
  justify-content: center;
  min-height: 3.2rem;
  border-radius: 0;
  margin-top: 0.25rem;
}

.auth-forgot {
  margin: -0.35rem 0 0.15rem;
  text-align: right;
  font-size: 0.88rem;
}

.auth-forgot a,
.auth-inline-link {
  font-weight: 700;
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 1, 117, 0.35);
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.auth-forgot a:hover,
.auth-inline-link:hover {
  border-bottom-color: var(--magenta);
}

.auth-switch {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 700;
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 1, 117, 0.35);
}

.auth-switch a:hover {
  border-bottom-color: var(--magenta);
}

.auth-role {
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-role legend {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.7);
}

.auth-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .auth-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-role-card {
  cursor: pointer;
}

.auth-role-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-role-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 5.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 51, 104, 0.16);
  background: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-role-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.auth-role-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.auth-role-card input:checked + .auth-role-card-inner {
  border-color: var(--navy);
  background: rgba(0, 51, 104, 0.04);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.auth-role-card:hover .auth-role-card-inner {
  border-color: rgba(192, 1, 117, 0.4);
}

.auth-demos {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 51, 104, 0.12);
}

.auth-demos-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.5);
}

.auth-demo-grid {
  display: grid;
  gap: 0.55rem;
}

.auth-demo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  border: 1px solid rgba(0, 51, 104, 0.12);
  background: #fff;
  transition: border-color 0.2s, transform 0.25s, background 0.2s;
}

button.auth-demo-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.auth-demo-grid form {
  display: block;
}

.auth-demo-card:hover {
  border-color: rgba(192, 1, 117, 0.4);
  transform: translateY(-1px);
}

.auth-demo-card.is-accent {
  background: var(--navy);
  border-color: var(--navy);
}

.auth-demo-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.auth-demo-card.is-accent .auth-demo-role {
  color: #fff;
}

.auth-demo-desc {
  grid-column: 1;
  font-size: 0.78rem;
  color: var(--muted);
}

.auth-demo-card.is-accent .auth-demo-desc {
  color: rgba(255, 255, 255, 0.68);
}

.auth-demo-go {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--magenta);
  font-size: 1.1rem;
}

.auth-demo-card.is-accent .auth-demo-go {
  color: #ff8ed0;
}

@media (max-width: 1023px) {
  .auth-panel {
    padding-top: calc(var(--nav-h) + 1.35rem);
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: min(100%, 26rem);
  }

  .auth-submit {
    min-height: 3.25rem;
  }
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.05rem;
  border-radius: 0;
  border: 1px solid rgba(0, 51, 104, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.filter-chip:hover {
  border-color: rgba(192, 1, 117, 0.45);
  color: var(--magenta);
  background: #fff;
}

.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 31, 66, 0.18);
}

.filter-chip:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}

/* ========== Landing 2026 ? editorial / premium ========== */
.landing-2026 {
  background: #eef0f4;
}

.lp-wrap {
  width: min(var(--page-max), 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
    max(var(--page-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.lp-section {
  padding: 5.5rem 0 6rem;
  position: relative;
}

.lp-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.lp-kicker-light {
  color: rgba(255, 255, 255, 0.55);
}

.lp-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.4vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--navy);
  max-width: 14ch;
}

.lp-h2-light {
  color: #fff;
  max-width: 12ch;
}

.lp-lead {
  margin-top: 1.15rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
}

.lp-section-head {
  margin-bottom: 3rem;
}

.lp-text-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.lp-text-link:hover {
  color: var(--magenta);
}

/* Hero ? Swiper atmosphere + shelf */
.lp-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background: #000910;
}

@media (min-width: 1024px) {
  .lp-hero {
    height: 100svh;
    min-height: 640px;
    justify-content: flex-end;
  }
}

.lp-hero-slider.swiper {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100% !important;
  z-index: 0;
  margin: 0;
}

.lp-hero-slider .swiper-wrapper {
  height: 100% !important;
}

.lp-hero-slider .swiper-slide {
  height: 100% !important;
  overflow: hidden;
  background: #00101f;
}

.lp-hero-slider.is-fallback .swiper-slide {
  position: absolute !important;
  inset: 0;
  opacity: 0 !important;
  transition: opacity 1.1s ease;
  z-index: 0;
  pointer-events: none;
}

.lp-hero-slider.is-fallback .swiper-slide.is-active {
  opacity: 1 !important;
  z-index: 1;
  pointer-events: auto;
}

.lp-slide-bg {
  position: absolute;
  inset: 0;
  background-color: #001428;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-hero-slider .swiper-slide-active .lp-slide-bg,
.lp-hero-slider.is-fallback .swiper-slide.is-active .lp-slide-bg {
  transform: scale(1);
}

.lp-hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 9, 20, 0.5) 0%, rgba(0, 9, 20, 0.35) 45%, rgba(0, 6, 14, 0.92) 100%),
    linear-gradient(100deg, rgba(0, 9, 20, 0.92) 0%, rgba(0, 9, 20, 0.72) 36%, rgba(0, 9, 20, 0.35) 62%, rgba(0, 9, 20, 0.55) 100%);
}

.lp-hero-frame {
  position: relative;
  z-index: 3;
  width: min(var(--page-max), 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.5rem) max(var(--page-gutter), env(safe-area-inset-right, 0px)) 2.75rem max(var(--page-gutter), env(safe-area-inset-left, 0px));
  display: grid;
  gap: 2rem;
  align-items: start;
  flex: 1 1 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lp-hero-frame {
    padding-top: calc(var(--nav-h) + 2.25rem);
    padding-bottom: 4rem;
    gap: 2.5rem;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .lp-hero-frame {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 2.75rem 3.5rem;
    align-items: center;
    min-height: calc(100svh - 5rem);
    padding-top: 7.25rem;
    padding-bottom: 4.5rem;
  }

  .lp-hero-content {
    max-width: 36rem;
    z-index: 5;
    padding-right: 0.5rem;
  }

  .lp-hero-work {
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 30rem;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
}

.lp-hero-content {
  position: relative;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 0;
}

.lp-slide-tag {
  display: none;
}

.lp-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.lp-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.lp-brand-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  line-height: 1.45;
  white-space: normal;
}

.lp-brand-sm {
  margin-bottom: 0.85rem;
}

.lp-brand-sm .lp-brand-name {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.lp-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  margin: 0;
  max-width: 13ch;
  color: #fff;
}

.lp-hero-sub {
  margin-top: 1.35rem;
  max-width: 34ch;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.55vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.lp-hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.btn-hero {
  min-width: 10.5rem;
  padding: 1.05rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0.15rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s, box-shadow 0.3s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  background: var(--magenta-dark);
  box-shadow: 0 16px 36px rgba(192, 1, 117, 0.32);
}

.lp-hero-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s, color 0.25s;
}

.lp-hero-link:hover {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

.lp-hero-controls {
  display: none;
}

.lp-hero-atmosphere {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.lp-hero-fraction {
  display: none;
}

.lp-hero-nav {
  display: none;
}

.lp-hero-prev,
.lp-hero-next {
  display: none;
}

.lp-hero-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  gap: 0.4rem;
}

.lp-hero-pagination .swiper-pagination-bullet,
.lp-hero-pagination .swiper-pagination-bullet.is-active {
  width: 1.5rem;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
  margin: 0 !important;
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.3s;
}

.lp-hero-pagination .swiper-pagination-bullet-active,
.lp-hero-pagination .swiper-pagination-bullet.is-active {
  background: var(--magenta);
  width: 2.25rem;
}

/* Hero work stage ? full-bleed case card */
.lp-hero-work {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.lp-hero-work.is-ready {
  opacity: 1;
}

.lp-workstage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.lp-workstage-label::before {
  content: "";
  width: 1.15rem;
  height: 1px;
  background: var(--magenta);
}

.lp-workstage-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  outline: none;
}

.lp-workstage-frame:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.lp-workstage-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: transparent;
}

.lp-workstage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.lp-workstage-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.lp-workstage-slide.is-active.is-from-next .lp-workstage-still {
  animation: workSlideInRight 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-workstage-slide.is-active.is-from-prev .lp-workstage-still {
  animation: workSlideInLeft 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes workSlideInRight {
  from { transform: translateX(8%) scale(1.04); }
  to { transform: none; }
}

@keyframes workSlideInLeft {
  from { transform: translateX(-8%) scale(1.04); }
  to { transform: none; }
}

.lp-workstage-still {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.lp-workstage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-workstage-slide.is-active .lp-workstage-img {
  transform: scale(1);
}

.lp-workstage-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 18, 40, 0.12) 0%, rgba(0, 18, 40, 0.08) 38%, rgba(0, 20, 46, 0.82) 100%);
}

.lp-workstage-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.6rem;
  z-index: 4;
  padding: 0 1.15rem 0;
  pointer-events: none;
}

.lp-workstage-meta a {
  pointer-events: auto;
}

.lp-workstage-meta.is-swap .lp-workstage-kicker,
.lp-workstage-meta.is-swap .lp-workstage-title,
.lp-workstage-meta.is-swap .lp-workstage-copy,
.lp-workstage-meta.is-swap .lp-workstage-client,
.lp-workstage-meta.is-swap .lp-workstage-actions {
  animation: workMetaIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-workstage-meta.is-swap .lp-workstage-title { animation-delay: 0.05s; }
.lp-workstage-meta.is-swap .lp-workstage-copy { animation-delay: 0.1s; }
.lp-workstage-meta.is-swap .lp-workstage-client { animation-delay: 0.14s; }
.lp-workstage-meta.is-swap .lp-workstage-actions { animation-delay: 0.18s; }

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

.lp-workstage-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb8dc;
}

.lp-workstage-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 16ch;
}

.lp-workstage-copy {
  margin: 0.45rem 0 0;
  max-width: 32ch;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.lp-workstage-client {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.lp-workstage-actions {
  margin-top: 0.7rem;
}

.lp-workstage-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.08rem;
  transition: color 0.2s, border-color 0.2s;
}

.lp-workstage-link:hover,
.lp-workstage-link:focus-visible {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

.lp-workstage-btn {
  position: absolute;
  top: 0.85rem;
  z-index: 6;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 28, 58, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lp-workstage-btn.is-prev { left: 0.85rem; }
.lp-workstage-btn.is-next { right: 0.85rem; }

.lp-workstage-btn:hover,
.lp-workstage-btn:focus-visible {
  background: rgba(192, 1, 117, 0.88);
  border-color: transparent;
  color: #fff;
  outline: none;
}

.lp-workstage-nav {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.9rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-workstage-track {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.lp-workstage-fill {
  position: absolute;
  inset: 0;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left center;
}

.lp-workstage-progress {
  display: flex;
  gap: 0.35rem;
  height: 6px;
  min-width: 4.75rem;
  max-width: 7rem;
  align-items: center;
}

.lp-workstage-dot {
  flex: 1;
  height: 6px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.lp-workstage-dot.is-active {
  background: #fff;
}

.lp-workstage-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .lp-hero-work {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .lp-workstage-stage {
    aspect-ratio: 16 / 11;
    min-height: 16rem;
  }

  .lp-workstage-title {
    max-width: none;
  }

  .lp-workstage-copy {
    max-width: 42ch;
  }
}

@media (max-width: 767px) {
  .lp-hero-work {
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .lp-workstage-stage {
    aspect-ratio: 5 / 6;
    min-height: 18rem;
  }

  .lp-workstage-meta {
    bottom: 2.45rem;
    padding: 0 1rem;
  }

  .lp-workstage-btn {
    width: 2.7rem;
    height: 2.7rem;
    top: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-120%);
  }

  .lp-workstage-btn.is-prev { left: 0.65rem; }
  .lp-workstage-btn.is-next { right: 0.65rem; }

  .lp-workstage-nav {
    left: 1rem;
    right: 1rem;
  }

  .lp-workstage-title {
    font-size: clamp(1.15rem, 5.4vw, 1.4rem);
    max-width: 14ch;
  }

  .lp-workstage-copy {
    font-size: 0.82rem;
    max-width: 28ch;
  }
}

@media (max-width: 389px) {
  .lp-workstage-copy {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .lp-hero-work {
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 28rem;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .lp-workstage-stage {
    aspect-ratio: 4 / 5;
    min-height: 22rem;
  }
}

@media (max-width: 767px) {
  .lp-hero-slider,
  .lp-hero-slider .swiper-wrapper,
  .lp-hero-slider .swiper-slide,
  .lp-slide-bg {
    position: absolute;
    inset: 0;
  }

  .lp-hero-wash {
    background: linear-gradient(
      180deg,
      rgba(0, 8, 18, 0.78) 0%,
      rgba(0, 8, 18, 0.52) 45%,
      rgba(0, 5, 12, 0.97) 100%
    );
  }

  .lp-hero-frame {
    box-sizing: border-box;
    width: min(var(--page-max), 100%);
    max-width: 100%;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 0.85rem) max(1.15rem, env(safe-area-inset-right, 0px)) 1.5rem max(1.15rem, env(safe-area-inset-left, 0px));
    gap: 1.5rem;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-hero-content,
  .lp-hero-work {
    min-width: 0;
    max-width: 100%;
  }

  .lp-hero .lp-brand {
    display: none;
  }

  .lp-hero-title {
    font-size: clamp(1.9rem, 8.8vw, 2.4rem);
    line-height: 1.08;
    max-width: none;
    letter-spacing: -0.03em;
  }

  .lp-hero-sub {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    max-width: none;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
  }

  .lp-hero-cta {
    margin-top: 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .lp-hero-cta .btn-hero,
  .lp-hero-cta .btn {
    width: 100%;
    max-width: none;
    flex: none;
    min-width: 0;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    white-space: nowrap;
  }

  .lp-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: auto;
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.25rem 0.15rem;
    border-bottom-width: 1.5px;
  }

  .lp-hero-atmosphere {
    display: none !important;
  }

  .lp-ticker {
    padding: 0.75rem 0;
  }

  .lp-ticker-track {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    gap: 1.1rem;
    padding-inline: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lp-hero {
    height: auto;
    min-height: 100svh;
  }

  .lp-hero-frame {
    width: min(var(--page-max), 100%);
    padding-top: calc(var(--nav-h) + 2.25rem);
    padding-bottom: 3.25rem;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
    gap: 2.25rem;
  }

  .lp-hero-title {
    font-size: clamp(2.6rem, 6vw, 3.35rem);
    max-width: 11ch;
  }

  .lp-hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .lp-hero-cta .btn-hero {
    width: auto;
    min-width: 11rem;
  }

  .lp-hero-atmosphere {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lp-hero {
    height: 100svh;
    min-height: 640px;
    overflow: hidden;
    justify-content: flex-end;
  }

  .lp-hero-wash {
    background:
      linear-gradient(180deg, rgba(0, 9, 20, 0.5) 0%, rgba(0, 9, 20, 0.35) 45%, rgba(0, 6, 14, 0.92) 100%),
      linear-gradient(100deg, rgba(0, 9, 20, 0.92) 0%, rgba(0, 9, 20, 0.72) 36%, rgba(0, 9, 20, 0.35) 62%, rgba(0, 9, 20, 0.55) 100%);
  }

  .lp-hero-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 2.75rem 3.5rem;
    align-items: center;
    width: min(var(--page-max), 100%);
    max-width: 100%;
    min-height: calc(100svh - 5rem);
    margin: 0 auto;
    padding: 7.25rem max(var(--page-gutter), env(safe-area-inset-right, 0px)) 4.5rem max(var(--page-gutter), env(safe-area-inset-left, 0px));
    box-sizing: border-box;
  }

  .lp-hero-content {
    max-width: 36rem;
    min-width: 0;
    z-index: 5;
  }

  .lp-hero .lp-brand {
    display: flex !important;
    flex-direction: column;
    margin: 0 0 1.5rem;
  }

  .lp-hero-title {
    font-size: clamp(2.85rem, 5.4vw, 4.75rem);
    max-width: 11ch;
    line-height: 1.05;
  }

  .lp-hero-sub {
    margin-top: 1.35rem;
    max-width: 34ch;
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    text-align: left;
  }

  .lp-hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .lp-hero-cta .btn-hero,
  .lp-hero-cta .btn {
    width: auto;
    max-width: none;
    min-width: 10.5rem;
    flex: 0 0 auto;
  }

  .lp-hero-link {
    display: inline-flex;
    align-self: auto;
    width: auto;
  }

  .lp-hero-atmosphere {
    display: flex !important;
    position: relative;
    margin-top: 2.5rem;
  }
}

}

/* Home bookstore rail (Swiper) */
.lp-library {
  padding: 4.75rem 0 5.25rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(192, 1, 117, 0.06), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(0, 51, 104, 0.07), transparent 36%),
    linear-gradient(180deg, #fbfaf8 0%, #f3f1ec 100%);
  overflow: hidden;
}
.lp-library-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
.lp-library-rail {
  position: relative;
}
.lp-library-swiper {
  padding: 0.35rem max(var(--page-gutter), env(safe-area-inset-left, 0px)) 1.35rem
    max(var(--page-gutter), env(safe-area-inset-right, 0px));
  overflow: hidden;
}
.lp-library-swiper .swiper-slide {
  width: 11.5rem;
  height: auto;
}
@media (min-width: 768px) {
  .lp-library-swiper .swiper-slide {
    width: 13.25rem;
  }
}
@media (min-width: 1200px) {
  .lp-library-swiper .swiper-slide {
    width: 14.5rem;
  }
}
.lp-library-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.lp-library-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 0.55rem;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 18px 40px rgba(0, 31, 66, 0.16),
    0 4px 12px rgba(0, 31, 66, 0.08);
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.lp-library-card:hover .lp-library-cover {
  transform: translateY(-8px) rotate(-1.2deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 28px 50px rgba(0, 31, 66, 0.2),
    0 8px 18px rgba(0, 31, 66, 0.1);
}
.lp-library-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-library-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1rem;
  color: #fff;
}
.lp-library-fallback span {
  font-size: 1.6rem;
}
.lp-library-fallback strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
}
.lp-library-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #003368;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-library-badge.is-best {
  color: #8a6a12;
  background: rgba(255, 248, 220, 0.95);
}
.lp-library-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lp-library-meta p {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.lp-library-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.lp-library-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.lp-library-rating {
  color: #d4a017;
  font-size: 0.82rem;
  font-weight: 700;
}
.lp-library-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}
.lp-library-nav {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 51, 104, 0.16);
  background: #fff;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lp-library-nav:hover:not(.swiper-button-disabled) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.lp-library-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.lp-library-scrollbar {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(0, 51, 104, 0.1);
}
.lp-library-scrollbar .swiper-scrollbar-drag {
  background: linear-gradient(90deg, #c00175, #003368);
  border-radius: 999px;
}
@media (max-width: 640px) {
  .lp-library {
    padding: 3.5rem 0 4rem;
  }
}

/* Manifesto */
.lp-manifesto {
  background:
    linear-gradient(145deg, #00182e 0%, var(--navy-deep) 45%, #003a72 100%);
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.lp-manifesto::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 42%;
  height: 70%;
  background: radial-gradient(circle, rgba(192, 1, 117, 0.18), transparent 65%);
  pointer-events: none;
}

.lp-manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .lp-manifesto-grid {
    grid-template-columns: minmax(8rem, 0.35fr) 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.lp-manifesto-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-manifesto-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 0.75;
  color: var(--magenta);
  opacity: 0.85;
}

.lp-manifesto-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 22ch;
}

.lp-manifesto-body {
  margin: 1.5rem 0 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.lp-manifesto-stats {
  margin: 2.25rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lp-manifesto-stats dt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lp-manifesto-stats dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: #fff;
}

/* Creative + Production statement */
.lp-statement {
  background:
    linear-gradient(145deg, #00182e 0%, var(--navy-deep) 45%, #003a72 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.lp-statement-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .lp-statement-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: end;
  }
}

.lp-statement-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.lp-statement-triptych {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.lp-statement-triptych article {
  padding: 1.35rem 1.25rem 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 700px) {
  .lp-statement-triptych article {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.5rem 1.35rem 0.25rem 0;
  }

  .lp-statement-triptych article:not(:first-child) {
    padding-left: 1.35rem;
  }

  .lp-statement-triptych article:last-child {
    border-right: 0;
  }
}

.lp-statement-triptych h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-statement-triptych p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.lp-craft-labels {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.lp-craft-labels p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.lp-craft-labels strong {
  display: inline-block;
  margin-right: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}

/* Publishing teaser */
.lp-publish {
  background: #fff;
  padding: 5rem 0 4.5rem;
}

.lp-publish-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .lp-publish-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: end;
  }
}

.lp-publish-cards {
  display: grid;
  gap: 0.85rem;
}

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

.lp-publish-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(0, 51, 104, 0.12);
  background: #f7f8fb;
  min-height: 8.5rem;
}

.lp-publish-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.lp-publish-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Why Virtual Insignia */
.lp-why {
  background: #eef1f6;
  padding: 5rem 0 4.5rem;
}

.lp-why-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .lp-why-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 3rem;
  }
}

.lp-why-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .lp-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-why-item {
  padding: 1.5rem 1.35rem;
  background: #f7f8fb;
  border-top: 2px solid var(--navy);
}

.lp-why-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.lp-why-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.lp-why-quality {
  margin-top: 0.85rem;
  padding: 2.5rem 2rem;
  background: var(--magenta);
  color: #fff;
}

.lp-why-quality h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lp-why-quality p {
  margin: 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* Ticker */
.lp-ticker {
  background: #000a14;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  border-top: 1px solid rgba(192, 1, 117, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.95rem 0;
}

.lp-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lp-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--magenta);
  flex-shrink: 0;
}

/* Studio craft ? editorial services showcase */
.lp-craft {
  position: relative;
  background:
    linear-gradient(180deg, #f3f5f8 0%, #eef1f6 48%, #e9edf3 100%);
  padding: 5.75rem 0 5.25rem;
  overflow: hidden;
}

.lp-craft-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(192, 1, 117, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(0, 51, 104, 0.08), transparent 55%);
}

.lp-craft-atmosphere::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--magenta), transparent 70%);
  opacity: 0.85;
}

.lp-craft-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.12);
}

@media (min-width: 900px) {
  .lp-craft-head {
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.75fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2.35rem;
  }
}

.lp-craft-intro .lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-craft-intro .lp-kicker::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--magenta);
  flex-shrink: 0;
}

.lp-craft-head .lp-h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5vw, 3.5rem);
}

.lp-craft-head .lp-lead {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.lp-craft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.lp-craft-count {
  margin: 0;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.55);
}

.lp-craft-count span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-right: 0.35rem;
}

@media (min-width: 900px) {
  .lp-craft-actions {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    gap: 1rem;
    padding-bottom: 0.15rem;
  }

  .lp-craft-count {
    width: auto;
    margin-bottom: 0.35rem;
  }
}

.lp-craft-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .lp-craft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .lp-craft-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: minmax(15.5rem, 1fr) minmax(15.5rem, 1fr);
    gap: 1.1rem;
  }

  .lp-craft-card.is-feature {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 33rem;
  }

  .lp-craft-card:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
    min-height: 15.75rem;
  }

  .lp-craft-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .lp-craft-card:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .lp-craft-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 14.5rem;
  }
}

.lp-craft-card {
  position: relative;
  display: block;
  min-height: 17.5rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #001428;
  border-radius: 0;
  isolation: isolate;
  outline: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-craft-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--magenta);
  z-index: 3;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-craft-card:hover::before,
.lp-craft-card:focus-visible::before {
  transform: scaleY(1);
}

.lp-craft-card:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.lp-craft-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-craft-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-craft-card:hover .lp-craft-card-media img,
.lp-craft-card:focus-visible .lp-craft-card-media img {
  transform: scale(1.1);
}

.lp-craft-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 10, 24, 0.08) 0%, rgba(0, 10, 24, 0.42) 42%, rgba(0, 8, 20, 0.92) 100%);
}

.lp-craft-card.is-feature .lp-craft-card-media::after {
  background:
    linear-gradient(160deg, rgba(0, 10, 24, 0.72) 0%, rgba(0, 10, 24, 0.28) 40%, rgba(0, 8, 20, 0.88) 100%);
}

.lp-craft-card:nth-child(5) .lp-craft-card-media::after {
  background:
    linear-gradient(105deg, rgba(0, 10, 24, 0.82) 0%, rgba(0, 10, 24, 0.35) 45%, rgba(0, 8, 20, 0.78) 100%);
}

.lp-craft-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.3rem 1.45rem;
}

.lp-craft-card.is-feature .lp-craft-card-body {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  max-width: 30rem;
}

.lp-craft-card:nth-child(5) .lp-craft-card-body {
  max-width: 40rem;
}

.lp-craft-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.lp-craft-num {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.lp-craft-num span {
  color: #ff8ed0;
  font-weight: 800;
}

.lp-craft-arrow {
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  opacity: 0.55;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s, color 0.25s;
}

.lp-craft-card:hover .lp-craft-arrow,
.lp-craft-card:focus-visible .lp-craft-arrow {
  opacity: 1;
  color: #ff8ed0;
  transform: translateX(4px);
}

.lp-craft-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.lp-craft-card.is-feature .lp-craft-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  max-width: 11ch;
}

.lp-craft-card:nth-child(2) .lp-craft-title,
.lp-craft-card:nth-child(5) .lp-craft-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  max-width: 18ch;
}

.lp-craft-desc {
  margin: 0.6rem 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
}

.lp-craft-card:not(.is-feature) .lp-craft-desc {
  font-size: 0.88rem;
  max-width: 34ch;
}

.lp-craft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  max-width: 42ch;
}

.lp-craft-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 8, 18, 0.28);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.lp-craft-card:hover,
.lp-craft-card:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(192, 1, 117, 0.7);
}

.lp-craft-go {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.12rem;
  width: fit-content;
  transition: border-color 0.25s, color 0.25s;
}

.lp-craft-card:hover .lp-craft-go,
.lp-craft-card:focus-visible .lp-craft-go {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

/* Portfolio / Selected work */
.lp-work {
  position: relative;
  background:
    linear-gradient(180deg, #f4f6f9 0%, #eef1f6 45%, #e9edf3 100%);
  padding: 5.75rem 0 5.25rem;
  overflow: hidden;
}

.lp-work::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(192, 1, 117, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 35% at 0% 30%, rgba(0, 51, 104, 0.06), transparent 55%);
}

.lp-work-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.12);
}

@media (min-width: 768px) {
  .lp-work-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.25rem;
    padding-bottom: 2rem;
  }
}

.lp-work-head .lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-work-head .lp-kicker::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--magenta);
  flex-shrink: 0;
}

.lp-work-head .lp-h2 {
  max-width: 12ch;
}

.lp-work-head .lp-lead {
  max-width: 40ch;
}

.lp-work > .lp-wrap {
  position: relative;
  z-index: 1;
}

.lp-work-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

@media (min-width: 768px) {
  .lp-work-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.85rem;
  }
}

.lp-work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lp-work-count {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.5);
  white-space: nowrap;
}

.lp-work-count span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-right: 0.4rem;
}

.lp-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .lp-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .lp-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.lp-work-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 4rem 1rem;
  text-align: center;
  font-family: var(--font-body);
  color: var(--muted);
  border: 1px dashed rgba(0, 51, 104, 0.18);
  background: rgba(255, 255, 255, 0.45);
}

.lp-work-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lp-work-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(260px, 42vw, 440px);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #00182e;
}

@media (min-width: 900px) {
  .lp-work-band {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .lp-work-band.is-alt {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .lp-work-band.is-alt .lp-work-band-media {
    order: 2;
  }
}

.lp-work-band-media {
  position: relative;
  min-height: clamp(220px, 36vw, 440px);
  overflow: hidden;
}

.lp-work-band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-work-band:hover .lp-work-band-media img {
  transform: scale(1.04);
}

.lp-work-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 12, 28, 0.35) 100%);
  pointer-events: none;
}

.lp-work-band-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: linear-gradient(160deg, #00182e 0%, #002a52 100%);
}

.lp-work-num {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--magenta);
}

.lp-work-meta {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.lp-work-band-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lp-work-band-copy .lp-work-summary {
  margin: 0.75rem 0 0;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.lp-work-band-copy .lp-work-link {
  margin-top: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.lp-work-foot {
  position: relative;
  z-index: 1;
  margin-top: 2.35rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(0, 51, 104, 0.1);
  display: flex;
  justify-content: flex-start;
}

/* Platform */
.lp-platform {
  background: #000a14;
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.lp-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(192, 1, 117, 0.14), transparent 55%),
    linear-gradient(165deg, #000a14 0%, #001f3d 100%);
  pointer-events: none;
}

.lp-platform-grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .lp-platform-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: start;
  }
}

.lp-platform-copy {
  margin-top: 1.25rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 1.08rem;
}

.lp-platform-cta {
  margin-top: 0;
}

.lp-platform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.75rem;
}

.lp-platform-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.lp-platform-link:hover,
.lp-platform-link:focus-visible {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.lp-steps li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-steps span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--magenta);
  letter-spacing: 0.08em;
  padding-top: 0.35rem;
}

.lp-steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.lp-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.lp-steps a {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.lp-steps a:hover {
  color: #ffb8dc;
  text-decoration-color: #ffb8dc;
}

/* Voices / testimonials */
.lp-voice {
  background: #eef0f4;
  padding: 5.5rem 0 5rem;
}

.lp-voice-inner {
  max-width: 920px;
}

.lp-voice-head {
  margin-bottom: 2rem;
}

.lp-voice-head .lp-h2 {
  max-width: 12ch;
}

.lp-voice-stage {
  min-height: 12rem;
}

.lp-quote {
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  position: absolute;
  width: min(920px, calc(100% - 2.5rem));
}

.lp-voice-stage {
  position: relative;
}

.lp-quote.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  width: auto;
}

.lp-quote-mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--magenta);
}

.lp-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 28ch;
}

.lp-quote footer {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 51, 104, 0.12);
  max-width: 28rem;
}

.lp-quote cite {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
}

.lp-quote span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.lp-voice-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.lp-voice-btn {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 51, 104, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  cursor: pointer;
  border-radius: 0.2rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lp-voice-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.lp-voice-progress {
  display: flex;
  gap: 0.35rem;
  flex: 1;
  max-width: 12rem;
  height: 3px;
}

.lp-voice-dot {
  flex: 1;
  height: 100%;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(0, 51, 104, 0.15);
  cursor: pointer;
  transition: background 0.3s ease;
}

.lp-voice-dot.is-active {
  background: var(--magenta);
}

/* Close */
.lp-close {
  position: relative;
  min-height: min(72svh, 640px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.lp-close-media {
  position: absolute;
  inset: 0;
}

.lp-close-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-close-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0, 10, 22, 0.88) 0%, rgba(0, 10, 22, 0.55) 48%, rgba(0, 10, 22, 0.35) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 10, 22, 0.55) 100%);
}

.lp-close-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.lp-close-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.lp-close-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.lp-close-sub {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.lp-close-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.lp-close-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.lp-close-link:hover {
  color: #ffb8dc;
  text-decoration-color: #ffb8dc;
}

/* ========== Mobile premium responsive ========== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.site-header {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.lp-close-content {
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.mobile-nav {
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* ?? Phone & small tablet ?? */
@media (max-width: 767px) {
  :root {
    --nav-h: 4.25rem;
    --text-base: 1.05rem;
  }

  .lp-wrap {
    width: min(var(--page-max), 100%);
    padding-inline: max(1.15rem, env(safe-area-inset-left, 0px))
      max(1.15rem, env(safe-area-inset-right, 0px));
  }

  .lp-section,
  .lp-craft,
  .lp-work,
  .lp-platform,
  .lp-voice,
  .lp-manifesto,
  .lp-statement,
  .lp-publish,
  .lp-why {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .lp-h2,
  .lp-h2-light {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    max-width: 14ch;
    letter-spacing: -0.028em;
  }

  .lp-lead {
    margin-top: 0.9rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 34ch;
  }

  .lp-kicker {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
  }

  /* Nav */
  .nav-shell {
    width: min(var(--page-max), 100%);
    min-height: var(--nav-h);
    padding: 0.65rem max(1.15rem, env(safe-area-inset-right, 0px)) 0.65rem max(1.15rem, env(safe-area-inset-left, 0px));
    gap: 0.75rem;
  }

  .nav-brand-name {
    font-size: 0.95rem;
  }

  .nav-burger {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.25rem;
  }

  .mobile-nav-links a {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    padding: 0.75rem 0;
    min-height: 3rem;
    display: flex;
    align-items: center;
  }

  .mobile-nav-foot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-nav-foot .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  /* Ticker */
  .lp-ticker {
    padding: 0.8rem 0;
  }

  .lp-ticker-track {
    font-size: 0.68rem;
    gap: 1.25rem;
  }

  /* Craft services */
  .lp-craft {
    padding: 3.75rem 0 3.5rem;
  }

  .lp-craft-atmosphere::after {
    width: 2px;
  }

  .lp-craft-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.35rem;
    gap: 1.35rem;
  }

  .lp-craft-head .lp-h2 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    max-width: 12ch;
  }

  .lp-craft-head .lp-lead {
    margin-top: 0.85rem;
    font-size: 1rem;
    max-width: none;
    line-height: 1.6;
  }

  .lp-craft-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .lp-craft-count {
    width: 100%;
    margin-bottom: 0.15rem;
  }

  .lp-craft-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  .lp-craft-actions .lp-text-link {
    text-align: center;
    align-self: center;
  }

  .lp-craft-grid {
    gap: 0.75rem;
  }

  .lp-craft-card {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .lp-craft-card.is-feature {
    aspect-ratio: 4 / 5;
    min-height: 22rem;
  }

  .lp-craft-card:nth-child(5) {
    aspect-ratio: 16 / 11;
    min-height: 14rem;
  }

  .lp-craft-card-body {
    padding: 1.2rem 1.15rem 1.25rem;
  }

  .lp-craft-card.is-feature .lp-craft-card-body,
  .lp-craft-card:nth-child(5) .lp-craft-card-body {
    padding: 1.35rem 1.2rem 1.4rem;
    max-width: none;
  }

  .lp-craft-card-top {
    margin-bottom: 0.7rem;
  }

  .lp-craft-title {
    font-size: clamp(1.25rem, 5.8vw, 1.55rem);
  }

  .lp-craft-card.is-feature .lp-craft-title,
  .lp-craft-card:nth-child(2) .lp-craft-title,
  .lp-craft-card:nth-child(5) .lp-craft-title {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    max-width: 14ch;
  }

  .lp-craft-desc {
    font-size: 0.9rem;
    max-width: none;
  }

  .lp-craft-card:not(.is-feature) .lp-craft-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .lp-craft-meta {
    display: flex !important;
    margin-top: 0.7rem;
    max-width: none;
  }

  .lp-craft-go {
    margin-top: 0.95rem;
    font-size: 0.8rem;
    min-height: 1.5rem;
  }

  /* Manifesto */
  .lp-manifesto-mark {
    font-size: 4.5rem;
  }

  .lp-manifesto-quote {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    max-width: none;
  }

  .lp-manifesto-body {
    font-size: 1rem;
    max-width: none;
  }

  .lp-manifesto-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .lp-manifesto-stats > div {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lp-manifesto-stats > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  /* Portfolio */
  .lp-work {
    padding: 3.75rem 0 3.5rem;
  }

  .lp-work-head {
    margin-bottom: 1.35rem;
    padding-bottom: 1.25rem;
    gap: 1rem;
  }

  .lp-work-toolbar {
    margin-bottom: 1.15rem;
  }

  .lp-work-filters {
    gap: 0.4rem;
  }

  .lp-work .filter-chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
  }

  .lp-work-grid {
    gap: 0.75rem;
  }

  .portfolio-tile-overlay {
    padding: 1rem 1rem 1.1rem;
  }

  .portfolio-tile-title {
    font-size: 1.2rem;
  }

  .lp-work-foot {
    margin-top: 1.75rem;
  }

  .lp-work-foot .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  /* Platform */
  .lp-platform-grid {
    gap: 2.25rem;
  }

  .lp-platform-copy {
    font-size: 1rem;
    max-width: none;
  }

  .lp-platform-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-platform-cta {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  .lp-platform-link {
    text-align: center;
  }

  .lp-steps li {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.75rem;
    padding: 1.2rem 0;
  }

  .lp-steps strong {
    font-size: 1.2rem;
  }

  .lp-steps p {
    font-size: 0.95rem;
  }

  .lp-steps a {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
  }

  /* Voices */
  .lp-voice-inner {
    max-width: none;
  }

  .lp-quote p {
    font-size: clamp(1.25rem, 5.8vw, 1.65rem);
    max-width: none;
  }

  .lp-quote footer {
    max-width: none;
  }

  .lp-voice-btn {
    width: 2.75rem;
    height: 2.75rem;
  }

  /* Close CTA */
  .lp-close {
    min-height: min(88svh, 560px);
    align-items: flex-end;
  }

  .lp-close-content {
    width: min(100% - 1.5rem, 1180px);
    padding: 3.5rem 0 max(3rem, env(safe-area-inset-bottom));
  }

  .lp-close-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    max-width: 12ch;
  }

  .lp-close-sub {
    font-size: 0.98rem;
    max-width: none;
  }

  .lp-close-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .lp-close-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.25rem;
  }

  .lp-close-link {
    text-align: center;
    padding: 0.35rem 0;
  }
}

/* ?? Compact phones ?? */
@media (max-width: 389px) {
  .nav-brand-name {
    font-size: 0.88rem;
  }
}

/* ? Tablet portrait ? */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-craft {
    padding: 4.75rem 0 4.5rem;
  }

  .lp-craft-card {
    min-height: 16.5rem;
  }

  .lp-craft-card.is-feature {
    min-height: 22rem;
  }

  .lp-craft-card:not(.is-feature) .lp-craft-meta {
    display: flex;
  }


  .lp-work-band-media {
    min-height: 18rem;
  }

  .lp-close-content {
    padding-bottom: 4rem;
  }
}

/* Touch-friendly: avoid sticky hover on coarse pointers */
@media (hover: none) and (pointer: coarse) {
  .lp-craft-card:hover .lp-craft-card-media img,
  .lp-work-band:hover .lp-work-band-media img,
  .portfolio-tile:hover .portfolio-tile-media img,
  .portfolio-tile:hover > img {
    transform: none;
    filter: none;
  }

  .btn:hover {
    transform: none;
  }

  .lp-workstage-btn:active,
  .lp-voice-btn:active {
    transform: scale(0.96);
  }
}



@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-shell,
  .nav-sub,
  .nav-caret,
  .nav-link,
  .nav-link::after,
  .mobile-nav {
    transition: none !important;
  }

  .site-header.is-away {
    transform: none;
    pointer-events: auto;
  }

  .lp-workstage-slide,
  .lp-workstage-img,
  .lp-workstage-still,
  .lp-quote,
  .lp-craft-card,
  .lp-craft-card-media img,
  .portfolio-tile-media img,
  .portfolio-tile-go,
  .lp-slide-bg,
  .lp-workstage-fill {
    transition: none !important;
    animation: none !important;
  }

  .lp-ticker-track,
  .lp-workstage-slide.is-active.is-from-next .lp-workstage-still,
  .lp-workstage-slide.is-active.is-from-prev .lp-workstage-still,
  .lp-workstage-meta.is-swap .lp-workstage-kicker,
  .lp-workstage-meta.is-swap .lp-workstage-title,
  .lp-workstage-meta.is-swap .lp-workstage-copy,
  .lp-workstage-meta.is-swap .lp-workstage-client,
  .lp-workstage-meta.is-swap .lp-workstage-actions {
    animation: none !important;
  }

  .lp-workstage-slide.is-active .lp-workstage-img,
  .lp-hero-slider .swiper-slide-active .lp-slide-bg {
    transform: none !important;
  }
}

/* ========== Shared public page shell (reuses landing tokens) ========== */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(192, 1, 117, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(0, 20, 42, 0.2), rgba(0, 15, 32, 0.55));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero .lp-kicker,
.page-hero .lp-kicker-light {
  color: rgba(255, 184, 220, 0.9);
  margin-bottom: 0.85rem;
}

.page-hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: #ff8ed0;
}

.page-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  max-width: 16ch;
  color: #fff;
}

.page-hero-lead {
  margin: 1rem 0 0;
  max-width: 40ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
}

.coming-soon {
  background: #fff;
  padding: 4.5rem 0 5.5rem;
}

.coming-soon-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .coming-soon-grid {
    grid-template-columns: 1.35fr auto;
    align-items: end;
    gap: 3rem;
  }
}

.coming-soon-mark {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(192, 1, 117, 0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
}

.coming-soon-copy .lp-h2 {
  max-width: 14ch;
}

.coming-soon-copy .lp-lead {
  margin-top: 0.85rem;
  max-width: 42ch;
}

.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

/* Print estimator */
.pe {
  background: #f4f6f9;
  padding: 2.25rem 0 6.5rem;
}
.pe-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.pe-reset {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pe-reset:hover { color: var(--magenta); }
.pe-layout {
  display: grid;
  gap: 1.5rem;
}
.pe-rail { display: none; }
.pe-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}
.pe-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.pe-pill.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pe-pill.is-done { color: var(--navy); border-color: rgba(0, 51, 104, 0.28); }
.pe-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.pe-content { min-height: 22rem; }
.pe-step-head { margin-bottom: 1.25rem; }
.pe-step-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
}
.pe-step-head p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; }
.pe-grid { display: grid; gap: 0.75rem; }
.pe-grid-3 { grid-template-columns: 1fr; }
.pe-card {
  position: relative;
  text-align: left;
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
}
.pe-card:hover { border-color: rgba(0, 51, 104, 0.28); }
.pe-card.is-on {
  border-color: var(--magenta);
  background: var(--magenta-soft);
}
.pe-card strong { color: var(--navy); font-size: 1.02rem; padding-right: 1.5rem; }
.pe-card-desc { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.pe-hint { font-size: 0.75rem; font-weight: 650; color: var(--magenta); }
.pe-card-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 51, 104, 0.1);
}
.pe-step-count { font-size: 0.78rem; color: var(--muted); font-weight: 650; }
.pe-aside { display: none; }
.pe-receipt {
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.1);
  border-radius: 0.9rem;
  padding: 1.25rem 1.2rem;
}
.pe-receipt-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
}
.pe-receipt-job { margin: 0.2rem 0 1rem; font-size: 0.78rem; color: var(--muted); }
.pe-receipt-block {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(0, 51, 104, 0.16);
}
.pe-line { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.84rem; color: var(--navy); }
.pe-line.is-save { color: #1f6b45; }
.pe-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(0, 51, 104, 0.16);
}
.pe-receipt-total span { font-weight: 700; color: var(--navy); }
.pe-receipt-total strong { font-size: 1.35rem; color: var(--magenta); }
.pe-footnote { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.pe-receipt-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.pe-receipt-actions .btn { flex: 1; }
.pe-empty { color: var(--muted); font-size: 0.92rem; }
.pe-sliders { display: grid; gap: 1.5rem; max-width: 28rem; }
.pe-slider-meta { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.pe-slider-meta label { font-weight: 650; color: var(--navy); font-size: 0.9rem; }
.pe-slider-meta span { font-weight: 700; color: var(--magenta); }
.pe-sliders input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #d5dbe3;
  outline: none;
}
.pe-sliders input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--magenta);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--magenta);
  cursor: pointer;
}
.pe-slider-ends { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: 0.3rem; }
.pe-discount-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
}
.pe-discount-note strong { color: var(--navy); }
.pe-summary-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}
.pe-summary-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.8rem 0.95rem;
}
.pe-summary-item span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pe-summary-item strong { color: var(--navy); }
.pe-summary-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.pe-mobile-bar {
  position: fixed;
  left: 0;
  right: 4.75rem;
  bottom: 0;
  z-index: 40;
}
.pe-drawer-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.pe-drawer {
  background: #fff;
  border-top: 2px solid var(--navy);
  max-height: 70vh;
  overflow-y: auto;
  transition: transform 0.28s ease;
}
.pe-drawer.is-closed { transform: translateY(100%); display: none; }
.pe-drawer:not(.is-closed) { display: block; }
.pe-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.25s;
}
.pe-toast.is-on { opacity: 1; }
@media (min-width: 768px) {
  .pe-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pe-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .pe { padding-bottom: 4.5rem; }
  .pe-pills, .pe-mobile-bar { display: none; }
  .pe-layout {
    grid-template-columns: 190px minmax(0, 1fr) 300px;
    align-items: start;
    gap: 1.75rem;
  }
  .pe-rail { display: grid; gap: 0.2rem; position: sticky; top: 6rem; }
  .pe-rail-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    font: inherit;
    font-size: 0.88rem;
    color: var(--muted);
    cursor: pointer;
  }
  .pe-rail-btn span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    border: 1px solid var(--border);
  }
  .pe-rail-btn.is-on { background: #fff; color: var(--navy); font-weight: 650; }
  .pe-rail-btn.is-on span { background: var(--navy); color: #fff; border-color: var(--navy); }
  .pe-rail-btn.is-done span { background: var(--magenta); color: #fff; border-color: var(--magenta); }
  .pe-rail-btn:disabled { opacity: 0.4; cursor: not-allowed; }
  .pe-aside { display: block; position: sticky; top: 6rem; }
  .pe-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.pe-page { padding-bottom: 0; }

.page-section {
  padding: 4.5rem 0;
  background: #f3f5f8;
}

.page-section-alt {
  background: #fff;
}

.page-section-tight {
  padding: 3rem 0;
}

.landing-2026 .page-panel {
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.1);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .landing-2026 .page-panel {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: calc(var(--nav-h) + 1.35rem) 0 2.25rem;
  }

  .page-hero-title {
    max-width: none;
    font-size: clamp(1.95rem, 8.5vw, 2.45rem);
  }

  .page-hero-lead {
    max-width: none;
  }

  .page-section {
    padding: 3.25rem 0;
  }
}

/* Faster paint for below-fold landing blocks */
.lp-craft,
.lp-manifesto,
.lp-statement,
.lp-publish,
.lp-why,
.lp-work,
.lp-platform,
.lp-voice,
.lp-close {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* ========== Book detail + reader ========== */
.book-detail-page {
  padding: calc(var(--nav-h) + 1.5rem) 0 4.5rem;
  background:
    linear-gradient(180deg, #f4f6f9 0%, #eef1f6 100%);
  min-height: 70vh;
}

.book-detail-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.book-detail-back:hover {
  color: var(--magenta);
}

.book-detail-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .book-detail-grid {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

.book-detail-cover .book-cover {
  border-radius: 0;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .book-detail-cover .book-cover {
    margin: 0;
  }
}

.book-detail-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 16ch;
}

.book-detail-by {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.book-detail-by strong {
  color: var(--navy);
}

.book-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(0, 51, 104, 0.65);
}

.book-detail-price {
  margin: 1.35rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.book-detail-desc {
  margin: 1rem 0 0;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.7;
}

.book-detail-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 560px) {
  .book-detail-meta {
    grid-template-columns: 1fr 1fr;
  }
}

.book-detail-meta > div {
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.1);
  padding: 0.9rem 1rem;
}

.book-detail-meta dt {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.5);
}

.book-detail-meta dd {
  margin: 0.3rem 0 0;
  font-weight: 700;
  color: var(--navy);
}

.book-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.book-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 51, 104, 0.1);
}

.book-share-head {
  margin-bottom: 0.9rem;
}

.book-share-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}

.book-share-hint {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.5;
}

.book-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.book-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 51, 104, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.book-share-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.book-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 51, 104, 0.1);
}

.book-share-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.book-share-btn.is-copied {
  border-color: rgba(192, 1, 117, 0.4);
  background: rgba(192, 1, 117, 0.12);
  color: var(--magenta);
}

/* Brand-tinted icon share actions */
.book-share-btn[data-share-network="whatsapp"] {
  border-color: rgba(18, 140, 126, 0.28);
  background: rgba(18, 140, 126, 0.1);
  color: #128c7e;
}

.book-share-btn[data-share-network="whatsapp"]:hover,
.book-share-btn[data-share-network="whatsapp"]:focus-visible {
  background: #128c7e;
  border-color: #128c7e;
  color: #fff;
}

.book-share-btn[data-share-network="x"] {
  border-color: rgba(15, 20, 25, 0.18);
  background: rgba(15, 20, 25, 0.07);
  color: #0f1419;
}

.book-share-btn[data-share-network="x"]:hover,
.book-share-btn[data-share-network="x"]:focus-visible {
  background: #0f1419;
  border-color: #0f1419;
  color: #fff;
}

.book-share-btn[data-share-network="facebook"] {
  border-color: rgba(24, 119, 242, 0.28);
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.book-share-btn[data-share-network="facebook"]:hover,
.book-share-btn[data-share-network="facebook"]:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.book-share-btn[data-share-network="linkedin"] {
  border-color: rgba(10, 102, 194, 0.28);
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.book-share-btn[data-share-network="linkedin"]:hover,
.book-share-btn[data-share-network="linkedin"]:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.book-share-btn[data-share-network="email"] {
  border-color: rgba(0, 51, 104, 0.18);
  background: rgba(0, 51, 104, 0.07);
  color: var(--navy);
}

.book-share-btn[data-share-network="email"]:hover,
.book-share-btn[data-share-network="email"]:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.book-share-btn[data-share-copy] {
  border-color: rgba(192, 1, 117, 0.22);
  background: rgba(192, 1, 117, 0.08);
  color: var(--magenta);
}

.book-share-btn[data-share-copy]:hover,
.book-share-btn[data-share-copy]:focus-visible {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.book-share-btn[data-share-native] {
  border-color: rgba(0, 51, 104, 0.18);
  background: rgba(0, 51, 104, 0.07);
  color: var(--navy);
}

.book-share-btn[data-share-native]:hover,
.book-share-btn[data-share-native]:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.book-share-status {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.book-share-status.is-error {
  color: #9b1c1c;
}

.book-detail-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--navy);
  color: #fff;
}

.book-detail-note h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.book-detail-note p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 40ch;
  line-height: 1.6;
}

.book-detail-note .btn {
  margin-top: 1.1rem;
}

/* Real book reader modal */
.book-reader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background:
    radial-gradient(ellipse at top, rgba(192, 1, 117, 0.18), transparent 55%),
    rgba(4, 12, 24, 0.82);
  backdrop-filter: blur(14px);
}
.book-reader.is-open {
  display: flex;
  animation: bookReaderFade 0.22s ease;
}
@keyframes bookReaderFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.book-reader-shell {
  width: min(920px, 100%);
  max-height: min(96vh, 980px);
  display: flex;
  flex-direction: column;
  background: #141018;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.book-reader-shell--pdf {
  width: min(1080px, 100%);
  height: min(94vh, 920px);
  border-radius: 1.15rem;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2230 0%, #101820 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: bookShellIn 0.28s ease;
}
@keyframes bookShellIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.book-reader-shell--pdf .book-reader-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.book-reader-shell--pdf .book-reader-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(192, 1, 117, 0.18);
  border: 1px solid rgba(255, 142, 208, 0.28);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffb0dc;
}
.book-reader-shell--pdf .book-reader-title {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.book-reader-shell--pdf .book-reader-close {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.book-reader-shell--pdf .book-reader-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.book-reader-pdf-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.55rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 50%),
    #0b1119;
}
.book-reader-page-card {
  justify-self: center;
  max-width: 100%;
  max-height: 100%;
  padding: 0.55rem;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #f7f4ef, #ebe6de);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.book-reader-page-card[hidden] {
  display: none !important;
}
.book-reader-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.2rem;
  background: #fff;
}
.book-reader-canvas[hidden] {
  display: none !important;
}
.book-reader-side-nav {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}
.book-reader-side-nav:hover:not(:disabled) {
  background: rgba(192, 1, 117, 0.55);
  transform: scale(1.04);
}
.book-reader-side-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.book-reader-side-nav.is-buy {
  background: #c00175;
  border-color: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: auto;
  padding: 0 0.85rem;
}

.book-reader-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  background: rgba(11, 17, 25, 0.92);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  z-index: 3;
}
.book-reader-spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff8ed0;
  animation: bookSpin 0.8s linear infinite;
}
@keyframes bookSpin {
  to { transform: rotate(360deg); }
}
.book-reader-loading[hidden] {
  display: none !important;
}
.book-reader-pdf-stage .book-reader-gate {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  background: rgba(8, 12, 18, 0.94);
  backdrop-filter: blur(10px);
}
.book-reader-pdf-stage .book-reader-gate[hidden] {
  display: none !important;
}
.book-reader-shell--pdf .book-reader-gate-kicker {
  margin: 0;
  color: #ff8ed0 !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.book-reader-shell--pdf .book-reader-gate-title {
  margin: 0.15rem 0 0;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.book-reader-shell--pdf .book-reader-gate-copy {
  margin: 0.35rem auto 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.98rem;
  line-height: 1.55;
}
.book-reader-shell--pdf .book-reader-gate-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
.book-reader-shell--pdf .book-reader-foot {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}
.book-reader-shell--pdf .book-reader-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.book-reader-shell--pdf .book-reader-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c00175, #ff8ed0);
  transition: width 0.2s ease;
}
.book-reader-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.book-reader-shell--pdf .book-reader-status {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}
.book-reader-shell--pdf .book-reader-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.book-reader-shell--pdf .book-reader-foot-actions .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.book-reader-shell--pdf .book-reader-foot-actions .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.book-reader-shell--pdf .book-reader-gate-actions .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

@media (max-width: 720px) {
  .book-reader-shell--pdf {
    height: min(96vh, 100%);
    border-radius: 0.9rem;
  }
  .book-reader-side-nav {
    width: 2.2rem;
    height: 2.2rem;
  }
  .book-reader-pdf-stage {
    padding: 0.65rem 0.2rem;
    gap: 0.15rem;
  }
  .book-reader-page-card {
    padding: 0.35rem;
  }
}

.book-reader-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.book-reader-kicker {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8ed0;
}

.book-reader-title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.book-reader-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.book-reader-stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem;
  min-height: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(192, 1, 117, 0.12), transparent 60%),
    #0c0a10;
}

.book-reader-page-wrap {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  max-height: min(68vh, 640px);
  background: #f7f1e6;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.book-reader-page {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #f7f1e6;
}

.book-reader-nav {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.book-reader-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.book-reader-nav:not(:disabled):hover {
  background: rgba(192, 1, 117, 0.35);
  border-color: rgba(192, 1, 117, 0.6);
}

.book-reader-gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(247, 241, 230, 0.96), rgba(247, 241, 230, 0.98));
  color: var(--navy);
}
.book-reader-gate[hidden] {
  display: none !important;
}

.book-reader-gate-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}

.book-reader-gate-title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.book-reader-gate-copy {
  margin: 0.65rem auto 0;
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.book-reader-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.book-reader-foot {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.book-reader-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.book-reader-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--magenta);
  transition: width 0.3s ease;
}

.book-reader-status {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.book-reader-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 767px) {
  .book-detail-page {
    padding: calc(var(--nav-h) + 1rem) 0 3.25rem;
  }

  .book-detail-actions {
    flex-direction: column;
  }

  .book-detail-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.05rem;
  }

  .book-share-btn {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
  }

  .book-reader {
    padding: 0;
    align-items: stretch;
  }

  .book-reader-shell {
    max-height: 100%;
    height: 100%;
    border: 0;
  }

  .book-reader-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 0.5rem 0.75rem 0.25rem;
  }

  .book-reader-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .book-reader-nav.is-prev {
    left: 0.35rem;
  }

  .book-reader-nav.is-next {
    right: 0.35rem;
  }

  .book-reader-page-wrap {
    width: min(100%, 360px);
    max-height: min(62vh, 560px);
  }

  .book-reader-foot-actions {
    flex-direction: column;
  }

  .book-reader-foot-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== Books marketplace ========== */
.books-hero .page-hero-title {
  max-width: 14ch;
}

.books-hero-actions {
  flex-wrap: wrap;
}

.books-hero-publisher {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 38rem;
}

.books-hero-publisher p {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.books-hero-publisher-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.books-hero-sep {
  color: rgba(255, 255, 255, 0.35);
}

.books-hero-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.books-hero-link:hover {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

.books-hero-demo-form {
  display: inline;
  margin: 0;
}

button.books-hero-demo-btn,
button.books-close-demo {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

button.books-hero-demo-btn {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
}

button.books-hero-demo-btn:hover {
  color: #ffb8dc;
  border-bottom-color: var(--magenta);
}

button.books-close-demo {
  color: #003368;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 51, 104, 0.35);
  padding-bottom: 0.1rem;
}

button.books-close-demo:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

.books-shop {
  position: relative;
  background:
    linear-gradient(180deg, #f4f6f9 0%, #eef1f6 50%, #e9edf3 100%);
  padding: 3.25rem 0 5rem;
  overflow: hidden;
}

.books-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 35% at 0% 0%, rgba(192, 1, 117, 0.05), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 10%, rgba(0, 51, 104, 0.06), transparent 50%);
}

.books-shop > .lp-wrap {
  position: relative;
  z-index: 1;
}

.books-toolbar {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.12);
}

@media (min-width: 900px) {
  .books-toolbar {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: end;
    gap: 1.5rem;
  }
}

.books-search input {
  border-radius: 0;
  border-width: 1px;
  min-height: 3.15rem;
  background: rgba(255, 255, 255, 0.88);
}

.books-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
}

.books-sort {
  min-width: 11rem;
  flex: 1 1 11rem;
}

.books-sort select {
  border-radius: 0;
  border-width: 1px;
  min-height: 3.15rem;
  background: rgba(255, 255, 255, 0.88);
}

.books-count {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.5);
  white-space: nowrap;
}

.books-count span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-right: 0.35rem;
}

.books-filters-row {
  margin-bottom: 1.75rem;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 1rem;
}

@media (min-width: 520px) {
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

@media (min-width: 1120px) {
  .books-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.books-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.books-tile-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.books-tile:hover {
  transform: translateY(-3px);
}

.books-tile:focus-within {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
}

.books-wish-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #003368;
  box-shadow: 0 6px 18px rgba(0, 19, 42, 0.18);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.books-wish-btn:hover {
  transform: scale(1.06);
  color: #c00175;
}
.books-wish-btn.is-saved {
  color: #c00175;
}

.books-tile-cover {
  position: relative;
  background: #001428;
  overflow: hidden;
}

.books-tile-cover .book-cover,
.books-tile-face {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 2 / 3;
}

.books-tile:hover .book-cover {
  transform: none;
  box-shadow: none;
}

.books-tile-cover .book-cover img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.books-tile:hover .books-tile-cover .book-cover img {
  transform: scale(1.05);
}

.books-tile-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--magenta);
}

.books-tile-badge.is-soft {
  background: rgba(0, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.books-tile-index {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.books-tile-body {
  padding: 0.95rem 0.1rem 0.25rem;
}

.books-tile-cat {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}

.books-tile-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 0.2s;
}

.books-tile:hover .books-tile-title {
  color: var(--magenta);
}

.books-tile-author {
  margin: 0.35rem 0 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
}

.books-tile-formats {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 51, 104, 0.45);
}

.books-tile-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(0, 51, 104, 0.1);
}

.books-tile-price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.books-tile-rating {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(0, 51, 104, 0.55);
}

.books-empty {
  margin: 0;
  padding: 3.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(0, 51, 104, 0.18);
  background: rgba(255, 255, 255, 0.5);
}

.books-close {
  background: #fff;
  padding: 4.5rem 0;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}

.books-close-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .books-close-inner {
    grid-template-columns: 1.2fr auto;
    align-items: end;
    gap: 2.5rem;
  }
}

.books-close .lp-h2 {
  max-width: 16ch;
}

.books-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

@media (max-width: 767px) {
  .books-shop {
    padding: 2rem 0 3.5rem;
  }

  .books-toolbar {
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .books-controls {
    width: 100%;
  }

  .books-sort {
    flex: 1 1 auto;
    min-width: 0;
  }

  .books-count {
    width: 100%;
    margin: 0;
  }

  .books-filters-row {
    margin-bottom: 1.35rem;
  }

  .books-filters-row .filter-chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
  }

  .books-grid {
    gap: 1.25rem 0.85rem;
  }

  .books-close {
    padding: 3.25rem 0;
  }

  .books-close-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .books-close-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  .books-close-actions .lp-text-link {
    text-align: center;
    align-self: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .books-tile:hover {
    transform: none;
  }

  .books-tile:hover .books-tile-cover .book-cover img {
    transform: none;
  }
}


/* ?? Dedicated service detail pages ?? */
.svc-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #001f42;
  overflow: hidden;
}
.svc-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.svc-hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 31, 66, 0.25) 0%, rgba(0, 31, 66, 0.72) 48%, rgba(0, 3, 3, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 31, 66, 0.55) 0%, transparent 55%);
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 7.5rem 4.5rem;
  max-width: 46rem;
}
.svc-hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.svc-hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c00175;
}
.svc-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.svc-hero-lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}
.svc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.svc-hero-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.svc-hero-link:hover {
  color: #fff;
  border-color: #c00175;
}

.svc-intro {
  padding: 4.5rem 0;
  background: #fff;
}
.svc-intro-grid {
  display: grid;
  gap: 1.5rem 3rem;
}
@media (min-width: 900px) {
  .svc-intro-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}
.svc-intro-copy p {
  margin: 0;
  color: var(--muted, #5b5b63);
  font-size: 1.08rem;
  line-height: 1.7;
}
.svc-intro-desc {
  margin-top: 1rem !important;
  opacity: 0.92;
}

.svc-highlights {
  padding: 1rem 0 4.5rem;
  background: #fff;
}
.svc-section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}
.svc-highlight-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .svc-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.svc-highlight-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--surface-light, #f4f4f6);
  border: 1px solid var(--border, #e2e2e6);
}
.svc-highlight-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #c00175;
  flex-shrink: 0;
}
.svc-highlight-card p {
  margin: 0;
  font-weight: 600;
  color: #003368;
  line-height: 1.45;
}
.svc-highlight-copy {
  margin: 0.35rem 0 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: #3d4e66;
  line-height: 1.5;
}

.svc-deliverables {
  padding: 4.5rem 0;
  background: var(--surface-light, #f4f4f6);
}
.svc-deliverables-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .svc-deliverables-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
}
.svc-deliverable-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .svc-deliverable-list {
    grid-template-columns: 1fr 1fr;
  }
}
.svc-deliverable-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border, #e2e2e6);
  font-weight: 600;
  color: #003368;
}
.svc-deliverable-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.svc-deliverable-copy {
  font-weight: 400;
  font-size: 0.86rem;
  color: #3d4e66;
  line-height: 1.5;
}
.svc-deliverable-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #003368;
  flex-shrink: 0;
}

.svc-process {
  padding: 4.75rem 0;
  background: #001f42;
  color: #fff;
}
.svc-process-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .svc-process-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.svc-process-list li {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  min-height: 100%;
}
.svc-process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #c00175;
  margin-bottom: 0.85rem;
}
.svc-process-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.svc-process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
}

.svc-meta {
  padding: 4.5rem 0;
  background: #fff;
}
.svc-meta-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .svc-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.svc-meta-card {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--border, #e2e2e6);
  background: var(--surface-light, #f4f4f6);
}
.svc-meta-title {
  margin: 0.35rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #003368;
}
.svc-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.svc-meta-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted, #5b5b63);
  line-height: 1.45;
}
.svc-meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #c00175;
}
.svc-meta-label {
  margin: 0.85rem 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #003368;
}
.svc-meta-body {
  margin: 0;
  color: var(--muted, #5b5b63);
  line-height: 1.55;
}
.svc-meta-cta {
  margin-top: 1.35rem;
}

.svc-work {
  padding: 4.5rem 0;
  background: var(--surface-light, #f4f4f6);
}
.svc-work--top {
  padding-top: 3.25rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 51, 104, 0.08);
}
.svc-work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}
.svc-work-empty {
  margin: 0;
  color: var(--muted, #5b5b63);
}
.svc-work-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .svc-work-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .svc-work-grid .portfolio-tile.is-lead {
    grid-row: span 2;
  }
}

.svc-faq {
  padding: 4.5rem 0;
  background: #fff;
}
.svc-faq-grid {
  display: grid;
  gap: 1.75rem 3rem;
}
@media (min-width: 900px) {
  .svc-faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.svc-faq-list {
  display: grid;
  gap: 0.65rem;
}
.svc-faq-item {
  border: 1px solid var(--border, #e2e2e6);
  background: var(--surface-light, #f4f4f6);
  padding: 0.85rem 1.1rem;
}
.svc-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #003368;
  list-style: none;
}
.svc-faq-item summary::-webkit-details-marker {
  display: none;
}
.svc-faq-item p {
  margin: 0.75rem 0 0.35rem;
  color: var(--muted, #5b5b63);
  line-height: 1.55;
  font-size: 0.95rem;
}

.svc-others {
  padding: 4.5rem 0;
  background: var(--surface-light, #f4f4f6);
}
.svc-others-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .svc-others-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .svc-others-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.svc-other-card {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border, #e2e2e6);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.svc-other-card:hover {
  border-color: #c00175;
  transform: translateY(-2px);
}
.svc-other-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.svc-other-card > div {
  padding: 0 1rem 1.15rem;
}
.svc-other-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #003368;
}
.svc-other-card p {
  margin: 0.4rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted, #5b5b63);
  line-height: 1.45;
}
.svc-other-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c00175;
}

.svc-close {
  padding: 5rem 0;
  background: #001f42;
  color: #fff;
  text-align: center;
}
.svc-close-inner {
  max-width: 40rem;
  margin-inline: auto;
}
.svc-close-inner > p {
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 32rem;
}
.svc-close-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.35rem;
  margin-top: 1.75rem;
}

@media (max-width: 640px) {
  .svc-hero-inner {
    padding-block: 6.5rem 3.25rem;
  }
  .svc-hero-cta,
  .svc-close-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-hero-cta .btn,
  .svc-close-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ?? Admin dashboard helpers ?? */
.dash-flash {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.45;
}
.dash-flash-success {
  background: rgba(16, 130, 78, 0.1);
  color: #0b5c38;
  border: 1px solid rgba(16, 130, 78, 0.22);
}
.dash-flash-error {
  background: rgba(180, 35, 45, 0.08);
  color: #8a1c24;
  border: 1px solid rgba(180, 35, 45, 0.2);
}
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.admin-user-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.admin-user-form select {
  min-width: 7.5rem;
  font-size: 0.82rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border, #e2e2e6);
  border-radius: 0.4rem;
  background: #fff;
}
.admin-pagination {
  margin-top: 1.25rem;
}
.admin-pagination nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ?? Dashboard filters (responsive toolbar) ?? */
.df {
  margin-bottom: 1rem;
}
.df-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.1);
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 51, 104, 0.04);
}
.df-search {
  position: relative;
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
  margin: 0;
  display: flex;
  align-items: center;
}
.df-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7a8494;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  line-height: 0;
}
.df-search input {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(0, 51, 104, 0.12);
  border-radius: 0.65rem;
  padding: 0.55rem 0.9rem 0.55rem 2.45rem;
  background: #f7f8fb;
  font-size: 0.92rem;
  color: #1f2937;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.df-search input:focus {
  outline: none;
  background: #fff;
  border-color: rgba(192, 1, 117, 0.45);
  box-shadow: 0 0 0 3px rgba(192, 1, 117, 0.12);
}
.df-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  padding-bottom: 1px;
}
.df-controls::-webkit-scrollbar {
  display: none;
}
.df-select {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  min-width: 7.5rem;
}
.df-select--narrow {
  min-width: 5.5rem;
}
.df-select-label {
  position: absolute;
  top: 0.28rem;
  left: 0.7rem;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a93a3;
  pointer-events: none;
}
.df-select select {
  appearance: none;
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(0, 51, 104, 0.12);
  border-radius: 0.65rem;
  padding: 1rem 1.85rem 0.35rem 0.7rem;
  background: #f7f8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237a8494' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #003368;
  cursor: pointer;
}
.df-select select:focus {
  outline: none;
  background-color: #fff;
  border-color: rgba(0, 51, 104, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 51, 104, 0.08);
}
.df-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-left: auto;
}
.df-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  border-radius: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.df-btn-primary {
  background: #003368;
  color: #fff;
}
.df-btn-primary:hover {
  background: #00264d;
}
.df-btn-ghost {
  background: transparent;
  color: #5b5b63;
  border: 1px solid rgba(0, 51, 104, 0.14);
}
.df-btn-ghost:hover {
  color: #c00175;
  border-color: rgba(192, 1, 117, 0.35);
}
.df-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.df-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 51, 104, 0.06);
  border: 1px solid rgba(0, 51, 104, 0.08);
  font-size: 0.78rem;
}
.df-chip-k {
  color: #7a8494;
  font-weight: 600;
}
.df-chip-v {
  color: #003368;
  font-weight: 700;
}
.df--compact .df-bar {
  padding: 0.55rem;
  box-shadow: none;
}
@media (max-width: 720px) {
  .df-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem;
  }
  .df-search,
  .df-controls,
  .df-actions {
    width: 100%;
    margin-left: 0;
    flex: none;
  }
  .df-search {
    min-width: 0;
  }
  .df-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    max-width: none;
  }
  .df-select,
  .df-select--narrow {
    min-width: 0;
    width: 100%;
  }
  .df-select select {
    width: 100%;
  }
  .df-actions {
    display: flex;
    gap: 0.5rem;
  }
  .df-btn {
    flex: 1 1 auto;
    width: auto;
    min-height: 2.5rem;
  }
  .df-btn-ghost {
    flex: 0 0 auto;
    min-width: 5.5rem;
  }
}

.dash-table-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--muted, #5b5b63);
}
.admin-portfolio-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-portfolio-thumb {
  width: 3.5rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 0.4rem;
  background: rgba(0, 51, 104, 0.06);
  flex-shrink: 0;
}
.admin-portfolio-thumb.is-empty {
  display: inline-block;
}
.admin-portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.admin-portfolio-actions form {
  display: inline;
}
.admin-portfolio-preview {
  max-width: 20rem;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(0, 51, 104, 0.1);
}
.admin-portfolio-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.admin-portfolio-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--navy);
}
.dash-row-link {
  cursor: pointer;
  transition: background 0.15s ease;
}
.dash-row-link:hover {
  background: rgba(0, 51, 104, 0.035);
}
.dash-name-link {
  color: #003368;
  font-weight: 700;
  text-decoration: none;
}
.dash-name-link:hover {
  color: #c00175;
}
.dash-row-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted, #5b5b63);
}

/* ?? User management page ?? */
.um {
  display: grid;
  gap: 1.15rem;
}
.um-hero {
  display: grid;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(0, 51, 104, 0.96), rgba(0, 31, 66, 0.92)),
    linear-gradient(120deg, rgba(192, 1, 117, 0.35), transparent 55%);
  color: #fff;
  border-radius: 1rem;
  overflow: hidden;
}
.um-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.um-avatar {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.um-avatar--lg {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.15rem;
  font-size: 1.45rem;
}
.um-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.um-identity-copy {
  min-width: 0;
  flex: 1;
}
.um-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: center;
}
.um-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.um-hero .badge {
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.um-email {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  word-break: break-word;
}
.um-meta {
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}
.um-dot {
  opacity: 0.55;
}
.um-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 720px) {
  .um-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }
  .um-hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  }
}
.um-stat {
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.um-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.um-stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.um-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}
.um-tabs::-webkit-scrollbar {
  display: none;
}
.um-tab {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.1);
  color: #5b5b63;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}
.um-tab:hover,
.um-tab.is-active {
  color: #fff;
  background: #003368;
  border-color: #003368;
}
.um-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 960px) {
  .um-grid {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}
.um-panel {
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.09);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 51, 104, 0.04);
}
.um-panel--wide {
  grid-column: 1 / -1;
}
.um-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.08);
}
.um-panel-head > div {
  min-width: 0;
}
.um-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #003368;
}
.um-panel-head p {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--muted, #5b5b63);
}
.um-panel-count {
  margin: 0 !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  color: #003368 !important;
  white-space: nowrap;
}
.um-form {
  display: grid;
  gap: 0.95rem;
}
.um-form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .um-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.um-form .field {
  margin: 0;
}
.um-form .field input,
.um-form .field select {
  min-height: 2.6rem;
  border-radius: 0.55rem;
  background: #f7f8fb;
}
.um-form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.25rem;
}
.pe-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}
.pe-section-head .btn {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pe-section-lead {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46rem;
}
.pe-field-hint {
  margin: 0.28rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}
.pe-rows {
  display: grid;
  gap: 0.75rem;
}
.pe-row {
  display: grid;
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: 0.75rem;
  background: #f7f8fb;
}
.pe-row--2 { grid-template-columns: 1fr 1fr auto; }
.pe-row--3 { grid-template-columns: 1.1fr 1.3fr 0.85fr auto; }
.pe-row-remove {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.5rem;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  margin-bottom: 0.15rem;
}
.pe-row-remove:hover { border-color: var(--magenta); color: var(--magenta); }
@media (max-width: 800px) {
  .pe-row--2,
  .pe-row--3 { grid-template-columns: 1fr; }
  .pe-row-remove { width: 100%; height: 2.4rem; }
}
.um-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: rgba(0, 51, 104, 0.04);
  border: 1px solid rgba(0, 51, 104, 0.08);
  cursor: pointer;
}
.um-toggle > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.um-toggle-ui {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: #c9ced8;
  position: relative;
  transition: background 0.2s ease;
}
.um-toggle-ui::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.um-toggle input:checked + .um-toggle-ui {
  background: #c00175;
}
.um-toggle input:checked + .um-toggle-ui::after {
  transform: translateX(1.05rem);
}
.um-toggle-copy {
  display: grid;
  gap: 0.15rem;
}
.um-toggle-copy strong {
  font-size: 0.92rem;
  color: #003368;
}
.um-toggle-copy small {
  color: var(--muted, #5b5b63);
  font-size: 0.8rem;
  line-height: 1.35;
}

.um-choice-field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-inline-size: 0;
}
.um-choice-field legend {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--navy);
  padding: 0;
  margin: 0 0 0.35rem;
}
.um-choice-field > .stat-hint {
  margin: 0 0 0.75rem;
}
.um-choice-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .um-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.um-choice {
  display: block;
  cursor: pointer;
  margin: 0;
}
.um-choice > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.um-choice-card {
  display: grid;
  gap: 0.28rem;
  min-height: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--border);
  background: #f7f8fb;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.um-choice-card strong {
  font-size: 0.92rem;
  color: #003368;
}
.um-choice-card span {
  color: var(--muted, #5b5b63);
  font-size: 0.8rem;
  line-height: 1.4;
}
.um-choice:hover .um-choice-card {
  border-color: rgba(0, 51, 104, 0.28);
}
.um-choice > input:focus-visible + .um-choice-card {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px var(--magenta-soft);
}
.um-choice > input:checked + .um-choice-card {
  border-color: var(--magenta);
  background: var(--magenta-soft);
}

.admin-services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .admin-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-service-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.55rem;
  margin-bottom: 1rem;
}
.admin-service-form .field {
  margin-bottom: 0.85rem;
}
.admin-service-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.admin-inquiry-card {
  display: grid;
  gap: 0.75rem;
}
.admin-inquiry-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
}
.admin-inquiry-id {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5b5b63);
}
.admin-inquiry-name {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #003368;
}
.admin-inquiry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.admin-inquiry-service,
.admin-inquiry-subject,
.admin-inquiry-message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #2a2a30;
}
.admin-inquiry-message {
  padding: 0.85rem 1rem;
  background: rgba(0, 51, 104, 0.04);
  border-radius: 0.5rem;
  white-space: pre-wrap;
}
.admin-inquiry-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-top: 0.35rem;
}
.admin-inquiry-form .field {
  margin: 0;
  min-width: 8.5rem;
}
.admin-inquiry-form .field label {
  font-size: 0.75rem;
}

/* ?? Publisher book uploads ?? */
.pub-upload-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pub-upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pub-upload {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px dashed rgba(0, 51, 104, 0.28);
  border-radius: 0.85rem;
  background: rgba(0, 51, 104, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pub-upload:hover,
.pub-upload:focus-within {
  border-color: rgba(192, 1, 117, 0.55);
  background: rgba(192, 1, 117, 0.04);
}
.pub-upload-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c00175;
}
.pub-upload strong {
  color: #003368;
  font-size: 0.98rem;
}
.pub-upload-hint {
  font-size: 0.8rem;
  color: var(--muted, #5b5b63);
}
.pub-upload input[type="file"] {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}
.pub-upload-name {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #003368;
  word-break: break-all;
}

.pub-drop {
  position: relative;
  border: 1px dashed rgba(0, 51, 104, 0.28);
  border-radius: 0.9rem;
  background: rgba(0, 51, 104, 0.03);
  min-height: 11rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.pub-drop.is-dragover {
  border-color: rgba(192, 1, 117, 0.65);
  background: rgba(192, 1, 117, 0.06);
  box-shadow: inset 0 0 0 1px rgba(192, 1, 117, 0.2);
}
.pub-drop-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.pub-drop-body {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem 1.1rem;
  pointer-events: none;
}
.pub-drop-body .profile-remove-avatar {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}
.pub-pdf-preview,
.pub-cover-preview {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pub-pdf-preview[hidden],
.pub-cover-preview[hidden] {
  display: none !important;
}
.pub-pdf-icon {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 3.2rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #c00175, #003368);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pub-pdf-name {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #003368;
  word-break: break-all;
}
.pub-pdf-meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--muted, #5b5b63);
}
.pub-cover-preview {
  justify-content: flex-start;
}
.pub-cover-preview img {
  width: 4.4rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid rgba(0, 51, 104, 0.12);
  box-shadow: 0 6px 16px rgba(0, 31, 66, 0.12);
  background: #fff;
}

.pub-catalogue-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
}
.pub-books-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.inquiry-show-layout {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
}
.inquiry-summary-card,
.inquiry-thread-card {
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(0, 31, 66, 0.05);
  padding: 1.25rem 1.35rem;
}
.inquiry-summary-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}
.inquiry-summary-kicker,
.inquiry-thread-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c00175;
}
.inquiry-summary-title,
.inquiry-thread-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.inquiry-summary-meta,
.inquiry-summary-copy,
.inquiry-thread-count {
  margin: 0.45rem 0 0;
  color: var(--muted, #667);
  font-size: 0.9rem;
}
.inquiry-summary-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}
.inquiry-summary-facts span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #667);
}
.inquiry-summary-facts strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--navy);
}
.inquiry-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-top: 1.1rem;
}
.inquiry-status-form .field {
  min-width: 9rem;
  flex: 1;
}
.inquiry-thread-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0, 51, 104, 0.08);
}
.inquiry-thread-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.inquiry-msg {
  display: grid;
  grid-template-columns: 2.55rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.inquiry-msg-avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #003368, #c00175);
}
.inquiry-msg.is-staff .inquiry-msg-avatar {
  background: linear-gradient(135deg, #003368, #1f5f9a);
}
.inquiry-msg-main {
  min-width: 0;
  border: 1px solid rgba(0, 51, 104, 0.08);
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
  background: #fbfcfe;
}
.inquiry-msg.is-staff .inquiry-msg-main {
  background: linear-gradient(180deg, rgba(0, 51, 104, 0.05), #fff);
  border-color: rgba(0, 51, 104, 0.12);
}
.inquiry-msg.is-user .inquiry-msg-main {
  background: linear-gradient(180deg, rgba(192, 1, 117, 0.04), #fff);
  border-color: rgba(192, 1, 117, 0.12);
}
.inquiry-msg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted, #667);
}
.inquiry-msg-meta strong {
  color: var(--navy);
}
.inquiry-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inquiry-role-pill.is-studio {
  background: rgba(0, 51, 104, 0.1);
  color: #003368;
}
.inquiry-role-pill.is-client {
  background: rgba(192, 1, 117, 0.1);
  color: #c00175;
}
.inquiry-msg-body {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #1a2a3a;
  font-size: 0.95rem;
}
.inquiry-brief {
  display: grid;
  gap: 0.85rem;
}
.inquiry-brief--summary {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}
.inquiry-brief-type {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
}
.inquiry-brief-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
}
.inquiry-brief-grid dt {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #667);
}
.inquiry-brief-grid dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}
.inquiry-brief-notes {
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 51, 104, 0.08);
}
.inquiry-brief-notes-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #667);
}
.inquiry-brief-notes p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.6;
  color: #1a2a3a;
}
.inquiry-composer {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}
.inquiry-composer-label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}
.inquiry-composer textarea {
  width: 100%;
  min-height: 7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 51, 104, 0.14);
  padding: 0.85rem 1rem;
  resize: vertical;
  background: #fff;
}
.inquiry-composer textarea:focus {
  outline: 2px solid rgba(192, 1, 117, 0.25);
  border-color: #c00175;
}
.inquiry-composer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.inquiry-composer-hint,
.inquiry-closed-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted, #667);
}
.inquiry-closed-note {
  margin-top: 1rem;
}
.pub-cat-empty {
  grid-column: 1 / -1;
}
.pub-cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 51, 104, 0.08);
  box-shadow: 0 8px 24px rgba(0, 31, 66, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pub-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 31, 66, 0.1);
}
.pub-cat-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.pub-cat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-cat-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
}
.pub-cat-status {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 1;
}
.pub-cat-body {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}
.pub-cat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #003368;
}
.pub-cat-title a {
  color: inherit;
  text-decoration: none;
}
.pub-cat-title a:hover {
  color: #c00175;
}
.pub-cat-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted, #5b5b63);
  line-height: 1.35;
}
.pub-cat-price {
  margin: 0.2rem 0 0;
  font-weight: 700;
  color: #003368;
  font-size: 0.92rem;
}
.pub-cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.pub-manage-cover {
  aspect-ratio: 3 / 4;
  border-radius: 0.75rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.pub-manage-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ?? Admin book review ?? */
.br {
  display: grid;
  gap: 1.15rem;
}
.br-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #003368, #001f42);
  color: #fff;
}
.br-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.br-title {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: #fff;
}
.br-meta {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}
.br-layout {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 1100px) {
  .br-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 0.85fr);
    align-items: start;
  }
}
.br-pdf {
  border: 1px solid rgba(0, 51, 104, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #edf0f5;
  min-height: 28rem;
}
.br-pdf iframe {
  width: 100%;
  height: min(70vh, 42rem);
  border: 0;
  display: block;
  background: #fff;
}
.br-publisher {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.br-publisher .um-avatar {
  background: rgba(0, 51, 104, 0.08);
  color: #003368;
  border: 1px solid rgba(0, 51, 104, 0.1);
}
.br-publisher-name {
  margin: 0;
  font-weight: 700;
  color: #003368;
}
.br-publisher-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.br-publisher-actions .btn {
  justify-content: center;
}

/* ?? Profile management ?? */
.profile-page {
  display: grid;
  gap: 1rem;
}

.profile-hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.35rem 1.25rem;
}

@media (min-width: 900px) {
  .profile-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.75fr);
    align-items: center;
  }
}

.profile-hero-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.profile-hero-copy {
  min-width: 0;
  flex: 1;
}

.profile-hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.profile-hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.profile-hero-email {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  word-break: break-word;
}

.profile-hero-meta {
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-dot {
  opacity: 0.5;
}

.profile-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.1rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #003368, #001f42);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  border: 1px solid rgba(0, 51, 104, 0.12);
  flex: 0 0 auto;
}

.profile-avatar--lg {
  width: 6.25rem;
  height: 6.25rem;
  font-size: 1.65rem;
  border-radius: 1.25rem;
}

.profile-avatar--sm {
  width: 3.15rem;
  height: 3.15rem;
  font-size: 0.95rem;
  border-radius: 0.85rem;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-upload-wrap {
  min-width: 0;
}

.profile-upload-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.profile-avatar-upload {
  margin-top: 0.55rem;
  max-width: 18rem;
}

.profile-remove-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #003368;
  cursor: pointer;
}

.profile-remove-avatar input {
  accent-color: #c00175;
}

.profile-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1000px) {
  .profile-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.profile-card {
  padding: 1.2rem 1.25rem;
}

.profile-card-head {
  margin-bottom: 1rem;
}

.profile-card-head .dash-section-title {
  margin: 0;
}

.profile-card-head .stat-hint {
  margin-top: 0.3rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.profile-side-card {
  margin-top: 0.25rem;
}

.profile-side-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.users-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.85rem;
}

.users-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.users-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 51, 104, 0.08);
  border-color: rgba(0, 51, 104, 0.16);
}

.users-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.users-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.users-card-email,
.users-card-press {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.users-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}

.users-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--magenta);
}

.users-empty {
  grid-column: 1 / -1;
}

.field input[readonly] {
  background: #f3f5f8;
  color: #003368;
  cursor: default;
}
.auth-optional {
  font-weight: 500;
  color: rgba(0, 51, 104, 0.45);
  text-transform: none;
  letter-spacing: 0;
}
.auth-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(0, 51, 104, 0.55);
}
.auth-press-field[hidden] {
  display: none !important;
}

/* —— Publisher analytics / print / commissions layout —— */
.stat-card--compact {
  padding: 0.9rem 1rem;
}

.stat-card--compact .stat-value {
  margin-top: 0.3rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.analytics-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.analytics-layout {
  display: grid;
  gap: 1rem;
}

.analytics-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.analytics-chart-card {
  min-width: 0;
}

.analytics-chart-frame {
  height: 13.5rem;
}

.analytics-sales-card {
  min-width: 0;
}

.analytics-sales-head {
  margin-bottom: 0.65rem;
}

@media (min-width: 768px) {
  .analytics-chart-frame {
    height: 16rem;
  }

  .analytics-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .analytics-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.95fr);
    align-items: start;
  }

  .analytics-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-chart-card {
    position: sticky;
    top: 4.75rem;
  }

  .analytics-chart-frame {
    height: 18rem;
  }
}

.analytics-sales-table {
  max-height: none;
}

@media (min-width: 900px) {
  .analytics-sales-table {
    max-height: 28rem;
    overflow: auto;
  }

  .analytics-sales-table .data-table {
    min-width: 420px;
  }

  .analytics-sales-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
  }
}

.print-req-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.print-req-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.print-req-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.print-req-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.print-req-item {
  padding: 0.85rem 1rem;
}

.print-req-item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.print-req-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.print-req-empty {
  margin: 0;
}

.print-req-empty-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

/* Legacy side-by-side print layout removed — form is modal */
.print-req-layout {
  display: block;
}

.commissions-earn-hero {
  background:
    linear-gradient(135deg, rgba(192, 1, 117, 0.08), transparent 55%),
    var(--dash-card-bg);
  border-color: rgba(192, 1, 117, 0.18);
}

.commissions-earn-hero::before {
  opacity: 1;
}

.commissions-payout-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 51, 104, 0.08);
}

/* —— Dashboard mobile / responsive polish —— */
@media (max-width: 1023px) {
  .dash-page {
    --dash-pad-x: 0.85rem;
    --dash-pad-y: 0.95rem;
  }

  .dash-main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .dash-content,
  .dash-shell {
    width: 100%;
    max-width: 100%;
  }

  .dash-topbar {
    gap: 0.55rem;
    padding-inline: var(--dash-pad-x);
  }

  .dash-topbar-actions {
    max-width: 46%;
  }

  .dash-topbar-actions .btn {
    max-width: 100%;
  }

  .dash-subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
  }

  .stat-card {
    padding: 1rem 1.05rem;
  }

  .stat-value {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    word-break: break-word;
  }

  .dash-panel,
  .um-panel,
  .stat-card {
    max-width: 100%;
  }

  .table-wrap {
    margin-inline: 0;
    max-width: 100%;
  }

  .data-table {
    min-width: 480px;
    font-size: 0.82rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.85rem;
  }

  .dash-modal-panel {
    width: min(100% - 1.25rem, 36rem);
    max-height: min(92dvh, 920px);
  }

  .br-pdf {
    min-height: 18rem;
  }

  .br-pdf iframe {
    height: min(55vh, 28rem);
  }

  .pub-catalogue-grid {
    grid-template-columns: repeat(auto-fill, minmax(9.75rem, 1fr));
  }

  .admin-user-form {
    width: 100%;
  }

  .admin-user-form select,
  .admin-inline-actions .btn {
    min-height: 2.4rem;
  }
}

@media (max-width: 639px) {
  .dash-page {
    --dash-pad-x: 0.75rem;
    --dash-pad-y: 0.85rem;
  }

  .dash-title {
    white-space: normal;
    font-size: 1.1rem;
  }

  .dash-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 0;
    padding-block: 0.7rem;
  }

  .dash-menu-btn {
    width: 2.65rem;
    height: 2.65rem;
  }

  .dash-topbar-copy {
    flex: 1 1 calc(100% - 3.4rem);
    order: 1;
  }

  .dash-topbar-actions {
    order: 2;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .dash-main .grid {
    gap: 0.75rem;
  }

  /* Stack dense 2-col stat grids on very small phones when cramped */
  .dash-main .grid.grid-cols-2 > .stat-card .stat-value {
    font-size: 1.15rem;
  }

  .profile-side-row {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-side-row .btn {
    width: 100%;
    justify-content: center;
  }

  .profile-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .um-form-grid,
  .um-panel-head,
  .profile-card,
  .pub-books-cta {
    gap: 0.75rem;
  }

  .pub-books-cta .btn,
  .um-form-foot .btn,
  .br-publisher-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .df-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .df-actions {
    display: flex;
  }

  .print-req-intro {
    flex-direction: column;
    align-items: stretch;
  }

  .print-req-intro .btn {
    width: 100%;
    justify-content: center;
  }

  .analytics-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-table-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-pagination nav {
    justify-content: center;
  }

  .print-req-item-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .print-req-item-actions {
    width: 100%;
  }

  .print-req-item-actions .btn {
    margin-left: auto;
  }

  .commissions-payout-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .analytics-chart-frame {
    height: 12rem;
  }

  .field input,
  .field select,
  .field textarea,
  .um-form .field input,
  .um-form .field select,
  .um-form .field textarea {
    max-width: 100%;
    font-size: 1rem; /* avoid iOS zoom */
  }
}

/* Touch-friendly dash controls */
@media (hover: none) and (pointer: coarse) {
  .dash-link {
    min-height: 2.75rem;
  }

  .dash-menu-btn,
  .df-btn,
  .data-table .btn-sm,
  .admin-inline-actions .btn-sm {
    min-height: 2.5rem;
  }

  .stat-card:hover {
    transform: none;
  }
}

/* Intro splash */
.vi-preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #000814;
  color: #fff;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s linear;
}

.vi-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vi-preloader-wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 42% 34% at 50% 46%, rgba(192, 1, 117, 0.28), transparent 62%),
    radial-gradient(ellipse 56% 40% at 50% 54%, rgba(92, 36, 160, 0.18), transparent 70%);
  pointer-events: none;
  animation: vi-preloader-breathe 2s ease-in-out infinite;
}

.vi-preloader-stage {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  display: grid;
  place-items: center;
}

.vi-preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.vi-preloader-ring--outer {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 8px rgba(192, 1, 117, 0.06);
  animation: vi-preloader-spin 8s linear infinite;
}

.vi-preloader-ring--outer::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #c00175;
  box-shadow: 0 0 12px #c00175;
}

.vi-preloader-ring--inner {
  inset: 0.7rem;
  border: 1px solid transparent;
  border-top-color: rgba(192, 1, 117, 0.85);
  border-right-color: rgba(192, 1, 117, 0.2);
  animation: vi-preloader-spin 2.8s linear infinite reverse;
}

.vi-preloader-logo {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: contain;
  background: transparent;
  animation: vi-preloader-mark 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vi-preloader-name {
  margin: 1.45rem 0 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: vi-preloader-rise 0.9s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vi-preloader-tag {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  animation: vi-preloader-rise 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vi-preloader-track {
  width: 7.5rem;
  height: 2px;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.vi-preloader-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7a1fa2, #c00175);
  animation: vi-preloader-bar 2s linear forwards;
}

.vi-preloader.is-done .vi-preloader-stage {
  transform: scale(0.92);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes vi-preloader-mark {
  0% { opacity: 0; transform: scale(0.78); }
  42% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes vi-preloader-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vi-preloader-bar {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes vi-preloader-breathe {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .vi-preloader-wash,
  .vi-preloader-ring,
  .vi-preloader-logo,
  .vi-preloader-name,
  .vi-preloader-tag,
  .vi-preloader-fill {
    animation: none;
  }
  .vi-preloader-fill { width: 100%; }
  .vi-preloader-logo { opacity: 1; transform: none; }
}

.vi-whatsapp {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right, 0px));
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  animation: vi-whatsapp-in 0.55s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vi-whatsapp-label {
  display: none;
  padding: 0.55rem 0.85rem;
  background: #00152e;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 21, 46, 0.22);
  transform: translateX(8px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.vi-whatsapp-btn {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #128c7e;
  color: #fff;
  box-shadow: 0 12px 32px rgba(18, 140, 126, 0.38);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.25s ease;
}

.vi-whatsapp:hover .vi-whatsapp-btn,
.vi-whatsapp:focus-visible .vi-whatsapp-btn {
  background: #0f7a6e;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18, 140, 126, 0.45);
}

.vi-whatsapp:focus-visible {
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .vi-whatsapp-label {
    display: block;
  }

  .vi-whatsapp:hover .vi-whatsapp-label,
  .vi-whatsapp:focus-visible .vi-whatsapp-label {
    opacity: 1;
    transform: translateX(0);
  }
}

body.mobile-nav-open .vi-whatsapp,
html.vi-preload-lock .vi-whatsapp {
  opacity: 0;
  pointer-events: none;
}

@keyframes vi-whatsapp-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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